xmpp.chapril.org-conversejs/builds/converse.website.min.js
2015-07-04 17:21:21 +02:00

411 lines
949 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/almond for details
*/
/*!
* jQuery JavaScript Library v1.11.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-01-23T21:02Z
*/
/*!
* Sizzle CSS Selector Engine v1.10.16
* http://sizzlejs.com/
*
* Copyright 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-01-13
*/
// Underscore.js 1.8.3
// http://underscorejs.org
// (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
/**
* @license RequireJS text 2.0.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/text for details
*/
// RequireJS UnderscoreJS template plugin
// http://github.com/jfparadis/requirejs-tpl
//
// An alternative to http://github.com/ZeeAgency/requirejs-tpl
//
// Using UnderscoreJS micro-templates at http://underscorejs.org/#template
// Using and RequireJS text.js at http://requirejs.org/docs/api.html#text
// @author JF Paradis
// @version 0.0.2
//
// Released under the MIT license
//
// Usage:
// require(['backbone', 'tpl!mytemplate'], function (Backbone, mytemplate) {
// return Backbone.View.extend({
// initialize: function(){
// this.render();
// },
// render: function(){
// this.$el.html(mytemplate({message: 'hello'}));
// });
// });
//
// Configuration: (optional)
// require.config({
// tpl: {
// extension: '.tpl' // default = '.html'
// }
// });
/*
jed.js
v0.5.0beta
https://github.com/SlexAxton/Jed
-----------
A gettext compatible i18n library for modern JavaScript Applications
by Alex Sexton - AlexSexton [at] gmail - @SlexAxton
WTFPL license for use
Dojo CLA for contributions
Jed offers the entire applicable GNU gettext spec'd set of
functions, but also offers some nicer wrappers around them.
The api for gettext was written for a language with no function
overloading, so Jed allows a little more of that.
Many thanks to Joshua I. Miller - unrtst@cpan.org - who wrote
gettext.js back in 2008. I was able to vet a lot of my ideas
against his. I also made sure Jed passed against his tests
in order to offer easy upgrades -- jsgettext.berlios.de
*/
// Underscore 1.3.0 was used to port and is licensed
/**
sprintf() for JavaScript 0.7-beta1
http://www.diveintojavascript.com/projects/javascript-sprintf
Copyright (c) Alexandru Marasteanu <alexaholic [at) gmail (dot] com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of sprintf() for JavaScript nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Alexandru Marasteanu BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*!
* jQuery Browser Plugin 0.0.7
* https://github.com/gabceb/jquery-browser-plugin
*
* Original jquery-browser code Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* http://jquery.org/license
*
* Modifications Copyright 2014 Gabriel Cebrian
* https://github.com/gabceb
*
* Released under the MIT license
*
* Date: 12-12-2014
*/
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
/*!
* EventEmitter v4.2.3 - git.io/ee
* Oliver Caldwell
* MIT license
* @preserve
*/
/*!
otr.js v0.2.12 - 2014-04-15
(c) 2014 - Arlo Breault <arlolra@gmail.com>
Freely distributed under the MPL v2.0 license.
This file is concatenated for the browser.
Please see: https://github.com/arlolra/otr
*/
//! moment.js
//! version : 2.10.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
* in FIPS PUB 180-1
* Version 2.1a Copyright Paul Johnston 2000 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
*/
/*
This program is distributed under the terms of the MIT license.
Please see the LICENSE file for details.
Copyright 2006-2008, OGG, LLC
*/
/*
Copyright 2010, François de Metz <francois@2metz.fr>
*/
/*
* Based on Ping Strophejs plugins (https://github.com/metajack/strophejs-plugins/tree/master/ping)
* This plugin is distributed under the terms of the MIT licence.
* Please see the LICENCE file for details.
*
* Copyright (c) Markus Kohlhase, 2010
* Refactored by Pavel Lang, 2011
*/
/*!
* Bootstrap v3.2.0 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/* ========================================================================
* Bootstrap: transition.js v3.2.0
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: alert.js v3.2.0
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: button.js v3.2.0
* http://getbootstrap.com/javascript/#buttons
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: carousel.js v3.2.0
* http://getbootstrap.com/javascript/#carousel
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: collapse.js v3.2.0
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: dropdown.js v3.2.0
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: modal.js v3.2.0
* http://getbootstrap.com/javascript/#modals
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: tooltip.js v3.2.0
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: popover.js v3.2.0
* http://getbootstrap.com/javascript/#popovers
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: scrollspy.js v3.2.0
* http://getbootstrap.com/javascript/#scrollspy
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: tab.js v3.2.0
* http://getbootstrap.com/javascript/#tabs
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* ========================================================================
* Bootstrap: affix.js v3.2.0
* http://getbootstrap.com/javascript/#affix
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
// (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
/*!
* Backbone.Overview
*
* Copyright (c) 2014, JC Brand <jc@opkode.com>
* Licensed under the Mozilla Public License (MPL)
*/
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
*
* TERMS OF USE - EASING EQUATIONS
*
* Open source under the BSD License.
*
* Copyright © 2001 Robert Penner
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/*!
* typeahead.js 0.10.5
* https://github.com/twitter/typeahead.js
* Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT
*/
/*!
* Converse.js (Web-based XMPP instant messaging client)
* http://conversejs.org
*
* Copyright (c) 2012, Jan-Carel Brand <jc@opkode.com>
* Licensed under the Mozilla Public License (MPL)
*/
var requirejs,require,define;(function(e){function h(e,t){return f.call(e,t)}function p(e,t){var n,r,i,s,o,a,f,l,h,p,d,v=t&&t.split("/"),m=u.map,g=m&&m["*"]||{};if(e&&e.charAt(0)===".")if(t){e=e.split("/"),o=e.length-1,u.nodeIdCompat&&c.test(e[o])&&(e[o]=e[o].replace(c,"")),e=v.slice(0,v.length-1).concat(e);for(h=0;h<e.length;h+=1){d=e[h];if(d===".")e.splice(h,1),h-=1;else if(d===".."){if(h===1&&(e[2]===".."||e[0]===".."))break;h>0&&(e.splice(h-1,2),h-=2)}}e=e.join("/")}else e.indexOf("./")===0&&(e=e.substring(2));if((v||g)&&m){n=e.split("/");for(h=n.length;h>0;h-=1){r=n.slice(0,h).join("/");if(v)for(p=v.length;p>0;p-=1){i=m[v.slice(0,p).join("/")];if(i){i=i[r];if(i){s=i,a=h;break}}}if(s)break;!f&&g&&g[r]&&(f=g[r],l=h)}!s&&f&&(s=f,a=l),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function d(t,r){return function(){var i=l.call(arguments,0);return typeof i[0]!="string"&&i.length===1&&i.push(null),n.apply(e,i.concat([t,r]))}}function v(e){return function(t){return p(t,e)}}function m(e){return function(t){s[e]=t}}function g(n){if(h(o,n)){var r=o[n];delete o[n],a[n]=!0,t.apply(e,r)}if(!h(s,n)&&!h(a,n))throw new Error("No "+n);return s[n]}function y(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function b(e){return function(){return u&&u.config&&u.config[e]||{}}}var t,n,r,i,s={},o={},u={},a={},f=Object.prototype.hasOwnProperty,l=[].slice,c=/\.js$/;r=function(e,t){var n,r=y(e),i=r[0];return e=r[1],i&&(i=p(i,t),n=g(i)),i?n&&n.normalize?e=n.normalize(e,v(t)):e=p(e,t):(e=p(e,t),r=y(e),i=r[0],e=r[1],i&&(n=g(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},i={require:function(e){return d(e)},exports:function(e){var t=s[e];return typeof t!="undefined"?t:s[e]={}},module:function(e){return{id:e,uri:"",exports:s[e],config:b(e)}}},t=function(t,n,u,f){var l,c,p,v,y,b=[],w=typeof u,E;f=f||t;if(w==="undefined"||w==="function"){n=!n.length&&u.length?["require","exports","module"]:n;for(y=0;y<n.length;y+=1){v=r(n[y],f),c=v.f;if(c==="require")b[y]=i.require(t);else if(c==="exports")b[y]=i.exports(t),E=!0;else if(c==="module")l=b[y]=i.module(t);else if(h(s,c)||h(o,c)||h(a,c))b[y]=g(c);else{if(!v.p)throw new Error(t+" missing "+c);v.p.load(v.n,d(f,!0),m(c),{}),b[y]=s[c]}}p=u?u.apply(s[t],b):undefined;if(t)if(l&&l.exports!==e&&l.exports!==s[t])s[t]=l.exports;else if(p!==e||!E)s[t]=p}else t&&(s[t]=u)},requirejs=require=n=function(s,o,a,f,l){if(typeof s=="string")return i[s]?i[s](o):g(r(s,o).f);if(!s.splice){u=s,u.deps&&n(u.deps,u.callback);if(!o)return;o.splice?(s=o,o=a,a=null):s=e}return o=o||function(){},typeof a=="function"&&(a=f,f=l),f?t(e,s,o,a):setTimeout(function(){t(e,s,o,a)},4),n},n.config=function(e){return n(e)},requirejs._defined=s,define=function(e,t,n){if(typeof e!="string")throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),!h(s,e)&&!h(o,e)&&(o[e]=[e,t,n])},define.amd={jQuery:!0}})(),define("components/almond/almond.js",function(){}),function(e,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}(typeof window!="undefined"?window:this,function(e,t){function y(e){var t=e.length,n=p.type(e);return n==="function"||p.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function x(e,t,n){if(p.isFunction(t))return p.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return p.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(S.test(t))return p.filter(t,e,n);t=p.filter(t,e)}return p.grep(e,function(e){return p.inArray(e,t)>=0!==n})}function O(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function D(e){var t=_[e]={};return p.each(e.match(M)||[],function(e,n){t[n]=!0}),t}function H(){N.addEventListener?(N.removeEventListener("DOMContentLoaded",B,!1),e.removeEventListener("load",B,!1)):(N.detachEvent("onreadystatechange",B),e.detachEvent("onload",B))}function B(){if(N.addEventListener||event.type==="load"||N.readyState==="complete")H(),p.ready()}function R(e,t,n){if(n===undefined&&e.nodeType===1){var r="data-"+t.replace(q,"-$1").toLowerCase();n=e.getAttribute(r);if(typeof n=="string"){try{n=n==="true"?!0:n==="false"?!1:n==="null"?null:+n+""===n?+n:I.test(n)?p.parseJSON(n):n}catch(i){}p.data(e,t,n)}else n=undefined}return n}function U(e){var t;for(t in e){if(t==="data"&&p.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function z(e,t,r,i){if(!p.acceptData(e))return;var s,o,u=p.expando,a=e.nodeType,f=a?p.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===undefined&&typeof t=="string")return;l||(a?l=e[u]=n.pop()||p.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:p.noop});if(typeof t=="object"||typeof t=="function")i?f[l]=p.extend(f[l],t):f[l].data=p.extend(f[l].data,t);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==undefined&&(o[p.camelCase(t)]=r),typeof t=="string"?(s=o[t],s==null&&(s=o[p.camelCase(t)])):s=o,s}function W(e,t,n){if(!p.acceptData(e))return;var r,i,s=e.nodeType,o=s?p.cache:e,u=s?e[p.expando]:p.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){p.isArray(t)?t=t.concat(p.map(t,p.camelCase)):t in r?t=[t]:(t=p.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!U(r):!p.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!U(o[u]))return}s?p.cleanData([e],!0):c.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function tt(){return!0}function nt(){return!1}function rt(){try{return N.activeElement}catch(e){}}function it(e){var t=st.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Et(e,t){var n,r,i=0,s=typeof e.getElementsByTagName!==j?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==j?e.querySelectorAll(t||"*"):undefined;if(!s)for(s=[],n=e.childNodes||e;(r=n[i])!=null;i++)!t||p.nodeName(r,t)?s.push(r):p.merge(s,Et(r,t));return t===undefined||t&&p.nodeName(e,t)?p.merge([e],s):s}function St(e){K.test(e.type)&&(e.defaultChecked=e.checked)}function xt(e,t){return p.nodeName(e,"table")&&p.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Tt(e){return e.type=(p.find.attr(e,"type")!==null)+"/"+e.type,e}function Nt(e){var t=mt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ct(e,t){var n,r=0;for(;(n=e[r])!=null;r++)p._data(n,"globalEval",!t||p._data(t[r],"globalEval"))}function kt(e,t){if(t.nodeType!==1||!p.hasData(e))return;var n,r,i,s=p._data(e),o=p._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r<i;r++)p.event.add(t,n,u[n][r])}o.data&&(o.data=p.extend({},o.data))}function Lt(e,t){var n,r,i;if(t.nodeType!==1)return;n=t.nodeName.toLowerCase();if(!c.noCloneEvent&&t[p.expando]){i=p._data(t);for(r in i.events)p.removeEvent(t,r,i.handle);t.removeAttribute(p.expando)}if(n==="script"&&t.text!==e.text)Tt(t).text=e.text,Nt(t);else if(n==="object")t.parentNode&&(t.outerHTML=e.outerHTML),c.html5Clone&&e.innerHTML&&!p.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML);else if(n==="input"&&K.test(e.type))t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value);else if(n==="option")t.defaultSelected=t.selected=e.defaultSelected;else if(n==="input"||n==="textarea")t.defaultValue=e.defaultValue}function Mt(t,n){var r=p(n.createElement(t)).appendTo(n.body),i=e.getDefaultComputedStyle?e.getDefaultComputedStyle(r[0]).display:p.css(r[0],"display");return r.detach(),i}function _t(e){var t=N,n=Ot[e];if(!n){n=Mt(e,t);if(n==="none"||!n)At=(At||p("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(At[0].contentWindow||At[0].contentDocument).document,t.write(),t.close(),n=Mt(e,t),At.detach();Ot[e]=n}return n}function Ft(e,t){return{get:function(){var n=e();if(n==null)return;if(n){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function $t(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Vt.length;while(i--){t=Vt[i]+n;if(t in e)return t}return r}function Jt(e,t){var n,r,i,s=[],o=0,u=e.length;for(;o<u;o++){r=e[o];if(!r.style)continue;s[o]=p._data(r,"olddisplay"),n=r.style.display,t?(!s[o]&&n==="none"&&(r.style.display=""),r.style.display===""&&$(r)&&(s[o]=p._data(r,"olddisplay",_t(r.nodeName)))):s[o]||(i=$(r),(n&&n!=="none"||!i)&&p._data(r,"olddisplay",i?n:p.css(r,"display")))}for(o=0;o<u;o++){r=e[o];if(!r.style)continue;if(!t||r.style.display==="none"||r.style.display==="")r.style.display=t?s[o]||"":"none"}return e}function Kt(e,t,n){var r=Ut.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Qt(e,t,n,r,i){var s=n===(r?"border":"content")?4:t==="width"?1:0,o=0;for(;s<4;s+=2)n==="margin"&&(o+=p.css(e,n+V[s],!0,i)),r?(n==="content"&&(o-=p.css(e,"padding"+V[s],!0,i)),n!=="margin"&&(o-=p.css(e,"border"+V[s]+"Width",!0,i))):(o+=p.css(e,"padding"+V[s],!0,i),n!=="padding"&&(o+=p.css(e,"border"+V[s]+"Width",!0,i)));return o}function Gt(e,t,n){var r=!0,i=t==="width"?e.offsetWidth:e.offsetHeight,s=Ht(e),o=c.boxSizing()&&p.css(e,"boxSizing",!1,s)==="border-box";if(i<=0||i==null){i=Bt(e,t,s);if(i<0||i==null)i=e.style[t];if(Pt.test(i))return i;r=o&&(c.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Qt(e,t,n||(o?"border":"content"),r,s)+"px"}function Yt(e,t,n,r,i){return new Yt.prototype.init(e,t,n,r,i)}function un(){return setTimeout(function(){Zt=undefined}),Zt=p.now()}function an(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=V[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function fn(e,t,n){var r,i=(on[t]||[]).concat(on["*"]),s=0,o=i.length;for(;s<o;s++)if(r=i[s].call(n,t,e))return r}function ln(e,t,n){var r,i,s,o,u,a,f,l,h=this,d={},v=e.style,m=e.nodeType&&$(e),g=p._data(e,"fxshow");n.queue||(u=p._queueHooks(e,"fx"),u.unqueued==null&&(u.unqueued=0,a=u.empty.fire,u.empty.fire=function(){u.unqueued||a()}),u.unqueued++,h.always(function(){h.always(function(){u.unqueued--,p.queue(e,"fx").length||u.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[v.overflow,v.overflowX,v.overflowY],f=p.css(e,"display"),l=_t(e.nodeName),f==="none"&&(f=l),f==="inline"&&p.css(e,"float")==="none"&&(!c.inlineBlockNeedsLayout||l==="inline"?v.display="inline-block":v.zoom=1)),n.overflow&&(v.overflow="hidden",c.shrinkWrapBlocks()||h.always(function(){v.overflow=n.overflow[0],v.overflowX=n.overflow[1],v.overflowY=n.overflow[2]}));for(r in t){i=t[r];if(tn.exec(i)){delete t[r],s=s||i==="toggle";if(i===(m?"hide":"show")){if(i!=="show"||!g||g[r]===undefined)continue;m=!0}d[r]=g&&g[r]||p.style(e,r)}}if(!p.isEmptyObject(d)){g?"hidden"in g&&(m=g.hidden):g=p._data(e,"fxshow",{}),s&&(g.hidden=!m),m?p(e).show():h.done(function(){p(e).hide()}),h.done(function(){var t;p._removeData(e,"fxshow");for(t in d)p.style(e,t,d[t])});for(r in d)o=fn(m?g[r]:0,r,h),r in g||(g[r]=o.start,m&&(o.end=o.start,o.start=r==="width"||r==="height"?1:0))}}function cn(e,t){var n,r,i,s,o;for(n in e){r=p.camelCase(n),i=t[r],s=e[n],p.isArray(s)&&(i=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),o=p.cssHooks[r];if(o&&"expand"in o){s=o.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=i)}else t[r]=i}}function hn(e,t,n){var r,i,s=0,o=sn.length,u=p.Deferred().always(function(){delete a.elem}),a=function(){if(i)return!1;var t=Zt||un(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,s=1-r,o=0,a=f.tweens.length;for(;o<a;o++)f.tweens[o].run(s);return u.notifyWith(e,[f,s,n]),s<1&&a?n:(u.resolveWith(e,[f]),!1)},f=u.promise({elem:e,props:p.extend({},t),opts:p.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Zt||un(),duration:n.duration,tweens:[],createTween:function(t,n){var r=p.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(r),r},stop:function(t){var n=0,r=t?f.tweens.length:0;if(i)return this;i=!0;for(;n<r;n++)f.tweens[n].run(1);return t?u.resolveWith(e,[f,t]):u.rejectWith(e,[f,t]),this}}),l=f.props;cn(l,f.opts.specialEasing);for(;s<o;s++){r=sn[s].call(f,e,l,f.opts);if(r)return r}return p.map(l,fn,f),p.isFunction(f.opts.start)&&f.opts.start.call(e,f),p.fx.timer(p.extend(a,{elem:e,anim:f,queue:f.opts.queue})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function In(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i=0,s=t.toLowerCase().match(M)||[];if(p.isFunction(n))while(r=s[i++])r.charAt(0)==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,t,n,r){function o(u){var a;return i[u]=!0,p.each(e[u]||[],function(e,u){var f=u(t,n,r);if(typeof f=="string"&&!s&&!i[f])return t.dataTypes.unshift(f),o(f),!1;if(s)return!(a=f)}),a}var i={},s=e===Bn;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Rn(e,t){var n,r,i=p.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&p.extend(!0,e,n),e}function Un(e,t,n){var r,i,s,o,u=e.contents,a=e.dataTypes;while(a[0]==="*")a.shift(),i===undefined&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in u)if(u[o]&&u[o].test(i)){a.unshift(o);break}if(a[0]in n)s=a[0];else{for(o in n){if(!a[0]||e.converters[o+" "+a[0]]){s=o;break}r||(r=o)}s=s||r}if(s)return s!==a[0]&&a.unshift(s),n[s]}function zn(e,t,n,r){var i,s,o,u,a,f={},l=e.dataTypes.slice();if(l[1])for(o in e.converters)f[o.toLowerCase()]=e.converters[o];s=l.shift();while(s){e.responseFields[s]&&(n[e.responseFields[s]]=t),!a&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=s,s=l.shift();if(s)if(s==="*")s=a;else if(a!=="*"&&a!==s){o=f[a+" "+s]||f["* "+s];if(!o)for(i in f){u=i.split(" ");if(u[1]===s){o=f[a+" "+u[0]]||f["* "+u[0]];if(o){o===!0?o=f[i]:f[i]!==!0&&(s=u[0],l.unshift(u[1]));break}}}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+a+" to "+s}}}}return{state:"success",data:t}}function Kn(e,t,n,r){var i;if(p.isArray(t))p.each(t,function(t,i){n||Xn.test(e)?r(e,i):Kn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&p.type(t)==="object")for(i in t)Kn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Zn(){try{return new e.XMLHttpRequest}catch(t){}}function er(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function sr(e){return p.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var n=[],r=n.slice,i=n.concat,s=n.push,o=n.indexOf,u={},a=u.toString,f=u.hasOwnProperty,l="".trim,c={},h="1.11.0",p=function(e,t){return new p.fn.init(e,t)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,v=/^-ms-/,m=/-([\da-z])/gi,g=function(e,t){return t.toUpperCase()};p.fn=p.prototype={jquery:h,constructor:p,selector:"",length:0,toArray:function(){return r.call(this)},get:function(e){return e!=null?e<0?this[e+this.length]:this[e]:r.call(this)},pushStack:function(e){var t=p.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return p.each(this,e,t)},map:function(e){return this.pushStack(p.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:s,sort:n.sort,splice:n.splice},p.extend=p.fn.extend=function(){var e,t,n,r,i,s,o=arguments[0]||{},u=1,a=arguments.length,f=!1;typeof o=="boolean"&&(f=o,o=arguments[u]||{},u++),typeof o!="object"&&!p.isFunction(o)&&(o={}),u===a&&(o=this,u--);for(;u<a;u++)if((i=arguments[u])!=null)for(r in i){e=o[r],n=i[r];if(o===n)continue;f&&n&&(p.isPlainObject(n)||(t=p.isArray(n)))?(t?(t=!1,s=e&&p.isArray(e)?e:[]):s=e&&p.isPlainObject(e)?e:{},o[r]=p.extend(f,s,n)):n!==undefined&&(o[r]=n)}return o},p.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return p.type(e)==="function"},isArray:Array.isArray||function(e){return p.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return e-parseFloat(e)>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||p.type(e)!=="object"||e.nodeType||p.isWindow(e))return!1;try{if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(c.ownLast)for(t in e)return f.call(e,t);for(t in e);return t===undefined||f.call(e,t)},type:function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?u[a.call(e)]||"object":typeof e},globalEval:function(t){t&&p.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(v,"ms-").replace(m,g)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=y(e);if(n)if(o)for(;i<s;i++){r=t.apply(e[i],n);if(r===!1)break}else for(i in e){r=t.apply(e[i],n);if(r===!1)break}else if(o)for(;i<s;i++){r=t.call(e[i],i,e[i]);if(r===!1)break}else for(i in e){r=t.call(e[i],i,e[i]);if(r===!1)break}return e},trim:l&&!l.call(" ")?function(e){return e==null?"":l.call(e)}:function(e){return e==null?"":(e+"").replace(d,"")},makeArray:function(e,t){var n=t||[];return e!=null&&(y(Object(e))?p.merge(n,typeof e=="string"?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(o)return o.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=+t.length,r=0,i=e.length;while(r<n)e[i++]=t[r++];if(n!==n)while(t[r]!==undefined)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){var r,i=[],s=0,o=e.length,u=!n;for(;s<o;s++)r=!t(e[s],s),r!==u&&i.push(e[s]);return i},map:function(e,t,n){var r,s=0,o=e.length,u=y(e),a=[];if(u)for(;s<o;s++)r=t(e[s],s,n),r!=null&&a.push(r);else for(s in e)r=t(e[s],s,n),r!=null&&a.push(r);return i.apply([],a)},guid:1,proxy:function(e,t){var n,i,s;return typeof t=="string"&&(s=e[t],t=e,e=s),p.isFunction(e)?(n=r.call(arguments,2),i=function(){return e.apply(t||this,n.concat(r.call(arguments)))},i.guid=e.guid=e.guid||p.guid++,i):undefined},now:function(){return+(new Date)},support:c}),p.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()});var b=function(e){function rt(e,t,r,i){var s,o,u,a,f,h,v,m,w,E;(t?t.ownerDocument||t:b)!==c&&l(t),t=t||c,r=r||[];if(!e||typeof e!="string")return r;if((a=t.nodeType)!==1&&a!==9)return[];if(p&&!i){if(s=G.exec(e))if(u=s[1]){if(a===9){o=t.getElementById(u);if(!o||!o.parentNode)return r;if(o.id===u)return r.push(o),r}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(u))&&g(t,o)&&o.id===u)return r.push(o),r}else{if(s[2])return _.apply(r,t.getElementsByTagName(e)),r;if((u=s[3])&&n.getElementsByClassName&&t.getElementsByClassName)return _.apply(r,t.getElementsByClassName(u)),r}if(n.qsa&&(!d||!d.test(e))){m=v=y,w=t,E=a===9&&e;if(a===1&&t.nodeName.toLowerCase()!=="object"){h=dt(e),(v=t.getAttribute("id"))?m=v.replace(Z,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",f=h.length;while(f--)h[f]=m+vt(h[f]);w=Y.test(e)&&ht(t.parentNode)||t,E=h.join(",")}if(E)try{return _.apply(r,w.querySelectorAll(E)),r}catch(S){}finally{v||t.removeAttribute("id")}}}return xt(e.replace(R,"$1"),t,r,i)}function it(){function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function st(e){return e[y]=!0,e}function ot(e){var t=c.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ut(e,t){var n=e.split("|"),i=e.length;while(i--)r.attrHandle[n[i]]=t}function at(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||k)-(~e.sourceIndex||k);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function ct(e){return st(function(t){return t=+t,st(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ht(e){return e&&typeof e.getElementsByTagName!==C&&e}function pt(){}function dt(e,t){var n,i,s,o,u,a,f,l=x[e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=r.preFilter;while(u){if(!n||(i=U.exec(u)))i&&(u=u.slice(i[0].length)||u),a.push(s=[]);n=!1;if(i=z.exec(u))n=i.shift(),s.push({value:n,type:i[0].replace(R," ")}),u=u.slice(n.length);for(o in r.filter)(i=$[o].exec(u))&&(!f[o]||(i=f[o](i)))&&(n=i.shift(),s.push({value:n,type:o,matches:i}),u=u.slice(n.length));if(!n)break}return t?u.length:u?rt.error(e):x(e,a).slice(0)}function vt(e){var t=0,n=e.length,r="";for(;t<n;t++)r+=e[t].value;return r}function mt(e,t,n){var r=t.dir,i=n&&r==="parentNode",s=E++;return t.first?function(t,n,s){while(t=t[r])if(t.nodeType===1||i)return e(t,n,s)}:function(t,n,o){var u,a,f=[w,s];if(o){while(t=t[r])if(t.nodeType===1||i)if(e(t,n,o))return!0}else while(t=t[r])if(t.nodeType===1||i){a=t[y]||(t[y]={});if((u=a[r])&&u[0]===w&&u[1]===s)return f[2]=u[2];a[r]=f;if(f[2]=e(t,n,o))return!0}}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function yt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++)if(s=e[u])if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function bt(e,t,n,r,i,s){return r&&!r[y]&&(r=bt(r)),i&&!i[y]&&(i=bt(i,s)),st(function(s,o,u,a){var f,l,c,h=[],p=[],d=o.length,v=s||St(t||"*",u.nodeType?[u]:u,[]),m=e&&(s||!t)?yt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;n&&n(m,g,u,a);if(r){f=yt(g,p),r(f,[],u,a),l=f.length;while(l--)if(c=f[l])g[p[l]]=!(m[p[l]]=c)}if(s){if(i||e){if(i){f=[],l=g.length;while(l--)(c=g[l])&&f.push(m[l]=c);i(null,g=[],f,a)}l=g.length;while(l--)(c=g[l])&&(f=i?P.call(s,c):h[l])>-1&&(s[f]=!(o[f]=c))}}else g=yt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):_.apply(o,g)})}function wt(e){var t,n,i,s=e.length,o=r.relative[e[0].type],a=o||r.relative[" "],f=o?1:0,l=mt(function(e){return e===t},a,!0),c=mt(function(e){return P.call(t,e)>-1},a,!0),h=[function(e,n,r){return!o&&(r||n!==u)||((t=n).nodeType?l(e,n,r):c(e,n,r))}];for(;f<s;f++)if(n=r.relative[e[f].type])h=[mt(gt(h),n)];else{n=r.filter[e[f].type].apply(null,e[f].matches);if(n[y]){i=++f;for(;i<s;i++)if(r.relative[e[i].type])break;return bt(f>1&&gt(h),f>1&&vt(e.slice(0,f-1).concat({value:e[f-2].type===" "?"*":""})).replace(R,"$1"),n,f<i&&wt(e.slice(f,i)),i<s&&wt(e=e.slice(i)),i<s&&vt(e))}h.push(n)}return gt(h)}function Et(e,t){var n=t.length>0,i=e.length>0,s=function(s,o,a,f,l){var h,p,d,v=0,m="0",g=s&&[],y=[],b=u,E=s||i&&r.find.TAG("*",l),S=w+=b==null?1:Math.random()||.1,x=E.length;l&&(u=o!==c&&o);for(;m!==x&&(h=E[m])!=null;m++){if(i&&h){p=0;while(d=e[p++])if(d(h,o,a)){f.push(h);break}l&&(w=S)}n&&((h=!d&&h)&&v--,s&&g.push(h))}v+=m;if(n&&m!==v){p=0;while(d=t[p++])d(g,y,o,a);if(s){if(v>0)while(m--)!g[m]&&!y[m]&&(y[m]=O.call(f));y=yt(y)}_.apply(f,y),l&&!s&&y.length>0&&v+t.length>1&&rt.uniqueSort(f)}return l&&(w=S,u=b),g};return n?st(s):s}function St(e,t,n){var r=0,i=t.length;for(;r<i;r++)rt(e,t[r],n);return n}function xt(e,t,i,s){var u,a,f,l,c,h=dt(e);if(!s&&h.length===1){a=h[0]=h[0].slice(0);if(a.length>2&&(f=a[0]).type==="ID"&&n.getById&&t.nodeType===9&&p&&r.relative[a[1].type]){t=(r.find.ID(f.matches[0].replace(et,tt),t)||[])[0];if(!t)return i;e=e.slice(a.shift().value.length)}u=$.needsContext.test(e)?0:a.length;while(u--){f=a[u];if(r.relative[l=f.type])break;if(c=r.find[l])if(s=c(f.matches[0].replace(et,tt),Y.test(a[0].type)&&ht(t.parentNode)||t)){a.splice(u,1),e=s.length&&vt(a);if(!e)return _.apply(i,s),i;break}}}return o(e,h)(s,t,!p,i,Y.test(e)&&ht(t.parentNode)||t),i}var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y="sizzle"+ -(new Date),b=e.document,w=0,E=0,S=it(),x=it(),T=it(),N=function(e,t){return e===t&&(f=!0),0},C=typeof undefined,k=1<<31,L={}.hasOwnProperty,A=[],O=A.pop,M=A.push,_=A.push,D=A.slice,P=A.indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F=j.replace("w","w#"),I="\\["+B+"*("+j+")"+B+"*(?:([*^$|!~]?=)"+B+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+F+")|)|)"+B+"*\\]",q=":("+j+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+I.replace(3,8)+")*)|.*)\\)|)",R=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),U=new RegExp("^"+B+"*,"+B+"*"),z=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),W=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),X=new RegExp(q),V=new RegExp("^"+F+"$"),$={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,Z=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),tt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)};try{_.apply(A=D.call(b.childNodes),b.childNodes),A[b.childNodes.length].nodeType}catch(nt){_={apply:A.length?function(e,t){M.apply(e,D.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}n=rt.support={},s=rt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},l=rt.setDocument=function(e){var t,i=e?e.ownerDocument||e:b,o=i.defaultView;if(i===c||i.nodeType!==9||!i.documentElement)return c;c=i,h=i.documentElement,p=!s(i),o&&o!==o.top&&(o.addEventListener?o.addEventListener("unload",function(){l()},!1):o.attachEvent&&o.attachEvent("onunload",function(){l()})),n.attributes=ot(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ot(function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(i.getElementsByClassName)&&ot(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",e.getElementsByClassName("i").length===2}),n.getById=ot(function(e){return h.appendChild(e).id=y,!i.getElementsByName||!i.getElementsByName(y).length}),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!==C&&p){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==C&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==C)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==C&&p)return t.getElementsByClassName(e)},v=[],d=[];if(n.qsa=Q.test(i.querySelectorAll))ot(function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&d.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||d.push("\\["+B+"*(?:value|"+H+")"),e.querySelectorAll(":checked").length||d.push(":checked")}),ot(function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&d.push("name"+B+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),d.push(",.*:")});return(n.matchesSelector=Q.test(m=h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ot(function(e){n.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),v.push("!=",q)}),d=d.length&&new RegExp(d.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),g=t||Q.test(h.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===i||e.ownerDocument===b&&g(b,e)?-1:t===i||t.ownerDocument===b&&g(b,t)?1:a?P.call(a,e)-P.call(a,t):0:r&4?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,s=e.parentNode,o=t.parentNode,u=[e],l=[t];if(!s||!o)return e===i?-1:t===i?1:s?-1:o?1:a?P.call(a,e)-P.call(a,t):0;if(s===o)return at(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)l.unshift(n);while(u[r]===l[r])r++;return r?at(u[r],l[r]):u[r]===b?-1:l[r]===b?1:0},i},rt.matches=function(e,t){return rt(e,null,null,t)},rt.matchesSelector=function(e,t){(e.ownerDocument||e)!==c&&l(e),t=t.replace(W,"='$1']");if(n.matchesSelector&&p&&(!v||!v.test(t))&&(!d||!d.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11)return r}catch(i){}return rt(t,c,null,[e]).length>0},rt.contains=function(e,t){return(e.ownerDocument||e)!==c&&l(e),g(e,t)},rt.attr=function(e,t){(e.ownerDocument||e)!==c&&l(e);var i=r.attrHandle[t.toLowerCase()],s=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!p):undefined;return s!==undefined?s:n.attributes||!p?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},rt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},rt.uniqueSort=function(e){var t,r=[],i=0,s=0;f=!n.detectDuplicates,a=!n.sortStable&&e.slice(0),e.sort(N);if(f){while(t=e[s++])t===e[s]&&(i=r.push(s));while(i--)e.splice(r[i],1)}return a=null,e},i=rt.getText=function(e){var t,n="",r=0,s=e.nodeType;if(!s)while(t=e[r++])n+=i(t);else if(s===1||s===9||s===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(s===3||s===4)return e.nodeValue;return n},r=rt.selectors={cacheLength:50,createPseudo:st,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||rt.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&rt.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return $.CHILD.test(e[0])?null:(e[3]&&e[4]!==undefined?e[2]=e[4]:n&&X.test(n)&&(t=dt(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(et,tt).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&S(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!==C&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=rt.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),b=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&b){l=m[y]||(m[y]={}),f=l[e]||[],p=f[0]===w&&f[1],h=f[0]===w&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[w,p,h];break}}else if(b&&(f=(t[y]||(t[y]={}))[e])&&f[0]===w)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){b&&((c[y]||(c[y]={}))[e]=[w,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||rt.error("unsupported pseudo: "+e);return i[y]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?st(function(e,n){var r,s=i(e,t),o=s.length;while(o--)r=P.call(e,s[o]),e[r]=!(n[r]=s[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:st(function(e){var t=[],n=[],r=o(e.replace(R,"$1"));return r[y]?st(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:st(function(e){return function(t){return rt(e,t).length>0}}),contains:st(function(e){return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:st(function(e){return V.test(e||"")||rt.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===c.activeElement&&(!c.hasFocus||c.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:ct(function(){return[0]}),last:ct(function(e,t){return[t-1]}),eq:ct(function(e,t,n){return[n<0?n+t:n]}),even:ct(function(e,t){var n=0;for(;n<t;n+=2)e.push(n);return e}),odd:ct(function(e,t){var n=1;for(;n<t;n+=2)e.push(n);return e}),lt:ct(function(e,t,n){var r=n<0?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ct(function(e,t,n){var r=n<0?n+t:n;for(;++r<t;)e.push(r);return e})}},r.pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=ft(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=lt(t);return pt.prototype=r.filters=r.pseudos,r.setFilters=new pt,o=rt.compile=function(e,t){var n,r=[],i=[],s=T[e+" "];if(!s){t||(t=dt(e)),n=t.length;while(n--)s=wt(t[n]),s[y]?r.push(s):i.push(s);s=T(e,Et(i,r))}return s},n.sortStable=y.split("").sort(N).join("")===y,n.detectDuplicates=!!f,l(),n.sortDetached=ot(function(e){return e.compareDocumentPosition(c.createElement("div"))&1}),ot(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild.getAttribute("href")==="#"})||ut("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}),(!n.attributes||!ot(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),e.firstChild.getAttribute("value")===""}))&&ut("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input")return e.defaultValue}),ot(function(e){return e.getAttribute("disabled")==null})||ut(H,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),rt}(e);p.find=b,p.expr=b.selectors,p.expr[":"]=p.expr.pseudos,p.unique=b.uniqueSort,p.text=b.getText,p.isXMLDoc=b.isXML,p.contains=b.contains;var w=p.expr.match.needsContext,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^.[^:#\[\.,]*$/;p.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?p.find.matchesSelector(r,e)?[r]:[]:p.find.matches(e,p.grep(t,function(e){return e.nodeType===1}))},p.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(typeof e!="string")return this.pushStack(p(e).filter(function(){for(t=0;t<i;t++)if(p.contains(r[t],this))return!0}));for(t=0;t<i;t++)p.find(e,r[t],n);return n=this.pushStack(i>1?p.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(x(this,e||[],!1))},not:function(e){return this.pushStack(x(this,e||[],!0))},is:function(e){return!!x(this,typeof e=="string"&&w.test(e)?p(e):e||[],!1).length}});var T,N=e.document,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=p.fn.init=function(e,t){var n,r;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?n=[null,e,null]:n=C.exec(e);if(n&&(n[1]||!t)){if(n[1]){t=t instanceof p?t[0]:t,p.merge(this,p.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:N,!0));if(E.test(n[1])&&p.isPlainObject(t))for(n in t)p.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}r=N.getElementById(n[2]);if(r&&r.parentNode){if(r.id!==n[2])return T.find(e);this.length=1,this[0]=r}return this.context=N,this.selector=e,this}return!t||t.jquery?(t||T).find(e):this.constructor(t).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):p.isFunction(e)?typeof T.ready!="undefined"?T.ready(e):e(p):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),p.makeArray(e,this))};k.prototype=p.fn,T=p(N);var L=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};p.extend({dir:function(e,t,n){var r=[],i=e[t];while(i&&i.nodeType!==9&&(n===undefined||i.nodeType!==1||!p(i).is(n)))i.nodeType===1&&r.push(i),i=i[t];return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}}),p.fn.extend({has:function(e){var t,n=p(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(p.contains(this,n[t]))return!0})},closest:function(e,t){var n,r=0,i=this.length,s=[],o=w.test(e)||typeof e!="string"?p(e,t||this.context):0;for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:n.nodeType===1&&p.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?p.unique(s):s)},index:function(e){return e?typeof e=="string"?p.inArray(this[0],p(e)):p.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(p.unique(p.merge(this.get(),p(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),p.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return p.dir(e,"parentNode")},parentsUntil:function(e,t,n){return p.dir(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return p.dir(e,"nextSibling")},prevAll:function(e){return p.dir(e,"previousSibling")},nextUntil:function(e,t,n){return p.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return p.dir(e,"previousSibling",n)},siblings:function(e){return p.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return p.sibling(e.firstChild)},contents:function(e){return p.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:p.merge([],e.childNodes)}},function(e,t){p.fn[e]=function(n,r){var i=p.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=p.filter(r,i)),this.length>1&&(A[e]||(i=p.unique(i)),L.test(e)&&(i=i.reverse())),this.pushStack(i)}});var M=/\S+/g,_={};p.Callbacks=function(e){e=typeof e=="string"?_[e]||D(e):p.extend({},e);var t,n,r,i,s,o,u=[],a=!e.once&&[],f=function(c){n=e.memory&&c,r=!0,s=o||0,o=0,i=u.length,t=!0;for(;u&&s<i;s++)if(u[s].apply(c[0],c[1])===!1&&e.stopOnFalse){n=!1;break}t=!1,u&&(a?a.length&&f(a.shift()):n?u=[]:l.disable())},l={add:function(){if(u){var r=u.length;(function s(t){p.each(t,function(t,n){var r=p.type(n);r==="function"?(!e.unique||!l.has(n))&&u.push(n):n&&n.length&&r!=="string"&&s(n)})})(arguments),t?i=u.length:n&&(o=r,f(n))}return this},remove:function(){return u&&p.each(arguments,function(e,n){var r;while((r=p.inArray(n,u,r))>-1)u.splice(r,1),t&&(r<=i&&i--,r<=s&&s--)}),this},has:function(e){return e?p.inArray(e,u)>-1:!!u&&!!u.length},empty:function(){return u=[],i=0,this},disable:function(){return u=a=n=undefined,this},disabled:function(){return!u},lock:function(){return a=undefined,n||l.disable(),this},locked:function(){return!a},fireWith:function(e,n){return u&&(!r||a)&&(n=n||[],n=[e,n.slice?n.slice():n],t?a.push(n):f(n)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},p.extend({Deferred:function(e){var t=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return p.Deferred(function(n){p.each(t,function(t,s){var o=p.isFunction(e[t])&&e[t];i[s[1]](function(){var e=o&&o.apply(this,arguments);e&&p.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?p.extend(e,r):r}},i={};return r.pipe=r.then,p.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=r.call(arguments),i=n.length,s=i!==1||e&&p.isFunction(e.promise)?i:0,o=s===1?e:p.Deferred(),u=function(e,t,n){return function(i){t[e]=this,n[e]=arguments.length>1?r.call(arguments):i,n===a?o.notifyWith(t,n):--s||o.resolveWith(t,n)}},a,f,l;if(i>1){a=new Array(i),f=new Array(i),l=new Array(i);for(;t<i;t++)n[t]&&p.isFunction(n[t].promise)?n[t].promise().done(u(t,l,n)).fail(o.reject).progress(u(t,f,a)):--s}return s||o.resolveWith(l,n),o.promise()}});var P;p.fn.ready=function(e){return p.ready.promise().done(e),this},p.extend({isReady:!1,readyWait:1,holdReady:function(e){e?p.readyWait++:p.ready(!0)},ready:function(e){if(e===!0?--p.readyWait:p.isReady)return;if(!N.body)return setTimeout(p.ready);p.isReady=!0;if(e!==!0&&--p.readyWait>0)return;P.resolveWith(N,[p]),p.fn.trigger&&p(N).trigger("ready").off("ready")}}),p.ready.promise=function(t){if(!P){P=p.Deferred();if(N.readyState==="complete")setTimeout(p.ready);else if(N.addEventListener)N.addEventListener("DOMContentLoaded",B,!1),e.addEventListener("load",B,!1);else{N.attachEvent("onreadystatechange",B),e.attachEvent("onload",B);var n=!1;try{n=e.frameElement==null&&N.documentElement}catch(r){}n&&n.doScroll&&function i(){if(!p.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}H(),p.ready()}}()}}return P.promise(t)};var j=typeof undefined,F;for(F in p(c))break;c.ownLast=F!=="0",c.inlineBlockNeedsLayout=!1,p(function(){var e,t,n=N.getElementsByTagName("body")[0];if(!n)return;e=N.createElement("div"),e.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t=N.createElement("div"),n.appendChild(e).appendChild(t);if(typeof t.style.zoom!==j){t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1";if(c.inlineBlockNeedsLayout=t.offsetWidth===3)n.style.zoom=1}n.removeChild(e),e=t=null}),function(){var e=N.createElement("div");if(c.deleteExpando==null){c.deleteExpando=!0;try{delete e.test}catch(t){c.deleteExpando=!1}}e=null}(),p.acceptData=function(e){var t=p.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return n!==1&&n!==9?!1:!t||t!==!0&&e.getAttribute("classid")===t};var I=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,q=/([A-Z])/g;p.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?p.cache[e[p.expando]]:e[p.expando],!!e&&!U(e)},data:function(e,t,n){return z(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return z(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)}}),p.fn.extend({data:function(e,t){var n,r,i,s=this[0],o=s&&s.attributes;if(e===undefined){if(this.length){i=p.data(s);if(s.nodeType===1&&!p._data(s,"parsedAttrs")){n=o.length;while(n--)r=o[n].name,r.indexOf("data-")===0&&(r=p.camelCase(r.slice(5)),R(s,r,i[r]));p._data(s,"parsedAttrs",!0)}}return i}return typeof e=="object"?this.each(function(){p.data(this,e)}):arguments.length>1?this.each(function(){p.data(this,e,t)}):s?R(s,e,p.data(s,e)):undefined},removeData:function(e){return this.each(function(){p.removeData(this,e)})}}),p.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=p._data(e,t),n&&(!r||p.isArray(n)?r=p._data(e,t,p.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=p.queue(e,t),r=n.length,i=n.shift(),s=p._queueHooks(e,t),o=function(){p.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return p._data(e,n)||p._data(e,n,{empty:p.Callbacks("once memory").add(function(){p._removeData(e,t+"queue"),p._removeData(e,n)})})}}),p.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?p.queue(this[0],e):t===undefined?this:this.each(function(){var n=p.queue(this,e,t);p._queueHooks(this,e),e==="fx"&&n[0]!=="inprogress"&&p.dequeue(this,e)})},dequeue:function(e){return this.each(function(){p.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=p.Deferred(),s=this,o=this.length,u=function(){--r||i.resolveWith(s,[s])};typeof e!="string"&&(t=e,e=undefined),e=e||"fx";while(o--)n=p._data(s[o],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(u));return u(),i.promise(t)}});var X=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,V=["Top","Right","Bottom","Left"],$=function(e,t){return e=t||e,p.css(e,"display")==="none"||!p.contains(e.ownerDocument,e)},J=p.access=function(e,t,n,r,i,s,o){var u=0,a=e.length,f=n==null;if(p.type(n)==="object"){i=!0;for(u in n)p.access(e,t,u,n[u],!0,s,o)}else if(r!==undefined){i=!0,p.isFunction(r)||(o=!0),f&&(o?(t.call(e,r),t=null):(f=t,t=function(e,t,n){return f.call(p(e),n)}));if(t)for(;u<a;u++)t(e[u],n,o?r:r.call(e[u],u,t(e[u],n)))}return i?e:f?t.call(e):a?t(e[0],n):s},K=/^(?:checkbox|radio)$/i;(function(){var e=N.createDocumentFragment(),t=N.createElement("div"),n=N.createElement("input");t.setAttribute("className","t"),t.innerHTML=" <link/><table></table><a href='/a'>a</a>",c.leadingWhitespace=t.firstChild.nodeType===3,c.tbody=!t.getElementsByTagName("tbody").length,c.htmlSerialize=!!t.getElementsByTagName("link").length,c.html5Clone=N.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",n.type="checkbox",n.checked=!0,e.appendChild(n),c.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",c.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",c.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,c.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){c.noCloneEvent=!1}),t.cloneNode(!0).click());if(c.deleteExpando==null){c.deleteExpando=!0;try{delete t.test}catch(r){c.deleteExpando=!1}}e=t=n=null})(),function(){var t,n,r=N.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(c[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),c[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var Q=/^(?:input|select|textarea)$/i,G=/^key/,Y=/^(?:mouse|contextmenu)|click/,Z=/^(?:focusinfocus|focusoutblur)$/,et=/^([^.]*)(?:\.(.+)|)$/;p.event={global:{},add:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,d,v,m,g=p._data(e);if(!g)return;n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=p.guid++),(o=g.events)||(o=g.events={}),(l=g.handle)||(l=g.handle=function(e){return typeof p===j||!!e&&p.event.triggered===e.type?undefined:p.event.dispatch.apply(l.elem,arguments)},l.elem=e),t=(t||"").match(M)||[""],u=t.length;while(u--){s=et.exec(t[u])||[],d=m=s[1],v=(s[2]||"").split(".").sort();if(!d)continue;f=p.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=p.event.special[d]||{},c=p.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&p.expr.match.needsContext.test(i),namespace:v.join(".")},a);if(!(h=o[d])){h=o[d]=[],h.delegateCount=0;if(!f.setup||f.setup.call(e,r,v,l)===!1)e.addEventListener?e.addEventListener(d,l,!1):e.attachEvent&&e.attachEvent("on"+d,l)}f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),p.event.global[d]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,d,v,m,g=p.hasData(e)&&p._data(e);if(!g||!(l=g.events))return;t=(t||"").match(M)||[""],f=t.length;while(f--){u=et.exec(t[f])||[],d=m=u[1],v=(u[2]||"").split(".").sort();if(!d){for(d in l)p.event.remove(e,d+t[f],n,r,!0);continue}c=p.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,h=l[d]||[],u=u[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;while(s--)o=h[s],(i||m===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(h.splice(s,1),o.selector&&h.delegateCount--,c.remove&&c.remove.call(e,o));a&&!h.length&&((!c.teardown||c.teardown.call(e,v,g.handle)===!1)&&p.removeEvent(e,d,g.handle),delete l[d])}p.isEmptyObject(l)&&(delete g.handle,p._removeData(e,"events"))},trigger:function(t,n,r,i){var s,o,u,a,l,c,h,d=[r||N],v=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];u=c=r=r||N;if(r.nodeType===3||r.nodeType===8)return;if(Z.test(v+p.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),o=v.indexOf(":")<0&&"on"+v,t=t[p.expando]?t:new p.Event(v,typeof t=="object"&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=n==null?[t]:p.makeArray(n,[t]),l=p.event.special[v]||{};if(!i&&l.trigger&&l.trigger.apply(r,n)===!1)return;if(!i&&!l.noBubble&&!p.isWindow(r)){a=l.delegateType||v,Z.test(a+v)||(u=u.parentNode);for(;u;u=u.parentNode)d.push(u),c=u;c===(r.ownerDocument||N)&&d.push(c.defaultView||c.parentWindow||e)}h=0;while((u=d[h++])&&!t.isPropagationStopped())t.type=h>1?a:l.bindType||v,s=(p._data(u,"events")||{})[t.type]&&p._data(u,"handle"),s&&s.apply(u,n),s=o&&u[o],s&&s.apply&&p.acceptData(u)&&(t.result=s.apply(u,n),t.result===!1&&t.preventDefault());t.type=v;if(!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&p.acceptData(r)&&o&&r[v]&&!p.isWindow(r)){c=r[o],c&&(r[o]=null),p.event.triggered=v;try{r[v]()}catch(g){}p.event.triggered=undefined,c&&(r[o]=c)}return t.result},dispatch:function(e){e=p.event.fix(e);var t,n,i,s,o,u=[],a=r.call(arguments),f=(p._data(this,"events")||{})[e.type]||[],l=p.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=p.event.handlers.call(this,e,f),t=0;while((s=u[t++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,n=((p.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),n!==undefined&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,t){var n,r,i,s,o=[],u=t.delegateCount,a=e.target;if(u&&a.nodeType&&(!e.button||e.type!=="click"))for(;a!=this;a=a.parentNode||this)if(a.nodeType===1&&(a.disabled!==!0||e.type!=="click")){i=[];for(s=0;s<u;s++)r=t[s],n=r.selector+" ",i[n]===undefined&&(i[n]=r.needsContext?p(n,this).index(a)>=0:p.find(n,this,null,[a]).length),i[n]&&i.push(r);i.length&&o.push({elem:a,handlers:i})}return u<t.length&&o.push({elem:this,handlers:t.slice(u)}),o},fix:function(e){if(e[p.expando])return e;var t,n,r,i=e.type,s=e,o=this.fixHooks[i];o||(this.fixHooks[i]=o=Y.test(i)?this.mouseHooks:G.test(i)?this.keyHooks:{}),r=o.props?this.props.concat(o.props):this.props,e=new p.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=s.srcElement||N),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,s):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button,o=t.fromElement;return e.pageX==null&&t.clientX!=null&&(r=e.target.ownerDocument||N,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),!e.which&&s!==undefined&&(e.which=s&1?1:s&2?3:s&4?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==rt()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===rt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(p.nodeName(this,"input")&&this.type==="checkbox"&&this.click)return this.click(),!1},_default:function(e){return p.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=p.extend(new p.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?p.event.trigger(i,null,t):p.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},p.removeEvent=N.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===j&&(e[r]=null),e.detachEvent(r,n))},p.Event=function(e,t){if(!(this instanceof p.Event))return new p.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&(e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault())?tt:nt):this.type=e,t&&p.extend(this,t),this.timeStamp=e&&e.timeStamp||p.now(),this[p.expando]=!0},p.Event.prototype={isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=tt;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=tt;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt,this.stopPropagation()}},p.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){p.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj;if(!i||i!==r&&!p.contains(r,i))e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t;return n}}}),c.submitBubbles||(p.event.special.submit={setup:function(){if(p.nodeName(this,"form"))return!1;p.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=p.nodeName(t,"input")||p.nodeName(t,"button")?t.form:undefined;n&&!p._data(n,"submitBubbles")&&(p.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),p._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&p.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(p.nodeName(this,"form"))return!1;p.event.remove(this,"._submit")}}),c.changeBubbles||(p.event.special.change={setup:function(){if(Q.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")p.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),p.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),p.event.simulate("change",this,e,!0)});return!1}p.event.add(this,"beforeactivate._change",function(e){var t=e.target;Q.test(t.nodeName)&&!p._data(t,"changeBubbles")&&(p.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&p.event.simulate("change",this.parentNode,e,!0)}),p._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.remove(this,"._change"),!Q.test(this.nodeName)}}),c.focusinBubbles||p.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){p.event.simulate(t,e.target,p.event.fix(e),!0)};p.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=p._data(r,t);i||r.addEventListener(e,n,!0),p._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=p._data(r,t)-1;i?p._data(r,t,i):(r.removeEventListener(e,n,!0),p._removeData(r,t))}}}),p.fn.extend({on:function(e,t,n,r,i){var s,o;if(typeof e=="object"){typeof t!="string"&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}n==null&&r==null?(r=t,n=t=undefined):r==null&&(typeof t=="string"?(r=n,n=undefined):(r=n,n=t,t=undefined));if(r===!1)r=nt;else if(!r)return this;return i===1&&(o=r,r=function(e){return p().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=p.guid++)),this.each(function(){p.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,p(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(i in e)this.off(i,t,e[i]);return this}if(t===!1||typeof t=="function")n=t,t=undefined;return n===!1&&(n=nt),this.each(function(){p.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){p.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return p.event.trigger(e,t,n,!0)}});var st="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ot=/ jQuery\d+="(?:null|\d+)"/g,ut=new RegExp("<(?:"+st+")[\\s/>]","i"),at=/^\s+/,ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,lt=/<([\w:]+)/,ct=/<tbody/i,ht=/<|&#?\w+;/,pt=/<(?:script|style|link)/i,dt=/checked\s*(?:[^=]|=\s*.checked.)/i,vt=/^$|\/(?:java|ecma)script/i,mt=/^true\/(.*)/,gt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,yt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:c.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},bt=it(N),wt=bt.appendChild(N.createElement("div"));yt.optgroup=yt.option,yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,p.extend({clone:function(e,t,n){var r,i,s,o,u,a=p.contains(e.ownerDocument,e);c.html5Clone||p.isXMLDoc(e)||!ut.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(wt.innerHTML=e.outerHTML,wt.removeChild(s=wt.firstChild));if((!c.noCloneEvent||!c.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!p.isXMLDoc(e)){r=Et(s),u=Et(e);for(o=0;(i=u[o])!=null;++o)r[o]&&Lt(i,r[o])}if(t)if(n){u=u||Et(e),r=r||Et(s);for(o=0;(i=u[o])!=null;o++)kt(i,r[o])}else kt(e,s);return r=Et(s,"script"),r.length>0&&Ct(r,!a&&Et(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,l,h=e.length,d=it(t),v=[],m=0;for(;m<h;m++){s=e[m];if(s||s===0)if(p.type(s)==="object")p.merge(v,s.nodeType?[s]:s);else if(!ht.test(s))v.push(t.createTextNode(s));else{u=u||d.appendChild(t.createElement("div")),a=(lt.exec(s)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,u.innerHTML=l[1]+s.replace(ft,"<$1></$2>")+l[2],i=l[0];while(i--)u=u.lastChild;!c.leadingWhitespace&&at.test(s)&&v.push(t.createTextNode(at.exec(s)[0]));if(!c.tbody){s=a==="table"&&!ct.test(s)?u.firstChild:l[1]==="<table>"&&!ct.test(s)?u:0,i=s&&s.childNodes.length;while(i--)p.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}p.merge(v,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=d.lastChild}}u&&d.removeChild(u),c.appendChecked||p.grep(Et(v,"input"),St),m=0;while(s=v[m++]){if(r&&p.inArray(s,r)!==-1)continue;o=p.contains(s.ownerDocument,s),u=Et(d.appendChild(s),"script"),o&&Ct(u);if(n){i=0;while(s=u[i++])vt.test(s.type||"")&&n.push(s)}}return u=null,d},cleanData:function(e,t){var r,i,s,o,u=0,a=p.expando,f=p.cache,l=c.deleteExpando,h=p.event.special;for(;(r=e[u])!=null;u++)if(t||p.acceptData(r)){s=r[a],o=s&&f[s];if(o){if(o.events)for(i in o.events)h[i]?p.event.remove(r,i):p.removeEvent(r,i,o.handle);f[s]&&(delete f[s],l?delete r[a]:typeof r.removeAttribute!==j?r.removeAttribute(a):r[a]=null,n.push(s))}}}}),p.fn.extend({text:function(e){return J(this,function(e){return e===undefined?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||N).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=xt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=xt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?p.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&p.cleanData(Et(n)),n.parentNode&&(t&&p.contains(n.ownerDocument,n)&&Ct(Et(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&p.cleanData(Et(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&p.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return p.clone(this,e,t)})},html:function(e){return J(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined)return t.nodeType===1?t.innerHTML.replace(ot,""):undefined;if(typeof e=="string"&&!pt.test(e)&&(c.htmlSerialize||!ut.test(e))&&(c.leadingWhitespace||!at.test(e))&&!yt[(lt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ft,"<$1></$2>");try{for(;n<r;n++)t=this[n]||{},t.nodeType===1&&(p.cleanData(Et(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,p.cleanData(Et(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=i.apply([],e);var n,r,s,o,u,a,f=0,l=this.length,h=this,d=l-1,v=e[0],m=p.isFunction(v);if(m||l>1&&typeof v=="string"&&!c.checkClone&&dt.test(v))return this.each(function(n){var r=h.eq(n);m&&(e[0]=v.call(this,n,r.html())),r.domManip(e,t)});if(l){a=p.buildFragment(e,this[0].ownerDocument,!1,this),n=a.firstChild,a.childNodes.length===1&&(a=n);if(n){o=p.map(Et(a,"script"),Tt),s=o.length;for(;f<l;f++)r=a,f!==d&&(r=p.clone(r,!0,!0),s&&p.merge(o,Et(r,"script"))),t.call(this[f],r,f);if(s){u=o[o.length-1].ownerDocument,p.map(o,Nt);for(f=0;f<s;f++)r=o[f],vt.test(r.type||"")&&!p._data(r,"globalEval")&&p.contains(u,r)&&(r.src?p._evalUrl&&p._evalUrl(r.src):p.globalEval((r.text||r.textContent||r.innerHTML||"").replace(gt,"")))}a=n=null}}return this}}),p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){p.fn[e]=function(e){var n,r=0,i=[],o=p(e),u=o.length-1;for(;r<=u;r++)n=r===u?this:this.clone(!0),p(o[r])[t](n),s.apply(i,n.get());return this.pushStack(i)}});var At,Ot={};(function(){var e,t,n=N.createElement("div"),r="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],e.style.cssText="float:left;opacity:.5",c.opacity=/^0.5/.test(e.style.opacity),c.cssFloat=!!e.style.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",c.clearCloneStyle=n.style.backgroundClip==="content-box",e=n=null,c.shrinkWrapBlocks=function(){var e,n,i,s;if(t==null){e=N.getElementsByTagName("body")[0];if(!e)return;s="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",n=N.createElement("div"),i=N.createElement("div"),e.appendChild(n).appendChild(i),t=!1,typeof i.style.zoom!==j&&(i.style.cssText=r+";width:1px;padding:1px;zoom:1",i.innerHTML="<div></div>",i.firstChild.style.width="5px",t=i.offsetWidth!==3),e.removeChild(n),e=n=i=null}return t}})();var Dt=/^margin/,Pt=new RegExp("^("+X+")(?!px)[a-z%]+$","i"),Ht,Bt,jt=/^(top|right|bottom|left)$/;e.getComputedStyle?(Ht=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},Bt=function(e,t,n){var r,i,s,o,u=e.style;return n=n||Ht(e),o=n?n.getPropertyValue(t)||n[t]:undefined,n&&(o===""&&!p.contains(e.ownerDocument,e)&&(o=p.style(e,t)),Pt.test(o)&&Dt.test(t)&&(r=u.width,i=u.minWidth,s=u.maxWidth,u.minWidth=u.maxWidth=u.width=o,o=n.width,u.width=r,u.minWidth=i,u.maxWidth=s)),o===undefined?o:o+""}):N.documentElement.currentStyle&&(Ht=function(e){return e.currentStyle},Bt=function(e,t,n){var r,i,s,o,u=e.style;return n=n||Ht(e),o=n?n[t]:undefined,o==null&&u&&u[t]&&(o=u[t]),Pt.test(o)&&!jt.test(t)&&(r=u.left,i=e.runtimeStyle,s=i&&i.left,s&&(i.left=e.currentStyle.left),u.left=t==="fontSize"?"1em":o,o=u.pixelLeft+"px",u.left=r,s&&(i.left=s)),o===undefined?o:o+""||"auto"}),function(){function l(){var t,n,u=N.getElementsByTagName("body")[0];if(!u)return;t=N.createElement("div"),n=N.createElement("div"),t.style.cssText=a,u.appendChild(t).appendChild(n),n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",p.swap(u,u.style.zoom!=null?{zoom:1}:{},function(){r=n.offsetWidth===4}),i=!0,s=!1,o=!0,e.getComputedStyle&&(s=(e.getComputedStyle(n,null)||{}).top!=="1%",i=(e.getComputedStyle(n,null)||{width:"4px"}).width==="4px"),u.removeChild(t),n=u=null}var t,n,r,i,s,o,u=N.createElement("div"),a="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",f="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";u.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=u.getElementsByTagName("a")[0],t.style.cssText="float:left;opacity:.5",c.opacity=/^0.5/.test(t.style.opacity),c.cssFloat=!!t.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",c.clearCloneStyle=u.style.backgroundClip==="content-box",t=u=null,p.extend(c,{reliableHiddenOffsets:function(){if(n!=null)return n;var e,t,r,i=N.createElement("div"),s=N.getElementsByTagName("body")[0];if(!s)return;return i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=N.createElement("div"),e.style.cssText=a,s.appendChild(e).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=i.getElementsByTagName("td"),t[0].style.cssText="padding:0;margin:0;border:0;display:none",r=t[0].offsetHeight===0,t[0].style.display="",t[1].style.display="none",n=r&&t[0].offsetHeight===0,s.removeChild(e),i=s=null,n},boxSizing:function(){return r==null&&l(),r},boxSizingReliable:function(){return i==null&&l(),i},pixelPosition:function(){return s==null&&l(),s},reliableMarginRight:function(){var t,n,r,i;if(o==null&&e.getComputedStyle){t=N.getElementsByTagName("body")[0];if(!t)return;n=N.createElement("div"),r=N.createElement("div"),n.style.cssText=a,t.appendChild(n).appendChild(r),i=r.appendChild(N.createElement("div")),i.style.cssText=r.style.cssText=f,i.style.marginRight=i.style.width="0",r.style.width="1px",o=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight),t.removeChild(n)}return o}})}(),p.swap=function(e,t,n,r){var i,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];i=n.apply(e,r||[]);for(s in t)e.style[s]=o[s];return i};var It=/alpha\([^)]*\)/i,qt=/opacity\s*=\s*([^)]*)/,Rt=/^(none|table(?!-c[ea]).+)/,Ut=new RegExp("^("+X+")(.*)$","i"),zt=new RegExp("^([+-])=("+X+")","i"),Wt={position:"absolute",visibility:"hidden",display:"block"},Xt={letterSpacing:0,fontWeight:400},Vt=["Webkit","O","Moz","ms"];p.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Bt(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":c.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var i,s,o,u=p.camelCase(t),a=e.style;t=p.cssProps[u]||(p.cssProps[u]=$t(a,u)),o=p.cssHooks[t]||p.cssHooks[u];if(n===undefined)return o&&"get"in o&&(i=o.get(e,!1,r))!==undefined?i:a[t];s=typeof n,s==="string"&&(i=zt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(p.css(e,t)),s="number");if(n==null||n!==n)return;s==="number"&&!p.cssNumber[u]&&(n+="px"),!c.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(a[t]="inherit");if(!o||!("set"in o)||(n=o.set(e,n,r))!==undefined)try{a[t]="",a[t]=n}catch(f){}},css:function(e,t,n,r){var i,s,o,u=p.camelCase(t);return t=p.cssProps[u]||(p.cssProps[u]=$t(e.style,u)),o=p.cssHooks[t]||p.cssHooks[u],o&&"get"in o&&(s=o.get(e,!0,n)),s===undefined&&(s=Bt(e,t,r)),s==="normal"&&t in Xt&&(s=Xt[t]),n===""||n?(i=parseFloat(s),n===!0||p.isNumeric(i)?i||0:s):s}}),p.each(["height","width"],function(e,t){p.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&Rt.test(p.css(e,"display"))?p.swap(e,Wt,function(){return Gt(e,t,r)}):Gt(e,t,r)},set:function(e,n,r){var i=r&&Ht(e);return Kt(e,n,r?Qt(e,t,r,c.boxSizing()&&p.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),c.opacity||(p.cssHooks.opacity={get:function(e,t){return qt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=p.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&p.trim(s.replace(It,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=It.test(s)?s.replace(It,i):s+" "+i}}),p.cssHooks.marginRight=Ft(c.reliableMarginRight,function(e,t){if(t)return p.swap(e,{display:"inline-block"},Bt,[e,"marginRight"])}),p.each({margin:"",padding:"",border:"Width"},function(e,t){p.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+V[r]+t]=s[r]||s[r-2]||s[0];return i}},Dt.test(e)||(p.cssHooks[e+t].set=Kt)}),p.fn.extend({css:function(e,t){return J(this,function(e,t,n){var r,i,s={},o=0;if(p.isArray(t)){r=Ht(e),i=t.length;for(;o<i;o++)s[t[o]]=p.css(e,t[o],!1,r);return s}return n!==undefined?p.style(e,t,n):p.css(e,t)},e,t,arguments.length>1)},show:function(){return Jt(this,!0)},hide:function(){return Jt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){$(this)?p(this).show():p(this).hide()})}}),p.Tween=Yt,Yt.prototype={constructor:Yt,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(p.cssNumber[n]?"":"px")},cur:function(){var e=Yt.propHooks[this.prop];return e&&e.get?e.get(this):Yt.propHooks._default.get(this)},run:function(e){var t,n=Yt.propHooks[this.prop];return this.options.duration?this.pos=t=p.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yt.propHooks._default.set(this),this}},Yt.prototype.init.prototype=Yt.prototype,Yt.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=p.css(e.elem,e.prop,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){p.fx.step[e.prop]?p.fx.step[e.prop](e):e.elem.style&&(e.elem.style[p.cssProps[e.prop]]!=null||p.cssHooks[e.prop])?p.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Yt.propHooks.scrollTop=Yt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},p.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},p.fx=Yt.prototype.init,p.fx.step={};var Zt,en,tn=/^(?:toggle|show|hide)$/,nn=new RegExp("^(?:([+-])=|)("+X+")([a-z%]*)$","i"),rn=/queueHooks$/,sn=[ln],on={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=nn.exec(t),s=i&&i[3]||(p.cssNumber[e]?"":"px"),o=(p.cssNumber[e]||s!=="px"&&+r)&&nn.exec(p.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,p.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};p.Animation=p.extend(hn,{tweener:function(e,t){p.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],on[n]=on[n]||[],on[n].unshift(t)},prefilter:function(e,t){t?sn.unshift(e):sn.push(e)}}),p.speed=function(e,t,n){var r=e&&typeof e=="object"?p.extend({},e):{complete:n||!n&&t||p.isFunction(e)&&e,duration:e,easing:n&&t||t&&!p.isFunction(t)&&t};r.duration=p.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in p.fx.speeds?p.fx.speeds[r.duration]:p.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){p.isFunction(r.old)&&r.old.call(this),r.queue&&p.dequeue(this,r.queue)},r},p.fn.extend({fadeTo:function(e,t,n,r){return this.filter($).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=p.isEmptyObject(e),s=p.speed(t,n,r),o=function(){var t=hn(this,p.extend({},e),s);(i||p._data(this,"finish"))&&t.stop(!0)};return o.finish=o,i||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return typeof e!="string"&&(n=t,t=e,e=undefined),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=e!=null&&e+"queueHooks",s=p.timers,o=p._data(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&rn.test(i)&&r(o[i]);for(i=s.length;i--;)s[i].elem===this&&(e==null||s[i].queue===e)&&(s[i].anim.stop(n),t=!1,s.splice(i,1));(t||!n)&&p.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=p._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],s=p.timers,o=r?r.length:0;n.finish=!0,p.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0);for(t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),p.each(["toggle","show","hide"],function(e,t){var n=p.fn[t];p.fn[t]=function(e,r,i){return e==null||typeof e=="boolean"?n.apply(this,arguments):this.animate(an(t,!0),e,r,i)}}),p.each({slideDown:an("show"),slideUp:an("hide"),slideToggle:an("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){p.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),p.timers=[],p.fx.tick=function(){var e,t=p.timers,n=0;Zt=p.now();for(;n<t.length;n++)e=t[n],!e()&&t[n]===e&&t.splice(n--,1);t.length||p.fx.stop(),Zt=undefined},p.fx.timer=function(e){p.timers.push(e),e()?p.fx.start():p.timers.pop()},p.fx.interval=13,p.fx.start=function(){en||(en=setInterval(p.fx.tick,p.fx.interval))},p.fx.stop=function(){clearInterval(en),en=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fn.delay=function(e,t){return e=p.fx?p.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e,t,n,r,i=N.createElement("div");i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],n=N.createElement("select"),r=n.appendChild(N.createElement("option")),t=i.getElementsByTagName("input")[0],e.style.cssText="top:1px",c.getSetAttribute=i.className!=="t",c.style=/top/.test(e.getAttribute("style")),c.hrefNormalized=e.getAttribute("href")==="/a",c.checkOn=!!t.value,c.optSelected=r.selected,c.enctype=!!N.createElement("form").enctype,n.disabled=!0,c.optDisabled=!r.disabled,t=N.createElement("input"),t.setAttribute("value",""),c.input=t.getAttribute("value")==="",t.value="t",t.setAttribute("type","radio"),c.radioValue=t.value==="t",e=t=n=r=i=null}();var pn=/\r/g;p.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i)return t=p.valHooks[i.type]||p.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,typeof n=="string"?n.replace(pn,""):n==null?"":n);return}return r=p.isFunction(e),this.each(function(n){var i;if(this.nodeType!==1)return;r?i=e.call(this,n,p(this).val()):i=e,i==null?i="":typeof i=="number"?i+="":p.isArray(i)&&(i=p.map(i,function(e){return e==null?"":e+""})),t=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined)this.value=i})}}),p.extend({valHooks:{option:{get:function(e){var t=p.find.attr(e,"value");return t!=null?t:p.text(e)}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(c.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!p.nodeName(n.parentNode,"optgroup"))){t=p(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n,r,i=e.options,s=p.makeArray(t),o=i.length;while(o--){r=i[o];if(p.inArray(p.valHooks.option.get(r),s)>=0)try{r.selected=n=!0}catch(u){r.scrollHeight}else r.selected=!1}return n||(e.selectedIndex=-1),i}}}}),p.each(["radio","checkbox"],function(){p.valHooks[this]={set:function(e,t){if(p.isArray(t))return e.checked=p.inArray(p(e).val(),t)>=0}},c.checkOn||(p.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var dn,vn,mn=p.expr.attrHandle,gn=/^(?:checked|selected)$/i,yn=c.getSetAttribute,bn=c.input;p.fn.extend({attr:function(e,t){return J(this,p.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){p.removeAttr(this,e)})}}),p.extend({attr:function(e,t,n){var r,i,s=e.nodeType;if(!e||s===3||s===8||s===2)return;if(typeof e.getAttribute===j)return p.prop(e,t,n);if(s!==1||!p.isXMLDoc(e))t=t.toLowerCase(),r=p.attrHooks[t]||(p.expr.match.bool.test(t)?vn:dn);if(n===undefined)return r&&"get"in r&&(i=r.get(e,t))!==null?i:(i=p.find.attr(e,t),i==null?undefined:i);if(n!==null)return r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n);p.removeAttr(e,t)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(M);if(s&&e.nodeType===1)while(n=s[i++])r=p.propFix[n]||n,p.expr.match.bool.test(n)?bn&&yn||!gn.test(n)?e[r]=!1:e[p.camelCase("default-"+n)]=e[r]=!1:p.attr(e,n,""),e.removeAttribute(yn?n:r)},attrHooks:{type:{set:function(e,t){if(!c.radioValue&&t==="radio"&&p.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),vn={set:function(e,t,n){return t===!1?p.removeAttr(e,n):bn&&yn||!gn.test(n)?e.setAttribute(!yn&&p.propFix[n]||n,n):e[p.camelCase("default-"+n)]=e[n]=!0,n}},p.each(p.expr.match.bool.source.match(/\w+/g),function(e,t){var n=mn[t]||p.find.attr;mn[t]=bn&&yn||!gn.test(t)?function(e,t,r){var i,s;return r||(s=mn[t],mn[t]=i,i=n(e,t,r)!=null?t.toLowerCase():null,mn[t]=s),i}:function(e,t,n){if(!n)return e[p.camelCase("default-"+t)]?t.toLowerCase():null}});if(!bn||!yn)p.attrHooks.value={set:function(e,t,n){if(!p.nodeName(e,"input"))return dn&&dn.set(e,t,n);e.defaultValue=t}};yn||(dn={set:function(e,t,n){var r=e.getAttributeNode(n);r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="";if(n==="value"||t===e.getAttribute(n))return t}},mn.id=mn.name=mn.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&r.value!==""?r.value:null},p.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:dn.set},p.attrHooks.contenteditable={set:function(e,t,n){dn.set(e,t===""?!1:t,n)}},p.each(["width","height"],function(e,t){p.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),c.style||(p.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var wn=/^(?:input|select|textarea|button|object)$/i,En=/^(?:a|area)$/i;p.fn.extend({prop:function(e,t){return J(this,p.prop,e,t,arguments.length>1)},removeProp:function(e){return e=p.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(t){}})}}),p.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,s,o=e.nodeType;if(!e||o===3||o===8||o===2)return;return s=o!==1||!p.isXMLDoc(e),s&&(t=p.propFix[t]||t,i=p.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&(r=i.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=p.find.attr(e,"tabindex");return t?parseInt(t,10):wn.test(e.nodeName)||En.test(e.nodeName)&&e.href?0:-1}}}}),c.hrefNormalized||p.each(["href","src"],function(e,t){p.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),c.optSelected||(p.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),p.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){p.propFix[this.toLowerCase()]=this}),c.enctype||(p.propFix.enctype="encoding");var Sn=/[\t\r\n\f]/g;p.fn.extend({addClass:function(e){var t,n,r,i,s,o,u=0,a=this.length,f=typeof e=="string"&&e;if(p.isFunction(e))return this.each(function(t){p(this).addClass(e.call(this,t,this.className))});if(f){t=(e||"").match(M)||[];for(;u<a;u++){n=this[u],r=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(Sn," "):" ");if(r){s=0;while(i=t[s++])r.indexOf(" "+i+" ")<0&&(r+=i+" ");o=p.trim(r),n.className!==o&&(n.className=o)}}}return this},removeClass:function(e){var t,n,r,i,s,o,u=0,a=this.length,f=arguments.length===0||typeof e=="string"&&e;if(p.isFunction(e))return this.each(function(t){p(this).removeClass(e.call(this,t,this.className))});if(f){t=(e||"").match(M)||[];for(;u<a;u++){n=this[u],r=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(Sn," "):"");if(r){s=0;while(i=t[s++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");o=e?p.trim(r):"",n.className!==o&&(n.className=o)}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):p.isFunction(e)?this.each(function(n){p(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,i=p(this),s=e.match(M)||[];while(t=s[r++])i.hasClass(t)?i.removeClass(t):i.addClass(t)}else if(n===j||n==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||e===!1?"":p._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(Sn," ").indexOf(t)>=0)return!0;return!1}}),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){p.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),p.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var xn=p.now(),Tn=/\?/,Nn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;p.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=p.trim(t+"");return i&&!p.trim(i.replace(Nn,function(e,t,i,s){return n&&t&&(r=0),r===0?e:(n=i||t,r+=!s-!i,"")}))?Function("return "+i)():p.error("Invalid JSON: "+t)},p.parseXML=function(t){var n,r;if(!t||typeof t!="string")return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=undefined}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+t),n};var Cn,kn,Ln=/#.*$/,An=/([?&])_=[^&]*/,On=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Mn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,_n=/^(?:GET|HEAD)$/,Dn=/^\/\//,Pn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hn={},Bn={},jn="*/".concat("*");try{kn=location.href}catch(Fn){kn=N.createElement("a"),kn.href="",kn=kn.href}Cn=Pn.exec(kn.toLowerCase())||[],p.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kn,type:"GET",isLocal:Mn.test(Cn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Rn(Rn(e,p.ajaxSettings),t):Rn(p.ajaxSettings,e)},ajaxPrefilter:In(Hn),ajaxTransport:In(Bn),ajax:function(e,t){function x(e,t,n,r){var f,g,y,w,S,x=t;if(b===2)return;b=2,o&&clearTimeout(o),a=undefined,s=r||"",E.readyState=e>0?4:0,f=e>=200&&e<300||e===304,n&&(w=Un(l,E,n)),w=zn(l,w,E,f);if(f)l.ifModified&&(S=E.getResponseHeader("Last-Modified"),S&&(p.lastModified[i]=S),S=E.getResponseHeader("etag"),S&&(p.etag[i]=S)),e===204||l.type==="HEAD"?x="nocontent":e===304?x="notmodified":(x=w.state,g=w.data,y=w.error,f=!y);else{y=x;if(e||!x)x="error",e<0&&(e=0)}E.status=e,E.statusText=(t||x)+"",f?d.resolveWith(c,[g,x,E]):d.rejectWith(c,[E,x,y]),E.statusCode(m),m=undefined,u&&h.trigger(f?"ajaxSuccess":"ajaxError",[E,l,f?g:y]),v.fireWith(c,[E,x]),u&&(h.trigger("ajaxComplete",[E,l]),--p.active||p.event.trigger("ajaxStop"))}typeof e=="object"&&(t=e,e=undefined),t=t||{};var n,r,i,s,o,u,a,f,l=p.ajaxSetup({},t),c=l.context||l,h=l.context&&(c.nodeType||c.jquery)?p(c):p.event,d=p.Deferred(),v=p.Callbacks("once memory"),m=l.statusCode||{},g={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!f){f={};while(t=On.exec(s))f[t[1].toLowerCase()]=t[2]}t=f[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return a&&a.abort(t),x(0,t),this}};d.promise(E).complete=v.add,E.success=E.done,E.error=E.fail,l.url=((e||l.url||kn)+"").replace(Ln,"").replace(Dn,Cn[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=p.trim(l.dataType||"*").toLowerCase().match(M)||[""],l.crossDomain==null&&(n=Pn.exec(l.url.toLowerCase()),l.crossDomain=!(!n||n[1]===Cn[1]&&n[2]===Cn[2]&&(n[3]||(n[1]==="http:"?"80":"443"))===(Cn[3]||(Cn[1]==="http:"?"80":"443")))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),qn(Hn,l,t,E);if(b===2)return E;u=l.global,u&&p.active++===0&&p.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!_n.test(l.type),i=l.url,l.hasContent||(l.data&&(i=l.url+=(Tn.test(i)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=An.test(i)?i.replace(An,"$1_="+xn++):i+(Tn.test(i)?"&":"?")+"_="+xn++)),l.ifModified&&(p.lastModified[i]&&E.setRequestHeader("If-Modified-Since",p.lastModified[i]),p.etag[i]&&E.setRequestHeader("If-None-Match",p.etag[i])),(l.data&&l.hasContent&&l.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",l.contentType),E.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+jn+"; q=0.01":""):l.accepts["*"]);for(r in l.headers)E.setRequestHeader(r,l.headers[r]);if(!l.beforeSend||l.beforeSend.call(c,E,l)!==!1&&b!==2){w="abort";for(r in{success:1,error:1,complete:1})E[r](l[r]);a=qn(Bn,l,t,E);if(!a)x(-1,"No Transport");else{E.readyState=1,u&&h.trigger("ajaxSend",[E,l]),l.async&&l.timeout>0&&(o=setTimeout(function(){E.abort("timeout")},l.timeout));try{b=1,a.send(g,x)}catch(S){if(!(b<2))throw S;x(-1,S)}}return E}return E.abort()},getJSON:function(e,t,n){return p.get(e,t,n,"json")},getScript:function(e,t){return p.get(e,undefined,t,"script")}}),p.each(["get","post"],function(e,t){p[t]=function(e,n,r,i){return p.isFunction(n)&&(i=i||r,r=n,n=undefined),p.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),p.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){p.fn[t]=function(e){return this.on(t,e)}}),p._evalUrl=function(e){return p.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},p.fn.extend({wrapAll:function(e){if(p.isFunction(e))return this.each(function(t){p(this).wrapAll(e.call(this,t))});if(this[0]){var t=p(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return p.isFunction(e)?this.each(function(t){p(this).wrapInner(e.call(this,t))}):this.each(function(){var t=p(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=p.isFunction(e);return this.each(function(n){p(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()}}),p.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!c.reliableHiddenOffsets()&&(e.style&&e.style.display||p.css(e,"display"))==="none"},p.expr.filters.visible=function(e){return!p.expr.filters.hidden(e)};var Wn=/%20/g,Xn=/\[\]$/,Vn=/\r?\n/g,$n=/^(?:submit|button|image|reset|file)$/i,Jn=/^(?:input|select|textarea|keygen)/i;p.param=function(e,t){var n,r=[],i=function(e,t){t=p.isFunction(t)?t():t==null?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};t===undefined&&(t=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(e)||e.jquery&&!p.isPlainObject(e))p.each(e,function(){i(this.name,this.value)});else for(n in e)Kn(n,e[n],t,i);return r.join("&").replace(Wn,"+")},p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=p.prop(this,"elements");return e?p.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!p(this).is(":disabled")&&Jn.test(this.nodeName)&&!$n.test(e)&&(this.checked||!K.test(e))}).map(function(e,t){var n=p(this).val();return n==null?null:p.isArray(n)?p.map(n,function(e){return{name:t.name,value:e.replace(Vn,"\r\n")}}):{name:t.name,value:n.replace(Vn,"\r\n")}}).get()}}),p.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zn()||er()}:Zn;var Qn=0,Gn={},Yn=p.ajaxSettings.xhr();e.ActiveXObject&&p(e).on("unload",function(){for(var e in Gn)Gn[e](undefined,!0)}),c.cors=!!Yn&&"withCredentials"in Yn,Yn=c.ajax=!!Yn,Yn&&p.ajaxTransport(function(e){if(!e.crossDomain||c.cors){var t;return{send:function(n,r){var i,s=e.xhr(),o=++Qn;s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(i in n)n[i]!==undefined&&s.setRequestHeader(i,n[i]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var u,a,f;if(t&&(i||s.readyState===4)){delete Gn[o],t=undefined,s.onreadystatechange=p.noop;if(i)s.readyState!==4&&s.abort();else{f={},u=s.status,typeof s.responseText=="string"&&(f.text=s.responseText);try{a=s.statusText}catch(l){a=""}!u&&e.isLocal&&!e.crossDomain?u=f.text?200:404:u===1223&&(u=204)}}f&&r(u,a,f,s.getAllResponseHeaders())},e.async?s.readyState===4?setTimeout(t):s.onreadystatechange=Gn[o]=t:t()},abort:function(){t&&t(undefined,!0)}}}}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return p.globalEval(e),e}}}),p.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),p.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=N.head||p("head")[0]||N.documentElement;return{send:function(r,i){t=N.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){if(n||!t.readyState||/loaded|complete/.test(t.readyState))t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success")},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(undefined,!0)}}}});var tr=[],nr=/(=)\?(?=&|$)|\?\?/;p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||p.expando+"_"+xn++;return this[e]=!0,e}}),p.ajaxPrefilter("json jsonp",function(t,n,r){var i,s,o,u=t.jsonp!==!1&&(nr.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nr.test(t.data)&&"data");if(u||t.dataTypes[0]==="jsonp")return i=t.jsonpCallback=p.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(nr,"$1"+i):t.jsonp!==!1&&(t.url+=(Tn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||p.error(i+" was not called"),o[0]},t.dataTypes[0]="json",s=e[i],e[i]=function(){o=arguments},r.always(function(){e[i]=s,t[i]&&(t.jsonpCallback=n.jsonpCallback,tr.push(i)),o&&p.isFunction(s)&&s(o[0]),o=s=undefined}),"script"}),p.parseHTML=function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||N;var r=E.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=p.buildFragment([e],t,i),i&&i.length&&p(i).remove(),p.merge([],r.childNodes))};var rr=p.fn.load;p.fn.load=function(e,t,n){if(typeof e!="string"&&rr)return rr.apply(this,arguments);var r,i,s,o=this,u=e.indexOf(" ");return u>=0&&(r=e.slice(u,e.length),e=e.slice(0,u)),p.isFunction(t)?(n=t,t=undefined):t&&typeof t=="object"&&(s="POST"),o.length>0&&p.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){i=arguments,o.html(r?p("<div>").append(p.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,i||[e.responseText,t,e])}),this},p.expr.filters.animated=function(e){return p.grep(p.timers,function(t){return e===t.elem}).length};var ir=e.document.documentElement;p.offset={setOffset:function(e,t,n){var r,i,s,o,u,a,f,l=p.css(e,"position"),c=p(e),h={};l==="static"&&(e.style.position="relative"),u=c.offset(),s=p.css(e,"top"),a=p.css(e,"left"),f=(l==="absolute"||l==="fixed")&&p.inArray("auto",[s,a])>-1,f?(r=c.position(),o=r.top,i=r.left):(o=parseFloat(s)||0,i=parseFloat(a)||0),p.isFunction(t)&&(t=t.call(e,n,u)),t.top!=null&&(h.top=t.top-u.top+o),t.left!=null&&(h.left=t.left-u.left+i),"using"in t?t.using.call(e,h):c.css(h)}},p.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){p.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],s=i&&i.ownerDocument;if(!s)return;return t=s.documentElement,p.contains(t,i)?(typeof i.getBoundingClientRect!==j&&(r=i.getBoundingClientRect()),n=sr(s),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return p.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),p.nodeName(e[0],"html")||(n=e.offset()),n.top+=p.css(e[0],"borderTopWidth",!0),n.left+=p.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-p.css(r,"marginTop",!0),left:t.left-n.left-p.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ir;while(e&&!p.nodeName(e,"html")&&p.css(e,"position")==="static")e=e.offsetParent;return e||ir})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);p.fn[e]=function(r){return J(this,function(e,r,i){var s=sr(e);if(i===undefined)return s?t in s?s[t]:s.document.documentElement[r]:e[r];s?s.scrollTo(n?p(s).scrollLeft():i,n?i:p(s).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),p.each(["top","left"],function(e,t){p.cssHooks[t]=Ft(c.pixelPosition,function(e,n){if(n)return n=Bt(e,t),Pt.test(n)?p(e).position()[t]+"px":n})}),p.each({Height:"height",Width:"width"},function(e,t){p.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){p.fn[r]=function(r,i){var s=arguments.length&&(n||typeof r!="boolean"),o=n||(r===!0||i===!0?"margin":"border");return J(this,function(t,n,r){var i;return p.isWindow(t)?t.document.documentElement["client"+e]:t.nodeType===9?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===undefined?p.css(t,n,o):p.style(t,n,r,o)},t,s?r:undefined,s,null)}})}),p.fn.size=function(){return this.length},p.fn.andSelf=p.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return p});var or=e.jQuery,ur=e.$;return p.noConflict=function(t){return e.$===p&&(e.$=ur),t&&e.jQuery===p&&(e.jQuery=or),p},typeof t===j&&(e.jQuery=e.$=p),p}),define("jquery-private",["jquery"],function(e){return e.noConflict(!0)}),function(){function x(e){function t(t,n,r,i,s,o){for(;s>=0&&s<o;s+=e){var u=i?i[s]:s;r=n(r,t[u],u,t)}return r}return function(n,r,i,s){r=v(r,s,4);var o=!S(n)&&d.keys(n),u=(o||n).length,a=e>0?0:u-1;return arguments.length<3&&(i=n[o?o[a]:a],a+=e),t(n,r,i,o,a,u)}}function C(e){return function(t,n,r){n=m(n,r);var i=E(t),s=e>0?0:i-1;for(;s>=0&&s<i;s+=e)if(n(t[s],s,t))return s;return-1}}function k(e,t,n){return function(r,i,s){var u=0,a=E(r);if(typeof s=="number")e>0?u=s>=0?s:Math.max(s+a,u):a=s>=0?Math.min(s+1,a):s+a+1;else if(n&&s&&a)return s=n(r,i),r[s]===i?s:-1;if(i!==i)return s=t(o.call(r,u,a),d.isNaN),s>=0?s+u:-1;for(s=e>0?u:a-1;s>=0&&s<a;s+=e)if(r[s]===i)return s;return-1}}function M(e,t){var n=O.length,i=e.constructor,s=d.isFunction(i)&&i.prototype||r,o="constructor";d.has(e,o)&&!d.contains(t,o)&&t.push(o);while(n--)o=O[n],o in e&&e[o]!==s[o]&&!d.contains(t,o)&&t.push(o)}var e=this,t=e._,n=Array.prototype,r=Object.prototype,i=Function.prototype,s=n.push,o=n.slice,u=r.toString,a=r.hasOwnProperty,f=Array.isArray,l=Object.keys,c=i.bind,h=Object.create,p=function(){},d=function(e){if(e instanceof d)return e;if(!(this instanceof d))return new d(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=d),exports._=d):e._=d,d.VERSION="1.8.3";var v=function(e,t,n){if(t===void 0)return e;switch(n==null?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,s){return e.call(t,n,r,i,s)}}return function(){return e.apply(t,arguments)}},m=function(e,t,n){return e==null?d.identity:d.isFunction(e)?v(e,t,n):d.isObject(e)?d.matcher(e):d.property(e)};d.iteratee=function(e,t){return m(e,t,Infinity)};var g=function(e,t){return function(n){var r=arguments.length;if(r<2||n==null)return n;for(var i=1;i<r;i++){var s=arguments[i],o=e(s),u=o.length;for(var a=0;a<u;a++){var f=o[a];if(!t||n[f]===void 0)n[f]=s[f]}}return n}},y=function(e){if(!d.isObject(e))return{};if(h)return h(e);p.prototype=e;var t=new p;return p.prototype=null,t},b=function(e){return function(t){return t==null?void 0:t[e]}},w=Math.pow(2,53)-1,E=b("length"),S=function(e){var t=E(e);return typeof t=="number"&&t>=0&&t<=w};d.each=d.forEach=function(e,t,n){t=v(t,n);var r,i;if(S(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var s=d.keys(e);for(r=0,i=s.length;r<i;r++)t(e[s[r]],s[r],e)}return e},d.map=d.collect=function(e,t,n){t=m(t,n);var r=!S(e)&&d.keys(e),i=(r||e).length,s=Array(i);for(var o=0;o<i;o++){var u=r?r[o]:o;s[o]=t(e[u],u,e)}return s},d.reduce=d.foldl=d.inject=x(1),d.reduceRight=d.foldr=x(-1),d.find=d.detect=function(e,t,n){var r;S(e)?r=d.findIndex(e,t,n):r=d.findKey(e,t,n);if(r!==void 0&&r!==-1)return e[r]},d.filter=d.select=function(e,t,n){var r=[];return t=m(t,n),d.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},d.reject=function(e,t,n){return d.filter(e,d.negate(m(t)),n)},d.every=d.all=function(e,t,n){t=m(t,n);var r=!S(e)&&d.keys(e),i=(r||e).length;for(var s=0;s<i;s++){var o=r?r[s]:s;if(!t(e[o],o,e))return!1}return!0},d.some=d.any=function(e,t,n){t=m(t,n);var r=!S(e)&&d.keys(e),i=(r||e).length;for(var s=0;s<i;s++){var o=r?r[s]:s;if(t(e[o],o,e))return!0}return!1},d.contains=d.includes=d.include=function(e,t,n,r){S(e)||(e=d.values(e));if(typeof n!="number"||r)n=0;return d.indexOf(e,t,n)>=0},d.invoke=function(e,t){var n=o.call(arguments,2),r=d.isFunction(t);return d.map(e,function(e){var i=r?t:e[t];return i==null?i:i.apply(e,n)})},d.pluck=function(e,t){return d.map(e,d.property(t))},d.where=function(e,t){return d.filter(e,d.matcher(t))},d.findWhere=function(e,t){return d.find(e,d.matcher(t))},d.max=function(e,t,n){var r=-Infinity,i=-Infinity,s,o;if(t==null&&e!=null){e=S(e)?e:d.values(e);for(var u=0,a=e.length;u<a;u++)s=e[u],s>r&&(r=s)}else t=m(t,n),d.each(e,function(e,n,s){o=t(e,n,s);if(o>i||o===-Infinity&&r===-Infinity)r=e,i=o});return r},d.min=function(e,t,n){var r=Infinity,i=Infinity,s,o;if(t==null&&e!=null){e=S(e)?e:d.values(e);for(var u=0,a=e.length;u<a;u++)s=e[u],s<r&&(r=s)}else t=m(t,n),d.each(e,function(e,n,s){o=t(e,n,s);if(o<i||o===Infinity&&r===Infinity)r=e,i=o});return r},d.shuffle=function(e){var t=S(e)?e:d.values(e),n=t.length,r=Array(n);for(var i=0,s;i<n;i++)s=d.random(0,i),s!==i&&(r[i]=r[s]),r[s]=t[i];return r},d.sample=function(e,t,n){return t==null||n?(S(e)||(e=d.values(e)),e[d.random(e.length-1)]):d.shuffle(e).slice(0,Math.max(0,t))},d.sortBy=function(e,t,n){return t=m(t,n),d.pluck(d.map(e,function(e,n,r){return{value:e,index:n,criteria:t(e,n,r)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||n===void 0)return 1;if(n<r||r===void 0)return-1}return e.index-t.index}),"value")};var T=function(e){return function(t,n,r){var i={};return n=m(n,r),d.each(t,function(r,s){var o=n(r,s,t);e(i,r,o)}),i}};d.groupBy=T(function(e,t,n){d.has(e,n)?e[n].push(t):e[n]=[t]}),d.indexBy=T(function(e,t,n){e[n]=t}),d.countBy=T(function(e,t,n){d.has(e,n)?e[n]++:e[n]=1}),d.toArray=function(e){return e?d.isArray(e)?o.call(e):S(e)?d.map(e,d.identity):d.values(e):[]},d.size=function(e){return e==null?0:S(e)?e.length:d.keys(e).length},d.partition=function(e,t,n){t=m(t,n);var r=[],i=[];return d.each(e,function(e,n,s){(t(e,n,s)?r:i).push(e)}),[r,i]},d.first=d.head=d.take=function(e,t,n){return e==null?void 0:t==null||n?e[0]:d.initial(e,e.length-t)},d.initial=function(e,t,n){return o.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))},d.last=function(e,t,n){return e==null?void 0:t==null||n?e[e.length-1]:d.rest(e,Math.max(0,e.length-t))},d.rest=d.tail=d.drop=function(e,t,n){return o.call(e,t==null||n?1:t)},d.compact=function(e){return d.filter(e,d.identity)};var N=function(e,t,n,r){var i=[],s=0;for(var o=r||0,u=E(e);o<u;o++){var a=e[o];if(S(a)&&(d.isArray(a)||d.isArguments(a))){t||(a=N(a,t,n));var f=0,l=a.length;i.length+=l;while(f<l)i[s++]=a[f++]}else n||(i[s++]=a)}return i};d.flatten=function(e,t){return N(e,t,!1)},d.without=function(e){return d.difference(e,o.call(arguments,1))},d.uniq=d.unique=function(e,t,n,r){d.isBoolean(t)||(r=n,n=t,t=!1),n!=null&&(n=m(n,r));var i=[],s=[];for(var o=0,u=E(e);o<u;o++){var a=e[o],f=n?n(a,o,e):a;t?((!o||s!==f)&&i.push(a),s=f):n?d.contains(s,f)||(s.push(f),i.push(a)):d.contains(i,a)||i.push(a)}return i},d.union=function(){return d.uniq(N(arguments,!0,!0))},d.intersection=function(e){var t=[],n=arguments.length;for(var r=0,i=E(e);r<i;r++){var s=e[r];if(d.contains(t,s))continue;for(var o=1;o<n;o++)if(!d.contains(arguments[o],s))break;o===n&&t.push(s)}return t},d.difference=function(e){var t=N(arguments,!0,!0,1);return d.filter(e,function(e){return!d.contains(t,e)})},d.zip=function(){return d.unzip(arguments)},d.unzip=function(e){var t=e&&d.max(e,E).length||0,n=Array(t);for(var r=0;r<t;r++)n[r]=d.pluck(e,r);return n},d.object=function(e,t){var n={};for(var r=0,i=E(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},d.findIndex=C(1),d.findLastIndex=C(-1),d.sortedIndex=function(e,t,n,r){n=m(n,r,1);var i=n(t),s=0,o=E(e);while(s<o){var u=Math.floor((s+o)/2);n(e[u])<i?s=u+1:o=u}return s},d.indexOf=k(1,d.findIndex,d.sortedIndex),d.lastIndexOf=k(-1,d.findLastIndex),d.range=function(e,t,n){t==null&&(t=e||0,e=0),n=n||1;var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r);for(var s=0;s<r;s++,e+=n)i[s]=e;return i};var L=function(e,t,n,r,i){if(r instanceof t){var s=y(e.prototype),o=e.apply(s,i);return d.isObject(o)?o:s}return e.apply(n,i)};d.bind=function(e,t){if(c&&e.bind===c)return c.apply(e,o.call(arguments,1));if(!d.isFunction(e))throw new TypeError("Bind must be called on a function");var n=o.call(arguments,2),r=function(){return L(e,r,t,this,n.concat(o.call(arguments)))};return r},d.partial=function(e){var t=o.call(arguments,1),n=function(){var r=0,i=t.length,s=Array(i);for(var o=0;o<i;o++)s[o]=t[o]===d?arguments[r++]:t[o];while(r<arguments.length)s.push(arguments[r++]);return L(e,n,this,this,s)};return n},d.bindAll=function(e){var t,n=arguments.length,r;if(n<=1)throw new Error("bindAll must be passed function names");for(t=1;t<n;t++)r=arguments[t],e[r]=d.bind(e[r],e);return e},d.memoize=function(e,t){var n=function(r){var i=n.cache,s=""+(t?t.apply(this,arguments):r);return d.has(i,s)||(i[s]=e.apply(this,arguments)),i[s]};return n.cache={},n},d.delay=function(e,t){var n=o.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},d.defer=d.partial(d.delay,d,1),d.throttle=function(e,t,n){var r,i,s,o=null,u=0;n||(n={});var a=function(){u=n.leading===!1?0:d.now(),o=null,s=e.apply(r,i),o||(r=i=null)};return function(){var f=d.now();!u&&n.leading===!1&&(u=f);var l=t-(f-u);return r=this,i=arguments,l<=0||l>t?(o&&(clearTimeout(o),o=null),u=f,s=e.apply(r,i),o||(r=i=null)):!o&&n.trailing!==!1&&(o=setTimeout(a,l)),s}},d.debounce=function(e,t,n){var r,i,s,o,u,a=function(){var f=d.now()-o;f<t&&f>=0?r=setTimeout(a,t-f):(r=null,n||(u=e.apply(s,i),r||(s=i=null)))};return function(){s=this,i=arguments,o=d.now();var f=n&&!r;return r||(r=setTimeout(a,t)),f&&(u=e.apply(s,i),s=i=null),u}},d.wrap=function(e,t){return d.partial(t,e)},d.negate=function(e){return function(){return!e.apply(this,arguments)}},d.compose=function(){var e=arguments,t=e.length-1;return function(){var n=t,r=e[t].apply(this,arguments);while(n--)r=e[n].call(this,r);return r}},d.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},d.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},d.once=d.partial(d.before,2);var A=!{toString:null}.propertyIsEnumerable("toString"),O=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];d.keys=function(e){if(!d.isObject(e))return[];if(l)return l(e);var t=[];for(var n in e)d.has(e,n)&&t.push(n);return A&&M(e,t),t},d.allKeys=function(e){if(!d.isObject(e))return[];var t=[];for(var n in e)t.push(n);return A&&M(e,t),t},d.values=function(e){var t=d.keys(e),n=t.length,r=Array(n);for(var i=0;i<n;i++)r[i]=e[t[i]];return r},d.mapObject=function(e,t,n){t=m(t,n);var r=d.keys(e),i=r.length,s={},o;for(var u=0;u<i;u++)o=r[u],s[o]=t(e[o],o,e);return s},d.pairs=function(e){var t=d.keys(e),n=t.length,r=Array(n);for(var i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},d.invert=function(e){var t={},n=d.keys(e);for(var r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},d.functions=d.methods=function(e){var t=[];for(var n in e)d.isFunction(e[n])&&t.push(n);return t.sort()},d.extend=g(d.allKeys),d.extendOwn=d.assign=g(d.keys),d.findKey=function(e,t,n){t=m(t,n);var r=d.keys(e),i;for(var s=0,o=r.length;s<o;s++){i=r[s];if(t(e[i],i,e))return i}},d.pick=function(e,t,n){var r={},i=e,s,o;if(i==null)return r;d.isFunction(t)?(o=d.allKeys(i),s=v(t,n)):(o=N(arguments,!1,!1,1),s=function(e,t,n){return t in n},i=Object(i));for(var u=0,a=o.length;u<a;u++){var f=o[u],l=i[f];s(l,f,i)&&(r[f]=l)}return r},d.omit=function(e,t,n){if(d.isFunction(t))t=d.negate(t);else{var r=d.map(N(arguments,!1,!1,1),String);t=function(e,t){return!d.contains(r,t)}}return d.pick(e,t,n)},d.defaults=g(d.allKeys,!0),d.create=function(e,t){var n=y(e);return t&&d.extendOwn(n,t),n},d.clone=function(e){return d.isObject(e)?d.isArray(e)?e.slice():d.extend({},e):e},d.tap=function(e,t){return t(e),e},d.isMatch=function(e,t){var n=d.keys(t),r=n.length;if(e==null)return!r;var i=Object(e);for(var s=0;s<r;s++){var o=n[s];if(t[o]!==i[o]||!(o in i))return!1}return!0};var _=function(e,t,n,r){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return e===t;e instanceof d&&(e=e._wrapped),t instanceof d&&(t=t._wrapped);var i=u.call(e);if(i!==u.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":if(+e!==+e)return+t!==+t;return+e===0?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}var s=i==="[object Array]";if(!s){if(typeof e!="object"||typeof t!="object")return!1;var o=e.constructor,a=t.constructor;if(o!==a&&!(d.isFunction(o)&&o instanceof o&&d.isFunction(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];var f=n.length;while(f--)if(n[f]===e)return r[f]===t;n.push(e),r.push(t);if(s){f=e.length;if(f!==t.length)return!1;while(f--)if(!_(e[f],t[f],n,r))return!1}else{var l=d.keys(e),c;f=l.length;if(d.keys(t).length!==f)return!1;while(f--){c=l[f];if(!d.has(t,c)||!_(e[c],t[c],n,r))return!1}}return n.pop(),r.pop(),!0};d.isEqual=function(e,t){return _(e,t)},d.isEmpty=function(e){return e==null?!0:S(e)&&(d.isArray(e)||d.isString(e)||d.isArguments(e))?e.length===0:d.keys(e).length===0},d.isElement=function(e){return!!e&&e.nodeType===1},d.isArray=f||function(e){return u.call(e)==="[object Array]"},d.isObject=function(e){var t=typeof e;return t==="function"||t==="object"&&!!e},d.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){d["is"+e]=function(t){return u.call(t)==="[object "+e+"]"}}),d.isArguments(arguments)||(d.isArguments=function(e){return d.has(e,"callee")}),typeof /./!="function"&&typeof Int8Array!="object"&&(d.isFunction=function(e){return typeof e=="function"||!1}),d.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},d.isNaN=function(e){return d.isNumber(e)&&e!==+e},d.isBoolean=function(e){return e===!0||e===!1||u.call(e)==="[object Boolean]"},d.isNull=function(e){return e===null},d.isUndefined=function(e){return e===void 0},d.has=function(e,t){return e!=null&&a.call(e,t)},d.noConflict=function(){return e._=t,this},d.identity=function(e){return e},d.constant=function(e){return function(){return e}},d.noop=function(){},d.property=b,d.propertyOf=function(e){return e==null?function(){}:function(t){return e[t]}},d.matcher=d.matches=function(e){return e=d.extendOwn({},e),function(t){return d.isMatch(t,e)}},d.times=function(e,t,n){var r=Array(Math.max(0,e));t=v(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},d.random=function(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},d.now=Date.now||function(){return(new Date).getTime()};var D={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},P=d.invert(D),H=function(e){var t=function(t){return e[t]},n="(?:"+d.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=e==null?"":""+e,r.test(e)?e.replace(i,t):e}};d.escape=H(D),d.unescape=H(P),d.result=function(e,t,n){var r=e==null?void 0:e[t];return r===void 0&&(r=n),d.isFunction(r)?r.call(e):r};var B=0;d.uniqueId=function(e){var t=++B+"";return e?e+t:t},d.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var j=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},I=/\\|'|\r|\n|\u2028|\u2029/g,q=function(e){return"\\"+F[e]};d.template=function(e,t,n){!t&&n&&(t=n),t=d.defaults({},t,d.templateSettings);var r=RegExp([(t.escape||j).source,(t.interpolate||j).source,(t.evaluate||j).source].join("|")+"|$","g"),i=0,s="__p+='";e.replace(r,function(t,n,r,o,u){return s+=e.slice(i,u).replace(I,q),i=u+t.length,n?s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(s+="';\n"+o+"\n__p+='"),t}),s+="';\n",t.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{var o=new Function(t.variable||"obj","_",s)}catch(u){throw u.source=s,u}var a=function(e){return o.call(this,e,d)},f=t.variable||"obj";return a.source="function("+f+"){\n"+s+"}",a},d.chain=function(e){var t=d(e);return t._chain=!0,t};var R=function(e,t){return e._chain?d(t).chain():t};d.mixin=function(e){d.each(d.functions(e),function(t){var n=d[t]=e[t];d.prototype[t]=function(){var e=[this._wrapped];return s.apply(e,arguments),R(this,n.apply(d,e))}})},d.mixin(d),d.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=n[e];d.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e==="shift"||e==="splice")&&n.length===0&&delete n[0],R(this,n)}}),d.each(["concat","join","slice"],function(e){var t=n[e];d.prototype[e]=function(){return R(this,t.apply(this._wrapped,arguments))}}),d.prototype.value=function(){return this._wrapped},d.prototype.valueOf=d.prototype.toJSON=d.prototype.value,d.prototype.toString=function(){return""+this._wrapped},typeof define=="function"&&define.amd&&define("underscore",[],function(){return d})}.call(this),define("text",["module"],function(e){"use strict";var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.14",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.lastIndexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i&&i.isBuild&&!i.inlineText){r();return}d.isBuild=i&&i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i[0]===""&&(i=i.substring(1)),t(i)}catch(s){r&&r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status||0,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r&&r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("tpl",["text","underscore"],function(e,t){"use strict";var n={},r="define('{pluginName}!{moduleName}', function () { return {source}; });\n";return{version:"0.0.2",load:function(r,i,s,o){o.tpl&&o.tpl.templateSettings&&(t.templateSettings=o.tpl.templateSettings);if(n[r])s(n[r]);else{var u=o.tpl&&o.tpl.extension||".html",a=o.tpl&&o.tpl.path||"";e.load(a+r+u,i,function(e){n[r]=t.template(e),s(n[r])},o)}},write:function(e,t,i){var s=n[t],o=s&&s.source;o&&i.asModule(e+"!"+t,r.replace("{pluginName}",e).replace("{moduleName}",t).replace("{source}",o))}}}),define("tpl!action",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="chat-message '+((__t=extra_classes)==null?"":__t)+'">\n <span class="chat-message-'+((__t=sender)==null?"":__t)+'">'+((__t=time)==null?"":__t)+" **"+((__t=username)==null?"":__t)+' </span>\n <span class="chat-message-content">'+((__t=message)==null?"":__t)+"</span>\n</div>\n";return __p}}),define("tpl!add_contact_dropdown",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<dl class="add-converse-contact dropdown">\n <dt id="xmpp-contact-search" class="fancy-dropdown">\n <a class="toggle-xmpp-contact-form" href="#"\n title="'+((__t=label_click_to_chat)==null?"":__t)+'">\n <span class="icon-plus"></span>'+((__t=label_add_contact)==null?"":__t)+'</a>\n </dt>\n <dd class="search-xmpp" style="display:none"><ul></ul></dd>\n</dl>\n';return __p}}),define("tpl!add_contact_form",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li>\n <form class="add-xmpp-contact">\n <input type="text"\n name="identifier"\n class="username"\n placeholder="'+((__t=label_contact_username)==null?"":__t)+'"/>\n <button type="submit">'+((__t=label_add)==null?"":__t)+"</button>\n </form>\n</li>\n";return __p}}),define("tpl!change_status_message",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<form id="set-custom-xmpp-status">\n <span class="input-button-group">\n <input type="text" class="custom-xmpp-status" '+((__t=status_message)==null?"":__t)+'\n placeholder="'+((__t=label_custom_status)==null?"":__t)+'"/>\n <button type="submit">'+((__t=label_save)==null?"":__t)+"</button>\n </span>\n</form>\n";return __p}}),define("tpl!chat_status",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="xmpp-status">\n <a class="choose-xmpp-status '+((__t=chat_status)==null?"":__t)+'"\n data-value="'+((__t=status_message)==null?"":__t)+'"\n href="#" title="'+((__t=desc_change_status)==null?"":__t)+'">\n\n <span class="icon-'+((__t=chat_status)==null?"":__t)+'"></span>'+((__t=status_message)==null?"":__t)+'\n </a>\n <a class="change-xmpp-status-message icon-pencil"\n href="#"\n title="'+((__t=desc_custom_status)==null?"":__t)+'"></a>\n</div>\n';return __p}}),define("tpl!chatarea",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="chat-area">\n <div class="chat-content"></div>\n <form class="sendXMPPMessage" action="" method="post">\n ',show_toolbar&&(__p+='\n <ul class="chat-toolbar no-text-select"></ul>\n '),__p+='\n <textarea type="text" class="chat-textarea" \n placeholder="'+((__t=label_message)==null?"":__t)+'"/>\n </form>\n</div>\n';return __p}}),define("tpl!chatbox",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="box-flyout" style="height: '+((__t=height)==null?"":__t)+'px">\n <div class="dragresize dragresize-tm"></div>\n <div class="chat-head chat-head-chatbox">\n <a class="close-chatbox-button icon-close"></a>\n <a class="toggle-chatbox-button icon-minus"></a>\n <div class="chat-title">\n ',url&&(__p+='\n <a href="'+((__t=url)==null?"":__t)+'" target="_blank" class="user">\n '),__p+="\n "+((__t=fullname)==null?"":__t)+"\n ",url&&(__p+="\n </a>\n "),__p+='\n </div>\n <p class="user-custom-message"><p/>\n </div>\n <div class="chat-body">\n <div class="chat-content"></div>\n <form class="sendXMPPMessage" action="" method="post">\n ',show_toolbar&&(__p+='\n <ul class="chat-toolbar no-text-select"></ul>\n '),__p+='\n <textarea\n type="text"\n class="chat-textarea"\n placeholder="'+((__t=label_personal_message)==null?"":__t)+'"/>\n </form>\n </div>\n</div>\n';return __p}}),define("tpl!chatroom",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="box-flyout" style="height: '+((__t=height)==null?"":__t)+'px"\n ',minimized&&(__p+=' style="display:none" '),__p+='>\n <div class="dragresize dragresize-tm"></div>\n <div class="chat-head chat-head-chatroom">\n <a class="close-chatbox-button icon-close"></a>\n <a class="toggle-chatbox-button icon-minus"></a>\n <a class="configure-chatroom-button icon-wrench" style="display:none"></a>\n <div class="chat-title"> '+((__t=name)==null?"":__t)+' </div>\n <p class="chatroom-topic"><p/>\n </div>\n <div class="chat-body"><span class="spinner centered"/></div>\n</div>\n';return __p}}),define("tpl!chatroom_password_form",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="chatroom-form-container">\n <form class="chatroom-form">\n <legend>'+((__t=heading)==null?"":__t)+"</legend>\n <label>"+((__t=label_password)==null?"":__t)+'</label>\n <input type="password" name="password"/>\n <input type="submit" value="'+((__t=label_submit)==null?"":__t)+'"/>\n </form>\n</div>\n';return __p}}),define("tpl!chatroom_sidebar",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<!-- <div class="participants"> -->\n<form class="room-invite">\n <input class="invited-contact" placeholder="'+((__t=label_invitation)==null?"":__t)+'" type="text"/>\n</form>\n<label>'+((__t=label_occupants)==null?"":__t)+':</label>\n<ul class="participant-list"></ul>\n<!-- </div> -->\n';return __p}}),define("tpl!chatrooms_tab",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li><a class="s" href="#chatrooms">'+((__t=label_rooms)==null?"":__t)+"</a></li>\n";return __p}}),define("tpl!chats_panel",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div id="minimized-chats">\n <a id="toggle-minimized-chats" href="#"></a>\n <div class="minimized-chats-flyout"></div>\n</div>\n';return __p}}),define("tpl!choose_status",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<dl id="target" class="dropdown">\n <dt id="fancy-xmpp-status-select" class="fancy-dropdown"></dt>\n <dd><ul class="xmpp-status-menu"></ul></dd>\n</dl>\n';return __p}}),define("tpl!contacts_panel",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<form class="set-xmpp-status" action="" method="post">\n <span id="xmpp-status-holder">\n <select id="select-xmpp-status" style="display:none">\n <option value="online">'+((__t=label_online)==null?"":__t)+'</option>\n <option value="dnd">'+((__t=label_busy)==null?"":__t)+'</option>\n <option value="away">'+((__t=label_away)==null?"":__t)+'</option>\n <option value="offline">'+((__t=label_offline)==null?"":__t)+"</option>\n ",allow_logout&&(__p+='\n <option value="logout">'+((__t=label_logout)==null?"":__t)+"</option>\n "),__p+="\n </select>\n </span>\n</form>\n";return __p}}),define("tpl!contacts_tab",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li><a class="s current" href="#users">'+((__t=label_contacts)==null?"":__t)+"</a></li>\n";return __p}}),define("tpl!controlbox",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="box-flyout" style="height: '+((__t=height)==null?"":__t)+'px">\n <div class="dragresize dragresize-tm"></div>\n <div class="chat-head controlbox-head">\n <ul id="controlbox-tabs"></ul>\n <a class="close-chatbox-button icon-close"></a>\n </div>\n <div class="controlbox-panes"></div>\n</div>\n';return __p}}),define("tpl!controlbox_toggle",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<span class="conn-feedback">'+((__t=label_toggle)==null?"":__t)+'</span>\n<span style="display: none" id="online-count">(0)</span>\n';return __p}}),define("tpl!field",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<field var="'+((__t=name)==null?"":__t)+'">',_.isArray(value)?(__p+="\n ",_.each(value,function(e){__p+="<value>"+((__t=e)==null?"":__t)+"</value>"}),__p+="\n"):__p+="\n <value>"+((__t=value)==null?"":__t)+"</value>\n",__p+="</field>\n";return __p}}),define("tpl!form_captcha",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="",label&&(__p+="\n<label>\n "+((__t=label)==null?"":__t)+"\n</label>\n"),__p+='\n<img src="data:'+((__t=type)==null?"":__t)+";base64,"+((__t=data)==null?"":__t)+'">\n<input name="'+((__t=name)==null?"":__t)+'" type="text" ',required&&(__p+=' class="required" '),__p+=" >\n\n\n";return __p}}),define("tpl!form_checkbox",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="<label>"+((__t=label)==null?"":__t)+'</label>\n<input name="'+((__t=name)==null?"":__t)+'" type="'+((__t=type)==null?"":__t)+'" '+((__t=checked)==null?"":__t)+">\n";return __p}}),define("tpl!form_input",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="",label&&(__p+="\n<label>\n "+((__t=label)==null?"":__t)+"\n</label>\n"),__p+='\n<input name="'+((__t=name)==null?"":__t)+'" type="'+((__t=type)==null?"":__t)+'" \n ',value&&(__p+=' value="'+((__t=value)==null?"":__t)+'" '),__p+="\n ",required&&(__p+=' class="required" '),__p+=" >\n";return __p}}),define("tpl!form_select",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="<label>"+((__t=label)==null?"":__t)+'</label>\n<select name="'+((__t=name)==null?"":__t)+'" ',multiple&&(__p+=' multiple="multiple" '),__p+=">"+((__t=options)==null?"":__t)+"</select>\n";return __p}}),define("tpl!form_textarea",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<label class="label-ta">'+((__t=label)==null?"":__t)+'</label>\n<textarea name="'+((__t=name)==null?"":__t)+'">'+((__t=value)==null?"":__t)+"</textarea>\n";return __p}}),define("tpl!form_username",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="",label&&(__p+="\n<label>\n "+((__t=label)==null?"":__t)+"\n</label>\n"),__p+='\n<div class="input-group">\n <input name="'+((__t=name)==null?"":__t)+'" type="'+((__t=type)==null?"":__t)+'"\n ',value&&(__p+=' value="'+((__t=value)==null?"":__t)+'" '),__p+="\n ",required&&(__p+=' class="required" '),__p+=' />\n <span title="'+((__t=domain)==null?"":__t)+'">'+((__t=domain)==null?"":__t)+"</span>\n</div>\n";return __p}}),define("tpl!group_header",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<a href="#" class="group-toggle icon-'+((__t=toggle_state)==null?"":__t)+'" title="'+((__t=desc_group_toggle)==null?"":__t)+'">'+((__t=label_group)==null?"":__t)+"</a>\n";return __p}}),define("tpl!info",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="chat-info">'+((__t=message)==null?"":__t)+"</div>\n";return __p}}),define("tpl!login_panel",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<form id="converse-login" method="post">\n ',auto_login&&(__p+='\n <span class="spinner login-submit"/>\n '),__p+="\n ",auto_login||(__p+="\n ",authentication==LOGIN&&(__p+="\n <label>"+((__t=label_username)==null?"":__t)+'</label>\n <input name="jid" placeholder="'+((__t=placeholder_username)==null?"":__t)+'">\n <label>'+((__t=label_password)==null?"":__t)+'</label>\n <input type="password" name="password" placeholder="'+((__t=placeholder_password)==null?"":__t)+'">\n <input class="submit" type="submit" value="'+((__t=label_login)==null?"":__t)+'">\n <span class="conn-feedback"></span>\n '),__p+="\n ",authentication==ANONYMOUS&&(__p+='\n <input type="submit" class="submit login-anon" value="'+((__t=label_anon_login)==null?"":__t)+'"/>\n '),__p+="\n ",authentication==PREBIND&&(__p+="\n <p>Disconnected.</p>\n "),__p+="\n "),__p+="\n</form>\n";return __p}}),define("tpl!login_tab",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li><a class="current" href="#login-dialog">'+((__t=label_sign_in)==null?"":__t)+"</a></li>\n";return __p}}),define("tpl!message",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<div class="chat-message '+((__t=extra_classes)==null?"":__t)+'">\n <span class="chat-message-'+((__t=sender)==null?"":__t)+'">'+((__t=time)==null?"":__t)+" "+((__t=username)==null?"":__t)+':&nbsp;</span>\n <span class="chat-message-content">'+((__t=message)==null?"":__t)+"</span>\n</div>\n";return __p}}),define("tpl!new_day",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<time class="chat-date" datetime="'+((__t=isodate)==null?"":__t)+'">'+((__t=datestring)==null?"":__t)+"</time>\n";return __p}}),define("tpl!occupant",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li class="'+((__t=role)==null?"":__t)+'"\n ',role==="moderator"&&(__p+='\n title="'+((__t=desc_moderator)==null?"":__t)+'"\n '),__p+="\n ",role==="participant"&&(__p+='\n title="'+((__t=desc_participant)==null?"":__t)+'"\n '),__p+="\n ",role==="visitor"&&(__p+='\n title="'+((__t=desc_visitor)==null?"":__t)+'"\n '),__p+="\n>"+((__t=nick)==null?"":__t)+"</li>\n";return __p}}),define("tpl!pending_contact",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="",allow_chat_pending_contacts&&(__p+='\n<a class="open-chat"href="#">\n'),__p+='\n<span class="pending-contact-name" title="Name: '+((__t=fullname)==null?"":__t)+"\nJID: "+((__t=jid)==null?"":__t)+'">'+((__t=fullname)==null?"":__t)+"</span> \n",allow_chat_pending_contacts&&(__p+="\n</a>\n"),__p+='\n<a class="remove-xmpp-contact icon-remove" title="'+((__t=desc_remove)==null?"":__t)+'" href="#"></a>\n';return __p}}),define("tpl!pending_contacts",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<dt id="pending-xmpp-contacts"><a href="#" class="group-toggle icon-'+((__t=toggle_state)==null?"":__t)+'" title="'+((__t=desc_group_toggle)==null?"":__t)+'">'+((__t=label_pending_contacts)==null?"":__t)+"</a></dt>\n";return __p}}),define("tpl!register_panel",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<form id="converse-register">\n <span class="reg-feedback"></span>\n <label>'+((__t=label_domain)==null?"":__t)+'</label>\n <input type="text" name="domain" placeholder="'+((__t=domain_placeholder)==null?"":__t)+'">\n <p class="form-help">'+((__t=help_providers)==null?"":__t)+' <a href="'+((__t=href_providers)==null?"":__t)+'" class="url" target="_blank">'+((__t=help_providers_link)==null?"":__t)+'</a>.</p>\n <input class="submit" type="submit" value="'+((__t=label_register)==null?"":__t)+'">\n</form>\n';return __p}}),define("tpl!register_tab",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li><a class="s" href="#register">'+((__t=label_register)==null?"":__t)+"</a></li>\n";return __p}}),define("tpl!registration_form",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<p class="provider-title">'+((__t=domain)==null?"":__t)+"</p>\n<a href='https://xmpp.net/result.php?domain="+((__t=domain)==null?"":__t)+"&amp;type=client'>\n <img class=\"provider-score\" src='https://xmpp.net/badge.php?domain="+((__t=domain)==null?"":__t)+"' alt='xmpp.net score' />\n</a>\n<p class=\"title\">"+((__t=title)==null?"":__t)+'</p>\n<p class="instructions">'+((__t=instructions)==null?"":__t)+"</p>\n";return __p}}),define("tpl!registration_request",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<span class="spinner login-submit"/>\n<p class="info">'+((__t=info_message)==null?"":__t)+'</p>\n<button class="cancel hor_centered">'+((__t=cancel)==null?"":__t)+"</button>\n";return __p}}),define("tpl!requesting_contact",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="",allow_chat_pending_contacts&&(__p+='\n<a class="open-chat"href="#">\n'),__p+='\n<span class="req-contact-name" title="Name: '+((__t=fullname)==null?"":__t)+"\nJID: "+((__t=jid)==null?"":__t)+'">'+((__t=fullname)==null?"":__t)+"</span>\n",allow_chat_pending_contacts&&(__p+="\n</a>\n"),__p+='\n<span class="request-actions">\n <a class="accept-xmpp-request icon-checkmark" title="'+((__t=desc_accept)==null?"":__t)+'" href="#"></a>\n <a class="decline-xmpp-request icon-close" title="'+((__t=desc_decline)==null?"":__t)+'" href="#"></a>\n</span>\n';return __p}}),define("tpl!requesting_contacts",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<dt id="xmpp-contact-requests"><a href="#" class="group-toggle icon-'+((__t=toggle_state)==null?"":__t)+'" title="'+((__t=desc_group_toggle)==null?"":__t)+'">'+((__t=label_contact_requests)==null?"":__t)+"</a></dt>\n";return __p}}),define("tpl!room_description",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<!-- FIXME: check markup in mockup -->\n<div class="room-info">\n<p class="room-info"><strong>'+((__t=label_desc)==null?"":__t)+"</strong> "+((__t=desc)==null?"":__t)+'</p>\n<p class="room-info"><strong>'+((__t=label_occ)==null?"":__t)+"</strong> "+((__t=occ)==null?"":__t)+'</p>\n<p class="room-info"><strong>'+((__t=label_features)==null?"":__t)+"</strong>\n <ul>\n ",passwordprotected&&(__p+='\n <li class="room-info locked">'+((__t=label_requires_auth)==null?"":__t)+"</li>\n "),__p+="\n ",hidden&&(__p+='\n <li class="room-info">'+((__t=label_hidden)==null?"":__t)+"</li>\n "),__p+="\n ",membersonly&&(__p+='\n <li class="room-info">'+((__t=label_requires_invite)==null?"":__t)+"</li>\n "),__p+="\n ",moderated&&(__p+='\n <li class="room-info">'+((__t=label_moderated)==null?"":__t)+"</li>\n "),__p+="\n ",nonanonymous&&(__p+='\n <li class="room-info">'+((__t=label_non_anon)==null?"":__t)+"</li>\n "),__p+="\n ",open&&(__p+='\n <li class="room-info">'+((__t=label_open_room)==null?"":__t)+"</li>\n "),__p+="\n ",persistent&&(__p+='\n <li class="room-info">'+((__t=label_permanent_room)==null?"":__t)+"</li>\n "),__p+="\n ",publicroom&&(__p+='\n <li class="room-info">'+((__t=label_public)==null?"":__t)+"</li>\n "),__p+="\n ",semianonymous&&(__p+='\n <li class="room-info">'+((__t=label_semi_anon)==null?"":__t)+"</li>\n "),__p+="\n ",temporary&&(__p+='\n <li class="room-info">'+((__t=label_temp_room)==null?"":__t)+"</li>\n "),__p+="\n ",unmoderated&&(__p+='\n <li class="room-info">'+((__t=label_unmoderated)==null?"":__t)+"</li>\n "),__p+="\n </ul>\n</p>\n</div>\n";return __p}}),define("tpl!room_item",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<dd class="available-chatroom">\n<a class="open-room" data-room-jid="'+((__t=jid)==null?"":__t)+'"\n title="'+((__t=open_title)==null?"":__t)+'" href="#">'+((__t=name)==null?"":__t)+'</a>\n<a class="room-info icon-room-info" data-room-jid="'+((__t=jid)==null?"":__t)+'"\n title="'+((__t=info_title)==null?"":__t)+'" href="#">&nbsp;</a>\n</dd>\n';return __p}}),define("tpl!room_panel",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<form class="add-chatroom" action="" method="post">\n <label>'+((__t=label_room_name)==null?"":__t)+'</label>\n <input type="text" name="chatroom" class="new-chatroom-name"\n placeholder="'+((__t=label_room_name)==null?"":__t)+'"/>\n <label>'+((__t=label_nickname)==null?"":__t)+'</label>\n <input type="text" name="nick" class="new-chatroom-nick"\n placeholder="'+((__t=label_nickname)==null?"":__t)+'"/>\n ',server_input_type!="hidden"&&(__p+="\n <label"+((__t=server_label_global_attr)==null?"":__t)+">"+((__t=label_server)==null?"":__t)+"</label>\n "),__p+='\n <input type="'+((__t=server_input_type)==null?"":__t)+'" name="server" class="new-chatroom-server"\n placeholder="'+((__t=label_server)==null?"":__t)+'"/>\n <div class="button-group">\n <input type="submit" class="left" name="join" value="'+((__t=label_join)==null?"":__t)+'"/>\n <input type="button" class="right" name="show" id="show-rooms" value="'+((__t=label_show_rooms)==null?"":__t)+'"/>\n </div>\n</form>\n<dl id="available-chatrooms"></dl>\n';return __p}}),define("tpl!roster",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<span class="input-button-group">\n <input style="display: none;" class="roster-filter" placeholder="'+((__t=placeholder)==null?"":__t)+'">\n <select style="display: none;" class="filter-type">\n <option value="contacts">'+((__t=label_contacts)==null?"":__t)+'</option>\n <option value="groups">'+((__t=label_groups)==null?"":__t)+"</option>\n </select>\n</span>\n";return __p}}),define("tpl!roster_item",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<a class="open-chat" title="'+((__t=title_fullname)==null?"":__t)+": "+((__t=fullname)==null?"":__t)+"\nJID: "+((__t=jid)==null?"":__t)+"\n"+((__t=desc_chat)==null?"":__t)+'" href="#"><span class="icon-'+((__t=chat_status)==null?"":__t)+'" title="'+((__t=desc_status)==null?"":__t)+'"></span>'+((__t=fullname)==null?"":__t)+"</a>\n",allow_contact_removal&&(__p+='\n<a class="remove-xmpp-contact icon-remove" title="'+((__t=desc_remove)==null?"":__t)+'" href="#"></a>\n'),__p+="\n";return __p}}),define("tpl!search_contact",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li>\n <form class="search-xmpp-contact">\n <input type="text"\n name="identifier"\n class="username"\n placeholder="'+((__t=label_contact_name)==null?"":__t)+'"/>\n <button type="submit">'+((__t=label_search)==null?"":__t)+"</button>\n </form>\n</li>\n";return __p}}),define("tpl!select_option",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<option value="'+((__t=value)==null?"":__t)+'" ',selected&&(__p+=' selected="selected" '),__p+=" >"+((__t=label)==null?"":__t)+"</option>\n";return __p}}),define("tpl!status_option",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<li>\n <a href="#" class="'+((__t=value)==null?"":__t)+'" data-value="'+((__t=value)==null?"":__t)+'">\n <span class="icon-'+((__t=value)==null?"":__t)+'"></span>\n '+((__t=text)==null?"":__t)+"\n </a>\n</li>\n";return __p}}),define("tpl!toggle_chats",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+=""+((__t=Minimized)==null?"":__t)+' <span id="minimized-count">('+((__t=num_minimized)==null?"":__t)+')</span>\n<span class="unread-message-count"\n ',num_unread||(__p+=' style="display: none" '),__p+='\n href="#">'+((__t=num_unread)==null?"":__t)+"</span>\n";return __p}}),define("tpl!toolbar",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="",show_emoticons&&(__p+='\n <li class="toggle-smiley icon-happy" title="'+((__t=label_insert_smiley)==null?"":__t)+'">\n <ul>\n <li><a class="icon-smiley" href="#" data-emoticon=":)"></a></li>\n <li><a class="icon-wink" href="#" data-emoticon=";)"></a></li>\n <li><a class="icon-grin" href="#" data-emoticon=":D"></a></li>\n <li><a class="icon-tongue" href="#" data-emoticon=":P"></a></li>\n <li><a class="icon-cool" href="#" data-emoticon="8)"></a></li>\n <li><a class="icon-evil" href="#" data-emoticon=">:)"></a></li>\n <li><a class="icon-confused" href="#" data-emoticon=":S"></a></li>\n <li><a class="icon-wondering" href="#" data-emoticon=":\\"></a></li>\n <li><a class="icon-angry" href="#" data-emoticon=">:("></a></li>\n <li><a class="icon-sad" href="#" data-emoticon=":("></a></li>\n <li><a class="icon-shocked" href="#" data-emoticon=":O"></a></li>\n <li><a class="icon-thumbs-up" href="#" data-emoticon="(^.^)b"></a></li>\n <li><a class="icon-heart" href="#" data-emoticon="<3"></a></li>\n </ul>\n </li>\n'),__p+="\n",show_call_button&&(__p+='\n<li class="toggle-call"><a class="icon-phone" title="'+((__t=label_start_call)==null?"":__t)+'"></a></li>\n'),__p+="\n",show_participants_toggle&&(__p+='\n<li class="toggle-participants"><a class="icon-hide-users" title="'+((__t=label_hide_participants)==null?"":__t)+'"></a></li>\n'),__p+="\n",show_clear_button&&(__p+='\n<li class="toggle-clear"><a class="icon-remove" title="'+((__t=label_clear)==null?"":__t)+'"></a></li>\n'),__p+="\n",allow_otr&&(__p+='\n <li class="toggle-otr '+((__t=otr_status_class)==null?"":__t)+'" title="'+((__t=otr_tooltip)==null?"":__t)+'">\n <span class="chat-toolbar-text">'+((__t=otr_translated_status)==null?"":__t)+"</span>\n ",otr_status==UNENCRYPTED&&(__p+='\n <span class="icon-unlocked"></span>\n '),__p+="\n ",otr_status==UNVERIFIED&&(__p+='\n <span class="icon-lock"></span>\n '),__p+="\n ",otr_status==VERIFIED&&(__p+='\n <span class="icon-lock"></span>\n '),__p+="\n ",otr_status==FINISHED&&(__p+='\n <span class="icon-unlocked"></span>\n '),__p+="\n <ul>\n ",otr_status==UNENCRYPTED&&(__p+='\n <li><a class="start-otr" href="#">'+((__t=label_start_encrypted_conversation)==null?"":__t)+"</a></li>\n "),__p+="\n ",otr_status!=UNENCRYPTED&&(__p+='\n <li><a class="start-otr" href="#">'+((__t=label_refresh_encrypted_conversation)==null?"":__t)+'</a></li>\n <li><a class="end-otr" href="#">'+((__t=label_end_encrypted_conversation)==null?"":__t)+'</a></li>\n <li><a class="auth-otr" data-scheme="smp" href="#">'+((__t=label_verify_with_smp)==null?"":__t)+"</a></li>\n "),__p+="\n ",otr_status==UNVERIFIED&&(__p+='\n <li><a class="auth-otr" data-scheme="fingerprint" href="#">'+((__t=label_verify_with_fingerprints)==null?"":__t)+"</a></li>\n "),__p+='\n <li><a href="http://www.cypherpunks.ca/otr/help/3.2.0/levels.php" target="_blank">'+((__t=label_whats_this)==null?"":__t)+"</a></li>\n </ul>\n </li>\n"),__p+="\n";return __p}}),define("tpl!trimmed_chat",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<a class="close-chatbox-button icon-close"></a>\n<a class="chat-head-message-count" \n ',num_unread||(__p+=' style="display: none" '),__p+='\n href="#">'+((__t=num_unread)==null?"":__t)+'</a>\n<a href="#" class="restore-chat" title="'+((__t=tooltip)==null?"":__t)+'">\n '+((__t=title)==null?"":__t)+"\n</a>\n";return __p}}),define("converse-templates",["tpl!action","tpl!add_contact_dropdown","tpl!add_contact_form","tpl!change_status_message","tpl!chat_status","tpl!chatarea","tpl!chatbox","tpl!chatroom","tpl!chatroom_password_form","tpl!chatroom_sidebar","tpl!chatrooms_tab","tpl!chats_panel","tpl!choose_status","tpl!contacts_panel","tpl!contacts_tab","tpl!controlbox","tpl!controlbox_toggle","tpl!field","tpl!form_captcha","tpl!form_checkbox","tpl!form_input","tpl!form_select","tpl!form_textarea","tpl!form_username","tpl!group_header","tpl!info","tpl!login_panel","tpl!login_tab","tpl!message","tpl!new_day","tpl!occupant","tpl!pending_contact","tpl!pending_contacts","tpl!register_panel","tpl!register_tab","tpl!registration_form","tpl!registration_request","tpl!requesting_contact","tpl!requesting_contacts","tpl!room_description","tpl!room_item","tpl!room_panel","tpl!roster","tpl!roster_item","tpl!search_contact","tpl!select_option","tpl!status_option","tpl!toggle_chats","tpl!toolbar","tpl!trimmed_chat"],function(){return{action:arguments[0],add_contact_dropdown:arguments[1],add_contact_form:arguments[2],change_status_message:arguments[3],chat_status:arguments[4],chatarea:arguments[5],chatbox:arguments[6],chatroom:arguments[7],chatroom_password_form:arguments[8],chatroom_sidebar:arguments[9],chatrooms_tab:arguments[10],chats_panel:arguments[11],choose_status:arguments[12],contacts_panel:arguments[13],contacts_tab:arguments[14],controlbox:arguments[15],controlbox_toggle:arguments[16],field:arguments[17],form_captcha:arguments[18],form_checkbox:arguments[19],form_input:arguments[20],form_select:arguments[21],form_textarea:arguments[22],form_username:arguments[23],group_header:arguments[24],info:arguments[25],login_panel:arguments[26],login_tab:arguments[27],message:arguments[28],new_day:arguments[29],occupant:arguments[30],pending_contact:arguments[31],pending_contacts:arguments[32],register_panel:arguments[33],register_tab:arguments[34],registration_form:arguments[35],registration_request:arguments[36],requesting_contact:arguments[37],requesting_contacts:arguments[38],room_description:arguments[39],room_item:arguments[40],room_panel:arguments[41],roster:arguments[42],roster_item:arguments[43],search_contact:arguments[44],select_option:arguments[45],status_option:arguments[46],toggle_chats:arguments[47],toolbar:arguments[48],trimmed_chat:arguments[49]}}),function(e,t){function l(e){return f.PF.compile(e||"nplurals=2; plural=(n != 1);")}function c(e,t){this._key=e,this._i18n=t}var n=Array.prototype,r=Object.prototype,i=n.slice,s=r.hasOwnProperty,o=n.forEach,u={},a={forEach:function(e,t,n){var r,i,a;if(e===null)return;if(o&&e.forEach===o)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===u)return}else for(a in e)if(s.call(e,a)&&t.call(n,e[a],a,e)===u)return},extend:function(e){return this.forEach(i.call(arguments,1),function(t){for(var n in t)e[n]=t[n]}),e}},f=function(e){this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages"},this.options=a.extend({},this.defaults,e),this.textdomain(this.options.domain);if(e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};f.context_delimiter=String.fromCharCode(4),a.extend(c.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return{}.toString.call(e)!="[object Array]"&&(e=[].slice.call(arguments)),(e&&e.length?f.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),a.extend(f.prototype,{translate:function(e){return new c(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,t,t,e)},dgettext:function(e,n){return this.dcnpgettext.call(this,e,t,n)},dcgettext:function(e,n){return this.dcnpgettext.call(this,e,t,n)},ngettext:function(e,n,r){return this.dcnpgettext.call(this,t,t,e,n,r)},dngettext:function(e,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcngettext:function(e,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},pgettext:function(e,n){return this.dcnpgettext.call(this,t,e,n)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,n,r,i){return this.dcnpgettext.call(this,t,e,n,r,i)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){r=r||n,e=e||this._textdomain,i=typeof i=="undefined"?1:i;var s;if(!this.options)return s=new f,s.dcnpgettext.call(s,undefined,undefined,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");if(typeof i!="number"){i=parseInt(i,10);if(isNaN(i))throw new Error("The number that was passed in is not a number.")}var o=t?t+f.context_delimiter+n:n,u=this.options.locale_data,a=u[e],c=a[""].plural_forms||(u.messages||this.defaults.locale_data.messages)[""].plural_forms,h=l(c)(i)+1,p,d;if(!a)throw new Error("No domain named `"+e+"` could be found.");return p=a[o],!p||h>=p.length?(this.options.missing_key_callback&&this.options.missing_key_callback(o),d=[null,n,r],d[l(c)(i)+1]):(d=p[h],d?d:(d=[null,n,r],d[l(c)(i)+1]))}});var h=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i=1,s=n.length,o="",u,a=[],f,l,c,p,d,v;for(f=0;f<s;f++){o=e(n[f]);if(o==="string")a.push(n[f]);else if(o==="array"){c=n[f];if(c[2]){u=r[i];for(l=0;l<c[2].length;l++){if(!u.hasOwnProperty(c[2][l]))throw h('[sprintf] property "%s" does not exist',c[2][l]);u=u[c[2][l]]}}else c[1]?u=r[c[1]]:u=r[i++];if(/[^s]/.test(c[8])&&e(u)!="number")throw h("[sprintf] expecting number but found %s",e(u));if(typeof u=="undefined"||u===null)u="";switch(c[8]){case"b":u=u.toString(2);break;case"c":u=String.fromCharCode(u);break;case"d":u=parseInt(u,10);break;case"e":u=c[7]?u.toExponential(c[7]):u.toExponential();break;case"f":u=c[7]?parseFloat(u).toFixed(c[7]):parseFloat(u);break;case"o":u=u.toString(8);break;case"s":u=(u=String(u))&&c[7]?u.substring(0,c[7]):u;break;case"u":u=Math.abs(u);break;case"x":u=u.toString(16);break;case"X":u=u.toString(16).toUpperCase()}u=/[def]/.test(c[8])&&c[3]&&u>=0?"+"+u:u,d=c[4]?c[4]=="0"?"0":c[4].charAt(1):" ",v=c[6]-String(u).length,p=c[6]?t(d,v):"",a.push(c[5]?u+p:p+u)}}return a.join("")},n.cache={},n.parse=function(e){var t=e,n=[],r=[],i=0;while(t){if((n=/^[^\x25]+/.exec(t))!==null)r.push(n[0]);else if((n=/^\x25{2}/.exec(t))!==null)r.push("%");else{if((n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t))===null)throw"[sprintf] huh?";if(n[2]){i|=1;var s=[],o=n[2],u=[];if((u=/^([a-z_][a-z_\d]*)/i.exec(o))===null)throw"[sprintf] huh?";s.push(u[1]);while((o=o.substring(u[0].length))!=="")if((u=/^\.([a-z_][a-z_\d]*)/i.exec(o))!==null)s.push(u[1]);else{if((u=/^\[(\d+)\]/.exec(o))===null)throw"[sprintf] huh?";s.push(u[1])}n[2]=s}else i|=2;if(i===3)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),p=function(e,t){return t.unshift(e),h.apply(null,t)};f.parse_plural=function(e,t){return e=e.replace(/n/g,t),f.parse_expression(e)},f.sprintf=function(e,t){return{}.toString.call(t)=="[object Array]"?p(e,[].slice.call(t)):h.apply(this,[].slice.call(arguments))},f.prototype.sprintf=function(){return f.sprintf.apply(this,arguments)},f.PF={},f.PF.parse=function(e){var t=f.PF.extractPluralExpr(e);return f.PF.parser.parse.call(f.PF.parser,t)},f.PF.compile=function(e){function t(e){return e===!0?1:e?e:0}var n=f.PF.parse(e);return function(e){return t(f.PF.interpreter(n)(e))}},f.PF.interpreter=function(e){return function(t){var n;switch(e.type){case"GROUP":return f.PF.interpreter(e.expr)(t);case"TERNARY":if(f.PF.interpreter(e.expr)(t))return f.PF.interpreter(e.truthy)(t);return f.PF.interpreter(e.falsey)(t);case"OR":return f.PF.interpreter(e.left)(t)||f.PF.interpreter(e.right)(t);case"AND":return f.PF.interpreter(e.left)(t)&&f.PF.interpreter(e.right)(t);case"LT":return f.PF.interpreter(e.left)(t)<f.PF.interpreter(e.right)(t);case"GT":return f.PF.interpreter(e.left)(t)>f.PF.interpreter(e.right)(t);case"LTE":return f.PF.interpreter(e.left)(t)<=f.PF.interpreter(e.right)(t);case"GTE":return f.PF.interpreter(e.left)(t)>=f.PF.interpreter(e.right)(t);case"EQ":return f.PF.interpreter(e.left)(t)==f.PF.interpreter(e.right)(t);case"NEQ":return f.PF.interpreter(e.left)(t)!=f.PF.interpreter(e.right)(t);case"MOD":return f.PF.interpreter(e.left)(t)%f.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},f.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t=/nplurals\=(\d+);/,n=/plural\=(.*);/,r=e.match(t),i={},s;if(r.length>1){i.nplurals=r[1],e=e.replace(t,""),s=e.match(n);if(!(s&&s.length>1))throw new Error("`plural` expression not found: "+e);return s[1]}throw new Error("nplurals not found in plural_forms string: "+e)},f.PF.parser=function(){var e={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(t,n,r,i,s,o,u){var a=o.length-1;switch(s){case 1:return{type:"GROUP",expr:o[a-1]};case 2:this.$={type:"TERNARY",expr:o[a-4],truthy:o[a-2],falsey:o[a]};break;case 3:this.$={type:"OR",left:o[a-2],right:o[a]};break;case 4:this.$={type:"AND",left:o[a-2],right:o[a]};break;case 5:this.$={type:"LT",left:o[a-2],right:o[a]};break;case 6:this.$={type:"LTE",left:o[a-2],right:o[a]};break;case 7:this.$={type:"GT",left:o[a-2],right:o[a]};break;case 8:this.$={type:"GTE",left:o[a-2],right:o[a]};break;case 9:this.$={type:"NEQ",left:o[a-2],right:o[a]};break;case 10:this.$={type:"EQ",left:o[a-2],right:o[a]};break;case 11:this.$={type:"MOD",left:o[a-2],right:o[a]};break;case 12:this.$={type:"GROUP",expr:o[a-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(t)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(t,n){throw new Error(t)},parse:function(t){function d(e){r.length=r.length-2*e,i.length=i.length-e,s.length=s.length-e}function v(){var e;return e=n.lexer.lex()||1,typeof e!="number"&&(e=n.symbols_[e]||e),e}var n=this,r=[0],i=[null],s=[],o=this.table,u="",a=0,f=0,l=0,c=2,h=1;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var p=this.lexer.yylloc;s.push(p),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);var m,g,y,b,w,E,S={},x,T,N,C;for(;;){y=r[r.length-1],this.defaultActions[y]?b=this.defaultActions[y]:(m==null&&(m=v()),b=o[y]&&o[y][m]);if(typeof b=="undefined"||!b.length||!b[0]){if(!l){C=[];for(x in o[y])this.terminals_[x]&&x>2&&C.push("'"+this.terminals_[x]+"'");var k="";this.lexer.showPosition?k="Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+C.join(", ")+", got '"+this.terminals_[m]+"'":k="Parse error on line "+(a+1)+": Unexpected "+(m==1?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:p,expected:C})}if(l==3){if(m==h)throw new Error(k||"Parsing halted.");f=this.lexer.yyleng,u=this.lexer.yytext,a=this.lexer.yylineno,p=this.lexer.yylloc,m=v()}for(;;){if(c.toString()in o[y])break;if(y==0)throw new Error(k||"Parsing halted.");d(1),y=r[r.length-1]}g=m,m=c,y=r[r.length-1],b=o[y]&&o[y][c],l=3}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+m);switch(b[0]){case 1:r.push(m),i.push(this.lexer.yytext),s.push(this.lexer.yylloc),r.push(b[1]),m=null,g?(m=g,g=null):(f=this.lexer.yyleng,u=this.lexer.yytext,a=this.lexer.yylineno,p=this.lexer.yylloc,l>0&&l--);break;case 2:T=this.productions_[b[1]][1],S.$=i[i.length-T],S._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},E=this.performAction.call(S,u,f,a,this.yy,b[1],i,s);if(typeof E!="undefined")return E;T&&(r=r.slice(0,-1*T*2),i=i.slice(0,-1*T),s=s.slice(0,-1*T)),r.push(this.productions_[b[1]][0]),i.push(S.$),s.push(S._$),N=o[r[r.length-2]][r[r.length-1]],r.push(N);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(t,n){if(!this.yy.parseError)throw new Error(t);this.yy.parseError(t,n)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e;var t=e.match(/\n/);return t&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=(new Array(e.length+1)).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext="",this.match="");var i=this._currentRules();for(var s=0;s<i.length;s++){t=this._input.match(this.rules[i[s]]);if(t){r=t[0].match(/\n.*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[s],this.conditionStack[this.conditionStack.length-1]);if(e)return e;return}}if(this._input==="")return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return typeof t!="undefined"?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}};return e.performAction=function(t,n,r,i){var s=i;switch(r){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},e.rules=[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],e.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}},e}();return e.lexer=t,e}(),typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=f),exports.Jed=f):(typeof define=="function"&&define.amd&&define("jed",[],function(){return f}),e.Jed=f)}(this),define("text!af",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "af"\n },\n " e.g. conversejs.org": [\n null,\n "bv. conversejs.org"\n ],\n "unencrypted": [\n null,\n "nie-privaat"\n ],\n "unverified": [\n null,\n "onbevestig"\n ],\n "verified": [\n null,\n "privaat"\n ],\n "finished": [\n null,\n "afgesluit"\n ],\n "This contact is busy": [\n null,\n "Hierdie persoon is besig"\n ],\n "This contact is online": [\n null,\n "Hierdie persoon is aanlyn"\n ],\n "This contact is offline": [\n null,\n "Hierdie persoon is aflyn"\n ],\n "This contact is unavailable": [\n null,\n "Hierdie persoon is onbeskikbaar"\n ],\n "This contact is away for an extended period": [\n null,\n "Hierdie persoon is vir lank afwesig"\n ],\n "This contact is away": [\n null,\n "Hierdie persoon is afwesig"\n ],\n "Click to hide these contacts": [\n null,\n "Kliek om hierdie kontakte te verskuil"\n ],\n "My contacts": [\n null,\n "My kontakte"\n ],\n "Pending contacts": [\n null,\n "Hangende kontakte"\n ],\n "Contact requests": [\n null,\n "Kontak versoeke"\n ],\n "Ungrouped": [\n null,\n "Ongegroepeer"\n ],\n "Contacts": [\n null,\n "Kontakte"\n ],\n "Groups": [\n null,\n "Groepe"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Fout"\n ],\n "Connecting": [\n null,\n "Verbind tans"\n ],\n "Authenticating": [\n null,\n "Besig om te bekragtig"\n ],\n "Authentication Failed": [\n null,\n "Bekragtiging het gefaal"\n ],\n "Re-establishing encrypted session": [\n null,\n "Herstel versleutelde sessie"\n ],\n "Generating private key.": [\n null,\n "Genereer private sleutel."\n ],\n "Your browser might become unresponsive.": [\n null,\n "U webblaaier mag tydelik onreageerbaar word."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Identiteitbevestigingsversoek van %1$s\\n\\nU gespreksmaat probeer om u identiteit te bevestig, deur die volgende vraag te vra \\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Kon nie hierdie gebruiker se identitied bevestig nie."\n ],\n "Exchanging private key with contact.": [\n null,\n "Sleutels word met gespreksmaat uitgeruil."\n ],\n "Personal message": [\n null,\n "Persoonlike boodskap"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Is u seker dat u die boodskappe in hierdie kamer wil verwyder?"\n ],\n "me": [\n null,\n "ek"\n ],\n "is typing": [\n null,\n "tik tans"\n ],\n "has stopped typing": [\n null,\n "het opgehou tik"\n ],\n "has gone away": [\n null,\n "het weggegaan"\n ],\n "Show this menu": [\n null,\n "Vertoon hierdie keuselys"\n ],\n "Write in the third person": [\n null,\n "Skryf in die derde persoon"\n ],\n "Remove messages": [\n null,\n "Verwyder boodskappe"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Is u seker u wil die boodskappe van hierdie klets uitvee?"\n ],\n "Your message could not be sent": [\n null,\n "U boodskap kon nie gestuur word nie"\n ],\n "We received an unencrypted message": [\n null,\n "Ons het \'n onversleutelde boodskap ontvang"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Ons het \'n onleesbare versleutelde boodskap ontvang"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Hier is die vingerafdrukke, bevestig hulle met %1$s, buite hierdie kletskanaal \\n\\nU vingerafdruk, %2$s: %3$s\\n\\nVingerafdruk vir %1$s: %4$s\\n\\nIndien u die vingerafdrukke bevestig het, klik OK, andersinds klik Kanselleer"\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Daar sal van u verwag word om \'n sekuriteitsvraag te stel, en dan ook die antwoord tot daardie vraag te verskaf.\\n\\nU gespreksmaat sal dan daardie vraag gestel word, en indien hulle presies dieselfde antwoord (lw. hoofletters tel) verskaf, sal hul identiteit bevestig wees."\n ],\n "What is your security question?": [\n null,\n "Wat is u sekuriteitsvraag?"\n ],\n "What is the answer to the security question?": [\n null,\n "Wat is die antwoord tot die sekuriteitsvraag?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Ongeldige verifikasiemetode verskaf"\n ],\n "has gone offline": [\n null,\n "is nou aflyn"\n ],\n "is busy": [\n null,\n "is besig"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "U boodskappe is nie meer versleutel nie"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "U boodskappe is now versleutel maar u gespreksmaat se identiteit is nog onseker."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "U gespreksmaat se identiteit is bevestig."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "U gespreksmaat het versleuteling gestaak, u behoort nou dieselfde te doen."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "U boodskappe is nie versleutel nie. Klik hier om OTR versleuteling te aktiveer."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "U boodskappe is versleutel, maar u gespreksmaat se identiteit is not onseker."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "U boodskappe is versleutel en u gespreksmaat se identiteit bevestig."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "U gespreksmaat het die private sessie gestaak. U behoort dieselfde te doen"\n ],\n "Clear all messages": [\n null,\n "Vee alle boodskappe uit"\n ],\n "End encrypted conversation": [\n null,\n "Beëindig versleutelde gesprek"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "Verskuil die lys van deelnemers"\n ],\n "Refresh encrypted conversation": [\n null,\n "Verfris versleutelde gesprek"\n ],\n "Start a call": [\n null,\n "Begin \'n oproep"\n ],\n "Start encrypted conversation": [\n null,\n "Begin versleutelde gesprek"\n ],\n "Verify with fingerprints": [\n null,\n "Bevestig met vingerafdrukke"\n ],\n "Verify with SMP": [\n null,\n "Bevestig met SMP"\n ],\n "What\'s this?": [\n null,\n "Wat is hierdie?"\n ],\n "Online": [\n null,\n "Aangemeld"\n ],\n "Busy": [\n null,\n "Besig"\n ],\n "Away": [\n null,\n "Afwesig"\n ],\n "Offline": [\n null,\n "Afgemeld"\n ],\n "Log out": [\n null,\n "Meld af"\n ],\n "Contact name": [\n null,\n "Kontaknaam"\n ],\n "Search": [\n null,\n "Soek"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Voeg by"\n ],\n "Click to add new chat contacts": [\n null,\n "Kliek om nuwe kletskontakte by te voeg"\n ],\n "Add a contact": [\n null,\n "Voeg \'n kontak by"\n ],\n "No users found": [\n null,\n "Geen gebruikers gevind"\n ],\n "Click to add as a chat contact": [\n null,\n "Kliek om as kletskontak by te voeg"\n ],\n "Room name": [\n null,\n "Kamer naam"\n ],\n "Nickname": [\n null,\n "Bynaam"\n ],\n "Server": [\n null,\n "Bediener"\n ],\n "Join Room": [\n null,\n "Betree kamer"\n ],\n "Show rooms": [\n null,\n "Wys kamers"\n ],\n "Rooms": [\n null,\n "Kamers"\n ],\n "No rooms on %1$s": [\n null,\n "Geen kamers op %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Kamers op %1$s"\n ],\n "Click to open this room": [\n null,\n "Kliek om hierdie kletskamer te open"\n ],\n "Show more information on this room": [\n null,\n "Wys meer inligting aangaande hierdie kletskamer"\n ],\n "Description:": [\n null,\n "Beskrywing:"\n ],\n "Occupants:": [\n null,\n "Deelnemers:"\n ],\n "Features:": [\n null,\n "Eienskappe:"\n ],\n "Requires authentication": [\n null,\n "Benodig magtiging"\n ],\n "Hidden": [\n null,\n "Verskuil"\n ],\n "Requires an invitation": [\n null,\n "Benodig \'n uitnodiging"\n ],\n "Moderated": [\n null,\n "Gemodereer"\n ],\n "Non-anonymous": [\n null,\n "Nie-anoniem"\n ],\n "Open room": [\n null,\n "Oop kletskamer"\n ],\n "Permanent room": [\n null,\n "Permanente kamer"\n ],\n "Public": [\n null,\n "Publiek"\n ],\n "Semi-anonymous": [\n null,\n "Deels anoniem"\n ],\n "Temporary room": [\n null,\n "Tydelike kamer"\n ],\n "Unmoderated": [\n null,\n "Ongemodereer"\n ],\n "This user is a moderator": [\n null,\n "Hierdie gebruiker is \'n moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Hierdie gebruiker kan boodskappe na die kamer stuur"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Hierdie gebruiker kan NIE boodskappe na die kamer stuur nie"\n ],\n "Invite...": [\n null,\n "Nooi uit..."\n ],\n "Occupants": [\n null,\n "Deelnemers"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "U is op die punt om %1$s na die kletskamer \\"%2$s\\" uit te nooi."\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "U mag na keuse \'n boodskap insluit, om bv. die rede vir die uitnodiging te staaf."\n ],\n "Message": [\n null,\n "Boodskap"\n ],\n "Error: could not execute the command": [\n null,\n "Fout: kon nie die opdrag uitvoer nie"\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Verban gebruiker uit hierdie kletskamer"\n ],\n "Change user role to participant": [\n null,\n "Verander gebruikersrol na deelnemer"\n ],\n "Kick user from room": [\n null,\n "Skop gebruiker uit hierdie kletskamer"\n ],\n "Write in 3rd person": [\n null,\n "Skryf in die derde persoon"\n ],\n "Grant membership to a user": [\n null,\n "Verleen lidmaatskap aan \'n gebruiker"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Verwyder gebruiker se vermoë om boodskappe te plaas"\n ],\n "Change your nickname": [\n null,\n "Verander u bynaam"\n ],\n "Grant moderator role to user": [\n null,\n "Verleen moderator rol aan gebruiker"\n ],\n "Grant ownership of this room": [\n null,\n "Verleen eienaarskap van hierdie kamer"\n ],\n "Revoke user\'s membership": [\n null,\n "Herroep gebruiker se lidmaatskap"\n ],\n "Set room topic": [\n null,\n "Stel onderwerp vir kletskamer"\n ],\n "Allow muted user to post messages": [\n null,\n "Laat stilgemaakte gebruiker toe om weer boodskappe te plaas"\n ],\n "Save": [\n null,\n "Stoor"\n ],\n "Cancel": [\n null,\n "Kanseleer"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "A fout het voorgekom terwyl probeer is om die vorm te stoor."\n ],\n "This chatroom requires a password": [\n null,\n "Hiedie kletskamer benodig \'n wagwoord"\n ],\n "Password: ": [\n null,\n "Wagwoord:"\n ],\n "Submit": [\n null,\n "Dien in"\n ],\n "This room is not anonymous": [\n null,\n "Hierdie vertrek is nie anoniem nie"\n ],\n "This room now shows unavailable members": [\n null,\n "Hierdie vertrek wys nou onbeskikbare lede"\n ],\n "This room does not show unavailable members": [\n null,\n "Hierdie vertrek wys nie onbeskikbare lede nie"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Nie-privaatheidverwante kamer instellings het verander"\n ],\n "Room logging is now enabled": [\n null,\n "Kamer log is nou aangeskakel"\n ],\n "Room logging is now disabled": [\n null,\n "Kamer log is nou afgeskakel"\n ],\n "This room is now non-anonymous": [\n null,\n "Hiedie kamer is nou nie anoniem nie"\n ],\n "This room is now semi-anonymous": [\n null,\n "Hierdie kamer is nou gedeeltelik anoniem"\n ],\n "This room is now fully-anonymous": [\n null,\n "Hierdie kamer is nou ten volle anoniem"\n ],\n "A new room has been created": [\n null,\n "\'n Nuwe kamer is geskep"\n ],\n "You have been banned from this room": [\n null,\n "Jy is uit die kamer verban"\n ],\n "You have been kicked from this room": [\n null,\n "Jy is uit die kamer geskop"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Jy is vanuit die kamer verwyder a.g.v \'n verandering van affiliasie"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Jy is vanuit die kamer verwyder omdat die kamer nou slegs tot lede beperk word en jy nie \'n lid is nie."\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Jy is van hierdie kamer verwyder aangesien die MUC (Multi-user chat) diens nou afgeskakel word."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> is verban"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "<strong>%1$s</strong> se bynaam het verander"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> is uitgeskop"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> is verwyder a.g.v \'n verandering van affiliasie"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> is nie \'n lid nie, en dus verwyder"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "U bynaam is outomaties verander na: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "U bynaam is verander na: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "Die gegewe rede is: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Jy is nie op die ledelys van hierdie kamer nie"\n ],\n "No nickname was specified": [\n null,\n "Geen bynaam verskaf nie"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Jy word nie toegelaat om nog kamers te skep nie"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Jou bynaam voldoen nie aan die kamer se beleid nie"\n ],\n "Your nickname is already taken": [\n null,\n "Jou bynaam is reeds geneem"\n ],\n "This room does not (yet) exist": [\n null,\n "Hierdie kamer bestaan tans (nog) nie"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Hierdie kamer het sy maksimum aantal deelnemers bereik"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Onderwerp deur %1$s bygewerk na: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s het u uitgenooi om die kletskamer %2$s te besoek"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s het u uitgenooi om die kletskamer %2$s te besoek, en het die volgende rede verskaf: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Kliek om hierdie klets te herstel"\n ],\n "Minimized": [\n null,\n "Geminimaliseer"\n ],\n "Click to remove this contact": [\n null,\n "Kliek om hierdie kontak te verwyder"\n ],\n "Click to accept this contact request": [\n null,\n "Kliek om hierdie kontakversoek te aanvaar"\n ],\n "Click to decline this contact request": [\n null,\n "Kliek om hierdie kontakversoek te weier"\n ],\n "Click to chat with this contact": [\n null,\n "Kliek om met hierdie kontak te klets"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Is u seker u wil hierdie gespreksmaat verwyder?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Is u seker dat u hierdie persoon se versoek wil afkeur?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Tik om te filtreer"\n ],\n "I am %1$s": [\n null,\n "Ek is %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Kliek hier om jou eie statusboodskap te skryf"\n ],\n "Click to change your chat status": [\n null,\n "Kliek om jou klets-status te verander"\n ],\n "Custom status": [\n null,\n "Doelgemaakte status"\n ],\n "online": [\n null,\n "aangemeld"\n ],\n "busy": [\n null,\n "besig"\n ],\n "away for long": [\n null,\n "vir lank afwesig"\n ],\n "away": [\n null,\n "afwesig"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "U XMPP-verskaffer se domein naam:"\n ],\n "Fetch registration form": [\n null,\n "Haal die registrasie form"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Wenk: A lys van publieke XMPP-verskaffers is beskikbaar"\n ],\n "here": [\n null,\n "hier"\n ],\n "Register": [\n null,\n "Registreer"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Jammer, die gekose verskaffer ondersteun nie in-band registrasie nie.Probeer weer met \'n ander verskaffer."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Vra tans die XMPP-bediener vir \'n registrasie vorm"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Iets het fout geloop tydens koppeling met \\"%1$s\\". Is u seker dat dit bestaan?"\n ],\n "Now logging you in": [\n null,\n "U word nou aangemeld"\n ],\n "Registered successfully": [\n null,\n "Suksesvol geregistreer"\n ],\n "Return": [\n null,\n "Terug"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "Die verskaffer het u registrasieversoek verwerp."\n ],\n "XMPP Username:": [\n null,\n "XMPP Gebruikersnaam:"\n ],\n "Password:": [\n null,\n "Wagwoord"\n ],\n "Click here to log in anonymously": [\n null,\n "Kliek hier om anoniem aan te meld"\n ],\n "Log In": [\n null,\n "Meld aan"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Teken in"\n ],\n "Toggle chat": [\n null,\n "Klets"\n ]\n }\n }\n}'}),define("text!de",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "de"\n },\n " e.g. conversejs.org": [\n null,\n "z. B. conversejs.org"\n ],\n "unencrypted": [\n null,\n "unverschlüsselt"\n ],\n "unverified": [\n null,\n "nicht verifiziert"\n ],\n "verified": [\n null,\n "verifiziert"\n ],\n "finished": [\n null,\n "erledigt"\n ],\n "This contact is busy": [\n null,\n "Dieser Kontakt ist beschäftigt"\n ],\n "This contact is online": [\n null,\n "Dieser Kontakt ist online"\n ],\n "This contact is offline": [\n null,\n "Dieser Kontakt ist offline"\n ],\n "This contact is unavailable": [\n null,\n "Dieser Kontakt ist nicht verfügbar"\n ],\n "This contact is away for an extended period": [\n null,\n "Dieser Kontakt ist für längere Zeit abwesend"\n ],\n "This contact is away": [\n null,\n "Dieser Kontakt ist abwesend"\n ],\n "Click to hide these contacts": [\n null,\n "Hier klicken um diese Kontakte zu verstecken"\n ],\n "My contacts": [\n null,\n "Meine Kontakte"\n ],\n "Pending contacts": [\n null,\n "Unbestätigte Kontakte"\n ],\n "Contact requests": [\n null,\n "Kontaktanfragen"\n ],\n "Ungrouped": [\n null,\n "Ungruppiert"\n ],\n "Contacts": [\n null,\n "Kontakte"\n ],\n "Groups": [\n null,\n "Gruppen"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Fehler"\n ],\n "Connecting": [\n null,\n "Verbindungsaufbau …"\n ],\n "Authenticating": [\n null,\n "Authentifizierung"\n ],\n "Authentication Failed": [\n null,\n "Authentifizierung gescheitert"\n ],\n "Re-establishing encrypted session": [\n null,\n "Verschlüsselte Sitzung wiederherstellen"\n ],\n "Generating private key.": [\n null,\n "Generiere privaten Schlüssel."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Ihr Browser könnte langsam reagieren."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Authentifizierungsanfrage von %1$s\\n\\nIhr Kontakt möchte durch die folgende Frage Ihre Identität verifizieren:\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Die Identität des Benutzers konnte nicht verifiziert werden."\n ],\n "Exchanging private key with contact.": [\n null,\n "Tausche private Schlüssel mit Kontakt aus."\n ],\n "Personal message": [\n null,\n "Persönliche Nachricht"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Sind Sie sicher, dass Sie alle Nachrichten in diesem Raum löschen möchten?"\n ],\n "me": [\n null,\n "Ich"\n ],\n "is typing": [\n null,\n "tippt"\n ],\n "has stopped typing": [\n null,\n "tippt nicht mehr"\n ],\n "has gone away": [\n null,\n "ist jetzt abwesend"\n ],\n "Show this menu": [\n null,\n "Dieses Menü anzeigen"\n ],\n "Write in the third person": [\n null,\n "In der dritten Person schreiben"\n ],\n "Remove messages": [\n null,\n "Nachrichten entfernen"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Sind Sie sicher, dass Sie alle Nachrichten dieses Chats löschen möchten?"\n ],\n "Your message could not be sent": [\n null,\n "Ihre Nachricht konnte nicht gesendet werden"\n ],\n "We received an unencrypted message": [\n null,\n "Wir haben eine unverschlüsselte Nachricht empfangen"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Wir haben eine unlesbare Nachricht empfangen"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "is busy": [\n null,\n "ist beschäftigt"\n ],\n "Your messages are not encrypted anymore": [\n null,\n ""\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n ""\n ],\n "Your contact\'s identify has been verified.": [\n null,\n ""\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n ""\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n ""\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n ""\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "Clear all messages": [\n null,\n "Alle Nachrichten löschen"\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "Teilnehmerliste ausblenden"\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n "Was ist das?"\n ],\n "Online": [\n null,\n "Online"\n ],\n "Busy": [\n null,\n "Beschäftigt"\n ],\n "Away": [\n null,\n "Abwesend"\n ],\n "Offline": [\n null,\n "Abgemeldet"\n ],\n "Log out": [\n null,\n "Abmelden"\n ],\n "Contact name": [\n null,\n "Name des Kontakts"\n ],\n "Search": [\n null,\n "Suche"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Hinzufügen"\n ],\n "Click to add new chat contacts": [\n null,\n "Hier klicken um neuen Kontakt hinzuzufügen"\n ],\n "Add a contact": [\n null,\n "Kontakt hinzufügen"\n ],\n "No users found": [\n null,\n "Keine Benutzer gefunden"\n ],\n "Click to add as a chat contact": [\n null,\n "Hier klicken um als Kontakt hinzuzufügen"\n ],\n "Room name": [\n null,\n "Raumname"\n ],\n "Nickname": [\n null,\n "Spitzname"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Join Room": [\n null,\n "Raum betreten"\n ],\n "Show rooms": [\n null,\n "Räume anzeigen"\n ],\n "Rooms": [\n null,\n "Räume"\n ],\n "No rooms on %1$s": [\n null,\n "Keine Räume auf %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Räume auf %1$s"\n ],\n "Click to open this room": [\n null,\n "Hier klicken um diesen Raum zu öffnen"\n ],\n "Show more information on this room": [\n null,\n "Mehr Information über diesen Raum zeigen"\n ],\n "Description:": [\n null,\n "Beschreibung"\n ],\n "Occupants:": [\n null,\n "Teilnehmer"\n ],\n "Features:": [\n null,\n "Funktionen:"\n ],\n "Requires authentication": [\n null,\n "Authentifizierung erforderlich"\n ],\n "Hidden": [\n null,\n "Versteckt"\n ],\n "Requires an invitation": [\n null,\n "Einladung erforderlich"\n ],\n "Moderated": [\n null,\n "Moderiert"\n ],\n "Non-anonymous": [\n null,\n "Nicht anonym"\n ],\n "Open room": [\n null,\n "Offener Raum"\n ],\n "Permanent room": [\n null,\n "Dauerhafter Raum"\n ],\n "Public": [\n null,\n "Öffentlich"\n ],\n "Semi-anonymous": [\n null,\n "Teils anonym"\n ],\n "Temporary room": [\n null,\n "Vorübergehender Raum"\n ],\n "Unmoderated": [\n null,\n "Unmoderiert"\n ],\n "This user is a moderator": [\n null,\n "Dieser Benutzer ist ein Moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Dieser Benutzer kann Nachrichten in diesem Raum verschicken"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Dieser Benutzer kann keine Nachrichten in diesem Raum verschicken"\n ],\n "Invite...": [\n null,\n "Einladen..."\n ],\n "Occupants": [\n null,\n "Teilnehmer"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Nachricht"\n ],\n "Error: could not execute the command": [\n null,\n "Fehler: Konnte den Befehl nicht ausführen"\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Verbanne einen Benutzer aus dem Raum."\n ],\n "Change user role to participant": [\n null,\n "Benutzerrolle zu Teilnehmer ändern"\n ],\n "Kick user from room": [\n null,\n "Werfe einen Benutzer aus dem Raum."\n ],\n "Write in 3rd person": [\n null,\n "In der dritten Person schreiben"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n "Spitznamen ändern"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Grant ownership of this room": [\n null,\n "Besitzrechte an diesem Raum vergeben"\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Chatraum Thema festlegen"\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Speichern"\n ],\n "Cancel": [\n null,\n "Abbrechen"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Beim Speichern des Formulars ist ein Fehler aufgetreten."\n ],\n "This chatroom requires a password": [\n null,\n "Dieser Raum erfordert ein Passwort"\n ],\n "Password: ": [\n null,\n "Passwort: "\n ],\n "Submit": [\n null,\n "Abschicken"\n ],\n "This room is not anonymous": [\n null,\n "Dieser Raum ist nicht anonym"\n ],\n "This room now shows unavailable members": [\n null,\n "Dieser Raum zeigt jetzt nicht verfügbare Mitglieder an"\n ],\n "This room does not show unavailable members": [\n null,\n "Dieser Raum zeigt jetzt nicht verfügbare Mitglieder nicht an"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Die Raumkonfiguration hat sich geändert (nicht Privatsphäre relevant)"\n ],\n "Room logging is now enabled": [\n null,\n "Nachrichten in diesem Raum werden ab jetzt protokolliert."\n ],\n "Room logging is now disabled": [\n null,\n "Nachrichten in diesem Raum werden nicht mehr protokolliert."\n ],\n "This room is now non-anonymous": [\n null,\n "Dieser Raum ist jetzt nicht anonym"\n ],\n "This room is now semi-anonymous": [\n null,\n "Dieser Raum ist jetzt teils anonym"\n ],\n "This room is now fully-anonymous": [\n null,\n "Dieser Raum ist jetzt anonym"\n ],\n "A new room has been created": [\n null,\n "Ein neuer Raum wurde erstellt"\n ],\n "You have been banned from this room": [\n null,\n "Sie sind aus diesem Raum verbannt worden"\n ],\n "You have been kicked from this room": [\n null,\n "Sie wurden aus diesem Raum hinausgeworfen"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Sie wurden wegen einer Zugehörigkeitsänderung entfernt"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Sie wurden aus diesem Raum entfernt, da Sie kein Mitglied sind."\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Sie wurden aus diesem Raum entfernt, da der MUC (Multi-User Chat) Dienst gerade heruntergefahren wird."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> ist verbannt worden"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "<strong>%1$s</strong> hat den Spitznamen geändert"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> wurde hinausgeworfen"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> wurde wegen einer Zugehörigkeitsänderung entfernt"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> ist kein Mitglied und wurde daher entfernt"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "Ihr Spitzname wurde automatisiert geändert zu: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "Ihr Spitzname wurde geändert zu: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "Die angegebene Begründung lautet: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Sie sind nicht auf der Mitgliederliste dieses Raums"\n ],\n "No nickname was specified": [\n null,\n "Kein Spitzname festgelegt"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Es ist Ihnen nicht erlaubt neue Räume anzulegen"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Ungültiger Spitzname"\n ],\n "Your nickname is already taken": [\n null,\n "Ihre Spitzname existiert bereits."\n ],\n "This room does not (yet) exist": [\n null,\n "Dieser Raum existiert (noch) nicht"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Dieser Raum hat die maximale Mitgliederanzahl erreicht"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "%1$s hat das Thema zu \\"%2$s\\" geändert"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s hat Sie in den Raum \\"%2$s\\" eingeladen"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s hat Sie in den Raum \\"%2$s\\" eingeladen. Begründung: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Hier klicken um diesen Chat wiederherzustellen"\n ],\n "Minimized": [\n null,\n "Minimiert"\n ],\n "Click to remove this contact": [\n null,\n "Hier klicken um diesen Kontakt zu entfernen"\n ],\n "Click to accept this contact request": [\n null,\n "Hier klicken um diese Kontaktanfrage zu akzeptieren"\n ],\n "Click to decline this contact request": [\n null,\n "Hier klicken um diese Kontaktanfrage zu abzulehnen"\n ],\n "Click to chat with this contact": [\n null,\n "Hier klicken um mit diesem Kontakt zu chatten"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Wollen Sie diesen Kontakt wirklich entfernen?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Wollen Sie diese Kontaktanfrage wirklich ablehnen?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Tippen um zu filtern"\n ],\n "I am %1$s": [\n null,\n "Ich bin %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Hier klicken um Statusnachricht zu ändern"\n ],\n "Click to change your chat status": [\n null,\n "Hier klicken um Status zu ändern"\n ],\n "Custom status": [\n null,\n "Statusnachricht"\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "beschäftigt"\n ],\n "away for long": [\n null,\n "länger abwesend"\n ],\n "away": [\n null,\n "abwesend"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n "Zurück"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "XMPP Username:": [\n null,\n "XMPP Benutzername"\n ],\n "Password:": [\n null,\n "Passwort:"\n ],\n "Click here to log in anonymously": [\n null,\n "Hier klicken um anonym anzumelden"\n ],\n "Log In": [\n null,\n "Anmelden"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Anmelden"\n ],\n "Toggle chat": [\n null,\n "Chat ein-/ausblenden"\n ]\n }\n }\n}'}),define("text!en",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "en"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n ""\n ],\n "unverified": [\n null,\n ""\n ],\n "verified": [\n null,\n ""\n ],\n "finished": [\n null,\n ""\n ],\n "This contact is busy": [\n null,\n ""\n ],\n "This contact is online": [\n null,\n ""\n ],\n "This contact is offline": [\n null,\n ""\n ],\n "This contact is unavailable": [\n null,\n ""\n ],\n "This contact is away for an extended period": [\n null,\n ""\n ],\n "This contact is away": [\n null,\n ""\n ],\n "Click to hide these contacts": [\n null,\n ""\n ],\n "My contacts": [\n null,\n ""\n ],\n "Pending contacts": [\n null,\n ""\n ],\n "Contact requests": [\n null,\n ""\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n ""\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n ""\n ],\n "Connecting": [\n null,\n ""\n ],\n "Authenticating": [\n null,\n ""\n ],\n "Authentication Failed": [\n null,\n ""\n ],\n "Re-establishing encrypted session": [\n null,\n ""\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n ""\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Personal message": [\n null,\n ""\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n ""\n ],\n "me": [\n null,\n ""\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "has gone away": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Show this menu"\n ],\n "Write in the third person": [\n null,\n "Write in the third person"\n ],\n "Remove messages": [\n null,\n "Remove messages"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n ""\n ],\n "We received an unencrypted message": [\n null,\n ""\n ],\n "We received an unreadable encrypted message": [\n null,\n ""\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "has gone offline": [\n null,\n ""\n ],\n "is busy": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n ""\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n ""\n ],\n "Your contact\'s identify has been verified.": [\n null,\n ""\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n ""\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n ""\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n ""\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "Clear all messages": [\n null,\n ""\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n ""\n ],\n "Online": [\n null,\n ""\n ],\n "Busy": [\n null,\n ""\n ],\n "Away": [\n null,\n ""\n ],\n "Offline": [\n null,\n ""\n ],\n "Log out": [\n null,\n ""\n ],\n "Contact name": [\n null,\n ""\n ],\n "Search": [\n null,\n ""\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n ""\n ],\n "Click to add new chat contacts": [\n null,\n ""\n ],\n "Add a contact": [\n null,\n ""\n ],\n "No users found": [\n null,\n ""\n ],\n "Click to add as a chat contact": [\n null,\n ""\n ],\n "Room name": [\n null,\n ""\n ],\n "Nickname": [\n null,\n ""\n ],\n "Server": [\n null,\n "Server"\n ],\n "Join Room": [\n null,\n ""\n ],\n "Show rooms": [\n null,\n ""\n ],\n "Rooms": [\n null,\n ""\n ],\n "No rooms on %1$s": [\n null,\n ""\n ],\n "Rooms on %1$s": [\n null,\n "Rooms on %1$s"\n ],\n "Click to open this room": [\n null,\n "Click to open this room"\n ],\n "Show more information on this room": [\n null,\n "Show more information on this room"\n ],\n "Description:": [\n null,\n "Description:"\n ],\n "Occupants:": [\n null,\n "Occupants:"\n ],\n "Features:": [\n null,\n "Features:"\n ],\n "Requires authentication": [\n null,\n "Requires authentication"\n ],\n "Hidden": [\n null,\n "Hidden"\n ],\n "Requires an invitation": [\n null,\n "Requires an invitation"\n ],\n "Moderated": [\n null,\n "Moderated"\n ],\n "Non-anonymous": [\n null,\n "Non-anonymous"\n ],\n "Open room": [\n null,\n "Open room"\n ],\n "Permanent room": [\n null,\n "Permanent room"\n ],\n "Public": [\n null,\n "Public"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonymous"\n ],\n "Temporary room": [\n null,\n "Temporary room"\n ],\n "Unmoderated": [\n null,\n "Unmoderated"\n ],\n "This user is a moderator": [\n null,\n "This user is a moderator"\n ],\n "This user can send messages in this room": [\n null,\n "This user can send messages in this room"\n ],\n "This user can NOT send messages in this room": [\n null,\n "This user can NOT send messages in this room"\n ],\n "Invite...": [\n null,\n ""\n ],\n "Occupants": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Message"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Kick user from room": [\n null,\n ""\n ],\n "Write in 3rd person": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Grant ownership of this room": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Save"\n ],\n "Cancel": [\n null,\n "Cancel"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "An error occurred while trying to save the form."\n ],\n "This chatroom requires a password": [\n null,\n "This chatroom requires a password"\n ],\n "Password: ": [\n null,\n "Password: "\n ],\n "Submit": [\n null,\n "Submit"\n ],\n "This room is not anonymous": [\n null,\n "This room is not anonymous"\n ],\n "This room now shows unavailable members": [\n null,\n "This room now shows unavailable members"\n ],\n "This room does not show unavailable members": [\n null,\n "This room does not show unavailable members"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Non-privacy-related room configuration has changed"\n ],\n "Room logging is now enabled": [\n null,\n "Room logging is now enabled"\n ],\n "Room logging is now disabled": [\n null,\n "Room logging is now disabled"\n ],\n "This room is now non-anonymous": [\n null,\n "This room is now non-anonymous"\n ],\n "This room is now semi-anonymous": [\n null,\n "This room is now semi-anonymous"\n ],\n "This room is now fully-anonymous": [\n null,\n "This room is now fully-anonymous"\n ],\n "A new room has been created": [\n null,\n "A new room has been created"\n ],\n "You have been banned from this room": [\n null,\n "You have been banned from this room"\n ],\n "You have been kicked from this room": [\n null,\n "You have been kicked from this room"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "You have been removed from this room because of an affiliation change"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "You have been removed from this room because the room has changed to members-only and you\'re not a member"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> has been banned"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n ""\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> has been kicked out"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> has been removed because of an affiliation change"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> has been removed for not being a member"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n ""\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n ""\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "You are not on the member list of this room"\n ],\n "No nickname was specified": [\n null,\n "No nickname was specified"\n ],\n "You are not allowed to create new rooms": [\n null,\n "You are not allowed to create new rooms"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Your nickname doesn\'t conform to this room\'s policies"\n ],\n "Your nickname is already taken": [\n null,\n "Your nickname is already taken"\n ],\n "This room does not (yet) exist": [\n null,\n "This room does not (yet) exist"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "This room has reached it\'s maximum number of occupants"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topic set by %1$s to: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Click to restore this chat": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Click to remove this contact"\n ],\n "Click to accept this contact request": [\n null,\n ""\n ],\n "Click to decline this contact request": [\n null,\n ""\n ],\n "Click to chat with this contact": [\n null,\n "Click to chat with this contact"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "I am %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Click here to write a custom status message"\n ],\n "Click to change your chat status": [\n null,\n "Click to change your chat status"\n ],\n "Custom status": [\n null,\n "Custom status"\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "busy"\n ],\n "away for long": [\n null,\n "away for long"\n ],\n "away": [\n null,\n "away"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "XMPP Username:": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Password:"\n ],\n "Click here to log in anonymously": [\n null,\n "This room is not anonymous"\n ],\n "Log In": [\n null,\n "Log In"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Sign in"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!es",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "es"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "texto plano"\n ],\n "unverified": [\n null,\n "sin verificar"\n ],\n "verified": [\n null,\n "verificado"\n ],\n "finished": [\n null,\n "finalizado"\n ],\n "This contact is busy": [\n null,\n "Este contacto está ocupado"\n ],\n "This contact is online": [\n null,\n "Este contacto está en línea"\n ],\n "This contact is offline": [\n null,\n "Este contacto está desconectado"\n ],\n "This contact is unavailable": [\n null,\n "Este contacto no está disponible"\n ],\n "This contact is away for an extended period": [\n null,\n "Este contacto está ausente por un largo periodo de tiempo"\n ],\n "This contact is away": [\n null,\n "Este contacto está ausente"\n ],\n "My contacts": [\n null,\n "Mis contactos"\n ],\n "Pending contacts": [\n null,\n "Contactos pendientes"\n ],\n "Contact requests": [\n null,\n "Solicitudes de contacto"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contactos"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Error"\n ],\n "Connecting": [\n null,\n "Conectando"\n ],\n "Authenticating": [\n null,\n "Autenticando"\n ],\n "Authentication Failed": [\n null,\n "La autenticación falló"\n ],\n "Re-establishing encrypted session": [\n null,\n "Re-estableciendo sesión cifrada"\n ],\n "Generating private key.": [\n null,\n "Generando llave privada"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Su navegador podría dejar de responder por un momento"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "No se pudo verificar la identidad de este usuario"\n ],\n "Personal message": [\n null,\n "Mensaje personal"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "¿Está seguro de querer limpiar los mensajes de esta sala?"\n ],\n "me": [\n null,\n "yo"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Mostrar este menú"\n ],\n "Write in the third person": [\n null,\n "Escribir en tercera persona"\n ],\n "Remove messages": [\n null,\n "Eliminar mensajes"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "¿Está seguro de querer limpiar los mensajes de esta conversación?"\n ],\n "Your message could not be sent": [\n null,\n "Su mensaje no se pudo enviar"\n ],\n "We received an unencrypted message": [\n null,\n "Se recibío un mensaje sin cifrar"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Se recibío un mensaje cifrado corrupto"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Por favor confirme los identificadores de %1$s fuera de este chat.\\n\\nSu identificador es, %2$s: %3$s\\n\\nEl identificador de %1$s es: %4$s\\n\\nDespués de confirmar los identificadores haga click en OK, cancele si no concuerdan."\n ],\n "What is your security question?": [\n null,\n "Introduzca su pregunta de seguridad"\n ],\n "What is the answer to the security question?": [\n null,\n "Introduzca la respuesta a su pregunta de seguridad"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Esquema de autenticación inválido"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Sus mensajes han dejado de cifrarse"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Sus mensajes no están cifrados. Haga click aquí para habilitar el cifrado OTR"\n ],\n "End encrypted conversation": [\n null,\n "Finalizar sesión cifrada"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Actualizar sesión cifrada"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Iniciar sesión cifrada"\n ],\n "Verify with fingerprints": [\n null,\n "Verificar con identificadores"\n ],\n "Verify with SMP": [\n null,\n "Verificar con SMP"\n ],\n "What\'s this?": [\n null,\n "¿Qué es esto?"\n ],\n "Online": [\n null,\n "En línea"\n ],\n "Busy": [\n null,\n "Ocupado"\n ],\n "Away": [\n null,\n "Ausente"\n ],\n "Offline": [\n null,\n "Desconectado"\n ],\n "Contact name": [\n null,\n "Nombre de contacto"\n ],\n "Search": [\n null,\n "Búsqueda"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Agregar"\n ],\n "Click to add new chat contacts": [\n null,\n "Haga click para agregar nuevos contactos al chat"\n ],\n "Add a contact": [\n null,\n "Agregar un contacto"\n ],\n "No users found": [\n null,\n "Sin usuarios encontrados"\n ],\n "Click to add as a chat contact": [\n null,\n "Haga click para agregar como contacto de chat"\n ],\n "Room name": [\n null,\n "Nombre de sala"\n ],\n "Nickname": [\n null,\n "Apodo"\n ],\n "Server": [\n null,\n "Servidor"\n ],\n "Show rooms": [\n null,\n "Mostrar salas"\n ],\n "Rooms": [\n null,\n "Salas"\n ],\n "No rooms on %1$s": [\n null,\n "Sin salas en %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Salas en %1$s"\n ],\n "Click to open this room": [\n null,\n "Haga click para abrir esta sala"\n ],\n "Show more information on this room": [\n null,\n "Mostrar más información en esta sala"\n ],\n "Description:": [\n null,\n "Descripción"\n ],\n "Occupants:": [\n null,\n "Ocupantes:"\n ],\n "Features:": [\n null,\n "Características:"\n ],\n "Requires authentication": [\n null,\n "Autenticación requerida"\n ],\n "Hidden": [\n null,\n "Oculto"\n ],\n "Requires an invitation": [\n null,\n "Requiere una invitación"\n ],\n "Moderated": [\n null,\n "Moderado"\n ],\n "Non-anonymous": [\n null,\n "No anónimo"\n ],\n "Open room": [\n null,\n "Abrir sala"\n ],\n "Permanent room": [\n null,\n "Sala permanente"\n ],\n "Public": [\n null,\n "Pública"\n ],\n "Semi-anonymous": [\n null,\n "Semi anónimo"\n ],\n "Temporary room": [\n null,\n "Sala temporal"\n ],\n "Unmoderated": [\n null,\n "Sin moderar"\n ],\n "This user is a moderator": [\n null,\n "Este usuario es un moderador"\n ],\n "This user can send messages in this room": [\n null,\n "Este usuario puede enviar mensajes en esta sala"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Este usuario NO puede enviar mensajes en esta"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Mensaje"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Guardar"\n ],\n "Cancel": [\n null,\n "Cancelar"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Un error ocurrío mientras se guardaba el formulario."\n ],\n "This chatroom requires a password": [\n null,\n "Esta sala de chat requiere una contraseña."\n ],\n "Password: ": [\n null,\n "Contraseña: "\n ],\n "Submit": [\n null,\n "Enviar"\n ],\n "This room is not anonymous": [\n null,\n "Esta sala no es para usuarios anónimos"\n ],\n "This room now shows unavailable members": [\n null,\n "Esta sala ahora muestra los miembros no disponibles"\n ],\n "This room does not show unavailable members": [\n null,\n "Esta sala no muestra los miembros no disponibles"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Una configuración de la sala no relacionada con la privacidad ha sido cambiada"\n ],\n "Room logging is now enabled": [\n null,\n "El registro de la sala ahora está habilitado"\n ],\n "Room logging is now disabled": [\n null,\n "El registro de la sala ahora está deshabilitado"\n ],\n "This room is now non-anonymous": [\n null,\n "Esta sala ahora es pública"\n ],\n "This room is now semi-anonymous": [\n null,\n "Esta sala ahora es semi-anónima"\n ],\n "This room is now fully-anonymous": [\n null,\n "Esta sala ahora es completamente anónima"\n ],\n "A new room has been created": [\n null,\n "Una nueva sala ha sido creada"\n ],\n "You have been banned from this room": [\n null,\n "Usted ha sido bloqueado de esta sala"\n ],\n "You have been kicked from this room": [\n null,\n "Usted ha sido expulsado de esta sala"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Usted ha sido eliminado de esta sala debido a un cambio de afiliación"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Usted ha sido eliminado de esta sala debido a que la sala cambio su configuración a solo-miembros y usted no es un miembro"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Usted ha sido eliminado de esta sala debido a que el servicio MUC (Multi-user chat) está deshabilitado."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> ha sido bloqueado"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> ha sido expulsado"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> ha sido eliminado debido a un cambio de afiliación"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> ha sido eliminado debido a que no es miembro"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Usted no está en la lista de miembros de esta sala"\n ],\n "No nickname was specified": [\n null,\n "Sin apodo especificado"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Usted no esta autorizado para crear nuevas salas"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Su apodo no se ajusta a la política de esta sala"\n ],\n "Your nickname is already taken": [\n null,\n "Su apodo ya ha sido tomando por otro usuario"\n ],\n "This room does not (yet) exist": [\n null,\n "Esta sala (aún) no existe"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Esta sala ha alcanzado su número máximo de ocupantes"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Tema fijado por %1$s a: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Click to restore this chat": [\n null,\n "Haga click para eliminar este contacto"\n ],\n "Minimized": [\n null,\n "Minimizado"\n ],\n "Click to remove this contact": [\n null,\n "Haga click para eliminar este contacto"\n ],\n "Click to chat with this contact": [\n null,\n "Haga click para conversar con este contacto"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "¿Esta seguro de querer eliminar este contacto?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Estoy %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Haga click para escribir un mensaje de estatus personalizado"\n ],\n "Click to change your chat status": [\n null,\n "Haga click para cambiar su estatus de chat"\n ],\n "Custom status": [\n null,\n "Personalizar estatus"\n ],\n "online": [\n null,\n "en línea"\n ],\n "busy": [\n null,\n "ocupado"\n ],\n "away for long": [\n null,\n "ausente por mucho tiempo"\n ],\n "away": [\n null,\n "ausente"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Contraseña:"\n ],\n "Log In": [\n null,\n "Iniciar sesión"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Registrar"\n ],\n "Toggle chat": [\n null,\n "Chat"\n ]\n }\n }\n}'}),define("text!fr",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "fr"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "non crypté"\n ],\n "unverified": [\n null,\n "non vérifié"\n ],\n "verified": [\n null,\n "vérifié"\n ],\n "finished": [\n null,\n "terminé"\n ],\n "This contact is busy": [\n null,\n "Ce contact est occupé"\n ],\n "This contact is online": [\n null,\n "Ce contact est connecté"\n ],\n "This contact is offline": [\n null,\n "Ce contact est déconnecté"\n ],\n "This contact is unavailable": [\n null,\n "Ce contact est indisponible"\n ],\n "This contact is away for an extended period": [\n null,\n "Ce contact est absent"\n ],\n "This contact is away": [\n null,\n "Ce contact est absent"\n ],\n "Click to hide these contacts": [\n null,\n "Cliquez pour cacher ces contacts"\n ],\n "My contacts": [\n null,\n "Mes contacts"\n ],\n "Pending contacts": [\n null,\n "Contacts en attente"\n ],\n "Contact requests": [\n null,\n "Demandes de contacts"\n ],\n "Ungrouped": [\n null,\n "Sans groupe"\n ],\n "Contacts": [\n null,\n "Contacts"\n ],\n "Groups": [\n null,\n "Groupes"\n ],\n "Reconnecting": [\n null,\n "Reconnexion"\n ],\n "Error": [\n null,\n "Erreur"\n ],\n "Connecting": [\n null,\n "Connexion"\n ],\n "Authenticating": [\n null,\n "Authentification"\n ],\n "Authentication Failed": [\n null,\n "L\'authentification a échoué"\n ],\n "Re-establishing encrypted session": [\n null,\n "Rétablissement de la session encryptée"\n ],\n "Generating private key.": [\n null,\n "Génération de la clé privée"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Votre navigateur pourrait ne plus répondre"\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Demande d\'authentification de %1$s\\n\\nVotre contact tente de vérifier votre identité, en vous posant la question ci-dessous.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "L\'identité de cet utilisateur ne peut pas être vérifiée"\n ],\n "Exchanging private key with contact.": [\n null,\n "Échange de clé privée avec le contact"\n ],\n "Personal message": [\n null,\n "Message personnel"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Etes-vous sûr de vouloir supprimer les messages de ce salon ?"\n ],\n "me": [\n null,\n "moi"\n ],\n "is typing": [\n null,\n "écrit"\n ],\n "has stopped typing": [\n null,\n "a arrêté d\'écrire"\n ],\n "has gone away": [\n null,\n "est parti"\n ],\n "Show this menu": [\n null,\n "Afficher ce menu"\n ],\n "Write in the third person": [\n null,\n "Écrire à la troisième personne"\n ],\n "Remove messages": [\n null,\n "Effacer les messages"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Êtes-vous sûr de vouloir supprimer les messages de cette conversation?"\n ],\n "Your message could not be sent": [\n null,\n "Votre message ne peut pas être envoyé"\n ],\n "We received an unencrypted message": [\n null,\n "Un message non crypté a été reçu"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Un message crypté illisible a été reçu"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Voici les empreintes de sécurité, veuillez les confirmer avec %1$s, en dehors de ce chat.\\n\\nEmpreinte pour vous, %2$s: %3$s\\n\\nEmpreinte pour %1$s: %4$s\\n\\nSi vous avez confirmé que les empreintes correspondent, cliquez OK, sinon cliquez Annuler."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Vous allez être invité à fournir une question de sécurité et une réponse à cette question.\\n\\nVotre contact devra répondre à la même question et s\'il fournit la même réponse (sensible à la casse), son identité sera vérifiée."\n ],\n "What is your security question?": [\n null,\n "Quelle est votre question de sécurité?"\n ],\n "What is the answer to the security question?": [\n null,\n "Quelle est la réponse à la question de sécurité?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Schéma d\'authentification fourni non valide"\n ],\n "has gone offline": [\n null,\n "s\'est déconnecté"\n ],\n "is busy": [\n null,\n "est occupé"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Vos messages ne sont plus cryptés"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Vos messages sont maintenant cryptés mais l\'identité de votre contact n\'a pas econre été véfifiée"\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "L\'identité de votre contact a été vérifiée"\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Votre contact a arrêté le cryptage de son côté, vous devriez le faire aussi"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Vos messges ne sont pas cryptés. Cliquez ici pour activer le cryptage OTR"\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Vos messges sont cryptés, mais votre contact n\'a pas été vérifié\\n\\n#: converse.js:1556\\nmsgid ",\n "Vous vous apprêtez à inviter %1$s dans le salon \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Vous pouvez facultativement ajouter un message, expliquant la raison de cette invitation."\n ],\n "Message": [\n null,\n "Message"\n ],\n "Error: could not execute the command": [\n null,\n "Erreur: la commande ne peut pas être exécutée"\n ],\n "Change user\'s affiliation to admin": [\n null,\n "Changer le rôle de l\'utilisateur en administrateur"\n ],\n "Ban user from room": [\n null,\n "Bannir l\'utilisateur du salon"\n ],\n "Change user role to participant": [\n null,\n "Changer le rôle de l\'utilisateur en participant"\n ],\n "Kick user from room": [\n null,\n "Expulser l\'utilisateur du salon"\n ],\n "Write in 3rd person": [\n null,\n "Écrire à la troisième personne"\n ],\n "Grant membership to a user": [\n null,\n "Autoriser l\'utilisateur à être membre"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Retirer le droit d\'envoyer des messages"\n ],\n "Change your nickname": [\n null,\n "Changer votre alias"\n ],\n "Grant moderator role to user": [\n null,\n "Changer le rôle de l\'utilisateur en modérateur"\n ],\n "Grant ownership of this room": [\n null,\n "Accorder la propriété à ce salon"\n ],\n "Revoke user\'s membership": [\n null,\n "Révoquer l\'utilisateur des membres"\n ],\n "Set room topic": [\n null,\n "Indiquer le sujet du salon"\n ],\n "Allow muted user to post messages": [\n null,\n "Autoriser les utilisateurs muets à poster des messages"\n ],\n "Save": [\n null,\n "Enregistrer"\n ],\n "Cancel": [\n null,\n "Annuler"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Une erreur est survenue lors de l\'enregistrement du formulaire."\n ],\n "This chatroom requires a password": [\n null,\n "Ce salon nécessite un mot de passe."\n ],\n "Password: ": [\n null,\n "Mot de passe: "\n ],\n "Submit": [\n null,\n "Soumettre"\n ],\n "This room is not anonymous": [\n null,\n "Ce salon n\'est pas anonyme"\n ],\n "This room now shows unavailable members": [\n null,\n "Ce salon affiche maintenant les membres indisponibles"\n ],\n "This room does not show unavailable members": [\n null,\n "Ce salon n\'affiche pas les membres indisponibles"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Les paramètres du salon non liés à la confidentialité ont été modifiés"\n ],\n "Room logging is now enabled": [\n null,\n "Le logging du salon est activé"\n ],\n "Room logging is now disabled": [\n null,\n "Le logging du salon est désactivé"\n ],\n "This room is now non-anonymous": [\n null,\n "Ce salon est maintenant non-anonyme"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ce salon est maintenant semi-anonyme"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ce salon est maintenant entièrement anonyme"\n ],\n "A new room has been created": [\n null,\n "Un nouveau salon a été créé"\n ],\n "You have been banned from this room": [\n null,\n "Vous avez été banni de ce salon"\n ],\n "You have been kicked from this room": [\n null,\n "Vous avez été expulsé de ce salon"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Vous avez été retiré de ce salon du fait d\'un changement d\'affiliation"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Vous avez été retiré de ce salon parce que ce salon est devenu réservé aux membres et vous n\'êtes pas membre"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Vous avez été retiré de ce salon parce que le service de chat multi-utilisateur a été désactivé."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> a été banni"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "<strong>%1$s</strong> a changé son nom"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> a été expulsé"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> a été supprimé à cause d\'un changement d\'affiliation"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> a été supprimé car il n\'est pas membre"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "Votre alias a été modifié automatiquement en: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "Votre alias a été modifié en: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "La raison indiquée est: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Vous n\'êtes pas dans la liste des membres de ce salon"\n ],\n "No nickname was specified": [\n null,\n "Aucun alias n\'a été indiqué"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Vous n\'êtes pas autorisé à créer des salons"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Votre alias n\'est pas conforme à la politique de ce salon"\n ],\n "Your nickname is already taken": [\n null,\n "Votre alias est déjà utilisé"\n ],\n "This room does not (yet) exist": [\n null,\n "Ce salon n\'existe pas encore"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ce salon a atteint la limite maximale d\'occupants"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Le sujet \'%2$s\' a été défini par %1$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s vous invite à rejoindre le salon: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s vous invite à rejoindre le salon: %2$s, avec le message suivant:\\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Cliquez pour afficher cette discussion"\n ],\n "Minimized": [\n null,\n "Réduit(s)"\n ],\n "Click to remove this contact": [\n null,\n "Cliquez pour supprimer ce contact"\n ],\n "Click to accept this contact request": [\n null,\n "Cliquez pour accepter la demande de ce contact"\n ],\n "Click to decline this contact request": [\n null,\n "Cliquez pour refuser la demande de ce contact"\n ],\n "Click to chat with this contact": [\n null,\n "Cliquez pour discuter avec ce contact"\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Êtes-vous sûr de vouloir supprimer ce contact?"\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Êtes-vous sûr de vouloir refuser la demande de ce contact?"\n ],\n "Type to filter": [\n null,\n "Filtrer"\n ],\n "I am %1$s": [\n null,\n "Je suis %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Cliquez ici pour indiquer votre statut personnel"\n ],\n "Click to change your chat status": [\n null,\n "Cliquez pour changer votre statut"\n ],\n "Custom status": [\n null,\n "Statut personnel"\n ],\n "online": [\n null,\n "en ligne"\n ],\n "busy": [\n null,\n "occupé"\n ],\n "away for long": [\n null,\n "absent pour une longue durée"\n ],\n "away": [\n null,\n "absent"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Votre domaine XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Récupération du formulaire d\'enregistrement"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Astuce: Une liste publique de fournisseurs XMPP est disponible"\n ],\n "here": [\n null,\n "ici"\n ],\n "Register": [\n null,\n "S\'enregistrer"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Désolé, le fournisseur indiqué ne supporte pas l\'enregistrement de compte en ligne. Merci d\'essayer avec un autre fournisseur."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Demande du formulaire enregistrement au serveur XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Quelque chose a échoué lors de l\'établissement de la connexion avec \\"%1$s\\". Êtes-vous sure qu\'il existe ?"\n ],\n "Now logging you in": [\n null,\n "En cours de connexion"\n ],\n "Registered successfully": [\n null,\n "Enregistré avec succès"\n ],\n "Return": [\n null,\n "Retourner"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "Le fournisseur a rejeté votre demande d\'enregistrement. "\n ],\n "XMPP Username:": [\n null,\n "Nom d\'utilisateur XMPP/Jabber"\n ],\n "Password:": [\n null,\n "Mot de passe:"\n ],\n "Click here to log in anonymously": [\n null,\n "Cliquez ici pour se connecter anonymement"\n ],\n "Log In": [\n null,\n "Se connecter"\n ],\n "Sign in": [\n null,\n "S\'inscrire"\n ],\n "Toggle chat": [\n null,\n "Ouvrir IM"\n ]\n }\n }\n}'}),define("text!he",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "he"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "לא מוצפנת"\n ],\n "unverified": [\n null,\n "לא מאומתת"\n ],\n "verified": [\n null,\n "מאומתת"\n ],\n "finished": [\n null,\n "מוגמרת"\n ],\n "This contact is busy": [\n null,\n "איש קשר זה עסוק"\n ],\n "This contact is online": [\n null,\n "איש קשר זה מקוון"\n ],\n "This contact is offline": [\n null,\n "איש קשר זה לא מקוון"\n ],\n "This contact is unavailable": [\n null,\n "איש קשר זה לא זמין"\n ],\n "This contact is away for an extended period": [\n null,\n "איש קשר זה נעדר למשך זמן ממושך"\n ],\n "This contact is away": [\n null,\n "איש קשר זה הינו נעדר"\n ],\n "Click to hide these contacts": [\n null,\n "לחץ כדי להסתיר את אנשי קשר אלה"\n ],\n "My contacts": [\n null,\n "האנשי קשר שלי"\n ],\n "Pending contacts": [\n null,\n "אנשי קשר ממתינים"\n ],\n "Contact requests": [\n null,\n "בקשות איש קשר"\n ],\n "Ungrouped": [\n null,\n "ללא קבוצה"\n ],\n "Contacts": [\n null,\n "אנשי קשר"\n ],\n "Groups": [\n null,\n "קבוצות"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "שגיאה"\n ],\n "Connecting": [\n null,\n "כעת מתחבר"\n ],\n "Authenticating": [\n null,\n "כעת מאמת"\n ],\n "Authentication Failed": [\n null,\n "אימות נכשל"\n ],\n "Re-establishing encrypted session": [\n null,\n "בסס מחדש ישיבה מוצפנת"\n ],\n "Generating private key.": [\n null,\n "כעת מפיק מפתח פרטי."\n ],\n "Your browser might become unresponsive.": [\n null,\n "הדפדפן שלך עשוי שלא להגיב."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "בקשת אימות מאת %1$s\\n\\nהאיש קשר שלך מנסה לאמת את הזהות שלך, בעזרת שאילת השאלה שלהלן.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "לא היתה אפשרות לאמת את זהות משתמש זה."\n ],\n "Exchanging private key with contact.": [\n null,\n "מחליף מפתח פרטי עם איש קשר."\n ],\n "Personal message": [\n null,\n "הודעה אישית"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "האם אתה בטוח כי ברצונך לטהר את ההודעות מתוך חדר זה?"\n ],\n "me": [\n null,\n "אני"\n ],\n "is typing": [\n null,\n "מקליד/ה כעת"\n ],\n "has stopped typing": [\n null,\n "חדל/ה מלהקליד"\n ],\n "Show this menu": [\n null,\n "הצג את תפריט זה"\n ],\n "Write in the third person": [\n null,\n "כתוב בגוף השלישי"\n ],\n "Remove messages": [\n null,\n "הסר הודעות"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "האם אתה בטוח כי ברצונך לטהר את ההודעות מתוך תיבת שיחה זה?"\n ],\n "Your message could not be sent": [\n null,\n "ההודעה שלך לא היתה יכולה להישלח"\n ],\n "We received an unencrypted message": [\n null,\n "אנחנו קיבלנו הודעה לא מוצפנת"\n ],\n "We received an unreadable encrypted message": [\n null,\n "אנחנו קיבלנו הודעה מוצפנת לא קריאה"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "הרי טביעות האצבע, אנא אמת אותן עם %1$s, מחוץ לשיחה זו.\\n\\nטביעת אצבע עבורך, %2$s: %3$s\\n\\nטביעת אצבע עבור %1$s: %4$s\\n\\nהיה ואימתת כי טביעות האצבע תואמות, לחץ אישור (OK), אחרת לחץ ביטול (Cancel)."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "אתה תתבקש לספק שאלת אבטחה ולאחריה תשובה לשאלה הזו.\\n\\nהאיש קשר יתבקש עובר זאת לאותה שאלת אבטחה ואם אלו יקלידו את אותה התשובה במדויק (case sensitive), זהותם תאומת."\n ],\n "What is your security question?": [\n null,\n "מהי שאלת האבטחה שלך?"\n ],\n "What is the answer to the security question?": [\n null,\n "מהי התשובה לשאלת האבטחה?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "סופקה סכימת אימות שגויה"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "ההודעות שלך אינן מוצפנות עוד"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "ההודעות שלך מוצפנות כעת אך זהות האיש קשר שלך טרם אומתה."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "זהות האיש קשר שלך אומתה."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "האיש קשר סיים הצפנה בקצה שלהם, עליך לעשות זאת גם כן."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "ההודעות שלך אינן מוצפנות. לחץ כאן כדי לאפשר OTR."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "ההודעות שלך מוצפנות כעת, אך האיש קשר שלך טרם אומת."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "ההודעות שלך מוצפנות כעת והאיש קשר שלך אומת."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "האיש קשר סגר את קצה ישיבה פרטית שלהם, עליך לעשות זאת גם כן"\n ],\n "Clear all messages": [\n null,\n "טהר את כל ההודעות"\n ],\n "End encrypted conversation": [\n null,\n "סיים ישיבה מוצפנת"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "הסתר רשימת משתתפים"\n ],\n "Refresh encrypted conversation": [\n null,\n "רענן ישיבה מוצפנת"\n ],\n "Start a call": [\n null,\n "התחל שיחה"\n ],\n "Start encrypted conversation": [\n null,\n "התחל ישיבה מוצפנת"\n ],\n "Verify with fingerprints": [\n null,\n "אמת בעזרת טביעות אצבע"\n ],\n "Verify with SMP": [\n null,\n "אמת בעזרת SMP"\n ],\n "What\'s this?": [\n null,\n "מה זה?"\n ],\n "Online": [\n null,\n "מקוון"\n ],\n "Busy": [\n null,\n "עסוק"\n ],\n "Away": [\n null,\n "נעדר"\n ],\n "Offline": [\n null,\n "בלתי מקוון"\n ],\n "Log out": [\n null,\n "התנתקות"\n ],\n "Contact name": [\n null,\n "שם איש קשר"\n ],\n "Search": [\n null,\n "חיפוש"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "הוסף"\n ],\n "Click to add new chat contacts": [\n null,\n "לחץ כדי להוסיף אנשי קשר שיחה חדשים"\n ],\n "Add a contact": [\n null,\n "הוסף איש קשר"\n ],\n "No users found": [\n null,\n "לא נמצאו משתמשים"\n ],\n "Click to add as a chat contact": [\n null,\n "לחץ כדי להוסיף בתור איש קשר שיחה"\n ],\n "Room name": [\n null,\n "שם חדר"\n ],\n "Nickname": [\n null,\n "שם כינוי"\n ],\n "Server": [\n null,\n "שרת"\n ],\n "Show rooms": [\n null,\n "הצג חדרים"\n ],\n "Rooms": [\n null,\n "חדרים"\n ],\n "No rooms on %1$s": [\n null,\n "אין חדרים על %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "חדרים על %1$s"\n ],\n "Click to open this room": [\n null,\n "לחץ כדי לפתוח את חדר זה"\n ],\n "Show more information on this room": [\n null,\n "הצג עוד מידע אודות חדר זה"\n ],\n "Description:": [\n null,\n "תיאור:"\n ],\n "Occupants:": [\n null,\n "נוכחים:"\n ],\n "Features:": [\n null,\n "תכונות:"\n ],\n "Requires authentication": [\n null,\n "מצריך אישור"\n ],\n "Hidden": [\n null,\n "נסתר"\n ],\n "Requires an invitation": [\n null,\n "מצריך הזמנה"\n ],\n "Moderated": [\n null,\n "מבוקר"\n ],\n "Non-anonymous": [\n null,\n "לא אנונימי"\n ],\n "Open room": [\n null,\n "חדר פתוח"\n ],\n "Permanent room": [\n null,\n "חדר צמיתה"\n ],\n "Public": [\n null,\n "פומבי"\n ],\n "Semi-anonymous": [\n null,\n "אנונימי למחצה"\n ],\n "Temporary room": [\n null,\n "חדר זמני"\n ],\n "Unmoderated": [\n null,\n "לא מבוקר"\n ],\n "This user is a moderator": [\n null,\n "משתמש זה הינו אחראי"\n ],\n "This user can send messages in this room": [\n null,\n "משתמש זה מסוגל לשלוח הודעות בתוך חדר זה"\n ],\n "This user can NOT send messages in this room": [\n null,\n "משתמש זה ﬥﬡ מסוגל לשלוח הודעות בתוך חדר זה"\n ],\n "Invite...": [\n null,\n "הזמנה..."\n ],\n "Occupants": [\n null,\n "נוכחים"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "אתה עומד להזמין את %1$s לחדר שיחה \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "באפשרותך להכליל הודעה, אשר מסבירה את הסיבה להזמנה."\n ],\n "Message": [\n null,\n "הודעה"\n ],\n "Error: could not execute the command": [\n null,\n "שגיאה: לא היתה אפשרות לבצע פקודה"\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "אסור משתמש מתוך חדר"\n ],\n "Kick user from room": [\n null,\n "בעט משתמש מתוך חדר"\n ],\n "Write in 3rd person": [\n null,\n "כתוב בגוף שלישי"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n "הסר יכולת משתמש לפרסם הודעות"\n ],\n "Change your nickname": [\n null,\n "שנה את השם כינוי שלך"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "קבע נושא חדר"\n ],\n "Allow muted user to post messages": [\n null,\n "התר למשתמש מושתק לפרסם הודעות"\n ],\n "Save": [\n null,\n "שמור"\n ],\n "Cancel": [\n null,\n "ביטול"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "אירעה שגיאה במהלך ניסיון שמירת הטופס."\n ],\n "This chatroom requires a password": [\n null,\n "חדר שיחה זה מצריך סיסמה"\n ],\n "Password: ": [\n null,\n "סיסמה: "\n ],\n "Submit": [\n null,\n "שלח"\n ],\n "This room is not anonymous": [\n null,\n "חדר זה אינו אנונימי"\n ],\n "This room now shows unavailable members": [\n null,\n "חדר זה כעת מציג חברים לא זמינים"\n ],\n "This room does not show unavailable members": [\n null,\n "חדר זה לא מציג חברים לא זמינים"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "תצורת חדר אשר לא-קשורה-בפרטיות שונתה"\n ],\n "Room logging is now enabled": [\n null,\n "יומן חדר הינו מופעל כעת"\n ],\n "Room logging is now disabled": [\n null,\n "יומן חדר הינו מנוטרל כעת"\n ],\n "This room is now non-anonymous": [\n null,\n "חדר זה אינו אנונימי כעת"\n ],\n "This room is now semi-anonymous": [\n null,\n "חדר זה הינו אנונימי למחצה כעת"\n ],\n "This room is now fully-anonymous": [\n null,\n "חדר זה הינו אנונימי לחלוטין כעת"\n ],\n "A new room has been created": [\n null,\n "חדר חדש נוצר"\n ],\n "You have been banned from this room": [\n null,\n "נאסרת מתוך חדר זה"\n ],\n "You have been kicked from this room": [\n null,\n "נבעטת מתוך חדר זה"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "הוסרת מתוך חדר זה משום שינוי שיוך"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "הוסרת מתוך חדר זה משום שהחדר שונה לחברים-בלבד ואינך במעמד של חבר"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "הוסרת מתוך חדר זה משום ששירות שמ״מ (שיחה מרובת משתמשים) זה כעת מצוי בהליכי סגירה."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> נאסר(ה)"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "השם כינוי של<strong>%1$s</strong> השתנה"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> נבעט(ה)"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> הוסרה(ה) משום שינוי שיוך"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> הוסר(ה) משום אי הימצאות במסגרת מעמד של חבר"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "השם כינוי שלך שונה אוטומטית בשם: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "השם כינוי שלך שונה בשם: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "הסיבה שניתנה היא: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "אינך ברשימת החברים של חדר זה"\n ],\n "No nickname was specified": [\n null,\n "לא צוין שום שם כינוי"\n ],\n "You are not allowed to create new rooms": [\n null,\n "אין לך רשות ליצור חדרים חדשים"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "השם כינוי שלך לא תואם את המדינויות של חדר זה"\n ],\n "Your nickname is already taken": [\n null,\n "השם כינוי שלך הינו תפוס"\n ],\n "This room does not (yet) exist": [\n null,\n "חדר זה (עדיין) לא קיים"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "חדר זה הגיע לסף הנוכחים המרבי שלו"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "נושא חדר זה נקבע על ידי %1$s אל: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s הזמינך להצטרף לחדר שיחה: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s הזמינך להצטרף לחדר שיחה: %2$s, והשאיר את הסיבה הבאה: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "לחץ כדי לשחזר את שיחה זו"\n ],\n "Minimized": [\n null,\n "ממוזער"\n ],\n "Click to remove this contact": [\n null,\n "לחץ כדי להסיר את איש קשר זה"\n ],\n "Click to accept this contact request": [\n null,\n "לחץ כדי לקבל את בקשת איש קשר זה"\n ],\n "Click to decline this contact request": [\n null,\n "לחץ כדי לסרב את בקשת איש קשר זה"\n ],\n "Click to chat with this contact": [\n null,\n "לחץ כדי לשוחח עם איש קשר זה"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "האם אתה בטוח כי ברצונך להסיר את איש קשר זה?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "האם אתה בטוח כי ברצונך לסרב את בקשת איש קשר זה?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "הקלד כדי לסנן"\n ],\n "I am %1$s": [\n null,\n "מצבי כעת הינו %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "לחץ כאן כדי לכתוב הודעת מצב מותאמת"\n ],\n "Click to change your chat status": [\n null,\n "לחץ כדי לשנות את הודעת השיחה שלך"\n ],\n "Custom status": [\n null,\n "מצב מותאם"\n ],\n "online": [\n null,\n "מקוון"\n ],\n "busy": [\n null,\n "עסוק"\n ],\n "away for long": [\n null,\n "נעדר לזמן מה"\n ],\n "away": [\n null,\n "נעדר"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "שם מתחם של ספק XMPP שלך:"\n ],\n "Fetch registration form": [\n null,\n "משוך טופס הרשמה"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "טיפ: רשימה פומבית של ספקי XMPP הינה זמינה"\n ],\n "here": [\n null,\n "כאן"\n ],\n "Register": [\n null,\n "הירשם"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "מצטערים, הספק שניתן לא תומך ברישום חשבונות in band. אנא נסה ספק אחר."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "כעת מבקש טופס הרשמה מתוך שרת XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "משהו השתבש במהלך ביסוס חיבור עם \\"%1$s\\". האם אתה בטוח כי זה קיים?"\n ],\n "Now logging you in": [\n null,\n "כעת מחבר אותך פנימה"\n ],\n "Registered successfully": [\n null,\n "נרשם בהצלחה"\n ],\n "Return": [\n null,\n "חזור"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "הספק דחה את ניסיון הרישום שלך. "\n ],\n "XMPP Username:": [\n null,\n "שם משתמש XMPP:"\n ],\n "Password:": [\n null,\n "סיסמה:"\n ],\n "Log In": [\n null,\n "כניסה"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "התחברות"\n ],\n "Toggle chat": [\n null,\n "הפעל שיח"\n ]\n }\n }\n}'}),define("text!hu",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "hu"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "titkosítatlan"\n ],\n "unverified": [\n null,\n "nem hitelesített"\n ],\n "verified": [\n null,\n "hitelesített"\n ],\n "finished": [\n null,\n "befejezett"\n ],\n "This contact is busy": [\n null,\n "Elfoglalt"\n ],\n "This contact is online": [\n null,\n "Elérhető"\n ],\n "This contact is offline": [\n null,\n "Nincs bejelentkezve"\n ],\n "This contact is unavailable": [\n null,\n "Elérhetetlen"\n ],\n "This contact is away for an extended period": [\n null,\n "Hosszabb ideje távol"\n ],\n "This contact is away": [\n null,\n "Távol"\n ],\n "Click to hide these contacts": [\n null,\n "A csevegő partnerek elrejtése"\n ],\n "My contacts": [\n null,\n "Kapcsolataim"\n ],\n "Pending contacts": [\n null,\n "Függőben levő kapcsolatok"\n ],\n "Contact requests": [\n null,\n "Kapcsolatnak jelölés"\n ],\n "Ungrouped": [\n null,\n "Nincs csoportosítva"\n ],\n "Contacts": [\n null,\n "Kapcsolatok"\n ],\n "Groups": [\n null,\n "Csoportok"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Hiba"\n ],\n "Connecting": [\n null,\n "Kapcsolódás"\n ],\n "Authenticating": [\n null,\n "Azonosítás"\n ],\n "Authentication Failed": [\n null,\n "Azonosítási hiba"\n ],\n "Re-establishing encrypted session": [\n null,\n "Titkosított kapcsolat újraépítése"\n ],\n "Generating private key.": [\n null,\n "Privát kulcs generálása"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Előfordulhat, hogy a böngésző futása megáll."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Azonosítási kérés érkezett: %1$s\\n\\nA csevegő partnere hitelesítést kér a következő kérdés megválaszolásával:\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "A felhasználó ellenőrzése sikertelen."\n ],\n "Exchanging private key with contact.": [\n null,\n "Privát kulcs cseréje..."\n ],\n "Personal message": [\n null,\n "Személyes üzenet"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Törölni szeretné az üzeneteket ebből a szobából?"\n ],\n "me": [\n null,\n "Én"\n ],\n "is typing": [\n null,\n "gépel..."\n ],\n "has stopped typing": [\n null,\n "már nem gépel"\n ],\n "Show this menu": [\n null,\n "Mutasd a menüt"\n ],\n "Write in the third person": [\n null,\n "Írjon egyes szám harmadik személyben"\n ],\n "Remove messages": [\n null,\n "Üzenetek törlése"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Törölni szeretné az eddigi üzeneteket?"\n ],\n "Your message could not be sent": [\n null,\n "Az üzenet elküldése nem sikerült"\n ],\n "We received an unencrypted message": [\n null,\n "Titkosítatlan üzenet érkezett"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Visszafejthetetlen titkosított üzenet érkezett"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Újjlenyomatok megerősítése.\\n\\nAz Ön újjlenyomata, %2$s: %3$s\\n\\nA csevegő partnere újjlenyomata, %1$s: %4$s\\n\\nAmennyiben az újjlenyomatok biztosan egyeznek, klikkeljen az OK, ellenkező esetben a Mégsem gombra."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Elsőként egy biztonsági kérdést kell majd feltennie és megválaszolnia.\\n\\nMajd a csevegő partnerének is megjelenik ez a kérdés. Végül ha a válaszok azonosak lesznek (kis- nagybetű érzékeny), a partner hitelesítetté válik."\n ],\n "What is your security question?": [\n null,\n "Mi legyen a biztonsági kérdés?"\n ],\n "What is the answer to the security question?": [\n null,\n "Mi a válasz a biztonsági kérdésre?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Érvénytelen hitelesítési séma."\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Az üzenetek mostantól már nem titkosítottak"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Az üzenetek titikosítva vannak, de a csevegő partnerét még nem hitelesítette."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "A csevegő partnere hitelesítve lett."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "A csevegő partnere kikapcsolta a titkosítást, így Önnek is ezt kellene tennie."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Az üzenetek titkosítatlanok. OTR titkosítás aktiválása."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Az üzenetek titikosítottak, de a csevegő partnere még nem hitelesített."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Az üzenetek titikosítottak és a csevegő partnere hitelesített."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "A csevegő partnere lezárta a magán beszélgetést"\n ],\n "Clear all messages": [\n null,\n "Üzenetek törlése"\n ],\n "End encrypted conversation": [\n null,\n "Titkosított kapcsolat vége"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "A jelenlevők listájának elrejtése"\n ],\n "Refresh encrypted conversation": [\n null,\n "A titkosított kapcsolat frissítése"\n ],\n "Start a call": [\n null,\n "Hívás indítása"\n ],\n "Start encrypted conversation": [\n null,\n "Titkosított beszélgetés indítása"\n ],\n "Verify with fingerprints": [\n null,\n "Ellenőrzés újjlenyomattal"\n ],\n "Verify with SMP": [\n null,\n "Ellenőrzés SMP-vel"\n ],\n "What\'s this?": [\n null,\n "Mi ez?"\n ],\n "Online": [\n null,\n "Elérhető"\n ],\n "Busy": [\n null,\n "Foglalt"\n ],\n "Away": [\n null,\n "Távol"\n ],\n "Offline": [\n null,\n "Nem elérhető"\n ],\n "Log out": [\n null,\n "Kilépés"\n ],\n "Contact name": [\n null,\n "Partner neve"\n ],\n "Search": [\n null,\n "Keresés"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Hozzáad"\n ],\n "Click to add new chat contacts": [\n null,\n "Új csevegő partner hozzáadása"\n ],\n "Add a contact": [\n null,\n "Új partner felvétele"\n ],\n "No users found": [\n null,\n "Nincs felhasználó"\n ],\n "Click to add as a chat contact": [\n null,\n "Felvétel a csevegő partnerek közé"\n ],\n "Room name": [\n null,\n "Szoba neve"\n ],\n "Nickname": [\n null,\n "Becenév"\n ],\n "Server": [\n null,\n "Szerver"\n ],\n "Show rooms": [\n null,\n "Létező szobák"\n ],\n "Rooms": [\n null,\n "Szobák"\n ],\n "No rooms on %1$s": [\n null,\n "Nincs csevegő szoba a(z) %1$s szerveren"\n ],\n "Rooms on %1$s": [\n null,\n "Csevegő szobák a(z) %1$s szerveren:"\n ],\n "Click to open this room": [\n null,\n "Belépés a csevegő szobába"\n ],\n "Show more information on this room": [\n null,\n "További információk a csevegő szobáról"\n ],\n "Description:": [\n null,\n "Leírás:"\n ],\n "Occupants:": [\n null,\n "Jelenlevők:"\n ],\n "Features:": [\n null,\n "Tulajdonságok:"\n ],\n "Requires authentication": [\n null,\n "Azonosítás szükséges"\n ],\n "Hidden": [\n null,\n "Rejtett"\n ],\n "Requires an invitation": [\n null,\n "Meghívás szükséges"\n ],\n "Moderated": [\n null,\n "Moderált"\n ],\n "Non-anonymous": [\n null,\n "NEM névtelen"\n ],\n "Open room": [\n null,\n "Nyitott szoba"\n ],\n "Permanent room": [\n null,\n "Állandó szoba"\n ],\n "Public": [\n null,\n "Nyílvános"\n ],\n "Semi-anonymous": [\n null,\n "Félig névtelen"\n ],\n "Temporary room": [\n null,\n "Ideiglenes szoba"\n ],\n "Unmoderated": [\n null,\n "Moderálatlan"\n ],\n "This user is a moderator": [\n null,\n "Ez a felhasználó egy moderátor"\n ],\n "This user can send messages in this room": [\n null,\n "Ez a felhasználó küldhet üzenetet ebbe a szobába"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Ez a felhasználó NEM küldhet üzenetet ebbe a szobába"\n ],\n "Invite...": [\n null,\n "Meghívás..."\n ],\n "Occupants": [\n null,\n "Jelenlevők"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "%1$s meghívott a \\"%2$s\\" csevegő szobába. "\n ],\n "Message": [\n null,\n "Üzenet"\n ],\n "Error: could not execute the command": [\n null,\n "Hiba: A parancs nem értelmezett"\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Felhasználó kitíltása a csevegő szobából"\n ],\n "Kick user from room": [\n null,\n "Felhasználó kiléptetése a csevegő szobából"\n ],\n "Write in 3rd person": [\n null,\n "Írjon egyes szám harmadik személyben"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n "A felhasználó nem küldhet üzeneteket"\n ],\n "Change your nickname": [\n null,\n "Becenév módosítása"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Csevegőszoba téma beállítás"\n ],\n "Allow muted user to post messages": [\n null,\n "Elnémított felhasználók is küldhetnek üzeneteket"\n ],\n "Save": [\n null,\n "Ment"\n ],\n "Cancel": [\n null,\n "Mégsem"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Hiba történt az adatok mentése közben."\n ],\n "This chatroom requires a password": [\n null,\n "A csevegő szoba belépéshez jelszó szükséges"\n ],\n "Password: ": [\n null,\n "Jelszó: "\n ],\n "Submit": [\n null,\n "Küldés"\n ],\n "This room is not anonymous": [\n null,\n "Ez a szoba NEM névtelen"\n ],\n "This room now shows unavailable members": [\n null,\n "Ez a szoba mutatja az elérhetetlen tagokat"\n ],\n "This room does not show unavailable members": [\n null,\n "Ez a szoba nem mutatja az elérhetetlen tagokat"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "A szoba általános konfigurációja módosult"\n ],\n "Room logging is now enabled": [\n null,\n "A szobába a belépés lehetséges"\n ],\n "Room logging is now disabled": [\n null,\n "A szobába a belépés szünetel"\n ],\n "This room is now non-anonymous": [\n null,\n "Ez a szoba most NEM névtelen"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ez a szoba most félig névtelen"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ez a szoba most teljesen névtelen"\n ],\n "A new room has been created": [\n null,\n "Létrejött egy új csevegő szoba"\n ],\n "You have been banned from this room": [\n null,\n "Ki lettél tíltva ebből a szobából"\n ],\n "You have been kicked from this room": [\n null,\n "Ki lettél dobva ebből a szobából"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Taglista módosítás miatt kiléptettünk a csevegő szobából"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Kiléptettünk a csevegő szobából, mert mostantól csak a taglistán szereplők lehetnek jelen"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Kiléptettünk a csevegő szobából, mert a MUC (Multi-User Chat) szolgáltatás leállításra került."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "A szobából kitíltva: <strong>%1$s</strong>"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "<strong>%1$s</strong> beceneve módosult"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "A szobából kidobva: <strong>%1$s</strong>"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "Taglista módosítás miatt a szobából kiléptetve: <strong>%1$s</strong>"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "A taglistán nem szerepel így a szobából kiléptetve: <strong>%1$s</strong>"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "A beceneved módosításra került a következőre: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "A beceneved a következőre módosult: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "Az indok: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Nem szerepelsz a csevegő szoba taglistáján"\n ],\n "No nickname was specified": [\n null,\n "Nem lett megadva becenév"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Nem lehet új csevegő szobát létrehozni"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "A beceneved ütközik a csevegő szoba szabályzataival"\n ],\n "Your nickname is already taken": [\n null,\n "A becenevedet már valaki használja"\n ],\n "This room does not (yet) exist": [\n null,\n "Ez a szoba (még) nem létezik"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ez a csevegő szoba elérte a maximális jelenlévők számát"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "A következő témát állította be %1$s: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s meghívott a(z) %2$s csevegő szobába"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s meghívott a(z) %2$s csevegő szobába. Indok: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "A csevegés visszaállítása"\n ],\n "Minimized": [\n null,\n "Lezárva"\n ],\n "Click to remove this contact": [\n null,\n "Partner törlése"\n ],\n "Click to accept this contact request": [\n null,\n "Elogadása a partnerlistába történő felvételnek"\n ],\n "Click to decline this contact request": [\n null,\n "Megtagadása a partnerlistába történő felvételnek"\n ],\n "Click to chat with this contact": [\n null,\n "Csevegés indítása ezzel a partnerünkkel"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Valóban törölni szeretné a csevegő partnerét?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Valóban elutasítja ezt a kapcsolat felvételi kérést?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Írjon be pár betűt"\n ],\n "I am %1$s": [\n null,\n "%1$s vagyok"\n ],\n "Click here to write a custom status message": [\n null,\n "Egyedi státusz üzenet írása"\n ],\n "Click to change your chat status": [\n null,\n "Saját státusz beállítása"\n ],\n "Custom status": [\n null,\n "Egyedi státusz"\n ],\n "online": [\n null,\n "Elérhető"\n ],\n "busy": [\n null,\n "Elfoglalt"\n ],\n "away for long": [\n null,\n "Hosszú ideje távol"\n ],\n "away": [\n null,\n "Távol"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Az XMPP szolgáltató domain neve:"\n ],\n "Fetch registration form": [\n null,\n "Regisztrációs űrlap"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Tipp: A nyílvános XMPP szolgáltatókról egy lista elérhető"\n ],\n "here": [\n null,\n "itt"\n ],\n "Register": [\n null,\n "Regisztráció"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "A megadott szolgáltató nem támogatja a csevegőn keresztüli regisztrációt. Próbáljon meg egy másikat."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Regisztrációs űrlap lekérése az XMPP szervertől"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Hiba történt a(z) \\"%1$s\\" kapcsolódásakor. Biztos benne, hogy ez létező kiszolgáló?"\n ],\n "Now logging you in": [\n null,\n "Belépés..."\n ],\n "Registered successfully": [\n null,\n "Sikeres regisztráció"\n ],\n "Return": [\n null,\n "Visza"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "A szolgáltató visszautasította a regisztrációs kérelmet."\n ],\n "XMPP Username:": [\n null,\n "XMPP/Jabber azonosító:"\n ],\n "Password:": [\n null,\n "Jelszó:"\n ],\n "Log In": [\n null,\n "Belépés"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Belépés"\n ],\n "Toggle chat": [\n null,\n "Csevegő ablak"\n ]\n }\n }\n}'}),define("text!id",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "id"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "tak dienkripsi"\n ],\n "unverified": [\n null,\n "tak diverifikasi"\n ],\n "verified": [\n null,\n "diverifikasi"\n ],\n "finished": [\n null,\n "selesai"\n ],\n "This contact is busy": [\n null,\n "Teman ini sedang sibuk"\n ],\n "This contact is online": [\n null,\n "Teman ini terhubung"\n ],\n "This contact is offline": [\n null,\n "Teman ini tidak terhubung"\n ],\n "This contact is unavailable": [\n null,\n "Teman ini tidak tersedia"\n ],\n "This contact is away for an extended period": [\n null,\n "Teman ini tidak di tempat untuk waktu yang lama"\n ],\n "This contact is away": [\n null,\n "Teman ini tidak di tempat"\n ],\n "My contacts": [\n null,\n "Teman saya"\n ],\n "Pending contacts": [\n null,\n "Teman yang menunggu"\n ],\n "Contact requests": [\n null,\n "Permintaan pertemanan"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Teman"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Kesalahan"\n ],\n "Connecting": [\n null,\n "Menyambung"\n ],\n "Authenticating": [\n null,\n "Melakukan otentikasi"\n ],\n "Authentication Failed": [\n null,\n "Otentikasi gagal"\n ],\n "Re-establishing encrypted session": [\n null,\n "Menyambung kembali sesi terenkripsi"\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Tak dapat melakukan verifikasi identitas pengguna ini."\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Pesan pribadi"\n ],\n "me": [\n null,\n "saya"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Tampilkan menu ini"\n ],\n "Write in the third person": [\n null,\n "Tulis ini menggunakan bahasa pihak ketiga"\n ],\n "Remove messages": [\n null,\n "Hapus pesan"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "Pesan anda tak dapat dikirim"\n ],\n "We received an unencrypted message": [\n null,\n "Kami menerima pesan terenkripsi"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Kami menerima pesan terenkripsi yang gagal dibaca"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Ini adalah sidik jari anda, konfirmasikan bersama mereka dengan %1$s, di luar percakapan ini.\\n\\nSidik jari untuk anda, %2$s: %3$s\\n\\nSidik jari untuk %1$s: %4$s\\n\\nJika anda bisa mengkonfirmasi sidik jadi cocok, klik Lanjutkan, jika tidak klik Batal."\n ],\n "What is your security question?": [\n null,\n "Apakah pertanyaan keamanan anda?"\n ],\n "What is the answer to the security question?": [\n null,\n "Apa jawaban dari pertanyaan keamanan tersebut?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Skema otentikasi salah"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Pesan anda tidak lagi terenkripsi"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Pesan anda tak terenkripsi. Klik di sini untuk menyalakan enkripsi OTR."\n ],\n "End encrypted conversation": [\n null,\n "Sudahi percakapan terenkripsi"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Setel ulang percakapan terenkripsi"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Mulai sesi terenkripsi"\n ],\n "Verify with fingerprints": [\n null,\n "Verifikasi menggunakan sidik jari"\n ],\n "Verify with SMP": [\n null,\n "Verifikasi menggunakan SMP"\n ],\n "What\'s this?": [\n null,\n "Apakah ini?"\n ],\n "Online": [\n null,\n "Terhubung"\n ],\n "Busy": [\n null,\n "Sibuk"\n ],\n "Away": [\n null,\n "Pergi"\n ],\n "Offline": [\n null,\n "Tak Terhubung"\n ],\n "Contact name": [\n null,\n "Nama teman"\n ],\n "Search": [\n null,\n "Cari"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Tambah"\n ],\n "Click to add new chat contacts": [\n null,\n "Klik untuk menambahkan teman baru"\n ],\n "Add a contact": [\n null,\n "Tambah teman"\n ],\n "No users found": [\n null,\n "Pengguna tak ditemukan"\n ],\n "Click to add as a chat contact": [\n null,\n "Klik untuk menambahkan sebagai teman"\n ],\n "Room name": [\n null,\n "Nama ruangan"\n ],\n "Nickname": [\n null,\n "Nama panggilan"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Perlihatkan ruangan"\n ],\n "Rooms": [\n null,\n "Ruangan"\n ],\n "No rooms on %1$s": [\n null,\n "Tak ada ruangan di %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Ruangan di %1$s"\n ],\n "Click to open this room": [\n null,\n "Klik untuk membuka ruangan ini"\n ],\n "Show more information on this room": [\n null,\n "Tampilkan informasi ruangan ini"\n ],\n "Description:": [\n null,\n "Keterangan:"\n ],\n "Occupants:": [\n null,\n "Penghuni:"\n ],\n "Features:": [\n null,\n "Fitur:"\n ],\n "Requires authentication": [\n null,\n "Membutuhkan otentikasi"\n ],\n "Hidden": [\n null,\n "Tersembunyi"\n ],\n "Requires an invitation": [\n null,\n "Membutuhkan undangan"\n ],\n "Moderated": [\n null,\n "Dimoderasi"\n ],\n "Non-anonymous": [\n null,\n "Tidak anonim"\n ],\n "Open room": [\n null,\n "Ruangan terbuka"\n ],\n "Permanent room": [\n null,\n "Ruangan permanen"\n ],\n "Public": [\n null,\n "Umum"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonim"\n ],\n "Temporary room": [\n null,\n "Ruangan sementara"\n ],\n "Unmoderated": [\n null,\n "Tak dimoderasi"\n ],\n "This user is a moderator": [\n null,\n "Pengguna ini adalah moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Pengguna ini dapat mengirim pesan di ruangan ini"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Pengguna ini tak dapat mengirim pesan di ruangan ini"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Pesan"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Simpan"\n ],\n "Cancel": [\n null,\n "Batal"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Kesalahan terjadi saat menyimpan formulir ini."\n ],\n "This chatroom requires a password": [\n null,\n "Ruangan ini membutuhkan kata sandi"\n ],\n "Password: ": [\n null,\n "Kata sandi: "\n ],\n "Submit": [\n null,\n "Kirim"\n ],\n "This room is not anonymous": [\n null,\n "Ruangan ini tidak anonim"\n ],\n "This room now shows unavailable members": [\n null,\n "Ruangan ini menampilkan anggota yang tak tersedia"\n ],\n "This room does not show unavailable members": [\n null,\n "Ruangan ini tidak menampilkan anggota yang tak tersedia"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Konfigurasi ruangan yang tak berhubungan dengan privasi telah diubah"\n ],\n "Room logging is now enabled": [\n null,\n "Pencatatan di ruangan ini sekarang dinyalakan"\n ],\n "Room logging is now disabled": [\n null,\n "Pencatatan di ruangan ini sekarang dimatikan"\n ],\n "This room is now non-anonymous": [\n null,\n "Ruangan ini sekarang tak-anonim"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ruangan ini sekarang semi-anonim"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ruangan ini sekarang anonim"\n ],\n "A new room has been created": [\n null,\n "Ruangan baru telah dibuat"\n ],\n "You have been banned from this room": [\n null,\n "Anda telah dicekal dari ruangan ini"\n ],\n "You have been kicked from this room": [\n null,\n "Anda telah ditendang dari ruangan ini"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Anda telah dihapus dari ruangan ini karena perubahan afiliasi"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Anda telah dihapus dari ruangan ini karena ruangan ini hanya terbuka untuk anggota dan anda bukan anggota"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Anda telah dihapus dari ruangan ini karena layanan MUC (Multi-user chat) telah dimatikan."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> telah dicekal"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> telah ditendang keluar"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> telah dihapus karena perubahan afiliasi"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> telah dihapus karena bukan anggota"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Anda bukan anggota dari ruangan ini"\n ],\n "No nickname was specified": [\n null,\n "Nama panggilan belum ditentukan"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Anda tak diizinkan untuk membuat ruangan baru"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Nama panggilan anda tidak sesuai aturan ruangan ini"\n ],\n "Your nickname is already taken": [\n null,\n "Nama panggilan anda telah digunakan orang lain"\n ],\n "This room does not (yet) exist": [\n null,\n "Ruangan ini belum dibuat"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ruangan ini telah mencapai jumlah penghuni maksimum"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topik diganti oleh %1$s menjadi: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Klik untuk menghapus teman ini"\n ],\n "Click to chat with this contact": [\n null,\n "Klik untuk mulai perbinjangan dengan teman ini"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Saya %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klik untuk menulis status kustom"\n ],\n "Click to change your chat status": [\n null,\n "Klik untuk mengganti status"\n ],\n "Custom status": [\n null,\n "Status kustom"\n ],\n "online": [\n null,\n "terhubung"\n ],\n "busy": [\n null,\n "sibuk"\n ],\n "away for long": [\n null,\n "lama tak di tempat"\n ],\n "away": [\n null,\n "tak di tempat"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Kata sandi:"\n ],\n "Log In": [\n null,\n "Masuk"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Masuk"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!it",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "it"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n ""\n ],\n "unverified": [\n null,\n ""\n ],\n "verified": [\n null,\n ""\n ],\n "finished": [\n null,\n ""\n ],\n "This contact is busy": [\n null,\n ""\n ],\n "This contact is online": [\n null,\n ""\n ],\n "This contact is offline": [\n null,\n ""\n ],\n "This contact is away for an extended period": [\n null,\n ""\n ],\n "This contact is away": [\n null,\n ""\n ],\n "My contacts": [\n null,\n "I miei contatti"\n ],\n "Pending contacts": [\n null,\n "Contatti in attesa"\n ],\n "Contact requests": [\n null,\n "Richieste dei contatti"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contatti"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Errore"\n ],\n "Connecting": [\n null,\n "Connessione in corso"\n ],\n "Authenticating": [\n null,\n "Autenticazione in corso"\n ],\n "Authentication Failed": [\n null,\n "Autenticazione fallita"\n ],\n "Re-establishing encrypted session": [\n null,\n ""\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n ""\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Messaggio personale"\n ],\n "me": [\n null,\n ""\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "has gone away": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Mostra questo menu"\n ],\n "Write in the third person": [\n null,\n "Scrivi in terza persona"\n ],\n "Remove messages": [\n null,\n "Rimuovi messaggi"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n ""\n ],\n "We received an unencrypted message": [\n null,\n ""\n ],\n "We received an unreadable encrypted message": [\n null,\n ""\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "has gone offline": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n ""\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n ""\n ],\n "Your contact\'s identify has been verified.": [\n null,\n ""\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n ""\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n ""\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n ""\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n ""\n ],\n "Online": [\n null,\n "In linea"\n ],\n "Busy": [\n null,\n "Occupato"\n ],\n "Away": [\n null,\n "Assente"\n ],\n "Offline": [\n null,\n "Non in linea"\n ],\n "Contact name": [\n null,\n "Nome del contatto"\n ],\n "Search": [\n null,\n "Cerca"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Aggiungi"\n ],\n "Click to add new chat contacts": [\n null,\n "Clicca per aggiungere nuovi contatti alla chat"\n ],\n "Add a contact": [\n null,\n "Aggiungi contatti"\n ],\n "No users found": [\n null,\n "Nessun utente trovato"\n ],\n "Click to add as a chat contact": [\n null,\n "Clicca per aggiungere il contatto alla chat"\n ],\n "Room name": [\n null,\n "Nome stanza"\n ],\n "Nickname": [\n null,\n "Soprannome"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Mostra stanze"\n ],\n "Rooms": [\n null,\n "Stanze"\n ],\n "No rooms on %1$s": [\n null,\n "Nessuna stanza su %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Stanze su %1$s"\n ],\n "Click to open this room": [\n null,\n "Clicca per aprire questa stanza"\n ],\n "Show more information on this room": [\n null,\n "Mostra più informazioni su questa stanza"\n ],\n "Description:": [\n null,\n "Descrizione:"\n ],\n "Occupants:": [\n null,\n "Utenti presenti:"\n ],\n "Features:": [\n null,\n "Funzionalità:"\n ],\n "Requires authentication": [\n null,\n "Richiede autenticazione"\n ],\n "Hidden": [\n null,\n "Nascosta"\n ],\n "Requires an invitation": [\n null,\n "Richiede un invito"\n ],\n "Moderated": [\n null,\n "Moderata"\n ],\n "Non-anonymous": [\n null,\n "Non-anonima"\n ],\n "Open room": [\n null,\n "Stanza aperta"\n ],\n "Permanent room": [\n null,\n "Stanza permanente"\n ],\n "Public": [\n null,\n "Pubblica"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonima"\n ],\n "Temporary room": [\n null,\n "Stanza temporanea"\n ],\n "Unmoderated": [\n null,\n "Non moderata"\n ],\n "This user is a moderator": [\n null,\n "Questo utente è un moderatore"\n ],\n "This user can send messages in this room": [\n null,\n "Questo utente può inviare messaggi in questa stanza"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Questo utente NON può inviare messaggi in questa stanza"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Messaggio"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Salva"\n ],\n "Cancel": [\n null,\n "Annulla"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Errore durante il salvataggio del modulo"\n ],\n "This chatroom requires a password": [\n null,\n "Questa stanza richiede una password"\n ],\n "Password: ": [\n null,\n "Password: "\n ],\n "Submit": [\n null,\n "Invia"\n ],\n "This room is not anonymous": [\n null,\n "Questa stanza non è anonima"\n ],\n "This room now shows unavailable members": [\n null,\n "Questa stanza mostra i membri non disponibili al momento"\n ],\n "This room does not show unavailable members": [\n null,\n "Questa stanza non mostra i membri non disponibili"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Una configurazione della stanza non legata alla privacy è stata modificata"\n ],\n "Room logging is now enabled": [\n null,\n "La registrazione è abilitata nella stanza"\n ],\n "Room logging is now disabled": [\n null,\n "La registrazione è disabilitata nella stanza"\n ],\n "This room is now non-anonymous": [\n null,\n "Questa stanza è non-anonima"\n ],\n "This room is now semi-anonymous": [\n null,\n "Questa stanza è semi-anonima"\n ],\n "This room is now fully-anonymous": [\n null,\n "Questa stanza è completamente-anonima"\n ],\n "A new room has been created": [\n null,\n "Una nuova stanza è stata creata"\n ],\n "You have been banned from this room": [\n null,\n "Sei stato bandito da questa stanza"\n ],\n "You have been kicked from this room": [\n null,\n "Sei stato espulso da questa stanza"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Sei stato rimosso da questa stanza a causa di un cambio di affiliazione"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Sei stato rimosso da questa stanza poiché ora la stanza accetta solo membri"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Sei stato rimosso da questa stanza poiché il servizio MUC (Chat multi utente) è in fase di spegnimento"\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> è stato bandito"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> è stato espulso"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> è stato rimosso a causa di un cambio di affiliazione"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> è stato rimosso in quanto non membro"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Non sei nella lista dei membri di questa stanza"\n ],\n "No nickname was specified": [\n null,\n "Nessun soprannome specificato"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Non ti è permesso creare nuove stanze"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Il tuo soprannome non è conforme alle regole di questa stanza"\n ],\n "Your nickname is already taken": [\n null,\n "Il tuo soprannome è già utilizzato"\n ],\n "This room does not (yet) exist": [\n null,\n "Questa stanza non esiste (per ora)"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Questa stanza ha raggiunto il limite massimo di utenti"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topic impostato da %1$s a: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Clicca per rimuovere questo contatto"\n ],\n "Click to chat with this contact": [\n null,\n "Clicca per parlare con questo contatto"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Sono %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Clicca qui per scrivere un messaggio di stato personalizzato"\n ],\n "Click to change your chat status": [\n null,\n "Clicca per cambiare il tuo stato"\n ],\n "Custom status": [\n null,\n "Stato personalizzato"\n ],\n "online": [\n null,\n "in linea"\n ],\n "busy": [\n null,\n "occupato"\n ],\n "away for long": [\n null,\n "assente da molto"\n ],\n "away": [\n null,\n "assente"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Password:"\n ],\n "Log In": [\n null,\n "Entra"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Accesso"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!ja",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=1; plural=0;",\n "lang": "JA"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "暗号化されていません"\n ],\n "unverified": [\n null,\n "検証されていません"\n ],\n "verified": [\n null,\n "検証されました"\n ],\n "finished": [\n null,\n "完了"\n ],\n "This contact is busy": [\n null,\n "この相手先は取り込み中です"\n ],\n "This contact is online": [\n null,\n "この相手先は在席しています"\n ],\n "This contact is offline": [\n null,\n "この相手先はオフラインです"\n ],\n "This contact is unavailable": [\n null,\n "この相手先は不通です"\n ],\n "This contact is away for an extended period": [\n null,\n "この相手先は不在です"\n ],\n "This contact is away": [\n null,\n "この相手先は離席中です"\n ],\n "My contacts": [\n null,\n "相手先一覧"\n ],\n "Pending contacts": [\n null,\n "保留中の相手先"\n ],\n "Contact requests": [\n null,\n "会話に呼び出し"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "相手先"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "エラー"\n ],\n "Connecting": [\n null,\n "接続中です"\n ],\n "Authenticating": [\n null,\n "認証中"\n ],\n "Authentication Failed": [\n null,\n "認証に失敗"\n ],\n "Re-establishing encrypted session": [\n null,\n "暗号化セッションの再接続"\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n "このユーザーの本人性を検証できませんでした。"\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "私信"\n ],\n "me": [\n null,\n "私"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "このメニューを表示"\n ],\n "Write in the third person": [\n null,\n "第三者に書く"\n ],\n "Remove messages": [\n null,\n "メッセージを削除"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "メッセージを送信できませんでした"\n ],\n "We received an unencrypted message": [\n null,\n "暗号化されていないメッセージを受信しました"\n ],\n "We received an unreadable encrypted message": [\n null,\n "読めない暗号化メッセージを受信しました"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "これは鍵指紋です。チャット以外の方法でこれらを %1$s と確認してください。\\n\\nあなた %2$s の鍵指紋: %3$s\\n\\n%1$s の鍵指紋: %4$s\\n\\n確認して、鍵指紋が正しければ「OK」を、正しくなければ「キャンセル」をクリックしてください。"\n ],\n "What is your security question?": [\n null,\n "秘密の質問はなんですか?"\n ],\n "What is the answer to the security question?": [\n null,\n "秘密の質問の答はなんですか?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "認証の方式が正しくありません"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "メッセージはもう暗号化されません"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "メッセージは暗号化されません。OTR 暗号化を有効にするにはここをクリックしてください。"\n ],\n "End encrypted conversation": [\n null,\n "暗号化された会話を終了"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "暗号化された会話をリフレッシュ"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "暗号化された会話を開始"\n ],\n "Verify with fingerprints": [\n null,\n "鍵指紋で検証"\n ],\n "Verify with SMP": [\n null,\n "SMP で検証"\n ],\n "What\'s this?": [\n null,\n "これは何ですか?"\n ],\n "Online": [\n null,\n "オンライン"\n ],\n "Busy": [\n null,\n "取り込み中"\n ],\n "Away": [\n null,\n "離席中"\n ],\n "Offline": [\n null,\n "オフライン"\n ],\n "Contact name": [\n null,\n "名前"\n ],\n "Search": [\n null,\n "検索"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "追加"\n ],\n "Click to add new chat contacts": [\n null,\n "クリックして新しいチャットの相手先を追加"\n ],\n "Add a contact": [\n null,\n "相手先を追加"\n ],\n "No users found": [\n null,\n "ユーザーが見つかりません"\n ],\n "Click to add as a chat contact": [\n null,\n "クリックしてチャットの相手先として追加"\n ],\n "Room name": [\n null,\n "談話室の名前"\n ],\n "Nickname": [\n null,\n "ニックネーム"\n ],\n "Server": [\n null,\n "サーバー"\n ],\n "Show rooms": [\n null,\n "談話室一覧を見る"\n ],\n "Rooms": [\n null,\n "談話室"\n ],\n "No rooms on %1$s": [\n null,\n "%1$s に談話室はありません"\n ],\n "Rooms on %1$s": [\n null,\n "%1$s の談話室一覧"\n ],\n "Click to open this room": [\n null,\n "クリックしてこの談話室を開く"\n ],\n "Show more information on this room": [\n null,\n "この談話室についての詳細を見る"\n ],\n "Description:": [\n null,\n "説明: "\n ],\n "Occupants:": [\n null,\n "入室者:"\n ],\n "Features:": [\n null,\n "特徴:"\n ],\n "Requires authentication": [\n null,\n "認証の要求"\n ],\n "Hidden": [\n null,\n "非表示"\n ],\n "Requires an invitation": [\n null,\n "招待の要求"\n ],\n "Moderated": [\n null,\n "発言制限"\n ],\n "Non-anonymous": [\n null,\n "非匿名"\n ],\n "Open room": [\n null,\n "開放談話室"\n ],\n "Permanent room": [\n null,\n "常設談話室"\n ],\n "Public": [\n null,\n "公開談話室"\n ],\n "Semi-anonymous": [\n null,\n "半匿名"\n ],\n "Temporary room": [\n null,\n "臨時談話室"\n ],\n "Unmoderated": [\n null,\n "発言制限なし"\n ],\n "This user is a moderator": [\n null,\n "このユーザーは司会者です"\n ],\n "This user can send messages in this room": [\n null,\n "このユーザーはこの談話室で発言できます"\n ],\n "This user can NOT send messages in this room": [\n null,\n "このユーザーはこの談話室で発言できません"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "メッセージ"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "保存"\n ],\n "Cancel": [\n null,\n "キャンセル"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "フォームを保存する際にエラーが発生しました。"\n ],\n "This chatroom requires a password": [\n null,\n "この談話室にはパスワードが必要です"\n ],\n "Password: ": [\n null,\n "パスワード:"\n ],\n "Submit": [\n null,\n "送信"\n ],\n "This room is not anonymous": [\n null,\n "この談話室は非匿名です"\n ],\n "This room now shows unavailable members": [\n null,\n "この談話室はメンバー以外にも見えます"\n ],\n "This room does not show unavailable members": [\n null,\n "この談話室はメンバー以外には見えません"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "談話室の設定(プライバシーに無関係)が変更されました"\n ],\n "Room logging is now enabled": [\n null,\n "談話室の記録を取りはじめます"\n ],\n "Room logging is now disabled": [\n null,\n "談話室の記録を止めます"\n ],\n "This room is now non-anonymous": [\n null,\n "この談話室はただいま非匿名です"\n ],\n "This room is now semi-anonymous": [\n null,\n "この談話室はただいま半匿名です"\n ],\n "This room is now fully-anonymous": [\n null,\n "この談話室はただいま匿名です"\n ],\n "A new room has been created": [\n null,\n "新しい談話室が作成されました"\n ],\n "You have been banned from this room": [\n null,\n "この談話室から締め出されました"\n ],\n "You have been kicked from this room": [\n null,\n "この談話室から蹴り出されました"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "分掌の変更のため、この談話室から削除されました"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "談話室がメンバー制に変更されました。メンバーではないため、この談話室から削除されました"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "MUC(グループチャット)のサービスが停止したため、この談話室から削除されました。"\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> を締め出しました"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> を蹴り出しました"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "分掌の変更のため、<strong>%1$s</strong> を削除しました"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "メンバーでなくなったため、<strong>%1$s</strong> を削除しました"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "この談話室のメンバー一覧にいません"\n ],\n "No nickname was specified": [\n null,\n "ニックネームがありません"\n ],\n "You are not allowed to create new rooms": [\n null,\n "新しい談話室を作成する権限がありません"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "ニックネームがこの談話室のポリシーに従っていません"\n ],\n "Your nickname is already taken": [\n null,\n "ニックネームは既に使われています"\n ],\n "This room does not (yet) exist": [\n null,\n "この談話室は存在しません"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "この談話室は入室者数の上限に達しています"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "%1$s が話題を設定しました: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "クリックしてこの相手先を削除"\n ],\n "Click to chat with this contact": [\n null,\n "クリックしてこの相手先とチャット"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "私はいま %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "状況メッセージを入力するには、ここをクリック"\n ],\n "Click to change your chat status": [\n null,\n "クリックして、在席状況を変更"\n ],\n "Custom status": [\n null,\n "独自の在席状況"\n ],\n "online": [\n null,\n "在席"\n ],\n "busy": [\n null,\n "取り込み中"\n ],\n "away for long": [\n null,\n "不在"\n ],\n "away": [\n null,\n "離席中"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "パスワード:"\n ],\n "Log In": [\n null,\n "ログイン"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "サインイン"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!nb",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "nb"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "ukryptertß"\n ],\n "unverified": [\n null,\n "uverifisert"\n ],\n "verified": [\n null,\n "verifisert"\n ],\n "finished": [\n null,\n "ferdig"\n ],\n "This contact is busy": [\n null,\n "Denne kontakten er opptatt"\n ],\n "This contact is online": [\n null,\n "Kontakten er pålogget"\n ],\n "This contact is offline": [\n null,\n "Kontakten er avlogget"\n ],\n "This contact is unavailable": [\n null,\n "Kontakten er utilgjengelig"\n ],\n "This contact is away for an extended period": [\n null,\n "Kontakten er borte for en lengre periode"\n ],\n "This contact is away": [\n null,\n "Kontakten er borte"\n ],\n "Click to hide these contacts": [\n null,\n "Klikk for å skjule disse kontaktene"\n ],\n "My contacts": [\n null,\n "Mine Kontakter"\n ],\n "Pending contacts": [\n null,\n "Kontakter som venter på godkjenning"\n ],\n "Contact requests": [\n null,\n "Kontaktforespørsler"\n ],\n "Ungrouped": [\n null,\n "Ugrupperte"\n ],\n "Contacts": [\n null,\n "Kontakter"\n ],\n "Groups": [\n null,\n "Grupper"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Feil"\n ],\n "Connecting": [\n null,\n "Kobler til"\n ],\n "Authenticating": [\n null,\n "Godkjenner"\n ],\n "Authentication Failed": [\n null,\n "Godkjenning mislyktes"\n ],\n "Re-establishing encrypted session": [\n null,\n "Gjenopptar kryptert økt"\n ],\n "Generating private key.": [\n null,\n "Genererer privat nøkkel"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Din nettleser kan bli uresponsiv"\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Godkjenningsforespørsel fra %1$s\\n\\nDin nettpratkontakt forsøker å bekrefte din identitet, ved å spørre deg spørsmålet under.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Kunne ikke bekrefte denne brukerens identitet"\n ],\n "Exchanging private key with contact.": [\n null,\n "Bytter private nøkler med kontakt"\n ],\n "Personal message": [\n null,\n "Personlig melding"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Er du sikker på at du vil fjerne meldingene fra dette rommet?"\n ],\n "me": [\n null,\n "meg"\n ],\n "is typing": [\n null,\n "skriver"\n ],\n "has stopped typing": [\n null,\n "har stoppet å skrive"\n ],\n "Show this menu": [\n null,\n "Viser denne menyen"\n ],\n "Write in the third person": [\n null,\n "Skriv i tredjeperson"\n ],\n "Remove messages": [\n null,\n "Fjern meldinger"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Er du sikker på at du vil fjerne meldingene fra denne meldingsboksen?"\n ],\n "Your message could not be sent": [\n null,\n "Beskjeden din kunne ikke sendes"\n ],\n "We received an unencrypted message": [\n null,\n "Vi mottok en ukryptert beskjed"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Vi mottok en uleselig melding"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nOm du har bekreftet at avtrykkene matcher, klikk OK. I motsatt fall, trykk Avbryt."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Du vil bli spurt etter å tilby et sikkerhetsspørsmål og siden svare på dette.\\n\\nDin kontakt vil så bli spurt om det samme spørsmålet, og om de svarer det nøyaktig samme svaret (det er forskjell på små og store bokstaver), vil identiteten verifiseres."\n ],\n "What is your security question?": [\n null,\n "Hva er ditt Sikkerhetsspørsmål?"\n ],\n "What is the answer to the security question?": [\n null,\n "Hva er svaret på ditt Sikkerhetsspørsmål?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Du har vedlagt en ugyldig godkjenningsplan."\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Dine meldinger er ikke kryptert lenger."\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Dine meldinger er nå krypterte, men identiteten til din kontakt har ikke blitt verifisert."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "Din kontakts identitet har blitt verifisert."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Din kontakt har avsluttet kryptering i sin ende, dette burde du også gjøre."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Dine meldinger er ikke krypterte. Klikk her for å aktivere OTR-kryptering."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Dine meldinger er krypterte, men din kontakt har ikke blitt verifisert."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Dine meldinger er krypterte og din kontakt er verifisert."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Din kontakt har avsluttet økten i sin ende, dette burde du også gjøre."\n ],\n "Clear all messages": [\n null,\n "Fjern alle meldinger"\n ],\n "End encrypted conversation": [\n null,\n "Avslutt kryptert økt"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "Skjul deltakerlisten"\n ],\n "Refresh encrypted conversation": [\n null,\n "Last inn kryptert samtale på nytt"\n ],\n "Start a call": [\n null,\n "Start en samtale"\n ],\n "Start encrypted conversation": [\n null,\n "Start en kryptert samtale"\n ],\n "Verify with fingerprints": [\n null,\n "Verifiser med Avtrykk"\n ],\n "Verify with SMP": [\n null,\n "Verifiser med SMP"\n ],\n "What\'s this?": [\n null,\n "Hva er dette?"\n ],\n "Online": [\n null,\n "Pålogget"\n ],\n "Busy": [\n null,\n "Opptatt"\n ],\n "Away": [\n null,\n "Borte"\n ],\n "Offline": [\n null,\n "Avlogget"\n ],\n "Log out": [\n null,\n "Logg Av"\n ],\n "Contact name": [\n null,\n "Kontaktnavn"\n ],\n "Search": [\n null,\n "Søk"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Legg Til"\n ],\n "Click to add new chat contacts": [\n null,\n "Klikk for å legge til nye meldingskontakter"\n ],\n "Add a contact": [\n null,\n "Legg til en Kontakt"\n ],\n "No users found": [\n null,\n "Ingen brukere funnet"\n ],\n "Click to add as a chat contact": [\n null,\n "Klikk for å legge til som meldingskontakt"\n ],\n "Room name": [\n null,\n "Romnavn"\n ],\n "Nickname": [\n null,\n "Kallenavn"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Vis Rom"\n ],\n "Rooms": [\n null,\n "Rom"\n ],\n "No rooms on %1$s": [\n null,\n "Ingen rom på %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Rom på %1$s"\n ],\n "Click to open this room": [\n null,\n "Klikk for å åpne dette rommet"\n ],\n "Show more information on this room": [\n null,\n "Vis mer informasjon om dette rommet"\n ],\n "Description:": [\n null,\n "Beskrivelse:"\n ],\n "Occupants:": [\n null,\n "Brukere her:"\n ],\n "Features:": [\n null,\n "Egenskaper:"\n ],\n "Requires authentication": [\n null,\n "Krever Godkjenning"\n ],\n "Hidden": [\n null,\n "Skjult"\n ],\n "Requires an invitation": [\n null,\n "Krever en invitasjon"\n ],\n "Moderated": [\n null,\n "Moderert"\n ],\n "Non-anonymous": [\n null,\n "Ikke-Anonym"\n ],\n "Open room": [\n null,\n "Åpent Rom"\n ],\n "Permanent room": [\n null,\n "Permanent Rom"\n ],\n "Public": [\n null,\n "Alle"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonymt"\n ],\n "Temporary room": [\n null,\n "Midlertidig Rom"\n ],\n "Unmoderated": [\n null,\n "Umoderert"\n ],\n "This user is a moderator": [\n null,\n "Denne brukeren er moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Denne brukeren kan skrive meldinger i dette rommet"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Denne brukeren kan IKKE sende meldinger i dette rommet"\n ],\n "Invite...": [\n null,\n "Invitér..."\n ],\n "Occupants": [\n null,\n "Brukere her:"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Du er i ferd med å invitere %1$s til samtalerommet \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Du kan eventuelt inkludere en melding og forklare årsaken til invitasjonen."\n ],\n "Message": [\n null,\n "Melding"\n ],\n "Error: could not execute the command": [\n null,\n "Feil: kunne ikke utføre kommandoen"\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Utesteng bruker fra rommet"\n ],\n "Kick user from room": [\n null,\n "Kast ut bruker fra rommet"\n ],\n "Write in 3rd person": [\n null,\n "Skriv i tredjeperson"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Fjern brukerens muligheter til å skrive meldinger"\n ],\n "Change your nickname": [\n null,\n "Endre ditt kallenavn"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Endre rommets emne"\n ],\n "Allow muted user to post messages": [\n null,\n "Tillat stumme brukere å skrive meldinger"\n ],\n "Save": [\n null,\n "Lagre"\n ],\n "Cancel": [\n null,\n "Avbryt"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "En feil skjedde under lagring av skjemaet."\n ],\n "This chatroom requires a password": [\n null,\n "Dette rommet krever et passord"\n ],\n "Password: ": [\n null,\n "Passord:"\n ],\n "Submit": [\n null,\n "Send"\n ],\n "This room is not anonymous": [\n null,\n "Dette rommet er ikke anonymt"\n ],\n "This room now shows unavailable members": [\n null,\n "Dette rommet viser nå utilgjengelige medlemmer"\n ],\n "This room does not show unavailable members": [\n null,\n "Dette rommet viser ikke utilgjengelige medlemmer"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Ikke-personvernsrelatert romkonfigurasjon har blitt endret"\n ],\n "Room logging is now enabled": [\n null,\n "Romlogging er nå aktivert"\n ],\n "Room logging is now disabled": [\n null,\n "Romlogging er nå deaktivert"\n ],\n "This room is now non-anonymous": [\n null,\n "Dette rommet er nå ikke-anonymt"\n ],\n "This room is now semi-anonymous": [\n null,\n "Dette rommet er nå semi-anonymt"\n ],\n "This room is now fully-anonymous": [\n null,\n "Dette rommet er nå totalt anonymt"\n ],\n "A new room has been created": [\n null,\n "Et nytt rom har blitt opprettet"\n ],\n "You have been banned from this room": [\n null,\n "Du har blitt utestengt fra dette rommet"\n ],\n "You have been kicked from this room": [\n null,\n "Du ble kastet ut av dette rommet"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Du har blitt fjernet fra dette rommet på grunn av en holdningsendring"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Du har blitt fjernet fra dette rommet fordi rommet nå kun tillater medlemmer, noe du ikke er."\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Du har blitt fjernet fra dette rommet fordi MBC (Multi-Bruker-Chat)-tjenesten er stengt ned."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> har blitt utestengt"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "<strong>%1$s</strong> sitt kallenavn er endret"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> ble kastet ut"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> har blitt fjernet på grunn av en holdningsendring"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> har blitt fjernet på grunn av at han/hun ikke er medlem"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "Ditt kallenavn har blitt automatisk endret til <strong>%1$s</strong> "\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "Ditt kallenavn har blitt endret til <strong>%1$s</strong> "\n ],\n "The reason given is: \\"": [\n null,\n "Årsaken som er oppgitt er: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Du er ikke på medlemslisten til dette rommet"\n ],\n "No nickname was specified": [\n null,\n "Ingen kallenavn var spesifisert"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Du har ikke tillatelse til å opprette nye rom"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Ditt kallenavn er ikke i samsvar med rommets regler"\n ],\n "Your nickname is already taken": [\n null,\n "Kallenavnet er allerede tatt"\n ],\n "This room does not (yet) exist": [\n null,\n "Dette rommet eksisterer ikke (enda)"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Dette rommet har nådd maksimalt antall brukere"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Emnet ble endret den %1$s til: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s har invitert deg til å bli med i chatterommet: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s har invitert deg til å bli med i chatterommet: %2$s, og forlot selv av følgende grunn: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Klikk for å gjenopprette denne samtalen"\n ],\n "Minimized": [\n null,\n "Minimert"\n ],\n "Click to remove this contact": [\n null,\n "Klikk for å fjerne denne kontakten"\n ],\n "Click to accept this contact request": [\n null,\n "Klikk for å Godta denne kontaktforespørselen"\n ],\n "Click to decline this contact request": [\n null,\n "Klikk for å avslå denne kontaktforespørselen"\n ],\n "Click to chat with this contact": [\n null,\n "Klikk for å chatte med denne kontakten"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Er du sikker på at du vil fjerne denne kontakten?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Er du sikker på at du vil avslå denne kontaktforespørselen?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Skriv til filter"\n ],\n "I am %1$s": [\n null,\n "Jeg er %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klikk her for å skrive en personlig statusmelding"\n ],\n "Click to change your chat status": [\n null,\n "Klikk for å endre din meldingsstatus"\n ],\n "Custom status": [\n null,\n "Personlig status"\n ],\n "online": [\n null,\n "pålogget"\n ],\n "busy": [\n null,\n "opptatt"\n ],\n "away for long": [\n null,\n "borte lenge"\n ],\n "away": [\n null,\n "borte"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Din XMPP-tilbyders domenenavn:"\n ],\n "Fetch registration form": [\n null,\n "Hent registreringsskjema"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Tips: En liste med offentlige XMPP-tilbydere er tilgjengelig"\n ],\n "here": [\n null,\n "her"\n ],\n "Register": [\n null,\n "Registrér deg"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Beklager, den valgte tilbyderen støtter ikke in band kontoregistrering. Vennligst prøv igjen med en annen tilbyder. "\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Spør etter registreringsskjema fra XMPP-tjeneren"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Noe gikk galt under etablering av forbindelse med \\"%1$s\\". Er du sikker på at denne eksisterer?"\n ],\n "Now logging you in": [\n null,\n "Logger deg inn"\n ],\n "Registered successfully": [\n null,\n "Registrering var vellykket"\n ],\n "Return": [\n null,\n "Tilbake"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "Tilbyderen avviste ditt registreringsforsøk."\n ],\n "XMPP Username:": [\n null,\n "XMPP Brukernavn:"\n ],\n "Password:": [\n null,\n "Passord:"\n ],\n "Log In": [\n null,\n "Logg inn"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Innlogging"\n ],\n "Toggle chat": [\n null,\n "Endre chatten"\n ]\n }\n }\n}'}),define("text!nl",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "nl"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "ongecodeerde"\n ],\n "unverified": [\n null,\n "niet geverifieerd"\n ],\n "verified": [\n null,\n "geverifieerd"\n ],\n "finished": [\n null,\n "klaar"\n ],\n "This contact is busy": [\n null,\n "Contact is bezet"\n ],\n "This contact is online": [\n null,\n "Contact is online"\n ],\n "This contact is offline": [\n null,\n "Contact is offline"\n ],\n "This contact is unavailable": [\n null,\n "Contact is niet beschikbaar"\n ],\n "This contact is away for an extended period": [\n null,\n "Contact is afwezig voor lange periode"\n ],\n "This contact is away": [\n null,\n "Conact is afwezig"\n ],\n "My contacts": [\n null,\n "Mijn contacts"\n ],\n "Pending contacts": [\n null,\n "Conacten in afwachting van"\n ],\n "Contact requests": [\n null,\n "Contact uitnodiging"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contacten"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Error"\n ],\n "Connecting": [\n null,\n "Verbinden"\n ],\n "Authenticating": [\n null,\n "Authenticeren"\n ],\n "Authentication Failed": [\n null,\n "Authenticeren mislukt"\n ],\n "Re-establishing encrypted session": [\n null,\n "Bezig versleutelde sessie te herstellen"\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Niet kon de identiteit van deze gebruiker niet identificeren."\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Persoonlijk bericht"\n ],\n "me": [\n null,\n "ikzelf"\n ],\n "Show this menu": [\n null,\n "Toon dit menu"\n ],\n "Write in the third person": [\n null,\n "Schrijf in de 3de persoon"\n ],\n "Remove messages": [\n null,\n "Verwijder bericht"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "Je bericht kon niet worden verzonden"\n ],\n "We received an unencrypted message": [\n null,\n "We ontvingen een unencrypted bericht "\n ],\n "We received an unreadable encrypted message": [\n null,\n "We ontvangen een onleesbaar unencrypted bericht"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n "Wat is jou sericury vraag?"\n ],\n "What is the answer to the security question?": [\n null,\n "Wat is het antwoord op de security vraag?"\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Je berichten zijn niet meer encrypted"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Jou bericht is niet encrypted. KLik hier om ORC encrytion aan te zetten."\n ],\n "End encrypted conversation": [\n null,\n "Beeindig encrypted gesprek"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Ververs encrypted gesprek"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Start encrypted gesprek"\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n "Wat is dit?"\n ],\n "Online": [\n null,\n "Online"\n ],\n "Busy": [\n null,\n "Bezet"\n ],\n "Away": [\n null,\n "Afwezig"\n ],\n "Offline": [\n null,\n ""\n ],\n "Contact name": [\n null,\n "Contact naam"\n ],\n "Search": [\n null,\n "Zoeken"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Toevoegen"\n ],\n "Click to add new chat contacts": [\n null,\n "Klik om nieuwe contacten toe te voegen"\n ],\n "Add a contact": [\n null,\n "Voeg contact toe"\n ],\n "No users found": [\n null,\n "Geen gebruikers gevonden"\n ],\n "Click to add as a chat contact": [\n null,\n "Klik om contact toe te voegen"\n ],\n "Room name": [\n null,\n "Room naam"\n ],\n "Nickname": [\n null,\n "Nickname"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Toon rooms"\n ],\n "Rooms": [\n null,\n "Rooms"\n ],\n "No rooms on %1$s": [\n null,\n "Geen room op %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Room op %1$s"\n ],\n "Click to open this room": [\n null,\n "Klik om room te openen"\n ],\n "Show more information on this room": [\n null,\n "Toon meer informatie over deze room"\n ],\n "Description:": [\n null,\n "Beschrijving"\n ],\n "Occupants:": [\n null,\n "Deelnemers:"\n ],\n "Features:": [\n null,\n "Functies:"\n ],\n "Requires authentication": [\n null,\n "Verificatie vereist"\n ],\n "Hidden": [\n null,\n "Verborgen"\n ],\n "Requires an invitation": [\n null,\n "Veriest een uitnodiging"\n ],\n "Moderated": [\n null,\n "Gemodereerd"\n ],\n "Non-anonymous": [\n null,\n "Niet annoniem"\n ],\n "Open room": [\n null,\n "Open room"\n ],\n "Permanent room": [\n null,\n "Blijvend room"\n ],\n "Public": [\n null,\n "Publiek"\n ],\n "Semi-anonymous": [\n null,\n "Semi annoniem"\n ],\n "Temporary room": [\n null,\n "Tijdelijke room"\n ],\n "Unmoderated": [\n null,\n "Niet gemodereerd"\n ],\n "This user is a moderator": [\n null,\n "Dit is een moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Deze gebruiker kan berichten sturen in deze room"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Deze gebruiker kan NIET een bericht sturen in deze room"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Bericht"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Opslaan"\n ],\n "Cancel": [\n null,\n "Annuleren"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Een error tijdens het opslaan van het formulier."\n ],\n "This chatroom requires a password": [\n null,\n "Chatroom heeft een wachtwoord"\n ],\n "Password: ": [\n null,\n "Wachtwoord: "\n ],\n "Submit": [\n null,\n "Indienen"\n ],\n "This room is not anonymous": [\n null,\n "Deze room is niet annoniem"\n ],\n "This room now shows unavailable members": [\n null,\n ""\n ],\n "This room does not show unavailable members": [\n null,\n ""\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n ""\n ],\n "Room logging is now enabled": [\n null,\n ""\n ],\n "Room logging is now disabled": [\n null,\n ""\n ],\n "This room is now non-anonymous": [\n null,\n "Deze room is nu niet annoniem"\n ],\n "This room is now semi-anonymous": [\n null,\n "Deze room is nu semie annoniem"\n ],\n "This room is now fully-anonymous": [\n null,\n "Deze room is nu volledig annoniem"\n ],\n "A new room has been created": [\n null,\n "Een nieuwe room is gemaakt"\n ],\n "You have been banned from this room": [\n null,\n "Je bent verbannen uit deze room"\n ],\n "You have been kicked from this room": [\n null,\n "Je bent uit de room gegooid"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n ""\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n ""\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n ""\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> is verbannen"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> has been kicked out"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n ""\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n ""\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Je bent niet een gebruiker van deze room"\n ],\n "No nickname was specified": [\n null,\n "Geen nickname ingegeven"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Je bent niet toegestaan nieuwe rooms te maken"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Je nickname is niet conform policy"\n ],\n "Your nickname is already taken": [\n null,\n "Je nickname bestaat al"\n ],\n "This room does not (yet) exist": [\n null,\n "Deze room bestaat niet"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Deze room heeft het maximale aantal gebruikers"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Klik om contact te verwijderen"\n ],\n "Click to chat with this contact": [\n null,\n "Klik om te chatten met contact"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Ik ben %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klik hier om custom status bericht te maken"\n ],\n "Click to change your chat status": [\n null,\n "Klik hier om status te wijzigen"\n ],\n "Custom status": [\n null,\n ""\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "bezet"\n ],\n "away for long": [\n null,\n "afwezig lange tijd"\n ],\n "away": [\n null,\n "afwezig"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Wachtwoord:"\n ],\n "Log In": [\n null,\n "Aanmelden"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Aanmelden"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!pl",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);",\n "lang": "pl"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "nieszyfrowane"\n ],\n "unverified": [\n null,\n "niezweryfikowane"\n ],\n "verified": [\n null,\n "zweryfikowane"\n ],\n "finished": [\n null,\n "zakończone"\n ],\n "This contact is busy": [\n null,\n "Kontakt jest zajęty"\n ],\n "This contact is online": [\n null,\n "Kontakt jest połączony"\n ],\n "This contact is offline": [\n null,\n "Kontakt jest niepołączony"\n ],\n "This contact is unavailable": [\n null,\n "Kontakt jest niedostępny"\n ],\n "This contact is away for an extended period": [\n null,\n "Kontakt jest nieobecny przez dłuższą chwilę"\n ],\n "This contact is away": [\n null,\n "Kontakt jest nieobecny"\n ],\n "Click to hide these contacts": [\n null,\n "Kliknij aby schować te kontakty"\n ],\n "My contacts": [\n null,\n "Moje kontakty"\n ],\n "Pending contacts": [\n null,\n "Kontakty oczekujące"\n ],\n "Contact requests": [\n null,\n "Zaproszenia do kontaktu"\n ],\n "Ungrouped": [\n null,\n "Niezgrupowane"\n ],\n "Contacts": [\n null,\n "Kontakty"\n ],\n "Groups": [\n null,\n "Grupy"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Błąd"\n ],\n "Connecting": [\n null,\n "Łączę się"\n ],\n "Authenticating": [\n null,\n "Autoryzacja"\n ],\n "Authentication Failed": [\n null,\n "Autoryzacja nie powiodła się"\n ],\n "Re-establishing encrypted session": [\n null,\n "Przywrócenie sesji szyfrowanej"\n ],\n "Generating private key.": [\n null,\n "Generuję klucz prywatny."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Twoja przeglądarka może nieco zwolnić."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Prośba o autoryzację od %1$s\\n\\nKontakt próbuje zweryfikować twoją tożsamość, zadając ci pytanie poniżej.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Nie jestem w stanie zweryfikować tożsamości kontaktu."\n ],\n "Exchanging private key with contact.": [\n null,\n "Wymieniam klucze szyfrujące z kontaktem."\n ],\n "Personal message": [\n null,\n "Wiadomość osobista"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Potwierdź czy rzeczywiście chcesz wyczyścić wiadomości z tego pokoju?"\n ],\n "me": [\n null,\n "ja"\n ],\n "is typing": [\n null,\n "pisze"\n ],\n "has stopped typing": [\n null,\n "przestał pisać"\n ],\n "Show this menu": [\n null,\n "Pokaż menu"\n ],\n "Write in the third person": [\n null,\n "Pisz w trzeciej osobie"\n ],\n "Remove messages": [\n null,\n "Usuń wiadomość"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Potwierdź czy rzeczywiście chcesz wyczyścić wiadomości z okienka rozmowy?"\n ],\n "Your message could not be sent": [\n null,\n "Twoja wiadomość nie została wysłana"\n ],\n "We received an unencrypted message": [\n null,\n "Otrzymaliśmy niezaszyfrowaną wiadomość"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Otrzymaliśmy nieczytelną zaszyfrowaną wiadomość"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Oto odciski palców, potwiedź je proszę z %1$s używając innego sposobuwymiany informacji niż ta rozmowa.\\n\\nOdcisk palca dla ciebie, %2$s: %3$s\\n\\nOdcisk palca dla %1$s: %4$s\\n\\nJeśli odciski palców zostały potwierdzone, kliknij OK, w inny wypadku kliknij Anuluj."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Poprosimy cię o podanie pytania sprawdzającego i odpowiedzi na nie.\\n\\nTwój kontakt zostanie poproszony później o odpowiedź na to samo pytanie i jeśli udzieli tej samej odpowiedzi (ważna jest wielkość liter), tożsamość zostanie zwerfikowana."\n ],\n "What is your security question?": [\n null,\n "Jakie jest pytanie bezpieczeństwa?"\n ],\n "What is the answer to the security question?": [\n null,\n "Jaka jest odpowiedź na pytanie bezpieczeństwa?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Niewłaściwy schemat autoryzacji"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Twoje wiadomości nie są już szyfrowane"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Wiadomości są teraz szyfrowane, ale tożsamość kontaktu nie została zweryfikowana."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "Tożsamość kontaktu została zweryfikowana"\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Kontakt zakończył sesję szyfrowaną, powinieneś zrobić to samo."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Twoje wiadomości nie są szyfrowane. Kliknij, aby uruchomić szyfrowanie OTR"\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Wiadomości są szyfrowane, ale tożsamość kontaktu nie została zweryfikowana."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Wiadomości są szyfrowane i tożsamość kontaktu została zweryfikowana."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Kontakt zakończył prywatną rozmowę i ty zrób to samo"\n ],\n "Clear all messages": [\n null,\n "Wyczyść wszystkie wiadomości"\n ],\n "End encrypted conversation": [\n null,\n "Zakończ szyfrowaną rozmowę"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "Ukryj listę rozmówców"\n ],\n "Refresh encrypted conversation": [\n null,\n "Odśwież szyfrowaną rozmowę"\n ],\n "Start a call": [\n null,\n "Zadzwoń"\n ],\n "Start encrypted conversation": [\n null,\n "Rozpocznij szyfrowaną rozmowę"\n ],\n "Verify with fingerprints": [\n null,\n "Zweryfikuj za pomocą odcisków palców"\n ],\n "Verify with SMP": [\n null,\n "Zweryfikuj za pomocą SMP"\n ],\n "What\'s this?": [\n null,\n "Co to jest?"\n ],\n "Online": [\n null,\n "Dostępny"\n ],\n "Busy": [\n null,\n "Zajęty"\n ],\n "Away": [\n null,\n "Nieobecny"\n ],\n "Offline": [\n null,\n "Rozłączony"\n ],\n "Log out": [\n null,\n "Wyloguj"\n ],\n "Contact name": [\n null,\n "Nazwa kontaktu"\n ],\n "Search": [\n null,\n "Szukaj"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Dodaj"\n ],\n "Click to add new chat contacts": [\n null,\n "Kliknij aby dodać nowe kontakty"\n ],\n "Add a contact": [\n null,\n "Dodaj kontakt"\n ],\n "No users found": [\n null,\n "Nie znaleziono użytkowników"\n ],\n "Click to add as a chat contact": [\n null,\n "Kliknij aby dodać jako kontakt"\n ],\n "Room name": [\n null,\n "Nazwa pokoju"\n ],\n "Nickname": [\n null,\n "Ksywka"\n ],\n "Server": [\n null,\n "Serwer"\n ],\n "Show rooms": [\n null,\n "Pokaż pokoje"\n ],\n "Rooms": [\n null,\n "Pokoje"\n ],\n "No rooms on %1$s": [\n null,\n "Brak jest pokojów na %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Pokoje na %1$s"\n ],\n "Click to open this room": [\n null,\n "Kliknij aby wejść do pokoju"\n ],\n "Show more information on this room": [\n null,\n "Pokaż więcej informacji o pokoju"\n ],\n "Description:": [\n null,\n "Opis:"\n ],\n "Occupants:": [\n null,\n "Uczestnicy:"\n ],\n "Features:": [\n null,\n "Możliwości:"\n ],\n "Requires authentication": [\n null,\n "Wymaga autoryzacji"\n ],\n "Hidden": [\n null,\n "Ukryty"\n ],\n "Requires an invitation": [\n null,\n "Wymaga zaproszenia"\n ],\n "Moderated": [\n null,\n "Moderowany"\n ],\n "Non-anonymous": [\n null,\n "Nieanonimowy"\n ],\n "Open room": [\n null,\n "Otwarty pokój"\n ],\n "Permanent room": [\n null,\n "Stały pokój"\n ],\n "Public": [\n null,\n "Publiczny"\n ],\n "Semi-anonymous": [\n null,\n "Półanonimowy"\n ],\n "Temporary room": [\n null,\n "Pokój tymczasowy"\n ],\n "Unmoderated": [\n null,\n "Niemoderowany"\n ],\n "This user is a moderator": [\n null,\n "Ten człowiek jest moderatorem"\n ],\n "This user can send messages in this room": [\n null,\n "Ten człowiek może rozmawiać w niejszym pokoju"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Ten człowiek nie może rozmawiać w niniejszym pokoju"\n ],\n "Invite...": [\n null,\n "Zaproś..."\n ],\n "Occupants": [\n null,\n "Uczestników"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Zamierzasz zaprosić %1$s do pokoju rozmów \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Masz opcjonalną możliwość dołączenia wiadomości, która wyjaśni przyczynę zaproszenia."\n ],\n "Message": [\n null,\n "Wiadomość:"\n ],\n "Error: could not execute the command": [\n null,\n "Błąd: nie potrafię uruchomić polecenia"\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Zablokuj dostępu do pokoju"\n ],\n "Kick user from room": [\n null,\n "Wykop z pokoju"\n ],\n "Write in 3rd person": [\n null,\n "Pisz w trzeciej osobie"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Zablokuj człowiekowi możliwość rozmowy"\n ],\n "Change your nickname": [\n null,\n "Zmień ksywkę"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Ustaw temat pokoju"\n ],\n "Allow muted user to post messages": [\n null,\n "Pozwól uciszonemu człowiekowi na rozmowę"\n ],\n "Save": [\n null,\n "Zachowaj"\n ],\n "Cancel": [\n null,\n "Anuluj"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Wystąpił błąd w czasie próby zachowania formularza."\n ],\n "This chatroom requires a password": [\n null,\n "Pokój rozmów wymaga podania hasła"\n ],\n "Password: ": [\n null,\n "Hasło:"\n ],\n "Submit": [\n null,\n "Wyślij"\n ],\n "This room is not anonymous": [\n null,\n "Pokój nie jest anonimowy"\n ],\n "This room now shows unavailable members": [\n null,\n "Pokój pokazuje niedostępnych rozmówców"\n ],\n "This room does not show unavailable members": [\n null,\n "Ten pokój nie wyświetla niedostępnych członków"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Ustawienia pokoju nie związane z prywatnością zostały zmienione"\n ],\n "Room logging is now enabled": [\n null,\n "Zostało włączone zapisywanie rozmów w pokoju"\n ],\n "Room logging is now disabled": [\n null,\n "Zostało wyłączone zapisywanie rozmów w pokoju"\n ],\n "This room is now non-anonymous": [\n null,\n "Pokój stał się nieanonimowy"\n ],\n "This room is now semi-anonymous": [\n null,\n "Pokój stał się półanonimowy"\n ],\n "This room is now fully-anonymous": [\n null,\n "Pokój jest teraz w pełni anonimowy"\n ],\n "A new room has been created": [\n null,\n "Został utworzony nowy pokój"\n ],\n "You have been banned from this room": [\n null,\n "Jesteś niemile widziany w tym pokoju"\n ],\n "You have been kicked from this room": [\n null,\n "Zostałeś wykopany z pokoju"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Zostałeś usunięty z pokoju ze względu na zmianę przynależności"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Zostałeś usunięty z pokoju ze względu na to, że pokój zmienił się na wymagający członkowstwa, a ty nie jesteś członkiem"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Zostałeś usunięty z pokoju ze względu na to, że serwis MUC(Multi-user chat) został wyłączony."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> został zbanowany"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "<strong>%1$s</strong> zmienił ksywkę"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> został wykopany"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> został usunięty z powodu zmiany przynależności"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> został usunięty ze względu na to, że nie jest członkiem"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "Twoja ksywka została automatycznie zmieniona na: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "Twoja ksywka została zmieniona na: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "Podana przyczyna to: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Nie jesteś członkiem tego pokoju rozmów"\n ],\n "No nickname was specified": [\n null,\n "Nie podałeś ksywki"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Nie masz uprawnień do tworzenia nowych pokojów rozmów"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Twoja ksywka nie jest zgodna z regulaminem pokoju"\n ],\n "Your nickname is already taken": [\n null,\n "Twoja ksywka jest już w użyciu"\n ],\n "This room does not (yet) exist": [\n null,\n "Ten pokój (jeszcze) nie istnieje"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Pokój przekroczył dozwoloną ilość rozmówców"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Temat ustawiony przez %1$s na: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s zaprosił(a) cię do wejścia do pokoju rozmów %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s zaprosił cię do pokoju: %2$s, podając następujący powód: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Kliknij aby powrócić do rozmowy"\n ],\n "Minimized": [\n null,\n "Zminimalizowany"\n ],\n "Click to remove this contact": [\n null,\n "Kliknij aby usunąć kontakt"\n ],\n "Click to accept this contact request": [\n null,\n "Klknij aby zaakceptować życzenie nawiązania kontaktu"\n ],\n "Click to decline this contact request": [\n null,\n "Kliknij aby odrzucić życzenie nawiązania kontaktu"\n ],\n "Click to chat with this contact": [\n null,\n "Kliknij aby porozmawiać z kontaktem"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Czy potwierdzasz zamiar usnunięcia tego kontaktu?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Czy potwierdzasz odrzucenie chęci nawiązania kontaktu?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Zacznij pisać, aby odfiltrować"\n ],\n "I am %1$s": [\n null,\n "Jestem %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Kliknij aby wpisać nowy status"\n ],\n "Click to change your chat status": [\n null,\n "Kliknij aby zmienić status rozmowy"\n ],\n "Custom status": [\n null,\n "Własny status"\n ],\n "online": [\n null,\n "dostępny"\n ],\n "busy": [\n null,\n "zajęty"\n ],\n "away for long": [\n null,\n "dłużej nieobecny"\n ],\n "away": [\n null,\n "nieobecny"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Domena twojego dostawcy XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Pobierz formularz rejestracyjny"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Wskazówka: dostępna jest lista publicznych dostawców XMPP"\n ],\n "here": [\n null,\n "tutaj"\n ],\n "Register": [\n null,\n "Zarejestruj"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Przepraszamy, ale podany dostawca nie obsługuje rejestracji. Spróbuj wskazać innego dostawcę."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Pobieranie formularza rejestracyjnego z serwera XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Coś nie zadziałało przy próbie połączenia z \\"%1$s\\". Jesteś pewien że istnieje?"\n ],\n "Now logging you in": [\n null,\n "Teraz jesteś logowany"\n ],\n "Registered successfully": [\n null,\n "Szczęśliwie zarejestrowany"\n ],\n "Return": [\n null,\n "Powrót"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "Dostawca odrzucił twoją próbę rejestracji. "\n ],\n "XMPP Username:": [\n null,\n "Nazwa użytkownika XMPP:"\n ],\n "Password:": [\n null,\n "Hasło:"\n ],\n "Log In": [\n null,\n "Zaloguj się"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Zarejestruj się"\n ],\n "Toggle chat": [\n null,\n "Przełącz rozmowę"\n ]\n }\n }\n}'}),define("text!pt_BR",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n > 1);",\n "lang": "pt_BR"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "não-criptografado"\n ],\n "unverified": [\n null,\n "não-verificado"\n ],\n "verified": [\n null,\n "verificado"\n ],\n "finished": [\n null,\n "finalizado"\n ],\n "This contact is busy": [\n null,\n "Este contato está ocupado"\n ],\n "This contact is online": [\n null,\n "Este contato está online"\n ],\n "This contact is offline": [\n null,\n "Este contato está offline"\n ],\n "This contact is unavailable": [\n null,\n "Este contato está indisponível"\n ],\n "This contact is away for an extended period": [\n null,\n "Este contato está ausente por um longo período"\n ],\n "This contact is away": [\n null,\n "Este contato está ausente"\n ],\n "My contacts": [\n null,\n "Meus contatos"\n ],\n "Pending contacts": [\n null,\n "Contados pendentes"\n ],\n "Contact requests": [\n null,\n "Solicitação de contatos"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contatos"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Erro"\n ],\n "Connecting": [\n null,\n "Conectando"\n ],\n "Authenticating": [\n null,\n "Autenticando"\n ],\n "Authentication Failed": [\n null,\n "Falha de autenticação"\n ],\n "Re-establishing encrypted session": [\n null,\n "Reestabelecendo sessão criptografada"\n ],\n "Generating private key.": [\n null,\n "Gerando chave-privada."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Seu navegador pode parar de responder."\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Não foi possível verificar a identidade deste usuário."\n ],\n "Personal message": [\n null,\n "Mensagem pessoal"\n ],\n "me": [\n null,\n "eu"\n ],\n "Show this menu": [\n null,\n "Mostrar o menu"\n ],\n "Write in the third person": [\n null,\n "Escrever em terceira pessoa"\n ],\n "Remove messages": [\n null,\n "Remover mensagens"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Tem certeza que deseja limpar as mensagens dessa caixa?"\n ],\n "Your message could not be sent": [\n null,\n "Sua mensagem não pode ser enviada"\n ],\n "We received an unencrypted message": [\n null,\n "Recebemos uma mensagem não-criptografada"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Recebemos uma mensagem não-criptografada ilegível"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Aqui estão as assinaturas digitais, por favor confirme elas com %1$s, fora deste chat.\\n\\nAssinatura para você, %2$s: %3$s\\n\\nAssinatura para %1$s: %4$s\\n\\nSe você tiver confirmado que as assinaturas conferem, clique OK, caso contrário, clique Cancelar."\n ],\n "What is your security question?": [\n null,\n "Qual é a sua pergunta de segurança?"\n ],\n "What is the answer to the security question?": [\n null,\n "Qual é a resposta para a pergunta de segurança?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Schema de autenticação fornecido é inválido"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Suas mensagens não estão mais criptografadas"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Suas mensagens não estão criptografadas. Clique aqui para habilitar criptografia OTR."\n ],\n "End encrypted conversation": [\n null,\n "Finalizar conversa criptografada"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Atualizar conversa criptografada"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Iniciar conversa criptografada"\n ],\n "Verify with fingerprints": [\n null,\n "Verificar com assinatura digital"\n ],\n "Verify with SMP": [\n null,\n "Verificar com SMP"\n ],\n "What\'s this?": [\n null,\n "O que é isso?"\n ],\n "Online": [\n null,\n "Online"\n ],\n "Busy": [\n null,\n "Ocupado"\n ],\n "Away": [\n null,\n "Ausente"\n ],\n "Offline": [\n null,\n "Offline"\n ],\n "Contact name": [\n null,\n "Nome do contato"\n ],\n "Search": [\n null,\n "Procurar"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Adicionar"\n ],\n "Click to add new chat contacts": [\n null,\n "Clique para adicionar novos contatos ao chat"\n ],\n "Add a contact": [\n null,\n "Adicionar contato"\n ],\n "No users found": [\n null,\n "Não foram encontrados usuários"\n ],\n "Click to add as a chat contact": [\n null,\n "Clique para adicionar como um contato do chat"\n ],\n "Room name": [\n null,\n "Nome da sala"\n ],\n "Nickname": [\n null,\n "Apelido"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Mostar salas"\n ],\n "Rooms": [\n null,\n "Salas"\n ],\n "No rooms on %1$s": [\n null,\n "Sem salas em %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Salas em %1$s"\n ],\n "Click to open this room": [\n null,\n "CLique para abrir a sala"\n ],\n "Show more information on this room": [\n null,\n "Mostrar mais informações nessa sala"\n ],\n "Description:": [\n null,\n "Descrição:"\n ],\n "Occupants:": [\n null,\n "Ocupantes:"\n ],\n "Features:": [\n null,\n "Recursos:"\n ],\n "Requires authentication": [\n null,\n "Requer autenticação"\n ],\n "Hidden": [\n null,\n "Escondido"\n ],\n "Requires an invitation": [\n null,\n "Requer um convite"\n ],\n "Moderated": [\n null,\n "Moderado"\n ],\n "Non-anonymous": [\n null,\n "Não anônimo"\n ],\n "Open room": [\n null,\n "Sala aberta"\n ],\n "Permanent room": [\n null,\n "Sala permanente"\n ],\n "Public": [\n null,\n "Público"\n ],\n "Semi-anonymous": [\n null,\n "Semi anônimo"\n ],\n "Temporary room": [\n null,\n "Sala temporária"\n ],\n "Unmoderated": [\n null,\n "Sem moderação"\n ],\n "This user is a moderator": [\n null,\n "Esse usuário é o moderador"\n ],\n "This user can send messages in this room": [\n null,\n "Esse usuário pode enviar mensagens nessa sala"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Esse usuário NÃO pode enviar mensagens nessa sala"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Mensagem"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Salvar"\n ],\n "Cancel": [\n null,\n "Cancelar"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Ocorreu um erro enquanto tentava salvar o formulário"\n ],\n "This chatroom requires a password": [\n null,\n "Esse chat precisa de senha"\n ],\n "Password: ": [\n null,\n "Senha: "\n ],\n "Submit": [\n null,\n "Enviar"\n ],\n "This room is not anonymous": [\n null,\n "Essa sala não é anônima"\n ],\n "This room now shows unavailable members": [\n null,\n "Agora esta sala mostra membros indisponíveis"\n ],\n "This room does not show unavailable members": [\n null,\n "Essa sala não mostra membros indisponíveis"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Configuraçõs não relacionadas à privacidade mudaram"\n ],\n "Room logging is now enabled": [\n null,\n "O log da sala está ativado"\n ],\n "Room logging is now disabled": [\n null,\n "O log da sala está desativado"\n ],\n "This room is now non-anonymous": [\n null,\n "Esse sala é não anônima"\n ],\n "This room is now semi-anonymous": [\n null,\n "Essa sala agora é semi anônima"\n ],\n "This room is now fully-anonymous": [\n null,\n "Essa sala agora é totalmente anônima"\n ],\n "A new room has been created": [\n null,\n "Uma nova sala foi criada"\n ],\n "You have been banned from this room": [\n null,\n "Você foi banido dessa sala"\n ],\n "You have been kicked from this room": [\n null,\n "Você foi expulso dessa sala"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Você foi removido da sala devido a uma mudança de associação"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Você foi removido da sala porque ela foi mudada para somente membrose você não é um membro"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Você foi removido da sala devido a MUC (Multi-user chat)o serviço está sendo desligado"\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> foi banido"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> foi expulso"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<srtong>%1$s</strong> foi removido por causa de troca de associação"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> foi removido por não ser um membro"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Você não é membro dessa sala"\n ],\n "No nickname was specified": [\n null,\n "Você não escolheu um apelido "\n ],\n "You are not allowed to create new rooms": [\n null,\n "Você não tem permitição de criar novas salas"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Seu apelido não está de acordo com as regras da sala"\n ],\n "Your nickname is already taken": [\n null,\n "Seu apelido já foi escolhido"\n ],\n "This room does not (yet) exist": [\n null,\n "A sala não existe (ainda)"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "A sala atingiu o número máximo de ocupantes"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topico definido por %1$s para: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n "Minimizado"\n ],\n "Click to remove this contact": [\n null,\n "Clique para remover o contato"\n ],\n "Click to chat with this contact": [\n null,\n "Clique para conversar com o contato"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Estou %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Clique aqui para customizar a mensagem de status"\n ],\n "Click to change your chat status": [\n null,\n "Clique para mudar seu status no chat"\n ],\n "Custom status": [\n null,\n "Status customizado"\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "ocupado"\n ],\n "away for long": [\n null,\n "ausente a bastante tempo"\n ],\n "away": [\n null,\n "ausente"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Senha:"\n ],\n "Log In": [\n null,\n "Entrar"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Conectar-se"\n ],\n "Toggle chat": [\n null,\n "Alternar bate-papo"\n ]\n }\n }\n}'}),define("text!ru",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "ru"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "не зашифровано"\n ],\n "unverified": [\n null,\n "непроверено"\n ],\n "verified": [\n null,\n "проверено"\n ],\n "finished": [\n null,\n "закончено"\n ],\n "This contact is busy": [\n null,\n "Занят"\n ],\n "This contact is online": [\n null,\n "В сети"\n ],\n "This contact is offline": [\n null,\n "Не в сети"\n ],\n "This contact is unavailable": [\n null,\n "Не доступен"\n ],\n "This contact is away for an extended period": [\n null,\n "На долго отошёл"\n ],\n "This contact is away": [\n null,\n "Отошёл"\n ],\n "My contacts": [\n null,\n "Контакты"\n ],\n "Pending contacts": [\n null,\n "Собеседники ожидающие авторизации"\n ],\n "Contact requests": [\n null,\n "Запросы на авторизацию"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Контакты"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Ошибка"\n ],\n "Connecting": [\n null,\n "Соединение"\n ],\n "Authenticating": [\n null,\n "Авторизация"\n ],\n "Authentication Failed": [\n null,\n "Не удалось авторизоваться"\n ],\n "Re-establishing encrypted session": [\n null,\n ""\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n ""\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Введите сообщение"\n ],\n "me": [\n null,\n "Я"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Показать это меню"\n ],\n "Write in the third person": [\n null,\n ""\n ],\n "Remove messages": [\n null,\n "Удалить сообщения"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "Ваше сообщение не послано"\n ],\n "We received an unencrypted message": [\n null,\n ""\n ],\n "We received an unreadable encrypted message": [\n null,\n ""\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Ваши сообщения больше не шифруются"\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Ваши сообщения не шифруются. Нажмите здесь чтобы настроить шифрование."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n "Что это?"\n ],\n "Online": [\n null,\n "В сети"\n ],\n "Busy": [\n null,\n "Занят"\n ],\n "Away": [\n null,\n "Отошёл"\n ],\n "Offline": [\n null,\n "Не в сети"\n ],\n "Contact name": [\n null,\n "Имя контакта"\n ],\n "Search": [\n null,\n "Поиск"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Добавить"\n ],\n "Click to add new chat contacts": [\n null,\n "Добавить новую конференцию"\n ],\n "Add a contact": [\n null,\n "Добавть контакт"\n ],\n "No users found": [\n null,\n "Пользователи не найдены"\n ],\n "Click to add as a chat contact": [\n null,\n "Добавить контакт"\n ],\n "Room name": [\n null,\n "Имя конференции"\n ],\n "Nickname": [\n null,\n "Псевдоним"\n ],\n "Server": [\n null,\n "Сервер"\n ],\n "Show rooms": [\n null,\n "Обновить"\n ],\n "Rooms": [\n null,\n "Конфер."\n ],\n "No rooms on %1$s": [\n null,\n "Нет доступных конференций %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Конференции %1$s:"\n ],\n "Click to open this room": [\n null,\n "Зайти в конференцию"\n ],\n "Show more information on this room": [\n null,\n "Показать больше информации об этой конференции"\n ],\n "Description:": [\n null,\n "Описание:"\n ],\n "Occupants:": [\n null,\n "Участники:"\n ],\n "Features:": [\n null,\n "Свойства:"\n ],\n "Requires authentication": [\n null,\n "Требуется авторизация"\n ],\n "Hidden": [\n null,\n "Скрыто"\n ],\n "Requires an invitation": [\n null,\n "Требуется приглашение"\n ],\n "Moderated": [\n null,\n "Модерируемая"\n ],\n "Non-anonymous": [\n null,\n "Не анонимная"\n ],\n "Open room": [\n null,\n "Открыть конференцию"\n ],\n "Permanent room": [\n null,\n "Перманентная конференция"\n ],\n "Public": [\n null,\n "Публичный"\n ],\n "Semi-anonymous": [\n null,\n "Частично анонимная"\n ],\n "Temporary room": [\n null,\n "Временная конференция"\n ],\n "Unmoderated": [\n null,\n "Немодерируемая"\n ],\n "This user is a moderator": [\n null,\n "Модератор"\n ],\n "This user can send messages in this room": [\n null,\n "Собеседник"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Пользователь не может посылать сообщения в эту комнату"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Сообщение"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Write in 3rd person": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Сохранить"\n ],\n "Cancel": [\n null,\n "Отменить"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "При сохранение формы произошла ошибка."\n ],\n "This chatroom requires a password": [\n null,\n "Для доступа в конфер. необходим пароль."\n ],\n "Password: ": [\n null,\n "Пароль: "\n ],\n "Submit": [\n null,\n "Отправить"\n ],\n "This room is not anonymous": [\n null,\n "Эта комната не анонимная"\n ],\n "This room now shows unavailable members": [\n null,\n "Эта комната показывает доступных собеседников"\n ],\n "This room does not show unavailable members": [\n null,\n "Эта комната не показывает недоступных собеседников"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n ""\n ],\n "Room logging is now enabled": [\n null,\n ""\n ],\n "Room logging is now disabled": [\n null,\n ""\n ],\n "This room is now non-anonymous": [\n null,\n "Эта комната не анонимная"\n ],\n "This room is now semi-anonymous": [\n null,\n "Эта комната частично анонимная"\n ],\n "This room is now fully-anonymous": [\n null,\n "Эта комната стала полностью анонимной"\n ],\n "A new room has been created": [\n null,\n "Новая комната была создана"\n ],\n "You have been banned from this room": [\n null,\n "Вам запрещено подключатся к этой конференции"\n ],\n "You have been kicked from this room": [\n null,\n "Вам запрещено подключатся к этой конференции"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "<strong>%1$s</strong> удалён потому что изменились права"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Вы отключены от этой конференции потому что режим изменился: только-участники"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Вы отключены от этой конференции потому что сервись конференций выключен."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> забанен"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> выдворен"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> has been removed because of an affiliation change"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> удалён потому что не участник"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Вас нет в списке этой конференции"\n ],\n "No nickname was specified": [\n null,\n "Вы не указали псевдоним"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Вы не имеете права создавать конфер."\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Псевдоним не согласуется с правилами конфер."\n ],\n "Your nickname is already taken": [\n null,\n "Ваш ник уже используется другим пользователем"\n ],\n "This room does not (yet) exist": [\n null,\n "Эта комната не существует"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Конференция достигла максимального количества участников"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Тема %2$s устатновлена %1$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Удалить контакт"\n ],\n "Click to chat with this contact": [\n null,\n "Начать общение"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "%1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Редактировать произвольный статус"\n ],\n "Click to change your chat status": [\n null,\n "Изменить ваш статус"\n ],\n "Custom status": [\n null,\n "Произвольный статус"\n ],\n "online": [\n null,\n "на связи"\n ],\n "busy": [\n null,\n "занят"\n ],\n "away for long": [\n null,\n "отошёл на долго"\n ],\n "away": [\n null,\n "отошёл"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Пароль:"\n ],\n "Log In": [\n null,\n "Войти"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Подписать"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!uk",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);",\n "lang": "uk"\n },\n " e.g. conversejs.org": [\n null,\n " напр. conversejs.org"\n ],\n "unencrypted": [\n null,\n "некриптовано"\n ],\n "unverified": [\n null,\n "неперевірено"\n ],\n "verified": [\n null,\n "перевірено"\n ],\n "finished": [\n null,\n "завершено"\n ],\n "This contact is busy": [\n null,\n "Цей контакт зайнятий"\n ],\n "This contact is online": [\n null,\n "Цей контакт на зв\'язку"\n ],\n "This contact is offline": [\n null,\n "Цей контакт поза мережею"\n ],\n "This contact is unavailable": [\n null,\n "Цей контакт недоступний"\n ],\n "This contact is away for an extended period": [\n null,\n "Цей контакт відсутній тривалий час"\n ],\n "This contact is away": [\n null,\n "Цей контакт відсутній"\n ],\n "Click to hide these contacts": [\n null,\n "Клацніть, щоб приховати ці контакти"\n ],\n "My contacts": [\n null,\n "Мої контакти"\n ],\n "Pending contacts": [\n null,\n "Контакти в очікуванні"\n ],\n "Contact requests": [\n null,\n "Запити контакту"\n ],\n "Ungrouped": [\n null,\n "Негруповані"\n ],\n "Contacts": [\n null,\n "Контакти"\n ],\n "Groups": [\n null,\n "Групи"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Помилка"\n ],\n "Connecting": [\n null,\n "Під\'єднуюсь"\n ],\n "Authenticating": [\n null,\n "Автентикуюсь"\n ],\n "Authentication Failed": [\n null,\n "Автентикація невдала"\n ],\n "Re-establishing encrypted session": [\n null,\n "Перевстановлюю криптований сеанс"\n ],\n "Generating private key.": [\n null,\n "Генерація приватного ключа."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Ваш браузер може підвиснути."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Запит автентикації від %1$s\\n\\nВаш контакт в чаті намагається встановити Вашу особу і просить відповісти на питання нижче.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Не можу перевірити автентичність цього користувача."\n ],\n "Exchanging private key with contact.": [\n null,\n "Обмін приватним ключем з контактом."\n ],\n "Personal message": [\n null,\n "Персональна вісточка"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Ви впевнені, що хочете очистити повідомлення з цієї кімнати?"\n ],\n "me": [\n null,\n "я"\n ],\n "is typing": [\n null,\n "друкує"\n ],\n "has stopped typing": [\n null,\n "припинив друкувати"\n ],\n "has gone away": [\n null,\n "пішов геть"\n ],\n "Show this menu": [\n null,\n "Показати це меню"\n ],\n "Write in the third person": [\n null,\n "Писати від третьої особи"\n ],\n "Remove messages": [\n null,\n "Видалити повідомлення"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Ви впевнені, що хочете очистити повідомлення з цього вікна чату?"\n ],\n "Your message could not be sent": [\n null,\n "Ваше повідомлення не може бути надіслане"\n ],\n "We received an unencrypted message": [\n null,\n "Ми отримали некриптоване повідомлення"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Ми отримали нечитабельне криптоване повідомлення"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Ось відбитки, будь-ласка, підтвердіть їх з %1$s, за межами цього чату.\\n\\nВідбиток для Вас, %2$s: %3$s\\n\\nВідбиток для %1$s: %4$s\\n\\nЯкщо Ви підтверджуєте відповідність відбитка, клацніть Гаразд, інакше клацніть Відміна."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Вас запитають таємне питання і відповідь на нього.\\n\\nПотім Вашого контакта запитають те саме питання, і якщо вони введуть ту саму відповідь (враховуючи регістр), їх особи будуть перевірені."\n ],\n "What is your security question?": [\n null,\n "Яке Ваше таємне питання?"\n ],\n "What is the answer to the security question?": [\n null,\n "Яка відповідь на таємне питання?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Надана некоректна схема автентикації"\n ],\n "has gone offline": [\n null,\n "тепер поза мережею"\n ],\n "is busy": [\n null,\n "зайнятий"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Ваші повідомлення більше не криптуються"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Ваші повідомлення вже криптуються, але особа Вашого контакту не перевірена."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "Особу Вашого контакту перевірено."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Ваш контакт припинив криптування зі свого боку, Вам слід зробити те саме."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Ваші повідомлення не криптуються. Клацніть тут, щоб увімкнути OTR-криптування."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Ваші повідомлення криптуються, але Ваш контакт не був перевірений."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Ваші повідомлення криптуються і Ваш контакт перевірено."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Ваш контакт закрив зі свого боку приватну сесію, Вам слід зробити те ж саме"\n ],\n "Clear all messages": [\n null,\n "Очистити всі повідомлення"\n ],\n "End encrypted conversation": [\n null,\n "Завершити криптовану розмову"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n "Сховати список учасників"\n ],\n "Refresh encrypted conversation": [\n null,\n "Оновити криптовану розмову"\n ],\n "Start a call": [\n null,\n "Почати виклик"\n ],\n "Start encrypted conversation": [\n null,\n "Почати криптовану розмову"\n ],\n "Verify with fingerprints": [\n null,\n "Перевірити за відбитками"\n ],\n "Verify with SMP": [\n null,\n "Перевірити за SMP"\n ],\n "What\'s this?": [\n null,\n "Що це?"\n ],\n "Online": [\n null,\n "На зв\'язку"\n ],\n "Busy": [\n null,\n "Зайнятий"\n ],\n "Away": [\n null,\n "Далеко"\n ],\n "Offline": [\n null,\n "Поза мережею"\n ],\n "Log out": [\n null,\n "Вийти"\n ],\n "Contact name": [\n null,\n "Назва контакту"\n ],\n "Search": [\n null,\n "Пошук"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Додати"\n ],\n "Click to add new chat contacts": [\n null,\n "Клацніть, щоб додати нові контакти до чату"\n ],\n "Add a contact": [\n null,\n "Додати контакт"\n ],\n "No users found": [\n null,\n "Жодного користувача не знайдено"\n ],\n "Click to add as a chat contact": [\n null,\n "Клацніть, щоб додати як чат-контакт"\n ],\n "Room name": [\n null,\n "Назва кімнати"\n ],\n "Nickname": [\n null,\n "Прізвисько"\n ],\n "Server": [\n null,\n "Сервер"\n ],\n "Join Room": [\n null,\n "Приєднатися до кімнати"\n ],\n "Show rooms": [\n null,\n "Показати кімнати"\n ],\n "Rooms": [\n null,\n "Кімнати"\n ],\n "No rooms on %1$s": [\n null,\n "Жодної кімнати на %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Кімнати на %1$s"\n ],\n "Click to open this room": [\n null,\n "Клацніть, щоб увійти в цю кімнату"\n ],\n "Show more information on this room": [\n null,\n "Показати більше інформації про цю кімату"\n ],\n "Description:": [\n null,\n "Опис:"\n ],\n "Occupants:": [\n null,\n "Присутні:"\n ],\n "Features:": [\n null,\n "Особливості:"\n ],\n "Requires authentication": [\n null,\n "Вимагає автентикації"\n ],\n "Hidden": [\n null,\n "Прихована"\n ],\n "Requires an invitation": [\n null,\n "Вимагає запрошення"\n ],\n "Moderated": [\n null,\n "Модерована"\n ],\n "Non-anonymous": [\n null,\n "Не-анонімні"\n ],\n "Open room": [\n null,\n "Увійти в кімнату"\n ],\n "Permanent room": [\n null,\n "Постійна кімната"\n ],\n "Public": [\n null,\n "Публічна"\n ],\n "Semi-anonymous": [\n null,\n "Напів-анонімна"\n ],\n "Temporary room": [\n null,\n "Тимчасова кімната"\n ],\n "Unmoderated": [\n null,\n "Немодерована"\n ],\n "This user is a moderator": [\n null,\n "Цей користувач є модератором"\n ],\n "This user can send messages in this room": [\n null,\n "Цей користувач може слати повідомлення в цій кімнаті"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Цей користувач НЕ МОЖЕ слати повідомлення в цій кімнаті"\n ],\n "Invite...": [\n null,\n "Запросіть..."\n ],\n "Occupants": [\n null,\n "Учасники"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Ви запрошуєте %1$s до чату \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Ви можете опціонально додати повідомлення, щоб пояснити причину запрошення."\n ],\n "Message": [\n null,\n "Повідомлення"\n ],\n "Error: could not execute the command": [\n null,\n "Помилка: Не можу виконати команду"\n ],\n "Change user\'s affiliation to admin": [\n null,\n "Призначити користувача адміністратором"\n ],\n "Ban user from room": [\n null,\n "Заблокувати і викинути з кімнати"\n ],\n "Change user role to participant": [\n null,\n "Зробити користувача учасником"\n ],\n "Kick user from room": [\n null,\n "Викинути з кімнати"\n ],\n "Write in 3rd person": [\n null,\n "Писати в 3-й особі"\n ],\n "Grant membership to a user": [\n null,\n "Надати членство користувачу"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Забрати можливість слати повідомлення"\n ],\n "Change your nickname": [\n null,\n "Змінити Ваше прізвисько"\n ],\n "Grant moderator role to user": [\n null,\n "Надати права модератора"\n ],\n "Grant ownership of this room": [\n null,\n "Передати у власність цю кімнату"\n ],\n "Revoke user\'s membership": [\n null,\n "Забрати членство в користувача"\n ],\n "Set room topic": [\n null,\n "Встановити тему кімнати"\n ],\n "Allow muted user to post messages": [\n null,\n "Дозволити безголосому користувачу слати повідомлення"\n ],\n "Save": [\n null,\n "Зберегти"\n ],\n "Cancel": [\n null,\n "Відміна"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Трапилася помилка при спробі зберегти форму."\n ],\n "This chatroom requires a password": [\n null,\n "Ця кімната вимагає пароль"\n ],\n "Password: ": [\n null,\n "Пароль:"\n ],\n "Submit": [\n null,\n "Надіслати"\n ],\n "This room is not anonymous": [\n null,\n "Ця кімната не є анонімною"\n ],\n "This room now shows unavailable members": [\n null,\n "Ця кімната вже показує недоступних учасників"\n ],\n "This room does not show unavailable members": [\n null,\n "Ця кімната не показує недоступних учасників"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Змінено конфігурацію кімнати, не повязану з приватністю"\n ],\n "Room logging is now enabled": [\n null,\n "Журналювання кімнати тепер ввімкнено"\n ],\n "Room logging is now disabled": [\n null,\n "Журналювання кімнати тепер вимкнено"\n ],\n "This room is now non-anonymous": [\n null,\n "Ця кімната тепер не-анонімна"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ця кімната тепер напів-анонімна"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ця кімната тепер повністю анонімна"\n ],\n "A new room has been created": [\n null,\n "Створено нову кімнату"\n ],\n "You have been banned from this room": [\n null,\n "Вам заблокували доступ до цієї кімнати"\n ],\n "You have been kicked from this room": [\n null,\n "Вас викинули з цієї кімнати"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Вас видалено з кімнати у зв\'язку зі змінами власності кімнати"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Вас видалено з цієї кімнати, оскільки вона тепер вимагає членства, а Ви ним не є її членом"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Вас видалено з цієї кімнати, тому що MUC (Чат-сервіс) припиняє роботу."\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> заблоковано"\n ],\n "<strong>%1$s</strong>\'s nickname has changed": [\n null,\n "Прізвисько <strong>%1$s</strong> змінено"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> було викинуто звідси"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "<strong>%1$s</strong> було видалено через зміни власності кімнати"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "<strong>%1$s</strong> було виделано через відсутність членства"\n ],\n "Your nickname has been automatically changed to: <strong>%1$s</strong>": [\n null,\n "Ваше прізвисько було автоматично змінене на: <strong>%1$s</strong>"\n ],\n "Your nickname has been changed to: <strong>%1$s</strong>": [\n null,\n "Ваше прізвисько було змінене на: <strong>%1$s</strong>"\n ],\n "The reason given is: \\"": [\n null,\n "Причиною вказано: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Ви не є у списку членів цієї кімнати"\n ],\n "No nickname was specified": [\n null,\n "Не вказане прізвисько"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Вам не дозволено створювати нові кімнати"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Ваше прізвисько не відповідає політиці кімнати"\n ],\n "Your nickname is already taken": [\n null,\n "Таке прізвисько вже зайняте"\n ],\n "This room does not (yet) exist": [\n null,\n "Такої кімнати (поки) не існує"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ця кімната досягнула максимуму учасників"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Тема встановлена %1$s: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s запрошує вас приєднатись до чату: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s запрошує Вас приєднатись до чату: %2$s, аргументує ось як: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Клацніть, щоб відновити цей чат"\n ],\n "Minimized": [\n null,\n "Мінімізовано"\n ],\n "Click to remove this contact": [\n null,\n "Клацніть, щоб видалити цей контакт"\n ],\n "Click to accept this contact request": [\n null,\n "Клацніть, щоб прийняти цей запит контакту"\n ],\n "Click to decline this contact request": [\n null,\n "Клацніть, щоб відхилити цей запит контакту"\n ],\n "Click to chat with this contact": [\n null,\n "Клацніть, щоб почати розмову з цим контактом"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Ви впевнені, що хочете видалити цей контакт?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Ви впевнені, що хочете відхилити цей запит контакту?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Друкуйте для фільтру"\n ],\n "I am %1$s": [\n null,\n "Я %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Клацніть тут, щоб створити власний статус"\n ],\n "Click to change your chat status": [\n null,\n "Клацніть, щоб змінити статус в чаті"\n ],\n "Custom status": [\n null,\n "Власний статус"\n ],\n "online": [\n null,\n "на зв\'язку"\n ],\n "busy": [\n null,\n "зайнятий"\n ],\n "away for long": [\n null,\n "давно відсутній"\n ],\n "away": [\n null,\n "відсутній"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Домен Вашого провайдера XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Отримати форму реєстрації"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Порада: доступний перелік публічних XMPP-провайдерів"\n ],\n "here": [\n null,\n "тут"\n ],\n "Register": [\n null,\n "Реєстрація"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Вибачте, вказаний провайдер не підтримує реєстрації онлайн. Спробуйте іншого провайдера."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Запитую форму реєстрації з XMPP сервера"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Щось пішло не так при встановленні зв\'язку з \\"%1$s\\". Ви впевнені, що такий існує?"\n ],\n "Now logging you in": [\n null,\n "Входимо"\n ],\n "Registered successfully": [\n null,\n "Успішно зареєстровано"\n ],\n "Return": [\n null,\n "Вернутися"\n ],\n "The provider rejected your registration attempt. ": [\n null,\n "Провайдер відхилив Вашу спробу реєстрації."\n ],\n "XMPP Username:": [\n null,\n "XMPP адреса:"\n ],\n "Password:": [\n null,\n "Пароль:"\n ],\n "Log In": [\n null,\n "Ввійти"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Вступити"\n ],\n "Toggle chat": [\n null,\n "Включити чат"\n ]\n }\n }\n}'}),define("text!zh",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "zh"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "未加密"\n ],\n "unverified": [\n null,\n "未验证"\n ],\n "verified": [\n null,\n "已验证"\n ],\n "finished": [\n null,\n "结束了"\n ],\n "This contact is busy": [\n null,\n "对方忙碌中"\n ],\n "This contact is online": [\n null,\n "对方在线中"\n ],\n "This contact is offline": [\n null,\n "对方已下线"\n ],\n "This contact is unavailable": [\n null,\n "对方免打扰"\n ],\n "This contact is away for an extended period": [\n null,\n "对方暂时离开"\n ],\n "This contact is away": [\n null,\n "对方离开"\n ],\n "My contacts": [\n null,\n "我的好友列表"\n ],\n "Pending contacts": [\n null,\n "保留中的联系人"\n ],\n "Contact requests": [\n null,\n "来自好友的请求"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "联系人"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "错误"\n ],\n "Connecting": [\n null,\n "连接中"\n ],\n "Authenticating": [\n null,\n "验证中"\n ],\n "Authentication Failed": [\n null,\n "验证失败"\n ],\n "Re-establishing encrypted session": [\n null,\n "重新建立加密会话"\n ],\n "Generating private key.": [\n null,\n "正在生成私钥"\n ],\n "Your browser might become unresponsive.": [\n null,\n "您的浏览器可能会暂时无响应"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "无法验证对方信息。"\n ],\n "Personal message": [\n null,\n "私信"\n ],\n "me": [\n null,\n "我"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "显示此项菜单"\n ],\n "Write in the third person": [\n null,\n "以第三者身份写"\n ],\n "Remove messages": [\n null,\n "移除消息"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "你确定清除此次的聊天记录吗?"\n ],\n "Your message could not be sent": [\n null,\n "您的消息无法送出"\n ],\n "We received an unencrypted message": [\n null,\n "我们收到了一条未加密的信息"\n ],\n "We received an unreadable encrypted message": [\n null,\n "我们收到一条无法读取的信息"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "这里是指纹。请与 %1$s 确认。\\n\\n您的 %2$s 指纹: %3$s\\n\\n%1$s 的指纹: %4$s\\n\\n如果确认符合请点击OK否则点击取消"\n ],\n "What is your security question?": [\n null,\n "您的安全问题是?"\n ],\n "What is the answer to the security question?": [\n null,\n "此安全问题的答案是?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "非法的认证方式"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "您的消息将不再被加密"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "您的消息未加密。点击这里来启用OTR加密"\n ],\n "End encrypted conversation": [\n null,\n "结束加密的会话"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of participants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "刷新加密的会话"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "开始加密的会话"\n ],\n "Verify with fingerprints": [\n null,\n "验证指纹"\n ],\n "Verify with SMP": [\n null,\n "验证SMP"\n ],\n "What\'s this?": [\n null,\n "这是什么?"\n ],\n "Online": [\n null,\n "在线"\n ],\n "Busy": [\n null,\n "忙碌中"\n ],\n "Away": [\n null,\n "离开"\n ],\n "Offline": [\n null,\n "离线"\n ],\n "Contact name": [\n null,\n "联系人名称"\n ],\n "Search": [\n null,\n "搜索"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "添加"\n ],\n "Click to add new chat contacts": [\n null,\n "点击添加新联系人"\n ],\n "Add a contact": [\n null,\n "添加联系人"\n ],\n "No users found": [\n null,\n "未找到用户"\n ],\n "Click to add as a chat contact": [\n null,\n "点击添加为好友"\n ],\n "Room name": [\n null,\n "聊天室名称"\n ],\n "Nickname": [\n null,\n "昵称"\n ],\n "Server": [\n null,\n "服务器"\n ],\n "Show rooms": [\n null,\n "显示所有聊天室"\n ],\n "Rooms": [\n null,\n "聊天室"\n ],\n "No rooms on %1$s": [\n null,\n "%1$s 上没有聊天室"\n ],\n "Rooms on %1$s": [\n null,\n "%1$s 上的聊天室"\n ],\n "Click to open this room": [\n null,\n "打开聊天室"\n ],\n "Show more information on this room": [\n null,\n "显示次聊天室的更多信息"\n ],\n "Description:": [\n null,\n "描述: "\n ],\n "Occupants:": [\n null,\n "成员:"\n ],\n "Features:": [\n null,\n "特性:"\n ],\n "Requires authentication": [\n null,\n "需要验证"\n ],\n "Hidden": [\n null,\n "隐藏的"\n ],\n "Requires an invitation": [\n null,\n "需要被邀请"\n ],\n "Moderated": [\n null,\n "发言受限"\n ],\n "Non-anonymous": [\n null,\n "非匿名"\n ],\n "Open room": [\n null,\n "打开聊天室"\n ],\n "Permanent room": [\n null,\n "永久聊天室"\n ],\n "Public": [\n null,\n "公开的"\n ],\n "Semi-anonymous": [\n null,\n "半匿名"\n ],\n "Temporary room": [\n null,\n "临时聊天室"\n ],\n "Unmoderated": [\n null,\n "无发言限制"\n ],\n "This user is a moderator": [\n null,\n "此用户是主持人"\n ],\n "This user can send messages in this room": [\n null,\n "此用户在这房间里可发消息"\n ],\n "This user can NOT send messages in this room": [\n null,\n "此用户不可在此房间发消息"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "信息"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to participant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "保存"\n ],\n "Cancel": [\n null,\n "取消"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "保存表单是出错。"\n ],\n "This chatroom requires a password": [\n null,\n "此聊天室需要密码"\n ],\n "Password: ": [\n null,\n "密码:"\n ],\n "Submit": [\n null,\n "发送"\n ],\n "This room is not anonymous": [\n null,\n "此为非匿名聊天室"\n ],\n "This room now shows unavailable members": [\n null,\n "此聊天室显示不可用用户"\n ],\n "This room does not show unavailable members": [\n null,\n "此聊天室不显示不可用用户"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "此聊天室设置(非私密性)已改变"\n ],\n "Room logging is now enabled": [\n null,\n "聊天室聊天记录已启用"\n ],\n "Room logging is now disabled": [\n null,\n "聊天室聊天记录已禁用"\n ],\n "This room is now non-anonymous": [\n null,\n "此聊天室非匿名"\n ],\n "This room is now semi-anonymous": [\n null,\n "此聊天室半匿名"\n ],\n "This room is now fully-anonymous": [\n null,\n "此聊天室完全匿名"\n ],\n "A new room has been created": [\n null,\n "新聊天室已创建"\n ],\n "You have been banned from this room": [\n null,\n "您已被此聊天室禁止入内"\n ],\n "You have been kicked from this room": [\n null,\n "您已被踢出次房间"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "由于关系变化,您已被移除此房间"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "您已被移除此房间因为此房间更改为只允许成员加入,而您非成员"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "由于服务不可用,您已被移除此房间。"\n ],\n "<strong>%1$s</strong> has been banned": [\n null,\n "<strong>%1$s</strong> 已被禁止"\n ],\n "<strong>%1$s</strong> has been kicked out": [\n null,\n "<strong>%1$s</strong> 已被踢出"\n ],\n "<strong>%1$s</strong> has been removed because of an affiliation change": [\n null,\n "由于关系解除、<strong>%1$s</strong> 已被移除"\n ],\n "<strong>%1$s</strong> has been removed for not being a member": [\n null,\n "由于不是成员、<strong>%1$s</strong> 已被移除"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "您并非此房间成员"\n ],\n "No nickname was specified": [\n null,\n "未指定昵称"\n ],\n "You are not allowed to create new rooms": [\n null,\n "您可此创建新房间了"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "您的昵称不符合此房间标准"\n ],\n "Your nickname is already taken": [\n null,\n "您的昵称已被占用"\n ],\n "This room does not (yet) exist": [\n null,\n "此房间不存在"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "此房间人数已达上线"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "%1$s 设置话题为: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n "最小化的"\n ],\n "Click to remove this contact": [\n null,\n "点击移除联系人"\n ],\n "Click to chat with this contact": [\n null,\n "点击与对方交谈"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "我现在%1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "点击这里,填写状态信息"\n ],\n "Click to change your chat status": [\n null,\n "点击这里改变聊天状态"\n ],\n "Custom status": [\n null,\n "DIY状态"\n ],\n "online": [\n null,\n "在线"\n ],\n "busy": [\n null,\n "忙碌"\n ],\n "away for long": [\n null,\n "长时间离开"\n ],\n "away": [\n null,\n "离开"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. ": [\n null,\n ""\n ],\n "Password:": [\n null,\n "密码:"\n ],\n "Log In": [\n null,\n "登录"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "登录"\n ],\n "Toggle chat": [\n null,\n "折叠聊天窗口"\n ]\n }\n }\n}'}),function(e,t){define("locales",["jquery","jed","text!af","text!de","text!en","text!es","text!fr","text!he","text!hu","text!id","text!it","text!ja","text!nb","text!nl","text!pl","text!pt_BR","text!ru","text!uk","text!zh"],function(t,n){return e.locales={af:arguments[2],de:arguments[3],en:arguments[4],es:arguments[5],fr:arguments[6],he:arguments[7],hu:arguments[8],id:arguments[9],it:arguments[10],ja:arguments[11],nb:arguments[12],nl:arguments[13],pl:arguments[14],"pt-br":arguments[15],ru:arguments[16],uk:arguments[17],zh:arguments[18]},e.locales})}(this),function(e,t){typeof define=="function"&&define.amd?define("utils",["jquery","converse-templates","locales"],t):e.utils=t(jQuery,templates)}(this,function(e,t,n){"use strict";var r={"text-private":"password","text-single":"textline",fixed:"label","boolean":"checkbox",hidden:"hidden","jid-multi":"textarea","list-single":"dropdown","list-multi":"dropdown"};e.expr[":"].emptyVal=function(e){return e.value===""},e.fn.hasScrollBar=function(){return e.contains(document,this.get(0))?this.parent().height()<this.get(0).scrollHeight?!0:!1:!1},e.fn.addHyperlinks=function(){return this.length>0&&this.each(function(t,n){var r=e(n).html(),i=r.match(/\b(https?:\/\/|www\.|https?:\/\/www\.)[^\s<]{2,200}\b/g);if(i)for(t=0;t<i.length;t++){var s=i[t].indexOf("http://")===0||i[t].indexOf("https://")===0?"":"http://",o=encodeURI(decodeURI(i[t])).replace(/[!'()]/g,escape).replace(/\*/g,"%2A");r=r.replace(i[t],"<a target='_blank' href='"+s+o+"'>"+i[t]+"</a>")}e(n).html(r)}),this};var i={__:function(t){typeof this.i18n=="undefined"&&(this.i18n=n.en),typeof this.i18n=="string"&&(this.i18n=e.parseJSON(this.i18n)),typeof this.jed=="undefined"&&(this.jed=new Jed(this.i18n));var r=this.jed.translate(t);return arguments.length>1?r.fetch.apply(r,[].slice.call(arguments,1)):r.fetch()},___:function(e){return e},webForm2xForm:function(n){var r=e(n),i;if(r.is("[type=checkbox]"))i=r.is(":checked")&&1||0;else if(r.is("textarea")){i=[];var s=r.val().split("\n");for(var o=0;o<s.length;o++){var u=e.trim(s[o]);if(u==="")continue;i.push(u)}}else i=r.val();return e(t.field({name:r.attr("name"),value:i}))[0]},xForm2webForm:function(n,i){var s=[],o,u,a,f,l;if(n.attr("type")=="list-single"||n.attr("type")=="list-multi"){l=[],a=n.children("value");for(o=0;o<a.length;o++)l.push(e(a[o]).text());u=n.children("option");for(o=0;o<u.length;o++)f=e(u[o]).find("value").text(),s.push(t.select_option({value:f,label:e(u[o]).attr("label"),selected:l.indexOf(f)>=0,required:n.find("required").length}));return t.form_select({name:n.attr("var"),label:n.attr("label"),options:s.join(""),multiple:n.attr("type")=="list-multi",required:n.find("required").length})}if(n.attr("type")=="fixed")return e('<p class="form-help">').text(n.find("value").text());if(n.attr("type")=="jid-multi")return t.form_textarea({name:n.attr("var"),label:n.attr("label")||"",value:n.find("value").text(),required:n.find("required").length});if(n.attr("type")=="boolean")return t.form_checkbox({name:n.attr("var"),type:r[n.attr("type")],label:n.attr("label")||"",checked:n.find("value").text()==="1"&&'checked="1"'||"",required:n.find("required").length});if(n.attr("type")&&n.attr("var")==="username")return t.form_username({domain:" @"+this.domain,name:n.attr("var"),type:r[n.attr("type")],label:n.attr("label")||"",value:n.find("value").text(),required:n.find("required").length});if(n.attr("type"))return t.form_input({name:n.attr("var"),type:r[n.attr("type")],label:n.attr("label")||"",value:n.find("value").text(),required:n.find("required").length});if(n.attr("var")==="ocr")return _.reduce(_.map(n.find("uri"),e.proxy(function(e){return t.form_captcha({label:this.$field.attr("label"),name:this.$field.attr("var"),data:this.$stanza.find('data[cid="'+e.textContent.replace(/^cid:/,"")+'"]').text(),type:e.getAttribute("type"),required:this.$field.find("required").length})},{$stanza:i,$field:n})),function(e,t){return e+t},"")}};return i}),function(e,t){typeof define=="function"&&define.amd?define("jquery.browser",["jquery"],function(n){t(n,e)}):t(jQuery,e)}(this,function(e,t){"use strict";var n,r;e.uaMatch=function(e){e=e.toLowerCase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],n=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(windows phone)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[];return{browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",versionNumber:t[4]||t[2]||"0",platform:n[0]||""}},n=e.uaMatch(t.navigator.userAgent),r={},n.browser&&(r[n.browser]=!0,r.version=n.version,r.versionNumber=parseInt(n.versionNumber,10)),n.platform&&(r[n.platform]=!0);if(r.android||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"])r.mobile=!0;if(r.cros||r.mac||r.linux||r.win)r.desktop=!0;if(r.chrome||r.opr||r.safari)r.webkit=!0;if(r.rv||r.edge){var i="msie";n.browser=i,r[i]=!0}if(r.safari&&r.blackberry){var s="blackberry";n.browser=s,r[s]=!0}if(r.safari&&r.playbook){var o="playbook";n.browser=o,r[o]=!0}if(r.bb){var u="blackberry";n.browser=u,r[u]=!0}if(r.opr){var a="opera";n.browser=a,r[a]=!0}if(r.safari&&r.android){var f="android";n.browser=f,r[f]=!0}if(r.safari&&r.kindle){var l="kindle";n.browser=l,r[l]=!0}if(r.safari&&r.silk){var c="silk";n.browser=c,r[c]=!0}return r.name=n.browser,r.platform=n.platform,e.browser=r,r});var CryptoJS=CryptoJS||function(e,t){var n={},r=n.lib={},i=r.Base=function(){function e(){}return{extend:function(t){e.prototype=this;var n=new e;return t&&n.mixIn(t),n.hasOwnProperty("init")||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=r.WordArray=i.extend({init:function(e,n){e=this.words=e||[],n!=t?this.sigBytes=n:this.sigBytes=e.length*4},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;this.clamp();if(r%4)for(var s=0;s<i;s++){var o=n[s>>>2]>>>24-s%4*8&255;t[r+s>>>2]|=o<<24-(r+s)%4*8}else if(n.length>65535)for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];else t.push.apply(t,n);return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){var n=[];for(var r=0;r<t;r+=4)n.push(e.random()*4294967296|0);return new s.init(n,t)}}),o=n.enc={},u=o.Hex={stringify:function(e){var t=e.words,n=e.sigBytes,r=[];for(var i=0;i<n;i++){var s=t[i>>>2]>>>24-i%4*8&255;r.push((s>>>4).toString(16)),r.push((s&15).toString(16))}return r.join("")},parse:function(e){var t=e.length,n=[];for(var r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new s.init(n,t/2)}},a=o.Latin1={stringify:function(e){var t=e.words,n=e.sigBytes,r=[];for(var i=0;i<n;i++){var s=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){var t=e.length,n=[];for(var r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new s.init(n,t)}},f=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(a.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return a.parse(unescape(encodeURIComponent(e)))}},l=r.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){typeof e=="string"&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,u=o*4,a=i/u;t?a=e.ceil(a):a=e.max((a|0)-this._minBufferSize,0);var f=a*o,l=e.min(f*4,i);if(f){for(var c=0;c<f;c+=o)this._doProcessBlock(r,c);var h=r.splice(0,f);n.sigBytes-=l}return new s.init(h,l)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),c=r.Hasher=l.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return(new e.init(n)).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return(new h.HMAC.init(e,n)).finalize(t)}}}),h=n.algo={};return n}(Math);define("crypto.core",function(){}),function(){var e=CryptoJS,t=e.lib,n=t.WordArray,r=e.enc,i=r.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();var i=[];for(var s=0;s<n;s+=3){var o=t[s>>>2]>>>24-s%4*8&255,u=t[s+1>>>2]>>>24-(s+1)%4*8&255,a=t[s+2>>>2]>>>24-(s+2)%4*8&255,f=o<<16|u<<8|a;for(var l=0;l<4&&s+l*.75<n;l++)i.push(r.charAt(f>>>6*(3-l)&63))}var c=r.charAt(64);if(c)while(i.length%4)i.push(c);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=r.charAt(64);if(i){var s=e.indexOf(i);s!=-1&&(t=s)}var o=[],u=0;for(var a=0;a<t;a++)if(a%4){var f=r.indexOf(e.charAt(a-1))<<a%4*2,l=r.indexOf(e.charAt(a))>>>6-a%4*2;o[u>>>2]|=(f|l)<<24-u%4*8,u++}return n.create(o,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),define("crypto.enc-base64",["crypto.core"],function(){}),function(e){function a(e,t,n,r,i,s,o){var u=e+(t&n|~t&r)+i+o;return(u<<s|u>>>32-s)+t}function f(e,t,n,r,i,s,o){var u=e+(t&r|n&~r)+i+o;return(u<<s|u>>>32-s)+t}function l(e,t,n,r,i,s,o){var u=e+(t^n^r)+i+o;return(u<<s|u>>>32-s)+t}function c(e,t,n,r,i,s,o){var u=e+(n^(t|~r))+i+o;return(u<<s|u>>>32-s)+t}var t=CryptoJS,n=t.lib,r=n.WordArray,i=n.Hasher,s=t.algo,o=[];(function(){for(var t=0;t<64;t++)o[t]=e.abs(e.sin(t+1))*4294967296|0})();var u=s.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360}var s=this._hash.words,u=e[t+0],h=e[t+1],p=e[t+2],d=e[t+3],v=e[t+4],m=e[t+5],g=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],E=e[t+10],S=e[t+11],x=e[t+12],N=e[t+13],C=e[t+14],k=e[t+15],L=s[0],A=s[1],O=s[2],M=s[3];L=a(L,A,O,M,u,7,o[0]),M=a(M,L,A,O,h,12,o[1]),O=a(O,M,L,A,p,17,o[2]),A=a(A,O,M,L,d,22,o[3]),L=a(L,A,O,M,v,7,o[4]),M=a(M,L,A,O,m,12,o[5]),O=a(O,M,L,A,g,17,o[6]),A=a(A,O,M,L,y,22,o[7]),L=a(L,A,O,M,b,7,o[8]),M=a(M,L,A,O,w,12,o[9]),O=a(O,M,L,A,E,17,o[10]),A=a(A,O,M,L,S,22,o[11]),L=a(L,A,O,M,x,7,o[12]),M=a(M,L,A,O,N,12,o[13]),O=a(O,M,L,A,C,17,o[14]),A=a(A,O,M,L,k,22,o[15]),L=f(L,A,O,M,h,5,o[16]),M=f(M,L,A,O,g,9,o[17]),O=f(O,M,L,A,S,14,o[18]),A=f(A,O,M,L,u,20,o[19]),L=f(L,A,O,M,m,5,o[20]),M=f(M,L,A,O,E,9,o[21]),O=f(O,M,L,A,k,14,o[22]),A=f(A,O,M,L,v,20,o[23]),L=f(L,A,O,M,w,5,o[24]),M=f(M,L,A,O,C,9,o[25]),O=f(O,M,L,A,d,14,o[26]),A=f(A,O,M,L,b,20,o[27]),L=f(L,A,O,M,N,5,o[28]),M=f(M,L,A,O,p,9,o[29]),O=f(O,M,L,A,y,14,o[30]),A=f(A,O,M,L,x,20,o[31]),L=l(L,A,O,M,m,4,o[32]),M=l(M,L,A,O,b,11,o[33]),O=l(O,M,L,A,S,16,o[34]),A=l(A,O,M,L,C,23,o[35]),L=l(L,A,O,M,h,4,o[36]),M=l(M,L,A,O,v,11,o[37]),O=l(O,M,L,A,y,16,o[38]),A=l(A,O,M,L,E,23,o[39]),L=l(L,A,O,M,N,4,o[40]),M=l(M,L,A,O,u,11,o[41]),O=l(O,M,L,A,d,16,o[42]),A=l(A,O,M,L,g,23,o[43]),L=l(L,A,O,M,w,4,o[44]),M=l(M,L,A,O,x,11,o[45]),O=l(O,M,L,A,k,16,o[46]),A=l(A,O,M,L,p,23,o[47]),L=c(L,A,O,M,u,6,o[48]),M=c(M,L,A,O,y,10,o[49]),O=c(O,M,L,A,C,15,o[50]),A=c(A,O,M,L,m,21,o[51]),L=c(L,A,O,M,x,6,o[52]),M=c(M,L,A,O,d,10,o[53]),O=c(O,M,L,A,E,15,o[54]),A=c(A,O,M,L,h,21,o[55]),L=c(L,A,O,M,b,6,o[56]),M=c(M,L,A,O,k,10,o[57]),O=c(O,M,L,A,g,15,o[58]),A=c(A,O,M,L,N,21,o[59]),L=c(L,A,O,M,v,6,o[60]),M=c(M,L,A,O,S,10,o[61]),O=c(O,M,L,A,p,15,o[62]),A=c(A,O,M,L,w,21,o[63]),s[0]=s[0]+L|0,s[1]=s[1]+A|0,s[2]=s[2]+O|0,s[3]=s[3]+M|0},_doFinalize:function(){var t=this._data,n=t.words,r=this._nDataBytes*8,i=t.sigBytes*8;n[i>>>5]|=128<<24-i%32;var s=e.floor(r/4294967296),o=r;n[(i+64>>>9<<4)+15]=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,n[(i+64>>>9<<4)+14]=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,t.sigBytes=(n.length+1)*4,this._process();var u=this._hash,a=u.words;for(var f=0;f<4;f++){var l=a[f];a[f]=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360}return u},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.MD5=i._createHelper(u),t.HmacMD5=i._createHmacHelper(u)}(Math),define("crypto.md5",["crypto.core"],function(){}),function(){var e=CryptoJS,t=e.lib,n=t.Base,r=t.WordArray,i=e.algo,s=i.MD5,o=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,i=n.hasher.create(),s=r.create(),o=s.words,u=n.keySize,a=n.iterations;while(o.length<u){f&&i.update(f);var f=i.update(e).finalize(t);i.reset();for(var l=1;l<a;l++)f=i.finalize(f),i.reset();s.concat(f)}return s.sigBytes=u*4,s}});e.EvpKDF=function(e,t,n){return o.create(n).compute(e,t)}}(),define("crypto.evpkdf",["crypto.md5"],function(){}),CryptoJS.lib.Cipher||function(e){var t=CryptoJS,n=t.lib,r=n.Base,i=n.WordArray,s=n.BufferedBlockAlgorithm,o=t.enc,u=o.Utf8,a=o.Base64,f=t.algo,l=f.EvpKDF,c=n.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return typeof e=="string"?N:S}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),h=n.StreamCipher=c.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),p=t.mode={},d=n.BlockCipherMode=r.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),v=p.CBC=function(){function n(t,n,r){var i=this._iv;if(i){var s=i;this._iv=e}else var s=this._prevBlock;for(var o=0;o<r;o++)t[n+o]^=s[o]}var t=d.extend();return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;n.call(this,e,t,i),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,s=e.slice(t,t+i);r.decryptBlock(e,t),n.call(this,e,t,i),this._prevBlock=s}}),t}(),m=t.pad={},g=m.Pkcs7={pad:function(e,t){var n=t*4,r=n-e.sigBytes%n,s=r<<24|r<<16|r<<8|r,o=[];for(var u=0;u<r;u+=4)o.push(s);var a=i.create(o,r);e.concat(a)},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},y=n.BlockCipher=c.extend({cfg:c.cfg.extend({mode:v,padding:g}),reset:function(){c.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var r=n.createEncryptor;else{var r=n.createDecryptor;this._minBufferSize=1}this._mode=r.call(n,this,t&&t.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),b=n.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),w=t.format={},E=w.OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var r=i.create([1398893684,1701076831]).concat(n).concat(t);else var r=t;return r.toString(a)},parse:function(e){var t=a.parse(e),n=t.words;if(n[0]==1398893684&&n[1]==1701076831){var r=i.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:r})}},S=n.SerializableCipher=r.extend({cfg:r.extend({format:E}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),s=i.finalize(t),o=i.cfg;return b.create({ciphertext:s,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return typeof e=="string"?t.parse(e,this):e}}),x=t.kdf={},T=x.OpenSSL={execute:function(e,t,n,r){r||(r=i.random(8));var s=l.create({keySize:t+n}).compute(e,r),o=i.create(s.words.slice(t),n*4);return s.sigBytes=t*4,b.create({key:s,iv:o,salt:r})}},N=n.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:T}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var s=S.encrypt.call(this,e,t,i.key,r);return s.mixIn(i),s},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=i.iv;var s=S.decrypt.call(this,e,t,i.key,r);return s}})}(),define("crypto.cipher-core",["crypto.enc-base64","crypto.evpkdf"],function(){}),function(){var e=CryptoJS,t=e.lib,n=t.BlockCipher,r=e.algo,i=[],s=[],o=[],u=[],a=[],f=[],l=[],c=[],h=[],p=[];(function(){var e=[];for(var t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;var n=0,r=0;for(var t=0;t<256;t++){var d=r^r<<1^r<<2^r<<3^r<<4;d=d>>>8^d&255^99,i[n]=d,s[d]=n;var v=e[n],m=e[v],g=e[m],y=e[d]*257^d*16843008;o[n]=y<<24|y>>>8,u[n]=y<<16|y>>>16,a[n]=y<<8|y>>>24,f[n]=y;var y=g*16843009^m*65537^v*257^n*16843008;l[d]=y<<24|y>>>8,c[d]=y<<16|y>>>16,h[d]=y<<8|y>>>24,p[d]=y,n?(n=v^e[e[e[g^v]]],r^=e[e[r]]):n=r=1}})();var d=[0,1,2,4,8,16,32,64,128,27,54],v=r.AES=n.extend({_doReset:function(){var e=this._key,t=e.words,n=e.sigBytes/4,r=this._nRounds=n+6,s=(r+1)*4,o=this._keySchedule=[];for(var u=0;u<s;u++)if(u<n)o[u]=t[u];else{var a=o[u-1];u%n?n>6&&u%n==4&&(a=i[a>>>24]<<24|i[a>>>16&255]<<16|i[a>>>8&255]<<8|i[a&255]):(a=a<<8|a>>>24,a=i[a>>>24]<<24|i[a>>>16&255]<<16|i[a>>>8&255]<<8|i[a&255],a^=d[u/n|0]<<24),o[u]=o[u-n]^a}var f=this._invKeySchedule=[];for(var v=0;v<s;v++){var u=s-v;if(v%4)var a=o[u];else var a=o[u-4];v<4||u<=4?f[v]=a:f[v]=l[i[a>>>24]]^c[i[a>>>16&255]]^h[i[a>>>8&255]]^p[i[a&255]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,u,a,f,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,l,c,h,p,s);var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,s,o,u){var a=this._nRounds,f=e[t]^n[0],l=e[t+1]^n[1],c=e[t+2]^n[2],h=e[t+3]^n[3],p=4;for(var d=1;d<a;d++){var v=r[f>>>24]^i[l>>>16&255]^s[c>>>8&255]^o[h&255]^n[p++],m=r[l>>>24]^i[c>>>16&255]^s[h>>>8&255]^o[f&255]^n[p++],g=r[c>>>24]^i[h>>>16&255]^s[f>>>8&255]^o[l&255]^n[p++],y=r[h>>>24]^i[f>>>16&255]^s[l>>>8&255]^o[c&255]^n[p++];f=v,l=m,c=g,h=y}var v=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[c>>>8&255]<<8|u[h&255])^n[p++],m=(u[l>>>24]<<24|u[c>>>16&255]<<16|u[h>>>8&255]<<8|u[f&255])^n[p++],g=(u[c>>>24]<<24|u[h>>>16&255]<<16|u[f>>>8&255]<<8|u[l&255])^n[p++],y=(u[h>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[c&255])^n[p++];e[t]=v,e[t+1]=m,e[t+2]=g,e[t+3]=y},keySize:8});e.AES=n._createHelper(v)}(),define("crypto.aes",["crypto.cipher-core"],function(){}),function(){var e=CryptoJS,t=e.lib,n=t.WordArray,r=t.Hasher,i=e.algo,s=[],o=i.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){var n=this._hash.words,r=n[0],i=n[1],o=n[2],u=n[3],a=n[4];for(var f=0;f<80;f++){if(f<16)s[f]=e[t+f]|0;else{var l=s[f-3]^s[f-8]^s[f-14]^s[f-16];s[f]=l<<1|l>>>31}var c=(r<<5|r>>>27)+a+s[f];f<20?c+=(i&o|~i&u)+1518500249:f<40?c+=(i^o^u)+1859775393:f<60?c+=(i&o|i&u|o&u)-1894007588:c+=(i^o^u)-899497514,a=u,u=o,o=i<<30|i>>>2,i=r,r=c}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+u|0,n[4]=n[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,n=this._nDataBytes*8,r=e.sigBytes*8;return t[r>>>5]|=128<<24-r%32,t[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),t[(r+64>>>9<<4)+15]=n,e.sigBytes=t.length*4,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=r._createHelper(o),e.HmacSHA1=r._createHmacHelper(o)}(),define("crypto.sha1",["crypto.core"],function(){}),function(e){var t=CryptoJS,n=t.lib,r=n.WordArray,i=n.Hasher,s=t.algo,o=[],u=[];(function(){function t(t){var n=e.sqrt(t);for(var r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return(e-(e|0))*4294967296|0}var r=2,i=0;while(i<64)t(r)&&(i<8&&(o[i]=n(e.pow(r,.5))),u[i]=n(e.pow(r,1/3)),i++),r++})();var a=[],f=s.SHA256=i.extend({_doReset:function(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function(e,t){var n=this._hash.words,r=n[0],i=n[1],s=n[2],o=n[3],f=n[4],l=n[5],c=n[6],h=n[7];for(var p=0;p<64;p++){if(p<16)a[p]=e[t+p]|0;else{var d=a[p-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,m=a[p-2],g=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;a[p]=v+a[p-7]+g+a[p-16]}var y=f&l^~f&c,b=r&i^r&s^i&s,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),E=(f<<26|f>>>6)^(f<<21|f>>>11)^(f<<7|f>>>25),S=h+E+y+u[p]+a[p],x=w+b;h=c,c=l,l=f,f=o+S|0,o=s,s=i,i=r,r=S+x|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+s|0,n[3]=n[3]+o|0,n[4]=n[4]+f|0,n[5]=n[5]+l|0,n[6]=n[6]+c|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,r=this._nDataBytes*8,i=t.sigBytes*8;return n[i>>>5]|=128<<24-i%32,n[(i+64>>>9<<4)+14]=e.floor(r/4294967296),n[(i+64>>>9<<4)+15]=r,t.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(f),t.HmacSHA256=i._createHmacHelper(f)}(Math),define("crypto.sha256",["crypto.core"],function(){}),function(){var e=CryptoJS,t=e.lib,n=t.Base,r=e.enc,i=r.Utf8,s=e.algo,o=s.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,typeof t=="string"&&(t=i.parse(t));var n=e.blockSize,r=n*4;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();var s=this._oKey=t.clone(),o=this._iKey=t.clone(),u=s.words,a=o.words;for(var f=0;f<n;f++)u[f]^=1549556828,a[f]^=909522486;s.sigBytes=o.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var r=t.finalize(this._oKey.clone().concat(n));return r}})}(),define("crypto.hmac",["crypto.core"],function(){}),CryptoJS.pad.NoPadding={pad:function(){},unpad:function(){}},define("crypto.pad-nopadding",["crypto.cipher-core"],function(){}),CryptoJS.mode.CTR=function(){var e=CryptoJS.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=undefined);var o=s.slice(0);n.encryptBlock(o,0),s[r-1]=s[r-1]+1|0;for(var u=0;u<r;u++)e[t+u]^=o[u]}});return e.Decryptor=t,e}(),define("crypto.mode-ctr",["crypto.cipher-core"],function(){}),function(e,t){typeof define=="function"&&define.amd?define("crypto",["crypto.core","crypto.enc-base64","crypto.md5","crypto.evpkdf","crypto.cipher-core","crypto.aes","crypto.sha1","crypto.sha256","crypto.hmac","crypto.pad-nopadding","crypto.mode-ctr"],function(){return CryptoJS}):e.CryptoJS=t()}(this),function(e,t){typeof define=="function"&&define.amd?define("bigint",[],t.bind(e,e.crypto||e.msCrypto)):typeof module!="undefined"&&module.exports?module.exports=t(require("crypto")):e.BigInt=t(e.crypto||e.msCrypto)}(this,function(e){function G(e){var t,n,r,i;n=new Array(e);for(t=0;t<e;t++)n[t]=0;n[0]=2,r=0;for(;n[r]<e;){for(t=n[r]*n[r];t<e;t+=n[r])n[t]=1;r++,n[r]=n[r-1]+1;for(;n[r]<e&&n[n[r]];n[r]++);}i=new Array(r);for(t=0;t<r;t++)i[t]=n[t];return i}function Y(e,t){return y.length!=e.length&&(y=Pt(e),b=Pt(e),w=Pt(e)),Bt(w,t),Z(e,w)}function Z(e,n){var r,i,s,o;y.length!=e.length&&(y=Pt(e),b=Pt(e),w=Pt(e)),Ht(w,n),Ht(b,e),Ht(y,e),jt(b,-1),jt(y,-1);if(_t(b))return 0;for(s=0;b[s]==0;s++);for(r=1,i=2;b[s]%i==0;i*=2,r++);o=s*t+r-1,o&&Ft(b,o),en(w,b,e);if(!Ot(w,1)&&!Mt(w,y)){i=1;while(i<=o-1&&!Mt(w,y)){Yt(w,e);if(Ot(w,1))return 0;i++}if(!Mt(w,y))return 0}return 1}function et(e){var n,r,i;for(n=e.length-1;e[n]==0&&n>0;n--);for(r=0,i=e[n];i;i>>=1,r++);return r+=t*n,r}function tt(e,n){var r=Lt(0,(e.length>n?e.length:n)*t,0);return Ht(r,e),r}function nt(e){var t=Lt(0,e,0);return pt(t,e),Zt(t,1)}function rt(e){return e>=600?it(e,2):e>=550?it(e,4):e>=500?it(e,5):e>=400?it(e,6):e>=350?it(e,7):e>=300?it(e,9):e>=250?it(e,12):e>=200?it(e,15):e>=150?it(e,18):e>=100?it(e,27):it(e,40)}function it(e,t){var n,r,i,s;s=3e4,n=Lt(0,e,0),P.length==0&&(P=G(3e4)),Q.length!=n.length&&(Q=Pt(n));for(;;){vt(n,e,0),n[0]|=1,i=0;for(r=0;r<P.length&&P[r]<=s;r++)if(kt(n,P[r])==0&&!Ot(n,P[r])){i=1;break}for(r=0;r<t&&!i;r++){vt(Q,e,0);while(!Tt(n,Q))vt(Q,e,0);Z(n,Q)||(i=1)}if(!i)return n}}function st(e,t){var n=Pt(e);return Qt(n,t),Zt(n,1)}function ot(e,t){var n=tt(e,e.length+1);return jt(n,t),Zt(n,1)}function ut(e,t){var n=tt(e,e.length+t.length);return Kt(n,t),Zt(n,1)}function at(e,t,n){var r=tt(e,n.length);return en(r,Zt(t,2),Zt(n,2),0),Zt(r,1)}function ft(e,t){var n=tt(e,e.length>t.length?e.length+1:t.length+1);return $t(n,t),Zt(n,1)}function lt(e,t){var n=tt(e,e.length>t.length?e.length+1:t.length+1);return Jt(n,t),Zt(n,1)}function ct(e,t){var n=tt(e,t.length),r;return r=yt(n,t),r?Zt(n,1):null}function ht(e,t,n){var r=tt(e,n.length);return Gt(r,t,n),Zt(r,1)}function pt(e,n){var r,i,s,o,u,a,f,l,c,h,p,d,v;P.length==0&&(P=G(3e4));if(H.length==0){H=new Array(512);for(a=0;a<512;a++)H[a]=Math.pow(2,a/511-1)}r=.1,s=20,v=20,j.length!=e.length&&(j=Pt(e),F=Pt(e),R=Pt(e),z=Pt(e),V=Pt(e),$=Pt(e),J=Pt(e),X=Pt(e),W=Pt(e),B=Pt(e),I=Pt(e),q=Pt(e),U=Pt(e),K=Pt(e));if(n<=v){o=(1<<(n+2>>1))-1,Bt(e,0);for(u=1;u;){u=0,e[0]=1|1<<n-1|hn(n);for(a=1;a<P.length&&(P[a]&o)==P[a];a++)if(0==e[0]%P[a]){u=1;break}}Ct(e);return}l=r*n*n;if(n>2*s)for(f=1;n-n*f<=s;)f=H[hn(9)];else f=.5;d=Math.floor(f*n)+1,pt(q,d),Bt(j,0),j[Math.floor((n-2)/t)]|=1<<(n-2)%t,Nt(j,q,B,I),h=et(B);for(;;){for(;;){vt(F,h,0);if(Tt(B,F))break}jt(F,1),Jt(F,B),Ht(W,q),Kt(W,F),Rt(W,2),jt(W,1),Ht(z,F),Rt(z,2);for(c=0,a=0;a<P.length&&P[a]<l;a++)if(kt(W,P[a])==0&&!Ot(W,P[a])){c=1;break}c||Y(W,2)||(c=1);if(!c){jt(W,-3);for(a=W.length-1;W[a]==0&&a>0;a--);for(p=0,i=W[a];i;i>>=1,p++);p+=t*a;for(;;){vt(U,p,0);if(Tt(W,U))break}jt(W,3),jt(U,2),Ht(X,U),Ht(R,W),jt(R,-1),en(X,R,W),jt(X,-1);if(_t(X)){Ht(X,U),en(X,z,W),jt(X,-1),Ht(K,W),Ht(V,X),gt(V,W);if(Ot(V,1)){Ht(e,K);return}}}}}function dt(e,n){var r,i;return r=Math.floor((e-1)/t)+2,i=Lt(0,0,r),vt(i,e,n),i}function vt(e,n,r){var i,s;for(i=0;i<e.length;i++)e[i]=0;s=Math.floor((n-1)/t)+1;for(i=0;i<s;i++)e[i]=hn(t);e[s-1]&=(2<<(n-1)%t)-1,r==1&&(e[s-1]|=1<<(n-1)%t)}function mt(e,t){var n,r;return n=Pt(e),r=Pt(t),gt(n,r),n}function gt(e,t){var n,r,i,s,u,a,f,l,c,h;m.length!=e.length&&(m=Pt(e)),c=1;while(c){c=0;for(n=1;n<t.length;n++)if(t[n]){c=1;break}if(!c)break;for(n=e.length;!e[n]&&n>=0;n--);r=e[n],i=t[n],s=1,u=0,a=0,f=1;while(i+a&&i+f){l=Math.floor((r+s)/(i+a)),h=Math.floor((r+u)/(i+f));if(l!=h)break;o=s-l*a,s=a,a=o,o=u-l*f,u=f,f=o,o=r-l*i,r=i,i=o}u?(Ht(m,e),zt(e,t,s,u),zt(t,m,f,a)):(Qt(e,t),Ht(m,e),Ht(e,t),Ht(t,m))}if(t[0]==0)return;o=kt(e,t[0]),Bt(e,t[0]),t[0]=o;while(t[0])e[0]%=t[0],o=e[0],e[0]=t[0],t[0]=o}function yt(e,t){var n=1+2*Math.max(e.length,t.length);if(!(e[0]&1)&&!(t[0]&1))return Bt(e,0),0;S.length!=n&&(S=new Array(n),E=new Array(n),x=new Array(n),T=new Array(n),N=new Array(n),C=new Array(n)),Ht(S,e),Ht(E,t),Bt(x,1),Bt(T,0),Bt(N,0),Bt(C,1);for(;;){while(!(S[0]&1))It(S),!(x[0]&1)&&!(T[0]&1)?(It(x),It(T)):(Jt(x,t),It(x),$t(T,e),It(T));while(!(E[0]&1))It(E),!(N[0]&1)&&!(C[0]&1)?(It(N),It(C)):(Jt(N,t),It(N),$t(C,e),It(C));Tt(E,S)?($t(E,S),$t(N,x),$t(C,T)):($t(S,E),$t(x,N),$t(T,C));if(Ot(S,0)){while(St(N))Jt(N,t);return Ht(e,N),Ot(E,1)?1:(Bt(e,0),0)}}}function bt(e,t){var n=1,r=0,i;for(;;){if(e==1)return n;if(e==0)return 0;r-=n*Math.floor(t/e),t%=e;if(t==1)return r;if(t==0)return 0;n-=r*Math.floor(e/t),e%=t}}function wt(e,t){return bt(e,t)}function Et(e,t,n,r,i){var s=0,o=Math.max(e.length,t.length);S.length!=o&&(S=new Array(o),x=new Array(o),T=new Array(o),N=new Array(o),C=new Array(o));while(!(e[0]&1)&&!(t[0]&1))It(e),It(t),s++;Ht(S,e),Ht(n,t),Bt(x,1),Bt(T,0),Bt(N,0),Bt(C,1);for(;;){while(!(S[0]&1))It(S),!(x[0]&1)&&!(T[0]&1)?(It(x),It(T)):(Jt(x,t),It(x),$t(T,e),It(T));while(!(n[0]&1))It(n),!(N[0]&1)&&!(C[0]&1)?(It(N),It(C)):(Jt(N,t),It(N),$t(C,e),It(C));Tt(n,S)?($t(n,S),$t(N,x),$t(C,T)):($t(S,n),$t(x,N),$t(T,C));if(Ot(S,0)){while(St(N))Jt(N,t),$t(C,e);Rt(C,-1),Ht(r,N),Ht(i,C),qt(n,s);return}}}function St(e){return e[e.length-1]>>t-1&1}function xt(e,t,n){var r,i=e.length,s=t.length,o=i+n<s?i+n:s;for(r=s-1-n;r<i&&r>=0;r++)if(e[r]>0)return 1;for(r=i-1+n;r<s;r++)if(t[r]>0)return 0;for(r=o-1;r>=n;r--){if(e[r-n]>t[r])return 1;if(e[r-n]<t[r])return 0}return 0}function Tt(e,t){var n,r=e.length<t.length?e.length:t.length;for(n=e.length;n<t.length;n++)if(t[n])return 0;for(n=t.length;n<e.length;n++)if(e[n])return 1;for(n=r-1;n>=0;n--){if(e[n]>t[n])return 1;if(e[n]<t[n])return 0}return 0}function Nt(e,i,s,o){var u,a,f,l,c,h,p,d,v;Ht(o,e);for(a=i.length;i[a-1]==0;a--);v=i[a-1];for(d=0;v;d++)v>>=1;d=t-d,qt(i,d),qt(o,d);for(u=o.length;o[u-1]==0&&u>a;u--);Bt(s,0);while(!xt(i,o,u-a))Vt(o,i,u-a),s[u-a]++;for(f=u-1;f>=a;f--){o[f]==i[a-1]?s[f-a]=r:s[f-a]=Math.floor((o[f]*n+o[f-1])/i[a-1]);for(;;){h=(a>1?i[a-2]:0)*s[f-a],p=h,h&=r,p=(p-h)/n,c=p+s[f-a]*i[a-1],p=c,c&=r,p=(p-c)/n;if(!(p==o[f]?c==o[f-1]?h>(f>1?o[f-2]:0):c>o[f-1]:p>o[f]))break;s[f-a]--}Wt(o,i,-s[f-a],f-a),St(o)&&(Xt(o,i,f-a),s[f-a]--)}Ft(i,d),Ft(o,d)}function Ct(e){var t,i,s,o;i=e.length,s=0;for(t=0;t<i;t++)s+=e[t],o=0,s<0&&(o=s&r,o=-((s-o)/n),s+=o*n),e[t]=s&r,s=(s-e[t])/n-o}function kt(e,t){var r,i=0;for(r=e.length-1;r>=0;r--)i=(i*n+e[r])%t;return i}function Lt(e,n,r){var i,s,o;return s=Math.ceil(n/t)+1,s=r>s?r:s,o=new Array(s),Bt(o,e),o}function At(e,t,n){var r,s,o,u,a,f,l=e.length;if(t==-1){u=new Array(0);for(;;){a=new Array(u.length+1);for(s=0;s<u.length;s++)a[s+1]=u[s];a[0]=parseInt(e,10),u=a,r=e.indexOf(",",0);if(r<1)break;e=e.substring(r+1);if(e.length==0)break}return u.length<n?(a=new Array(n),Ht(a,u),a):u}var c=t,h=0,p=t==1?l:0;while(c>1)c&1&&(h=1),p+=l,c>>=1;p+=h*l,u=Lt(0,p,0);for(s=0;s<l;s++){r=i.indexOf(e.substring(s,s+1),0),t<=36&&r>=36&&(r-=26);if(r>=t||r<0)break;Rt(u,t),jt(u,r)}for(l=u.length;l>0&&!u[l-1];l--);l=n>l+1?n:l+1,a=new Array(l),f=l<u.length?l:u.length;for(s=0;s<f;s++)a[s]=u[s];for(;s<l;s++)a[s]=0;return a}function Ot(e,t){var n;if(e[0]!=t)return 0;for(n=1;n<e.length;n++)if(e[n])return 0;return 1}function Mt(e,t){var n,r=e.length<t.length?e.length:t.length;for(n=0;n<r;n++)if(e[n]!=t[n])return 0;if(e.length>t.length){for(;n<e.length;n++)if(e[n])return 0}else for(;n<t.length;n++)if(t[n])return 0;return 1}function _t(e){var t;for(t=0;t<e.length;t++)if(e[t])return 0;return 1}function Dt(e,t){var n,r,s="";d.length!=e.length?d=Pt(e):Ht(d,e);if(t==-1){for(n=e.length-1;n>0;n--)s+=e[n]+",";s+=e[0]}else while(!_t(d))r=Ut(d,t),s=i.substring(r,r+1)+s;return s.length==0&&(s="0"),s}function Pt(e){var t,n;return n=new Array(e.length),Ht(n,e),n}function Ht(e,t){var n,r=e.length<t.length?e.length:t.length;for(n=0;n<r;n++)e[n]=t[n];for(n=r;n<e.length;n++)e[n]=0}function Bt(e,n){var i,s;for(s=n,i=0;i<e.length;i++)e[i]=s&r,s>>=t}function jt(e,t){var i,s,o,u;e[0]+=t,s=e.length,o=0;for(i=0;i<s;i++){o+=e[i],u=0,o<0&&(u=o&r,u=-((o-u)/n),o+=u*n),e[i]=o&r,o=(o-e[i])/n-u;if(!o)return}}function Ft(e,n){var i,s=Math.floor(n/t);if(s){for(i=0;i<e.length-s;i++)e[i]=e[i+s];for(;i<e.length;i++)e[i]=0;n%=t}for(i=0;i<e.length-1;i++)e[i]=r&(e[i+1]<<t-n|e[i]>>n);e[i]>>=n}function It(e){var i;for(i=0;i<e.length-1;i++)e[i]=r&(e[i+1]<<t-1|e[i]>>1);e[i]=e[i]>>1|e[i]&n>>1}function qt(e,n){var i,s=Math.floor(n/t);if(s){for(i=e.length;i>=s;i--)e[i]=e[i-s];for(;i>=0;i--)e[i]=0;n%=t}if(!n)return;for(i=e.length-1;i>0;i--)e[i]=r&(e[i]<<n|e[i-1]>>t-n);e[i]=r&e[i]<<n}function Rt(e,t){var i,s,o,u;if(!t)return;s=e.length,o=0;for(i=0;i<s;i++)o+=e[i]*t,u=0,o<0&&(u=o&r,u=-((o-u)/n),o+=u*n),e[i]=o&r,o=(o-e[i])/n-u}function Ut(e,t){var r,i=0,s;for(r=e.length-1;r>=0;r--)s=i*n+e[r],e[r]=Math.floor(s/t),i=s%t;return i}function zt(e,t,i,s){var o,u,a,f;a=e.length<t.length?e.length:t.length,f=e.length;for(u=0,o=0;o<a;o++)u+=i*e[o]+s*t[o],e[o]=u&r,u=(u-e[o])/n;for(o=a;o<f;o++)u+=i*e[o],e[o]=u&r,u=(u-e[o])/n}function Wt(e,t,i,s){var o,u,a,f;a=e.length<s+t.length?e.length:s+t.length,f=e.length;for(u=0,o=s;o<a;o++)u+=e[o]+i*t[o-s],e[o]=u&r,u=(u-e[o])/n;for(o=a;u&&o<f;o++)u+=e[o],e[o]=u&r,u=(u-e[o])/n}function Xt(e,t,i){var s,o,u,a;u=e.length<i+t.length?e.length:i+t.length,a=e.length;for(o=0,s=i;s<u;s++)o+=e[s]+t[s-i],e[s]=o&r,o=(o-e[s])/n;for(s=u;o&&s<a;s++)o+=e[s],e[s]=o&r,o=(o-e[s])/n}function Vt(e,t,i){var s,o,u,a;u=e.length<i+t.length?e.length:i+t.length,a=e.length;for(o=0,s=i;s<u;s++)o+=e[s]-t[s-i],e[s]=o&r,o=(o-e[s])/n;for(s=u;o&&s<a;s++)o+=e[s],e[s]=o&r,o=(o-e[s])/n}function $t(e,t){var i,s,o,u;o=e.length<t.length?e.length:t.length;for(s=0,i=0;i<o;i++)s+=e[i]-t[i],e[i]=s&r,s=(s-e[i])/n;for(i=o;s&&i<e.length;i++)s+=e[i],e[i]=s&r,s=(s-e[i])/n}function Jt(e,t){var i,s,o,u;o=e.length<t.length?e.length:t.length;for(s=0,i=0;i<o;i++)s+=e[i]+t[i],e[i]=s&r,s=(s-e[i])/n;for(i=o;s&&i<e.length;i++)s+=e[i],e[i]=s&r,s=(s-e[i])/n}function Kt(e,t){var n;u.length!=2*e.length&&(u=new Array(2*e.length)),Bt(u,0);for(n=0;n<t.length;n++)t[n]&&Wt(u,e,t[n],n);Ht(e,u)}function Qt(e,t){h.length!=e.length?h=Pt(e):Ht(h,e),p.length!=e.length&&(p=Pt(e)),Nt(h,t,p,e)}function Gt(e,t,n){var r;a.length!=2*e.length&&(a=new Array(2*e.length)),Bt(a,0);for(r=0;r<t.length;r++)t[r]&&Wt(a,e,t[r],r);Qt(a,n),Ht(e,a)}function Yt(e,t){var i,s,o,u,f,l,c;for(f=e.length;f>0&&!e[f-1];f--);c=f>t.length?2*f:2*t.length,a.length!=c&&(a=new Array(c)),Bt(a,0);for(i=0;i<f;i++){u=a[2*i]+e[i]*e[i],a[2*i]=u&r,u=(u-a[2*i])/n;for(s=i+1;s<f;s++)u=a[i+s]+2*e[i]*e[s]+u,a[i+s]=u&r,u=(u-a[i+s])/n;a[i+f]=u}Qt(a,t),Ht(e,a)}function Zt(e,t){var n,r;for(n=e.length;n>0&&!e[n-1];n--);return r=new Array(n+t),Ht(r,e),r}function en(e,r,i){var o,u,a,f;v.length!=i.length&&(v=Pt(i));if((i[0]&1)==0){Ht(v,e),Bt(e,1);while(!Ot(r,0))r[0]&1&&Gt(e,v,i),Ut(r,2),Yt(v,i);return}Bt(v,0);for(a=i.length;a>0&&!i[a-1];a--);f=n-bt(kt(i,n),n),v[a]=1,Gt(e,v,i),c.length!=e.length?c=Pt(e):Ht(c,e);for(o=r.length-1;o>0&!r[o];o--);if(r[o]==0){Bt(e,1);return}for(u=1<<t-1;u&&!(r[o]&u);u>>=1);for(;;){if(!(u>>=1)){o--;if(o<0){tn(e,s,i,f);return}u=1<<t-1}tn(e,e,i,f),u&r[o]&&tn(e,c,i,f)}}function tn(e,t,i,s){var o,u,a,f,l,c,h,p=i.length,d=t.length;g.length!=p&&(g=new Array(p)),Bt(g,0);for(;p>0&&i[p-1]==0;p--);for(;d>0&&t[d-1]==0;d--);h=g.length-1;for(o=0;o<p;o++){l=g[0]+e[o]*t[0],f=(l&r)*s&r,a=l+f*i[0],a=(a-(a&r))/n,l=e[o],u=1;for(;u<d-4;)a+=g[u]+f*i[u]+l*t[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u]+l*t[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u]+l*t[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u]+l*t[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u]+l*t[u],c=g[u-1]=a&r,a=(a-c)/n,u++;for(;u<d;)a+=g[u]+f*i[u]+l*t[u],c=g[u-1]=a&r,a=(a-c)/n,u++;for(;u<p-4;)a+=g[u]+f*i[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u],c=g[u-1]=a&r,a=(a-c)/n,u++,a+=g[u]+f*i[u],c=g[u-1]=a&r,a=(a-c)/n,u++;for(;u<p;)a+=g[u]+f*i[u],c=g[u-1]=a&r,a=(a-c)/n,u++;for(;u<h;)a+=g[u],c=g[u-1]=a&r,a=(a-c)/n,u++;g[u-1]=a&r}Tt(i,g)||$t(g,i),Ht(e,g)}function nn(e,t,n){return ht(e,ct(t,n),n)}function rn(e,t,n){return e=st(e,n),t=st(t,n),Tt(t,e)&&(e=lt(e,n)),ft(e,t)}function sn(e){var n=Math.floor(e/t)+2,r=new Array(n);for(var i=0;i<n;i++)r[i]=0;return r[n-2]=1<<e%t,r}function un(e,t){t||(t=0),e=Pt(e);var n="";while(!_t(e))n=on[e[0]&255]+n,Ft(e,8);while(n.length<t)n="\0"+n;return n}function an(e){var t=At("0",10,e.length);return e.forEach(function(e,n){n&&qt(t,8),t[0]|=e}),t}function ln(){return fn(40)}function cn(){return fn(1)[0]}function hn(e){if(e>31)throw new Error("Too many bits.");var t=0,n=0,r=Math.floor(e/8),i=(1<<e%8)-1;i&&(n=cn()&i);for(;t<r;t++)n=256*n+cn();return n}var t=26,n=1<<t,r=n-1,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_=!@#$%^&*()[]{}|;:,.<>/?`~ \\'\"+-",s=Lt(1,1,1),o=new Array(0),u=o,a=o,f=o,l=o,c=o,h=o,p=o,d=o,v=o,m=o,g=o,y=o,b=o,w=o,E=o,S=o,x=o,T=o,N=o,C=o,k=o,L=o,A=o,O=o,M=o,_=o,D=o,P=o,H=o,B=o,j=o,F=o,I=o,q=o,R=o,U=o,z=o,W=o,X=o,V=o,$=o,J=o,K=o,Q=o,on=function(){var e=0,t={};for(;e<256;++e)t[e]=String.fromCharCode(e);return t}(),fn=function(){if(typeof e!="undefined"&&typeof e.randomBytes=="function")return function(t){try{var n=e.randomBytes(t)}catch(r){throw r}return Array.prototype.slice.call(n,0)};if(typeof e!="undefined"&&typeof e.getRandomValues=="function")return function(t){var n=new Uint8Array(t);return e.getRandomValues(n),Array.prototype.slice.call(n,0)};console.log("Keys should not be generated without CSPRNG.");return}();return{str2bigInt:At,bigInt2str:Dt,int2bigInt:Lt,multMod:ht,powMod:at,inverseMod:ct,randBigInt:dt,randBigInt_:vt,equals:Mt,equalsInt:Ot,sub:ft,mod:st,modInt:kt,mult:ut,divInt_:Ut,rightShift_:Ft,dup:Pt,greater:Tt,add:lt,isZero:_t,bitSize:et,millerRabin:Z,divide_:Nt,trim:Zt,primes:P,findPrimes:G,getSeed:ln,divMod:nn,subMod:rn,twoToThe:sn,bigInt2bits:un,ba2bigInt:an}}),function(){"use strict";function e(){}function n(e,t){var n=e.length;while(n--)if(e[n].listener===t)return n;return-1}function r(e){return function(){return this[e].apply(this,arguments)}}var t=e.prototype;t.getListeners=function(t){var n=this._getEvents(),r,i;if(typeof t=="object"){r={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(r[i]=n[i])}else r=n[t]||(n[t]=[]);return r},t.flattenListeners=function(t){var n=[],r;for(r=0;r<t.length;r+=1)n.push(t[r].listener);return n},t.getListenersAsObject=function(t){var n=this.getListeners(t),r;return n instanceof Array&&(r={},r[t]=n),r||n},t.addListener=function(t,r){var i=this.getListenersAsObject(t),s=typeof r=="object",o;for(o in i)i.hasOwnProperty(o)&&n(i[o],r)===-1&&i[o].push(s?r:{listener:r,once:!1});return this},t.on=r("addListener"),t.addOnceListener=function(t,n){return this.addListener(t,{listener:n,once:!0})},t.once=r("addOnceListener"),t.defineEvent=function(t){return this.getListeners(t),this},t.defineEvents=function(t){for(var n=0;n<t.length;n+=1)this.defineEvent(t[n]);return this},t.removeListener=function(t,r){var i=this.getListenersAsObject(t),s,o;for(o in i)i.hasOwnProperty(o)&&(s=n(i[o],r),s!==-1&&i[o].splice(s,1));return this},t.off=r("removeListener"),t.addListeners=function(t,n){return this.manipulateListeners(!1,t,n)},t.removeListeners=function(t,n){return this.manipulateListeners(!0,t,n)},t.manipulateListeners=function(t,n,r){var i,s,o=t?this.removeListener:this.addListener,u=t?this.removeListeners:this.addListeners;if(typeof n!="object"||n instanceof RegExp){i=r.length;while(i--)o.call(this,n,r[i])}else for(i in n)n.hasOwnProperty(i)&&(s=n[i])&&(typeof s=="function"?o.call(this,i,s):u.call(this,i,s));return this},t.removeEvent=function(t){var n=typeof t,r=this._getEvents(),i;if(n==="string")delete r[t];else if(n==="object")for(i in r)r.hasOwnProperty(i)&&t.test(i)&&delete r[i];else delete this._events;return this},t.emitEvent=function(t,n){var r=this.getListenersAsObject(t),i,s,o,u;for(o in r)if(r.hasOwnProperty(o)){s=r[o].length;while(s--)i=r[o][s],i.once===!0&&this.removeListener(t,i.listener),u=i.listener.apply(this,n||[]),u===this._getOnceReturnValue()&&this.removeListener(t,i.listener)}return this},t.trigger=r("emitEvent"),t.emit=function(t){var n=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,n)},t.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},t._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},t._getEvents=function(){return this._events||(this._events={})},typeof define=="function"&&define.amd?define("eventemitter",[],function(){return e}):typeof module=="object"&&module.exports?module.exports=e:this.EventEmitter=e}.call(this),function(e,t){typeof define=="function"&&define.amd?define("otr",["jquery","jquery.browser","bigint","crypto","eventemitter"],function(e,n,r,i,s){if(e.browser.msie)return undefined;var o={BigInt:r,CryptoJS:i,EventEmitter:s,OTR:{},DSA:{}};return t.call(o)}):(e.OTR={},e.DSA={},t.call(e))}(this,function(){return function(){"use strict";var e=this,t={N:"FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF",G:"2",MSGSTATE_PLAINTEXT:0,MSGSTATE_ENCRYPTED:1,MSGSTATE_FINISHED:2,AUTHSTATE_NONE:0,AUTHSTATE_AWAITING_DHKEY:1,AUTHSTATE_AWAITING_REVEALSIG:2,AUTHSTATE_AWAITING_SIG:3,WHITESPACE_TAG:" ",WHITESPACE_TAG_V2:" ",WHITESPACE_TAG_V3:" ",OTR_TAG:"?OTR",OTR_VERSION_1:"\0",OTR_VERSION_2:"\0",OTR_VERSION_3:"\0",SMPSTATE_EXPECT0:0,SMPSTATE_EXPECT1:1,SMPSTATE_EXPECT2:2,SMPSTATE_EXPECT3:3,SMPSTATE_EXPECT4:4,STATUS_SEND_QUERY:0,STATUS_AKE_INIT:1,STATUS_AKE_SUCCESS:2,STATUS_END_OTR:3};typeof module!="undefined"&&module.exports?module.exports=t:e.OTR.CONST=t}.call(this),function(){"use strict";var e=this,t={},n,r;typeof module!="undefined"&&module.exports?(module.exports=t={},n=require("../vendor/crypto.js"),r=require("../vendor/bigint.js")):(e.OTR&&(e.OTR.HLP=t),e.DSA&&(e.DSA.HLP=t),n=e.CryptoJS,r=e.BigInt);var i={BYTE:1,SHORT:2,INT:4,CTR:8,MAC:20,SIG:40},s="?OTR",o=".",u=r.str2bigInt("2",10);t.debug=function(e){this.debug&&typeof this.debug!="function"&&typeof console!="undefined"&&console.log(e)},t.extend=function(e,t){function r(){this.constructor=e}for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype},t.compare=function(e,t){if(e.length!==t.length)return!1;var n=0,r=0;for(;n<e.length;n++)r|=e[n].charCodeAt(0)^t[n].charCodeAt(0);return r===0},t.randomExponent=function(){return r.randBigInt(1536)},t.smpHash=function(e,r,s){var o=n.algo.SHA256.create();o.update(n.enc.Latin1.parse(t.packBytes(e,i.BYTE))),o.update(n.enc.Latin1.parse(t.packMPI(r))),s&&o.update(n.enc.Latin1.parse(t.packMPI(s)));var u=o.finalize();return t.bits2bigInt(u.toString(n.enc.Latin1))},t.makeMac=function(e,r){var i=n.enc.Latin1.parse(r),s=n.HmacSHA256(n.enc.Latin1.parse(e),i);return t.mask(s.toString(n.enc.Latin1),0,160)},t.make1Mac=function(e,t){var r=n.enc.Latin1.parse(t),i=n.HmacSHA1(n.enc.Latin1.parse(e),r);return i.toString(n.enc.Latin1)},t.encryptAes=function(e,t,r){var i={mode:n.mode.CTR,iv:n.enc.Latin1.parse(r),padding:n.pad.NoPadding},s=n.AES.encrypt(e,n.enc.Latin1.parse(t),i),o=n.enc.Base64.parse(s.toString());return n.enc.Latin1.stringify(o)},t.decryptAes=function(e,t,r){e=n.enc.Latin1.parse(e);var i={mode:n.mode.CTR,iv:n.enc.Latin1.parse(r),padding:n.pad.NoPadding};return n.AES.decrypt(n.enc.Base64.stringify(e),n.enc.Latin1.parse(t),i)},t.multPowMod=function(e,t,n,i,s){return r.multMod(r.powMod(e,t,s),r.powMod(n,i,s),s)},t.ZKP=function(e,n,i,s){return r.equals(n,t.smpHash(e,i,s))},t.GTOE=function(e,t){return r.equals(e,t)||r.greater(e,t)},t.between=function(e,t,n){return r.greater(e,t)&&r.greater(n,e)},t.checkGroup=function(e,n){return t.GTOE(e,u)&&t.GTOE(n,e)},t.h1=function(e,t){var r=n.algo.SHA1.create();return r.update(n.enc.Latin1.parse(e)),r.update(n.enc.Latin1.parse(t)),r.finalize().toString(n.enc.Latin1)},t.h2=function(e,t){var r=n.algo.SHA256.create();return r.update(n.enc.Latin1.parse(e)),r.update(n.enc.Latin1.parse(t)),r.finalize().toString(n.enc.Latin1)},t.mask=function(e,t,n){return e.substr(t/8,n/8)};var a=String.fromCharCode;t.packBytes=function(e,t){e=e.toString(16);var n,r="";for(;t>0;t--)n=e.length?e.substr(-2,2):"0",e=e.substr(0,e.length-2),r=a(parseInt(n,16))+r;return r},t.packINT=function(e){return t.packBytes(e,i.INT)},t.packCtr=function(e){return t.padCtr(t.packBytes(e,i.CTR))},t.padCtr=function(e){return e+"\0\0\0\0\0\0\0\0"},t.unpackCtr=function(e){return e=t.toByteArray(e.substring(0,8)),t.unpack(e)},t.unpack=function(e){var t=0,n=0,r=e.length;for(;n<r;n++)t=t*256+e[n];return t},t.packData=function(e){return t.packINT(e.length)+e},t.bits2bigInt=function(e){return e=t.toByteArray(e),r.ba2bigInt(e)},t.packMPI=function(e){return t.packData(r.bigInt2bits(r.trim(e,0)))},t.packSHORT=function(e){return t.packBytes(e,i.SHORT)},t.unpackSHORT=function(e){return e=t.toByteArray(e),t.unpack(e)},t.packTLV=function(e,n){return t.packSHORT(e)+t.packSHORT(n.length)+n},t.readLen=function(e){return e=t.toByteArray(e.substring(0,4)),t.unpack(e)},t.readData=function(e){var n=t.unpack(e.splice(0,4));return[n,e]},t.readMPI=function(e){return e=t.toByteArray(e),e=t.readData(e),r.ba2bigInt(e[1])},t.packMPIs=function(e){return e.reduce(function(e,n){return e+t.packMPI(n)},"")},t.unpackMPIs=function(e,n){var r=0,i=[];for(;r<e;r++)i.push("MPI");return t.splitype(i,n).map(function(e){return t.readMPI(e)})},t.wrapMsg=function(e,r,i,u,a){e=n.enc.Base64.stringify(n.enc.Latin1.parse(e)),e=s+":"+e+o;var f;i&&(f="|",f+=t.readLen(u).toString(16),f+="|",f+=t.readLen(a).toString(16));if(!r)return[null,e];var l=Math.ceil(e.length/r);if(l>65535)return["Too many fragments"];if(l==1)return[null,e];var c,h,p,d,v,m=[];for(c=1;c<=l;c++)h=(c-1)*r,p=c*r,d=e.slice(h,p),v=s,i&&(v+=f),v+=","+c+",",v+=l+",",v+=d+",",m.push(v);return[null,m]},t.splitype=function l(e,n){var r=[];return e.forEach(function(e){var s;switch(e){case"PUBKEY":s=l(["SHORT","MPI","MPI","MPI","MPI"],n).join("");break;case"DATA":case"MPI":s=n.substring(0,t.readLen(n)+4);break;default:s=n.substring(0,i[e])}r.push(s),n=n.substring(s.length)}),r};var f=function(){var e=0,t={};for(;e<256;++e)t[String.fromCharCode(e)]=e;for(e=128;e<256;++e)t[String.fromCharCode(63232+e)]=e;return t}();t.toByteArray=function(e){var t=[],n=e.split(""),r=-1,i=n.length,s=i%8;while(s--)++r,t[r]=f[n[r]];s=i>>3;while(s--)t.push(f[n[++r]],f[n[++r]],f[n[++r]],f[n[++r]],f[n[++r]],f[n[++r]],f[n[++r]],f[n[++r]]);return t}}.call(this),function(){"use strict";function c(){var e=(new Date).getTime();return function(t){if(!l||typeof console=="undefined")return;var n=(new Date).getTime();console.log(t+": "+(n-e)),e=n}}function h(e,t){var r=n.randBigInt(n.bitSize(t));return s.between(r,e,t)?r:h(e,t)}function d(e,t){var r,i=3e4,s=n.bitSize(e),o=n.primes;o.length===0&&(o=n.findPrimes(i)),p.length!=e.length&&(p=n.dup(e));for(r=0;r<o.length&&o[r]<=i;r++)if(n.modInt(e,o[r])===0&&!n.equalsInt(e,o[r]))return 0;for(r=0;r<t;r++){n.randBigInt_(p,s,0);while(!n.greater(e,p))n.randBigInt_(p,s,0);if(!n.millerRabin(e,p))return 0}return 1}function g(e){var t=c(),r=v[e].repeat,i=v[e].N,s=n.twoToThe(e-1),o=4*e,f=!1,l,h,p,g;for(;;){l=n.randBigInt(i,1),l[0]|=1;if(!d(l,r))continue;t("q");for(g=0;g<o;g++){h=n.randBigInt(e,1),h[0]|=1,p=n.mod(h,l),p=n.sub(p,u),h=n.sub(h,p);if(n.greater(s,h))continue;if(!d(h,r))continue;t("p"),m[e]={p:h,q:l},f=!0;break}if(f)break}var y=n.dup(a),b=n.sub(h,u),w=n.multMod(b,n.inverseMod(l,h),h),E;for(;;){E=n.powMod(y,w,h);if(n.equals(E,u)){y=n.add(y,u);continue}m[e].g=E,t("g");return}throw new Error("Unreachable!")}function y(e,t){if(!(this instanceof y))return new y(e,t);t=t||{};if(e){var r=this;["p","q","g","y","x"].forEach(function(t){r[t]=e[t]}),this.type=e.type||f;return}var i=parseInt(t.bit_length?t.bit_length:1024,10);if(!v[i])throw new Error("Unsupported bit length.");m[i]||g(i),this.p=m[i].p,this.q=m[i].q,this.g=m[i].g,this.type=f,this.x=h(o,this.q),this.y=n.powMod(this.g,this.x,this.p),t.nocache&&(m[i]=null)}function b(e){var t,n;t=e.indexOf("("),n=e.lastIndexOf(")");if(t<0||n<0)throw new Error("Malformed S-Expression");e=e.substring(t+1,n);var r=e.search(/\s/),i={type:e.substring(0,r),val:[]};e=e.substring(r+1,n),t=e.indexOf("(");if(t<0)i.val.push(e);else{var s,o,u,a;while(t>-1){s=t+1,o=e.length;for(u=1,a=0;s<o&&a<u;s++)e[s]==="("&&u++,e[s]===")"&&a++;i.val.push(b(e.substring(t,++s))),e=e.substring(++s),t=e.indexOf("(")}}return i}function w(e){if(!e.type)throw new Error("Parse error.");var t,r;return e.type==="privkeys"?(t=[],e.val.forEach(function(e){t.push(w(e))}),t):(t={},e.val.forEach(function(e){r=e.val[0],typeof r=="string"?r.indexOf("#")===0&&(r=r.substring(1,r.lastIndexOf("#")),r=n.str2bigInt(r,16)):r=w(e),t[e.type]=r}),t)}var e=this,t,n,r,i,s;typeof module!="undefined"&&module.exports?(module.exports=y,t=require("../vendor/crypto.js"),n=require("../vendor/bigint.js"),i=require("path").join(__dirname,"/dsa-webworker.js"),s=require("./helpers.js")):(Object.keys(e.DSA).forEach(function(t){y[t]=e.DSA[t]}),e.DSA=y,t=e.CryptoJS,n=e.BigInt,r=e.Worker,i="dsa-webworker.js",s=y.HLP);var o=n.str2bigInt("0",10),u=n.str2bigInt("1",10),a=n.str2bigInt("2",10),f="\0\0",l=!1,p=[],v={1024:{N:160,repeat:40},2048:{N:224,repeat:56}},m={};y.prototype={constructor:y,packPublic:function(){var e=this.type;return e+=s.packMPI(this.p),e+=s.packMPI(this.q),e+=s.packMPI(this.g),e+=s.packMPI(this.y),e},packPrivate:function(){var e=this.packPublic()+s.packMPI(this.x);return e=t.enc.Latin1.parse(e),e.toString(t.enc.Base64)},generateNonce:function(e){var r=n.bigInt2bits(n.trim(this.x,0)),i=n.bigInt2bits(n.randBigInt(256)),u=t.algo.SHA256.create();u.update(t.enc.Latin1.parse(r)),u.update(e),u.update(t.enc.Latin1.parse(i));var a=u.finalize();return a=s.bits2bigInt(a.toString(t.enc.Latin1)),n.rightShift_(a,256-n.bitSize(this.q)),s.between(a,o,this.q)?a:this.generateNonce(e)},sign:function(e){e=t.enc.Latin1.parse(e);var r=n.str2bigInt(e.toString(t.enc.Hex),16),i,s=o,u=o;while(n.isZero(u)||n.isZero(s)){i=this.generateNonce(e),s=n.mod(n.powMod(this.g,i,this.p),this.q);if(n.isZero(s))continue;u=n.inverseMod(i,this.q),u=n.mult(u,n.add(r,n.mult(this.x,s))),u=n.mod(u,this.q)}return[s,u]},fingerprint:function(){var e=this.packPublic();return this.type===f&&(e=e.substring(2)),e=t.enc.Latin1.parse(e),t.SHA1(e).toString(t.enc.Hex)}},y.parsePublic=function(e,t){var n=["SHORT","MPI","MPI","MPI","MPI"];t&&n.push("MPI"),e=s.splitype(n,e);var r={type:e[0],p:s.readMPI(e[1]),q:s.readMPI(e[2]),g:s.readMPI(e[3]),y:s.readMPI(e[4])};return t&&(r.x=s.readMPI(e[5])),new y(r)},y.parsePrivate=function(e,n){return n?w(b(e))[0]["private-key"].dsa:(e=t.enc.Base64.parse(e),e=e.toString(t.enc.Latin1),y.parsePublic(e,!0))},y.verify=function(e,r,i,u){if(!s.between(i,o,e.q)||!s.between(u,o,e.q))return!1;var a=t.enc.Latin1.parse(r);a=n.str2bigInt(a.toString(t.enc.Hex),16);var f=n.inverseMod(u,e.q),l=n.multMod(a,f,e.q),c=n.multMod(i,f,e.q);l=n.powMod(e.g,l,e.p),c=n.powMod(e.y,c,e.p);var h=n.mod(n.multMod(l,c,e.p),e.q);return n.equals(h,i)},y.createInWebWorker=function(e,t){var s={path:i,seed:n.getSeed};e&&typeof e=="object"&&Object.keys(e).forEach(function(t){s[t]=e[t]}),typeof module!="undefined"&&module.exports&&(r=require("webworker-threads").Worker);var o=new r(s.path);o.onmessage=function(e){var n=e.data;switch(n.type){case"debug":if(!l||typeof console=="undefined")return;console.log(n.val);break;case"data":o.terminate(),t(y.parsePrivate(n.val));break;default:throw new Error("Unrecognized type.")}},o.postMessage({seed:s.seed(),imports:s.imports,debug:l})}}.call(this),function(){"use strict";var e=this,t={},n,r,i;typeof module!="undefined"&&module.exports?(module.exports=t,n=require("../vendor/crypto.js"),r=require("./const.js"),i=require("./helpers.js")):(e.OTR.Parse=t,n=e.CryptoJS,r=e.OTR.CONST,i=e.OTR.HLP);var s={};s[r.WHITESPACE_TAG_V2]=r.OTR_VERSION_2,s[r.WHITESPACE_TAG_V3]=r.OTR_VERSION_3,t.parseMsg=function(e,t){var o=[],u=t.indexOf(r.OTR_TAG);if(!~u){this.initFragment(e),l=t.indexOf(r.WHITESPACE_TAG);if(~l){t=t.split(""),t.splice(l,16);var a,f=t.length;for(;l<f;){a=t.slice(l,l+8).join("");if(Object.hasOwnProperty.call(s,a)){t.splice(l,8),o.push(s[a]);continue}l+=8}t=t.join("")}return{msg:t,ver:o}}var l=u+r.OTR_TAG.length,c=t[l];if(c===","||c==="|")return this.msgFragment(e,t.substring(l+1),c==="|");this.initFragment(e);if(~["?","v"].indexOf(c)){t[l]==="?"&&(o.push(r.OTR_VERSION_1),l+=1);var h={2:r.OTR_VERSION_2,3:r.OTR_VERSION_3},p=t.substring(l+1),d=p.indexOf("?");return d>=1&&(p=p.substring(0,d).split(""),t[l]==="v"&&p.forEach(function(e){Object.hasOwnProperty.call(h,e)&&o.push(h[e])})),{cls:"query",ver:o}}if(c===":"){l+=1;var v=t.substring(l,l+4);if(v.length<4)return{msg:t};v=n.enc.Base64.parse(v).toString(n.enc.Latin1);var m=v.substring(0,2),g=v.substring(2);if(!e["ALLOW_V"+i.unpackSHORT(m)])return{msg:t};l+=4;var y=t.substring(l).indexOf(".");if(!~y)return{msg:t};t=n.enc.Base64.parse(t.substring(l,l+y)),t=n.enc.Latin1.stringify(t);var b;m===r.OTR_VERSION_3&&(b=t.substring(0,8),t=t.substring(8));var w;return~["","\n","",""].indexOf(g)?w="ake":g===""&&(w="data"),{version:m,type:g,msg:t,cls:w,instance_tags:b}}return t.substring(l,l+7)===" Error:"?(e.ERROR_START_AKE&&e.sendQueryMsg(),{msg:t.substring(l+7),cls:"error"}):{msg:t}},t.initFragment=function(e){e.fragment={s:"",j:0,k:0}},t.msgFragment=function(e,t,n){t=t.split(",");if(n){var r=t.shift().split("|"),s=i.packINT(parseInt(r[0],16)),o=i.packINT(parseInt(r[1],16));if(e.checkInstanceTags(s+o))return}if(t.length<4||isNaN(parseInt(t[0],10))||isNaN(parseInt(t[1],10)))return;var u=parseInt(t[0],10),a=parseInt(t[1],10);t=t[2];if(a<u||a===0||u===0){this.initFragment(e);return}u===1?(this.initFragment(e),e.fragment={k:1,n:a,s:t}):a===e.fragment.n&&u===e.fragment.k+1?(e.fragment.s+=t,e.fragment.k+=1):this.initFragment(e);if(a===u)return t=e.fragment.s,this.initFragment(e),this.parseMsg(e,t);return}}.call(this),function(){"use strict";function a(e,n,r,s,o){var u=t.enc.Latin1.parse(o),a=t.algo.HMAC.create(t.algo.SHA256,u);return a.update(t.enc.Latin1.parse(i.packMPI(e))),a.update(t.enc.Latin1.parse(i.packMPI(n))),a.update(t.enc.Latin1.parse(r)),a.update(t.enc.Latin1.parse(s)),a.finalize().toString(t.enc.Latin1)}function f(e){if(!(this instanceof f))return new f(e);this.otr=e,this.our_dh=e.our_old_dh,this.our_keyid=e.our_keyid-1,this.their_y=null,this.their_keyid=null,this.their_priv_pk=null,this.ssid=null,this.transmittedRS=!1,this.r=null;var t=this;["sendMsg"].forEach(function(e){t[e]=t[e].bind(t)})}var e=this,t,n,r,i,s;typeof module!="undefined"&&module.exports?(module.exports=f,t=require("../vendor/crypto.js"),n=require("../vendor/bigint.js"),r=require("./const.js"),i=require("./helpers.js"),s=require("./dsa.js")):(e.OTR.AKE=f,t=e.CryptoJS,n=e.BigInt,r=e.OTR.CONST,i=e.OTR.HLP,s=e.DSA);var o=n.str2bigInt(r.N,16),u=n.sub(o,n.str2bigInt("2",10));f.prototype={constructor:f,createKeys:function(e){var t=n.powMod(e,this.our_dh.privateKey,o),r=i.packMPI(t);this.ssid=i.mask(i.h2("\0",r),0,64);var s=i.h2("",r);this.c=i.mask(s,0,128),this.c_prime=i.mask(s,128,128),this.m1=i.h2("",r),this.m2=i.h2("",r),this.m1_prime=i.h2("",r),this.m2_prime=i.h2("",r)},verifySignMac:function(e,n,r,o,u,f,l,c){var h=i.makeMac(n,r);if(!i.compare(e,h))return["MACs do not match."];var p=i.decryptAes(n.substring(4),o,c);p=i.splitype(["PUBKEY","INT","SIG"],p.toString(t.enc.Latin1));var d=a(u,f,p[0],p[1],l),v=s.parsePublic(p[0]),m=i.bits2bigInt(p[2].substring(0,20)),g=i.bits2bigInt(p[2].substring(20));return s.verify(v,d,m,g)?[null,i.readLen(p[1]),v]:["Cannot verify signature of m."]},makeM:function(e,r,s,o){var u=this.otr.priv.packPublic(),f=i.packINT(this.our_keyid),l=a(this.our_dh.publicKey,e,u,f,r);l=this.otr.priv.sign(l);var c=u+f;c+=n.bigInt2bits(l[0],20),c+=n.bigInt2bits(l[1],20),c=t.enc.Latin1.parse(c);var h=i.packData(i.encryptAes(c,s,i.packCtr(0))),p=i.makeMac(h,o);return h+p},akeSuccess:function(e){i.debug.call(this.otr,"success");if(n.equals(this.their_y,this.our_dh.publicKey))return this.otr.error("equal keys - we have a problem.",!0);this.otr.our_old_dh=this.our_dh,this.otr.their_priv_pk=this.their_priv_pk,this.their_keyid===this.otr.their_keyid&&n.equals(this.their_y,this.otr.their_y)||this.their_keyid===this.otr.their_keyid-1&&n.equals(this.their_y,this.otr.their_old_y)||(this.otr.their_y=this.their_y,this.otr.their_old_y=null,this.otr.their_keyid=this.their_keyid,this.otr.sessKeys[0]=[new this.otr.DHSession(this.otr.our_dh,this.otr.their_y),null],this.otr.sessKeys[1]=[new this.otr.DHSession(this.otr.our_old_dh,this.otr.their_y),null]),this.otr.ssid=this.ssid,this.otr.transmittedRS=this.transmittedRS,this.otr_version=e,this.otr.authstate=r.AUTHSTATE_NONE,this.otr.msgstate=r.MSGSTATE_ENCRYPTED,this.r=null,this.myhashed=null,this.dhcommit=null,this.encrypted=null,this.hashed=null,this.otr.trigger("status",[r.STATUS_AKE_SUCCESS]),this.otr.sendStored()},handleAKE:function(e){var s,o,a,f=e.version;switch(e.type){case"":i.debug.call(this.otr,"d-h key message"),e=i.splitype(["DATA","DATA"],e.msg);if(this.otr.authstate===r.AUTHSTATE_AWAITING_DHKEY){var l=i.readMPI(this.myhashed),c=i.readMPI(e[1]);if(n.greater(l,c)){a="",s=this.dhcommit;break}this.our_dh=this.otr.dh(),this.otr.authstate=r.AUTHSTATE_NONE,this.r=null,this.myhashed=null}else this.otr.authstate===r.AUTHSTATE_AWAITING_SIG&&(this.our_dh=this.otr.dh());this.otr.authstate=r.AUTHSTATE_AWAITING_REVEALSIG,this.encrypted=e[0].substring(4),this.hashed=e[1].substring(4),a="\n",s=i.packMPI(this.our_dh.publicKey);break;case"\n":i.debug.call(this.otr,"reveal signature message"),e=i.splitype(["MPI"],e.msg);if(this.otr.authstate!==r.AUTHSTATE_AWAITING_DHKEY){if(this.otr.authstate!==r.AUTHSTATE_AWAITING_SIG)return;if(!n.equals(this.their_y,i.readMPI(e[0])))return}this.otr.authstate=r.AUTHSTATE_AWAITING_SIG,this.their_y=i.readMPI(e[0]);if(!i.checkGroup(this.their_y,u))return this.otr.error("Illegal g^y.",!0);this.createKeys(this.their_y),a="",s=i.packMPI(this.r),s+=this.makeM(this.their_y,this.m1,this.c,this.m2),this.m1=null,this.m2=null,this.c=null;break;case"":i.debug.call(this.otr,"signature message");if(this.otr.authstate!==r.AUTHSTATE_AWAITING_REVEALSIG)return;e=i.splitype(["DATA","DATA","MAC"],e.msg),this.r=i.readMPI(e[0]);var h=t.enc.Hex.parse(n.bigInt2str(this.r,16));h=t.enc.Latin1.stringify(h);var p=i.decryptAes(this.encrypted,h,i.packCtr(0));p=p.toString(t.enc.Latin1),this.their_y=i.readMPI(p);var d=t.SHA256(t.enc.Latin1.parse(p));if(!i.compare(this.hashed,d.toString(t.enc.Latin1)))return this.otr.error("Hashed g^x does not match.",!0);if(!i.checkGroup(this.their_y,u))return this.otr.error("Illegal g^x.",!0);this.createKeys(this.their_y),o=this.verifySignMac(e[2],e[1],this.m2,this.c,this.their_y,this.our_dh.publicKey,this.m1,i.packCtr(0));if(o[0])return this.otr.error(o[0],!0);this.their_keyid=o[1],this.their_priv_pk=o[2],s=this.makeM(this.their_y,this.m1_prime,this.c_prime,this.m2_prime),this.m1=null,this.m2=null,this.m1_prime=null,this.m2_prime=null,this.c=null,this.c_prime=null,this.sendMsg(f,"",s),this.akeSuccess(f);return;case"":i.debug.call(this.otr,"data message");if(this.otr.authstate!==r.AUTHSTATE_AWAITING_SIG)return;e=i.splitype(["DATA","MAC"],e.msg),o=this.verifySignMac(e[1],e[0],this.m2_prime,this.c_prime,this.their_y,this.our_dh.publicKey,this.m1_prime,i.packCtr(0));if(o[0])return this.otr.error(o[0],!0);this.their_keyid=o[1],this.their_priv_pk=o[2],this.m1_prime=null,this.m2_prime=null,this.c_prime=null,this.transmittedRS=!0,this.akeSuccess(f);return;default:return}this.sendMsg(f,a,s)},sendMsg:function(e,t,n){var s=e+t,o=e===r.OTR_VERSION_3;o&&(i.debug.call(this.otr,"instance tags"),s+=this.otr.our_instance_tag,s+=this.otr.their_instance_tag),s+=n,s=i.wrapMsg(s,this.otr.fragment_size,o,this.otr.our_instance_tag,this.otr.their_instance_tag);if(s[0])return this.otr.error(s[0]);this.otr.io(s[1])},initiateAKE:function(e){i.debug.call(this.otr,"d-h commit message"),this.otr.trigger("status",[r.STATUS_AKE_INIT]),this.otr.authstate=r.AUTHSTATE_AWAITING_DHKEY;var s=i.packMPI(this.our_dh.publicKey);s=t.enc.Latin1.parse(s),this.r=n.randBigInt(128);var o=t.enc.Hex.parse(n.bigInt2str(this.r,16));o=t.enc.Latin1.stringify(o),this.myhashed=t.SHA256(s),this.myhashed=i.packData(this.myhashed.toString(t.enc.Latin1)),this.dhcommit=i.packData(i.encryptAes(s,o,i.packCtr(0))),this.dhcommit+=this.myhashed,this.sendMsg(e,"",this.dhcommit)}}}.call(this),function(){"use strict";function l(e){if(!(this instanceof l))return new l(e);this.version=1,this.our_fp=e.our_fp,this.their_fp=e.their_fp,this.ssid=e.ssid,this.debug=!!e.debug,this.init()}var e=this,t,n,r,i,s;typeof module!="undefined"&&module.exports?(module.exports=l,t=require("../vendor/crypto.js"),n=require("../vendor/bigint.js"),r=require("../vendor/eventemitter.js"),i=require("./const.js"),s=require("./helpers.js")):(e.OTR.SM=l,t=e.CryptoJS,n=e.BigInt,r=e.EventEmitter,i=e.OTR.CONST,s=e.OTR.HLP);var o=n.str2bigInt(i.G,10),u=n.str2bigInt(i.N,16),a=n.sub(u,n.str2bigInt("2",10)),f=n.sub(u,n.str2bigInt("1",10));n.divInt_(f,2),s.extend(l,r),l.prototype.init=function(){this.smpstate=i.SMPSTATE_EXPECT1,this.secret=null},l.prototype.makeSecret=function(e,n){var r=t.algo.SHA256.create();r.update(t.enc.Latin1.parse(s.packBytes(this.version,1))),r.update(t.enc.Hex.parse(e?this.our_fp:this.their_fp)),r.update(t.enc.Hex.parse(e?this.their_fp:this.our_fp)),r.update(t.enc.Latin1.parse(this.ssid)),r.update(t.enc.Latin1.parse(n));var i=r.finalize();this.secret=s.bits2bigInt(i.toString(t.enc.Latin1))},l.prototype.makeG2s=function(){this.a2=s.randomExponent(),this.a3=s.randomExponent(),this.g2a=n.powMod(o,this.a2,u),this.g3a=n.powMod(o,this.a3,u),(!s.checkGroup(this.g2a,a)||!s.checkGroup(this.g3a,a))&&this.makeG2s()},l.prototype.computeGs=function(e,t){this.g2=n.powMod(e,this.a2,u),this.g3=n.powMod(t,this.a3,u)},l.prototype.computePQ=function(e){this.p=n.powMod(this.g3,e,u),this.q=s.multPowMod(o,e,this.g2,this.secret,u)},l.prototype.computeR=function(){this.r=n.powMod(this.QoQ,this.a3,u)},l.prototype.computeRab=function(e){return n.powMod(e,this.a3,u)},l.prototype.computeC=function(e,t){return s.smpHash(e,n.powMod(o,t,u))},l.prototype.computeD=function(e,t,r){return n.subMod(e,n.multMod(t,r,f),f)},l.prototype.handleSM=function(e){var r,f,l,c,h,p,d,v,m,g,y,b,w,E,S={2:i.SMPSTATE_EXPECT1,3:i.SMPSTATE_EXPECT2,4:i.SMPSTATE_EXPECT3,5:i.SMPSTATE_EXPECT4,7:i.SMPSTATE_EXPECT1};if(e.type===6){this.init(),this.trigger("abort");return}if(this.smpstate!==S[e.type])return this.abort();switch(this.smpstate){case i.SMPSTATE_EXPECT1:s.debug.call(this,"smp tlv 2");var x,T;e.type===7&&(x=e.msg.indexOf("\0"),T=e.msg.substring(0,x),e.msg=e.msg.substring(x+1)),w=s.readLen(e.msg.substr(0,4));if(w!==6)return this.abort();e=s.unpackMPIs(6,e.msg.substring(4));if(!s.checkGroup(e[0],a)||!s.checkGroup(e[3],a))return this.abort();if(!s.ZKP(1,e[1],s.multPowMod(o,e[2],e[0],e[1],u)))return this.abort();if(!s.ZKP(2,e[4],s.multPowMod(o,e[5],e[3],e[4],u)))return this.abort();this.g3ao=e[3],this.makeG2s(),f=s.randomExponent(),l=s.randomExponent(),this.c2=this.computeC(3,f),this.c3=this.computeC(4,l),this.d2=this.computeD(f,this.a2,this.c2),this.d3=this.computeD(l,this.a3,this.c3),this.computeGs(e[0],e[3]),this.smpstate=i.SMPSTATE_EXPECT0,T=t.enc.Latin1.parse(T).toString(t.enc.Utf8),this.trigger("question",[T]);return;case i.SMPSTATE_EXPECT2:s.debug.call(this,"smp tlv 3"),w=s.readLen(e.msg.substr(0,4));if(w!==11)return this.abort();e=s.unpackMPIs(11,e.msg.substring(4));if(!s.checkGroup(e[0],a)||!s.checkGroup(e[3],a)||!s.checkGroup(e[6],a)||!s.checkGroup(e[7],a))return this.abort();if(!s.ZKP(3,e[1],s.multPowMod(o,e[2],e[0],e[1],u)))return this.abort();if(!s.ZKP(4,e[4],s.multPowMod(o,e[5],e[3],e[4],u)))return this.abort();this.g3ao=e[3],this.computeGs(e[0],e[3]),h=s.multPowMod(this.g3,e[9],e[6],e[8],u),p=s.multPowMod(o,e[9],this.g2,e[10],u),p=n.multMod(p,n.powMod(e[7],e[8],u),u);if(!s.ZKP(5,e[8],h,p))return this.abort();var C=s.randomExponent();this.computePQ(C);var k=s.randomExponent(),L=s.randomExponent(),A=s.multPowMod(o,k,this.g2,L,u),O=s.smpHash(6,n.powMod(this.g3,k,u),A),M=this.computeD(k,C,O),_=this.computeD(L,this.secret,O);this.QoQ=n.divMod(this.q,e[7],u),this.PoP=n.divMod(this.p,e[6],u),this.computeR(),c=s.randomExponent(),g=n.powMod(this.QoQ,c,u),y=s.smpHash(7,n.powMod(o,c,u),g),b=this.computeD(c,this.a3,y),this.smpstate=i.SMPSTATE_EXPECT4,r=s.packINT(8)+s.packMPIs([this.p,this.q,O,M,_,this.r,y,b]),r=s.packTLV(4,r);break;case i.SMPSTATE_EXPECT3:s.debug.call(this,"smp tlv 4"),w=s.readLen(e.msg.substr(0,4));if(w!==8)return this.abort();e=s.unpackMPIs(8,e.msg.substring(4));if(!s.checkGroup(e[0],a)||!s.checkGroup(e[1],a)||!s.checkGroup(e[5],a))return this.abort();h=s.multPowMod(this.g3,e[3],e[0],e[2],u),p=s.multPowMod(o,e[3],this.g2,e[4],u),p=n.multMod(p,n.powMod(e[1],e[2],u),u);if(!s.ZKP(6,e[2],h,p))return this.abort();d=s.multPowMod(o,e[7],this.g3ao,e[6],u),this.QoQ=n.divMod(e[1],this.q,u),v=s.multPowMod(this.QoQ,e[7],e[5],e[6],u);if(!s.ZKP(7,e[6],d,v))return this.abort();this.computeR(),c=s.randomExponent(),g=n.powMod(this.QoQ,c,u),y=s.smpHash(8,n.powMod(o,c,u),g),b=this.computeD(c,this.a3,y),r=s.packINT(3)+s.packMPIs([this.r,y,b]),r=s.packTLV(5,r),m=this.computeRab(e[5]),E=!!n.equals(m,n.divMod(e[0],this.p,u)),this.trigger("trust",[E,"answered"]),this.init();break;case i.SMPSTATE_EXPECT4:s.debug.call(this,"smp tlv 5"),w=s.readLen(e.msg.substr(0,4));if(w!==3)return this.abort();e=s.unpackMPIs(3,e.msg.substring(4));if(!s.checkGroup(e[0],a))return this.abort();d=s.multPowMod(o,e[2],this.g3ao,e[1],u),v=s.multPowMod(this.QoQ,e[2],e[0],e[1],u);if(!s.ZKP(8,e[1],d,v))return this.abort();m=this.computeRab(e[0]),E=!!n.equals(m,this.PoP),this.trigger("trust",[E,"asked"]),this.init();return}this.sendMsg(r)},l.prototype.sendMsg=function(e){this.trigger("send",[this.ssid,"\0"+e])},l.prototype.rcvSecret=function(e,t){s.debug.call(this,"receive secret");var n,r=!1;this.smpstate===i.SMPSTATE_EXPECT0?n=this.answer:(n=this.initiate,r=!0),this.makeSecret(r,e),n.call(this,t)},l.prototype.answer=function(){s.debug.call(this,"smp answer");var e=s.randomExponent();this.computePQ(e);var t=s.randomExponent(),r=s.randomExponent(),a=s.multPowMod(o,t,this.g2,r,u),f=s.smpHash(5,n.powMod(this.g3,t,u),a),l=this.computeD(t,e,f),c=this.computeD(r,this.secret,f);this.smpstate=i.SMPSTATE_EXPECT3;var h=s.packINT(11)+s.packMPIs([this.g2a,this.c2,this.d2,this.g3a,this.c3,this.d3,this.p,this.q,f,l,c]);this.sendMsg(s.packTLV(3,h))},l.prototype.initiate=function(e){s.debug.call(this,"smp initiate"),this.smpstate!==i.SMPSTATE_EXPECT1&&this.abort(),this.makeG2s();var t=s.randomExponent(),n=s.randomExponent();this.c2=this.computeC(1,t),this.c3=this.computeC(2,n),this.d2=this.computeD(t,this.a2,this.c2),this.d3=this.computeD(n,this.a3,this.c3),this.smpstate=i.SMPSTATE_EXPECT2;var r="",o=2;e&&(r+=e,r+="\0",o=7),r+=s.packINT(6)+s.packMPIs([this.g2a,this.c2,this.d2,this.g3a,this.c3,this.d3]),this.sendMsg(s.packTLV(o,r))},l.prototype.abort=function(){this.init(),this.sendMsg(s.packTLV(6,"")),this.trigger("abort")}}.call(this),function(){"use strict";function m(e){if(!(this instanceof m))return new m(e);e=e||{};if(!(!e.priv||e.priv instanceof c))throw new Error("Requires long-lived DSA key.");this.priv=e.priv?e.priv:new c,this.fragment_size=e.fragment_size||0;if(this.fragment_size<0)throw new Error("Fragment size must be a positive integer.");this.send_interval=e.send_interval||0;if(this.send_interval<0)throw new Error("Send interval must be a positive integer.");this.outgoing=[],this.our_instance_tag=e.instance_tag||m.makeInstanceTag(),this.debug=!!e.debug,this.smw=e.smw,this.init();var t=this;["sendMsg","receiveMsg"].forEach(function(e){t[e]=t[e].bind(t)}),r.call(this)}var e=this,t,n,r,i,s,o,u,a,f,l,c;typeof module!="undefined"&&module.exports?(module.exports=m,t=require("../vendor/crypto.js"),n=require("../vendor/bigint.js"),r=require("../vendor/eventemitter.js"),s=require("path").join(__dirname,"/sm-webworker.js"),o=require("./const.js"),u=require("./helpers.js"),a=require("./parse.js"),f=require("./ake.js"),l=require("./sm.js"),c=require("./dsa.js"),m.CONST=o):(Object.keys(e.OTR).forEach(function(t){m[t]=e.OTR[t]}),e.OTR=m,t=e.CryptoJS,n=e.BigInt,r=e.EventEmitter,i=e.Worker,s="sm-webworker.js",o=m.CONST,u=m.HLP,a=m.Parse,f=m.AKE,l=m.SM,c=e.DSA);var h=n.str2bigInt(o.G,10),p=n.str2bigInt(o.N,16),d=Math.pow(2,53)-1,v=Math.pow(2,31)-1;u.extend(m,r),m.prototype.init=function(){this.msgstate=o.MSGSTATE_PLAINTEXT,this.authstate=o.AUTHSTATE_NONE,this.ALLOW_V2=!0,this.ALLOW_V3=!0,this.REQUIRE_ENCRYPTION=!1,this.SEND_WHITESPACE_TAG=!1,this.WHITESPACE_START_AKE=!1,this.ERROR_START_AKE=!1,a.initFragment(this),this.their_y=null,this.their_old_y=null,this.their_keyid=0,this.their_priv_pk=null,this.their_instance_tag="\0\0\0\0",this.our_dh=this.dh(),this.our_old_dh=this.dh(),this.our_keyid=2,this.sessKeys=[new Array(2),new Array(2)],this.storedMgs=[],this.oldMacKeys=[],this.sm=null,this._akeInit(),this.receivedPlaintext=!1},m.prototype._akeInit=function(){this.ake=new f(this),this.transmittedRS=!1,this.ssid=null},m.prototype._SMW=function(e,t){this.otr=e;var r={path:s,seed:n.getSeed};typeof e.smw=="object"&&Object.keys(e.smw).forEach(function(t){r[t]=e.smw[t]}),typeof module!="undefined"&&module.exports&&(i=require("webworker-threads").Worker),this.worker=new i(r.path);var o=this;this.worker.onmessage=function(e){var t=e.data;if(!t)return;o.trigger(t.method,t.args)},this.worker.postMessage({type:"seed",seed:r.seed(),imports:r.imports}),this.worker.postMessage({type:"init",reqs:t})},u.extend(m.prototype._SMW,r),["handleSM","rcvSecret","abort"].forEach(function(e){m.prototype._SMW.prototype[e]=function(){this.worker.postMessage({type:"method",method:e,args:Array.prototype.slice.call(arguments,0)})}}),m.prototype._smInit=function(){var e={ssid:this.ssid,our_fp:this.priv.fingerprint(),their_fp:this.their_priv_pk.fingerprint(),debug:this.debug};this.smw?(this.sm&&this.sm.worker.terminate(),this.sm=new this._SMW(this,e)):this.sm=new l(e);var t=this;["trust","abort","question"].forEach(function(e){t.sm.on(e,function(){t.trigger("smp",[e].concat(Array.prototype.slice.call(arguments)))})}),this.sm.on("send",function(e,n){t.ssid===e&&(n=t.prepareMsg(n),t.io(n))})},m.prototype.io=function(e,t){e=[].concat(e).map(function(e){return{msg:e,meta:t}}),this.outgoing=this.outgoing.concat(e);var n=this;(function r(e){if(!e){if(!n.outgoing.length)return;var t=n.outgoing.shift();n.trigger("io",[t.msg,t.meta])}setTimeout(r,e?0:n.send_interval)})(!0)},m.prototype.dh=function(){var t={privateKey:n.randBigInt(320)};return t.publicKey=n.powMod(h,t.privateKey,p),t},m.prototype.DHSession=function g(e,r){if(!(this instanceof g))return new g(e,r);var i=n.powMod(r,e.privateKey,p),s=u.packMPI(i);this.id=u.mask(u.h2("\0",s),0,64);var o=n.greater(e.publicKey,r),a=o?"":"",f=o?"":"";this.sendenc=u.mask(u.h1(a,s),0,128),this.sendmac=t.SHA1(t.enc.Latin1.parse(this.sendenc)),this.sendmac=this.sendmac.toString(t.enc.Latin1),this.rcvenc=u.mask(u.h1(f,s),0,128),this.rcvmac=t.SHA1(t.enc.Latin1.parse(this.rcvenc)),this.rcvmac=this.rcvmac.toString(t.enc.Latin1),this.rcvmacused=!1,this.extra_symkey=u.h2("ÿ",s),this.send_counter=0,this.rcv_counter=0},m.prototype.rotateOurKeys=function(){var e=this;this.sessKeys[1].forEach(function(t){t&&t.rcvmacused&&e.oldMacKeys.push(t.rcvmac)}),this.our_old_dh=this.our_dh,this.our_dh=this.dh(),this.our_keyid+=1,this.sessKeys[1][0]=this.sessKeys[0][0],this.sessKeys[1][1]=this.sessKeys[0][1],this.sessKeys[0]=[this.their_y?new this.DHSession(this.our_dh,this.their_y):null,this.their_old_y?new this.DHSession(this.our_dh,this.their_old_y):null]},m.prototype.rotateTheirKeys=function(e){this.their_keyid+=1;var t=this;this.sessKeys.forEach(function(e){e[1]&&e[1].rcvmacused&&t.oldMacKeys.push(e[1].rcvmac)}),this.their_old_y=this.their_y,this.sessKeys[0][1]=this.sessKeys[0][0],this.sessKeys[1][1]=this.sessKeys[1][0],this.their_y=e,this.sessKeys[0][0]=new this.DHSession(this.our_dh,this.their_y),this.sessKeys[1][0]=new this.DHSession(this.our_old_dh,this.their_y)},m.prototype.prepareMsg=function(e,n){if(this.msgstate!==o.MSGSTATE_ENCRYPTED||this.their_keyid===0)return this.error("Not ready to encrypt.");var r=this.sessKeys[1][0];if(r.send_counter>=d)return this.error("Should have rekeyed by now.");r.send_counter+=1;var i=u.packCtr(r.send_counter),s=this.ake.otr_version+"",a=this.ake.otr_version===o.OTR_VERSION_3;a&&(s+=this.our_instance_tag,s+=this.their_instance_tag),s+="\0",s+=u.packINT(this.our_keyid-1),s+=u.packINT(this.their_keyid),s+=u.packMPI(this.our_dh.publicKey),s+=i.substring(0,8);if(Math.ceil(e.length/8)>=v)return this.error("Message is too long.");var f=u.encryptAes(t.enc.Latin1.parse(e),r.sendenc,i);return s+=u.packData(f),s+=u.make1Mac(s,r.sendmac),s+=u.packData(this.oldMacKeys.splice(0).join("")),s=u.wrapMsg(s,this.fragment_size,a,this.our_instance_tag,this.their_instance_tag),s[0]?this.error(s[0]):(n&&this.trigger("file",["send",r.extra_symkey,n]),s[1])},m.prototype.handleDataMsg=function(e){var n=e.version+e.type;this.ake.otr_version===o.OTR_VERSION_3&&(n+=e.instance_tags);var r=["BYTE","INT","INT","MPI","CTR","DATA","MAC","DATA"];e=u.splitype(r,e.msg);var i=e[0]==="";if(this.msgstate!==o.MSGSTATE_ENCRYPTED||e.length!==8){i||this.error("Received an unreadable encrypted message.",!0);return}var s=this.our_keyid-u.readLen(e[2]),a=this.their_keyid-u.readLen(e[1]);if(s<0||s>1){i||this.error("Not of our latest keys.",!0);return}if(a<0||a>1){i||this.error("Not of your latest keys.",!0);return}var f=a?this.their_old_y:this.their_y;if(a===1&&!f){i||this.error("Do not have that key.");return}var l=this.sessKeys[s][a],c=u.unpackCtr(e[4]);if(c<=l.rcv_counter){i||this.error("Counter in message is not larger.");return}l.rcv_counter=c,n+=e.slice(0,6).join("");var h=u.make1Mac(n,l.rcvmac);if(!u.compare(e[6],h)){i||this.error("MACs do not match.");return}l.rcvmacused=!0;var p=u.decryptAes(e[5].substring(4),l.rcvenc,u.padCtr(e[4]));p=p.toString(t.enc.Latin1),s||this.rotateOurKeys(),a||this.rotateTheirKeys(u.readMPI(e[3]));var d=p.indexOf("\0");return~d&&(this.handleTLVs(p.substring(d+1),l),p=p.substring(0,d)),p=t.enc.Latin1.parse(p),p.toString(t.enc.Utf8)},m.prototype.handleTLVs=function(e,n){var r,i,s;for(;e.length;){r=u.unpackSHORT(e.substr(0,2)),i=u.unpackSHORT(e.substr(2,2)),s=e.substr(4,i);if(s.length<i)break;switch(r){case 1:this.msgstate=o.MSGSTATE_FINISHED,this.trigger("status",[o.STATUS_END_OTR]);break;case 2:case 3:case 4:case 5:case 6:case 7:if(this.msgstate!==o.MSGSTATE_ENCRYPTED){this.sm&&this.sm.abort();return}this.sm||this._smInit(),this.sm.handleSM({msg:s,type:r});break;case 8:s=s.substring(4),s=t.enc.Latin1.parse(s),s=s.toString(t.enc.Utf8),this.trigger("file",["receive",n.extra_symkey,s])}e=e.substring(4+i)}},m.prototype.smpSecret=function(e,n){if(this.msgstate!==o.MSGSTATE_ENCRYPTED)return this.error("Must be encrypted for SMP.");if(typeof e!="string"||e.length<1)return this.error("Secret is required.");this.sm||this._smInit(),e=t.enc.Utf8.parse(e).toString(t.enc.Latin1),n=t.enc.Utf8.parse(n).toString(t.enc.Latin1),this.sm.rcvSecret(e,n)},m.prototype.sendQueryMsg=function(){var e={},t=o.OTR_TAG;this.ALLOW_V2&&(e[2]=!0),this.ALLOW_V3&&(e[3]=!0);var n=Object.keys(e);n.length&&(t+="v",n.forEach(function(e){e!=="1"&&(t+=e)}),t+="?"),this.io(t),this.trigger("status",[o.STATUS_SEND_QUERY])},m.prototype.sendMsg=function(e,n){if(this.REQUIRE_ENCRYPTION||this.msgstate!==o.MSGSTATE_PLAINTEXT)e=t.enc.Utf8.parse(e),e=e.toString(t.enc.Latin1);switch(this.msgstate){case o.MSGSTATE_PLAINTEXT:if(this.REQUIRE_ENCRYPTION){this.storedMgs.push({msg:e,meta:n}),this.sendQueryMsg();return}this.SEND_WHITESPACE_TAG&&!this.receivedPlaintext&&(e+=o.WHITESPACE_TAG,this.ALLOW_V3&&(e+=o.WHITESPACE_TAG_V3),this.ALLOW_V2&&(e+=o.WHITESPACE_TAG_V2));break;case o.MSGSTATE_FINISHED:this.storedMgs.push({msg:e,meta:n}),this.error("Message cannot be sent at this time.");return;case o.MSGSTATE_ENCRYPTED:e=this.prepareMsg(e);break;default:throw new Error("Unknown message state.")}e&&this.io(e,n)},m.prototype.receiveMsg=function(e){e=a.parseMsg(this,e);if(!e)return;switch(e.cls){case"error":this.error(e.msg);return;case"ake":if(e.version===o.OTR_VERSION_3&&this.checkInstanceTags(e.instance_tags))return;this.ake.handleAKE(e);return;case"data":if(e.version===o.OTR_VERSION_3&&this.checkInstanceTags(e.instance_tags))return;e.msg=this.handleDataMsg(e),e.encrypted=!0;break;case"query":this.msgstate===o.MSGSTATE_ENCRYPTED&&this._akeInit(),this.doAKE(e);break;default:(this.REQUIRE_ENCRYPTION||this.msgstate!==o.MSGSTATE_PLAINTEXT)&&this.error("Received an unencrypted message."),this.receivedPlaintext=!0,this.WHITESPACE_START_AKE&&e.ver.length>0&&this.doAKE(e)}e.msg&&this.trigger("ui",[e.msg,!!e.encrypted])},m.prototype.checkInstanceTags=function(e){var t=u.readLen(e.substr(0,4)),n=u.readLen(e.substr(4,4));if(n&&n!==u.readLen(this.our_instance_tag))return!0;if(u.readLen(this.their_instance_tag)){if(u.readLen(this.their_instance_tag)!==t)return!0}else{if(t<100)return!0;this.their_instance_tag=u.packINT(t)}},m.prototype.doAKE=function(e){this.ALLOW_V3&&~e.ver.indexOf(o.OTR_VERSION_3)?this.ake.initiateAKE(o.OTR_VERSION_3):this.ALLOW_V2&&~e.ver.indexOf(o.OTR_VERSION_2)?this.ake.initiateAKE(o.OTR_VERSION_2):this.error("OTR conversation requested, but no compatible protocol version found.")},m.prototype.error=function(e,t){if(t){this.debug||(e="An OTR error has occurred."),e="?OTR Error:"+e,this.io(e);return}this.trigger("error",[e])},m.prototype.sendStored=function(){var e=this;this.storedMgs.splice(0).forEach(function(t){var n=e.prepareMsg(t.msg);e.io(n,t.meta)})},m.prototype.sendFile=function(e){if(this.msgstate!==o.MSGSTATE_ENCRYPTED)return this.error("Not ready to encrypt.");if(this.ake.otr_version!==o.OTR_VERSION_3)return this.error("Protocol v3 required.");if(!e)return this.error("Please specify a filename.");var n=t.enc.Utf8.parse(e);n=n.toString(t.enc.Latin1);if(n.length>=65532)return this.error("filename is too long.");var r="\0";r+="\0\b",r+=u.packSHORT(4+n.length),r+="\0\0\0",r+=n,r=this.prepareMsg(r,e),this.io(r)},m.prototype.endOtr=function(){this.msgstate===o.MSGSTATE_ENCRYPTED&&(this.sendMsg("\0\0\0\0"),this.sm&&(this.smw&&this.sm.worker.terminate(),this.sm=null)),this.msgstate=o.MSGSTATE_PLAINTEXT,this.receivedPlaintext=!1,this.trigger("status",[o.STATUS_END_OTR])},m.makeInstanceTag=function(){var e=n.randBigInt(32);return n.greater(n.str2bigInt("100",16),e)?m.makeInstanceTag():u.packINT(parseInt(n.bigInt2str(e,10),10))}}.call(this),{OTR:this.OTR,DSA:this.DSA}}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("moment",t):e.moment=t()}(this,function(){"use strict";function e(){return Or.apply(null,arguments)}function t(e){Or=e}function n(e){return"[object Array]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Nt(e,t,n,r,!0).utc()}function a(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function f(e){return null==e._pf&&(e._pf=a()),e._pf}function l(e){if(null==e._isValid){var t=f(e);e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function c(e){var t=u(0/0);return null!=e?o(f(t),e):f(t).userInvalidated=!0,t}function h(e,t){var n,r,i;if("undefined"!=typeof t._isAMomentObject&&(e._isAMomentObject=t._isAMomentObject),"undefined"!=typeof t._i&&(e._i=t._i),"undefined"!=typeof t._f&&(e._f=t._f),"undefined"!=typeof t._l&&(e._l=t._l),"undefined"!=typeof t._strict&&(e._strict=t._strict),"undefined"!=typeof t._tzm&&(e._tzm=t._tzm),"undefined"!=typeof t._isUTC&&(e._isUTC=t._isUTC),"undefined"!=typeof t._offset&&(e._offset=t._offset),"undefined"!=typeof t._pf&&(e._pf=f(t)),"undefined"!=typeof t._locale&&(e._locale=t._locale),_r.length>0)for(n in _r)r=_r[n],i=t[r],"undefined"!=typeof i&&(e[r]=i);return e}function p(t){h(this,t),this._d=new Date(+t._d),Dr===!1&&(Dr=!0,e.updateOffset(this),Dr=!1)}function d(e){return e instanceof p||null!=e&&null!=e._isAMomentObject}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function m(e,t,n){var r,i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&v(e[r])!==v(t[r]))&&o++;return o+s}function g(){}function y(e){return e?e.toLowerCase().replace("_","-"):e}function b(e){for(var t,n,r,i,s=0;s<e.length;){for(i=y(e[s]).split("-"),t=i.length,n=y(e[s+1]),n=n?n.split("-"):null;t>0;){if(r=w(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&m(i,n,!0)>=t-1)break;t--}s++}return null}function w(e){var t=null;if(!Pr[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Mr._abbr,require("./locale/"+e),E(t)}catch(n){}return Pr[e]}function E(e,t){var n;return e&&(n="undefined"==typeof t?x(e):S(e,t),n&&(Mr=n)),Mr._abbr}function S(e,t){return null!==t?(t.abbr=e,Pr[e]||(Pr[e]=new g),Pr[e].set(t),E(e),Pr[e]):(delete Pr[e],null)}function x(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Mr;if(!n(e)){if(t=w(e))return t;e=[e]}return b(e)}function T(e,t){var n=e.toLowerCase();Hr[n]=Hr[n+"s"]=Hr[t]=e}function N(e){return"string"==typeof e?Hr[e]||Hr[e.toLowerCase()]:void 0}function C(e){var t,n,r={};for(n in e)s(e,n)&&(t=N(n),t&&(r[t]=e[n]));return r}function k(t,n){return function(r){return null!=r?(A(this,t,r),e.updateOffset(this,n),this):L(this,t)}}function L(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function A(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function O(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=N(e),"function"==typeof this[e])return this[e](t);return this}function M(e,t,n){for(var r=""+Math.abs(e),i=e>=0;r.length<t;)r="0"+r;return(i?n?"+":"":"-")+r}function _(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Ir[e]=i),t&&(Ir[t[0]]=function(){return M(i.apply(this,arguments),t[1],t[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function D(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function P(e){var t,n,r=e.match(Br);for(t=0,n=r.length;n>t;t++)Ir[r[t]]?r[t]=Ir[r[t]]:r[t]=D(r[t]);return function(i){var s="";for(t=0;n>t;t++)s+=r[t]instanceof Function?r[t].call(i,e):r[t];return s}}function H(e,t){return e.isValid()?(t=B(t,e.localeData()),Fr[t]||(Fr[t]=P(t)),Fr[t](e)):e.localeData().invalidDate()}function B(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(jr.lastIndex=0;r>=0&&jr.test(e);)e=e.replace(jr,n),jr.lastIndex=0,r-=1;return e}function j(e,t,n){ei[e]="function"==typeof t?t:function(e){return e&&n?n:t}}function F(e,t){return s(ei,e)?ei[e](t._strict,t._locale):new RegExp(I(e))}function I(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function q(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=v(e)}),n=0;n<e.length;n++)ti[e[n]]=r}function R(e,t){q(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function U(e,t,n){null!=t&&s(ti,e)&&ti[e](t,n._a,n,e)}function z(e,t){return(new Date(Date.UTC(e,t+1,0))).getUTCDate()}function W(e){return this._months[e.month()]}function X(e){return this._monthsShort[e.month()]}function V(e,t,n){var r,i,s;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function $(e,t){var n;return"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),z(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function J(t){return null!=t?($(this,t),e.updateOffset(this,!0),this):L(this,"Month")}function K(){return z(this.year(),this.month())}function Q(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[ri]<0||n[ri]>11?ri:n[ii]<1||n[ii]>z(n[ni],n[ri])?ii:n[si]<0||n[si]>24||24===n[si]&&(0!==n[oi]||0!==n[ui]||0!==n[ai])?si:n[oi]<0||n[oi]>59?oi:n[ui]<0||n[ui]>59?ui:n[ai]<0||n[ai]>999?ai:-1,f(e)._overflowDayOfYear&&(ni>t||t>ii)&&(t=ii),f(e).overflow=t),e}function G(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function Y(e,t){var n=!0,r=e+"\n"+(new Error).stack;return o(function(){return n&&(G(r),n=!1),t.apply(this,arguments)},t)}function Z(e,t){ci[e]||(G(t),ci[e]=!0)}function et(e){var t,n,r=e._i,i=hi.exec(r);if(i){for(f(e).iso=!0,t=0,n=pi.length;n>t;t++)if(pi[t][1].exec(r)){e._f=pi[t][0]+(i[6]||" ");break}for(t=0,n=di.length;n>t;t++)if(di[t][1].exec(r)){e._f+=di[t][0];break}r.match(Gr)&&(e._f+="Z"),bt(e)}else e._isValid=!1}function tt(t){var n=vi.exec(t._i);return null!==n?void (t._d=new Date(+n[1])):(et(t),void (t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function nt(e,t,n,r,i,s,o){var u=new Date(e,t,n,r,i,s,o);return 1970>e&&u.setFullYear(e),u}function rt(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function it(e){return st(e)?366:365}function st(e){return e%4===0&&e%100!==0||e%400===0}function ot(){return st(this.year())}function ut(e,t,n){var r,i=n-t,s=n-e.day();return s>i&&(s-=7),i-7>s&&(s+=7),r=Ct(e).add(s,"d"),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function at(e){return ut(e,this._week.dow,this._week.doy).week}function ft(){return this._week.dow}function lt(){return this._week.doy}function ct(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function ht(e){var t=ut(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function pt(e,t,n,r,i){var s,o,u=rt(e,0,1).getUTCDay();return u=0===u?7:u,n=null!=n?n:i,s=i-u+(u>r?7:0)-(i>u?7:0),o=7*(t-1)+(n-i)+s+1,{year:o>0?e:e-1,dayOfYear:o>0?o:it(e-1)+o}}function dt(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vt(e,t,n){return null!=e?e:null!=t?t:n}function mt(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function gt(e){var t,n,r,i,s=[];if(!e._d){for(r=mt(e),e._w&&null==e._a[ii]&&null==e._a[ri]&&yt(e),e._dayOfYear&&(i=vt(e._a[ni],r[ni]),e._dayOfYear>it(i)&&(f(e)._overflowDayOfYear=!0),n=rt(i,0,e._dayOfYear),e._a[ri]=n.getUTCMonth(),e._a[ii]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;7>t;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[si]&&0===e._a[oi]&&0===e._a[ui]&&0===e._a[ai]&&(e._nextDay=!0,e._a[si]=0),e._d=(e._useUTC?rt:nt).apply(null,s),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[si]=24)}}function yt(e){var t,n,r,i,s,o,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,o=4,n=vt(t.GG,e._a[ni],ut(Ct(),1,4).year),r=vt(t.W,1),i=vt(t.E,1)):(s=e._locale._week.dow,o=e._locale._week.doy,n=vt(t.gg,e._a[ni],ut(Ct(),s,o).year),r=vt(t.w,1),null!=t.d?(i=t.d,s>i&&++r):i=null!=t.e?t.e+s:s),u=pt(n,r,i,o,s),e._a[ni]=u.year,e._dayOfYear=u.dayOfYear}function bt(t){if(t._f===e.ISO_8601)return void et(t);t._a=[],f(t).empty=!0;var n,r,i,s,o,u=""+t._i,a=u.length,l=0;for(i=B(t._f,t._locale).match(Br)||[],n=0;n<i.length;n++)s=i[n],r=(u.match(F(s,t))||[])[0],r&&(o=u.substr(0,u.indexOf(r)),o.length>0&&f(t).unusedInput.push(o),u=u.slice(u.indexOf(r)+r.length),l+=r.length),Ir[s]?(r?f(t).empty=!1:f(t).unusedTokens.push(s),U(s,r,t)):t._strict&&!r&&f(t).unusedTokens.push(s);f(t).charsLeftOver=a-l,u.length>0&&f(t).unusedInput.push(u),f(t).bigHour===!0&&t._a[si]<=12&&t._a[si]>0&&(f(t).bigHour=void 0),t._a[si]=wt(t._locale,t._a[si],t._meridiem),gt(t),Q(t)}function wt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Et(e){var t,n,r,i,s;if(0===e._f.length)return f(e).invalidFormat=!0,void (e._d=new Date(0/0));for(i=0;i<e._f.length;i++)s=0,t=h({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],bt(t),l(t)&&(s+=f(t).charsLeftOver,s+=10*f(t).unusedTokens.length,f(t).score=s,(null==r||r>s)&&(r=s,n=t));o(e,n||t)}function St(e){if(!e._d){var t=C(e._i);e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],gt(e)}}function xt(e){var t,i=e._i,s=e._f;return e._locale=e._locale||x(e._l),null===i||void 0===s&&""===i?c({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),d(i)?new p(Q(i)):(n(s)?Et(e):s?bt(e):r(i)?e._d=i:Tt(e),t=new p(Q(e)),t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t))}function Tt(t){var s=t._i;void 0===s?t._d=new Date:r(s)?t._d=new Date(+s):"string"==typeof s?tt(t):n(s)?(t._a=i(s.slice(0),function(e){return parseInt(e,10)}),gt(t)):"object"==typeof s?St(t):"number"==typeof s?t._d=new Date(s):e.createFromInputFallback(t)}function Nt(e,t,n,r,i){var s={};return"boolean"==typeof n&&(r=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,xt(s)}function Ct(e,t,n,r){return Nt(e,t,n,r,!1)}function kt(e,t){var r,i;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Ct();for(r=t[0],i=1;i<t.length;++i)t[i][e](r)&&(r=t[i]);return r}function Lt(){var e=[].slice.call(arguments,0);return kt("isBefore",e)}function At(){var e=[].slice.call(arguments,0);return kt("isAfter",e)}function Ot(e){var t=C(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||0,o=t.day||0,u=t.hour||0,a=t.minute||0,f=t.second||0,l=t.millisecond||0;this._milliseconds=+l+1e3*f+6e4*a+36e5*u,this._days=+o+7*s,this._months=+i+3*r+12*n,this._data={},this._locale=x(),this._bubble()}function Mt(e){return e instanceof Ot}function _t(e,t){_(e,0,0,function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+M(~~(e/60),2)+t+M(~~e%60,2)})}function Dt(e){var t=(e||"").match(Gr)||[],n=t[t.length-1]||[],r=(n+"").match(wi)||["-",0,0],i=+(60*r[1])+v(r[2]);return"+"===r[0]?i:-i}function Pt(t,n){var i,s;return n._isUTC?(i=n.clone(),s=(d(t)||r(t)?+t:+Ct(t))- +i,i._d.setTime(+i._d+s),e.updateOffset(i,!1),i):Ct(t).local()}function Ht(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Bt(t,n){var r,i=this._offset||0;return null!=t?("string"==typeof t&&(t=Dt(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(r=Ht(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!n||this._changeInProgress?Yt(this,$t(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ht(this)}function jt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ft(e){return this.utcOffset(0,e)}function It(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this}function qt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Dt(this._i)),this}function Rt(e){return e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60===0}function Ut(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(this._a){var e=this._isUTC?u(this._a):Ct(this._a);return this.isValid()&&m(this._a,e.toArray())>0}return!1}function Wt(){return!this._isUTC}function Xt(){return this._isUTC}function Vt(){return this._isUTC&&0===this._offset}function $t(e,t){var n,r,i,o=e,u=null;return Mt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(u=Ei.exec(e))?(n="-"===u[1]?-1:1,o={y:0,d:v(u[ii])*n,h:v(u[si])*n,m:v(u[oi])*n,s:v(u[ui])*n,ms:v(u[ai])*n}):(u=Si.exec(e))?(n="-"===u[1]?-1:1,o={y:Jt(u[2],n),M:Jt(u[3],n),d:Jt(u[4],n),h:Jt(u[5],n),m:Jt(u[6],n),s:Jt(u[7],n),w:Jt(u[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Qt(Ct(o.from),Ct(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ot(o),Mt(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function Jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t- +e.clone().add(n.months,"M"),n}function Qt(e,t){var n;return t=Pt(t,e),e.isBefore(t)?n=Kt(e,t):(n=Kt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Gt(e,t){return function(n,r){var i,s;return null===r||isNaN(+r)||(Z(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),s=n,n=r,r=s),n="string"==typeof n?+n:n,i=$t(n,r),Yt(this,i,e),this}}function Yt(t,n,r,i){var s=n._milliseconds,o=n._days,u=n._months;i=null==i?!0:i,s&&t._d.setTime(+t._d+s*r),o&&A(t,"Date",L(t,"Date")+o*r),u&&$(t,L(t,"Month")+u*r),i&&e.updateOffset(t,o||u)}function Zt(e){var t=e||Ct(),n=Pt(t,this).startOf("day"),r=this.diff(n,"days",!0),i=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(this.localeData().calendar(i,this,Ct(t)))}function en(){return new p(this)}function tn(e,t){var n;return t=N("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=d(e)?e:Ct(e),+this>+e):(n=d(e)?+e:+Ct(e),n<+this.clone().startOf(t))}function nn(e,t){var n;return t=N("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=d(e)?e:Ct(e),+e>+this):(n=d(e)?+e:+Ct(e),+this.clone().endOf(t)<n)}function rn(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)}function sn(e,t){var n;return t=N(t||"millisecond"),"millisecond"===t?(e=d(e)?e:Ct(e),+this===+e):(n=+Ct(e),+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))}function on(e){return 0>e?Math.ceil(e):Math.floor(e)}function un(e,t,n){var r,i,s=Pt(e,this),o=6e4*(s.utcOffset()-this.utcOffset());return t=N(t),"year"===t||"month"===t||"quarter"===t?(i=an(this,s),"quarter"===t?i/=3:"year"===t&&(i/=12)):(r=this-s,i="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-o)/864e5:"week"===t?(r-o)/6048e5:r),n?i:on(i)}function an(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(i,"months");return 0>t-s?(n=e.clone().add(i-1,"months"),r=(t-s)/(s-n)):(n=e.clone().add(i+1,"months"),r=(t-s)/(n-s)),-(i+r)}function fn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ln(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():H(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):H(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function cn(t){var n=H(this,t||e.defaultFormat);return this.localeData().postformat(n)}function hn(e,t){return this.isValid()?$t({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pn(e){return this.from(Ct(),e)}function dn(e,t){return this.isValid()?$t({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vn(e){return this.to(Ct(),e)}function mn(e){var t;return void 0===e?this._locale._abbr:(t=x(e),null!=t&&(this._locale=t),this)}function gn(){return this._locale}function yn(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function bn(e){return e=N(e),void 0===e||"millisecond"===e?this:this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")}function wn(){return+this._d-6e4*(this._offset||0)}function En(){return Math.floor(+this/1e3)}function Sn(){return this._offset?new Date(+this):this._d}function xn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Tn(){return l(this)}function Nn(){return o({},f(this))}function Cn(){return f(this).overflow}function kn(e,t){_(0,[e,e.length],0,t)}function Ln(e,t,n){return ut(Ct([e,11,31+t-n]),t,n).week}function An(e){var t=ut(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")}function On(e){var t=ut(this,1,4).year;return null==e?t:this.add(e-t,"y")}function Mn(){return Ln(this.year(),1,4)}function _n(){var e=this.localeData()._week;return Ln(this.year(),e.dow,e.doy)}function Dn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Pn(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof e)return null}else e=parseInt(e,10);return e}function Hn(e){return this._weekdays[e.day()]}function Bn(e){return this._weekdaysShort[e.day()]}function jn(e){return this._weekdaysMin[e.day()]}function Fn(e){var t,n,r;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t++)if(this._weekdaysParse[t]||(n=Ct([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t}function In(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pn(e,this.localeData()),this.add(e-t,"d")):t}function qn(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Rn(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)}function Un(e,t){_(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function zn(e,t){return t._meridiemParse}function Wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function Xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Vn(e){_(0,[e,3],0,"millisecond")}function $n(){return this._isUTC?"UTC":""}function Jn(){return this._isUTC?"Coordinated Universal Time":""}function Kn(e){return Ct(1e3*e)}function Qn(){return Ct.apply(null,arguments).parseZone()}function Gn(e,t,n){var r=this._calendar[e];return"function"==typeof r?r.call(t,n):r}function Yn(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t}function Zn(){return this._invalidDate}function er(e){return this._ordinal.replace("%d",e)}function tr(e){return e}function nr(e,t,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.replace(/%d/i,e)}function rr(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function ir(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function sr(e,t,n,r){var i=x(),s=u().set(r,t);return i[n](s,e)}function or(e,t,n,r,i){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return sr(e,t,n,i);var s,o=[];for(s=0;r>s;s++)o[s]=sr(e,s,n,i);return o}function ur(e,t){return or(e,t,"months",12,"month")}function ar(e,t){return or(e,t,"monthsShort",12,"month")}function fr(e,t){return or(e,t,"weekdays",7,"day")}function lr(e,t){return or(e,t,"weekdaysShort",7,"day")}function cr(e,t){return or(e,t,"weekdaysMin",7,"day")}function hr(){var e=this._data;return this._milliseconds=Wi(this._milliseconds),this._days=Wi(this._days),this._months=Wi(this._months),e.milliseconds=Wi(e.milliseconds),e.seconds=Wi(e.seconds),e.minutes=Wi(e.minutes),e.hours=Wi(e.hours),e.months=Wi(e.months),e.years=Wi(e.years),this}function pr(e,t,n,r){var i=$t(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function dr(e,t){return pr(this,e,t,1)}function vr(e,t){return pr(this,e,t,-1)}function mr(){var e,t,n,r=this._milliseconds,i=this._days,s=this._months,o=this._data,u=0;return o.milliseconds=r%1e3,e=on(r/1e3),o.seconds=e%60,t=on(e/60),o.minutes=t%60,n=on(t/60),o.hours=n%24,i+=on(n/24),u=on(gr(i)),i-=on(yr(u)),s+=on(i/30),i%=30,u+=on(s/12),s%=12,o.days=i,o.months=s,o.years=u,this}function gr(e){return 400*e/146097}function yr(e){return 146097*e/400}function br(e){var t,n,r=this._milliseconds;if(e=N(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+12*gr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(yr(this._months/12)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function wr(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Er(e){return function(){return this.as(e)}}function Sr(e){return e=N(e),this[e+"s"]()}function xr(e){return function(){return this._data[e]}}function Tr(){return on(this.days()/7)}function Nr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Cr(e,t,n){var r=$t(e).abs(),i=os(r.as("s")),s=os(r.as("m")),o=os(r.as("h")),u=os(r.as("d")),a=os(r.as("M")),f=os(r.as("y")),l=i<us.s&&["s",i]||1===s&&["m"]||s<us.m&&["mm",s]||1===o&&["h"]||o<us.h&&["hh",o]||1===u&&["d"]||u<us.d&&["dd",u]||1===a&&["M"]||a<us.M&&["MM",a]||1===f&&["y"]||["yy",f];return l[2]=t,l[3]=+e>0,l[4]=n,Nr.apply(null,l)}function kr(e,t){return void 0===us[e]?!1:void 0===t?us[e]:(us[e]=t,!0)}function Lr(e){var t=this.localeData(),n=Cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Ar(){var e=as(this.years()),t=as(this.months()),n=as(this.days()),r=as(this.hours()),i=as(this.minutes()),s=as(this.seconds()+this.milliseconds()/1e3),o=this.asSeconds();return o?(0>o?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||s?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(s?s+"S":""):"P0D"}var Or,Mr,_r=e.momentProperties=[],Dr=!1,Pr={},Hr={},Br=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,jr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Fr={},Ir={},qr=/\d/,Rr=/\d\d/,Ur=/\d{3}/,zr=/\d{4}/,Wr=/[+-]?\d{6}/,Xr=/\d\d?/,Vr=/\d{1,3}/,$r=/\d{1,4}/,Jr=/[+-]?\d{1,6}/,Kr=/\d+/,Qr=/[+-]?\d+/,Gr=/Z|[+-]\d\d:?\d\d/gi,Yr=/[+-]?\d+(\.\d{1,3})?/,Zr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ei={},ti={},ni=0,ri=1,ii=2,si=3,oi=4,ui=5,ai=6;_("M",["MM",2],"Mo",function(){return this.month()+1}),_("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),_("MMMM",0,0,function(e){return this.localeData().months(this,e)}),T("month","M"),j("M",Xr),j("MM",Xr,Rr),j("MMM",Zr),j("MMMM",Zr),q(["M","MM"],function(e,t){t[ri]=v(e)-1}),q(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ri]=i:f(n).invalidMonth=e});var fi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),li="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ci={};e.suppressDeprecationWarnings=!1;var hi=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],di=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],vi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=Y("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),_(0,["YY",2],0,function(){return this.year()%100}),_(0,["YYYY",4],0,"year"),_(0,["YYYYY",5],0,"year"),_(0,["YYYYYY",6,!0],0,"year"),T("year","y"),j("Y",Qr),j("YY",Xr,Rr),j("YYYY",$r,zr),j("YYYYY",Jr,Wr),j("YYYYYY",Jr,Wr),q(["YYYY","YYYYY","YYYYYY"],ni),q("YY",function(t,n){n[ni]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var mi=k("FullYear",!1);_("w",["ww",2],"wo","week"),_("W",["WW",2],"Wo","isoWeek"),T("week","w"),T("isoWeek","W"),j("w",Xr),j("ww",Xr,Rr),j("W",Xr),j("WW",Xr,Rr),R(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=v(e)});var gi={dow:0,doy:6};_("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),j("DDD",Vr),j("DDDD",Ur),q(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),e.ISO_8601=function(){};var yi=Y("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Ct.apply(null,arguments);return this>e?this:e}),bi=Y("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Ct.apply(null,arguments);return e>this?this:e});_t("Z",":"),_t("ZZ",""),j("Z",Gr),j("ZZ",Gr),q(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(e)});var wi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ei=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Si=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;$t.fn=Ot.prototype;var xi=Gt(1,"add"),Ti=Gt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Ni=Y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});_(0,["gg",2],0,function(){return this.weekYear()%100}),_(0,["GG",2],0,function(){return this.isoWeekYear()%100}),kn("gggg","weekYear"),kn("ggggg","weekYear"),kn("GGGG","isoWeekYear"),kn("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),j("G",Qr),j("g",Qr),j("GG",Xr,Rr),j("gg",Xr,Rr),j("GGGG",$r,zr),j("gggg",$r,zr),j("GGGGG",Jr,Wr),j("ggggg",Jr,Wr),R(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=v(e)}),R(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),_("Q",0,0,"quarter"),T("quarter","Q"),j("Q",qr),q("Q",function(e,t){t[ri]=3*(v(e)-1)}),_("D",["DD",2],"Do","date"),T("date","D"),j("D",Xr),j("DD",Xr,Rr),j("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),q(["D","DD"],ii),q("Do",function(e,t){t[ii]=v(e.match(Xr)[0],10)});var Ci=k("Date",!0);_("d",0,"do","day"),_("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),_("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),_("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),_("e",0,0,"weekday"),_("E",0,0,"isoWeekday"),T("day","d"),T("weekday","e"),T("isoWeekday","E"),j("d",Xr),j("e",Xr),j("E",Xr),j("dd",Zr),j("ddd",Zr),j("dddd",Zr),R(["dd","ddd","dddd"],function(e,t,n){var r=n._locale.weekdaysParse(e);null!=r?t.d=r:f(n).invalidWeekday=e}),R(["d","e","E"],function(e,t,n,r){t[r]=v(e)});var ki="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Li="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ai="Su_Mo_Tu_We_Th_Fr_Sa".split("_");_("H",["HH",2],0,"hour"),_("h",["hh",2],0,function(){return this.hours()%12||12}),Un("a",!0),Un("A",!1),T("hour","h"),j("a",zn),j("A",zn),j("H",Xr),j("h",Xr),j("HH",Xr,Rr),j("hh",Xr,Rr),q(["H","HH"],si),q(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),q(["h","hh"],function(e,t,n){t[si]=v(e),f(n).bigHour=!0});var Oi=/[ap]\.?m?\.?/i,Mi=k("Hours",!0);_("m",["mm",2],0,"minute"),T("minute","m"),j("m",Xr),j("mm",Xr,Rr),q(["m","mm"],oi);var _i=k("Minutes",!1);_("s",["ss",2],0,"second"),T("second","s"),j("s",Xr),j("ss",Xr,Rr),q(["s","ss"],ui);var Di=k("Seconds",!1);_("S",0,0,function(){return~~(this.millisecond()/100)}),_(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Vn("SSS"),Vn("SSSS"),T("millisecond","ms"),j("S",Vr,qr),j("SS",Vr,Rr),j("SSS",Vr,Ur),j("SSSS",Kr),q(["S","SS","SSS","SSSS"],function(e,t){t[ai]=v(1e3*("0."+e))});var Pi=k("Milliseconds",!1);_("z",0,0,"zoneAbbr"),_("zz",0,0,"zoneName");var Hi=p.prototype;Hi.add=xi,Hi.calendar=Zt,Hi.clone=en,Hi.diff=un,Hi.endOf=bn,Hi.format=cn,Hi.from=hn,Hi.fromNow=pn,Hi.to=dn,Hi.toNow=vn,Hi.get=O,Hi.invalidAt=Cn,Hi.isAfter=tn,Hi.isBefore=nn,Hi.isBetween=rn,Hi.isSame=sn,Hi.isValid=Tn,Hi.lang=Ni,Hi.locale=mn,Hi.localeData=gn,Hi.max=bi,Hi.min=yi,Hi.parsingFlags=Nn,Hi.set=O,Hi.startOf=yn,Hi.subtract=Ti,Hi.toArray=xn,Hi.toDate=Sn,Hi.toISOString=ln,Hi.toJSON=ln,Hi.toString=fn,Hi.unix=En,Hi.valueOf=wn,Hi.year=mi,Hi.isLeapYear=ot,Hi.weekYear=An,Hi.isoWeekYear=On,Hi.quarter=Hi.quarters=Dn,Hi.month=J,Hi.daysInMonth=K,Hi.week=Hi.weeks=ct,Hi.isoWeek=Hi.isoWeeks=ht,Hi.weeksInYear=_n,Hi.isoWeeksInYear=Mn,Hi.date=Ci,Hi.day=Hi.days=In,Hi.weekday=qn,Hi.isoWeekday=Rn,Hi.dayOfYear=dt,Hi.hour=Hi.hours=Mi,Hi.minute=Hi.minutes=_i,Hi.second=Hi.seconds=Di,Hi.millisecond=Hi.milliseconds=Pi,Hi.utcOffset=Bt,Hi.utc=Ft,Hi.local=It,Hi.parseZone=qt,Hi.hasAlignedHourOffset=Rt,Hi.isDST=Ut,Hi.isDSTShifted=zt,Hi.isLocal=Wt,Hi.isUtcOffset=Xt,Hi.isUtc=Vt,Hi.isUTC=Vt,Hi.zoneAbbr=$n,Hi.zoneName=Jn,Hi.dates=Y("dates accessor is deprecated. Use date instead.",Ci),Hi.months=Y("months accessor is deprecated. Use month instead",J),Hi.years=Y("years accessor is deprecated. Use year instead",mi),Hi.zone=Y("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",jt);var Bi=Hi,ji={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Fi={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Ii="Invalid date",qi="%d",Ri=/\d{1,2}/,Ui={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},zi=g.prototype;zi._calendar=ji,zi.calendar=Gn,zi._longDateFormat=Fi,zi.longDateFormat=Yn,zi._invalidDate=Ii,zi.invalidDate=Zn,zi._ordinal=qi,zi.ordinal=er,zi._ordinalParse=Ri,zi.preparse=tr,zi.postformat=tr,zi._relativeTime=Ui,zi.relativeTime=nr,zi.pastFuture=rr,zi.set=ir,zi.months=W,zi._months=fi,zi.monthsShort=X,zi._monthsShort=li,zi.monthsParse=V,zi.week=at,zi._week=gi,zi.firstDayOfYear=lt,zi.firstDayOfWeek=ft,zi.weekdays=Hn,zi._weekdays=ki,zi.weekdaysMin=jn,zi._weekdaysMin=Ai,zi.weekdaysShort=Bn,zi._weekdaysShort=Li,zi.weekdaysParse=Fn,zi.isPM=Wn,zi._meridiemParse=Oi,zi.meridiem=Xn,E("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===v(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=Y("moment.lang is deprecated. Use moment.locale instead.",E),e.langData=Y("moment.langData is deprecated. Use moment.localeData instead.",x);var Wi=Math.abs,Xi=Er("ms"),Vi=Er("s"),$i=Er("m"),Ji=Er("h"),Ki=Er("d"),Qi=Er("w"),Gi=Er("M"),Yi=Er("y"),Zi=xr("milliseconds"),es=xr("seconds"),ts=xr("minutes"),ns=xr("hours"),rs=xr("days"),is=xr("months"),ss=xr("years"),os=Math.round,us={s:45,m:45,h:22,d:26,M:11},as=Math.abs,fs=Ot.prototype;fs.abs=hr,fs.add=dr,fs.subtract=vr,fs.as=br,fs.asMilliseconds=Xi,fs.asSeconds=Vi,fs.asMinutes=$i,fs.asHours=Ji,fs.asDays=Ki,fs.asWeeks=Qi,fs.asMonths=Gi,fs.asYears=Yi,fs.valueOf=wr,fs._bubble=mr,fs.get=Sr,fs.milliseconds=Zi,fs.seconds=es,fs.minutes=ts,fs.hours=ns,fs.days=rs,fs.weeks=Tr,fs.months=is,fs.years=ss,fs.humanize=Lr,fs.toISOString=Ar,fs.toString=Ar,fs.toJSON=Ar,fs.locale=mn,fs.localeData=gn,fs.toIsoString=Y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ar),fs.lang=Ni,_("X",0,0,"unix"),_("x",0,0,"valueOf"),j("x",Qr),j("X",Yr),q("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),q("x",function(e,t,n){n._d=new Date(v(e))}),e.version="2.10.3",t(Ct),e.fn=Bi,e.min=Lt,e.max=At,e.utc=u,e.unix=Kn,e.months=ur,e.isDate=r,e.locale=E,e.invalid=c,e.duration=$t,e.isMoment=d,e.weekdays=fr,e.parseZone=Qn,e.localeData=x,e.isDuration=Mt,e.monthsShort=ar,e.weekdaysMin=cr,e.defineLocale=S,e.weekdaysShort=lr,e.normalizeUnits=N,e.relativeTimeThreshold=kr;var ls=e;return ls}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_af",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_de",["moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_es",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t="Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.".split("_"),n="Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic".split("_"),r=e.defineLocale("es",{months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},weekdays:"Domingo_Lunes_Martes_Miércoles_Jueves_Viernes_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mié._Jue._Vie._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_fr",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(e===1?"er":"")},week:{dow:1,doy:4}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_he",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY LT",LLLL:"dddd, D [ב]MMMM YYYY LT",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return e===2?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return e===2?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return e===2?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return e===2?"שנתיים":e%10===0&&e!==10?e+" שנה":e+" שנים"}}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_hu",["moment"],t):t(e.moment)}(this,function(e){"use strict";function n(e,t,n,r){var i=e,s;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},meridiemParse:/de|du/i,isPM:function(e){return e.charAt(1).toLowerCase()==="u"},meridiem:function(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_id",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){e===12&&(e=0);if(t==="pagi")return e;if(t==="siang")return e>=11?e:e+12;if(t==="sore"||t==="malam")return e+12},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_it",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_ja",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("ja",{months:"1_2_3_4_5_6_7_8_9_10_11_12".split("_"),monthsShort:"1_2_3_4_5_6_7_8_9_10_11_12".split("_"),weekdays:"______".split("_"),weekdaysShort:"______".split("_"),weekdaysMin:"______".split("_"),longDateFormat:{LT:"Ahm",LTS:"LTs",L:"YYYY/MM/DD",LL:"YYYYMD",LLL:"YYYYMDLT",LLLL:"YYYYMDLT dddd"},meridiemParse:/|/i,isPM:function(e){return e===""},meridiem:function(e,t,n){return e<12?"":""},calendar:{sameDay:"[] LT",nextDay:"[] LT",nextWeek:"[]dddd LT",lastDay:"[] LT",lastWeek:"[]dddd LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s",s:"",m:"1",mm:"%d",h:"1",hh:"%d",d:"1",dd:"%d",M:"1",MM:"%d",y:"1",yy:"%d"}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_nb",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tirs_ons_tors_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"H.mm",LTS:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_nl",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_pl",["moment"],t):t(e.moment)}(this,function(e){"use strict";function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function i(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),s=e.defineLocale("pl",{months:function(e,r){return r===""?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:i,y:"rok",yy:i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_pt-br",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] LT",LLLL:"dddd, D [de] MMMM [de] YYYY [às] LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"});return t}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_ru",["moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return r==="m"?n?"минута":"минуту":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function s(e,t){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},r=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(t)?"accusative":"nominative";return n[r][e.day()]}var o=e.defineLocale("ru",{months:r,monthsShort:i,weekdays:s,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(e){if(e.week()===this.week())return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}});return o}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_uk",["moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return r==="m"?n?"хвилина":"хвилину":r==="h"?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},r=/D[oD]? *MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_пятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_пятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_пятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]}function s(e){return function(){return e+"о"+(this.hours()===11?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:r,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., LT",LLLL:"dddd, D MMMM YYYY р., LT"},calendar:{sameDay:s("[Сьогодні "),nextDay:s("[Завтра "),lastDay:s("[Вчора "),nextWeek:s("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return s("[Минулої] dddd [").call(this);case 1:case 2:case 4:return s("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return o}),function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(require("../moment")):typeof define=="function"&&define.amd?define("moment_zh",["moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("zh-cn",{months:"___________".split("_"),monthsShort:"1_2_3_4_5_6_7_8_9_10_11_12".split("_"),weekdays:"______".split("_"),weekdaysShort:"______".split("_"),weekdaysMin:"______".split("_"),longDateFormat:{LT:"Ahmm",LTS:"Ahms",L:"YYYY-MM-DD",LL:"YYYYMMMD",LLL:"YYYYMMMDLT",LLLL:"YYYYMMMDddddLT",l:"YYYY-MM-DD",ll:"YYYYMMMD",lll:"YYYYMMMDLT",llll:"YYYYMMMDddddLT"},meridiemParse:/|||||/,meridiemHour:function(e,t){return e===12&&(e=0),t===""||t===""||t===""?e:t===""||t===""?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=e*100+t;return r<600?"":r<900?"":r<1130?"":r<1230?"":r<1800?"":""},calendar:{sameDay:function(){return this.minutes()===0?"[]Ah[]":"[]LT"},nextDay:function(){return this.minutes()===0?"[]Ah[]":"[]LT"},lastDay:function(){return this.minutes()===0?"[]Ah[]":"[]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()-t.unix()>=604800?"[]":"[]",this.minutes()===0?n+"dddAh":n+"dddAhmm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()<t.unix()?"[]":"[]",this.minutes()===0?n+"dddAh":n+"dddAhmm"},sameElse:"LL"},ordinalParse:/\d{1,2}(||)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"";case"M":return e+"";case"w":case"W":return e+"";default:return e}},relativeTime:{future:"%s",past:"%s",s:"",m:"1 ",mm:"%d ",h:"1 ",hh:"%d ",d:"1 ",dd:"%d ",M:"1 ",MM:"%d ",y:"1 ",yy:"%d "},week:{dow:1,doy:4}});return t}),function(e,t){define("moment_with_locales",["moment","moment_af","moment_de","moment_es","moment_fr","moment_he","moment_hu","moment_id","moment_it","moment_ja","moment_nb","moment_nl","moment_pl","moment_pt-br","moment_ru","moment_uk","moment_zh"],function(e){return e})}(this),function(e,t){typeof define=="function"&&define.amd?define("strophe-sha1",[],function(){return t()}):e.SHA1=t()}(this,function(){function e(e,r){e[r>>5]|=128<<24-r%32,e[(r+64>>9<<4)+15]=r;var o=new Array(80),u=1732584193,a=-271733879,f=-1732584194,l=271733878,c=-1009589776,h,p,d,v,m,g,y,b;for(h=0;h<e.length;h+=16){v=u,m=a,g=f,y=l,b=c;for(p=0;p<80;p++)p<16?o[p]=e[h+p]:o[p]=s(o[p-3]^o[p-8]^o[p-14]^o[p-16],1),d=i(i(s(u,5),t(p,a,f,l)),i(i(c,o[p]),n(p))),c=l,l=f,f=s(a,30),a=u,u=d;u=i(u,v),a=i(a,m),f=i(f,g),l=i(l,y),c=i(c,b)}return[u,a,f,l,c]}function t(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function n(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function r(t,n){var r=o(t);r.length>16&&(r=e(r,t.length*8));var i=new Array(16),s=new Array(16);for(var u=0;u<16;u++)i[u]=r[u]^909522486,s[u]=r[u]^1549556828;var a=e(i.concat(o(n)),512+n.length*8);return e(s.concat(a),672)}function i(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function s(e,t){return e<<t|e>>>32-t}function o(e){var t=[],n=255;for(var r=0;r<e.length*8;r+=8)t[r>>5]|=(e.charCodeAt(r/8)&n)<<24-r%32;return t}function u(e){var t="",n=255;for(var r=0;r<e.length*32;r+=8)t+=String.fromCharCode(e[r>>5]>>>24-r%32&n);return t}function a(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="",r,i;for(var s=0;s<e.length*4;s+=3){r=(e[s>>2]>>8*(3-s%4)&255)<<16|(e[s+1>>2]>>8*(3-(s+1)%4)&255)<<8|e[s+2>>2]>>8*(3-(s+2)%4)&255;for(i=0;i<4;i++)s*8+i*6>e.length*32?n+="=":n+=t.charAt(r>>6*(3-i)&63)}return n}return{b64_hmac_sha1:function(e,t){return a(r(e,t))},b64_sha1:function(t){return a(e(o(t),t.length*8))},binb2str:u,core_hmac_sha1:r,str_hmac_sha1:function(e,t){return u(r(e,t))},str_sha1:function(t){return u(e(o(t),t.length*8))}}}),function(e,t){typeof define=="function"&&define.amd?define("strophe-base64",[],function(){return t()}):e.Base64=t()}(this,function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t={encode:function(t){var n="",r,i,s,o,u,a,f,l=0;do r=t.charCodeAt(l++),i=t.charCodeAt(l++),s=t.charCodeAt(l++),o=r>>2,u=(r&3)<<4|i>>4,a=(i&15)<<2|s>>6,f=s&63,isNaN(i)?(u=(r&3)<<4,a=f=64):isNaN(s)&&(f=64),n=n+e.charAt(o)+e.charAt(u)+e.charAt(a)+e.charAt(f);while(l<t.length);return n},decode:function(t){var n="",r,i,s,o,u,a,f,l=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do o=e.indexOf(t.charAt(l++)),u=e.indexOf(t.charAt(l++)),a=e.indexOf(t.charAt(l++)),f=e.indexOf(t.charAt(l++)),r=o<<2|u>>4,i=(u&15)<<4|a>>2,s=(a&3)<<6|f,n+=String.fromCharCode(r),a!=64&&(n+=String.fromCharCode(i)),f!=64&&(n+=String.fromCharCode(s));while(l<t.length);return n}};return t}),function(e,t){typeof define=="function"&&define.amd?define("strophe-md5",[],function(){return t()}):e.MD5=t()}(this,function(e){var t=function(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535},n=function(e,t){return e<<t|e>>>32-t},r=function(e){var t=[];for(var n=0;n<e.length*8;n+=8)t[n>>5]|=(e.charCodeAt(n/8)&255)<<n%32;return t},i=function(e){var t="";for(var n=0;n<e.length*32;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t},s=function(e){var t="0123456789abcdef",n="";for(var r=0;r<e.length*4;r++)n+=t.charAt(e[r>>2]>>r%4*8+4&15)+t.charAt(e[r>>2]>>r%4*8&15);return n},o=function(e,r,i,s,o,u){return t(n(t(t(r,e),t(s,u)),o),i)},u=function(e,t,n,r,i,s,u){return o(t&n|~t&r,e,t,i,s,u)},a=function(e,t,n,r,i,s,u){return o(t&r|n&~r,e,t,i,s,u)},f=function(e,t,n,r,i,s,u){return o(t^n^r,e,t,i,s,u)},l=function(e,t,n,r,i,s,u){return o(n^(t|~r),e,t,i,s,u)},c=function(e,n){e[n>>5]|=128<<n%32,e[(n+64>>>9<<4)+14]=n;var r=1732584193,i=-271733879,s=-1732584194,o=271733878,c,h,p,d;for(var v=0;v<e.length;v+=16)c=r,h=i,p=s,d=o,r=u(r,i,s,o,e[v+0],7,-680876936),o=u(o,r,i,s,e[v+1],12,-389564586),s=u(s,o,r,i,e[v+2],17,606105819),i=u(i,s,o,r,e[v+3],22,-1044525330),r=u(r,i,s,o,e[v+4],7,-176418897),o=u(o,r,i,s,e[v+5],12,1200080426),s=u(s,o,r,i,e[v+6],17,-1473231341),i=u(i,s,o,r,e[v+7],22,-45705983),r=u(r,i,s,o,e[v+8],7,1770035416),o=u(o,r,i,s,e[v+9],12,-1958414417),s=u(s,o,r,i,e[v+10],17,-42063),i=u(i,s,o,r,e[v+11],22,-1990404162),r=u(r,i,s,o,e[v+12],7,1804603682),o=u(o,r,i,s,e[v+13],12,-40341101),s=u(s,o,r,i,e[v+14],17,-1502002290),i=u(i,s,o,r,e[v+15],22,1236535329),r=a(r,i,s,o,e[v+1],5,-165796510),o=a(o,r,i,s,e[v+6],9,-1069501632),s=a(s,o,r,i,e[v+11],14,643717713),i=a(i,s,o,r,e[v+0],20,-373897302),r=a(r,i,s,o,e[v+5],5,-701558691),o=a(o,r,i,s,e[v+10],9,38016083),s=a(s,o,r,i,e[v+15],14,-660478335),i=a(i,s,o,r,e[v+4],20,-405537848),r=a(r,i,s,o,e[v+9],5,568446438),o=a(o,r,i,s,e[v+14],9,-1019803690),s=a(s,o,r,i,e[v+3],14,-187363961),i=a(i,s,o,r,e[v+8],20,1163531501),r=a(r,i,s,o,e[v+13],5,-1444681467),o=a(o,r,i,s,e[v+2],9,-51403784),s=a(s,o,r,i,e[v+7],14,1735328473),i=a(i,s,o,r,e[v+12],20,-1926607734),r=f(r,i,s,o,e[v+5],4,-378558),o=f(o,r,i,s,e[v+8],11,-2022574463),s=f(s,o,r,i,e[v+11],16,1839030562),i=f(i,s,o,r,e[v+14],23,-35309556),r=f(r,i,s,o,e[v+1],4,-1530992060),o=f(o,r,i,s,e[v+4],11,1272893353),s=f(s,o,r,i,e[v+7],16,-155497632),i=f(i,s,o,r,e[v+10],23,-1094730640),r=f(r,i,s,o,e[v+13],4,681279174),o=f(o,r,i,s,e[v+0],11,-358537222),s=f(s,o,r,i,e[v+3],16,-722521979),i=f(i,s,o,r,e[v+6],23,76029189),r=f(r,i,s,o,e[v+9],4,-640364487),o=f(o,r,i,s,e[v+12],11,-421815835),s=f(s,o,r,i,e[v+15],16,530742520),i=f(i,s,o,r,e[v+2],23,-995338651),r=l(r,i,s,o,e[v+0],6,-198630844),o=l(o,r,i,s,e[v+7],10,1126891415),s=l(s,o,r,i,e[v+14],15,-1416354905),i=l(i,s,o,r,e[v+5],21,-57434055),r=l(r,i,s,o,e[v+12],6,1700485571),o=l(o,r,i,s,e[v+3],10,-1894986606),s=l(s,o,r,i,e[v+10],15,-1051523),i=l(i,s,o,r,e[v+1],21,-2054922799),r=l(r,i,s,o,e[v+8],6,1873313359),o=l(o,r,i,s,e[v+15],10,-30611744),s=l(s,o,r,i,e[v+6],15,-1560198380),i=l(i,s,o,r,e[v+13],21,1309151649),r=l(r,i,s,o,e[v+4],6,-145523070),o=l(o,r,i,s,e[v+11],10,-1120210379),s=l(s,o,r,i,e[v+2],15,718787259),i=l(i,s,o,r,e[v+9],21,-343485551),r=t(r,c),i=t(i,h),s=t(s,p),o=t(o,d);return[r,i,s,o]},h={hexdigest:function(e){return s(c(r(e),e.length*8))},hash:function(e){return i(c(r(e),e.length*8))}};return h}),Function.prototype.bind||(Function.prototype.bind=function(e){var t=this,n=Array.prototype.slice,r=Array.prototype.concat,i=n.call(arguments,1);return function(){return t.apply(e?e:this,r.call(i,n.call(arguments,0)))}}),Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length,n=Number(arguments[1])||0;n=n<0?Math.ceil(n):Math.floor(n),n<0&&(n+=t);for(;n<t;n++)if(n in this&&this[n]===e)return n;return-1}),define("strophe-polyfill",function(){}),function(e,t){if(typeof define=="function"&&define.amd)define("strophe-core",["strophe-sha1","strophe-base64","strophe-md5","strophe-polyfill"],function(){return t.apply(this,arguments)});else{var n=t(e.SHA1,e.Base64,e.MD5);window.Strophe=n.Strophe,window.$build=n.$build,window.$iq=n.$iq,window.$msg=n.$msg,window.$pres=n.$pres,window.SHA1=n.SHA1,window.Base64=n.Base64,window.MD5=n.MD5,window.b64_hmac_sha1=n.SHA1.b64_hmac_sha1,window.b64_sha1=n.SHA1.b64_sha1,window.str_hmac_sha1=n.SHA1.str_hmac_sha1,window.str_sha1=n.SHA1.str_sha1}}(this,function(e,t,n){function i(e,t){return new r.Builder(e,t)}function s(e){return new r.Builder("message",e)}function o(e){return new r.Builder("iq",e)}function u(e){return new r.Builder("presence",e)}var r;return r={VERSION:"@VERSION@",NS:{HTTPBIND:"http://jabber.org/protocol/httpbind",BOSH:"urn:xmpp:xbosh",CLIENT:"jabber:client",AUTH:"jabber:iq:auth",ROSTER:"jabber:iq:roster",PROFILE:"jabber:iq:profile",DISCO_INFO:"http://jabber.org/protocol/disco#info",DISCO_ITEMS:"http://jabber.org/protocol/disco#items",MUC:"http://jabber.org/protocol/muc",SASL:"urn:ietf:params:xml:ns:xmpp-sasl",STREAM:"http://etherx.jabber.org/streams",FRAMING:"urn:ietf:params:xml:ns:xmpp-framing",BIND:"urn:ietf:params:xml:ns:xmpp-bind",SESSION:"urn:ietf:params:xml:ns:xmpp-session",VERSION:"jabber:iq:version",STANZAS:"urn:ietf:params:xml:ns:xmpp-stanzas",XHTML_IM:"http://jabber.org/protocol/xhtml-im",XHTML:"http://www.w3.org/1999/xhtml"},XHTML:{tags:["a","blockquote","br","cite","em","img","li","ol","p","span","strong","ul","body"],attributes:{a:["href"],blockquote:["style"],br:[],cite:["style"],em:[],img:["src","alt","style","height","width"],li:["style"],ol:["style"],p:["style"],span:["style"],strong:[],ul:["style"],body:[]},css:["background-color","color","font-family","font-size","font-style","font-weight","margin-left","margin-right","text-align","text-decoration"],validTag:function(e){for(var t=0;t<r.XHTML.tags.length;t++)if(e==r.XHTML.tags[t])return!0;return!1},validAttribute:function(e,t){if(typeof r.XHTML.attributes[e]!="undefined"&&r.XHTML.attributes[e].length>0)for(var n=0;n<r.XHTML.attributes[e].length;n++)if(t==r.XHTML.attributes[e][n])return!0;return!1},validCSS:function(e){for(var t=0;t<r.XHTML.css.length;t++)if(e==r.XHTML.css[t])return!0;return!1}},Status:{ERROR:0,CONNECTING:1,CONNFAIL:2,AUTHENTICATING:3,AUTHFAIL:4,CONNECTED:5,DISCONNECTED:6,DISCONNECTING:7,ATTACHED:8,REDIRECT:9},LogLevel:{DEBUG:0,INFO:1,WARN:2,ERROR:3,FATAL:4},ElementType:{NORMAL:1,TEXT:3,CDATA:4,FRAGMENT:11},TIMEOUT:1.1,SECONDARY_TIMEOUT:.1,addNamespace:function(e,t){r.NS[e]=t},forEachChild:function(e,t,n){var i,s;for(i=0;i<e.childNodes.length;i++)s=e.childNodes[i],s.nodeType==r.ElementType.NORMAL&&(!t||this.isTagEqual(s,t))&&n(s)},isTagEqual:function(e,t){return e.tagName==t},_xmlGenerator:null,_makeGenerator:function(){var e;return document.implementation.createDocument===undefined||document.implementation.createDocument&&document.documentMode&&document.documentMode<10?(e=this._getIEXmlDom(),e.appendChild(e.createElement("strophe"))):e=document.implementation.createDocument("jabber:client","strophe",null),e},xmlGenerator:function(){return r._xmlGenerator||(r._xmlGenerator=r._makeGenerator()),r._xmlGenerator},_getIEXmlDom:function(){var e=null,t=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.5.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"];for(var n=0;n<t.length;n++){if(e!==null)break;try{e=new ActiveXObject(t[n])}catch(r){e=null}}return e},xmlElement:function(e){if(!e)return null;var t=r.xmlGenerator().createElement(e),n,i,s;for(n=1;n<arguments.length;n++){var o=arguments[n];if(!o)continue;if(typeof o=="string"||typeof o=="number")t.appendChild(r.xmlTextNode(o));else if(typeof o=="object"&&typeof o.sort=="function")for(i=0;i<o.length;i++){var u=o[i];typeof u=="object"&&typeof u.sort=="function"&&u[1]!==undefined&&t.setAttribute(u[0],u[1])}else if(typeof o=="object")for(s in o)o.hasOwnProperty(s)&&o[s]!==undefined&&t.setAttribute(s,o[s])}return t},xmlescape:function(e){return e=e.replace(/\&/g,"&amp;"),e=e.replace(/</g,"&lt;"),e=e.replace(/>/g,"&gt;"),e=e.replace(/'/g,"&apos;"),e=e.replace(/"/g,"&quot;"),e},xmlunescape:function(e){return e=e.replace(/\&amp;/g,"&"),e=e.replace(/&lt;/g,"<"),e=e.replace(/&gt;/g,">"),e=e.replace(/&apos;/g,"'"),e=e.replace(/&quot;/g,'"'),e},xmlTextNode:function(e){return r.xmlGenerator().createTextNode(e)},xmlHtmlNode:function(e){var t;if(window.DOMParser){var n=new DOMParser;t=n.parseFromString(e,"text/xml")}else t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e);return t},getText:function(e){if(!e)return null;var t="";e.childNodes.length===0&&e.nodeType==r.ElementType.TEXT&&(t+=e.nodeValue);for(var n=0;n<e.childNodes.length;n++)e.childNodes[n].nodeType==r.ElementType.TEXT&&(t+=e.childNodes[n].nodeValue);return r.xmlescape(t)},copyElement:function(e){var t,n;if(e.nodeType==r.ElementType.NORMAL){n=r.xmlElement(e.tagName);for(t=0;t<e.attributes.length;t++)n.setAttribute(e.attributes[t].nodeName,e.attributes[t].value);for(t=0;t<e.childNodes.length;t++)n.appendChild(r.copyElement(e.childNodes[t]))}else e.nodeType==r.ElementType.TEXT&&(n=r.xmlGenerator().createTextNode(e.nodeValue));return n},createHtml:function(e){var t,n,i,s,o,u,a,f,l,c,h;if(e.nodeType==r.ElementType.NORMAL){s=e.nodeName.toLowerCase();if(r.XHTML.validTag(s))try{n=r.xmlElement(s);for(t=0;t<r.XHTML.attributes[s].length;t++){o=r.XHTML.attributes[s][t],u=e.getAttribute(o);if(typeof u=="undefined"||u===null||u===""||u===!1||u===0)continue;o=="style"&&typeof u=="object"&&typeof u.cssText!="undefined"&&(u=u.cssText);if(o=="style"){a=[],f=u.split(";");for(i=0;i<f.length;i++)l=f[i].split(":"),c=l[0].replace(/^\s*/,"").replace(/\s*$/,"").toLowerCase(),r.XHTML.validCSS(c)&&(h=l[1].replace(/^\s*/,"").replace(/\s*$/,""),a.push(c+": "+h));a.length>0&&(u=a.join("; "),n.setAttribute(o,u))}else n.setAttribute(o,u)}for(t=0;t<e.childNodes.length;t++)n.appendChild(r.createHtml(e.childNodes[t]))}catch(p){n=r.xmlTextNode("")}else{n=r.xmlGenerator().createDocumentFragment();for(t=0;t<e.childNodes.length;t++)n.appendChild(r.createHtml(e.childNodes[t]))}}else if(e.nodeType==r.ElementType.FRAGMENT){n=r.xmlGenerator().createDocumentFragment();for(t=0;t<e.childNodes.length;t++)n.appendChild(r.createHtml(e.childNodes[t]))}else e.nodeType==r.ElementType.TEXT&&(n=r.xmlTextNode(e.nodeValue));return n},escapeNode:function(e){return typeof e!="string"?e:e.replace(/^\s+|\s+$/g,"").replace(/\\/g,"\\5c").replace(/ /g,"\\20").replace(/\"/g,"\\22").replace(/\&/g,"\\26").replace(/\'/g,"\\27").replace(/\//g,"\\2f").replace(/:/g,"\\3a").replace(/</g,"\\3c").replace(/>/g,"\\3e").replace(/@/g,"\\40")},unescapeNode:function(e){return typeof e!="string"?e:e.replace(/\\20/g," ").replace(/\\22/g,'"').replace(/\\26/g,"&").replace(/\\27/g,"'").replace(/\\2f/g,"/").replace(/\\3a/g,":").replace(/\\3c/g,"<").replace(/\\3e/g,">").replace(/\\40/g,"@").replace(/\\5c/g,"\\")},getNodeFromJid:function(e){return e.indexOf("@")<0?null:e.split("@")[0]},getDomainFromJid:function(e){var t=r.getBareJidFromJid(e);if(t.indexOf("@")<0)return t;var n=t.split("@");return n.splice(0,1),n.join("@")},getResourceFromJid:function(e){var t=e.split("/");return t.length<2?null:(t.splice(0,1),t.join("/"))},getBareJidFromJid:function(e){return e?e.split("/")[0]:null},log:function(e,t){return},debug:function(e){this.log(this.LogLevel.DEBUG,e)},info:function(e){this.log(this.LogLevel.INFO,e)},warn:function(e){this.log(this.LogLevel.WARN,e)},error:function(e){this.log(this.LogLevel.ERROR,e)},fatal:function(e){this.log(this.LogLevel.FATAL,e)},serialize:function(e){var t;if(!e)return null;typeof e.tree=="function"&&(e=e.tree());var n=e.nodeName,i,s;e.getAttribute("_realname")&&(n=e.getAttribute("_realname")),t="<"+n;for(i=0;i<e.attributes.length;i++)e.attributes[i].nodeName!="_realname"&&(t+=" "+e.attributes[i].nodeName+"='"+e.attributes[i].value.replace(/&/g,"&amp;").replace(/\'/g,"&apos;").replace(/>/g,"&gt;").replace(/</g,"&lt;")+"'");if(e.childNodes.length>0){t+=">";for(i=0;i<e.childNodes.length;i++){s=e.childNodes[i];switch(s.nodeType){case r.ElementType.NORMAL:t+=r.serialize(s);break;case r.ElementType.TEXT:t+=r.xmlescape(s.nodeValue);break;case r.ElementType.CDATA:t+="<![CDATA["+s.nodeValue+"]]>"}}t+="</"+n+">"}else t+="/>";return t},_requestId:0,_connectionPlugins:{},addConnectionPlugin:function(e,t){r._connectionPlugins[e]=t}},r.Builder=function(e,t){if(e=="presence"||e=="message"||e=="iq")t&&!t.xmlns?t.xmlns=r.NS.CLIENT:t||(t={xmlns:r.NS.CLIENT});this.nodeTree=r.xmlElement(e,t),this.node=this.nodeTree},r.Builder.prototype={tree:function(){return this.nodeTree},toString:function(){return r.serialize(this.nodeTree)},up:function(){return this.node=this.node.parentNode,this},attrs:function(e){for(var t in e)e.hasOwnProperty(t)&&(e[t]===undefined?this.node.removeAttribute(t):this.node.setAttribute(t,e[t]));return this},c:function(e,t,n){var i=r.xmlElement(e,t,n);return this.node.appendChild(i),typeof n!="string"&&(this.node=i),this},cnode:function(e){var t,n=r.xmlGenerator();try{t=n.importNode!==undefined}catch(i){t=!1}var s=t?n.importNode(e,!0):r.copyElement(e);return this.node.appendChild(s),this.node=s,this},t:function(e){var t=r.xmlTextNode(e);return this.node.appendChild(t),this},h:function(e){var t=document.createElement("body");t.innerHTML=e;var n=r.createHtml(t);while(n.childNodes.length>0)this.node.appendChild(n.childNodes[0]);return this}},r.Handler=function(e,t,n,i,s,o,u){this.handler=e,this.ns=t,this.name=n,this.type=i,this.id=s,this.options=u||{matchBare:!1},this.options.matchBare||(this.options.matchBare=!1),this.options.matchBare?this.from=o?r.getBareJidFromJid(o):null:this.from=o,this.user=!0},r.Handler.prototype={isMatch:function(e){var t,n=null;this.options.matchBare?n=r.getBareJidFromJid(e.getAttribute("from")):n=e.getAttribute("from"),t=!1;if(!this.ns)t=!0;else{var i=this;r.forEachChild(e,null,function(e){e.getAttribute("xmlns")==i.ns&&(t=!0)}),t=t||e.getAttribute("xmlns")==this.ns}var s=e.getAttribute("type");return!t||!!this.name&&!r.isTagEqual(e,this.name)||!!this.type&&(Array.isArray(this.type)?this.type.indexOf(s)==-1:s!=this.type)||!!this.id&&e.getAttribute("id")!=this.id||!!this.from&&n!=this.from?!1:!0},run:function(e){var t=null;try{t=this.handler(e)}catch(n){throw n.sourceURL?r.fatal("error: "+this.handler+" "+n.sourceURL+":"+n.line+" - "+n.name+": "+n.message):n.fileName?(typeof console!="undefined"&&(console.trace(),console.error(this.handler," - error - ",n,n.message)),r.fatal("error: "+this.handler+" "+n.fileName+":"+n.lineNumber+" - "+n.name+": "+n.message)):r.fatal("error: "+n.message+"\n"+n.stack),n}return t},toString:function(){return"{Handler: "+this.handler+"("+this.name+","+this.id+","+this.ns+")}"}},r.TimedHandler=function(e,t){this.period=e,this.handler=t,this.lastCalled=(new Date).getTime(),this.user=!0},r.TimedHandler.prototype={run:function(){return this.lastCalled=(new Date).getTime(),this.handler()},reset:function(){this.lastCalled=(new Date).getTime()},toString:function(){return"{TimedHandler: "+this.handler+"("+this.period+")}"}},r.Connection=function(e,t){this.service=e,this.options=t||{};var n=this.options.protocol||"";e.indexOf("ws:")===0||e.indexOf("wss:")===0||n.indexOf("ws")===0?this._proto=new r.Websocket(this):this._proto=new r.Bosh(this),this.jid="",this.domain=null,this.features=null,this._sasl_data={},this.do_session=!1,this.do_bind=!1,this.timedHandlers=[],this.handlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this._authentication={},this._idleTimeout=null,this._disconnectTimeout=null,this.authenticated=!1,this.connected=!1,this.disconnecting=!1,this.do_authentication=!0,this.paused=!1,this.restored=!1,this._data=[],this._uniqueId=0,this._sasl_success_handler=null,this._sasl_failure_handler=null,this._sasl_challenge_handler=null,this.maxRetries=5,this._idleTimeout=setTimeout(this._onIdle.bind(this),100);for(var i in r._connectionPlugins)if(r._connectionPlugins.hasOwnProperty(i)){var s=r._connectionPlugins[i],o=function(){};o.prototype=s,this[i]=new o,this[i].init(this)}},r.Connection.prototype={reset:function(){this._proto._reset(),this.do_session=!1,this.do_bind=!1,this.timedHandlers=[],this.handlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this._authentication={},this.authenticated=!1,this.connected=!1,this.disconnecting=!1,this.restored=!1,this._data=[],this._requests=[],this._uniqueId=0},pause:function(){this.paused=!0},resume:function(){this.paused=!1},getUniqueId:function(e){return typeof e=="string"||typeof e=="number"?++this._uniqueId+":"+e:++this._uniqueId+""},connect:function(e,t,n,i,s,o,u){this.jid=e,this.authzid=r.getBareJidFromJid(this.jid),this.authcid=u||r.getNodeFromJid(this.jid),this.pass=t,this.servtype="xmpp",this.connect_callback=n,this.disconnecting=!1,this.connected=!1,this.authenticated=!1,this.restored=!1,this.domain=r.getDomainFromJid(this.jid),this._changeConnectStatus(r.Status.CONNECTING,null),this._proto._connect(i,s,o)},attach:function(e,t,n,i,s,o,u){if(!(this._proto instanceof r.Bosh))throw{name:"StropheSessionError",message:'The "attach" method can only be used with a BOSH connection.'};this._proto._attach(e,t,n,i,s,o,u)},restore:function(e,t,n,r,i){if(!this._sessionCachingSupported())throw{name:"StropheSessionError",message:'The "restore" method can only be used with a BOSH connection.'};this._proto._restore(e,t,n,r,i)},_sessionCachingSupported:function(){if(this._proto instanceof r.Bosh){if(!JSON)return!1;try{window.sessionStorage.setItem("_strophe_","_strophe_"),window.sessionStorage.removeItem("_strophe_")}catch(e){return!1}return!0}return!1},xmlInput:function(e){return},xmlOutput:function(e){return},rawInput:function(e){return},rawOutput:function(e){return},send:function(e){if(e===null)return;if(typeof e.sort=="function")for(var t=0;t<e.length;t++)this._queueData(e[t]);else typeof e.tree=="function"?this._queueData(e.tree()):this._queueData(e);this._proto._send()},flush:function(){clearTimeout(this._idleTimeout),this._onIdle()},sendIQ:function(e,t,n,i){var s=null,o=this;typeof e.tree=="function"&&(e=e.tree());var u=e.getAttribute("id");u||(u=this.getUniqueId("sendIQ"),e.setAttribute("id",u));var a=e.getAttribute("to"),f=this.jid,l=this.addHandler(function(e){s&&o.deleteTimedHandler(s);var i=!1,u=e.getAttribute("from");if(u===a||a===null&&(u===r.getBareJidFromJid(f)||u===r.getDomainFromJid(f)||u===f))i=!0;if(!i)throw{name:"StropheError",message:"Got answer to IQ from wrong jid:"+u+"\nExpected jid: "+a};var l=e.getAttribute("type");if(l=="result")t&&t(e);else{if(l!="error")throw{name:"StropheError",message:"Got bad IQ type of "+l};n&&n(e)}},null,"iq",["error","result"],u);return i&&(s=this.addTimedHandler(i,function(){return o.deleteHandler(l),n&&n(null),!1})),this.send(e),u},_queueData:function(e){if(e===null||!e.tagName||!e.childNodes)throw{name:"StropheError",message:"Cannot queue non-DOMElement."};this._data.push(e)},_sendRestart:function(){this._data.push("restart"),this._proto._sendRestart(),this._idleTimeout=setTimeout(this._onIdle.bind(this),100)},addTimedHandler:function(e,t){var n=new r.TimedHandler(e,t);return this.addTimeds.push(n),n},deleteTimedHandler:function(e){this.removeTimeds.push(e)},addHandler:function(e,t,n,i,s,o,u){var a=new r.Handler(e,t,n,i,s,o,u);return this.addHandlers.push(a),a},deleteHandler:function(e){this.removeHandlers.push(e);var t=this.addHandlers.indexOf(e);t>=0&&this.addHandlers.splice(t,1)},disconnect:function(e){this._changeConnectStatus(r.Status.DISCONNECTING,e),r.info("Disconnect was called because: "+e);if(this.connected){var t=!1;this.disconnecting=!0,this.authenticated&&(t=u({xmlns:r.NS.CLIENT,type:"unavailable"})),this._disconnectTimeout=this._addSysTimedHandler(3e3,this._onDisconnectTimeout.bind(this)),this._proto._disconnect(t)}else r.info("Disconnect was called before Strophe connected to the server"),this._proto._abortAllRequests()},_changeConnectStatus:function(e,t){for(var n in r._connectionPlugins)if(r._connectionPlugins.hasOwnProperty(n)){var i=this[n];if(i.statusChanged)try{i.statusChanged(e,t)}catch(s){r.error(""+n+" plugin caused an exception "+"changing status: "+s)}}if(this.connect_callback)try{this.connect_callback(e,t)}catch(o){r.error("User connection callback caused an exception: "+o)}},_doDisconnect:function(e){typeof this._idleTimeout=="number"&&clearTimeout(this._idleTimeout),this._disconnectTimeout!==null&&(this.deleteTimedHandler(this._disconnectTimeout),this._disconnectTimeout=null),r.info("_doDisconnect was called"),this._proto._doDisconnect(),this.authenticated=!1,this.disconnecting=!1,this.restored=!1,this.handlers=[],this.timedHandlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this._changeConnectStatus(r.Status.DISCONNECTED,e),this.connected=!1},_dataRecv:function(e,t){r.info("_dataRecv called");var n=this._proto._reqToData(e);if(n===null)return;this.xmlInput!==r.Connection.prototype.xmlInput&&(n.nodeName===this._proto.strip&&n.childNodes.length?this.xmlInput(n.childNodes[0]):this.xmlInput(n)),this.rawInput!==r.Connection.prototype.rawInput&&(t?this.rawInput(t):this.rawInput(r.serialize(n)));var i,s;while(this.removeHandlers.length>0)s=this.removeHandlers.pop(),i=this.handlers.indexOf(s),i>=0&&this.handlers.splice(i,1);while(this.addHandlers.length>0)this.handlers.push(this.addHandlers.pop());if(this.disconnecting&&this._proto._emptyQueue()){this._doDisconnect();return}var o=n.getAttribute("type"),u,a;if(o!==null&&o=="terminate"){if(this.disconnecting)return;u=n.getAttribute("condition"),a=n.getElementsByTagName("conflict"),u!==null?(u=="remote-stream-error"&&a.length>0&&(u="conflict"),this._changeConnectStatus(r.Status.CONNFAIL,u)):this._changeConnectStatus(r.Status.CONNFAIL,"unknown"),this._doDisconnect(u);return}var f=this;r.forEachChild(n,null,function(e){var t,n;n=f.handlers,f.handlers=[];for(t=0;t<n.length;t++){var i=n[t];try{i.isMatch(e)&&(f.authenticated||!i.user)?i.run(e)&&f.handlers.push(i):f.handlers.push(i)}catch(s){r.warn("Removing Strophe handlers due to uncaught exception: "+s.message)}}})},mechanisms:{},_connect_cb:function(e,t,n){r.info("_connect_cb was called"),this.connected=!0;var i=this._proto._reqToData(e);if(!i)return;this.xmlInput!==r.Connection.prototype.xmlInput&&(i.nodeName===this._proto.strip&&i.childNodes.length?this.xmlInput(i.childNodes[0]):this.xmlInput(i)),this.rawInput!==r.Connection.prototype.rawInput&&(n?this.rawInput(n):this.rawInput(r.serialize(i)));var s=this._proto._connect_cb(i);if(s===r.Status.CONNFAIL)return;this._authentication.sasl_scram_sha1=!1,this._authentication.sasl_plain=!1,this._authentication.sasl_digest_md5=!1,this._authentication.sasl_anonymous=!1,this._authentication.legacy_auth=!1;var o;i.getElementsByTagNameNS?o=i.getElementsByTagNameNS(r.NS.STREAM,"features").length>0:o=i.getElementsByTagName("stream:features").length>0||i.getElementsByTagName("features").length>0;var u=i.getElementsByTagName("mechanism"),a=[],f,l,c=!1;if(!o){this._proto._no_auth_received(t);return}if(u.length>0)for(f=0;f<u.length;f++)l=r.getText(u[f]),this.mechanisms[l]&&a.push(this.mechanisms[l]);this._authentication.legacy_auth=i.getElementsByTagName("auth").length>0,c=this._authentication.legacy_auth||a.length>0;if(!c){this._proto._no_auth_received(t);return}this.do_authentication!==!1&&this.authenticate(a)},authenticate:function(e){var n;for(n=0;n<e.length-1;++n){var s=n;for(var u=n+1;u<e.length;++u)e[u].prototype.priority>e[s].prototype.priority&&(s=u);if(s!=n){var a=e[n];e[n]=e[s],e[s]=a}}var f=!1;for(n=0;n<e.length;++n){if(!e[n].test(this))continue;this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge_cb.bind(this),null,"challenge",null,null),this._sasl_mechanism=new e[n],this._sasl_mechanism.onStart(this);var l=i("auth",{xmlns:r.NS.SASL,mechanism:this._sasl_mechanism.name});if(this._sasl_mechanism.isClientFirst){var c=this._sasl_mechanism.onChallenge(this,null);l.t(t.encode(c))}this.send(l.tree()),f=!0;break}f||(r.getNodeFromJid(this.jid)===null?(this._changeConnectStatus(r.Status.CONNFAIL,"x-strophe-bad-non-anon-jid"),this.disconnect("x-strophe-bad-non-anon-jid")):(this._changeConnectStatus(r.Status.AUTHENTICATING,null),this._addSysHandler(this._auth1_cb.bind(this),null,null,null,"_auth_1"),this.send(o({type:"get",to:this.domain,id:"_auth_1"}).c("query",{xmlns:r.NS.AUTH}).c("username",{}).t(r.getNodeFromJid(this.jid)).tree())))},_sasl_challenge_cb:function(e){var n=t.decode(r.getText(e)),s=this._sasl_mechanism.onChallenge(this,n),o=i("response",{xmlns:r.NS.SASL});return s!==""&&o.t(t.encode(s)),this.send(o.tree()),!0},_auth1_cb:function(e){var t=o({type:"set",id:"_auth_2"}).c("query",{xmlns:r.NS.AUTH}).c("username",{}).t(r.getNodeFromJid(this.jid)).up().c("password").t(this.pass);return r.getResourceFromJid(this.jid)||(this.jid=r.getBareJidFromJid(this.jid)+"/strophe"),t.up().c("resource",{}).t(r.getResourceFromJid(this.jid)),this._addSysHandler(this._auth2_cb.bind(this),null,null,null,"_auth_2"),this.send(t.tree()),!1},_sasl_success_cb:function(e){if(this._sasl_data["server-signature"]){var n,i=t.decode(r.getText(e)),s=/([a-z]+)=([^,]+)(,|$)/,o=i.match(s);o[1]=="v"&&(n=o[2]);if(n!=this._sasl_data["server-signature"])return this.deleteHandler(this._sasl_failure_handler),this._sasl_failure_handler=null,this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._sasl_data={},this._sasl_failure_cb(null)}r.info("SASL authentication succeeded."),this._sasl_mechanism&&this._sasl_mechanism.onSuccess(),this.deleteHandler(this._sasl_failure_handler),this._sasl_failure_handler=null,this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null);var u=[],a=function(e,t){while(e.length)this.deleteHandler(e.pop());return this._sasl_auth1_cb.bind(this)(t),!1};return u.push(this._addSysHandler(function(e){a.bind(this)(u,e)}.bind(this),null,"stream:features",null,null)),u.push(this._addSysHandler(function(e){a.bind(this)(u,e)}.bind(this),r.NS.STREAM,"features",null,null)),this._sendRestart(),!1},_sasl_auth1_cb:function(e){this.features=e;var t,n;for(t=0;t<e.childNodes.length;t++)n=e.childNodes[t],n.nodeName=="bind"&&(this.do_bind=!0),n.nodeName=="session"&&(this.do_session=!0);if(!this.do_bind)return this._changeConnectStatus(r.Status.AUTHFAIL,null),!1;this._addSysHandler(this._sasl_bind_cb.bind(this),null,null,null,"_bind_auth_2");var i=r.getResourceFromJid(this.jid);return i?this.send(o({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:r.NS.BIND}).c("resource",{}).t(i).tree()):this.send(o({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:r.NS.BIND}).tree()),!1},_sasl_bind_cb:function(e){if(e.getAttribute("type")=="error"){r.info("SASL binding failed.");var t=e.getElementsByTagName("conflict"),n;return t.length>0&&(n="conflict"),this._changeConnectStatus(r.Status.AUTHFAIL,n),!1}var i=e.getElementsByTagName("bind"),s;if(!(i.length>0))return r.info("SASL binding failed."),this._changeConnectStatus(r.Status.AUTHFAIL,null),!1;s=i[0].getElementsByTagName("jid"),s.length>0&&(this.jid=r.getText(s[0]),this.do_session?(this._addSysHandler(this._sasl_session_cb.bind(this),null,null,null,"_session_auth_2"),this.send(o({type:"set",id:"_session_auth_2"}).c("session",{xmlns:r.NS.SESSION}).tree())):(this.authenticated=!0,this._changeConnectStatus(r.Status.CONNECTED,null)))},_sasl_session_cb:function(e){if(e.getAttribute("type")=="result")this.authenticated=!0,this._changeConnectStatus(r.Status.CONNECTED,null);else if(e.getAttribute("type")=="error")return r.info("Session creation failed."),this._changeConnectStatus(r.Status.AUTHFAIL,null),!1;return!1},_sasl_failure_cb:function(e){return this._sasl_success_handler&&(this.deleteHandler(this._sasl_success_handler),this._sasl_success_handler=null),this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._sasl_mechanism&&this._sasl_mechanism.onFailure(),this._changeConnectStatus(r.Status.AUTHFAIL,null),!1},_auth2_cb:function(e){return e.getAttribute("type")=="result"?(this.authenticated=!0,this._changeConnectStatus(r.Status.CONNECTED,null)):e.getAttribute("type")=="error"&&(this._changeConnectStatus(r.Status.AUTHFAIL,null),this.disconnect("authentication failed")),!1},_addSysTimedHandler:function(e,t){var n=new r.TimedHandler(e,t);return n.user=!1,this.addTimeds.push(n),n},_addSysHandler:function(e,t,n,i,s){var o=new r.Handler(e,t,n,i,s);return o.user=!1,this.addHandlers.push(o),o},_onDisconnectTimeout:function(){return r.info("_onDisconnectTimeout was called"),this._proto._onDisconnectTimeout(),this._doDisconnect(),!1},_onIdle:function(){var e,t,n,r;while(this.addTimeds.length>0)this.timedHandlers.push(this.addTimeds.pop());while(this.removeTimeds.length>0)t=this.removeTimeds.pop(),e=this.timedHandlers.indexOf(t),e>=0&&this.timedHandlers.splice(e,1);var i=(new Date).getTime();r=[];for(e=0;e<this.timedHandlers.length;e++){t=this.timedHandlers[e];if(this.authenticated||!t.user)n=t.lastCalled+t.period,n-i<=0?t.run()&&r.push(t):r.push(t)}this.timedHandlers=r,clearTimeout(this._idleTimeout),this._proto._onIdle(),this.connected&&(this._idleTimeout=setTimeout(this._onIdle.bind(this),100))}},r.SASLMechanism=function(e,t,n){this.name=e,this.isClientFirst=t,this.priority=n},r.SASLMechanism.prototype={test:function(e){return!0},onStart:function(e){this._connection=e},onChallenge:function(e,t){throw new Error("You should implement challenge handling!")},onFailure:function(){this._connection=null},onSuccess:function(){this._connection=null}},r.SASLAnonymous=function(){},r.SASLAnonymous.prototype=new r.SASLMechanism("ANONYMOUS",!1,10),r.SASLAnonymous.test=function(e){return e.authcid===null},r.Connection.prototype.mechanisms[r.SASLAnonymous.prototype.name]=r.SASLAnonymous,r.SASLPlain=function(){},r.SASLPlain.prototype=new r.SASLMechanism("PLAIN",!0,20),r.SASLPlain.test=function(e){return e.authcid!==null},r.SASLPlain.prototype.onChallenge=function(e){var t=e.authzid;return t+="\0",t+=e.authcid,t+="\0",t+=e.pass,t},r.Connection.prototype.mechanisms[r.SASLPlain.prototype.name]=r.SASLPlain,r.SASLSHA1=function(){},r.SASLSHA1.prototype=new r.SASLMechanism("SCRAM-SHA-1",!0,40),r.SASLSHA1.test=function(e){return e.authcid!==null},r.SASLSHA1.prototype.onChallenge=function(r,i,s){var o=s||n.hexdigest(Math.random()*1234567890),u="n="+r.authcid;return u+=",r=",u+=o,r._sasl_data.cnonce=o,r._sasl_data["client-first-message-bare"]=u,u="n,,"+u,this.onChallenge=function(n,r){var i,s,o,u,a,f,l,c,h,p,d,v="c=biws,",m=n._sasl_data["client-first-message-bare"]+","+r+",",g=n._sasl_data.cnonce,y=/([a-z]+)=([^,]+)(,|$)/;while(r.match(y)){var b=r.match(y);r=r.replace(b[0],"");switch(b[1]){case"r":i=b[2];break;case"s":s=b[2];break;case"i":o=b[2]}}if(i.substr(0,g.length)!==g)return n._sasl_data={},n._sasl_failure_cb();v+="r="+i,m+=v,s=t.decode(s),s+="\0\0\0",u=f=e.core_hmac_sha1(n.pass,s);for(l=1;l<o;l++){a=e.core_hmac_sha1(n.pass,e.binb2str(f));for(c=0;c<5;c++)u[c]^=a[c];f=a}u=e.binb2str(u),h=e.core_hmac_sha1(u,"Client Key"),p=e.str_hmac_sha1(u,"Server Key"),d=e.core_hmac_sha1(e.str_sha1(e.binb2str(h)),m),n._sasl_data["server-signature"]=e.b64_hmac_sha1(p,m);for(c=0;c<5;c++)h[c]^=d[c];return v+=",p="+t.encode(e.binb2str(h)),v}.bind(this),u},r.Connection.prototype.mechanisms[r.SASLSHA1.prototype.name]=r.SASLSHA1,r.SASLMD5=function(){},r.SASLMD5.prototype=new r.SASLMechanism("DIGEST-MD5",!1,30),r.SASLMD5.test=function(e){return e.authcid!==null},r.SASLMD5.prototype._quote=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'},r.SASLMD5.prototype.onChallenge=function(e,t,r){var i=/([a-z]+)=("[^"]+"|[^,"]+)(?:,|$)/,s=r||n.hexdigest(""+Math.random()*1234567890),o="",u=null,a="",f="",l;while(t.match(i)){l=t.match(i),t=t.replace(l[0],""),l[2]=l[2].replace(/^"(.+)"$/,"$1");switch(l[1]){case"realm":o=l[2];break;case"nonce":a=l[2];break;case"qop":f=l[2];break;case"host":u=l[2]}}var c=e.servtype+"/"+e.domain;u!==null&&(c=c+"/"+u);var h=n.hash(e.authcid+":"+o+":"+this._connection.pass)+":"+a+":"+s,p="AUTHENTICATE:"+c,d="";return d+="charset=utf-8,",d+="username="+this._quote(e.authcid)+",",d+="realm="+this._quote(o)+",",d+="nonce="+this._quote(a)+",",d+="nc=00000001,",d+="cnonce="+this._quote(s)+",",d+="digest-uri="+this._quote(c)+",",d+="response="+n.hexdigest(n.hexdigest(h)+":"+a+":00000001:"+s+":auth:"+n.hexdigest(p))+",",d+="qop=auth",this.onChallenge=function(){return""}.bind(this),d},r.Connection.prototype.mechanisms[r.SASLMD5.prototype.name]=r.SASLMD5,{Strophe:r,$build:i,$msg:s,$iq:o,$pres:u,SHA1:e,Base64:t,MD5:n}}),function(e,t){if(typeof define!="function"||!define.amd)return t(Strophe,$build);define("strophe-bosh",["strophe-core"],function(e){return t(e.Strophe,e.$build)})}(this,function(e,t){return e.Request=function(t,n,r,i){this.id=++e._requestId,this.xmlData=t,this.data=e.serialize(t),this.origFunc=n,this.func=n,this.rid=r,this.date=NaN,this.sends=i||0,this.abort=!1,this.dead=null,this.age=function(){if(!this.date)return 0;var e=new Date;return(e-this.date)/1e3},this.timeDead=function(){if(!this.dead)return 0;var e=new Date;return(e-this.dead)/1e3},this.xhr=this._newXHR()},e.Request.prototype={getResponse:function(){var t=null;if(this.xhr.responseXML&&this.xhr.responseXML.documentElement){t=this.xhr.responseXML.documentElement;if(t.tagName=="parsererror")throw e.error("invalid response received"),e.error("responseText: "+this.xhr.responseText),e.error("responseXML: "+e.serialize(this.xhr.responseXML)),"parsererror"}else this.xhr.responseText&&(e.error("invalid response received"),e.error("responseText: "+this.xhr.responseText),e.error("responseXML: "+e.serialize(this.xhr.responseXML)));return t},_newXHR:function(){var e=null;return window.XMLHttpRequest?(e=new XMLHttpRequest,e.overrideMimeType&&e.overrideMimeType("text/xml; charset=utf-8")):window.ActiveXObject&&(e=new ActiveXObject("Microsoft.XMLHTTP")),e.onreadystatechange=this.func.bind(null,this),e}},e.Bosh=function(e){this._conn=e,this.rid=Math.floor(Math.random()*4294967295),this.sid=null,this.hold=1,this.wait=60,this.window=5,this.errors=0,this._requests=[]},e.Bosh.prototype={strip:null,_buildBody:function(){var n=t("body",{rid:this.rid++,xmlns:e.NS.HTTPBIND});return this.sid!==null&&n.attrs({sid:this.sid}),this._conn.options.keepalive&&this._cacheSession(),n},_reset:function(){this.rid=Math.floor(Math.random()*4294967295),this.sid=null,this.errors=0,window.sessionStorage.removeItem("strophe-bosh-session")},_connect:function(t,n,r){this.wait=t||this.wait,this.hold=n||this.hold,this.errors=0;var i=this._buildBody().attrs({to:this._conn.domain,"xml:lang":"en",wait:this.wait,hold:this.hold,content:"text/xml; charset=utf-8",ver:"1.6","xmpp:version":"1.0","xmlns:xmpp":e.NS.BOSH});r&&i.attrs({route:r});var s=this._conn._connect_cb;this._requests.push(new e.Request(i.tree(),this._onRequestStateChange.bind(this,s.bind(this._conn)),i.tree().getAttribute("rid"))),this._throttledRequestHandler()},_attach:function(t,n,r,i,s,o,u){this._conn.jid=t,this.sid=n,this.rid=r,this._conn.connect_callback=i,this._conn.domain=e.getDomainFromJid(this._conn.jid),this._conn.authenticated=!0,this._conn.connected=!0,this.wait=s||this.wait,this.hold=o||this.hold,this.window=u||this.window,this._conn._changeConnectStatus(e.Status.ATTACHED,null)},_restore:function(t,n,r,i,s){var o=JSON.parse(window.sessionStorage.getItem("strophe-bosh-session"));if(!(typeof o!="undefined"&&o!==null&&o.rid&&o.sid&&o.jid)||typeof t!="undefined"&&t!=="null"&&e.getBareJidFromJid(o.jid)!=e.getBareJidFromJid(t))throw{name:"StropheSessionError",message:"_restore: no restoreable session."};this._conn.restored=!0,this._attach(o.jid,o.sid,o.rid,n,r,i,s)},_cacheSession:function(){this._conn.authenticated?this._conn.jid&&this.rid&&this.sid&&window.sessionStorage.setItem("strophe-bosh-session",JSON.stringify({jid:this._conn.jid,rid:this.rid,sid:this.sid})):window.sessionStorage.removeItem("strophe-bosh-session")},_connect_cb:function(t){var n=t.getAttribute("type"),r,i;if(n!==null&&n=="terminate")return r=t.getAttribute("condition"),e.error("BOSH-Connection failed: "+r),i=t.getElementsByTagName("conflict"),r!==null?(r=="remote-stream-error"&&i.length>0&&(r="conflict"),this._conn._changeConnectStatus(e.Status.CONNFAIL,r)):this._conn._changeConnectStatus(e.Status.CONNFAIL,"unknown"),this._conn._doDisconnect(r),e.Status.CONNFAIL;this.sid||(this.sid=t.getAttribute("sid"));var s=t.getAttribute("requests");s&&(this.window=parseInt(s,10));var o=t.getAttribute("hold");o&&(this.hold=parseInt(o,10));var u=t.getAttribute("wait");u&&(this.wait=parseInt(u,10))},_disconnect:function(e){this._sendTerminate(e)},_doDisconnect:function(){this.sid=null,this.rid=Math.floor(Math.random()*4294967295),window.sessionStorage.removeItem("strophe-bosh-session")},_emptyQueue:function(){return this._requests.length===0},_hitError:function(t){this.errors++,e.warn("request errored, status: "+t+", number of errors: "+this.errors),this.errors>4&&this._conn._onDisconnectTimeout()},_no_auth_received:function(t){t?t=t.bind(this._conn):t=this._conn._connect_cb.bind(this._conn);var n=this._buildBody();this._requests.push(new e.Request(n.tree(),this._onRequestStateChange.bind(this,t.bind(this._conn)),n.tree().getAttribute("rid"))),this._throttledRequestHandler()},_onDisconnectTimeout:function(){this._abortAllRequests()},_abortAllRequests:function(){var t;while(this._requests.length>0)t=this._requests.pop(),t.abort=!0,t.xhr.abort(),t.xhr.onreadystatechange=function(){}},_onIdle:function(){var t=this._conn._data;this._conn.authenticated&&this._requests.length===0&&t.length===0&&!this._conn.disconnecting&&(e.info("no requests during idle cycle, sending blank request"),t.push(null));if(this._conn.paused)return;if(this._requests.length<2&&t.length>0){var n=this._buildBody();for(var r=0;r<t.length;r++)t[r]!==null&&(t[r]==="restart"?n.attrs({to:this._conn.domain,"xml:lang":"en","xmpp:restart":"true","xmlns:xmpp":e.NS.BOSH}):n.cnode(t[r]).up());delete this._conn._data,this._conn._data=[],this._requests.push(new e.Request(n.tree(),this._onRequestStateChange.bind(this,this._conn._dataRecv.bind(this._conn)),n.tree().getAttribute("rid"))),this._throttledRequestHandler()}if(this._requests.length>0){var i=this._requests[0].age();this._requests[0].dead!==null&&this._requests[0].timeDead()>Math.floor(e.SECONDARY_TIMEOUT*this.wait)&&this._throttledRequestHandler(),i>Math.floor(e.TIMEOUT*this.wait)&&(e.warn("Request "+this._requests[0].id+" timed out, over "+Math.floor(e.TIMEOUT*this.wait)+" seconds since last activity"),this._throttledRequestHandler())}},_onRequestStateChange:function(t,n){e.debug("request id "+n.id+"."+n.sends+" state changed to "+n.xhr.readyState);if(n.abort){n.abort=!1;return}var r;if(n.xhr.readyState==4){r=0;try{r=n.xhr.status}catch(i){}typeof r=="undefined"&&(r=0);if(this.disconnecting&&r>=400){this._hitError(r);return}var s=this._requests[0]==n,o=this._requests[1]==n;if(r>0&&r<500||n.sends>5)this._removeRequest(n),e.debug("request id "+n.id+" should now be removed");if(r==200)(o||s&&this._requests.length>0&&this._requests[0].age()>Math.floor(e.SECONDARY_TIMEOUT*this.wait))&&this._restartRequest(0),e.debug("request id "+n.id+"."+n.sends+" got 200"),t(n),this.errors=0;else{e.error("request id "+n.id+"."+n.sends+" error "+r+" happened");if(r===0||r>=400&&r<600||r>=12e3)this._hitError(r),r>=400&&r<500&&(this._conn._changeConnectStatus(e.Status.DISCONNECTING,null),this._conn._doDisconnect())}r>0&&r<500||n.sends>5||this._throttledRequestHandler()}},_processRequest:function(t){var n=this,r=this._requests[t],i=-1;try{r.xhr.readyState==4&&(i=r.xhr.status)}catch(s){e.error("caught an error in _requests["+t+"], reqStatus: "+i)}typeof i=="undefined"&&(i=-1);if(r.sends>this._conn.maxRetries){this._conn._onDisconnectTimeout();return}var o=r.age(),u=!isNaN(o)&&o>Math.floor(e.TIMEOUT*this.wait),a=r.dead!==null&&r.timeDead()>Math.floor(e.SECONDARY_TIMEOUT*this.wait),f=r.xhr.readyState==4&&(i<1||i>=500);if(u||a||f)a&&e.error("Request "+this._requests[t].id+" timed out (secondary), restarting"),r.abort=!0,r.xhr.abort(),r.xhr.onreadystatechange=function(){},this._requests[t]=new e.Request(r.xmlData,r.origFunc,r.rid,r.sends),r=this._requests[t];if(r.xhr.readyState===0){e.debug("request id "+r.id+"."+r.sends+" posting");try{r.xhr.open("POST",this._conn.service,this._conn.options.sync?!1:!0),r.xhr.setRequestHeader("Content-Type","text/xml; charset=utf-8")}catch(l){e.error("XHR open failed."),this._conn.connected||this._conn._changeConnectStatus(e.Status.CONNFAIL,"bad-service"),this._conn.disconnect();return}var c=function(){r.date=new Date;if(n._conn.options.customHeaders){var e=n._conn.options.customHeaders;for(var t in e)e.hasOwnProperty(t)&&r.xhr.setRequestHeader(t,e[t])}r.xhr.send(r.data)};if(r.sends>1){var h=Math.min(Math.floor(e.TIMEOUT*this.wait),Math.pow(r.sends,3))*1e3;setTimeout(c,h)}else c();r.sends++,this._conn.xmlOutput!==e.Connection.prototype.xmlOutput&&(r.xmlData.nodeName===this.strip&&r.xmlData.childNodes.length?this._conn.xmlOutput(r.xmlData.childNodes[0]):this._conn.xmlOutput(r.xmlData)),this._conn.rawOutput!==e.Connection.prototype.rawOutput&&this._conn.rawOutput(r.data)}else e.debug("_processRequest: "+(t===0?"first":"second")+" request has readyState of "+r.xhr.readyState)},_removeRequest:function(t){e.debug("removing request");var n;for(n=this._requests.length-1;n>=0;n--)t==this._requests[n]&&this._requests.splice(n,1);t.xhr.onreadystatechange=function(){},this._throttledRequestHandler()},_restartRequest:function(e){var t=this._requests[e];t.dead===null&&(t.dead=new Date),this._processRequest(e)},_reqToData:function(e){try{return e.getResponse()}catch(t){if(t!="parsererror")throw t;this._conn.disconnect("strophe-parsererror")}},_sendTerminate:function(t){e.info("_sendTerminate was called");var n=this._buildBody().attrs({type:"terminate"});t&&n.cnode(t.tree());var r=new e.Request(n.tree(),this._onRequestStateChange.bind(this,this._conn._dataRecv.bind(this._conn)),n.tree().getAttribute("rid"));this._requests.push(r),this._throttledRequestHandler()},_send:function(){clearTimeout(this._conn._idleTimeout),this._throttledRequestHandler(),this._conn._idleTimeout=setTimeout(this._conn._onIdle.bind(this._conn),100)},_sendRestart:function(){this._throttledRequestHandler(),clearTimeout(this._conn._idleTimeout)},_throttledRequestHandler:function(){this._requests?e.debug("_throttledRequestHandler called with "+this._requests.length+" requests"):e.debug("_throttledRequestHandler called with undefined requests");if(!this._requests||this._requests.length===0)return;this._requests.length>0&&this._processRequest(0),this._requests.length>1&&Math.abs(this._requests[0].rid-this._requests[1].rid)<this.window&&this._processRequest(1)}},e}),function(e,t){if(typeof define!="function"||!define.amd)return t(Strophe,$build);define("strophe-websocket",["strophe-core"],function(e){return t(e.Strophe,e.$build)})}(this,function(e,t){return e.Websocket=function(e){this._conn=e,this.strip="wrapper";var t=e.service;if(t.indexOf("ws:")!==0&&t.indexOf("wss:")!==0){var n="";e.options.protocol==="ws"&&window.location.protocol!=="https:"?n+="ws":n+="wss",n+="://"+window.location.host,t.indexOf("/")!==0?n+=window.location.pathname+t:n+=t,e.service=n}},e.Websocket.prototype={_buildStream:function(){return t("open",{xmlns:e.NS.FRAMING,to:this._conn.domain,version:"1.0"})},_check_streamerror:function(t,n){var r;t.getElementsByTagNameNS?r=t.getElementsByTagNameNS(e.NS.STREAM,"error"):r=t.getElementsByTagName("stream:error");if(r.length===0)return!1;var i=r[0],s="",o="",u="urn:ietf:params:xml:ns:xmpp-streams";for(var a=0;a<i.childNodes.length;a++){var f=i.childNodes[a];if(f.getAttribute("xmlns")!==u)break;f.nodeName==="text"?o=f.textContent:s=f.nodeName}var l="WebSocket stream error: ";return s?l+=s:l+="unknown",o&&(l+=" - "+s),e.error(l),this._conn._changeConnectStatus(n,s),this._conn._doDisconnect(),!0},_reset:function(){return},_connect:function(){this._closeSocket(),this.socket=new WebSocket(this._conn.service,"xmpp"),this.socket.onopen=this._onOpen.bind(this),this.socket.onerror=this._onError.bind(this),this.socket.onclose=this._onClose.bind(this),this.socket.onmessage=this._connect_cb_wrapper.bind(this)},_connect_cb:function(t){var n=this._check_streamerror(t,e.Status.CONNFAIL);if(n)return e.Status.CONNFAIL},_handleStreamStart:function(t){var n=!1,r=t.getAttribute("xmlns");typeof r!="string"?n="Missing xmlns in <open />":r!==e.NS.FRAMING&&(n="Wrong xmlns in <open />: "+r);var i=t.getAttribute("version");return typeof i!="string"?n="Missing version in <open />":i!=="1.0"&&(n="Wrong version in <open />: "+i),n?(this._conn._changeConnectStatus(e.Status.CONNFAIL,n),this._conn._doDisconnect(),!1):!0},_connect_cb_wrapper:function(t){if(t.data.indexOf("<open ")===0||t.data.indexOf("<?xml")===0){var n=t.data.replace(/^(<\?.*?\?>\s*)*/,"");if(n==="")return;var r=(new DOMParser).parseFromString(n,"text/xml").documentElement;this._conn.xmlInput(r),this._conn.rawInput(t.data),this._handleStreamStart(r)&&this._connect_cb(r)}else if(t.data.indexOf("<close ")===0){this._conn.rawInput(t.data),this._conn.xmlInput(t);var i=t.getAttribute("see-other-uri");i?(this._conn._changeConnectStatus(e.Status.REDIRECT,"Received see-other-uri, resetting connection"),this._conn.reset(),this._conn.service=i,this._connect()):(this._conn._changeConnectStatus(e.Status.CONNFAIL,"Received closing stream"),this._conn._doDisconnect())}else{var s=this._streamWrap(t.data),o=(new DOMParser).parseFromString(s,"text/xml").documentElement;this.socket.onmessage=this._onMessage.bind(this),this._conn._connect_cb(o,null,t.data)}},_disconnect:function(n){if(this.socket&&this.socket.readyState!==WebSocket.CLOSED){n&&this._conn.send(n);var r=t("close",{xmlns:e.NS.FRAMING});this._conn.xmlOutput(r);var i=e.serialize(r);this._conn.rawOutput(i);try{this.socket.send(i)}catch(s){e.info("Couldn't send <close /> tag.")}}this._conn._doDisconnect()},_doDisconnect:function(){e.info("WebSockets _doDisconnect was called"),this._closeSocket()},_streamWrap:function(e){return"<wrapper>"+e+"</wrapper>"},_closeSocket:function(){if(this.socket)try{this.socket.close()}catch(e){}this.socket=null},_emptyQueue:function(){return!0},_onClose:function(){this._conn.connected&&!this._conn.disconnecting?(e.error("Websocket closed unexcectedly"),this._conn._doDisconnect()):e.info("Websocket closed")},_no_auth_received:function(t){e.error("Server did not send any auth methods"),this._conn._changeConnectStatus(e.Status.CONNFAIL,"Server did not send any auth methods"),t&&(t=t.bind(this._conn),t()),this._conn._doDisconnect()},_onDisconnectTimeout:function(){},_abortAllRequests:function(){},_onError:function(t){e.error("Websocket error "+t),this._conn._changeConnectStatus(e.Status.CONNFAIL,"The WebSocket connection could not be established was disconnected."),this._disconnect()},_onIdle:function(){var t=this._conn._data;if(t.length>0&&!this._conn.paused){for(var n=0;n<t.length;n++)if(t[n]!==null){var r,i;t[n]==="restart"?r=this._buildStream().tree():r=t[n],i=e.serialize(r),this._conn.xmlOutput(r),this._conn.rawOutput(i),this.socket.send(i)}this._conn._data=[]}},_onMessage:function(t){var n,r,i='<close xmlns="urn:ietf:params:xml:ns:xmpp-framing" />';if(t.data===i){this._conn.rawInput(i),this._conn.xmlInput(t),this._conn.disconnecting||this._conn._doDisconnect();return}if(t.data.search("<open ")===0){n=(new DOMParser).parseFromString(t.data,"text/xml").documentElement;if(!this._handleStreamStart(n))return}else r=this._streamWrap(t.data),n=(new DOMParser).parseFromString(r,"text/xml").documentElement;if(this._check_streamerror(n,e.Status.ERROR))return;if(this._conn.disconnecting&&n.firstChild.nodeName==="presence"&&n.firstChild.getAttribute("type")==="unavailable"){this._conn.xmlInput(n),this._conn.rawInput(e.serialize(n));return}this._conn._dataRecv(n,t.data)},_onOpen:function(){e.info("Websocket open");var t=this._buildStream();this._conn.xmlOutput(t.tree());var n=e.serialize(t);this._conn.rawOutput(n),this.socket.send(n)},_reqToData:function(e){return e},_send:function(){this._conn.flush()},_sendRestart:function(){clearTimeout(this._conn._idleTimeout),this._conn._onIdle.bind(this._conn)()}},e}),define("strophe",["strophe-core","strophe-bosh","strophe-websocket"],function(e){return e}),function(e,t){typeof define=="function"&&define.amd?define("strophe.vcard",["strophe"],function(e){return t(e.Strophe,e.$build,e.$iq,e.$msg,e.$pres),e}):t(e.Strophe,e.$build,e.$iq,e.$msg,e.$pres)}(this,function(e,t,n,r,i){var s=function(t,r,i){var s=n(r?{type:t,to:r}:{type:t});return s.c("vCard",{xmlns:e.NS.VCARD}),i&&s.cnode(i),s};e.addConnectionPlugin("vcard",{_connection:null,init:function(t){return this._connection=t,e.addNamespace("VCARD","vcard-temp")},get:function(e,t,n){var r=s("get",t);return this._connection.sendIQ(r,e,n)},set:function(e,t,n,r){var i=s("set",n,t);return this._connection.sendIQ(i,e,r)}})}),function(e,t){typeof define=="function"&&define.amd?define("strophe.disco",["strophe"],function(e){return t(e.Strophe,e.$build,e.$iq,e.$msg,e.$pres),e}):t(e.Strophe,e.$build,e.$iq,e.$msg,e.$pres)}(this,function(e,t,n,r,i){e.addConnectionPlugin("disco",{_connection:null,_identities:[],_features:[],_items:[],init:function(t){this._connection=t,this._identities=[],this._features=[],this._items=[],t.addHandler(this._onDiscoInfo.bind(this),e.NS.DISCO_INFO,"iq","get",null,null),t.addHandler(this._onDiscoItems.bind(this),e.NS.DISCO_ITEMS,"iq","get",null,null)},addIdentity:function(e,t,n,r){for(var i=0;i<this._identities.length;i++)if(this._identities[i].category==e&&this._identities[i].type==t&&this._identities[i].name==n&&this._identities[i].lang==r)return!1;return this._identities.push({category:e,type:t,name:n,lang:r}),!0},addFeature:function(e){for(var t=0;t<this._features.length;t++)if(this._features[t]==e)return!1;return this._features.push(e),!0},removeFeature:function(e){for(var t=0;t<this._features.length;t++)if(this._features[t]===e)return this._features.splice(t,1),!0;return!1},addItem:function(e,t,n,r){return n&&!r?!1:(this._items.push({jid:e,name:t,node:n,call_back:r}),!0)},info:function(t,r,i,s,o){var u={xmlns:e.NS.DISCO_INFO};r&&(u.node=r);var a=n({from:this._connection.jid,to:t,type:"get"}).c("query",u);this._connection.sendIQ(a,i,s,o)},items:function(t,r,i,s,o){var u={xmlns:e.NS.DISCO_ITEMS};r&&(u.node=r);var a=n({from:this._connection.jid,to:t,type:"get"}).c("query",u);this._connection.sendIQ(a,i,s,o)},_buildIQResult:function(e,t){var r=e.getAttribute("id"),i=e.getAttribute("from"),s=n({type:"result",id:r});return i!==null&&s.attrs({to:i}),s.c("query",t)},_onDiscoInfo:function(t){var n=t.getElementsByTagName("query")[0].getAttribute("node"),r={xmlns:e.NS.DISCO_INFO},i;n&&(r.node=n);var s=this._buildIQResult(t,r);for(i=0;i<this._identities.length;i++)r={category:this._identities[i].category,type:this._identities[i].type},this._identities[i].name&&(r.name=this._identities[i].name),this._identities[i].lang&&(r["xml:lang"]=this._identities[i].lang),s.c("identity",r).up();for(i=0;i<this._features.length;i++)s.c("feature",{"var":this._features[i]}).up();return this._connection.send(s.tree()),!0},_onDiscoItems:function(t){var n={xmlns:e.NS.DISCO_ITEMS},r=t.getElementsByTagName("query")[0].getAttribute("node"),i,s;if(r){n.node=r,i=[];for(s=0;s<this._items.length;s++)if(this._items[s].node==r){i=this._items[s].call_back(t);break}}else i=this._items;var o=this._buildIQResult(t,n);for(s=0;s<i.length;s++){var u={jid:i[s].jid};i[s].name&&(u.name=i[s].name),i[s].node&&(u.node=i[s].node),o.c("item",u).up()}return this._connection.send(o.tree()),!0}})}),function(e,t){typeof define=="function"&&define.amd?define("strophe.ping",["strophe"],function(e){return t(e.Strophe,e.$build,e.$iq,e.$msg,e.$pres),e}):t(e.Strophe,e.$build,e.$iq,e.$msg,e.$pres)}(this,function(e,t,n,r,i){e.addConnectionPlugin("ping",{_c:null,init:function(t){this._c=t,e.addNamespace("PING","urn:xmpp:ping")},ping:function(t,r,i,s){var o=this._c.getUniqueId("ping"),u=n({type:"get",to:t,id:o}).c("ping",{xmlns:e.NS.PING});this._c.sendIQ(u,r,i,s)},pong:function(e){var t=e.getAttribute("from"),r=e.getAttribute("id"),i=n({type:"result",to:t,id:r});this._c.sendIQ(i)},addPingHandler:function(t){return this._c.addHandler(t,e.NS.PING,"iq","get")}})}),function(e,t){typeof define=="function"&&define.amd?define("bootstrapJS",["jquery"],function(n){t(n,e)}):t(jQuery,e)}(this,function(e,t){if(typeof e=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(e.style[n]!==undefined)return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t();if(!e.support.transition)return;e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}})}(e),+function(e){"use strict";function r(t){return this.each(function(){var r=e(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})}var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.2.0",n.TRANSITION_DURATION=150,n.prototype.close=function(t){function o(){s.detach().trigger("closed.bs.alert").remove()}var r=e(this),i=r.attr("data-target");i||(i=r.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,""));var s=e(i);t&&t.preventDefault(),s.length||(s=r.closest(".alert")),s.trigger(t=e.Event("close.bs.alert"));if(t.isDefaultPrevented())return;s.removeClass("in"),e.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o()};var i=e.fn.alert;e.fn.alert=r,e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(e),+function(e){"use strict";function n(n){return this.each(function(){var r=e(this),i=r.data("bs.button"),s=typeof n=="object"&&n;i||r.data("bs.button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})}var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};t.VERSION="3.2.0",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",s=r.data();t+="Text",s.resetText==null&&r.data("resetText",r[i]()),r[i](s[t]==null?this.options[t]:s[t]),setTimeout(e.proxy(function(){t=="loadingText"?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");n.prop("type")=="radio"&&(n.prop("checked")&&this.$element.hasClass("active")?e=!1:t.find(".active").removeClass("active")),e&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}e&&this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=e(t.target);r.hasClass("btn")||(r=r.closest(".btn")),n.call(r,"toggle"),t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",t.type=="focus")})}(e),+function(e){"use strict";function r(t){return this.each(function(){var r=e(this),i=r.data("bs.carousel"),s=e.extend({},n.DEFAULTS,r.data(),typeof t=="object"&&t),o=typeof t=="string"?t:s.slide;i||r.data("bs.carousel",i=new n(this,s)),typeof t=="number"?i.to(t):o?i[o]():s.interval&&i.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),this.options.pause=="hover"&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.2.0",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(e){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=e=="prev"?-1:1,r=this.getItemIndex(t),i=(r+n)%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(e>this.$items.length-1||e<0)return;return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(this.sliding)return;return this.slide("next")},n.prototype.prev=function(){if(this.sliding)return;return this.slide("prev")},n.prototype.slide=function(t,r){var i=this.$element.find(".item.active"),s=r||this.getItemForDirection(t,i),o=this.interval,u=t=="next"?"left":"right",a=t=="next"?"first":"last",f=this;if(!s.length){if(!this.options.wrap)return;s=this.$element.find(".item")[a]()}if(s.hasClass("active"))return this.sliding=!1;var l=s[0],c=e.Event("slide.bs.carousel",{relatedTarget:l,direction:u});this.$element.trigger(c);if(c.isDefaultPrevented())return;this.sliding=!0,o&&this.pause();if(this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=e(this.$indicators.children()[this.getItemIndex(s)]);h&&h.addClass("active")}var p=e.Event("slid.bs.carousel",{relatedTarget:l,direction:u});return e.support.transition&&this.$element.hasClass("slide")?(s.addClass(t),s[0].offsetWidth,i.addClass(u),s.addClass(u),i.one("bsTransitionEnd",function(){s.removeClass([t,u].join(" ")).addClass("active"),i.removeClass(["active",u].join(" ")),f.sliding=!1,setTimeout(function(){f.$element.trigger(p)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(p)),o&&this.cycle(),this};var i=e.fn.carousel;e.fn.carousel=r,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=i,this},e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n,i=e(this),s=e(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(!s.hasClass("carousel"))return;var o=e.extend({},s.data(),i.data()),u=i.attr("data-slide-to");u&&(o.interval=!1),r.call(s,o),u&&s.data("bs.carousel").to(u),t.preventDefault()}),e(t).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);r.call(t,t.data())})})}(e),+function(e){"use strict";function n(n){return this.each(function(){var r=e(this),i=r.data("bs.collapse"),s=e.extend({},t.DEFAULTS,r.data(),typeof n=="object"&&n);!i&&s.toggle&&n=="show"&&(s.toggle=!1),i||r.data("bs.collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})}var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.transitioning=null,this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.VERSION="3.2.0",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},t.prototype.show=function(){if(this.transitioning||this.$element.hasClass("in"))return;var r=e.Event("show.bs.collapse");this.$element.trigger(r);if(r.isDefaultPrevented())return;var i=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(i&&i.length){var s=i.data("bs.collapse");if(s&&s.transitioning)return;n.call(i,"hide"),s||i.data("bs.collapse",null)}var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.transitioning=1;var u=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return u.call(this);var a=e.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",e.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[o](this.$element[0][a])},t.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass("in"))return;var n=e.Event("hide.bs.collapse");this.$element.trigger(n);if(n.isDefaultPrevented())return;var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(t.TRANSITION_DURATION)},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var r=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=r,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var r,i=e(this),s=i.attr("data-target")||t.preventDefault()||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),o=e(s),u=o.data("bs.collapse"),a=u?"toggle":i.data(),f=i.attr("data-parent"),l=f&&e(f);if(!u||!u.transitioning){l&&l.find('[data-toggle="collapse"][data-parent="'+f+'"]').not(i).addClass("collapsed").attr("aria-expanded",!1);var c=o.hasClass("in");i.toggleClass("collapsed",c).attr("aria-expanded",!c)}n.call(o,a)})}(e),+function(e){"use strict";function i(r){if(r&&r.which===3)return;e(t).remove(),e(n).each(function(){var t=e(this),n=s(t),i={relatedTarget:this};if(!n.hasClass("open"))return;n.trigger(r=e.Event("hide.bs.dropdown",i));if(r.isDefaultPrevented())return;t.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",i)})}function s(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function o(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),typeof t=="string"&&i[t].call(n)})}var t=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(t){e(t).on("click.bs.dropdown",this.toggle)};r.VERSION="3.2.0",r.prototype.toggle=function(t){var n=e(this);if(n.is(".disabled, :disabled"))return;var r=s(n),o=r.hasClass("open");i();if(!o){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&e('<div class="dropdown-backdrop"/>').insertAfter(e(this)).on("click",i);var u={relatedTarget:this};r.trigger(t=e.Event("show.bs.dropdown",u));if(t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger("shown.bs.dropdown",u)}return!1},r.prototype.keydown=function(t){if(!/(38|40|27|32)/.test(t.which))return;var r=e(this);t.preventDefault(),t.stopPropagation();if(r.is(".disabled, :disabled"))return;var i=s(r),o=i.hasClass("open");if(!o&&t.which!=27||o&&t.which==27)return t.which==27&&i.find(n).trigger("focus"),r.trigger("click");var u=" li:not(.divider):visible a",a=i.find('[role="menu"]'+u+', [role="listbox"]'+u);if(!a.length)return;var f=a.index(a.filter(":focus"));t.which==38&&f>0&&f--,t.which==40&&f<a.length-1&&f++,~f||(f=0),a.eq(f).trigger("focus")};var u=e.fn.dropdown;e.fn.dropdown=o,e.fn.dropdown.Constructor=r,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=u,this},e(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",n,r.prototype.toggle).on("keydown.bs.dropdown.data-api",n+', [role="menu"], [role="listbox"]',r.prototype.keydown)}(e),+function(e){"use strict";function r(t,r){return this.each(function(){var i=e(this),s=i.data("bs.modal"),o=e.extend({},n.DEFAULTS,i.data(),typeof t=="object"&&t);s||i.data("bs.modal",s=new n(this,o)),typeof t=="string"?s[t](r):o.show&&s.show(r)})}var n=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.2.0",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},n.prototype.show=function(t){var r=this,i=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(i);if(this.isShown||i.isDefaultPrevented())return;this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.backdrop(function(){var i=e.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),i&&r.$element[0].offsetWidth,r.$element.addClass("in").attr("aria-hidden",!1),r.enforceFocus();var s=e.Event("shown.bs.modal",{relatedTarget:t});i?r.$element.find(".modal-dialog").one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(s)}).emulateTransitionEnd(n.TRANSITION_DURATION):r.$element.trigger("focus").trigger(s)})},n.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal()},n.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){this.$element[0]!==e.target&&!this.$element.has(e.target).length&&this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){e.which==27&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(t){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=e.support.transition&&i;this.$backdrop=e('<div class="modal-backdrop '+i+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){if(e.target!==e.currentTarget)return;this.options.backdrop=="static"?this.$element[0].focus.call(this.$element[0]):this.hide.call(this)},this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;s?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){r.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):o()}else t&&t()},n.prototype.checkScrollbar=function(){this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",e+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},n.prototype.measureScrollbar=function(){if(document.body.clientWidth>=t.innerWidth)return 0;var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var n=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),n};var i=e.fn.modal;e.fn.modal=r,e.fn.modal.Constructor=n,e.fn.modal.noConflict=function(){return e.fn.modal=i,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),i=n.attr("href"),s=e(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=s.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},s.data(),n.data());n.is("a")&&t.preventDefault(),s.one("show.bs.modal",function(e){if(e.isDefaultPrevented())return;s.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),r.call(s,o,this)})}(e),+function(e){"use strict";function r(t){return this.each(function(){var r=e(this),i=r.data("bs.tooltip"),s=typeof t=="object"&&t;if(!i&&t=="destroy")return;i||r.data("bs.tooltip",i=new n(this,s)),typeof t=="string"&&i[t]()})}var n=function(e,t){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",e,t)};n.VERSION="3.2.0",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(t,n,r){this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(this.options.viewport.selector||this.options.viewport);var i=this.options.trigger.split(" ");for(var s=i.length;s--;){var o=i[s];if(o=="click")this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if(o!="manual"){var u=o=="hover"?"mouseenter":"focusin",a=o=="hover"?"mouseleave":"focusout";this.$element.on(u+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(a+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n&&n.$tip&&n.$tip.is(":visible")){n.hoverState="in";return}n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in";if(!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out";if(!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},n.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!r)return;var i=this,s=this.tip(),o=this.getUID(this.type);this.setContent(),s.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&s.addClass("fade");var u=typeof this.options.placement=="function"?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,f=a.test(u);f&&(u=u.replace(a,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(u).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var l=this.getPosition(),c=s[0].offsetWidth,h=s[0].offsetHeight;if(f){var p=u,d=this.options.container?e(this.options.container):this.$element.parent(),v=this.getPosition(d);u=u=="bottom"&&l.top+l.height+h-v.scroll>v.height?"top":u=="top"&&l.top-v.scroll-h<v.top?"bottom":u=="right"&&l.right+c>v.width?"left":u=="left"&&l.left-c<v.left?"right":u,s.removeClass(p).addClass(u)}var m=this.getCalculatedOffset(u,l,c,h);this.applyPlacement(m,u);var g=function(){i.$element.trigger("shown.bs."+i.type),i.hoverState=null};e.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,s=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),u=parseInt(r.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(u)&&(u=0),t.top=t.top+o,t.left=t.left+u,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var a=r[0].offsetWidth,f=r[0].offsetHeight;n=="top"&&f!=s&&(t.top=t.top+s-f);var l=this.getViewportAdjustedDelta(n,t,a,f);l.left?t.left+=l.left:t.top+=l.top;var c=/top|bottom/.test(n),h=c?l.left*2-i+a:l.top*2-s+f,p=c?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(h,r[0][p],c)},n.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},n.prototype.hide=function(t){function o(){r.hoverState!="in"&&i.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),t&&t()}var r=this,i=this.tip(),s=e.Event("hide.bs."+this.type);this.$element.trigger(s);if(s.isDefaultPrevented())return;return i.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),this.hoverState=null,this},n.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(n){n=n||this.$element;var r=n[0],i=r.tagName=="BODY",s=r.getBoundingClientRect();s.width==null&&(s=e.extend({},s,{width:s.right-s.left,height:s.bottom-s.top}));var o=i?{top:0,left:0}:n.offset(),u={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:n.scrollTop()},a=i?{width:e(t).width(),height:e(t).height()}:null;return e.extend({},s,u,a,o)},n.prototype.getCalculatedOffset=function(e,t,n,r){return e=="bottom"?{top:t.top+t.height,left:t.left+t.width/2-n/2}:e=="top"?{top:t.top-r,left:t.left+t.width/2-n/2}:e=="left"?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},n.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var s=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var u=t.top-s-o.scroll,a=t.top+s-o.scroll+r;u<o.top?i.top=o.top-u:a>o.top+o.height&&(i.top=o.top+o.height-a)}else{var f=t.left-s,l=t.left+s+n;f<o.left?i.left=o.left-f:l>o.width&&(i.left=o.left+o.width-l)}return i},n.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},n.prototype.getUID=function(e){do e+=~~(Math.random()*1e6);while(document.getElementById(e));return e},n.prototype.tip=function(){return this.$tip=this.$tip||e(this.options.template)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type)})};var i=e.fn.tooltip;e.fn.tooltip=r,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=i,this}}(e),+function(e){"use strict";function n(n){return this.each(function(){var r=e(this),i=r.data("bs.popover"),s=typeof n=="object"&&n;if(!i&&n=="destroy")return;i||r.data("bs.popover",i=new t(this,s)),typeof n=="string"&&i[n]()})}var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.2.0",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?typeof n=="string"?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||(typeof t.content=="function"?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},t.prototype.tip=function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip};var r=e.fn.popover;e.fn.popover=n,e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=r,this}}(e),+function(e){"use strict";function n(r,i){var s=e.proxy(this.process,this);this.$body=e("body"),this.$scrollElement=e(r).is("body")?e(t):e(r),this.options=e.extend({},n.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",s),this.refresh(),this.process()}function r(t){return this.each(function(){var r=e(this),i=r.data("bs.scrollspy"),s=typeof t=="object"&&t;i||r.data("bs.scrollspy",i=new n(this,s)),typeof t=="string"&&i[t]()})}n.VERSION="3.2.0",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t="offset",n=0;e.isWindow(this.$scrollElement[0])||(t="position",n=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var r=this;this.$body.find(this.selector).map(function(){var r=e(this),i=r.data("target")||r.attr("href"),s=/^#./.test(i)&&e(i);return s&&s.length&&s.is(":visible")&&r.is(":visible")&&[[s[t]().top+n,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},n.prototype.process=function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.getScrollHeight(),n=this.options.offset+t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;this.scrollHeight!=t&&this.refresh();if(e>=n)return s!=(o=i[i.length-1])&&this.activate(o);if(s&&e<=r[0])return s!=(o=i[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},n.prototype.activate=function(t){this.activeTarget=t,e(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")};var i=e.fn.scrollspy;e.fn.scrollspy=r,e.fn.scrollspy.Constructor=n,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=i,this},e(t).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);r.call(t,t.data())})})}(e),+function(e){"use strict";function n(n){return this.each(function(){var r=e(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new t(this)),typeof n=="string"&&i[n]()})}var t=function(t){this.element=e(t)};t.VERSION="3.2.0",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;var i=n.find(".active:last a")[0],s=e.Event("show.bs.tab",{relatedTarget:i});t.trigger(s);if(s.isDefaultPrevented())return;var o=e(r);this.activate(t.closest("li"),n),this.activate(o,o.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:i})})},t.prototype.activate=function(n,r,i){function u(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),n.addClass("active"),o?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu")&&n.closest("li.dropdown").addClass("active"),i&&i()}var s=r.find("> .active"),o=i&&e.support.transition&&(s.length&&s.hasClass("fade")||!!r.find("> .fade").length);s.length&&o?s.one("bsTransitionEnd",u).emulateTransitionEnd(t.TRANSITION_DURATION):u(),s.removeClass("in")};var r=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=r,this},e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),n.call(e(this),"show")})}(e),+function(e){"use strict";function r(t){return this.each(function(){var r=e(this),i=r.data("bs.affix"),s=typeof t=="object"&&t;i||r.data("bs.affix",i=new n(this,s)),typeof t=="string"&&i[t]()})}var n=function(t,r){this.options=e.extend({},n.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.2.0",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:t},n.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),s=this.$element.offset(),o=this.$target.height();if(n!=null&&this.affixed=="top")return i<n?"top":!1;if(this.affixed=="bottom")return n!=null?i+this.unpin<=s.top?!1:"bottom":i+o<=e-r?!1:"bottom";var u=this.affixed==null,a=u?i:s.top,f=u?o:t;return n!=null&&a<=n?"top":r!=null&&a+f>=e-r?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=this.$element.height(),r=this.options.offset,i=r.top,s=r.bottom,o=e("body").height();typeof r!="object"&&(s=i=r),typeof i=="function"&&(i=r.top(this.$element)),typeof s=="function"&&(s=r.bottom(this.$element));var u=this.getState(o,t,i,s);if(this.affixed!=u){this.unpin!=null&&this.$element.css("top","");var a="affix"+(u?"-"+u:""),f=e.Event(a+".bs.affix");this.$element.trigger(f);if(f.isDefaultPrevented())return;this.affixed=u,this.unpin=u=="bottom"?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}u=="bottom"&&this.$element.offset({top:o-t-s})};var i=e.fn.affix;e.fn.affix=r,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=i,this},e(t).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom!=null&&(n.offset.bottom=n.offsetBottom),n.offsetTop!=null&&(n.offset.top=n.offsetTop),r.call(t,n)})})}(e)}),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a<f;a++){e=u[a];if(o=this._events[e]){this._events[e]=i=[];if(t||r)for(l=0,h=o.length;l<h;l++)s=o[l],(t&&t!==s.callback&&t!==s.callback._callback||r&&r!==s.context)&&i.push(s);i.length||delete this._events[e]}}return this},trigger:function(e){if(!this._events)return this;var t=u.call(arguments,1);if(!c(this,"trigger",e,t))return this;var n=this._events[e],r=this._events.all;return n&&h(n,t),r&&h(r,arguments),this},stopListening:function(e,t,r){var i=this._listeningTo;if(!i)return this;var s=!t&&!r;!r&&typeof t=="object"&&(r=this),e&&((i={})[e._listenId]=e);for(var o in i)e=i[o],e.off(t,r,this),(s||n.isEmpty(e._events))&&delete this._listeningTo[o];return this}},l=/\s+/,c=function(e,t,n,r){if(!n)return!0;if(typeof n=="object"){for(var i in n)e[t].apply(e,[i,n[i]].concat(r));return!1}if(l.test(n)){var s=n.split(l);for(var o=0,u=s.length;o<u;o++)e[t].apply(e,[s[o]].concat(r));return!1}return!0},h=function(e,t){var n,r=-1,i=e.length,s=t[0],o=t[1],u=t[2];switch(t.length){case 0:while(++r<i)(n=e[r]).callback.call(n.ctx);return;case 1:while(++r<i)(n=e[r]).callback.call(n.ctx,s);return;case 2:while(++r<i)(n=e[r]).callback.call(n.ctx,s,o);return;case 3:while(++r<i)(n=e[r]).callback.call(n.ctx,s,o,u);return;default:while(++r<i)(n=e[r]).callback.apply(n.ctx,t);return}},p={listenTo:"on",listenToOnce:"once"};n.each(p,function(e,t){f[t]=function(t,r,i){var s=this._listeningTo||(this._listeningTo={}),o=t._listenId||(t._listenId=n.uniqueId("l"));return s[o]=t,!i&&typeof r=="object"&&(i=this),t[e](r,i,this),this}}),f.bind=f.on,f.unbind=f.off,n.extend(t,f);var d=t.Model=function(e,t){var r=e||{};t||(t={}),this.cid=n.uniqueId("c"),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(r=this.parse(r,t)||{}),r=n.defaults({},r,n.result(this,"defaults")),this.set(r,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(d.prototype,f,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return this.get(e)!=null},set:function(e,t,r){var i,s,o,u,a,f,l,c;if(e==null)return this;typeof e=="object"?(s=e,r=t):(s={})[e]=t,r||(r={});if(!this._validate(s,r))return!1;o=r.unset,a=r.silent,u=[],f=this._changing,this._changing=!0,f||(this._previousAttributes=n.clone(this.attributes),this.changed={}),c=this.attributes,l=this._previousAttributes,this.idAttribute in s&&(this.id=s[this.idAttribute]);for(i in s)t=s[i],n.isEqual(c[i],t)||u.push(i),n.isEqual(l[i],t)?delete this.changed[i]:this.changed[i]=t,o?delete c[i]:c[i]=t;if(!a){u.length&&(this._pending=r);for(var h=0,p=u.length;h<p;h++)this.trigger("change:"+u[h],this,c[u[h]],r)}if(f)return this;if(!a)while(this._pending)r=this._pending,this._pending=!1,this.trigger("change",this,r);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var r in this.attributes)t[r]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return e==null?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return this.hasChanged()?n.clone(this.changed):!1;var t,r=!1,i=this._changing?this._previousAttributes:this.attributes;for(var s in e){if(n.isEqual(i[s],t=e[s]))continue;(r||(r={}))[s]=t}return r},previous:function(e){return e==null||!this._previousAttributes?null:this._previousAttributes[e]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=e?n.clone(e):{},e.parse===void 0&&(e.parse=!0);var t=this,r=e.success;return e.success=function(n){if(!t.set(t.parse(n,e),e))return!1;r&&r(t,n,e),t.trigger("sync",t,n,e)},I(this,e),this.sync("read",this,e)},save:function(e,t,r){var i,s,o,u=this.attributes;e==null||typeof e=="object"?(i=e,r=t):(i={})[e]=t,r=n.extend({validate:!0},r);if(i&&!r.wait){if(!this.set(i,r))return!1}else if(!this._validate(i,r))return!1;i&&r.wait&&(this.attributes=n.extend({},u,i)),r.parse===void 0&&(r.parse=!0);var a=this,f=r.success;return r.success=function(e){a.attributes=u;var t=a.parse(e,r);r.wait&&(t=n.extend(i||{},t));if(n.isObject(t)&&!a.set(t,r))return!1;f&&f(a,e,r),a.trigger("sync",a,e,r)},I(this,r),s=this.isNew()?"create":r.patch?"patch":"update",s==="patch"&&(r.attrs=i),o=this.sync(s,this,r),i&&r.wait&&(this.attributes=u),o},destroy:function(e){e=e?n.clone(e):{};var t=this,r=e.success,i=function(){t.trigger("destroy",t,t.collection,e)};e.success=function(n){(e.wait||t.isNew())&&i(),r&&r(t,n,e),t.isNew()||t.trigger("sync",t,n,e)};if(this.isNew())return e.success(),!1;I(this,e);var s=this.sync("delete",this,e);return e.wait||i(),s},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||F();return this.isNew()?e:e.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},n.extend(e||{},{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var r=this.validationError=this.validate(e,t)||null;return r?(this.trigger("invalid",this,r,n.extend(t,{validationError:r})),!1):!0}});var v=["keys","values","pairs","invert","pick","omit"];n.each(v,function(e){d.prototype[e]=function(){var t=u.call(arguments);return t.unshift(this.attributes),n[e].apply(n,t)}});var m=t.Collection=function(e,t){t||(t={}),t.model&&(this.model=t.model),t.comparator!==void 0&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},g={add:!0,remove:!0,merge:!0},y={add:!0,remove:!1};n.extend(m.prototype,f,{model:d,initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.extend({merge:!1},t,y))},remove:function(e,t){var r=!n.isArray(e);e=r?[e]:n.clone(e),t||(t={});var i,s,o,u;for(i=0,s=e.length;i<s;i++){u=e[i]=this.get(e[i]);if(!u)continue;delete this._byId[u.id],delete this._byId[u.cid],o=this.indexOf(u),this.models.splice(o,1),this.length--,t.silent||(t.index=o,u.trigger("remove",u,this,t)),this._removeReference(u,t)}return r?e[0]:e},set:function(e,t){t=n.defaults({},t,g),t.parse&&(e=this.parse(e,t));var r=!n.isArray(e);e=r?e?[e]:[]:n.clone(e);var i,s,o,u,a,f,l,c=t.at,h=this.model,p=this.comparator&&c==null&&t.sort!==!1,v=n.isString(this.comparator)?this.comparator:null,m=[],y=[],b={},w=t.add,E=t.merge,S=t.remove,x=!p&&w&&S?[]:!1;for(i=0,s=e.length;i<s;i++){a=e[i]||{},a instanceof d?o=u=a:o=a[h.prototype.idAttribute||"id"];if(f=this.get(o))S&&(b[f.cid]=!0),E&&(a=a===u?u.attributes:a,t.parse&&(a=f.parse(a,t)),f.set(a,t),p&&!l&&f.hasChanged(v)&&(l=!0)),e[i]=f;else if(w){u=e[i]=this._prepareModel(a,t);if(!u)continue;m.push(u),this._addReference(u,t)}u=f||u,x&&(u.isNew()||!b[u.id])&&x.push(u),b[u.id]=!0}if(S){for(i=0,s=this.length;i<s;++i)b[(u=this.models[i]).cid]||y.push(u);y.length&&this.remove(y,t)}if(m.length||x&&x.length){p&&(l=!0),this.length+=m.length;if(c!=null)for(i=0,s=m.length;i<s;i++)this.models.splice(c+i,0,m[i]);else{x&&(this.models.length=0);var T=x||m;for(i=0,s=T.length;i<s;i++)this.models.push(T[i])}}l&&this.sort({silent:!0});if(!t.silent){for(i=0,s=m.length;i<s;i++)(u=m[i]).trigger("add",u,this,t);(l||x&&x.length)&&this.trigger("sort",this,t)}return r?e[0]:e},reset:function(e,t){t||(t={});for(var r=0,i=this.models.length;r<i;r++)this._removeReference(this.models[r],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e),t},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e),t},slice:function(){return u.apply(this.models,arguments)},get:function(e){return e==null?void 0:this._byId[e]||this._byId[e.id]||this._byId[e.cid]},at:function(e){return this.models[e]},where:function(e,t){return n.isEmpty(e)?t?void 0:[]:this[t?"find":"filter"](function(t){for(var n in e)if(e[n]!==t.get(n))return!1;return!0})},findWhere:function(e){return this.where(e,!0)},sort:function(e){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return e||(e={}),n.isString(this.comparator)||this.comparator.length===1?this.models=this.sortBy(this.comparator,this):this.models.sort(n.bind(this.comparator,this)),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return n.invoke(this.models,"get",e)},fetch:function(e){e=e?n.clone(e):{},e.parse===void 0&&(e.parse=!0);var t=e.success,r=this;return e.success=function(n){var i=e.reset?"reset":"set";r[i](n,e),t&&t(r,n,e),r.trigger("sync",r,n,e)},I(this,e),this.sync("read",this,e)},create:function(e,t){t=t?n.clone(t):{};if(!(e=this._prepareModel(e,t)))return!1;t.wait||this.add(e,t);var r=this,i=t.success;return t.success=function(e,n){t.wait&&r.add(e,t),i&&i(e,n,t)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(e instanceof d)return e;t=t?n.clone(t):{},t.collection=this;var r=new this.model(e,t);return r.validationError?(this.trigger("invalid",this,r.validationError,t),!1):r},_addReference:function(e,t){this._byId[e.cid]=e,e.id!=null&&(this._byId[e.id]=e),e.collection||(e.collection=this),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,r){if((e==="add"||e==="remove")&&n!==this)return;e==="destroy"&&this.remove(t,r),t&&e==="change:"+t.idAttribute&&(delete this._byId[t.previous(t.idAttribute)],t.id!=null&&(this._byId[t.id]=t)),this.trigger.apply(this,arguments)}});var b=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"];n.each(b,function(e){m.prototype[e]=function(){var t=u.call(arguments);return t.unshift(this.models),n[e].apply(n,t)}});var w=["groupBy","countBy","sortBy","indexBy"];n.each(w,function(e){m.prototype[e]=function(t,r){var i=n.isFunction(t)?t:function(e){return e.get(t)};return n[e](this.models,i,r)}});var E=t.View=function(e){this.cid=n.uniqueId("view"),e||(e={}),n.extend(this,n.pick(e,x)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},S=/^(\S+)\s*(.*)$/,x=["model","collection","el","id","attributes","className","tagName","events"];n.extend(E.prototype,f,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(e,n){return this.$el&&this.undelegateEvents(),this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0],n!==!1&&this.delegateEvents(),this},delegateEvents:function(e){if(!e&&!(e=n.result(this,"events")))return this;this.undelegateEvents();for(var t in e){var r=e[t];n.isFunction(r)||(r=this[e[t]]);if(!r)continue;var i=t.match(S),s=i[1],o=i[2];r=n.bind(r,this),s+=".delegateEvents"+this.cid,o===""?this.$el.on(s,r):this.$el.on(s,o,r)}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(!this.el){var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e["class"]=n.result(this,"className"));var r=t.$("<"+n.result(this,"tagName")+">").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=o.hide().appendTo("body")[0].contentWindow,this.navigate(r)}this._hasPushState?t.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!s?t.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=r;var u=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&u.hash&&(this.fragment=this.getHash().replace(_,""),this.history.replaceState({},document.title,this.root+this.fragment))}if(!this.options.silent)return this.loadUrl()},stop:function(){t.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),M.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();t===this.fragment&&this.iframe&&(t=this.getFragment(this.getHash(this.iframe)));if(t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return e=this.fragment=this.getFragment(e),n.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})},navigate:function(e,t){if(!M.started)return!1;if(!t||t===!0)t={trigger:!!t};var n=this.root+(e=this.getFragment(e||""));e=e.replace(B,"");if(this.fragment===e)return;this.fragment=e,e===""&&n!=="/"&&(n=n.slice(0,-1));if(this._hasPushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getFragment(this.getHash(this.iframe))&&(t.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,e,t.replace))}if(t.trigger)return this.loadUrl(e)},_updateHash:function(e,t,n){if(n){var r=e.href.replace(/(javascript:|#).*$/,"");e.replace(r+"#"+t)}else e.hash="#"+t}}),t.history=new M;var j=function(e,t){var r=this,i;e&&n.has(e,"constructor")?i=e.constructor:i=function(){return r.apply(this,arguments)},n.extend(i,r,t);var s=function(){this.constructor=i};return s.prototype=r.prototype,i.prototype=new s,e&&n.extend(i.prototype,e),i.__super__=r.prototype,i};d.extend=m.extend=C.extend=E.extend=M.extend=j;var F=function(){throw new Error('A "url" property or function must be specified')},I=function(e,t){var n=t.error;t.error=function(r){n&&n(e,r,t),e.trigger("error",e,r,t)}};return t}),function(e,t){typeof exports=="object"&&typeof require=="function"?module.exports=t(require("backbone"),require("underscore")):typeof define=="function"&&define.amd?define("backbone.browserStorage",["backbone","underscore"],function(n,r){return t(n||e.Backbone,r||e._)}):t(Backbone,_)}(this,function(e,t){function n(){return((1+Math.random())*65536|0).toString(16).substring(1)}function r(){return n()+n()+"-"+n()+"-"+n()+"-"+n()+"-"+n()+n()+n()}function i(e,t){var n=e.length;while(n--)if(e[n]===t)return!0;return!1}function s(e,t){for(var n in t)e[n]=t[n];return e}function o(e,n,r){var i;if(r==="local"&&!window.localStorage)throw"Backbone.browserStorage: Environment does not support localStorage.";if(r==="session"&&!window.sessionStorage)throw"Backbone.browserStorage: Environment does not support sessionStorage.";this.name=e,this.serializer=n||{serialize:function(e){return t.isObject(e)?JSON.stringify(e):e},deserialize:function(e){return e&&JSON.parse(e)}};if(r==="session")this.store=window.sessionStorage;else{if(r!=="local")throw"Backbone.browserStorage: No storage type was specified";this.store=window.localStorage}i=this.store.getItem(this.name),this.records=i&&i.split(",")||[]}e.BrowserStorage={local:function(e,t){return o.bind(this,e,t,"local")()},session:function(e,t){return o.bind(this,e,t,"session")()}};var u={save:function(){this.store.setItem(this.name,this.records.join(","))},create:function(e){return e.id||(e.id=r(),e.set(e.idAttribute,e.id)),this.store.setItem(this._itemName(e.id),this.serializer.serialize(e)),this.records.push(e.id.toString()),this.save(),this.find(e)!==!1},update:function(e){this.store.setItem(this._itemName(e.id),this.serializer.serialize(e));var t=e.id.toString();return i(this.records,t)||(this.records.push(t),this.save()),this.find(e)!==!1},find:function(e){return this.serializer.deserialize(this.store.getItem(this._itemName(e.id)))},findAll:function(){var e=[];for(var t=0,n,r;t<this.records.length;t++)n=this.records[t],r=this.serializer.deserialize(this.store.getItem(this._itemName(n))),r!==null&&e.push(r);return e},destroy:function(e){this.store.removeItem(this._itemName(e.id));var t=e.id.toString();for(var n=0,r;n<this.records.length;n++)this.records[n]===t&&this.records.splice(n,1);return this.save(),e},browserStorage:function(){return{session:sessionStorage,local:localStorage}},_clear:function(){var e=this.store,t=new RegExp("^"+this.name+"-");e.removeItem(this.name);for(var n in e)t.test(n)&&e.removeItem(n);this.records.length=0},_storageSize:function(){return this.store.length},_itemName:function(e){return this.name+"-"+e}};return s(e.BrowserStorage.session.prototype,u),s(e.BrowserStorage.local.prototype,u),e.BrowserStorage.sync=e.localSync=function(t,n,r){var i=n.browserStorage||n.collection.browserStorage,s,o,u=e.$?e.$.Deferred&&e.$.Deferred():e.Deferred&&e.Deferred();try{switch(t){case"read":s=n.id!==undefined?i.find(n):i.findAll();break;case"create":s=i.create(n);break;case"update":s=i.update(n);break;case"delete":s=i.destroy(n)}}catch(a){a.code===22&&i._storageSize()===0?o="Private browsing is unsupported":o=a.message}return s?(r&&r.success&&(e.VERSION==="0.9.10"?r.success(n,s,r):r.success(s)),u&&u.resolve(s)):(o=o?o:"Record Not Found",r&&r.error&&(e.VERSION==="0.9.10"?r.error(n,o,r):r.error(o)),u&&u.reject(o)),r&&r.complete&&r.complete(s),u&&u.promise()},e.ajaxSync=e.sync,e.getSyncMethod=function(t){return t.browserStorage||t.collection&&t.collection.browserStorage?e.localSync:e.ajaxSync},e.sync=function(t,n,r){return e.getSyncMethod(n).apply(this,[t,n,r])},e.BrowserStorage}),function(e,t){typeof define=="function"&&define.amd?define("backbone.overview",["underscore","backbone"],function(n,r){return t(n||e._,r||e.Backbone)}):t(_,Backbone)}(this,function(e,t){"use strict";var n=t.Overview=function(n){var r={};this.keys=function(){return e.keys(r)},this.getAll=function(){return r},this.get=function(e){return r[e]},this.add=function(e,t){return r[e]=t,t},this.remove=function(e){var t=r[e];if(t)return delete r[e],t.remove(),t},this.removeAll=function(t){e.each(e.keys(r),this.remove)},t.View.apply(this,Array.prototype.slice.apply(arguments))};return e.extend(n.prototype,t.View.prototype),n.extend=t.View.extend,t.Overview}),function(e){typeof define=="function"&&define.amd?define("jquery.easing",["jquery"],e):e(jQuery)}(function(e){e.easing.jswing=e.easing.swing,e.extend(e.easing,{def:"easeOutQuad",swing:function(t,n,r,i,s){return e.easing[e.easing.def](t,n,r,i,s)},easeInQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},easeOutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},easeOutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+n},easeOutSine:function(e,t,n,r,i){return r*Math.sin(t/i*(Math.PI/2))+n},easeInOutSine:function(e,t,n,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+n},easeInExpo:function(e,t,n,r,i){return t==0?n:r*Math.pow(2,10*(t/i-1))+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(-Math.pow(2,-10*t/i)+1)+n},easeInOutExpo:function(e,t,n,r,i){return t==0?n:t==i?n+r:(t/=i/2)<1?r/2*Math.pow(2,10*(t-1))+n:r/2*(-Math.pow(2,-10*--t)+2)+n},easeInCirc:function(e,t,n,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+n},easeOutCirc:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n},easeInOutCirc:function(e,t,n,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+n:r/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,r,i){var s=1.70158,o=0,u=r;if(t==0)return n;if((t/=i)==1)return n+r;o||(o=i*.3);if(u<Math.abs(r)){u=r;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(r/u);return-(u*Math.pow(2,10*(t-=1))*Math.sin((t*i-s)*2*Math.PI/o))+n},easeOutElastic:function(e,t,n,r,i){var s=1.70158,o=0,u=r;if(t==0)return n;if((t/=i)==1)return n+r;o||(o=i*.3);if(u<Math.abs(r)){u=r;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(r/u);return u*Math.pow(2,-10*t)*Math.sin((t*i-s)*2*Math.PI/o)+r+n},easeInOutElastic:function(e,t,n,r,i){var s=1.70158,o=0,u=r;if(t==0)return n;if((t/=i/2)==2)return n+r;o||(o=i*.3*1.5);if(u<Math.abs(r)){u=r;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(r/u);return t<1?-0.5*u*Math.pow(2,10*(t-=1))*Math.sin((t*i-s)*2*Math.PI/o)+n:u*Math.pow(2,-10*(t-=1))*Math.sin((t*i-s)*2*Math.PI/o)*.5+r+n},easeInBack:function(e,t,n,r,i,s){return s==undefined&&(s=1.70158),r*(t/=i)*t*((s+1)*t-s)+n},easeOutBack:function(e,t,n,r,i,s){return s==undefined&&(s=1.70158),r*((t=t/i-1)*t*((s+1)*t+s)+1)+n},easeInOutBack:function(e,t,n,r,i,s){return s==undefined&&(s=1.70158),(t/=i/2)<1?r/2*t*t*(((s*=1.525)+1)*t-s)+n:r/2*((t-=2)*t*(((s*=1.525)+1)*t+s)+2)+n},easeInBounce:function(t,n,r,i,s){return i-e.easing.easeOutBounce(t,s-n,0,i,s)+r},easeOutBounce:function(e,t,n,r,i){return(t/=i)<1/2.75?r*7.5625*t*t+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(t,n,r,i,s){return n<s/2?e.easing.easeInBounce(t,n*2,0,i,s)*.5+r:e.easing.easeOutBounce(t,n*2-s,0,i,s)*.5+i*.5+r}})}),function(e,t){typeof define=="function"&&define.amd?define("typeahead",["jquery"],function(n){t(n,e)}):t(jQuery,e)}(this,function(e,t){var n=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(e){return!e||/^\s*$/.test(e)},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(e){return typeof e=="string"},isNumber:function(e){return typeof e=="number"},isArray:e.isArray,isFunction:e.isFunction,isObject:e.isPlainObject,isUndefined:function(e){return typeof e=="undefined"},toStr:function(t){return n.isUndefined(t)||t===null?"":t+""},bind:e.proxy,each:function(t,n){function r(e,t){return n(t,e)}e.each(t,r)},map:e.map,filter:e.grep,every:function(t,n){var r=!0;return t?(e.each(t,function(e,i){if(!(r=n.call(null,i,e,t)))return!1}),!!r):r},some:function(t,n){var r=!1;return t?(e.each(t,function(e,i){if(r=n.call(null,i,e,t))return!1}),!!r):r},mixin:e.extend,getUniqueId:function(){var e=0;return function(){return e++}}(),templatify:function(n){function r(){return String(n)}return e.isFunction(n)?n:r},defer:function(e){setTimeout(e,0)},debounce:function(e,t,n){var r,i;return function(){var s=this,o=arguments,u,a;return u=function(){r=null,n||(i=e.apply(s,o))},a=n&&!r,clearTimeout(r),r=setTimeout(u,t),a&&(i=e.apply(s,o)),i}},throttle:function(e,t){var n,r,i,s,o,u;return o=0,u=function(){o=new Date,i=null,s=e.apply(n,r)},function(){var a=new Date,f=t-(a-o);return n=this,r=arguments,f<=0?(clearTimeout(i),i=null,o=a,s=e.apply(n,r)):i||(i=setTimeout(u,f)),s}},noop:function(){}}}(),r=function(){return{wrapper:'<span class="twitter-typeahead"></span>',dropdown:'<span class="tt-dropdown-menu"></span>',dataset:'<div class="tt-dataset-%CLASS%"></div>',suggestions:'<span class="tt-suggestions"></span>',suggestion:'<div class="tt-suggestion"></div>'}}(),i=function(){"use strict";var e={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return n.isMsie()&&n.mixin(e.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),n.isMsie()&&n.isMsie()<=7&&n.mixin(e.input,{marginTop:"-1px"}),e}(),s=function(){"use strict";function r(t){(!t||!t.el)&&e.error("EventBus initialized without el"),this.$el=e(t.el)}var t="typeahead:";return n.mixin(r.prototype,{trigger:function(e){var n=[].slice.call(arguments,1);this.$el.trigger(t+e,n)}}),r}(),o=function(){"use strict";function r(t,n,r,i){var s;if(!r)return this;n=n.split(e),r=i?l(r,i):r,this._callbacks=this._callbacks||{};while(s=n.shift())this._callbacks[s]=this._callbacks[s]||{sync:[],async:[]},this._callbacks[s][t].push(r);return this}function i(e,t,n){return r.call(this,"async",e,t,n)}function s(e,t,n){return r.call(this,"sync",e,t,n)}function o(t){var n;if(!this._callbacks)return this;t=t.split(e);while(n=t.shift())delete this._callbacks[n];return this}function u(t){var r,i,s,o,u;if(!this._callbacks)return this;t=t.split(e),s=[].slice.call(arguments,1);while((r=t.shift())&&(i=this._callbacks[r]))o=a(i.sync,this,[r].concat(s)),u=a(i.async,this,[r].concat(s)),o()&&n(u);return this}function a(e,t,n){function r(){var r;for(var i=0,s=e.length;!r&&i<s;i+=1)r=e[i].apply(t,n)===!1;return!r}return r}function f(){var e;return t.setImmediate?e=function(t){setImmediate(function(){t()})}:e=function(t){setTimeout(function(){t()},0)},e}function l(e,t){return e.bind?e.bind(t):function(){e.apply(t,[].slice.call(arguments,0))}}var e=/\s+/,n=f();return{onSync:s,onAsync:i,off:o,trigger:u}}(),u=function(e){"use strict";function r(e,t,r){var i=[],s;for(var o=0,u=e.length;o<u;o++)i.push(n.escapeRegExChars(e[o]));return s=r?"\\b("+i.join("|")+")\\b":"("+i.join("|")+")",t?new RegExp(s):new RegExp(s,"i")}var t={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(s){function u(t){var n,r,i;if(n=o.exec(t.data))i=e.createElement(s.tagName),s.className&&(i.className=s.className),r=t.splitText(n.index),r.splitText(n[0].length),i.appendChild(r.cloneNode(!0)),t.parentNode.replaceChild(i,r);return!!n}function a(e,t){var n,r=3;for(var i=0;i<e.childNodes.length;i++)n=e.childNodes[i],n.nodeType===r?i+=t(n)?1:0:a(n,t)}var o;s=n.mixin({},t,s);if(!s.node||!s.pattern)return;s.pattern=n.isArray(s.pattern)?s.pattern:[s.pattern],o=r(s.pattern,s.caseSensitive,s.wordsOnly),a(s.node,u)}}(t.document),a=function(){"use strict";function r(r){var s=this,o,u,a,f;r=r||{},r.input||e.error("input is missing"),o=n.bind(this._onBlur,this),u=n.bind(this._onFocus,this),a=n.bind(this._onKeydown,this),f=n.bind(this._onInput,this),this.$hint=e(r.hint),this.$input=e(r.input).on("blur.tt",o).on("focus.tt",u).on("keydown.tt",a),this.$hint.length===0&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=n.noop),n.isMsie()?this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(e){if(t[e.which||e.keyCode])return;n.defer(n.bind(s._onInput,s,e))}):this.$input.on("input.tt",f),this.query=this.$input.val(),this.$overflowHelper=i(this.$input)}function i(t){return e('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)}function s(e,t){return r.normalizeQuery(e)===r.normalizeQuery(t)}function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}var t;return t={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},r.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},n.mixin(r.prototype,o,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(n){var r=t[n.which||n.keyCode];this._managePreventDefault(r,n),r&&this._shouldTrigger(r,n)&&this.trigger(r+"Keyed",n)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,n){var r,i,s;switch(t){case"tab":i=this.getHint(),s=this.getInputValue(),r=i&&i!==s&&!u(n);break;case"up":case"down":r=!u(n);break;default:r=!1}r&&n.preventDefault()},_shouldTrigger:function(t,n){var r;switch(t){case"tab":r=!u(n);break;default:r=!0}return r},_checkInputValue:function(){var t,n,r;t=this.getInputValue(),n=s(t,this.query),r=n?this.query.length!==t.length:!1,this.query=t,n?r&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,n){this.$input.val(t),n?this.clearHint():this._checkInputValue()},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,n,r,i;t=this.getInputValue(),n=this.getHint(),r=t!==n&&n.indexOf(t)===0,i=t!==""&&r&&!this.hasOverflow(),!i&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var e,t,r;return e=this.$input.val().length,t=this.$input[0].selectionStart,n.isNumber(t)?t===e:document.selection?(r=document.selection.createRange(),r.moveStart("character",-e),e===r.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$hint=this.$input=this.$overflowHelper=null}}),r}(),f=function(){"use strict";function f(t){t=t||{},t.templates=t.templates||{},t.source||e.error("missing source"),t.name&&!h(t.name)&&e.error("invalid dataset name: "+t.name),this.query=null,this.highlight=!!t.highlight,this.name=t.name||n.getUniqueId(),this.source=t.source,this.displayFn=l(t.display||t.displayKey),this.templates=c(t.templates,this.displayFn),this.$el=e(r.dataset.replace("%CLASS%",this.name))}function l(e){function t(t){return t[e]}return e=e||"value",n.isFunction(e)?e:t}function c(e,t){function r(e){return"<p>"+t(e)+"</p>"}return{empty:e.empty&&n.templatify(e.empty),header:e.header&&n.templatify(e.header),footer:e.footer&&n.templatify(e.footer),suggestion:e.suggestion||r}}function h(e){return/^[_a-zA-Z0-9-]+$/.test(e)}var t="ttDataset",s="ttValue",a="ttDatum";return f.extractDatasetName=function(r){return e(r).data(t)},f.extractValue=function(n){return e(n).data(s)},f.extractDatum=function(n){return e(n).data(a)},n.mixin(f.prototype,o,{_render:function(f,l){function p(){return c.templates.empty({query:f,isEmpty:!0})}function d(){function p(n){var o;return o=e(r.suggestion).append(c.templates.suggestion(n)).data(t,c.name).data(s,c.displayFn(n)).data(a,n),o.children().each(function(){e(this).css(i.suggestionChild)}),o}var o,h;return o=e(r.suggestions).css(i.suggestions),h=n.map(l,p),o.append.apply(o,h),c.highlight&&u({className:"tt-highlight",node:o[0],pattern:f}),o}function v(){return c.templates.header({query:f,isEmpty:!h})}function m(){return c.templates.footer({query:f,isEmpty:!h})}if(!this.$el)return;var c=this,h;this.$el.empty(),h=l&&l.length,!h&&this.templates.empty?this.$el.html(p()).prepend(c.templates.header?v():null).append(c.templates.footer?m():null):h&&this.$el.html(d()).prepend(c.templates.header?v():null).append(c.templates.footer?m():null),this.trigger("rendered")},getRoot:function(){return this.$el},update:function(t){function r(e){!n.canceled&&t===n.query&&n._render(t,e)}var n=this;this.query=t,this.canceled=!1,this.source(t,r)},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=null}}),f}(),l=function(){"use strict";function t(t){var i=this,s,o,u;t=t||{},t.menu||e.error("menu is required"),this.isOpen=!1,this.isEmpty=!0,this.datasets=n.map(t.datasets,r),s=n.bind(this._onSuggestionClick,this),o=n.bind(this._onSuggestionMouseEnter,this),u=n.bind(this._onSuggestionMouseLeave,this),this.$menu=e(t.menu).on("click.tt",".tt-suggestion",s).on("mouseenter.tt",".tt-suggestion",o).on("mouseleave.tt",".tt-suggestion",u),n.each(this.datasets,function(e){i.$menu.append(e.getRoot()),e.onSync("rendered",i._onRendered,i)})}function r(e){return new f(e)}return n.mixin(t.prototype,o,{_onSuggestionClick:function(n){this.trigger("suggestionClicked",e(n.currentTarget))},_onSuggestionMouseEnter:function(n){this._removeCursor(),this._setCursor(e(n.currentTarget),!0)},_onSuggestionMouseLeave:function(){this._removeCursor()},_onRendered:function(){function t(e){return e.isEmpty()}this.isEmpty=n.every(this.datasets,t),this.isEmpty?this._hide():this.isOpen&&this._show(),this.trigger("datasetRendered")},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function(){return this.$menu.find(".tt-suggestion")},_getCursor:function(){return this.$menu.find(".tt-cursor").first()},_setCursor:function(t,n){t.first().addClass("tt-cursor"),!n&&this.trigger("cursorMoved")},_removeCursor:function(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function(t){var n,r,i,s;if(!this.isOpen)return;r=this._getCursor(),n=this._getSuggestions(),this._removeCursor(),i=n.index(r)+t,i=(i+1)%(n.length+1)-1;if(i===-1){this.trigger("cursorRemoved");return}i<-1&&(i=n.length-1),this._setCursor(s=n.eq(i)),this._ensureVisible(s)},_ensureVisible:function(t){var n,r,i,s;n=t.position().top,r=n+t.outerHeight(!0),i=this.$menu.scrollTop(),s=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10),n<0?this.$menu.scrollTop(i+n):s<r&&this.$menu.scrollTop(i+(r-s))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,!this.isEmpty&&this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css(t==="ltr"?i.ltr:i.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var n=null;return t.length&&(n={raw:f.extractDatum(t),value:f.extractValue(t),datasetName:f.extractDatasetName(t)}),n},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},update:function(t){function r(e){e.update(t)}n.each(this.datasets,r)},empty:function(){function t(e){e.clear()}n.each(this.datasets,t),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){function t(e){e.destroy()}this.$menu.off(".tt"),this.$menu=null,n.each(this.datasets,t)}}),t}(),c=function(){"use strict";function o(t){var r,i,o;t=t||{},t.input||e.error("missing input"),this.isActivated=!1,this.autoselect=!!t.autoselect,this.minLength=n.isNumber(t.minLength)?t.minLength:1,this.$node=u(t.input,t.withHint),r=this.$node.find(".tt-dropdown-menu"),i=this.$node.find(".tt-input"),o=this.$node.find(".tt-hint"),i.on("blur.tt",function(e){var t,s,o;t=document.activeElement,s=r.is(t),o=r.has(t).length>0,n.isMsie()&&(s||o)&&(e.preventDefault(),e.stopImmediatePropagation(),n.defer(function(){i.focus()}))}),r.on("mousedown.tt",function(e){e.preventDefault()}),this.eventBus=t.eventBus||new s({el:i}),this.dropdown=(new l({menu:r,datasets:t.datasets})).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=(new a({input:i,hint:o})).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._setLanguageDirection()}function u(n,s){var o,u,a,l;o=e(n),u=e(r.wrapper).css(i.wrapper),a=e(r.dropdown).css(i.dropdown),l=o.clone().css(i.hint).css(f(o)),l.val("").removeData().addClass("tt-hint").removeAttr("id name placeholder required").prop("readonly",!0).attr({autocomplete:"off",spellcheck:"false",tabindex:-1}),o.data(t,{dir:o.attr("dir"),autocomplete:o.attr("autocomplete"),spellcheck:o.attr("spellcheck"),style:o.attr("style")}),o.addClass("tt-input").attr({autocomplete:"off",spellcheck:!1}).css(s?i.input:i.inputWithNoHint);try{!o.attr("dir")&&o.attr("dir","auto")}catch(c){}return o.wrap(u).parent().prepend(s?l:null).append(a)}function f(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}function c(e){var r=e.find(".tt-input");n.each(r.data(t),function(e,t){n.isUndefined(e)?r.removeAttr(t):r.attr(t,e)}),r.detach().removeData(t).removeClass("tt-input").insertAfter(e),e.remove()}var t="ttAttrs";return n.mixin(o.prototype,{_onSuggestionClicked:function(t,n){var r;(r=this.dropdown.getDatumForSuggestion(n))&&this._select(r)},_onCursorMoved:function(){var t=this.dropdown.getDatumForCursor();this.input.setInputValue(t.value,!0),this.eventBus.trigger("cursorchanged",t.raw,t.datasetName)},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint()},_onDatasetRendered:function(){this._updateHint()},_onOpened:function(){this._updateHint(),this.eventBus.trigger("opened")},_onClosed:function(){this.input.clearHint(),this.eventBus.trigger("closed")},_onFocused:function(){this.isActivated=!0,this.dropdown.open()},_onBlurred:function(){this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()},_onEnterKeyed:function(t,n){var r,i;r=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion(),r?(this._select(r),n.preventDefault()):this.autoselect&&i&&(this._select(i),n.preventDefault())},_onTabKeyed:function(t,n){var r;(r=this.dropdown.getDatumForCursor())?(this._select(r),n.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){this.dir==="rtl"&&this._autocomplete()},_onRightKeyed:function(){this.dir==="ltr"&&this._autocomplete()},_onQueryChanged:function(t,n){this.input.clearHintIfInvalid(),n.length>=this.minLength?this.dropdown.update(n):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t;this.dir!==(t=this.input.getLanguageDirection())&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,r,i,s,o,u;t=this.dropdown.getDatumForTopSuggestion(),t&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(r=this.input.getInputValue(),i=a.normalizeQuery(r),s=n.escapeRegExChars(i),o=new RegExp("^(?:"+s+")(.+$)","i"),u=o.exec(t.value),u?this.input.setHint(r+u[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var n,r,i,s;n=this.input.getHint(),r=this.input.getQuery(),i=t||this.input.isCursorAtEnd(),n&&r!==n&&i&&(s=this.dropdown.getDatumForTopSuggestion(),s&&this.input.setInputValue(s.value),this.eventBus.trigger("autocompleted",s.raw,s.datasetName))},_select:function(t){this.input.setQuery(t.value),this.input.setInputValue(t.value,!0),this._setLanguageDirection(),this.eventBus.trigger("selected",t.raw,t.datasetName),this.dropdown.close(),n.defer(n.bind(this.dropdown.empty,this.dropdown))},open:function(){this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=n.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),c(this.$node),this.$node=null}}),o}();return function(){"use strict";var t,r,i;t=e.fn.typeahead,r="ttTypeahead",i={initialize:function(i,o){function u(){var t=e(this),u,a;n.each(o,function(e){e.highlight=!!i.highlight}),a=new c({input:t,eventBus:u=new s({el:t}),withHint:n.isUndefined(i.hint)?!0:!!i.hint,minLength:i.minLength,autoselect:i.autoselect,datasets:o}),t.data(r,a)}return o=n.isArray(o)?o:[].slice.call(arguments,1),i=i||{},this.each(u)},open:function(){function n(){var t=e(this),n;(n=t.data(r))&&n.open()}return this.each(n)},close:function(){function n(){var t=e(this),n;(n=t.data(r))&&n.close()}return this.each(n)},val:function(n){function i(){var t=e(this),i;(i=t.data(r))&&i.setVal(n)}function s(e){var t,n;if(t=e.data(r))n=t.getVal();return n}return arguments.length?this.each(i):s(this.first())},destroy:function(){function n(){var t=e(this),n;if(n=t.data(r))n.destroy(),t.removeData(r)}return this.each(n)}},e.fn.typeahead=function(t){var n;return i[t]&&t!=="initialize"?(n=this.filter(function(){return!!e(this).data(r)}),i[t].apply(n,[].slice.call(arguments,1))):i.initialize.apply(this,arguments)},e.fn.typeahead.noConflict=function(){return e.fn.typeahead=t,this}}(),{}}),define("converse-dependencies",["jquery","underscore","utils","otr","moment_with_locales","strophe","strophe.vcard","strophe.disco","strophe.ping","bootstrapJS","backbone.browserStorage","backbone.overview","jquery.browser","jquery.easing","typeahead"],function(e,t,n,r,i,s){return t.extend({underscore:t,jQuery:e,otr:r,moment:i,utils:n},s)}),function(e,t){typeof define=="function"&&define.amd?define("converse",["converse-dependencies","converse-templates"],function(e,n){return t(n,e.jQuery,e.$iq,e.$msg,e.$pres,e.$build,e.otr?e.otr.DSA:undefined,e.otr?e.otr.OTR:undefined,e.Strophe,e.underscore,e.moment,e.utils,e.SHA1.b64_sha1)}):e.converse=t(templates,jQuery,$iq,$msg,$pres,$build,DSA,OTR,Strophe,_,moment,utils,b64_sha1)}(this,function(e,t,n,r,i,s,o,u,a,f,l,c,h){if(typeof console=="undefined"||typeof console.log=="undefined")console={log:function(){},error:function(){}};f.templateSettings={evaluate:/\{\[([\s\S]+?)\]\}/g,interpolate:/\{\{([\s\S]+?)\}\}/g};var p=function(e,t){return function(n){if(typeof e=="object"){var r=!1;return f.each(e,function(e){r=r||n.get(e).toLowerCase().indexOf(t.toLowerCase())!==-1}),r}if(typeof e=="string")return n.get(e).toLowerCase().indexOf(t.toLowerCase())!==-1;throw new TypeError("contains: wrong attribute type. Must be string or array.")}};p.not=function(e,t){return function(n){return!p(e,t)(n)}},String.prototype.splitOnce=function(e){var t=this.split(e);return[t.shift(),t.join(e)]},t.fn.addEmoticons=function(){return d.visible_toolbar_buttons.emoticons&&this.length>0&&this.each(function(e,n){var r=t(n).html();r=r.replace(/&gt;:\)/g,'<span class="emoticon icon-evil"></span>'),r=r.replace(/:\)/g,'<span class="emoticon icon-smiley"></span>'),r=r.replace(/:\-\)/g,'<span class="emoticon icon-smiley"></span>'),r=r.replace(/;\)/g,'<span class="emoticon icon-wink"></span>'),r=r.replace(/;\-\)/g,'<span class="emoticon icon-wink"></span>'),r=r.replace(/:D/g,'<span class="emoticon icon-grin"></span>'),r=r.replace(/:\-D/g,'<span class="emoticon icon-grin"></span>'),r=r.replace(/:P/g,'<span class="emoticon icon-tongue"></span>'),r=r.replace(/:\-P/g,'<span class="emoticon icon-tongue"></span>'),r=r.replace(/:p/g,'<span class="emoticon icon-tongue"></span>'),r=r.replace(/:\-p/g,'<span class="emoticon icon-tongue"></span>'),r=r.replace(/8\)/g,'<span class="emoticon icon-cool"></span>'),r=r.replace(/:S/g,'<span class="emoticon icon-confused"></span>'),r=r.replace(/:\\/g,'<span class="emoticon icon-wondering"></span>'),r=r.replace(/:\/ /g,'<span class="emoticon icon-wondering"></span>'),r=r.replace(/&gt;:\(/g,'<span class="emoticon icon-angry"></span>'),r=r.replace(/:\(/g,'<span class="emoticon icon-sad"></span>'),r=r.replace(/:\-\(/g,'<span class="emoticon icon-sad"></span>'),r=r.replace(/:O/g,'<span class="emoticon icon-shocked"></span>'),r=r.replace(/:\-O/g,'<span class="emoticon icon-shocked"></span>'),r=r.replace(/\=\-O/g,'<span class="emoticon icon-shocked"></span>'),r=r.replace(/\(\^.\^\)b/g,'<span class="emoticon icon-thumbs-up"></span>'),r=r.replace(/&lt;3/g,'<span class="emoticon icon-heart"></span>'),t(n).html(r)}),this};var d={plugins:{},templates:e,emit:function(e,n){t(this).trigger(e,n)},once:function(e,n){t(this).one(e,n)},on:function(e,n){t(this).bind(e,n)},off:function(e,n){t(this).unbind(e,n)},refreshWebkit:function(){if(t.browser.webkit){var e=document.getElementById("conversejs");e.style.display="none",e.offsetHeight=e.offsetHeight,e.style.display="block"}}},v={offline:6,unavailable:5,xa:4,away:3,dnd:2,chat:1,online:1};d.initialize=function(d,m){"use strict";var g=this,y;"onpagehide"in window?y="pagehide":"onbeforeunload"in window?y="beforeunload":"onunload"in window&&(y="unload"),a.log=function(e,t){g.log(e+" "+t,e)},a.error=function(e){g.log(e,"error")},a.addNamespace("CHATSTATES","http://jabber.org/protocol/chatstates"),a.addNamespace("MUC_ADMIN",a.NS.MUC+"#admin"),a.addNamespace("MUC_OWNER",a.NS.MUC+"#owner"),a.addNamespace("MUC_REGISTER","jabber:iq:register"),a.addNamespace("MUC_ROOMCONF",a.NS.MUC+"#roomconfig"),a.addNamespace("MUC_USER",a.NS.MUC+"#user"),a.addNamespace("REGISTER","jabber:iq:register"),a.addNamespace("ROSTERX","http://jabber.org/protocol/rosterx"),a.addNamespace("XFORM","jabber:x:data"),a.addNamespace("CSI","urn:xmpp:csi:0");var b=0;Object.keys(a.Status).forEach(function(e){b=Math.max(b,a.Status[e])}),a.Status.REGIFAIL=b+1,a.Status.REGISTERED=b+2,a.Status.CONFLICT=b+3,a.Status.NOTACCEPTABLE=b+5;var w="login",E="anonymous",S="prebind",x=0,T=1,N=2,C=3,k={ENTER:13,FORWARD_SLASH:47},L={0:"ERROR",1:"CONNECTING",2:"CONNFAIL",3:"AUTHENTICATING",4:"AUTHFAIL",5:"CONNECTED",6:"DISCONNECTED",7:"DISCONNECTING",8:"ATTACHED",9:"REDIRECT"},A="inactive",O="active",M="composing",D="paused",P="gone";this.TIMEOUTS={PAUSED:2e4,INACTIVE:9e4};var H=typeof crypto!="undefined"&&(typeof crypto.randomBytes=="function"||typeof crypto.getRandomValues=="function"),B=H&&typeof CryptoJS!="undefined"&&typeof u!="undefined"&&typeof o!="undefined",j="opened",F="closed";this.isConverseLocale=function(e){return typeof locales[e]!="undefined"},this.isMomentLocale=function(e){return l.locale()!=l.locale(e)},this.isLocaleAvailable=function(e,t){if(t(e))return e;var n=e.split("-")[0];if(n!=e&&t(n))return n},this.detectLocale=function(e){var t,n;window.navigator.userLanguage&&(t=this.isLocaleAvailable(window.navigator.userLanguage,e));if(window.navigator.languages&&!t)for(n=0;n<window.navigator.languages.length&&!t;n++)t=this.isLocaleAvailable(window.navigator.languages[n],e);return window.navigator.browserLanguage&&!t&&(t=this.isLocaleAvailable(window.navigator.browserLanguage,e)),window.navigator.language&&!t&&(t=this.isLocaleAvailable(window.navigator.language,e)),window.navigator.systemLanguage&&!t&&(t=this.isLocaleAvailable(window.navigator.systemLanguage,e)),t||"en"},l.locale||(l.locale=l.lang),l.locale(this.detectLocale(this.isMomentLocale)),this.i18n=d.i18n?d.i18n:locales[this.detectLocale(this.isConverseLocale)];var I=c.__.bind(this),q=c.___;this.default_settings={allow_chat_pending_contacts:!1,allow_contact_removal:!0,allow_contact_requests:!0,allow_dragresize:!0,allow_logout:!0,allow_muc:!0,allow_otr:!0,auto_away:0,auto_xa:0,allow_registration:!0,animate:!0,auto_list_rooms:!1,auto_login:!1,auto_reconnect:!1,auto_subscribe:!1,bosh_service_url:undefined,cache_otr_key:!1,csi_waiting_time:0,debug:!1,domain_placeholder:I(" e.g. conversejs.org"),default_box_height:400,expose_rid_and_sid:!1,forward_messages:!1,hide_muc_server:!1,hide_offline_users:!1,jid:undefined,keepalive:!1,message_carbons:!1,no_trimming:!1,ping_interval:180,play_sounds:!1,sounds_path:"/sounds/",password:undefined,authentication:"login",prebind:!1,prebind_url:null,providers_link:"https://xmpp.net/directory.php",rid:undefined,roster_groups:!1,show_controlbox_by_default:!1,show_only_online_users:!1,show_toolbar:!0,sid:undefined,storage:"session",use_otr_by_default:!1,use_vcards:!0,visible_toolbar_buttons:{emoticons:!0,call:!1,clear:!0,toggle_participants:!0},websocket_url:undefined,xhr_custom_status:!1,xhr_custom_status_url:"",xhr_user_search:!1,xhr_user_search_url:""},f.extend(this,this.default_settings),f.extend(this,f.pick(d,Object.keys(this.default_settings))),this.prebind===!0&&(this.authentication=S);if(this.authentication===E&&!this.jid)throw"Config Error: you need to provide the server's domain via the 'jid' option when using anonymous authentication.";d.visible_toolbar_buttons&&f.extend(this.visible_toolbar_buttons,f.pick(d.visible_toolbar_buttons,["emoticons","call","clear","toggle_participants"])),t.fx.off=!this.animate,this.allow_otr=this.allow_otr&&B,this.use_otr_by_default=this.use_otr_by_default&&this.allow_otr;var R={};R[x]="unencrypted",R[T]="unverified",R[N]="verified",R[C]="finished";var U={};U[x]=I("unencrypted"),U[T]=I("unverified"),U[N]=I("verified"),U[C]=I("finished");var z={dnd:I("This contact is busy"),online:I("This contact is online"),offline:I("This contact is offline"),unavailable:I("This contact is unavailable"),xa:I("This contact is away for an extended period"),away:I("This contact is away")},W=I("Click to hide these contacts"),X=I("My contacts"),V=I("Pending contacts"),J=I("Contact requests"),K=I("Ungrouped"),Q=I("Contacts"),G=I("Groups"),Y={};Y[X]=0,Y[K]=1,Y[J]=2,Y[V]=3,this.callback=m||function(){},this.initial_presence_sent=0,this.msg_counter=0,this.sendCSI=function(e){if(g.features[a.NS.CSI]||!0)g.connection.send(s(e,{xmlns:a.NS.CSI})),this.inactive=e===A?!0:!1},this.onUserActivity=function(){this.idle_seconds>0&&(this.idle_seconds=0);if(!g.connection.authenticated)return;this.inactive&&this.sendCSI(O),this.auto_changed_status===!0&&(this.auto_changed_status=!1,this.xmppstatus.setStatus("online"))},this.onEverySecond=function(){if(!g.connection.authenticated)return;var e=this.xmppstatus.getStatus();this.idle_seconds++,this.csi_waiting_time>0&&this.idle_seconds>this.csi_waiting_time&&!this.inactive&&this.sendCSI(A),this.auto_away>0&&this.idle_seconds>this.auto_away&&e!=="away"&&e!=="xa"?(this.auto_changed_status=!0,this.xmppstatus.setStatus("away")):this.auto_xa>0&&this.idle_seconds>this.auto_xa&&e!=="xa"&&(this.auto_changed_status=!0,this.xmppstatus.setStatus("xa"))},this.registerIntervalHandler=function(){if(this.auto_away<1&&this.auto_xa<1&&this.csi_waiting_time<1)return;this.idle_seconds=0,this.auto_changed_status=!1,t(window).on("click mousemove keypress focus"+y,this.onUserActivity.bind(this)),window.setInterval(this.onEverySecond.bind(this),1e3)},this.playNotification=function(){var e;g.play_sounds&&typeof Audio!="undefined"&&(e=new Audio(g.sounds_path+"msg_received.ogg"),e.canPlayType("/audio/ogg")?e.play():(e=new Audio(g.sounds_path+"msg_received.mp3"),e.play()))},this.giveFeedback=function(e,n){t(".conn-feedback").each(function(r,i){var s=t(i);s.addClass("conn-feedback").text(e),n?s.addClass(n):s.removeClass("error")})},this.log=function(e,t){this.debug&&(t=="error"?console.log("ERROR: "+e):console.log(e))},this.rejectPresenceSubscription=function(e,t){var n=i({to:e,type:"unsubscribed"});t&&t!==""&&n.c("status").t(t),g.connection.send(n)},this.getVCard=function(e,n,r){if(!this.use_vcards){n&&n(e,e);return}g.connection.vcard.get(function(r){var i=t(r).find("vCard"),s=i.find("FN").text(),o=i.find("BINVAL").text(),u=i.find("TYPE").text(),a=i.find("URL").text();if(e){var c=g.roster.get(e);c&&(s=f.isEmpty(s)?c.get("fullname")||e:s,c.save({fullname:s,image_type:u,image:o,url:a,vcard_updated:l().format()}))}n&&n(r,e,s,o,u,a)}.bind(this),e,function(t){var n=g.roster.get(e);n&&n.save({vcard_updated:l().format()}),r&&r(t,e)})},this.reconnect=function(e){g.log("Attempting to reconnect in 5 seconds"),g.giveFeedback(I("Attempting to reconnect in 5 seconds"),"error"),setTimeout(function(){g.authentication!=="prebind"?this.connection.connect(this.connection.jid,this.connection.pass,function(e,t){this.onConnectStatusChanged(e,t,!0)}.bind(this),this.connection.wait,this.connection.hold,this.connection.route):g.prebind_url&&(this.clearSession(),this._tearDown(),this.startNewBOSHSession())}.bind(this),5e3)},this.renderLoginPanel=function(){g._tearDown();var e=g.chatboxviews.get("controlbox");e.model.set({connected:!1}),e.renderLoginPanel()},this.onConnectStatusChanged=function(e,t,n){g.log("Status changed to: "+L[e]),e===a.Status.CONNECTED||e===a.Status.ATTACHED?(delete g.disconnection_cause,typeof n!="undefined"&&n?(g.log(e===a.Status.CONNECTED?"Reconnected":"Reattached"),g.onReconnected()):(g.log(e===a.Status.CONNECTED?"Connected":"Attached"),g.onConnected())):e===a.Status.DISCONNECTED?g.disconnection_cause==a.Status.CONNFAIL&&g.auto_reconnect?g.reconnect(t):g.renderLoginPanel():e===a.Status.ERROR?g.giveFeedback(I("Error"),"error"):e===a.Status.CONNECTING?g.giveFeedback(I("Connecting")):e===a.Status.AUTHENTICATING?g.giveFeedback(I("Authenticating")):e===a.Status.AUTHFAIL?(g.giveFeedback(I("Authentication Failed"),"error"),g.connection.disconnect(I("Authentication Failed")),g.disconnection_cause=a.Status.AUTHFAIL):e===a.Status.CONNFAIL?g.disconnection_cause=a.Status.CONNFAIL:e===a.Status.DISCONNECTING&&(g.connection.connected||g.renderLoginPanel(),t&&g.giveFeedback(t,"error"))},this.applyHeightResistance=function(e){if(typeof e=="undefined")return g.default_box_height;var t=10;return e!==g.default_box_height&&Math.abs(e-g.default_box_height)<t?g.default_box_height:e},this.updateMsgCounter=function(){this.msg_counter>0?(document.title.search(/^Messages \(\d+\) /)==-1?document.title="Messages ("+this.msg_counter+") "+document.title:document.title=document.title.replace(/^Messages \(\d+\) /,"Messages ("+this.msg_counter+") "),window.blur(),window.focus()):document.title.search(/^Messages \(\d+\) /)!=-1&&(document.title=document.title.replace(/^Messages \(\d+\) /,""))},this.incrementMsgCounter=function(){this.msg_counter+=1,this.updateMsgCounter()},this.clearMsgCounter=function(){this.msg_counter=0,this.updateMsgCounter()},this.initStatus=function(e){this.xmppstatus=new this.XMPPStatus;var t=h("converse.xmppstatus-"+g.bare_jid);this.xmppstatus.id=t,this.xmppstatus.browserStorage=new Backbone.BrowserStorage[g.storage](t),this.xmppstatus.fetch({success:e,error:e})},this.initSession=function(){this.session=new this.Session;var e=h("converse.bosh-session");this.session.id=e,this.session.browserStorage=new Backbone.BrowserStorage[g.storage](e),this.session.fetch()},this.clearSession=function(){this.roster&&this.roster.browserStorage._clear(),this.session.browserStorage._clear(),g.connection.connected&&g.chatboxes.get("controlbox").save({connected:!1})},this.logOut=function(){g.chatboxviews.closeAllChatBoxes(!1),g.clearSession(),g.connection.disconnect()},this.registerGlobalEventHandlers=function(){t(document).click(function(){t(".toggle-otr ul").is(":visible")&&t(".toggle-otr ul",this).slideUp(),t(".toggle-smiley ul").is(":visible")&&t(".toggle-smiley ul",this).slideUp()}),t(document).on("mousemove",function(e){if(!this.resized_chatbox||!this.allow_dragresize)return!0;e.preventDefault(),this.resized_chatbox.resizeChatBox(e)}.bind(this)),t(document).on("mouseup",function(e){if(!this.resized_chatbox||!this.allow_dragresize)return!0;e.preventDefault();var t=this.applyHeightResistance(this.resized_chatbox.height);this.connection.connected?this.resized_chatbox.model.save({height:t}):this.resized_chatbox.model.set({height:t}),this.resized_chatbox=null}.bind(this)),t(window).on("blur focus",function(e){this.windowState!=e.type&&e.type=="focus"&&g.clearMsgCounter(),this.windowState=e.type}.bind(this)),t(window).on("resize",f.debounce(function(e){this.chatboxviews.trimChats()}.bind(this),200))},this.ping=function(e,t,n,r){g.lastStanzaDate=new Date;if(typeof e=="undefined"||e===null)e=a.getDomainFromJid(g.bare_jid);return typeof r=="undefined"&&(r=null),typeof t=="undefined"&&(t=null),typeof n=="undefined"&&(n=null),g.connection?(g.connection.ping.ping(e,t,n,r),!0):!1},this.pong=function(e){return g.lastStanzaDate=new Date,g.connection.ping.pong(e),!0},this.registerPongHandler=function(){g.connection.disco.addFeature(a.NS.PING),g.connection.ping.addPingHandler(this.pong)},this.registerPingHandler=function(){this.registerPongHandler(),this.ping_interval>0&&(this.connection.addHandler(function(){return this.lastStanzaDate=new Date,!0}.bind(g)),this.connection.addTimedHandler(1e3,function(){var e=new Date;return this.lastStanzaDate||(this.lastStanzaDate=e),(e-this.lastStanzaDate)/1e3>this.ping_interval?this.ping():!0}))},this.onReconnected=function(){this.initStatus(function(){this.registerPingHandler(),this.rosterview.registerRosterXHandler(),this.rosterview.registerPresenceHandler(),this.chatboxes.registerMessageHandler(),this.xmppstatus.sendPresence(),this.giveFeedback(I("Contacts"))}.bind(this))},this.enableCarbons=function(){if(!this.message_carbons||this.session.get("carbons_enabled"))return;var e=(new a.Builder("iq",{from:this.connection.jid,id:"enablecarbons",type:"set"})).c("enable",{xmlns:"urn:xmpp:carbons:2"});this.connection.addHandler(function(e){t(e).find("error").length>0?g.log("ERROR: An error occured while trying to enable message carbons."):(this.session.save({carbons_enabled:!0}),g.log("Message carbons have been enabled."))}.bind(this),null,"iq",null,"enablecarbons"),this.connection.send(e)},this.onConnected=function(){this.chatboxviews.closeAllChatBoxes(),this.jid=this.connection.jid,this.bare_jid=a.getBareJidFromJid(this.connection.jid),this.resource=a.getResourceFromJid(this.connection.jid),this.domain=a.getDomainFromJid(this.connection.jid),this.minimized_chats=new g.MinimizedChats({model:this.chatboxes}),this.features=new this.Features,this.enableCarbons(),this.initStatus(function(){this.registerPingHandler(),this.registerIntervalHandler(),this.chatboxes.onConnected(),this.giveFeedback(I("Contacts")),this.callback&&(this.connection.service==="jasmine tests"?this.callback(this):this.callback())}.bind(this)),g.emit("ready")},this.OTR=Backbone.Model.extend({getSessionPassphrase:function(){if(g.authentication==="prebind"){var e=h(g.connection.jid),t=window.sessionStorage[e];return typeof t=="undefined"&&(t=Math.floor(Math.random()*4294967295).toString(),window.sessionStorage[e]=t),t}return g.connection.pass},generatePrivateKey:function(){var e=new o,t=g.connection.jid;if(g.cache_otr_key){var n=CryptoJS.lib.PasswordBasedCipher,r=this.getSessionPassphrase();typeof r!="undefined"&&(window.sessionStorage[h(t+"priv_key")]=n.encrypt(CryptoJS.algo.AES,e.packPrivate(),r).toString(),window.sessionStorage[h(t+"instance_tag")]=instance_tag,window.sessionStorage[h(t+"pass_check")]=n.encrypt(CryptoJS.algo.AES,"match",r).toString())}return e}}),this.Message=Backbone.Model,this.Messages=Backbone.Collection.extend({model:g.Message}),this.ChatBox=Backbone.Model.extend({initialize:function(){var e=g.applyHeightResistance(this.get("height"));this.get("box_id")!=="controlbox"?(this.messages=new g.Messages,this.messages.browserStorage=new Backbone.BrowserStorage[g.storage](h("converse.messages"+this.get("jid")+g.bare_jid)),this.save({chat_state:undefined,box_id:h(this.get("jid")),height:e,minimized:this.get("minimized")||!1,num_unread:this.get("num_unread")||0,otr_status:this.get("otr_status")||x,time_minimized:this.get("time_minimized")||l(),time_opened:this.get("time_opened")||l().valueOf(),url:"",user_id:a.getNodeFromJid(this.get("jid"))})):this.set({height:e,time_opened:l(0).valueOf(),num_unread:this.get("num_unread")||0})},maximize:function(){this.save({minimized:!1,time_opened:l().valueOf()})},minimize:function(){this.save({minimized:!0,time_minimized:l().format()})},getSession:function(e){var t=CryptoJS.lib.PasswordBasedCipher,n,r,i,s,a;if(g.cache_otr_key){r=g.otr.getSessionPassphrase();if(typeof r!="undefined"){i=window.sessionStorage[h(this.id+"instance_tag")],s=window.sessionStorage[h(this.id+"priv_key")],a=window.sessionStorage[h(this.connection.jid+"pass_check")];if(s&&i&&typeof a!="undefined"){var f=t.decrypt(CryptoJS.algo.AES,s,r),l=o.parsePrivate(f.toString(CryptoJS.enc.Latin1));if(t.decrypt(CryptoJS.algo.AES,a,r).toString(CryptoJS.enc.Latin1)==="match"){this.trigger("showHelpMessages",[I("Re-establishing encrypted session")]),e({key:l,instance_tag:i});return}}}}this.trigger("showHelpMessages",[I("Generating private key."),I("Your browser might become unresponsive.")],null,!0),setTimeout(function(){e({key:g.otr.generatePrivateKey.apply(this),instance_tag:u.makeInstanceTag()})},500)},updateOTRStatus:function(e){switch(e){case u.CONST.STATUS_AKE_SUCCESS:this.otr.msgstate===u.CONST.MSGSTATE_ENCRYPTED&&this.save({otr_status:T});break;case u.CONST.STATUS_END_OTR:this.otr.msgstate===u.CONST.MSGSTATE_FINISHED?this.save({otr_status:C}):this.otr.msgstate===u.CONST.MSGSTATE_PLAINTEXT&&this.save({otr_status:x})}},onSMP:function(e,t){switch(e){case"question":this.otr.smpSecret(prompt(I("Authentication request from %1$s\n\nYour chat contact is attempting to verify your identity, by asking you the question below.\n\n%2$s",[this.get("fullname"),t])));break;case"trust":t===!0?this.save({otr_status:N}):(this.trigger("showHelpMessages",[I("Could not verify this user's identify.")],"error"),this.save({otr_status:T}));break;default:throw new TypeError("ChatBox.onSMP: Unknown type for SMP")}},initiateOTR:function(e){this.save({otr_status:x});var t=this.getSession(function(t){this.otr=new u({fragment_size:140,send_interval:200,priv:t.key,instance_tag:t.instance_tag,debug:this.debug}),this.otr.on("status",this.updateOTRStatus.bind(this)),this.otr.on("smp",this.onSMP.bind(this)),this.otr.on("ui",function(e){this.trigger("showReceivedOTRMessage",e)}.bind(this)),this.otr.on("io",function(e){this.trigger("sendMessage",e)}.bind(this)),this.otr.on("error",function(e){this.trigger("showOTRError",e)}.bind(this)),this.trigger("showHelpMessages",[I("Exchanging private key with contact.")]),e?this.otr.receiveMsg(e):this.otr.sendQueryMsg()}.bind(this))},endOTR:function(){this.otr&&this.otr.endOtr(),this.save({otr_status:x})},createMessage:function(e){var t=e.children("body").text(),n=e.find("delay").length>0,r=this.get("fullname"),i=e.attr("type")==="groupchat",s=e.attr("id"),o=e.find(M).length&&M||e.find(D).length&&D||e.find(A).length&&A||e.find(O).length&&O||e.find(P).length&&P,u,c,h,p;i?p=a.unescapeNode(a.getResourceFromJid(e.attr("from"))):p=a.getBareJidFromJid(e.attr("from")),r=(f.isEmpty(r)?p:r).split(" ")[0],n?(u=e.find("delay").attr("stamp"),c=u):c=l().format(),i&&p===this.get("nick")||!i&&p==g.bare_jid?h="me":h="them",this.messages.create({chat_state:o,delayed:n,fullname:r,message:t||undefined,msgid:s,sender:h,time:c})},receiveMessage:function(e){var t=e.children("body"),n=t.length>0?t.text():undefined;if(!n||!g.allow_otr)return this.createMessage(e);n.match(/^\?OTRv23?/)?this.initiateOTR(n):f.contains([T,N],this.get("otr_status"))?this.otr.receiveMsg(n):n.match(/^\?OTR/)?this.otr?this.otr.receiveMsg(n):this.initiateOTR(n):this.createMessage(e)}}),this.ChatBoxView=Backbone.View.extend({length:200,tagName:"div",className:"chatbox",is_chatroom:!1,events:{"click .close-chatbox-button":"close","click .toggle-chatbox-button":"minimize","keypress textarea.chat-textarea":"keyPressed","click .toggle-smiley":"toggleEmoticonMenu","click .toggle-smiley ul li":"insertEmoticon","click .toggle-clear":"clearMessages","click .toggle-otr":"toggleOTRMenu","click .start-otr":"startOTRFromToolbar","click .end-otr":"endOTR","click .auth-otr":"authOTR","click .toggle-call":"toggleCall","mousedown .dragresize-tm":"onDragResizeStart"},initialize:function(){this.model.messages.on("add",this.onMessageAdded,this),this.model.on("show",this.show,this),this.model.on("destroy",this.hide,this),this.model.on("change:chat_state",this.sendChatState,this),this.model.on("change:chat_status",this.onChatStatusChanged,this),this.model.on("change:image",this.renderAvatar,this),this.model.on("change:otr_status",this.onOTRStatusChanged,this),this.model.on("change:minimized",this.onMinimizedChanged,this),this.model.on("change:status",this.onStatusChanged,this),this.model.on("showOTRError",this.showOTRError,this),this.model.on("showHelpMessages",this.showHelpMessages,this),this.model.on("sendMessage",this.sendMessage,this),this.model.on("showSentOTRMessage",function(e){this.showMessage({message:e,sender:"me"})},this),this.model.on("showReceivedOTRMessage",function(e){this.showMessage({message:e,sender:"them"})},this),this.updateVCard().insertIntoPage(),this.hide().render().model.messages.fetch({add:!0}),(f.contains([T,N],this.model.get("otr_status"))||g.use_otr_by_default)&&this.model.initiateOTR()},insertIntoPage:function(){this.$el.insertAfter(g.chatboxviews.get("controlbox").$el)},render:function(){return this.$el.attr("id",this.model.get("box_id")).html(g.templates.chatbox(f.extend(this.model.toJSON(),{show_toolbar:g.show_toolbar,label_personal_message:I("Personal message")}))),this.renderToolbar().renderAvatar(),g.emit("chatBoxOpened",this),setTimeout(g.refreshWebkit,50),this.showStatusMessage()},initDragResize:function(){return this.prev_pageY=0,g.connection.connected&&(this.height=this.model.get("height")),this},showStatusNotification:function(e,n){var r=this.$el.find(".chat-content");n||r.find("div.chat-event").remove(),r.append(t('<div class="chat-event"></div>').text(e)),this.scrollDown()},clearChatRoomMessages:function(e){typeof e!="undefined"&&e.stopPropagation();var t=confirm(I("Are you sure you want to clear the messages from this room?"));return t===!0&&this.$el.find(".chat-content").empty(),this},showMessage:function(e){var n=this.$el.find(".chat-content"),r=l(e.time)||l,i=e.message,s=i.match(/^\/(.*?)(?: (.*))?$/),o=this.model.get("fullname")||e.fullname,u=e.delayed&&"delayed"||"",a,f;s&&s[1]==="me"?(i=i.replace(/^\/me/,""),a=g.templates.action,f=o):(a=g.templates.message,f=e.sender==="me"&&I("me")||o),n.find("div.chat-event").remove(),this.is_chatroom&&e.sender=="them"&&(new RegExp("\\b"+this.model.get("nick")+"\\b")).test(i)&&(u+=" mentioned");var c=a({sender:e.sender,time:r.format("hh:mm"),username:f,message:"",extra_classes:u});n.append(t(c).children(".chat-message-content").first().text(i).addHyperlinks().addEmoticons().parent()),this.scrollDown()},showHelpMessages:function(e,n,r){var i=this.$el.find(".chat-content"),s,o=e.length;for(s=0;s<o;s++)i.append(t('<div class="chat-'+(n||"info")+'">'+e[s]+"</div>"));return r===!0?i.append('<span class="spinner"/>'):r===!1&&i.find("span.spinner").remove(),this.scrollDown()},onMessageAdded:function(e){var t=e.get("time"),n=this.model.messages.pluck("time"),r,i,s,o,u,a;i=f.indexOf(n,t)-1,i>=0&&(r=this.model.messages.at(i),o=l(r.get("time")),o.isBefore(t,"day")&&(s=l(t),this.$el.find(".chat-content").append(g.templates.new_day({isodate:s.format("YYYY-MM-DD"),datestring:s.format("dddd MMM Do YYYY")}))));if(!e.get("message")){if(e.get("chat_state")===M){this.showStatusNotification(e.get("fullname")+" "+I("is typing"));return}if(e.get("chat_state")===D){this.showStatusNotification(e.get("fullname")+" "+I("has stopped typing"));return}if(f.contains([A,O],e.get("chat_state"))){this.$el.find(".chat-content div.chat-event").remove();return}if(e.get("chat_state")===P){this.showStatusNotification(e.get("fullname")+" "+I("has gone away"));return}}else this.showMessage(f.clone(e.attributes));e.get("sender")!="me"&&g.windowState=="blur"&&g.incrementMsgCounter(),this.scrollDown(),!this.model.get("minimized")&&!this.$el.is(":visible")&&this.show()},sendMessage:function(e){var t=(new Date).getTime(),n=this.model.get("jid"),i=r({from:g.connection.jid,to:n,type:"chat",id:t}).c("body").t(e).up().c(O,{xmlns:a.NS.CHATSTATES}).up();this.model.get("otr_status")!=x&&i.c("private",{xmlns:"urn:xmpp:carbons:2"}),g.connection.send(i);if(g.forward_messages){var s=r({to:g.bare_jid,type:"chat",id:t}).c("forwarded",{xmlns:"urn:xmpp:forward:0"}).c("delay",{xmns:"urn:xmpp:delay",stamp:t}).up().cnode(i.tree());g.connection.send(s)}},onMessageSubmitted:function(e){if(!g.connection.authenticated)return this.showHelpMessages(["Sorry, the connection has been lost, and your message could not be sent"],"error");var t=e.replace(/^\s*/,"").match(/^\/(.*)\s*$/),n;if(t){if(t[1]==="clear")return this.clearMessages();if(t[1]==="help"){n=["<strong>/help</strong>:"+I("Show this menu")+"","<strong>/me</strong>:"+I("Write in the third person")+"","<strong>/clear</strong>:"+I("Remove messages")+""],this.showHelpMessages(n);return}if(g.allow_otr&&t[1]==="endotr")return this.endOTR();if(g.allow_otr&&t[1]==="otr")return this.model.initiateOTR()}if(f.contains([T,N],this.model.get("otr_status")))this.model.otr.sendMsg(e),this.model.trigger("showSentOTRMessage",e);else{var r=g.xmppstatus.get("fullname");r=f.isEmpty(r)?g.bare_jid:r,this.model.messages.create({fullname:r,sender:"me",time:l().format(),message:e}),this.sendMessage(e)}},sendChatState:function(){g.connection.send(r({to:this.model.get("jid"),type:"chat"}).c(this.model.get("chat_state"),{xmlns:a.NS.CHATSTATES}))},setChatState:function(e,t){return typeof this.chat_state_timeout!="undefined"&&(clearTimeout(this.chat_state_timeout),delete this.chat_state_timeout),e===M?this.chat_state_timeout=setTimeout(this.setChatState.bind(this),g.TIMEOUTS.PAUSED,D):e===D&&(this.chat_state_timeout=setTimeout(this.setChatState.bind(this),g.TIMEOUTS.INACTIVE,A)),!t&&this.model.get("chat_state")!=e&&this.model.set("chat_state",e),this},keyPressed:function(e){var n=t(e.target),r;e.keyCode==k.ENTER?(e.preventDefault(),r=n.val(),n.val("").focus(),r!==""&&(this.model.get("chatroom")?this.onChatRoomMessageSubmitted(r):this.onMessageSubmitted(r),g.emit("messageSend",r)),this.setChatState(O)):this.model.get("chatroom")||this.setChatState(M,e.keyCode==k.FORWARD_SLASH)},onDragResizeStart:function(e){if(!g.allow_dragresize)return!0;this.height=this.$el.children(".box-flyout").height(),g.resized_chatbox=this,this.prev_pageY=e.pageY},setChatBoxHeight:function(e){this.model.get("minimized")||(this.$el.children(".box-flyout")[0].style.height=g.applyHeightResistance(e)+"px")},resizeChatBox:function(e){var t=e.pageY-this.prev_pageY;if(!t)return;this.height-=t,this.prev_pageY=e.pageY,this.setChatBoxHeight(this.height)},clearMessages:function(e){e&&e.preventDefault&&e.preventDefault();var t=confirm(I("Are you sure you want to clear the messages from this chat box?"));return t===!0&&(this.$el.find(".chat-content").empty(),this.model.messages.reset(),this.model.messages.browserStorage._clear()),this},insertEmoticon:function(e){e.stopPropagation(),this.$el.find(".toggle-smiley ul").slideToggle(200);var n=this.$el.find("textarea.chat-textarea"),r=n.val(),i=t(e.target);i=i.is("a")?i:i.children("a"),r&&r[r.length-1]!==" "&&(r+=" "),n.focus().val(r+i.data("emoticon")+" ")},toggleEmoticonMenu:function(e){e.stopPropagation(),this.$el.find(".toggle-smiley ul").slideToggle(200)},toggleOTRMenu:function(e){e.stopPropagation(),this.$el.find(".toggle-otr ul").slideToggle(200)},showOTRError:function(e){e=="Message cannot be sent at this time."?this.showHelpMessages([I("Your message could not be sent")],"error"):e=="Received an unencrypted message."?this.showHelpMessages([I("We received an unencrypted message")],"error"):e=="Received an unreadable encrypted message."?this.showHelpMessages([I("We received an unreadable encrypted message")],"error"):this.showHelpMessages(["Encryption error occured: "+e],"error"),console.log("OTR ERROR:"+e)},startOTRFromToolbar:function(e){t(e.target).parent().parent().slideUp(),e.stopPropagation(),this.model.initiateOTR()},endOTR:function(e){typeof e!="undefined"&&(e.preventDefault(),e.stopPropagation()),this.model.endOTR()},authOTR:function(e){var n=t(e.target).data().scheme,r,i,s;n==="fingerprint"?(r=confirm(I("Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.",[this.model.get("fullname"),g.xmppstatus.get("fullname")||g.bare_jid,this.model.otr.priv.fingerprint(),this.model.otr.their_priv_pk.fingerprint()])),r===!0?this.model.save({otr_status:N}):this.model.save({otr_status:T})):n==="smp"?(alert(I("You will be prompted to provide a security question and then an answer to that question.\n\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.")),i=prompt(I("What is your security question?")),i&&(s=prompt(I("What is the answer to the security question?")),this.model.otr.smpSecret(s,i))):this.showHelpMessages([I("Invalid authentication scheme provided")],"error")},toggleCall:function(e){e.stopPropagation(),g.emit("callButtonClicked",{connection:g.connection,model:this.model})},onChatStatusChanged:function(e){var t=e.get("chat_status"),n=e.get("fullname");n=f.isEmpty(n)?e.get("jid"):n,this.$el.is(":visible")&&(t==="offline"?this.showStatusNotification(n+" "+I("has gone offline")):t==="away"?this.showStatusNotification(n+" "+I("has gone away")):t==="dnd"?this.showStatusNotification(n+" "+I("is busy")):t==="online"&&this.$el.find("div.chat-event").remove()),g.emit("contactStatusChanged",e.attributes,e.get("chat_status"))},onStatusChanged:function(e){this.showStatusMessage(),g.emit("contactStatusMessageChanged",e.attributes,e.get("status"))},onOTRStatusChanged:function(e){this.renderToolbar().informOTRChange()},onMinimizedChanged:function(e){e.get("minimized")?this.hide():this.maximize()},showStatusMessage:function(e){return e=e||this.model.get("status"),typeof e=="string"&&this.$el.find("p.user-custom-message").text(e).attr("title",e),this},close:function(e){return e&&e.preventDefault&&e.preventDefault(),g.connection.connected?(this.model.destroy(),this.setChatState(A)):this.hide(),g.emit("chatBoxClosed",this),this},maximize:function(){var e=g.chatboxviews;this.$el.insertAfter(e.get("controlbox").$el).show("fast",function(){e.trimChats(this),g.refreshWebkit(),this.setChatState(O).focus(),g.emit("chatBoxMaximized",this)}.bind(this))},minimize:function(e){e&&e.preventDefault&&e.preventDefault(),this.setChatState(A).model.minimize(),this.$el.hide("fast",g.refreshwebkit),g.emit("chatBoxMinimized",this)},updateVCard:function(){if(!this.use_vcards)return this;var e=this.model.get("jid"),t=g.roster.get(e);return t&&!t.get("vcard_updated")&&g.getVCard(e,function(e,t,n,r,i,s){this.model.save({fullname:n||t,url:s,image_type:i,image:r})}.bind(this),function(){g.log("ChatBoxView.initialize: An error occured while fetching vcard")}),this},informOTRChange:function(){var e=this.model.toJSON(),t=[];return e.otr_status==x?t.push(I("Your messages are not encrypted anymore")):e.otr_status==T?t.push(I("Your messages are now encrypted but your contact's identity has not been verified.")):e.otr_status==N?t.push(I("Your contact's identify has been verified.")):e.otr_status==C&&t.push(I("Your contact has ended encryption on their end, you should do the same.")),this.showHelpMessages(t,"info",!1)},renderToolbar:function(){if(g.show_toolbar){var e=this.model.toJSON();e.otr_status==x?e.otr_tooltip=I("Your messages are not encrypted. Click here to enable OTR encryption."):e.otr_status==T?e.otr_tooltip=I("Your messages are encrypted, but your contact has not been verified."):e.otr_status==N?e.otr_tooltip=I("Your messages are encrypted and your contact verified."):e.otr_status==C&&(e.otr_tooltip=I("Your contact has closed their end of the private session, you should do the same")),this.$el.find(".chat-toolbar").html(g.templates.toolbar(f.extend(e,{FINISHED:C,UNENCRYPTED:x,UNVERIFIED:T,VERIFIED:N,allow_otr:g.allow_otr&&!this.is_chatroom,label_clear:I("Clear all messages"),label_end_encrypted_conversation:I("End encrypted conversation"),label_insert_smiley:I("Insert a smiley"),label_hide_participants:I("Hide the list of participants"),label_refresh_encrypted_conversation:I("Refresh encrypted conversation"),label_start_call:I("Start a call"),label_start_encrypted_conversation:I("Start encrypted conversation"),label_verify_with_fingerprints:I("Verify with fingerprints"),label_verify_with_smp:I("Verify with SMP"),label_whats_this:I("What's this?"),otr_status_class:R[e.otr_status],otr_translated_status:U[e.otr_status],show_call_button:g.visible_toolbar_buttons.call,show_clear_button:g.visible_toolbar_buttons.clear,show_emoticons:g.visible_toolbar_buttons.emoticons,show_participants_toggle:this.is_chatroom&&g.visible_toolbar_buttons.toggle_participants})))}return this},renderAvatar:function(){if(!this.model.get("image"))return;var e="data:"+this.model.get("image_type")+";base64,"+this.model.get("image"),n=t('<canvas height="32px" width="32px" class="avatar"></canvas>').get(0);if(!n.getContext||!n.getContext("2d"))return this;var r=n.getContext("2d"),i=new Image;return i.onload=function(){var e=i.width/i.height;r.drawImage(i,0,0,35*e,35)},i.src=e,this.$el.find(".chat-title").before(n),this},focus:function(){return this.$el.find(".chat-textarea").focus(),g.emit("chatBoxFocused",this),this},hide:function(){return this.$el.is(":visible")&&this.$el.css("opacity")=="1"&&(this.$el.hide(),g.refreshWebkit()),this},show:function(e){return this.$el.is(":visible")&&this.$el.css("opacity")=="1"?this.focus():(this.$el.fadeIn(e),g.connection.connected&&(this.model.save(),this.initDragResize()),this.setChatState(O),this.focus())},scrollDown:function(){var e=this.$(".chat-content");return e.is(":visible")&&e.scrollTop(e[0].scrollHeight),this}}),this.ContactsPanel=Backbone.View.extend({tagName:"div",className:"controlbox-pane",id:"users",events:{"click a.toggle-xmpp-contact-form":"toggleContactForm","submit form.add-xmpp-contact":"addContactFromForm","submit form.search-xmpp-contact":"searchContacts","click a.subscribe-to-user":"addContactFromList"},initialize:function(e){e.$parent.append(this.$el),this.$tabs=e.$parent.parent().find("#controlbox-tabs")},render:function(){var e,t=g.templates.contacts_panel({label_online:I("Online"),label_busy:I("Busy"),label_away:I("Away"),label_offline:I("Offline"),label_logout:I("Log out"),allow_logout:g.allow_logout});return this.$tabs.append(g.templates.contacts_tab({label_contacts:Q})),g.xhr_user_search?e=g.templates.search_contact({label_contact_name:I("Contact name"),label_search:I("Search")}):e=g.templates.add_contact_form({label_contact_username:I("e.g. user@example.com"),label_add:I("Add")}),g.allow_contact_requests&&(t+=g.templates.add_contact_dropdown({label_click_to_chat:I("Click to add new chat contacts"),label_add_contact:I("Add a contact")})),this.$el.html(t),this.$el.find(".search-xmpp ul").append(e),this},toggleContactForm:function(e){e.preventDefault(),this.$el.find(".search-xmpp").toggle("fast",function(){t(this).is(":visible")&&t(this).find("input.username").focus()})},searchContacts:function(e){e.preventDefault(),t.getJSON(g.xhr_user_search_url+"?q="+t(e.target).find("input.username").val(),function(e){var n=t(".search-xmpp ul");n.find("li.found-user").remove(),n.find("li.chat-info").remove(),e.length||n.append('<li class="chat-info">'+I("No users found")+"</li>"),t(e).each(function(e,r){n.append(t('<li class="found-user"></li>').append(t('<a class="subscribe-to-user" href="#" title="'+I("Click to add as a chat contact")+'"></a>').attr("data-recipient",a.getNodeFromJid(r.id)+"@"+a.getDomainFromJid(r.id)).text(r.fullname)))})})},addContactFromForm:function(e){e.preventDefault();var n=t(e.target).find("input"),r=n.val();if(!r){n.addClass("error");return}g.roster.addAndSubscribe(r),t(".search-xmpp").hide()},addContactFromList:function(e){e.preventDefault();var n=t(e.target),r=n.attr("data-recipient"),i=n.text();g.roster.addAndSubscribe(r,i),n.parent().remove(),t(".search-xmpp").hide()}}),this.RoomsPanel=Backbone.View.extend({tagName:"div",className:"controlbox-pane",id:"chatrooms",events:{"submit form.add-chatroom":"createChatRoom","click input#show-rooms":"showRooms","click a.open-room":"createChatRoom","click a.room-info":"showRoomInfo","change input[name=server]":"setDomain","change input[name=nick]":"setNick"},initialize:function(e){this.$parent=e.$parent,this.model.on("change:muc_domain",this.onDomainChange,this),this.model.on("change:nick",this.onNickChange,this)},render:function(){return this.$parent.append(this.$el.html(g.templates.room_panel({server_input_type:g.hide_muc_server&&"hidden"||"text",server_label_global_attr:g.hide_muc_server&&" hidden"||"",label_room_name:I("Room name"),label_nickname:I("Nickname"),label_server:I("Server"),label_join:I("Join Room"),label_show_rooms:I("Show rooms")})).hide()),this.$tabs=this.$parent.parent().find("#controlbox-tabs"),this.$tabs.append(g.templates.chatrooms_tab({label_rooms:I("Rooms")})),this},onDomainChange:function(e){var t=this.$el.find("input.new-chatroom-server");t.val(e.get("muc_domain")),g.auto_list_rooms&&this.updateRoomsList()},onNickChange:function(e){var t=this.$el.find("input.new-chatroom-nick");t.val(e.get("nick"))},informNoRoomsFound:function(){var e=this.$el.find("#available-chatrooms");e.html("<dt>"+I("No rooms on %1$s",this.model.get("muc_domain"))+"</dt>"),t("input#show-rooms").show().siblings("span.spinner").remove()},onRoomsFound:function(e){var n,r,i,s,o=this,u=this.$el.find("#available-chatrooms");this.rooms=t(e).find("query").find("item");if(this.rooms.length){u.html("<dt>"+I("Rooms on %1$s",this.model.get("muc_domain"))+"</dt>"),s=document.createDocumentFragment();for(i=0;i<this.rooms.length;i++)n=a.unescapeNode(t(this.rooms[i]).attr("name")||t(this.rooms[i]).attr("jid")),r=t(this.rooms[i]).attr("jid"),s.appendChild(t(g.templates.room_item({name:n,jid:r,open_title:I("Click to open this room"),info_title:I("Show more information on this room")}))[0]);u.append(s),t("input#show-rooms").show().siblings("span.spinner").remove()}else this.informNoRoomsFound();return!0},updateRoomsList:function(){g.connection.sendIQ(n({to:this.model.get("muc_domain"),from:g.connection.jid,type:"get"}).c("query",{xmlns:a.NS.DISCO_ITEMS}),this.onRoomsFound.bind(this),this.informNoRoomsFound.bind(this))},showRooms:function(e){var n=this.$el.find("#available-chatrooms"),r=this.$el.find("input.new-chatroom-server"),i=r.val();if(!i){r.addClass("error");return}this.$el.find("input.new-chatroom-name").removeClass("error"),r.removeClass("error"),n.empty(),t("input#show-rooms").hide().after('<span class="spinner"/>'),this.model.save({muc_domain:i}),this.updateRoomsList()},showRoomInfo:function(e){var n=e.target,r=t(n).parent("dd"),i=r.find("div.room-info");i.length?i.remove():(r.find("span.spinner").remove(),r.append('<span class="spinner hor_centered"/>'),g.connection.disco.info(t(n).attr("data-room-jid"),null,function(e){var n=t(e);r.find("span.spinner").replaceWith(g.templates.room_description({desc:n.find('field[var="muc#roominfo_description"] value').text(),occ:n.find('field[var="muc#roominfo_occupants"] value').text(),hidden:n.find('feature[var="muc_hidden"]').length,membersonly:n.find('feature[var="muc_membersonly"]').length,moderated:n.find('feature[var="muc_moderated"]').length,nonanonymous:n.find('feature[var="muc_nonanonymous"]').length,open:n.find('feature[var="muc_open"]').length,passwordprotected:n.find('feature[var="muc_passwordprotected"]').length,persistent:n.find('feature[var="muc_persistent"]').length,publicroom:n.find('feature[var="muc_public"]').length,semianonymous:n.find('feature[var="muc_semianonymous"]').length,temporary:n.find('feature[var="muc_temporary"]').length,unmoderated:n.find('feature[var="muc_unmoderated"]').length,label_desc:I("Description:"),label_occ:I("Occupants:"),label_features:I("Features:"),label_requires_auth:I("Requires authentication"),label_hidden:I("Hidden"),label_requires_invite:I("Requires an invitation"),label_moderated:I("Moderated"),label_non_anon:I("Non-anonymous"),label_open_room:I("Open room"),label_permanent_room:I("Permanent room"),label_public:I("Public"),label_semi_anon:f("Semi-anonymous"),label_temp_room:f("Temporary room"),label_unmoderated:I("Unmoderated")}))}.bind(this)))},createChatRoom:function(e){e.preventDefault();var n,r,i,s,o,u=this.$el.find("input.new-chatroom-nick"),f=u.val(),l;f?u.removeClass("error"):u.addClass("error");if(e.type==="click")o=t(e.target).attr("data-room-jid");else{r=this.$el.find("input.new-chatroom-name"),s=this.$el.find("input.new-chatroom-server"),i=s.val(),n=r.val().trim().toLowerCase(),r.val("");if(!n||!i){n||r.addClass("error"),i||s.addClass("error");return}o=a.escapeNode(n)+"@"+i,r.removeClass("error"),s.removeClass("error"),this.model.save({muc_domain:i})}if(!f)return;l=g.chatboxviews.showChat({id:o,jid:o,name:a.unescapeNode(a.getNodeFromJid(o)),nick:f,chatroom:!0,box_id:h(o)})},setDomain:function(e){this.model.save({muc_domain:e.target.value})},setNick:function(e){this.model.save({nick:e.target.value})}}),this.ControlBoxView=g.ChatBoxView.extend({tagName:"div",className:"chatbox",id:"controlbox",events:{"click a.close-chatbox-button":"close","click ul#controlbox-tabs li a":"switchTab","mousedown .dragresize-tm":"onDragResizeStart"},initialize:function(){this.$el.insertAfter(g.controlboxtoggle.$el),this.model.on("change:connected",this.onConnected,this),this.model.on("destroy",this.hide,this),this.model.on("hide",this.hide,this),this.model.on("show",this.show,this),this.model.on("change:closed",this.ensureClosedState,this),this.render(),this.model.get("connected")&&this.initRoster(),this.model.get("closed")?this.hide():this.show()},giveFeedback:function(e,t){var n=this.$(".conn-feedback");n.addClass("conn-feedback").text(e),t&&n.addClass(t)},onConnected:function(){if(this.model.get("connected")){this.render().initRoster(),g.features.off("add",this.featureAdded,this),g.features.on("add",this.featureAdded,this);var e=g.features.findWhere({"var":a.NS.MUC});e&&this.featureAdded(e)}},initRoster:function(){g.roster=new g.RosterContacts,g.roster.browserStorage=new Backbone.BrowserStorage[g.storage](h("converse.contacts-"+g.bare_jid));var e=new g.RosterGroups;return e.browserStorage=new Backbone.BrowserStorage[g.storage](h("converse.roster.groups"+g.bare_jid)),g.rosterview=new g.RosterView({model:e}),this.contactspanel.$el.append(g.rosterview.$el),g.rosterview.render().fetch().update(),this},render:function(){return!g.connection.connected||!g.connection.authenticated||g.connection.disconnecting?this.renderLoginPanel():(!this.contactspanel||!this.contactspanel.$el.is(":visible"))&&this.renderContactsPanel(),this},renderLoginPanel:function(){var e=this.$(".conn-feedback");this.$el.html(g.templates.controlbox(this.model.toJSON()));var t={$parent:this.$el.find(".controlbox-panes"),model:this};return this.loginpanel?(this.loginpanel.delegateEvents().initialize(t),g.allow_registration&&this.registerpanel.delegateEvents().initialize(t)):(this.loginpanel=new g.LoginPanel(t),g.allow_registration&&(this.registerpanel=new g.RegisterPanel(t))),this.loginpanel.render(),g.allow_registration&&this.registerpanel.render().$el.hide(),this.initDragResize(),e.length&&this.$(".conn-feedback").replaceWith(e),this},renderContactsPanel:function(){var e;this.$el.html(g.templates.controlbox(this.model.toJSON())),this.contactspanel=new g.ContactsPanel({$parent:this.$el.find(".controlbox-panes")}),this.contactspanel.render(),g.xmppstatusview=new g.XMPPStatusView({model:g.xmppstatus}),g.xmppstatusview.render(),g.allow_muc&&(this.roomspanel=new g.RoomsPanel({$parent:this.$el.find(".controlbox-panes"),model:new(Backbone.Model.extend({id:h("converse.roomspanel"+g.bare_jid),browserStorage:new Backbone.BrowserStorage[g.storage](h("converse.roomspanel"+g.bare_jid))}))}),this.roomspanel.render().model.fetch(),this.roomspanel.model.get("nick")||this.roomspanel.model.save({nick:a.getNodeFromJid(g.bare_jid)})),this.initDragResize()},close:function(e){return e&&e.preventDefault&&e.preventDefault(),g.connection.connected?this.model.save({closed:!0}):this.model.trigger("hide"),g.emit("controlBoxClosed",this),this},ensureClosedState:function(){this.model.get("closed")?this.hide():this.show()},hide:function(e){return this.$el.hide("fast",function(){g.refreshWebkit(),g.emit("chatBoxClosed",this),g.controlboxtoggle.show(function(){typeof e=="function"&&e()})}),this},show:function(){return g.controlboxtoggle.hide(function(){this.$el.show("fast",function(){g.rosterview&&g.rosterview.update(),g.refreshWebkit()}.bind(this)),g.emit("controlBoxOpened",this)}.bind(this)),this},featureAdded:function(e){if(e.get("var")==a.NS.MUC&&g.allow_muc){this.roomspanel.model.save({muc_domain:e.get("from")});var t=this.$el.find("input.new-chatroom-server");t.is(":focus")||t.val(this.roomspanel.model.get("muc_domain"))}},switchTab:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target),r=n.parent().siblings("li").children("a"),i=t(n.attr("href"));return t(r.attr("href")).hide(),r.removeClass("current"),n.addClass("current"),i.show(),this},showHelpMessages:function(e){return}}),this.ChatRoomOccupant=Backbone.Model,this.ChatRoomOccupantView=Backbone.View.extend({tagName:"li",initialize:function(){this.model.on("add",this.render,this),this.model.on("change",this.render,this),this.model.on("destroy",this.destroy,this)},render:function(){var e=g.templates.occupant(f.extend(this.model.toJSON(),{desc_moderator:I("This user is a moderator"),desc_participant:I("This user can send messages in this room"),desc_visitor:I("This user can NOT send messages in this room")}));return this.$el.replaceWith(e),this.setElement(e,!0),this},destroy:function(){this.$el.remove()}}),this.ChatRoomOccupants=Backbone.Collection.extend({model:g.ChatRoomOccupant}),this.ChatRoomOccupantsView=Backbone.Overview.extend({tagName:"div",className:"participants",initialize:function(){this.model.on("add",this.onOccupantAdded,this)},render:function(){return this.$el.html(g.templates.chatroom_sidebar({label_invitation:I("Invite..."),label_occupants:I("Occupants")})),this.initInviteWidget()},onOccupantAdded:function(e){var t=this.get(e.get("id"));t?(delete t.model,t.model=e,t.initialize()):t=this.add(e.get("id"),new g.ChatRoomOccupantView({model:e})),this.$(".participant-list").append(t.render().$el)},parsePresence:function(e){var t=a.getResourceFromJid(e.getAttribute("from")),n={id:t,nick:t,type:e.getAttribute("type"),states:[]};return f.each(e.childNodes,function(e){switch(e.nodeName){case"status":n.status=e.textContent||null;break;case"show":n.show=e.textContent||null;break;case"x":e.getAttribute("xmlns")===a.NS.MUC_USER&&f.each(e.childNodes,function(e){switch(e.nodeName){case"item":n.affiliation=e.getAttribute("affiliation"),n.role=e.getAttribute("role"),n.jid=e.getAttribute("jid"),n.nick=e.getAttribute("nick")||n.nick;break;case"status":e.getAttribute("code")&&n.states.push(e.getAttribute("code"))}})}}),n},updateOccupantsOnPresence:function(e){var t,n=this.parsePresence(e);switch(n.type){case"error":return!0;case"unavailable":t=this.model.get(n.id),t&&t.destroy();break;default:t=this.model.get(n.id),t?t.save(n):this.model.create(n)}},initInviteWidget:function(){var e=this.$("input.invited-contact");return e.typeahead({minLength:1,highlight:!0},{name:"contacts-dataset",source:function(e,t){var n=[];f.each(g.roster.filter(p(["fullname","jid"],e)),function(e){n.push({value:e.get("fullname"),jid:e.get("jid")})}),t(n)},templates:{suggestion:f.template('<p data-jid="{{jid}}">{{value}}</p>')}}),e.on("typeahead:selected",function(e,n,r){var i=prompt(I(q('You are about to invite %1$s to the chat room "%2$s". '),n.value,this.model.get("id"))+I("You may optionally include a message, explaining the reason for the invitation."));i!==null&&this.chatroomview.directInvite(n.jid,i),t(e.target).typeahead("val","")}.bind(this)),this}}),this.ChatRoomView=g.ChatBoxView.extend({length:300,tagName:"div",className:"chatroom",events:{"click .close-chatbox-button":"close","click .toggle-chatbox-button":"minimize","click .configure-chatroom-button":"configureChatRoom","click .toggle-smiley":"toggleEmoticonMenu","click .toggle-smiley ul li":"insertEmoticon","click .toggle-clear":"clearChatRoomMessages","click .toggle-call":"toggleCall","click .toggle-participants a":"toggleOccupants","keypress textarea.chat-textarea":"keyPressed","mousedown .dragresize-tm":"onDragResizeStart"},is_chatroom:!0,initialize:function(){this.model.messages.on("add",this.onMessageAdded,this),this.model.on("change:minimized",function(e){e.get("minimized")?this.hide():this.maximize()},this),this.model.on("destroy",function(e,t,n){this.hide().leave()},this),this.occupantsview=new g.ChatRoomOccupantsView({model:new g.ChatRoomOccupants({nick:this.model.get("nick")})});var e=h("converse.occupants"+g.bare_jid+this.model.get("id")+this.model.get("nick"));this.occupantsview.model.id=e,this.occupantsview.model.browserStorage=new Backbone.BrowserStorage[g.storage](e),this.occupantsview.chatroomview=this,this.render(),this.occupantsview.model.fetch({add:!0}),this.join(null),g.emit("chatRoomOpened",this),this.$el.insertAfter(g.chatboxviews.get("controlbox").$el),this.model.messages.fetch({add:!0}),this.model.get("minimized")?this.hide():this.show()},render:function(){return this.$el.attr("id",this.model.get("box_id")).html(g.templates.chatroom(this.model.toJSON())),this.renderChatArea(),setTimeout(g.refreshWebkit,50),this},renderChatArea:function(){return this.$(".chat-area").length||(this.$(".chat-body").empty().append(g.templates.chatarea({show_toolbar:g.show_toolbar,label_message:I("Message")})).append(this.occupantsview.render().$el),this.renderToolbar()),this.model.set({hidden_occupants:!this.model.get("hidden_occupants")}),this.toggleOccupants(),this},toggleOccupants:function(e){e&&(e.preventDefault(),e.stopPropagation());var t=this.$(".icon-hide-users");this.model.get("hidden_occupants")?(this.model.save({hidden_occupants:!1}),t.removeClass("icon-show-users").addClass("icon-hide-users"),this.$(".chat-area, form.sendXMPPMessage").css({width:""}),this.$("div.participants").show().animate({width:"auto"},function(){this.scrollDown()}.bind(this))):(this.model.save({hidden_occupants:!0}),t.removeClass("icon-hide-users").addClass("icon-show-users"),this.$("form.sendXMPPMessage, .chat-area").animate({width:"100%"}),this.$("div.participants").animate({width:0},function(){this.scrollDown()}.bind(this)))},directInvite:function(e,t){var n={xmlns:"jabber:x:conference",jid:this.model.get("jid")};t!==null&&(n.reason=t),this.model.get("password")&&(n.password=this.model.get("password"));var i=r({from:g.connection.jid,to:e,id:g.connection.getUniqueId()}).c("x",n);g.connection.send(i),g.emit("roomInviteSent",this,e,t)},onCommandError:function(e){this.showStatusNotification(I("Error: could not execute the command"),!0)},sendChatRoomMessage:function(e){var t=g.connection.getUniqueId(),n=r({to:this.model.get("jid"),from:g.connection.jid,type:"groupchat",id:t}).c("body").t(e).up().c("x",{xmlns:"jabber:x:event"}).c("composing");g.connection.send(n);var i=g.xmppstatus.get("fullname");this.model.messages.create({fullname:f.isEmpty(i)?g.bare_jid:i,sender:"me",time:l().format(),message:e,msgid:t})},setAffiliation:function(e,t,r,i,o,u){var f=s("item",{jid:t,affiliation:r}),l=n({to:e,type:"set"}).c("query",{xmlns:a.NS.MUC_ADMIN}).cnode(f.node);return i!==null&&l.c("reason",i),g.connection.sendIQ(l.tree(),o,u)},modifyRole:function(e,t,r,i,o,u){var f=s("item",{nick:t,role:r}),l=n({to:e,type:"set"}).c("query",{xmlns:a.NS.MUC_ADMIN}).cnode(f.node);return i!==null&&l.c("reason",i),g.connection.sendIQ(l.tree(),o,u)},member:function(e,t,n,r,i){return this.setAffiliation(e,t,"member",n,r,i)},revoke:function(e,t,n,r,i){return this.setAffiliation(e,t,"none",n,r,i)},owner:function(e,t,n,r,i){return this.setAffiliation(e,t,"owner",n,r,i)},admin:function(e,t,n,r,i){return this.setAffiliation(e,t,"admin",n,r,i)},onChatRoomMessageSubmitted:function(e){var t=e.replace(/^\s*/,"").match(/^\/(.*?)(?: (.*))?$/)||[!1,"",""],n=t[2].splitOnce(" ");switch(t[1]){case"admin":this.setAffiliation(this.model.get("jid"),n[0],"admin",n[1],undefined,this.onCommandError.bind(this));break;case"ban":this.setAffiliation(this.model.get("jid"),n[0],"outcast",n[1],undefined,this.onCommandError.bind(this));break;case"clear":this.clearChatRoomMessages();break;case"deop":this.modifyRole(this.model.get("jid"),n[0],"participant",n[1],undefined,this.onCommandError.bind(this));break;case"help":this.showHelpMessages(["<strong>/admin</strong>: "+I("Change user's affiliation to admin"),"<strong>/ban</strong>: "+I("Ban user from room"),"<strong>/clear</strong>: "+I("Remove messages"),"<strong>/deop</strong>: "+I("Change user role to participant"),"<strong>/help</strong>: "+I("Show this menu"),"<strong>/kick</strong>: "+I("Kick user from room"),"<strong>/me</strong>: "+I("Write in 3rd person"),"<strong>/member</strong>: "+I("Grant membership to a user"),"<strong>/mute</strong>: "+I("Remove user's ability to post messages"),"<strong>/nick</strong>: "+I("Change your nickname"),"<strong>/op</strong>: "+I("Grant moderator role to user"),"<strong>/owner</strong>: "+I("Grant ownership of this room"),"<strong>/revoke</strong>: "+I("Revoke user's membership"),"<strong>/topic</strong>: "+I("Set room topic"),"<strong>/voice</strong>: "+I("Allow muted user to post messages")]);break;case"kick":this.modifyRole(this.model.get("jid"),n[0],"none",n[1],undefined,this.onCommandError.bind(this));break;case"mute":this.modifyRole(this.model.get("jid"),n[0],"visitor",n[1],undefined,this.onCommandError.bind(this));break;case"member":this.setAffiliation(this.model.get("jid"),n[0],"member",n[1],undefined,this.onCommandError.bind(this));break;case"nick":g.connection.send(i({from:g.connection.jid,to:this.getRoomJIDAndNick(t[2]),id:g.connection.getUniqueId()}).tree());break;case"owner":this.setAffiliation(this.model.get("jid"),n[0],"owner",n[1],undefined,this.onCommandError.bind(this));break;case"op":this.modifyRole(this.model.get("jid"),n[0],"moderator",n[1],undefined,this.onCommandError.bind(this));break;case"revoke":this.setAffiliation(this.model.get("jid"),n[0],"none",n[1],undefined,this.onCommandError.bind(this));break;case"topic":g.connection.send(r({to:this.model.get("jid"),from:g.connection.jid,type:"groupchat"}).c("subject",{xmlns:"jabber:client"}).t(t[2]).tree());break;case"voice":this.modifyRole(this.model.get("jid"),n[0],"participant",n[1],undefined,this.onCommandError.bind(this));break;default:this.sendChatRoomMessage(e)}},handleMUCStanza:function(e){var t,n,r,i=e.getAttribute("from");if(!i||this.model.get("id")!==i.split("/")[0])return!0;if(e.nodeName==="message")this.onChatRoomMessage(e);else if(e.nodeName==="presence"){n=e.getElementsByTagName("x");if(n.length>0)for(r=0;r<n.length;r++){t=n[r].getAttribute("xmlns");if(t&&t.match(a.NS.MUC)){this.onChatRoomPresence(e);break}}}return!0},getRoomJIDAndNick:function(e){e=e||this.model.get("nick");var t=this.model.get("jid"),n=a.escapeNode(a.getNodeFromJid(t)),r=a.getDomainFromJid(t);return n+"@"+r+(e!==null?"/"+e:"")},join:function(e,t,n){var r=i({from:g.connection.jid,to:this.getRoomJIDAndNick()}).c("x",{xmlns:a.NS.MUC});return typeof t=="object"&&t.length&&(r=r.c("history",t).up()),e&&r.cnode(a.xmlElement("password",[],e)),typeof n!="undefined"&&n!==null&&r.up.cnode(n),this.handler||(this.handler=g.connection.addHandler(this.handleMUCStanza.bind(this))),this.model.set("connection_status",a.Status.CONNECTING),g.connection.send(r)},leave:function(e){var t=g.connection.getUniqueId(),n=i({type:"unavailable",id:t,from:g.connection.jid,to:this.getRoomJIDAndNick()});e!==null&&n.c("status",e),g.connection.addHandler(function(){this.model.set("connection_status",a.Status.DISCONNECTED)}.bind(this),null,"presence",null,t),g.connection.send(n)},renderConfigurationForm:function(e){var n=this.$el.find("form.chatroom-form"),r=t(e),i=r.find("field"),s=r.find("title").text(),o=r.find("instructions").text();n.find("span.spinner").remove(),n.append(t("<legend>").text(s)),o&&o!=s&&n.append(t('<p class="instructions">').text(o)),f.each(i,function(e){n.append(c.xForm2webForm(t(e),r))}),n.append('<input type="submit" class="save-submit" value="'+I("Save")+'"/>'),n.append('<input type="button" class="cancel-submit" value="'+I("Cancel")+'"/>'),n.on("submit",this.saveConfiguration.bind(this)),n.find("input[type=button]").on("click",this.cancelConfiguration.bind(this))},sendConfiguration:function(e,t,r){var i=n({to:this.model.get("jid"),type:"set"}).c("query",{xmlns:a.NS.MUC_OWNER}).c("x",{xmlns:"jabber:x:data",type:"submit"});return f.each(e,function(e){i.cnode(e).up()}),g.connection.sendIQ(i.tree(),t,r)},saveConfiguration:function(e){e.preventDefault();var n=this,r=t(e.target).find(":input:not([type=button]):not([type=submit])"),i=r.length,s=[];r.each(function(){s.push(c.webForm2xForm(this)),--i||n.sendConfiguration(s,n.onConfigSaved.bind(n),n.onErrorConfigSaved.bind(n))}),this.$el.find("div.chatroom-form-container").hide(function(){t(this).remove(),n.$el.find(".chat-area").show(),n.$el.find(".participants").show()})},onConfigSaved:function(e){},onErrorConfigSaved:function(e){this.showStatusNotification(I("An error occurred while trying to save the form."))},cancelConfiguration:function(e){e.preventDefault();var n=this;this.$el.find("div.chatroom-form-container").hide(function(){t(this).remove(),n.$el.find(".chat-area").show(),n.$el.find(".participants").show()})},configureChatRoom:function(e){e.preventDefault();if(this.$el.find("div.chatroom-form-container").length)return;this.$(".chat-body").children().hide(),this.$(".chat-body").append(t('<div class="chatroom-form-container"><form class="chatroom-form"><span class="spinner centered"/></form></div>')),g.connection.sendIQ(n({to:this.model.get("jid"),type:"get"}).c("query",{xmlns:a.NS.MUC_OWNER}).tree(),this.renderConfigurationForm.bind(this))},submitPassword:function(e){e.preventDefault();var t=this.$el.find(".chatroom-form").find("input[type=password]").val();this.$el.find(".chatroom-form-container").replaceWith('<span class="spinner centered"/>'),this.join(t)},renderPasswordForm:function(){this.$(".chat-body").children().hide(),this.$("span.centered.spinner").remove(),this.$(".chat-body").append(g.templates.chatroom_password_form({heading:I("This chatroom requires a password"),label_password:I("Password: "),label_submit:I("Submit")})),this.$(".chatroom-form").on("submit",this.submitPassword.bind(this))},showDisconnectMessage:function(e){this.$(".chat-area").hide(),this.$(".participants").hide(),this.$("span.centered.spinner").remove(),this.$(".chat-body").append(t("<p>"+e+"</p>"))},infoMessages:{100:I("This room is not anonymous"),102:I("This room now shows unavailable members"),103:I("This room does not show unavailable members"),104:I("Non-privacy-related room configuration has changed"),170:I("Room logging is now enabled"),171:I("Room logging is now disabled"),172:I("This room is now non-anonymous"),173:I("This room is now semi-anonymous"),174:I("This room is now fully-anonymous"),201:I("A new room has been created")},disconnectMessages:{301:I("You have been banned from this room"),307:I("You have been kicked from this room"),321:I("You have been removed from this room because of an affiliation change"),322:I("You have been removed from this room because the room has changed to members-only and you're not a member"),332:I("You have been removed from this room because the MUC (Multi-user chat) service is being shut down.")},actionInfoMessages:{301:q("<strong>%1$s</strong> has been banned"),303:q("<strong>%1$s</strong>'s nickname has changed"),307:q("<strong>%1$s</strong> has been kicked out"),321:q("<strong>%1$s</strong> has been removed because of an affiliation change"),322:q("<strong>%1$s</strong> has been removed for not being a member")},newNicknameMessages:{210:q("Your nickname has been automatically changed to: <strong>%1$s</strong>"),303:q("Your nickname has been changed to: <strong>%1$s</strong>")},showStatusMessages:function(e,n){var r,i=[],s=[],o=[];e.find('x[xmlns="'+a.NS.MUC_USER+'"]').each(function(r,u){var l=t(u).find("item");a.getBareJidFromJid(l.attr("jid"))===g.bare_jid&&l.attr("affiliation")==="owner"&&this.$el.find("a.configure-chatroom-button").show(),t(u).find("item reason").each(function(e,n){t(n).text()&&o.push(t(n).text())}),t(u).find("status").each(function(r,o){var u=o.getAttribute("code"),c=a.unescapeNode(a.getResourceFromJid(e.attr("from")));n&&u==="210"?s.push(I(this.newNicknameMessages[u],c)):n&&u==="303"?s.push(I(this.newNicknameMessages[u],l.attr("nick"))):n&&f.contains(f.keys(this.disconnectMessages),u)?i.push(this.disconnectMessages[u]):!n&&f.contains(f.keys(this.actionInfoMessages),u)?s.push(I(this.actionInfoMessages[u],c)):f.contains(f.keys(this.infoMessages),u)?s.push(this.infoMessages[u]):u!=="110"&&t(o).text()&&s.push(t(o).text())}.bind(this))}.bind(this));if(i.length>0){for(b=0;b<i.length;b++)this.showDisconnectMessage(i[b]);for(b=0;b<o.length;b++)this.showDisconnectMessage(I('The reason given is: "'+o[b]+'"'),!0);this.model.set("connection_status",a.Status.DISCONNECTED);return}r=this.$el.find(".chat-content");for(b=0;b<s.length;b++)r.append(g.templates.info({message:s[b]}));for(b=0;b<o.length;b++)this.showStatusNotification(I('The reason given is: "'+o[b]+'"'),!0);return this.scrollDown()},showErrorMessage:function(e){e.attr("type")=="auth"?e.find("not-authorized").length?this.renderPasswordForm():e.find("registration-required").length?this.showDisconnectMessage(I("You are not on the member list of this room")):e.find("forbidden").length&&this.showDisconnectMessage(I("You have been banned from this room")):e.attr("type")=="modify"?e.find("jid-malformed").length&&this.showDisconnectMessage(I("No nickname was specified")):e.attr("type")=="cancel"&&(e.find("not-allowed").length?this.showDisconnectMessage(I("You are not allowed to create new rooms")):e.find("not-acceptable").length?this.showDisconnectMessage(I("Your nickname doesn't conform to this room's policies")):e.find("conflict").length?this.showDisconnectMessage(I("Your nickname is already taken")):e.find("item-not-found").length?this.showDisconnectMessage(I("This room does not (yet) exist")):e.find("service-unavailable").length&&this.showDisconnectMessage(I("This room has reached it's maximum number of occupants")))},onChatRoomPresence:function(e){var n=t(e),r,i=this.model.get("nick");n.attr("type")==="error"?(this.model.set("connection_status",a.Status.DISCONNECTED),this.showErrorMessage(n.find("error"))):(r=n.find("status[code='110']").length||n.attr("from")==this.model.get("id")+"/"+a.escapeNode(i),this.model.get("connection_status")!==a.Status.CONNECTED&&(this.model.set("connection_status",a.Status.CONNECTED),this.$("span.centered.spinner").remove(),this.$el.find(".chat-body").children().show()),this.showStatusMessages(n,r)),this.occupantsview.updateOccupantsOnPresence(e)},onChatRoomMessage:function(e){var n=t(e),r=n.children("body").text(),i=n.attr("from"),s=n.attr("id"),o=a.getResourceFromJid(i),u=o&&a.unescapeNode(o)||"",f=n.find("delay").length>0,l=n.children("subject").text();return s&&this.model.messages.findWhere({msgid:s})?!0:(this.showStatusMessages(n),l&&(this.$el.find(".chatroom-topic").text(l).attr("title",l),this.$el.find(".chat-content").append(g.templates.info({message:I("Topic set by %1$s to: %2$s",u,l)}))),u===""?!0:(this.model.createMessage(n),!f&&u!==this.model.get("nick")&&(new RegExp("\\b"+this.model.get("nick")+"\\b")).test(r)&&g.playNotification(),u!==this.model.get("nick")&&g.emit("message",e),!0))}}),this.ChatBoxes=Backbone.Collection.extend({model:g.ChatBox,comparator:"time_opened",registerMessageHandler:function(){g.connection.addHandler(function(e){return this.onMessage(e),!0}.bind(this),null,"message","chat"),g.connection.addHandler(function(e){return this.onInvite(e),!0}.bind(this),"jabber:x:conference","message")},onConnected:function(){this.browserStorage=new Backbone.BrowserStorage[g.storage](h("converse.chatboxes-"+g.bare_jid)),this.registerMessageHandler(),this.fetch({add:!0,success:function(e,t){e.each(function(e){e.get("id")!=="controlbox"&&!e.get("minimized")&&e.trigger("show")}),f.include(f.pluck(t,"id"),"controlbox")||this.add({id:"controlbox",box_id:"controlbox"}),this.get("controlbox").save({connected:!0})}.bind(this)})},isOnlyChatStateNotification:function(e){return e.find("body").length===0&&(e.find(O).length!==0||e.find(M).length!==0||e.find(A).length!==0||e.find(D).length!==0||e.find(P).length!==0)},onInvite:function(e){var n=t(e),r=n.children('x[xmlns="jabber:x:conference"]'),i=a.getBareJidFromJid(n.attr("from")),s=r.attr("jid"),o=r.attr("reason"),u=g.roster.get(i),l;o?l=confirm(I(q('%1$s has invited you to join a chat room: %2$s, and left the following reason: "%3$s"'),u.get("fullname"),s,o)):l=confirm(I(q("%1$s has invited you to join a chat room: %2$s"),u.get("fullname"),s));if(l===!0){var c=g.chatboxviews.showChat({id:s,jid:s,name:a.unescapeNode(a.getNodeFromJid(s)),nick:a.unescapeNode(a.getNodeFromJid(g.connection.jid)),chatroom:!0,box_id:h(s),password:r.attr("password")});f.contains([a.Status.CONNECTING,a.Status.CONNECTED],c.get("connection_status"))||g.chatboxviews.get(s).join(null)}},onMessage:function(e){var n=t(e),r,i,s,o,u,l,c,h=n.attr("id"),p,d,v,m=n.attr("from"),y=n.attr("to"),b=a.getResourceFromJid(y);if(b&&b!==g.resource)return g.log("Ignore incoming message intended for a different resource: "+y,"info"),!0;if(m===g.connection.jid)return g.log("Ignore incoming message sent from this client's JID: "+m,"info"),!0;i=n.children("forwarded"),s=n.children('received[xmlns="urn:xmpp:carbons:2"]'),o=n.children('sent[xmlns="urn:xmpp:carbons:2"]'),i.length?n=i.children("message"):s.length?(n=s.children("forwarded").children("message"),m=n.attr("from")):o.length&&(n=o.children("forwarded").children("message"),m=n.attr("from"),y=n.attr("to")),u=a.getBareJidFromJid(m),l=a.getResourceFromJid(m),c=u==g.bare_jid,c?(r=a.getBareJidFromJid(y),d=a.getResourceFromJid(y)):(r=u,d=l),v=g.roster.get(r);if(v===undefined)return g.log("Could not get roster item for JID "+r,"error"),!0;p=this.get(r);if(!p){if(n.find("body").length===0)return!0;var w=v.get("fullname");w=f.isEmpty(w)?r:w,p=this.create({id:r,jid:r,fullname:w,image_type:v.get("image_type"),image:v.get("image"),url:v.get("url")})}return h&&p.messages.findWhere({msgid:h})?!0:(!this.isOnlyChatStateNotification(n)&&!c&&g.playNotification(),p.receiveMessage(n),g.roster.addResource(r,d),g.emit("message",e),!0)}}),this.ChatBoxViews=Backbone.Overview.extend({initialize:function(){this.model.on("add",this.onChatBoxAdded,this),this.model.on("change:minimized",function(e){e.get("minimized")===!0?this.trimChats():this.trimChats(this.get(e.get("id")))},this)},_ensureElement:function(){if(!this.el){var e=t("#conversejs");e.length||(e=t('<div id="conversejs">'),t("body").append(e)),e.html(g.templates.chats_panel()),this.setElement(e,!1)}else this.setElement(f.result(this,"el"),!1)},onChatBoxAdded:function(e){var t=this.get(e.get("id"));t?(delete t.model,t.model=e,t.initialize()):(e.get("chatroom")?t=new g.ChatRoomView({model:e}):e.get("box_id")==="controlbox"?t=new g.ControlBoxView({model:e}):t=new g.ChatBoxView({model:e}),this.add(e.get("id"),t)),this.trimChats(t)},trimChats:function(e){if(g.no_trimming||this.model.length<=1)return;var n,r=0,i=g.minimized_chats.$el,s=f.contains(this.model.pluck("minimized"),!0)?i.outerWidth(!0):0,o=e?e.$el.outerWidth(!0):0,u=e?e.model.get("id"):null,a=this.get("controlbox");!a||!a.$el.is(":visible")?r=g.controlboxtoggle.$el.outerWidth(!0):r=a.$el.outerWidth(!0),f.each(this.getAll(),function(e){var t=e.model.get("id");t!=="controlbox"&&t!==u&&!e.model.get("minimized")&&e.$el.is(":visible")&&(o+=e.$el.outerWidth(!0))}),s+o+r>t("body").outerWidth(!0)&&(n=this.getOldestMaximizedChat(),n&&n.get("id")!==u&&n.minimize())},getOldestMaximizedChat:function(){var e=0,t=this.model.sort().at(e);while(t.get("id")==="controlbox"||t.get("minimized")===!0){e++,t=this.model.at(e);if(!t)return null}return t},closeAllChatBoxes:function(e){var t=[];return this.model.each(function(n){var r=n.get("id");(e||r!=="controlbox")&&t.push(r)}),t.forEach(function(e){var t=this.get(e);t&&t.close()},this),this},showChat:function(e){var t=this.model.get(e.jid);return t||(t=this.model.create(e,{error:function(e,t){g.log(t.responseText)}})),t.get("minimized")?t.maximize():t.trigger("show"),t}}),this.MinimizedChatBoxView=Backbone.View.extend({tagName:"div",className:"chat-head",events:{"click .close-chatbox-button":"close","click .restore-chat":"restore"},initialize:function(){this.model.messages.on("add",function(e){e.get("message")&&this.updateUnreadMessagesCounter()},this),this.model.on("change:minimized",this.clearUnreadMessagesCounter,this),this.model.on("showReceivedOTRMessage",this.updateUnreadMessagesCounter,this),this.model.on("showSentOTRMessage",this.updateUnreadMessagesCounter,this)},render:function(){var e=f.extend(this.model.toJSON(),{tooltip:I("Click to restore this chat")});return this.model.get("chatroom")?(e.title=this.model.get("name"),this.$el.addClass("chat-head-chatroom")):(e.title=this.model.get("fullname"),this.$el.addClass("chat-head-chatbox")),this.$el.html(g.templates.trimmed_chat(e))},clearUnreadMessagesCounter:function(){this.model.set({num_unread:0}),this.render()},updateUnreadMessagesCounter:function(){this.model.set({num_unread:this.model.get("num_unread")+1}),this.render()},close:function(e){return e&&e.preventDefault&&e.preventDefault(),this.remove(),this.model.destroy(),g.emit("chatBoxClosed",this),this},restore:f.debounce(function(e){e&&e.preventDefault&&e.preventDefault(),this.model.messages.off("add",null,this),this.remove(),this.model.maximize()},200,!0)}),this.MinimizedChats=Backbone.Overview.extend({el:"#minimized-chats",events:{"click #toggle-minimized-chats":"toggle"},initialize:function(){this.initToggle(),this.model.on("add",this.onChanged,this),this.model.on("destroy",this.removeChat,this),this.model.on("change:minimized",this.onChanged,this),this.model.on("change:num_unread",this.updateUnreadMessagesCounter,this)},tearDown:function(){return this.model.off("add",this.onChanged),this.model.off("destroy",this.removeChat),this.model.off("change:minimized",this.onChanged),this.model.off("change:num_unread",this.updateUnreadMessagesCounter),this},initToggle:function(){this.toggleview=new g.MinimizedChatsToggleView({model:new g.MinimizedChatsToggle});var e=h("converse.minchatstoggle"+g.bare_jid);this.toggleview.model.id=e,this.toggleview.model.browserStorage=new Backbone.BrowserStorage[g.storage](e),this.toggleview.model.fetch()},render:function(){return this.keys().length===0?this.$el.hide("fast"):this.keys().length===1&&this.$el.show("fast"),this.$el},toggle:function(e){e&&e.preventDefault&&e.preventDefault(),this.toggleview.model.save({collapsed:!this.toggleview.model.get("collapsed")}),this.$(".minimized-chats-flyout").toggle()},onChanged:function(e){e.get("id")!=="controlbox"&&e.get("minimized")?this.addChat(e):this.get(e.get("id"))&&this.removeChat(e)},addChat:function(e){var t=this.get(e.get("id"));if(t&&t.$el.parent().length!==0)return;var n=new g.MinimizedChatBoxView({model:e});this.$(".minimized-chats-flyout").append(n.render()),this.add(e.get("id"),n),this.toggleview.model.set({num_minimized:this.keys().length}),this.render()},removeChat:function(e){this.remove(e.get("id")),this.toggleview.model.set({num_minimized:this.keys().length}),this.render()},updateUnreadMessagesCounter:function(){var e=this.model.pluck("num_unread"),t=0,n;for(n=0;n<e.length;n++)t+=e[n];this.toggleview.model.set({num_unread:t}),this.render()}}),this.MinimizedChatsToggle=Backbone.Model.extend({initialize:function(){this.set({collapsed:this.get("collapsed")||!1,num_minimized:this.get("num_minimized")||0,num_unread:this.get("num_unread")||0})}}),this.MinimizedChatsToggleView=Backbone.View.extend({el:"#toggle-minimized-chats",initialize:function(){this.model.on("change:num_minimized",this.render,this),this.model.on("change:num_unread",this.render,this),this.$flyout=this.$el.siblings(".minimized-chats-flyout")},render:function(){return this.$el.html(g.templates.toggle_chats(f.extend(this.model.toJSON(),{Minimized:I("Minimized")}))),this.model.get("collapsed")?this.$flyout.hide():this.$flyout.show(),this.$el}}),this.RosterContact=Backbone.Model.extend({initialize:function(e,t){var n=e.jid,r=a.getBareJidFromJid(n);e.jid=r,this.set(f.extend({id:r,jid:r,fullname:r,chat_status:"offline",user_id:a.getNodeFromJid(n),resources:[a.getResourceFromJid(n)],groups:[],image_type:"image/png",image:"iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAIAAABt+uBvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gwHCy455JBsggAABkJJREFUeNrtnM1PE1sUwHvvTD8otWLHST/Gimi1CEgr6M6FEWuIBo2pujDVsNDEP8GN/4MbN7oxrlipG2OCgZgYlxAbkRYw1KqkIDRCSkM7nXvvW8x7vjyNeQ9m7p1p3z1LQk/v/Dhz7vkEXL161cHl9wI5Ag6IA+KAOCAOiAPigDggLhwQB2S+iNZ+PcYY/SWEEP2HAAAIoSAIoihCCP+ngDDGtVotGAz29/cfOXJEUZSOjg6n06lp2sbGRqlUWlhYyGazS0tLbrdbEASrzgksyeYJId3d3el0uqenRxRFAAAA4KdfIIRgjD9+/Pj8+fOpqSndslofEIQwHA6Pjo4mEon//qmFhYXHjx8vLi4ihBgDEnp7e9l8E0Jo165dQ0NDd+/eDYVC2/qsJElDQ0OEkKWlpa2tLZamxAhQo9EIBoOjo6MXL17csZLe3l5FUT59+lQul5l5JRaAVFWNRqN37tw5ceKEQVWRSOTw4cOFQuHbt2+iKLYCIISQLMu3b99OJpOmKAwEAgcPHszn8+vr6wzsiG6UQQhxuVyXLl0aGBgwUW0sFstkMl6v90fo1KyAMMYDAwPnzp0zXfPg4GAqlWo0Gk0MiBAiy/L58+edTqf5Aa4onj59OhaLYYybFRCEMBaL0fNxBw4cSCQStN0QRUBut3t4eJjq6U+dOiVJElVPRBFQIBDo6+ujCqirqyscDlONGykC2lYyYSR6pBoQQapHZwAoHo/TuARYAOrs7GQASFEUqn6aIiBJkhgA6ujooFpUo6iaTa7koFwnaoWadLNe81tbWwzoaJrWrICWl5cZAFpbW6OabVAEtLi4yABQsVjUNK0pAWWzWQaAcrlcswKanZ1VVZUqHYRQEwOq1Wpv3ryhCmh6erpcLjdrNl+v1ycnJ+l5UELI27dvv3//3qxxEADgy5cvExMT9Mznw4cPtFtAdAPFarU6Pj5eKpVM17yxsfHy5cvV1VXazXu62gVBKBQKT58+rdVqJqrFGL948eLdu3dU8/g/H4FBUaJYLAqC0NPTY9brMD4+PjY25mDSracOCABACJmZmXE6nUePHjWu8NWrV48ePSKEsGlAs7Agfd5nenq6Wq0mk0kjDzY2NvbkyRMIIbP2PLvhBUEQ8vl8NpuNx+M+n29bzhVjvLKycv/+/YmJCcazQuwA6YzW1tYmJyf1SY+2trZ/rRk1Go1SqfT69esHDx4UCgVmNaa/zZ/9ABUhRFXVYDB48uTJeDweiUQkSfL7/T9MA2NcqVTK5fLy8vL8/PzU1FSxWHS5XJaM4wGr9sUwxqqqer3eUCgkSZJuUBBCfTRvc3OzXC6vrKxUKhWn02nhCJ5lM4oQQo/HgxD6+vXr58+fHf8sDOp+HQDg8XgclorFU676dKLlo6yWRdItIBwQB8QBcUCtfosRQjRNQwhhjPUC4w46WXryBSHU1zgEQWBz99EFhDGu1+t+v//48ePxeFxRlD179ng8nh0Efgiher2+vr6ur3HMzMysrq7uTJVdACGEurq6Ll++nEgkPB7Pj9jPoDHqOxyqqubz+WfPnuVyuV9XPeyeagAAAoHArVu3BgcHab8CuVzu4cOHpVKJUnfA5GweY+xyuc6cOXPv3r1IJMLAR8iyPDw8XK/Xi8Wiqqqmm5KZgBBC7e3tN27cuHbtGuPVpf7+/lAoNDs7W61WzfVKpgHSSzw3b95MpVKW3MfRaDQSiczNzVUqFRMZmQOIEOL1eq9fv3727FlL1t50URRFluX5+flqtWpWEGAOIFEUU6nUlStXLKSjy759+xwOx9zcnKZpphzGHMzhcDiTydgk9r1w4YIp7RPTAAmCkMlk2FeLf/tIEKbTab/fbwtAhJBoNGrutpNx6e7uPnTokC1eMU3T0um0DZPMkZER6wERQnw+n/FFSxpy7Nix3bt3WwwIIcRgIWnHkkwmjecfRgGx7DtuV/r6+iwGhDHev3+/bQF1dnYaH6E2CkiWZdsC2rt3r8WAHA5HW1ubbQGZcjajgOwTH/4qNko1Wlg4IA6IA+KAOKBWBUQIsfNojyliKIoRRfH9+/dut9umf3wzpoUNNQ4BAJubmwz+ic+OxefzWWlBhJD29nbug7iT5sIBcUAcEAfEAXFAHBAHxOVn+QMrmWpuPZx12gAAAABJRU5ErkJggg==",status:""},e)),this.on("destroy",function(){this.removeFromRoster()}.bind(this))},subscribe:function(e){this.save("ask","subscribe");var t=i({to:this.get("jid"),type:"subscribe"});e&&e!==""&&t.c("status").t(e).up();var n=g.xmppstatus.get("fullname");return n&&n!==""&&t.c("nick",{xmlns:a.NS.NICK}).t(n).up(),g.connection.send(t),this},ackSubscribe:function(){g.connection.send(i({type:"subscribe",to:this.get("jid")}))},ackUnsubscribe:function(e){g.connection.send(i({type:"unsubscribe",to:this.get("jid")})),this.destroy()},unauthorize:function(e){return g.rejectPresenceSubscription(this.get("jid"),e),this},authorize:function(e){var t=i({to:this.get("jid"),type:"subscribed"});return e&&e!==""&&t.c("status").t(e),g.connection.send(t),this},removeResource:function(e){var t=this.get("resources"),n;return e&&(n=f.indexOf(t,e),n!==-1&&(t.splice(n,1),this.save({resources:t}))),t.length},removeFromRoster:function(e){var t=n({type:"set"}).c("query",{xmlns:a.NS.ROSTER}).c("item",{jid:this.get("jid"),subscription:"remove"});return g.connection.sendIQ(t,e,e),this},showInRoster:function(){var e=this.get("chat_status");return g.show_only_online_users&&e!=="online"||g.hide_offline_users&&e==="offline"?this.get("ask")==="subscribe"||this.get("subscription")==="from"||this.get("requesting")===!0?!0:!1:!0}}),this.RosterContactView=Backbone.View.extend({tagName:"dd",events:{"click .accept-xmpp-request":"acceptRequest","click .decline-xmpp-request":"declineRequest","click .open-chat":"openChat","click .remove-xmpp-contact":"removeContact"},initialize:function(){this.model.on("change",this.render,this),this.model.on("remove",this.remove,this),this.model.on("destroy",this.remove,this),this.model.on("open",this.openChat,this)},render:function(){if(!this.model.showInRoster())return this.$el.hide(),this;this.$el[0].style.display==="none"&&this.$el.show();var e=this.model,t=e.get("ask"),n=e.get("chat_status"),r=e.get("requesting"),i=e.get("subscription"),s=["current-xmpp-contact","pending-xmpp-contact","requesting-xmpp-contact"].concat(f.keys(z));f.each(s,function(e){this.el.className.indexOf(e)!==-1&&this.$el.removeClass(e)},this),this.$el.addClass(n).data("status",n);if(t==="subscribe"||i==="from")this.$el.addClass("pending-xmpp-contact"),this.$el.html(g.templates.pending_contact(f.extend(e.toJSON(),{desc_remove:I("Click to remove this contact"),allow_chat_pending_contacts:g.allow_chat_pending_contacts})));else if(r===!0)this.$el.addClass("requesting-xmpp-contact"),this.$el.html(g.templates.requesting_contact(f.extend(e.toJSON(),{desc_accept:I("Click to accept this contact request"),desc_decline:I("Click to decline this contact request"),allow_chat_pending_contacts:g.allow_chat_pending_contacts}))),g.controlboxtoggle.showControlBox();else if(i==="both"||i==="to")this.$el.addClass("current-xmpp-contact"),this.$el.removeClass(f.without(["both","to"],i)[0]).addClass(i),this.$el.html(g.templates.roster_item(f.extend(e.toJSON(),{desc_status:z[n||"offline"],desc_chat:I("Click to chat with this contact"),desc_remove:I("Click to remove this contact"),title_fullname:I("Name"),allow_contact_removal:g.allow_contact_removal})));return this},openChat:function(e){return e&&e.preventDefault&&e.preventDefault(),g.chatboxviews.showChat(this.model.attributes)},removeContact:function(e){e&&e.preventDefault&&e.preventDefault();if(!g.allow_contact_removal)return;var t=confirm(I("Are you sure you want to remove this contact?"));if(t===!0){var r=n({type:"set"}).c("query",{xmlns:a.NS.ROSTER}).c("item",{jid:this.model.get("jid"),subscription:"remove"});g.connection.sendIQ(r,function(e){this.model.destroy(),this.remove()}.bind(this),function(e){alert(I("Sorry, there was an error while trying to remove "+name+" as a contact.")),g.log(e)})}},acceptRequest:function(e){e&&e.preventDefault&&e.preventDefault(),g.roster.sendContactAddIQ(this.model.get("jid"),this.model.get("fullname"),[],function(){this.model.authorize().subscribe()}.bind(this))},declineRequest:function(e){e&&e.preventDefault&&e.preventDefault();var t=confirm(I("Are you sure you want to decline this contact request?"));return t===!0&&this.model.unauthorize().destroy(),this}}),this.RosterContacts=Backbone.Collection.extend({model:g.RosterContact,comparator:function(e,t){var n,r,i=e.get("chat_status")||"offline",s=t.get("chat_status")||"offline";return v[i]===v[s]?(n=e.get("fullname").toLowerCase(),r=t.get("fullname").toLowerCase(),n<r?-1:n>r?1:0):v[i]<v[s]?-1:1},subscribeToSuggestedItems:function(e){return t(e).find("item").each(function(e,n){var r=t(this);this.getAttribute("action")==="add"&&g.roster.addAndSubscribe(this.getAttribute("jid"),null,g.xmppstatus.get("fullname"))}),!0},isSelf:function(e){return a.getBareJidFromJid(e)===a.getBareJidFromJid(g.connection.jid)},addAndSubscribe:function(e,t,n,r,i){this.addContact(e,t,n,i).done(function(e){e instanceof g.RosterContact&&e.subscribe(r)})},sendContactAddIQ:function(e,t,r,i,s){t=f.isEmpty(t)?e:t;var o=n({type:"set"}).c("query",{xmlns:a.NS.ROSTER}).c("item",{jid:e,name:t});f.map(r,function(e){o.c("group").t(e).up()}),g.connection.sendIQ(o,i,s)},addContact:function(e,n,r,i){var s=new t.Deferred;return r=r||[],n=f.isEmpty(n)?e:n,this.sendContactAddIQ(e,n,r,function(t){var o=this.create(f.extend({ask:undefined,fullname:n,groups:r,jid:e,requesting:!1,subscription:"none"},i),{sort:!1});s.resolve(o)}.bind(this),function(e){alert(I("Sorry, there was an error while trying to add "+n+" as a contact.")),g.log(e),s.resolve(e)}),s.promise()},addResource:function(e,t){var n=this.get(e),r;n&&(r=n.get("resources"),r?f.indexOf(r,t)==-1&&(r.push(t),n.set({resources:r})):n.set({resources:[t]}))},subscribeBack:function(e){var t=this.get(e);t instanceof g.RosterContact?t.authorize().subscribe():this.addContact(e,"",[],{subscription:"from"}).done(function(e){e instanceof g.RosterContact&&e.authorize().subscribe()})},getNumOnlineContacts:function(){var e=0,t=["offline","unavailable"],n=this.models,r=n.length,i;g.show_only_online_users&&(t=f.union(t,["dnd","xa","away"]));for(i=0;i<r;i++)f.indexOf(t,n[i].get("chat_status"))===-1&&e++;return e},onRosterPush:function(e){var r=e.getAttribute("id"),i=e.getAttribute("from");return i&&i!==""&&i!=g.bare_jid?(g.connection.send(n({type:"error",id:r,from:g.connection.jid}).c("error",{type:"cancel"}).c("service-unavailable",{xmlns:a.NS.ROSTER})),!0):(g.connection.send(n({type:"result",id:r,from:g.connection.jid})),t(e).children("query").find("item").each(function(e,t){this.updateContact(t)}.bind(this)),!0)},fetchFromServer:function(e,t){var r=n({type:"get",id:g.connection.getUniqueId("roster")}).c("query",{xmlns:a.NS.ROSTER});return g.connection.sendIQ(r,this.onReceivedFromServer.bind(this))},onReceivedFromServer:function(e){g.emit("roster",e),t(e).children("query").find("item").each(function(e,t){this.updateContact(t)}.bind(this)),g.initial_presence_sent||(g.initial_presence_sent=1,g.xmppstatus.sendPresence())},updateContact:function(e){var n=e.getAttribute("jid");if(this.isSelf(n))return;var r=[],i=this.get(n),s=e.getAttribute("ask"),o=e.getAttribute("subscription");t.map(e.getElementsByTagName("group"),function(e){r.push(a.getText(e))});if(!i){if(o==="none"&&s===null||o==="remove")return;this.create({ask:s,fullname:e.getAttribute("name")||n,groups:r,jid:n,subscription:o},{sort:!1})}else{if(o==="remove")return i.destroy();i.save({subscription:o,ask:s,requesting:null,groups:r})}},createContactFromVCard:function(e,t,n,r,i,s){var o=a.getBareJidFromJid(t);this.create({jid:o,subscription:"none",ask:null,requesting:!0,fullname:n||o,image:r,image_type:i,url:s,vcard_updated:l().format()})},handleIncomingSubscription:function(e){var t=a.getBareJidFromJid(e),n=this.get(t);g.allow_contact_requests||g.rejectPresenceSubscription(e,I("This client does not allow presence subscriptions")),g.auto_subscribe?!n||n.get("subscription")!="to"?this.subscribeBack(t):n.authorize():n?n.get("subscription")!="none"?n.authorize():n.get("ask")=="subscribe"&&n.authorize():n||g.getVCard(t,this.createContactFromVCard.bind(this),function(e,t){g.log("Error while retrieving vcard for "+t),this.createContactFromVCard.call(this,e,t)}.bind(this))},presenceHandler:function(e){var n=t(e),r=e.getAttribute("type");if(r==="error")return!0;var i=e.getAttribute("from"),s=a.getBareJidFromJid(i),o=a.getResourceFromJid(i),u=n.find("show").text()||"online",f=n.find("status"),l=this.get(s);if(this.isSelf(s)){g.connection.jid!==i&&r!=="unavailable"&&(g.xmppstatus.save({status:u}),f.length&&g.xmppstatus.save({status_message:f}));return}if((n.find("x").attr("xmlns")||"").indexOf(a.NS.MUC)===0)return;l&&f.text()!=l.get("status")&&l.save({status:f.text()});if(r==="subscribed"&&l)l.ackSubscribe();else if(r==="unsubscribed"&&l)l.ackUnsubscribe();else{if(r==="unsubscribe")return;r==="subscribe"?this.handleIncomingSubscription(i):r==="unavailable"&&l?l.removeResource(o)===0&&l.save({chat_status:"offline"}):l&&(this.addResource(s,o),l.save({chat_status:u}))}}}),this.RosterGroup=Backbone.Model.extend({initialize:function(e,t){this.set(f.extend({description:W,state:j},e)),this.contacts=new g.RosterContacts}}),this.RosterGroupView=Backbone.Overview.extend({tagName:"dt",className:"roster-group",events:{"click a.group-toggle":"toggle"},initialize:function(){this.model.contacts.on("add",this.addContact,this),this.model.contacts.on("change:subscription",this.onContactSubscriptionChange,this),this.model.contacts.on("change:requesting",this.onContactRequestChange,this),this.model.contacts.on("change:chat_status",function(e){this.model.contacts.sort(),this.positionContact(e).render()},this),this.model.contacts.on("destroy",this.onRemove,this),this.model.contacts.on("remove",this.onRemove,this),g.roster.on("change:groups",this.onContactGroupChange,this)},render:function(){return this.$el.attr("data-group",this.model.get("name")),this.$el.html(t(g.templates.group_header({label_group:this.model.get("name"),desc_group_toggle:this.model.get("description"),toggle_state:this.model.get("state")}))),this},addContact:function(e){var t=new g.RosterContactView({model:e});this.add(e.get("id"),t),t=this.positionContact(e).render(),e.showInRoster()&&(this.model.get("state")===F?(t.$el[0].style.display!=="none"&&t.$el.hide(),this.$el.is(":visible")||this.$el.show()):this.$el[0].style.display!=="block"&&this.show())},positionContact:function(e){var t=this.get(e.get("id")),n=this.model.contacts.indexOf(e);return t.$el.detach(),n===0?this.$el.after(t.$el):n==this.model.contacts.length-1?this.$el.nextUntil("dt").last().after(t.$el):this.$el.nextUntil("dt").eq(n).before(t.$el),t},show:function(){this.$el.show(),f.each(this.getAll(),function(e){e.model.showInRoster()&&e.$el.show()})},hide:function(){this.$el.nextUntil("dt").addBack().hide()},filter:function(e){var t,n;e.length===0?(this.model.get("state")===j&&this.model.contacts.each(function(e){e.showInRoster()&&this.get(e.get("id")).$el.show()}.bind(this)),this.showIfNecessary()):(e=e.toLowerCase(),t=this.model.contacts.filter(p.not("fullname",e)),t.length===this.model.contacts.length?this.hide():(f.each(t,function(e){this.get(e.get("id")).$el.hide()}.bind(this)),f.each(this.model.contacts.reject(p.not("fullname",e)),function(e){this.get(e.get("id")).$el.show()}.bind(this)),this.showIfNecessary()))},showIfNecessary:function(){!this.$el.is(":visible")&&this.model.contacts.length>0&&this.$el.show()},toggle:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target);n.hasClass("icon-opened")?(this.$el.nextUntil("dt").slideUp(),this.model.save({state:F}),n.removeClass("icon-opened").addClass("icon-closed")):(n.removeClass("icon-closed").addClass("icon-opened"),this.model.save({state:j}),this.filter(g.rosterview.$(".roster-filter").val(),g.rosterview.$(".filter-type").val()))},onContactGroupChange:function(e){var t=f.contains(e.get("groups"),this.model.get("name")),n=e.get("id"),r=!this.get(n);t&&!r?this.model.contacts.remove(n):!t&&r&&this.addContact(e)},onContactSubscriptionChange:function(e){this.model.get("name")===V&&e.get("subscription")!=="from"&&this.model.contacts.remove(e.get("id"))},onContactRequestChange:function(e){this.model.get("name")===J&&!e.get("requesting")&&this.model.contacts.remove(e.get("id"))},onRemove:function(e){this.remove(e.get("id")),this.model.contacts.length===0&&this.$el.hide()}}),this.RosterGroups=Backbone.Collection.extend({model:g.RosterGroup,comparator:function(e,t){e=e.get("name"),t=t.get("name");var n=f.keys(Y),r=f.contains(n,e),i=f.contains(n,t);if(!r&&!i)return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0;if(r&&i)return Y[e]<Y[t]?-1:Y[e]>Y[t]?1:0;if(!r&&i)return t===X?1:-1;if(r&&!i)return e===X?-1:1}}),this.RosterView=Backbone.Overview.extend({tagName:"div",id:"converse-roster",events:{"keydown .roster-filter":"liveFilter","click .onX":"clearFilter","mousemove .x":"togglePointer","change .filter-type":"changeFilterType"},initialize:function(){this.roster_handler_ref=this.registerRosterHandler(),this.rosterx_handler_ref=this.registerRosterXHandler(),this.presence_ref=this.registerPresenceHandler(),g.roster.on("add",this.onContactAdd,this),g.roster.on("change",this.onContactChange,this),g.roster.on("destroy",this.update,this),g.roster.on("remove",this.update,this),this.model.on("add",this.onGroupAdd,this),this.model.on("reset",this.reset,this),this.$roster=t('<dl class="roster-contacts" style="display: none;"></dl>')},unregisterHandlers:function(){g.connection.deleteHandler(this.roster_handler_ref),delete this.roster_handler_ref,g.connection.deleteHandler(this.rosterx_handler_ref),delete this.rosterx_handler_ref,g.connection.deleteHandler(this.presence_ref),delete this.presence_ref},update:f.debounce(function(){var e=t("#online-count");return e.text("("+g.roster.getNumOnlineContacts()+")"),e.is(":visible")||e.show(),this.$roster.parent().length===0&&this.$el.append(this.$roster.show()),this.showHideFilter()},g.animate?100:0),render:function(){return this.$el.html(g.templates.roster({placeholder:I("Type to filter"),label_contacts:Q,label_groups:G})),g.allow_contact_requests||this.$el.addClass("no-contact-requests"),this},fetch:function(){return this.model.fetch({silent:!0,success:function(e,t,n){e.length!==0&&this.positionFetchedGroups(e,t,n),g.roster.fetch({add:!0,success:function(e){e.length>0?g.initial_presence_sent=1:g.roster.fetchFromServer()}})}.bind(this)}),this},changeFilterType:function(e){e&&e.preventDefault&&e.preventDefault(),this.clearFilter(),this.filter(this.$(".roster-filter").val(),e.target.value)},tog:function(e){return e?"addClass":"removeClass"},togglePointer:function(e){e&&e.preventDefault&&e.preventDefault();var n=e.target;t(n)[this.tog(n.offsetWidth-18<e.clientX-n.getBoundingClientRect().left)]("onX")},filter:function(e,t){var n;e=e.toLowerCase(),t==="groups"?f.each(this.getAll(),function(t,n){t.model.get("name").toLowerCase().indexOf(e.toLowerCase())===-1?t.hide():t.model.contacts.length>0&&t.show()}):f.each(this.getAll(),function(n){n.filter(e,t)})},liveFilter:f.debounce(function(e){e&&e.preventDefault&&e.preventDefault();var t=this.$(".roster-filter"),n=t.val(),r=this.$(".filter-type").val();t[this.tog(n)]("x"),this.filter(n,r)},300),clearFilter:function(e){e&&e.preventDefault&&(e.preventDefault(),t(e.target).removeClass("x onX").val("")),this.filter("")},showHideFilter:function(){if(!this.$el.is(":visible"))return;var e=this.$(".roster-filter"),t=this.$(".filter-type"),n=e.is(":visible");if(n&&e.val().length>0)return;return this.$roster.hasScrollBar()?n||(e.show(),t.show()):(e.hide(),t.hide()),this},reset:function(){return g.roster.reset(),this.removeAll(),this.$roster=t('<dl class="roster-contacts" style="display: none;"></dl>'),this.render().update(),this},registerRosterHandler:function(){g.connection.addHandler(g.roster.onRosterPush.bind(g.roster),a.NS.ROSTER,"iq","set")},registerRosterXHandler:function(){var e=0;g.connection.addHandler(function(n){return window.setTimeout(function(){g.connection.flush(),g.roster.subscribeToSuggestedItems.bind(g.roster)(n)},e),e+=t(n).find("item").length*250,!0},a.NS.ROSTERX,"message",null)},registerPresenceHandler:function(){g.connection.addHandler(function(e){return g.roster.presenceHandler(e),!0}.bind(this),null,"presence",null)},onGroupAdd:function(e){var t=new g.RosterGroupView({model:e});this.add(e.get("name"),t.render()),this.positionGroup(t)},onContactAdd:function(e){this.addRosterContact(e).update(),e.get("vcard_updated")||g.getVCard(e.get("jid"))},onContactChange:function(e){this.updateChatBox(e).update(),f.has(e.changed,"subscription")&&(e.changed.subscription=="from"?this.addContactToGroup(e,V):f.contains(["both","to"],e.get("subscription"))&&this.addExistingContact(e)),f.has(e.changed,"ask")&&e.changed.ask=="subscribe"&&this.addContactToGroup(e,V),f.has(e.changed,"subscription")&&e.changed.requesting=="true"&&this.addContactToGroup(e,J),this.liveFilter()},updateChatBox:function(e){var t=g.chatboxes.get(e.get("jid")),n={};return t?(f.has(e.changed,"chat_status")&&(n.chat_status=e.get("chat_status")),f.has(e.changed,"status")&&(n.status=e.get("status")),t.save(n),this):this},positionFetchedGroups:function(e,t,n){e.sort(),e.each(function(e,t){var n=this.get(e.get("name"));n||(n=new g.RosterGroupView({model:e}),this.add(e.get("name"),n.render())),t===0?this.$roster.append(n.$el):this.appendGroup(n)}.bind(this))},positionGroup:function(e){var n=this.$roster.find(".roster-group"),r=n.length?this.model.indexOf(e.model):0;return r===0?this.$roster.prepend(e.$el):r==this.model.length-1?this.appendGroup(e):t(n.eq(r)).before(e.$el),this},appendGroup:function(e){var t=this.$roster.find(".roster-group").last(),n=t.siblings("dd");return n.length>0?n.last().after(e.$el):t.after(e.$el),this},getGroup:function(e){var t=this.get(e);return t?t.model:this.model.create({name:e,id:h(e)})},addContactToGroup:function(e,t){this.getGroup(t).contacts.add(e)},addExistingContact:function(e){var t;g.roster_groups?(t=e.get("groups"),t.length===0&&(t=[K])):t=[X],f.each(t,f.bind(this.addContactToGroup,this,e))},addRosterContact:function(e){return e.get("subscription")==="both"||e.get("subscription")==="to"?this.addExistingContact(e):e.get("ask")==="subscribe"||e.get("subscription")==="from"?this.addContactToGroup(e,V):e.get("requesting")===!0&&this.addContactToGroup(e,J),this}}),this.XMPPStatus=Backbone.Model.extend({initialize:function(){this.set({status:this.getStatus()}),this.on("change",function(e){this.get("fullname")===undefined&&g.getVCard(null,function(e,t,n,r,i,s){this.save({fullname:n})}.bind(this)),f.has(e.changed,"status")&&g.emit("statusChanged",this.get("status")),f.has(e.changed,"status_message")&&g.emit("statusMessageChanged",this.get("status_message"))}.bind(this))},constructPresence:function(e,t){typeof e=="undefined"&&(e=this.get("status")||"online"),typeof t=="undefined"&&(t=this.get("status_message"));var n;return e==="unavailable"||e==="probe"||e==="error"||e==="unsubscribe"||e==="unsubscribed"||e==="subscribe"||e==="subscribed"?n=i({type:e}):e==="offline"?(n=i({type:"unavailable"}),t&&n.c("show").t(e)):(e==="online"?n=i():n=i().c("show").t(e).up(),t&&n.c("status").t(t)),n},sendPresence:function(e,t){g.connection.send(this.constructPresence(e,t))},setStatus:function(e){this.sendPresence(e),this.save({status:e})},getStatus:function(){return this.get("status")||"online"},setStatusMessage:function(e){this.sendPresence(this.getStatus(),e);var n=this.get("status_message");this.save({status_message:e}),this.xhr_custom_status&&t.ajax({url:this.xhr_custom_status_url,type:"POST",data:{msg:e}}),n===e&&this.trigger("update-status-ui",this)}}),this.XMPPStatusView=Backbone.View.extend({el:"span#xmpp-status-holder",events:{"click a.choose-xmpp-status":"toggleOptions","click #fancy-xmpp-status-select a.change-xmpp-status-message":"renderStatusChangeForm","submit #set-custom-xmpp-status":"setStatusMessage","click .dropdown dd ul li a":"setStatus"},initialize:function(){this.model.on("change:status",this.updateStatusUI,this),this.model.on("change:status_message",this.updateStatusUI,this),this.model.on("update-status-ui",this.updateStatusUI,this)},render:function(){var e=this.$el.find("select#select-xmpp-status"),n=this.model.get("status")||"offline",r=t("option",e),i,s=[],o=this;return this.$el.html(g.templates.choose_status()),this.$el.find("#fancy-xmpp-status-select").html(g.templates.chat_status({status_message:this.model.get("status_message")||I("I am %1$s",this.getPrettyStatus(n)),chat_status:n,desc_custom_status:I("Click here to write a custom status message"),desc_change_status:I("Click to change your chat status")})),r.each(function(){s.push(g.templates.status_option({value:t(this).val(),text:this.text}))}),i=this.$el.find("#target dd ul").hide(),i.append(s.join("")),e.remove(),this},toggleOptions:function(e){e.preventDefault(),t(e.target).parent().parent().siblings("dd").find("ul").toggle("fast")},renderStatusChangeForm:function(e){e.preventDefault();var t=this.model.get("status")||"offline",n=g.templates.change_status_message({status_message:t,label_custom_status:I("Custom status"),label_save:I("Save")});this.$el.find(".xmpp-status").replaceWith(n),this.$el.find(".custom-xmpp-status").focus().focus()},setStatusMessage:function(e){e.preventDefault(),this.model.setStatusMessage(t(e.target).find("input").val())},setStatus:function(e){e.preventDefault();var n=t(e.target),r=n.attr("data-value");r==="logout"?(this.$el.find(".dropdown dd ul").hide(),g.logOut()):(this.model.setStatus(r),this.$el.find(".dropdown dd ul").hide())},getPrettyStatus:function(e){return e==="chat"?I("online"):e==="dnd"?I("busy"):e==="xa"?I("away for long"):e==="away"?I("away"):e==="offline"?I("offline"):I(e)||I("online")},updateStatusUI:function(e){var t=e.get("status"),n=e.get("status_message")||I("I am %1$s",this.getPrettyStatus(t));this.$el.find("#fancy-xmpp-status-select").html(g.templates.chat_status({chat_status:t,status_message:n,desc_custom_status:I("Click here to write a custom status message"),desc_change_status:I("Click to change your chat status")}))}}),this.Session=Backbone.Model,this.Feature=Backbone.Model,this.Features=Backbone.Collection.extend({model:g.Feature,initialize:function(){this.addClientIdentities().addClientFeatures(),this.browserStorage=new Backbone.BrowserStorage[g.storage](h("converse.features"+g.bare_jid)),this.browserStorage.records.length===0?(g.connection.disco.info(g.domain,null,this.onInfo.bind(this)),g.connection.disco.items(g.domain,null,this.onItems.bind(this))):this.fetch({add:!0})},addClientIdentities:function(){return g.connection.disco.addIdentity("client","web","Converse.js"),this},addClientFeatures:function(){return g.connection.disco.addFeature(a.NS.CHATSTATES),g.connection.disco.addFeature(a.NS.ROSTERX),g.connection.disco.addFeature("jabber:x:conference"),g.connection.disco.addFeature("urn:xmpp:carbons:2"),g.connection.disco.addFeature(a.NS.VCARD),g.connection.disco.addFeature(a.NS.BOSH),g.connection.disco.addFeature(a.NS.DISCO_INFO),g.connection.disco.addFeature(a.NS.MUC),this},onItems:function(e){t(e).find("query item").each(function(e,n){g.connection.disco.info(t(n).attr("jid"),null,this.onInfo.bind(this))}.bind(this))},onInfo:function(e){var n=t(e);if(n.find("identity[category=server][type=im]").length===0&&n.find("identity[category=conference][type=text]").length===0)return;n.find("feature").each(function(e,r){var i=t(r).attr("var");this[i]=!0,this.create({"var":i,from:n.attr("from")})}.bind(this))}}),this.RegisterPanel=Backbone.View.extend({tagName:"div",id:"register",className:"controlbox-pane",events:{"submit form#converse-register":"onProviderChosen"},initialize:function(e){this.reset(),this.$parent=e.$parent,this.$tabs=e.$parent.parent().find("#controlbox-tabs"),this.registerHooks()},render:function(){return this.$parent.append(this.$el.html(g.templates.register_panel({label_domain:I("Your XMPP provider's domain name:"),label_register:I("Fetch registration form"),help_providers:I("Tip: A list of public XMPP providers is available"),help_providers_link:I("here"),href_providers:g.providers_link,domain_placeholder:g.domain_placeholder}))),this.$tabs.append(g.templates.register_tab({label_register:I("Register")})),this},registerHooks:function(){var e=g.connection,t=e._connect_cb.bind(e);e._connect_cb=function(e,n,r){this._registering?this.getRegistrationFields(e,n,r)&&(this._registering=!1):t(e,n,r)}.bind(this)},getRegistrationFields:function(e,t,r){g.log("sendQueryStanza was called");var i=g.connection;i.connected=!0;var s=i._proto._reqToData(e);if(!s)return;if(i._proto._connect_cb(s)===a.Status.CONNFAIL)return!1;var o=s.getElementsByTagName("register"),u=s.getElementsByTagName("mechanism");return o.length===0&&u.length===0?(i._proto._no_auth_received(t),!1):o.length===0?(i._changeConnectStatus(a.Status.REGIFAIL,I("Sorry, the given provider does not support in band account registration. Please try with a different provider.")),!0):(i._addSysHandler(this.onRegistrationFields.bind(this),null,"iq",null,null),i.send(n({type:"get"}).c("query",{xmlns:a.NS.REGISTER}).tree()),!0)},onRegistrationFields:function(e){return e.getElementsByTagName("query").length!==1?(g.connection._changeConnectStatus(a.Status.REGIFAIL,"unknown"),!1):(this.setFields(e),this.renderRegistrationForm(e),!1)},reset:function(e){var t={fields:{},urls:[],title:"",instructions:"",registered:!1,_registering:!1,domain:null,form_type:null};f.extend(this,t),e&&f.extend(this,f.pick(e,Object.keys(t)))},onProviderChosen:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target),r=n.find("input[name=domain]"),i=r.val(),s=!1;if(!i){r.addClass("error");return}return n.find("input[type=submit]").hide().after(g.templates.registration_request({cancel:I("Cancel"),info_message:I("Requesting a registration form from the XMPP server")})),n.find("button.cancel").on("click",this.cancelRegistration.bind(this)),this.reset({domain:a.getDomainFromJid(i),_registering:!0}),g.connection.connect(this.domain,"",this.onRegistering.bind(this)),!1},giveFeedback:function(e,n){this.$(".reg-feedback").attr("class","reg-feedback").text(e),n&&t(".reg-feedback").addClass(n)},onRegistering:function(e,n){var r;console.log("onRegistering"),f.contains([a.Status.DISCONNECTED,a.Status.CONNFAIL,a.Status.REGIFAIL,a.Status.NOTACCEPTABLE,a.Status.CONFLICT],e)?(g.log("Problem during registration: Strophe.Status is: "+e),this.cancelRegistration(),n?this.giveFeedback(n,"error"):this.giveFeedback(I('Something went wrong while establishing a connection with "%1$s". Are you sure it exists?',this.domain),"error")):e==a.Status.REGISTERED&&(g.log("Registered successfully."),g.connection.reset(),r=this,this.$("form").hide(function(){t(this).replaceWith('<span class="spinner centered"/>'),r.fields.password&&r.fields.username?(g.connection.connect(r.fields.username.toLowerCase()+"@"+r.domain.toLowerCase(),r.fields.password,g.onConnectStatusChanged),g.chatboxviews.get("controlbox").switchTab({target:r.$tabs.find(".current")}).giveFeedback(I("Now logging you in"))):g.chatboxviews.get("controlbox").renderLoginPanel().giveFeedback(I("Registered successfully")),r.reset()}))},renderRegistrationForm:function(n){var r=this.$("form"),i=t(n),s,o;r.empty().append(g.templates.registration_form({domain:this.domain,title:this.title,instructions:this.instructions})),this.form_type=="xform"?(s=i.find("field"),f.each(s,function(e){r.append(c.xForm2webForm.bind(this,t(e),i))}.bind(this))):(f.each(Object.keys(this.fields),function(n){n=="username"?o=e.form_username({domain:" @"+this.domain,name:n,type:"text",label:n,value:"",required:1}):(r.append("<label>"+n+"</label>"),o=t('<input placeholder="'+n+'" name="'+n+'"></input>'),(n==="password"||n==="email")&&o.attr("type",n)),r.append(o)}.bind(this)),f.each(this.urls,function(e){r.append(t('<a target="blank"></a>').attr("href",e).text(e))}.bind(this))),this.fields?(r.append('<input type="submit" class="save-submit" value="'+I("Register")+'"/>'),r.on("submit",this.submitRegistrationForm.bind(this)),r.append('<input type="button" class="cancel-submit" value="'+I("Cancel")+'"/>'),r.find("input[type=button]").on("click",this.cancelRegistration.bind(this))):(r.append('<input type="button" class="submit" value="'+I("Return")+'"/>'),r.find("input[type=button]").on("click",this.cancelRegistration.bind(this)))},reportErrors:function(e){var n=this.$("form"),r,i=t(e).find("error text"),s=n.find(".form-errors");s.length?s.empty():(r='<legend class="form-errors"></legend>',n.find("p.instructions").length?n.find("p.instructions").append(r):n.prepend(r),s=n.find(".form-errors")),i.each(function(e,n){s.append(t("<p>").text(t(n).text()))}),i.length||s.append(t("<p>").text(I("The provider rejected your registration attempt. Please check the values you entered for correctness."))),s.show()},cancelRegistration:function(e){e&&e.preventDefault&&e.preventDefault(),g.connection.reset(),this.render()},submitRegistrationForm:function(e){e&&e.preventDefault&&e.preventDefault();var r=this.$("input.required:emptyVal");if(r.length){r.addClass("error");return}var i=t(e.target).find(":input:not([type=button]):not([type=submit])"),s=n({type:"set"}).c("query",{xmlns:a.NS.REGISTER});this.form_type=="xform"?(s.c("x",{xmlns:a.NS.XFORM,type:"submit"}),i.each(function(){s.cnode(c.webForm2xForm(this)).up()})):i.each(function(){var e=t(this);s.c(e.attr("name"),{},e.val())}),g.connection._addSysHandler(this._onRegisterIQ.bind(this),null,"iq",null,null),g.connection.send(s),this.setFields(s.tree())},setFields:function(e){var n=t(e).find("query"),r;n.length>0&&(r=n.find('x[xmlns="'+a.NS.XFORM+'"]'),r.length>0?this._setFieldsFromXForm(r):this._setFieldsFromLegacy(n))},_setFieldsFromLegacy:function(e){e.children().each(function(e,n){var r=t(n);if(n.tagName.toLowerCase()==="instructions"){this.instructions=a.getText(n);return}if(n.tagName.toLowerCase()==="x"){r.attr("xmlns")==="jabber:x:oob"&&r.find("url").each(function(e,n){this.urls.push(t(n).text())}.bind(this));return}this.fields[n.tagName.toLowerCase()]=a.getText(n)}.bind(this)),this.form_type="legacy"},_setFieldsFromXForm:function(e){this.title=e.find("title").text(),this.instructions=e.find("instructions").text(),e.find("field").each(function(e,n){var r=n.getAttribute("var");r?this.fields[r.toLowerCase()]=t(n).children("value").text():console.log("WARNING: Found field we couldn't parse")}.bind(this)),this.form_type="xform"},_onRegisterIQ:function(e){var t,n,r=null,i,s=e.getElementsByTagName("query");s.length>0&&(s=s[0]);if(e.getAttribute("type")==="error"){g.log("Registration failed."),r=e.getElementsByTagName("error");if(r.length!==1)return g.connection._changeConnectStatus(a.Status.REGIFAIL,"unknown"),!1;r=r[0].firstChild.tagName.toLowerCase(),r==="conflict"?g.connection._changeConnectStatus(a.Status.CONFLICT,r):r==="not-acceptable"?g.connection._changeConnectStatus(a.Status.NOTACCEPTABLE,r):g.connection._changeConnectStatus(a.Status.REGIFAIL,r),this.reportErrors(e)}else g.connection._changeConnectStatus(a.Status.REGISTERED,null);return!1},remove:function(){this.$tabs.empty(),this.$el.parent().empty()}}),this.LoginPanel=Backbone.View.extend({tagName:"div",id:"login-dialog",className:"controlbox-pane",events:{"submit form#converse-login":"authenticate"},initialize:function(e){e.$parent.html(this.$el.html(g.templates.login_panel({LOGIN:w,ANONYMOUS:E,PREBIND:S,auto_login:g.auto_login,authentication:g.authentication,label_username:I("XMPP Username:"),label_password:I("Password:"),label_anon_login:I("Click here to log in anonymously"),label_login:I("Log In"),placeholder_username:I("user@server"),placeholder_password:I("password")}))),this.$tabs=e.$parent.parent().find("#controlbox-tabs")},render:function(){return this.$tabs.append(g.templates.login_tab({label_sign_in:I("Sign in")})),this.$el.find("input#jid").focus(),this.$el.is(":visible")||this.$el.show(),this},authenticate:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target);if(g.authentication===E){this.connect(n,g.jid,null);return}var r=n.find("input[name=jid]"),i=r.val(),s=n.find("input[name=password]"),o=s.val(),u=null,a=!1;i||(a=!0,r.addClass("error")),o||(a=!0,s.addClass("error"));if(a)return;return this.connect(n,i,o),!1},connect:function(e,t,n){var r;e&&e.find("input[type=submit]").hide().after('<span class="spinner login-submit"/>'),t&&(r=a.getResourceFromJid(t),r?t=a.getBareJidFromJid(t).toLowerCase()+"/"+a.getResourceFromJid(t):t=t.toLowerCase()+"/converse.js-"+Math.floor(Math.random()*139749825).toString()),g.connection.connect(t,n,g.onConnectStatusChanged)},remove:function(){this.$tabs.empty(),this.$el.parent().empty()}}),this.ControlBoxToggle=Backbone.View.extend({tagName:"a",className:"toggle-controlbox",id:"toggle-controlbox",events:{click:"onClick"},attributes:{href:"#"},initialize:function(){this.render()},render:function(){return t("#conversejs").prepend(this.$el.html(g.templates.controlbox_toggle({label_toggle:I("Toggle chat")}))),this.$el.hide(),this},hide:function(e){this.$el.fadeOut("fast",e)},show:function(e){this.$el.show("fast",e)},showControlBox:function(){var e=g.chatboxes.get("controlbox");e||(e=g.addControlBox()),g.connection.connected?e.save({closed:!1}):e.trigger("show")},onClick:function(e){e.preventDefault();if(t("div#controlbox").is(":visible")){var n=g.chatboxes.get("controlbox");g.connection.connected?n.save({closed:!0}):n.trigger("hide")}else this.showControlBox()}}),this.addControlBox=function(){return this.chatboxes.add({id:"controlbox",box_id:"controlbox",height:this.default_box_height,closed:!this.show_controlbox_by_default})},this.setUpXMLLogging=function(){this.debug&&(this.connection.xmlInput=function(e){console.log(e.outerHTML)},this.connection.xmlOutput=function(e){console.log(e.outerHTML)})},this.startNewBOSHSession=function(){t.ajax({url:this.prebind_url,type:"GET",success:function(e){this.connection.attach(e.jid,e.sid,e.rid,this.onConnectStatusChanged)}.bind(this),error:function(e){delete this.connection,this.emit("noResumeableSession")}.bind(this)})},this.attemptPreboundSession=function(e){if(!this.keepalive){if(this.jid&&this.sid&&this.rid)return this.connection.attach(this.jid,this.sid,this.rid,this.onConnectStatusChanged);throw new Error("initConnection: If you use prebind and not keepalive, then you MUST supply JID, RID and SID values")}if(!this.jid)throw new Error("initConnection: when using 'keepalive' with 'prebind, you must supply the JID of the current user.");try{return this.connection.restore(this.jid,this.onConnectStatusChanged)}catch(t){g.log("Could not restore session for jid: "+this.jid+" Error message: "+t.message)}this.prebind_url?this.startNewBOSHSession():(delete this.connection,this.emit("noResumeableSession"))},this.attemptNonPreboundSession=function(){if(this.keepalive)try{return this.connection.restore(undefined,this.onConnectStatusChanged)}catch(e){g.log("Could not restore sessions. Error message: "+e.message)}else if(this.auto_login){if(!this.jid)throw new Error("initConnection: If you use auto_login, you also need to provide a jid value");if(this.authentication===E)this.connection.connect(this.jid.toLowerCase(),null,this.onConnectStatusChanged);else if(this.authentication===w){if(!this.password)throw new Error("initConnection: If you use auto_login and authentication='login' then you also need to provide a password.");this.jid=a.getBareJidFromJid(this.jid).toLowerCase()+"/"+a.getResourceFromJid(this.jid),this.connection.connect(this.jid,this.password,this.onConnectStatusChanged)}}},this.initConnection=function(){if(this.connection&&this.connection.connected)this.setUpXMLLogging(),this.onConnected();else{if(!this.bosh_service_url&&!this.websocket_url)throw new Error("initConnection: you must supply a value for either the bosh_service_url or websocket_url or both.");if(("WebSocket"in window||"MozWebSocket"in window)&&this.websocket_url)this.connection=new a.Connection(this.websocket_url);else{if(!this.bosh_service_url)throw new Error("initConnection: this browser does not support websockets and bosh_service_url wasn't specified.");this.connection=new a.Connection(this.bosh_service_url,{keepalive:this.keepalive})}this.setUpXMLLogging(),this.authentication===S?this.attemptPreboundSession():this.attemptNonPreboundSession()}},this._tearDown=function(){return this.initial_presence_sent=!1,this.roster&&this.roster.off().reset(),this.rosterview&&(this.rosterview.unregisterHandlers(),this.rosterview.model.off().reset(),this.rosterview.undelegateEvents().remove()),this.chatboxes.remove(),this.features&&this.features.reset(),this.minimized_chats&&(this.minimized_chats.undelegateEvents().model.reset(),this.minimized_chats.removeAll(),this.minimized_chats.tearDown().remove(),delete this.minimized_chats),this},this._initialize=function(){return this.chatboxes=new this.ChatBoxes,this.chatboxviews=new this.ChatBoxViews({model:this.chatboxes}),this.controlboxtoggle=new this.ControlBoxToggle,this.otr=new this.OTR,this.initSession(),this.initConnection(),this.connection&&this.addControlBox(),this},this._overrideAttribute=function(e,t){var n=t.overrides[e];typeof n=="function"?(typeof t._super=="undefined"&&(t._super={converse:g}),t._super[e]=g[e].bind(g),g[e]=n.bind(t)):g[e]=n},this._extendObject=function(e,t){e.prototype._super||(e.prototype._super={converse:g}),f.each(t,function(t,n){n==="events"?e.prototype[n]=f.extend(t,e.prototype[n]):(typeof t=="function"&&(e.prototype._super[n]=e.prototype[n]),e.prototype[n]=t)})},this._initializePlugins=function(){f.each(this.plugins,function(e){e.converse=g,f.each(Object.keys(e.overrides),function(t){var n=e.overrides[t];typeof n=="object"?this._extendObject(g[t],n):this._overrideAttribute(t,e)}.bind(this)),typeof e.initialize=="function"?e.initialize.bind(e)(this):e.bind(this)(this)}.bind(this))},d.connection&&(this.connection=d.connection),this._initializePlugins(),this._initialize(),this.registerGlobalEventHandlers(),g.emit("initialized")};var m=function(e){var t=d.chatboxviews.get(e.get("jid"));return{close:t.close.bind(t),endOTR:e.endOTR.bind(e),focus:t.focus.bind(t),get:e.get.bind(e),initiateOTR:e.initiateOTR.bind(e),is_chatroom:e.is_chatroom,maximize:e.maximize.bind(e),minimize:e.minimize.bind(e),open:t.show.bind(t),set:e.set.bind(e)}},g=function(e){var t=a.getBareJidFromJid(e),n=d.chatboxes.get(t);if(!n){var r=d.roster.get(t);if(r===undefined)return d.log("Could not get roster item for JID "+t,"error"),null;n=d.chatboxes.create({id:t,jid:t,fullname:f.isEmpty(r.get("fullname"))?e:r.get("fullname"),image_type:r.get("image_type"),image:r.get("image"),url:r.get("url")})}return m(n)};return{initialize:function(e,t){d.initialize(e,t)},disconnect:function(){d.connection.disconnect()},account:{logout:function(){d.logOut()}},user:{logout:function(){d.logOut()},status:{get:function(){return d.xmppstatus.get("status")},set:function(e,t){var n={status:e};if(!f.contains(f.keys(v),e))throw new Error("Invalid availability value. See https://xmpp.org/rfcs/rfc3921.html#rfc.section.2.2.2.1");typeof t=="string"&&(n.status_message=t),d.xmppstatus.save(n)},message:{get:function(){return d.xmppstatus.get("status_message")},set:function(e){d.xmppstatus.save({status_message:e})}}}},settings:{get:function(e){if(f.contains(Object.keys(d.default_settings),e))return d[e]},set:function(e,t){var n={};typeof e=="object"?f.extend(d,f.pick(e,Object.keys(d.default_settings))):typeof e=="string"&&(n[e]=t,f.extend(d,f.pick(n,Object.keys(d.default_settings))))}},contacts:{get:function(e){var t=function(e){var t=d.roster.get(a.getBareJidFromJid(e));return t?t.attributes:null};if(typeof e=="undefined")e=d.roster.pluck("jid");else if(typeof e=="string")return t(e);return f.map(e,t)},add:function(e,t){if(typeof e!="string"||e.indexOf("@")<0)throw new TypeError("contacts.add: invalid jid");d.roster.addAndSubscribe(e,f.isEmpty(t)?e:t)}},chats:{open:function(e){var t;return typeof e=="undefined"?(d.log("chats.open: You need to provide at least one JID","error"),null):typeof e=="string"?(t=g(e),t.open(),t):f.map(e,function(e){var t=g(e);return t.open(),t})},get:function(e){return typeof e=="undefined"?(d.log("chats.get: You need to provide at least one JID","error"),null):typeof e=="string"?g(e):f.map(e,g)}},rooms:{open:function(e,t){t||(t=a.getNodeFromJid(d.bare_jid));if(typeof t!="string")throw new TypeError("rooms.open: invalid nick, must be string");var n=function(e){var n=d.chatboxes.get(e);return d.log("jid"),n||(n=d.chatboxviews.showChat({id:e,jid:e,name:a.unescapeNode(a.getNodeFromJid(e)),nick:t,chatroom:!0,box_id:h(e)})),m(n)};if(typeof e=="undefined")throw new TypeError("rooms.open: You need to provide at least one JID");return typeof e=="string"?n(e):f.map(e,n)},get:function(e){if(typeof e=="undefined")throw new TypeError("rooms.get: You need to provide at least one JID");return typeof e=="string"?g(e):f.map(e,g)}},tokens:{get:function(e){if(!d.expose_rid_and_sid||typeof d.connection=="undefined")return null;if(e.toLowerCase()==="rid")return d.connection.rid||d.connection._proto.rid;if(e.toLowerCase()==="sid")return d.connection.sid||d.connection._proto.sid}},listen:{once:function(e,t){d.once(e,t)},on:function(e,t){d.on(e,t)},not:function(e,t){d.off(e,t)}},send:function(e){d.connection.send(e)},ping:function(e){d.ping(e)},plugins:{add:function(e,t){d.plugins[e]=t},remove:function(e){delete d.plugins[e]},override:function(e,t){d._overrideAttribute(e,t)},extend:function(e,t){d._extendObject(e,t)}},env:{$build:s,$iq:n,$msg:r,$pres:i,Strophe:a,_:f,b64_sha1:h,jQuery:t,moment:l}}});var config;typeof require=="undefined"&&(require={config:function(e){config=e}}),require.config({baseUrl:".",paths:{backbone:"components/backbone/backbone","backbone.browserStorage":"components/backbone.browserStorage/backbone.browserStorage","backbone.overview":"components/backbone.overview/backbone.overview",bootstrap:"components/bootstrap/dist/js/bootstrap",bootstrapJS:"components/bootstrapJS/index","converse-dependencies":"src/deps-website","converse-templates":"src/templates",eventemitter:"components/otr/build/dep/eventemitter",jquery:"components/jquery/dist/jquery","jquery-private":"src/jquery-private","jquery.browser":"components/jquery.browser/dist/jquery.browser","jquery.easing":"components/jquery-easing-original/index",moment:"components/momentjs/min/moment.min","strophe-base64":"components/strophejs/src/base64","strophe-bosh":"components/strophejs/src/bosh","strophe-core":"components/strophejs/src/core",strophe:"components/strophejs/src/wrapper","strophe-md5":"components/strophejs/src/md5","strophe-sha1":"components/strophejs/src/sha1","strophe-websocket":"components/strophejs/src/websocket","strophe-polyfill":"components/strophejs/src/polyfills","strophe.disco":"components/strophejs-plugins/disco/strophe.disco","strophe.vcard":"src/strophe.vcard","strophe.ping":"src/strophe.ping",text:"components/requirejs-text/text",tpl:"components/requirejs-tpl-jcbrand/tpl",typeahead:"components/typeahead.js/index",underscore:"components/underscore/underscore",utils:"src/utils",bigint:"src/bigint",crypto:"src/crypto","crypto.aes":"components/otr/vendor/cryptojs/aes","crypto.cipher-core":"components/otr/vendor/cryptojs/cipher-core","crypto.core":"components/otr/vendor/cryptojs/core","crypto.enc-base64":"components/otr/vendor/cryptojs/enc-base64","crypto.evpkdf":"components/crypto-js-evanvosberg/src/evpkdf","crypto.hmac":"components/otr/vendor/cryptojs/hmac","crypto.md5":"components/crypto-js-evanvosberg/src/md5","crypto.mode-ctr":"components/otr/vendor/cryptojs/mode-ctr","crypto.pad-nopadding":"components/otr/vendor/cryptojs/pad-nopadding","crypto.sha1":"components/otr/vendor/cryptojs/sha1","crypto.sha256":"components/otr/vendor/cryptojs/sha256",salsa20:"components/otr/build/dep/salsa20",otr:"src/otr",locales:"src/locales",jed:"components/jed/jed",af:"locale/af/LC_MESSAGES/converse.json",de:"locale/de/LC_MESSAGES/converse.json",en:"locale/en/LC_MESSAGES/converse.json",es:"locale/es/LC_MESSAGES/converse.json",fr:"locale/fr/LC_MESSAGES/converse.json",he:"locale/he/LC_MESSAGES/converse.json",hu:"locale/hu/LC_MESSAGES/converse.json",id:"locale/id/LC_MESSAGES/converse.json",it:"locale/it/LC_MESSAGES/converse.json",ja:"locale/ja/LC_MESSAGES/converse.json",nb:"locale/nb/LC_MESSAGES/converse.json",nl:"locale/nl/LC_MESSAGES/converse.json",pl:"locale/pl/LC_MESSAGES/converse.json",pt_BR:"locale/pt_BR/LC_MESSAGES/converse.json",ru:"locale/ru/LC_MESSAGES/converse.json",uk:"locale/uk/LC_MESSAGES/converse.json",zh:"locale/zh/LC_MESSAGES/converse.json",moment_with_locales:"src/moment_locales",moment_af:"components/momentjs/locale/af",moment_de:"components/momentjs/locale/de",moment_es:"components/momentjs/locale/es",moment_fr:"components/momentjs/locale/fr",moment_he:"components/momentjs/locale/he",moment_hu:"components/momentjs/locale/hu",moment_id:"components/momentjs/locale/id",moment_it:"components/momentjs/locale/it",moment_ja:"components/momentjs/locale/ja",moment_nb:"components/momentjs/locale/nb",moment_nl:"components/momentjs/locale/nl",moment_pl:"components/momentjs/locale/pl","moment_pt-br":"components/momentjs/locale/pt-br",moment_ru:"components/momentjs/locale/ru",moment_uk:"components/momentjs/locale/uk",moment_zh:"components/momentjs/locale/zh-cn",action:"src/templates/action",add_contact_dropdown:"src/templates/add_contact_dropdown",add_contact_form:"src/templates/add_contact_form",change_status_message:"src/templates/change_status_message",chat_status:"src/templates/chat_status",chatarea:"src/templates/chatarea",chatbox:"src/templates/chatbox",chatroom:"src/templates/chatroom",chatroom_password_form:"src/templates/chatroom_password_form",chatroom_sidebar:"src/templates/chatroom_sidebar",chatrooms_tab:"src/templates/chatrooms_tab",chats_panel:"src/templates/chats_panel",choose_status:"src/templates/choose_status",contacts_panel:"src/templates/contacts_panel",contacts_tab:"src/templates/contacts_tab",controlbox:"src/templates/controlbox",controlbox_toggle:"src/templates/controlbox_toggle",field:"src/templates/field",form_captcha:"src/templates/form_captcha",form_checkbox:"src/templates/form_checkbox",form_input:"src/templates/form_input",form_select:"src/templates/form_select",form_textarea:"src/templates/form_textarea",form_username:"src/templates/form_username",group_header:"src/templates/group_header",info:"src/templates/info",login_panel:"src/templates/login_panel",login_tab:"src/templates/login_tab",message:"src/templates/message",new_day:"src/templates/new_day",occupant:"src/templates/occupant",pending_contact:"src/templates/pending_contact",pending_contacts:"src/templates/pending_contacts",register_panel:"src/templates/register_panel",register_tab:"src/templates/register_tab",registration_form:"src/templates/registration_form",registration_request:"src/templates/registration_request",requesting_contact:"src/templates/requesting_contact",requesting_contacts:"src/templates/requesting_contacts",room_description:"src/templates/room_description",room_item:"src/templates/room_item",room_panel:"src/templates/room_panel",roster:"src/templates/roster",roster_item:"src/templates/roster_item",search_contact:"src/templates/search_contact",select_option:"src/templates/select_option",status_option:"src/templates/status_option",toggle_chats:"src/templates/toggle_chats",toolbar:"src/templates/toolbar",trimmed_chat:"src/templates/trimmed_chat"},map:{"*":{jquery:"jquery-private"},"jquery-private":{jquery:"jquery"}},tpl:{templateSettings:{evaluate:/\{\[([\s\S]+?)\]\}/g,interpolate:/\{\{([\s\S]+?)\}\}/g}},shim:{"crypto.aes":{deps:["crypto.cipher-core"]},"crypto.cipher-core":{deps:["crypto.enc-base64","crypto.evpkdf"]},"crypto.enc-base64":{deps:["crypto.core"]},"crypto.evpkdf":{deps:["crypto.md5"]},"crypto.hmac":{deps:["crypto.core"]},"crypto.md5":{deps:["crypto.core"]},"crypto.mode-ctr":{deps:["crypto.cipher-core"]},"crypto.pad-nopadding":{deps:["crypto.cipher-core"]},"crypto.sha1":{deps:["crypto.core"]},"crypto.sha256":{deps:["crypto.core"]},bigint:{deps:["crypto"]},"strophe.disco":{deps:["strophe"]},"strophe.register":{deps:["strophe"]},"strophe.vcard":{deps:["strophe"]},"strophe.ping":{deps:["strophe"]}}}),typeof require=="function"&&require(["converse"],function(e){window.converse=e}),define("main",function(){});