window.Modernizr=function(t,e,i){function n(t){_.cssText=t}function s(t,e){return n(k.join(t+";")+(e||""))}function a(t,e){return typeof t===e}function r(t,e){return!!~(""+t).indexOf(e)}function o(t,e){for(var n in t){var s=t[n];if(!r(s,"-")&&_[s]!==i)return"pfx"==e?s:!0}return!1}function l(t,e,n){for(var s in t){var r=e[t[s]];if(r!==i)return n===!1?t[s]:a(r,"function")?r.bind(n||e):r}return!1}function c(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),s=(t+" "+S.join(n+" ")+n).split(" ");return a(e,"string")||a(e,"undefined")?o(s,e):(s=(t+" "+D.join(n+" ")+n).split(" "),l(s,e,i))}function u(){f.input=function(i){for(var n=0,s=i.length;s>n;n++)M[i[n]]=!!(i[n]in y);return M.list&&(M.list=!(!e.createElement("datalist")||!t.HTMLDataListElement)),M}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),f.inputtypes=function(t){for(var n,s,a,r=0,o=t.length;o>r;r++)y.setAttribute("type",s=t[r]),n="text"!==y.type,n&&(y.value=w,y.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(s)&&y.style.WebkitAppearance!==i?(m.appendChild(y),a=e.defaultView,n=a.getComputedStyle&&"textfield"!==a.getComputedStyle(y,null).WebkitAppearance&&0!==y.offsetHeight,m.removeChild(y)):/^(search|tel)$/.test(s)||(n=/^(url|email)$/.test(s)?y.checkValidity&&y.checkValidity()===!1:y.value!=w)),E[t[r]]=!!n;return E}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var h,d,p="2.8.3",f={},g=!0,m=e.documentElement,v="modernizr",b=e.createElement(v),_=b.style,y=e.createElement("input"),w=":)",x={}.toString,k=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",S=C.split(" "),D=C.toLowerCase().split(" "),T={svg:"http://www.w3.org/2000/svg"},A={},E={},M={},P=[],I=P.slice,N=function(t,i,n,s){var a,r,o,l,c=e.createElement("div"),u=e.body,h=u||e.createElement("body");if(parseInt(n,10))for(;n--;)o=e.createElement("div"),o.id=s?s[n]:v+(n+1),c.appendChild(o);return a=["­",'"].join(""),c.id=v,(u?c:h).innerHTML+=a,h.appendChild(c),u||(h.style.background="",h.style.overflow="hidden",l=m.style.overflow,m.style.overflow="hidden",m.appendChild(h)),r=i(c,t),u?c.parentNode.removeChild(c):(h.parentNode.removeChild(h),m.style.overflow=l),!!r},F=function(e){var i=t.matchMedia||t.msMatchMedia;if(i)return i(e)&&i(e).matches||!1;var n;return N("@media "+e+" { #"+v+" { position: absolute; } }",function(e){n="absolute"==(t.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position}),n},O=function(){function t(t,s){s=s||e.createElement(n[t]||"div"),t="on"+t;var r=t in s;return r||(s.setAttribute||(s=e.createElement("div")),s.setAttribute&&s.removeAttribute&&(s.setAttribute(t,""),r=a(s[t],"function"),a(s[t],"undefined")||(s[t]=i),s.removeAttribute(t))),s=null,r}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),R={}.hasOwnProperty;d=a(R,"undefined")||a(R.call,"undefined")?function(t,e){return e in t&&a(t.constructor.prototype[e],"undefined")}:function(t,e){return R.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var i=I.call(arguments,1),n=function(){if(this instanceof n){var s=function(){};s.prototype=e.prototype;var a=new s,r=e.apply(a,i.concat(I.call(arguments)));return Object(r)===r?r:a}return e.apply(t,i.concat(I.call(arguments)))};return n}),A.flexbox=function(){return c("flexWrap")},A.flexboxlegacy=function(){return c("boxDirection")},A.canvas=function(){var t=e.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))},A.canvastext=function(){return!(!f.canvas||!a(e.createElement("canvas").getContext("2d").fillText,"function"))},A.webgl=function(){return!!t.WebGLRenderingContext},A.touch=function(){var i;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?i=!0:N(["@media (",k.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){i=9===t.offsetTop}),i},A.geolocation=function(){return"geolocation"in navigator},A.postmessage=function(){return!!t.postMessage},A.websqldatabase=function(){return!!t.openDatabase},A.indexedDB=function(){return!!c("indexedDB",t)},A.hashchange=function(){return O("hashchange",t)&&(e.documentMode===i||e.documentMode>7)},A.history=function(){return!(!t.history||!history.pushState)},A.draganddrop=function(){var t=e.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},A.websockets=function(){return"WebSocket"in t||"MozWebSocket"in t},A.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),r(_.backgroundColor,"rgba")},A.hsla=function(){return n("background-color:hsla(120,40%,100%,.5)"),r(_.backgroundColor,"rgba")||r(_.backgroundColor,"hsla")},A.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(_.background)},A.backgroundsize=function(){return c("backgroundSize")},A.borderimage=function(){return c("borderImage")},A.borderradius=function(){return c("borderRadius")},A.boxshadow=function(){return c("boxShadow")},A.textshadow=function(){return""===e.createElement("div").style.textShadow},A.opacity=function(){return s("opacity:.55"),/^0.55$/.test(_.opacity)},A.cssanimations=function(){return c("animationName")},A.csscolumns=function(){return c("columnCount")},A.cssgradients=function(){var t="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return n((t+"-webkit- ".split(" ").join(e+t)+k.join(i+t)).slice(0,-t.length)),r(_.backgroundImage,"gradient")},A.cssreflections=function(){return c("boxReflect")},A.csstransforms=function(){return!!c("transform")},A.csstransforms3d=function(){var t=!!c("perspective");return t&&"webkitPerspective"in m.style&&N("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e,i){t=9===e.offsetLeft&&3===e.offsetHeight}),t},A.csstransitions=function(){return c("transition")},A.fontface=function(){var t;return N('@font-face {font-family:"font";src:url("https://")}',function(i,n){var s=e.getElementById("smodernizr"),a=s.sheet||s.styleSheet,r=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";t=/src/i.test(r)&&0===r.indexOf(n.split(" ")[0])}),t},A.generatedcontent=function(){var t;return N(["#",v,"{font:0/0 a}#",v,':after{content:"',w,'";visibility:hidden;font:3px/1 a}'].join(""),function(e){t=e.offsetHeight>=3}),t},A.video=function(){var t=e.createElement("video"),i=!1;try{(i=!!t.canPlayType)&&(i=new Boolean(i),i.ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),i.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),i.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(n){}return i},A.audio=function(){var t=e.createElement("audio"),i=!1;try{(i=!!t.canPlayType)&&(i=new Boolean(i),i.ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(n){}return i},A.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(t){return!1}},A.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(t){return!1}},A.webworkers=function(){return!!t.Worker},A.applicationcache=function(){return!!t.applicationCache},A.svg=function(){return!!e.createElementNS&&!!e.createElementNS(T.svg,"svg").createSVGRect},A.inlinesvg=function(){var t=e.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==T.svg},A.smil=function(){return!!e.createElementNS&&/SVGAnimate/.test(x.call(e.createElementNS(T.svg,"animate")))},A.svgclippaths=function(){return!!e.createElementNS&&/SVGClipPath/.test(x.call(e.createElementNS(T.svg,"clipPath")))};for(var j in A)d(A,j)&&(h=j.toLowerCase(),f[h]=A[j](),P.push((f[h]?"":"no-")+h));return f.input||u(),f.addTest=function(t,e){if("object"==typeof t)for(var n in t)d(t,n)&&f.addTest(n,t[n]);else{if(t=t.toLowerCase(),f[t]!==i)return f;e="function"==typeof e?e():e,"undefined"!=typeof g&&g&&(m.className+=" "+(e?"":"no-")+t),f[t]=e}return f},n(""),b=y=null,function(t,e){function i(t,e){var i=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x",n.insertBefore(i.lastChild,n.firstChild)}function n(){var t=b.elements;return"string"==typeof t?t.split(" "):t}function s(t){var e=v[t[g]];return e||(e={},m++,t[g]=m,v[m]=e),e}function a(t,i,n){if(i||(i=e),u)return i.createElement(t);n||(n=s(i));var a;return a=n.cache[t]?n.cache[t].cloneNode():f.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t),!a.canHaveChildren||p.test(t)||a.tagUrn?a:n.frag.appendChild(a)}function r(t,i){if(t||(t=e),u)return t.createDocumentFragment();i=i||s(t);for(var a=i.frag.cloneNode(),r=0,o=n(),l=o.length;l>r;r++)a.createElement(o[r]);return a}function o(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(i){return b.shivMethods?a(i,t,e):e.createElem(i)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-]+/g,function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'})+");return n}")(b,e.frag)}function l(t){t||(t=e);var n=s(t);return!b.shivCSS||c||n.hasCSS||(n.hasCSS=!!i(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),u||o(t,n),t}var c,u,h="3.7.0",d=t.html5||{},p=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",m=0,v={};!function(){try{var t=e.createElement("a");t.innerHTML="",c="hidden"in t,u=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return"undefined"==typeof t.cloneNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.createElement}()}catch(i){c=!0,u=!0}}();var b={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:h,shivCSS:d.shivCSS!==!1,supportsUnknownElements:u,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:l,createElement:a,createDocumentFragment:r};t.html5=b,l(e)}(this,e),f._version=p,f._prefixes=k,f._domPrefixes=D,f._cssomPrefixes=S,f.mq=F,f.hasEvent=O,f.testProp=function(t){return o([t])},f.testAllProps=c,f.testStyles=N,f.prefixed=function(t,e,i){return e?c(t,e,i):c(t,"pfx")},m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" js "+P.join(" "):""),f}(this,this.document),function(){function t(t,e,i){for(var n=(i||0)-1,s=t?t.length:0;++n-1?0:-1:e?0:-1}function i(t){var e=this.cache,i=typeof t;if("boolean"==i||null==t)e[t]=!0;else{"number"!=i&&"string"!=i&&(i="object");var n="number"==i?t:v+t,s=e[i]||(e[i]={});"object"==i?(s[n]||(s[n]=[])).push(t):s[n]=!0}}function n(t){return t.charCodeAt(0)}function s(t,e){for(var i=t.criteria,n=e.criteria,s=-1,a=i.length;++so||"undefined"==typeof r)return 1;if(o>r||"undefined"==typeof o)return-1}}return t.index-e.index}function a(t){var e=-1,n=t.length,s=t[0],a=t[n/2|0],r=t[n-1];if(s&&"object"==typeof s&&a&&"object"==typeof a&&r&&"object"==typeof r)return!1;var o=l();o["false"]=o["null"]=o["true"]=o.undefined=!1;var c=l();for(c.array=t,c.cache=o,c.push=i;++es?0:s);++n=b&&r===t,c=[];if(l){var h=a(n);h?(r=e,n=h):l=!1}for(;++s-1:void 0});return s.pop(),a.pop(),b&&(c(s),c(a)),r}function it(t,e,i,n,s){(Qi(e)?Xt:ln)(e,function(e,a){var r,o,l=e,c=t[a];if(e&&((o=Qi(e))||cn(e))){for(var u=n.length;u--;)if(r=n[u]==e){c=s[u];break}if(!r){var h;i&&(l=i(c,e),(h="undefined"!=typeof l)&&(c=l)),h||(c=o?Qi(c)?c:[]:cn(c)?c:{}),n.push(e),s.push(c),h||it(c,e,i,n,s)}}else i&&(l=i(c,e),"undefined"==typeof l&&(l=e)),"undefined"!=typeof l&&(c=l);t[a]=c})}function nt(t,e){return t+Mi(Yi()*(e-t+1))}function st(i,n,s){var r=-1,l=lt(),h=i?i.length:0,d=[],p=!n&&h>=b&&l===t,f=s||p?o():d;if(p){var g=a(f);l=e,f=g}for(;++r3&&"function"==typeof e[i-2])var n=X(e[--i-1],e[i--],2);else i>2&&"function"==typeof e[i-1]&&(n=e[--i]);for(var s=h(arguments,1,i),a=-1,r=o(),l=o();++ai?Wi(0,a+i):i)||0,Qi(t)?r=s(t,e,i)>-1:"number"==typeof a?r=(Ot(t)?t.indexOf(e,i):s(t,e,i))>-1:ln(t,function(t){return++n>=i?!(r=t===e):void 0}),r}function Vt(t,e,i){var n=!0;e=f.createCallback(e,i,3);var s=-1,a=t?t.length:0;if("number"==typeof a)for(;++sa&&(a=l)}else e=null==e&&Ot(t)?n:f.createCallback(e,i,3),Xt(t,function(t,i,n){var r=e(t,i,n);r>s&&(s=r,a=t)});return a}function ee(t,e,i){var s=1/0,a=s;if("function"!=typeof e&&i&&i[e]===t&&(e=null),null==e&&Qi(t))for(var r=-1,o=t.length;++rl&&(a=l)}else e=null==e&&Ot(t)?n:f.createCallback(e,i,3),Xt(t,function(t,i,n){var r=e(t,i,n);s>r&&(s=r,a=t)});return a}function ie(t,e,i,n){if(!t)return i;var s=arguments.length<3;e=f.createCallback(e,n,4);var a=-1,r=t.length;if("number"==typeof r)for(s&&(i=t[++a]);++an?Wi(0,s+n):n||0}else if(n){var a=De(e,i);return e[a]===i?a:-1}return t(e,i,n)}function be(t,e,i){var n=0,s=t?t.length:0;if("number"!=typeof e&&null!=e){var a=s;for(e=f.createCallback(e,i,3);a--&&e(t[a],a,t);)n++}else n=null==e||i?1:e||n;return h(t,0,Ui(Wi(0,s-n),s))}function _e(){for(var i=[],n=-1,s=arguments.length,r=o(),l=lt(),h=l===t,d=o();++n=b&&a(n?i[n]:d)))}var f=i[0],g=-1,m=f?f.length:0,v=[];t:for(;++gi?Wi(0,n+i):Ui(i,n-1))+1);n--;)if(t[n]===e)return n;return-1}function xe(t){for(var e=arguments,i=0,n=e.length,s=t?t.length:0;++is;){var r=s+a>>>1;i(t[r])1?arguments:arguments[0],e=-1,i=t?te(pn(t,"length")):0,n=pi(0>i?0:i);++e2?rt(t,17,h(arguments,2),null,e):rt(t,1,null,null,e)}function Oe(t){for(var e=arguments.length>1?tt(arguments,!0,!1,1):yt(t),i=-1,n=e.length;++i2?rt(e,19,h(arguments,2),null,t):rt(e,3,null,null,t)}function je(){for(var t=arguments,e=t.length;e--;)if(!Et(t[e]))throw new xi;return function(){for(var e=arguments,i=t.length;i--;)e=[t[i].apply(this,e)];return e[0]}}function Le(t,e){return e="number"==typeof e?e:+e||t.length,rt(t,4,null,null,null,e)}function He(t,e,i){var n,s,a,r,o,l,c,u=0,h=!1,d=!0;if(!Et(t))throw new xi;if(e=Wi(0,e)||0,i===!0){var f=!0;d=!1}else Mt(i)&&(f=i.leading,h="maxWait"in i&&(Wi(e,i.maxWait)||0),d="trailing"in i?i.trailing:d);var g=function(){var i=e-(gn()-r);if(0>=i){s&&Ei(s);var h=c;s=l=c=p,h&&(u=gn(),a=t.apply(o,n),l||s||(n=o=null))}else l=Oi(g,i)},m=function(){l&&Ei(l),s=l=c=p,(d||h!==e)&&(u=gn(),a=t.apply(o,n),l||s||(n=o=null))};return function(){if(n=arguments,r=gn(),o=this,c=d&&(l||!f),h===!1)var i=f&&!l;else{s||f||(u=r);var p=h-(r-u),v=0>=p;v?(s&&(s=Ei(s)),u=r,a=t.apply(o,n)):s||(s=Oi(m,p))}return v&&l?l=Ei(l):l||e===h||(l=Oi(g,e)),i&&(v=!0,a=t.apply(o,n)),!v||l||s||(n=o=null),a}}function ze(t){if(!Et(t))throw new xi;var e=h(arguments,1);return Oi(function(){t.apply(p,e)},1)}function Be(t,e){if(!Et(t))throw new xi;var i=h(arguments,2);return Oi(function(){t.apply(p,i)},e)}function qe(t,e){if(!Et(t))throw new xi;var i=function(){var n=i.cache,s=e?e.apply(this,arguments):v+arguments[0];return Ni.call(n,s)?n[s]:n[s]=t.apply(this,arguments)};return i.cache={},i}function $e(t){var e,i;if(!Et(t))throw new xi;return function(){return e?i:(e=!0,i=t.apply(this,arguments),t=null,i)}}function We(t){return rt(t,16,h(arguments,1))}function Ue(t){return rt(t,32,null,h(arguments,1))}function Ve(t,e,i){var n=!0,s=!0;if(!Et(t))throw new xi;return i===!1?n=!1:Mt(i)&&(n="leading"in i?i.leading:n,s="trailing"in i?i.trailing:s),W.leading=n,W.maxWait=e,W.trailing=s,He(t,e,W)}function Ye(t,e){return rt(e,16,[t])}function Ke(t){return function(){return t}}function Ge(t,e,i){var n=typeof t;if(null==t||"function"==n)return X(t,e,i);if("object"!=n)return ei(t);var s=Zi(t),a=s[0],r=t[a];return 1!=s.length||r!==r||Mt(r)?function(e){for(var i=s.length,n=!1;i--&&(n=et(e[s[i]],t[s[i]],null,!0)););return n}:function(t){var e=t[a];return r===e&&(0!==r||1/r==1/e)}}function Xe(t){return null==t?"":wi(t).replace(sn,ot)}function Qe(t){return t}function Je(t,e,i){var n=!0,s=e&&yt(e);e&&(i||s.length)||(null==i&&(i=e),a=g,e=t,t=f,s=yt(e)),i===!1?n=!1:Mt(i)&&"chain"in i&&(n=i.chain);var a=t,r=Et(a);Xt(s,function(i){var s=t[i]=e[i];r&&(a.prototype[i]=function(){var e=this.__chain__,i=this.__wrapped__,r=[i];Fi.apply(r,arguments);var o=s.apply(t,r);if(n||e){if(i===o&&Mt(o))return this;o=new a(o),o.__chain__=e}return o})})}function Ze(){return i._=Si,this}function ti(){}function ei(t){return function(e){return e[t]}}function ii(t,e,i){var n=null==t,s=null==e;if(null==i&&("boolean"==typeof t&&s?(i=t,t=1):s||"boolean"!=typeof e||(i=e,s=!0)),n&&s&&(e=1),t=+t||0,s?(e=t,t=0):e=+e||0,i||t%1||e%1){var a=Yi();return Ui(t+a*(e-t+parseFloat("1e-"+((a+"").length-1))),e)}return nt(t,e)}function ni(t,e){if(t){var i=t[e];return Et(i)?t[e]():i}}function si(t,e,i){var n=f.templateSettings;t=wi(t||""),i=rn({},i,n);var s,a=rn({},i.imports,n.imports),o=Zi(a),l=$t(a),c=0,u=i.interpolate||E,h="__p += '",d=yi((i.escape||E).source+"|"+u.source+"|"+(u===T?C:E).source+"|"+(i.evaluate||E).source+"|$","g");t.replace(d,function(e,i,n,a,o,l){return n||(n=a),h+=t.slice(c,l).replace(P,r),i&&(h+="' +\n__e("+i+") +\n'"),o&&(s=!0,h+="';\n"+o+";\n__p += '"),n&&(h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),c=l+e.length,e}),h+="';\n";var g=i.variable,m=g;m||(g="obj",h="with ("+g+") {\n"+h+"\n}\n"),h=(s?h.replace(w,""):h).replace(x,"$1").replace(k,"$1;"),h="function("+g+") {\n"+(m?"":g+" || ("+g+" = {});\n")+"var __t, __p = '', __e = _.escape"+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}"; var v="\n/*\n//# sourceURL="+(i.sourceURL||"/lodash/template/source["+N++ +"]")+"\n*/";try{var b=mi(o,"return "+h+v).apply(p,l)}catch(_){throw _.source=h,_}return e?b(e):(b.source=h,b)}function ai(t,e,i){t=(t=+t)>-1?t:0;var n=-1,s=pi(t);for(e=X(e,i,1);++n/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:T,variable:"",imports:{_:f}},Hi||(G=function(){function t(){}return function(e){if(Mt(e)){t.prototype=e;var n=new t;t.prototype=null}return n||i.Object()}}());var Xi=Li?function(t,e){U.value=e,Li(t,"__bindData__",U)}:ti,Qi=zi||function(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Di.call(t)==O||!1},Ji=function(t){var e,i=t,n=[];if(!i)return n;if(!V[typeof t])return n;for(e in i)Ni.call(i,e)&&n.push(e);return n},Zi=$i?function(t){return Mt(t)?$i(t):[]}:Ji,tn={"&":"&","<":"<",">":">",'"':""","'":"'"},en=xt(tn),nn=yi("("+Zi(en).join("|")+")","g"),sn=yi("["+Zi(tn).join("")+"]","g"),an=function(t,e,i){var n,s=t,a=s;if(!s)return a;var r=arguments,o=0,l="number"==typeof i?2:r.length;if(l>3&&"function"==typeof r[l-2])var c=X(r[--l-1],r[l--],2);else l>2&&"function"==typeof r[l-1]&&(c=r[--l]);for(;++o/g,A=RegExp("^["+y+"]*0+(?=.$)"),E=/($^)/,M=/\bthis\b/,P=/['\n\r\t\u2028\u2029\\]/g,I=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],N=0,F="[object Arguments]",O="[object Array]",R="[object Boolean]",j="[object Date]",L="[object Function]",H="[object Number]",z="[object Object]",B="[object RegExp]",q="[object String]",$={};$[L]=!1,$[F]=$[O]=$[R]=$[j]=$[H]=$[z]=$[B]=$[q]=!0;var W={leading:!1,maxWait:0,trailing:!1},U={configurable:!1,enumerable:!1,value:null,writable:!1},V={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},Y={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},K=V[typeof window]&&window||this,G=V[typeof exports]&&exports&&!exports.nodeType&&exports,X=V[typeof module]&&module&&!module.nodeType&&module,Q=X&&X.exports===G&&G,J=V[typeof global]&&global;!J||J.global!==J&&J.window!==J||(K=J);var Z=d();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(K._=Z,define(function(){return Z})):G&&X?Q?(X.exports=Z)._=Z:G._=Z:K._=Z}.call(this),function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e=t.length,i=Z.type(t);return"function"===i||Z.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}function n(t,e,i){if(Z.isFunction(e))return Z.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return Z.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(ot.test(e))return Z.filter(e,t,i);e=Z.filter(e,t)}return Z.grep(t,function(t){return V.call(e,t)>=0!==i})}function s(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t){var e=ft[t]={};return Z.each(t.match(pt)||[],function(t,i){e[i]=!0}),e}function r(){Q.removeEventListener("DOMContentLoaded",r,!1),t.removeEventListener("load",r,!1),Z.ready()}function o(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+Math.random()}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(yt,"-$1").toLowerCase(),i=t.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:_t.test(i)?Z.parseJSON(i):i}catch(s){}bt.set(t,e,i)}else i=void 0;return i}function c(){return!0}function u(){return!1}function h(){try{return Q.activeElement}catch(t){}}function d(t,e){return Z.nodeName(t,"table")&&Z.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function p(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function f(t){var e=Rt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function g(t,e){for(var i=0,n=t.length;n>i;i++)vt.set(t[i],"globalEval",!e||vt.get(e[i],"globalEval"))}function m(t,e){var i,n,s,a,r,o,l,c;if(1===e.nodeType){if(vt.hasData(t)&&(a=vt.access(t),r=vt.set(e,a),c=a.events)){delete r.handle,r.events={};for(s in c)for(i=0,n=c[s].length;n>i;i++)Z.event.add(e,s,c[s][i])}bt.hasData(t)&&(o=bt.access(t),l=Z.extend({},o),bt.set(e,l))}}function v(t,e){var i=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&Z.nodeName(t,e)?Z.merge([t],i):i}function b(t,e){var i=e.nodeName.toLowerCase();"input"===i&&Ct.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function _(e,i){var n,s=Z(i.createElement(e)).appendTo(i.body),a=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(s[0]))?n.display:Z.css(s[0],"display");return s.detach(),a}function y(t){var e=Q,i=zt[t];return i||(i=_(t,e),"none"!==i&&i||(Ht=(Ht||Z("\n\n',s=e["if"].call(t,null!=t?t.attachments:t,{name:"if",hash:{},fn:this.program(11,n),inverse:this.noop,data:n}),null!=s&&(u+=s),u+"\n\n"},useData:!0}),e["app/templates/mails/mail_actions.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s=e.helperMissing,a=this.escapeExpression;return'\n\n
    \n
  • '+a((e.t||t&&t.t||s).call(t,"Reply to All",{name:"t",hash:{},data:n}))+'
  • \n
  • '+a((e.t||t&&t.t||s).call(t,"Delete this message",{name:"t",hash:{},data:n}))+"
  • \n
\n"},useData:!0}),e["app/templates/mails/sent.hbs"]=t({1:function(t,e,i,n){return'checked="true"'},3:function(t,e,i,n){var s,a=this.lambda,r=this.escapeExpression;return" "+r(a(null!=(s=null!=t?t.header:t)?s.to:s,t))+"\n"},5:function(t,e,i,n){var s=e.helperMissing,a=this.escapeExpression;return" "+a((e.t||t&&t.t||s).call(t,"no_recipient",{name:"t",hash:{},data:n}))+"\n"},7:function(t,e,i,n){var s,a=this.lambda,r=this.escapeExpression;return" "+r(a(null!=(s=null!=t?t.header:t)?s.subject:s,t))+"\n"},9:function(t,e,i,n){var s=e.helperMissing,a=this.escapeExpression;return" "+a((e.t||t&&t.t||s).call(t,"no_subject",{name:"t",hash:{},data:n}))+"\n"},11:function(t,e,i,n){return'
\n'},13:function(t,e,i,n){var s=this.lambda,a=this.escapeExpression;return'
  • '+a(s(t,t))+"
  • \n"},compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a,r="function",o=e.helperMissing,l=this.escapeExpression,c='
    \n \n
    \n\n
    \n
    \n '+l((e.t||t&&t.t||o).call(t,"to:",{name:"t",hash:{},data:n}))+"\n",s=e["if"].call(t,null!=(s=null!=t?t.header:t)?s.to:s,{name:"if",hash:{},fn:this.program(3,n),inverse:this.program(5,n),data:n}),null!=s&&(c+=s),c+='
    \n\n '+l((e.formatDate||t&&t.formatDate||o).call(t,null!=(s=null!=t?t.header:t)?s.date:s,{name:"formatDate",hash:{},data:n}))+' \n
    \n
    \n
    \n',s=e["if"].call(t,null!=(s=null!=t?t.header:t)?s.subject:s,{name:"if",hash:{},fn:this.program(7,n),inverse:this.program(9,n),data:n}),null!=s&&(c+=s),c+="
    \n\n",s=e["if"].call(t,null!=t?t.attachments:t,{name:"if",hash:{},fn:this.program(11,n),inverse:this.noop,data:n}),null!=s&&(c+=s),c+='
    \n
      \n',s=e.each.call(t,null!=t?t.tagsForListView:t,{name:"each",hash:{},fn:this.program(13,n),inverse:this.noop,data:n}),null!=s&&(c+=s),c+"
    \n
    \n\n"},useData:!0}),e["app/templates/mails/single.hbs"]=t({1:function(t,e,i,n){return'checked="true"'},3:function(t,e,i,n){var s,a=this.lambda,r=this.escapeExpression;return" "+r(a(null!=(s=null!=t?t.header:t)?s.from:s,t))+"\n"},5:function(t,e,i,n){var s=e.helperMissing,a=this.escapeExpression;return" "+a((e.t||t&&t.t||s).call(t,"you",{name:"t",hash:{},data:n}))+"\n"},7:function(t,e,i,n){return'
    \n'},9:function(t,e,i,n){var s=this.lambda,a=this.escapeExpression;return'
  • '+a(s(t,t))+"
  • \n"},compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a,r="function",o=e.helperMissing,l=this.escapeExpression,c=this.lambda,u='
    \n \n
    \n\n
    \n
    \n',s=e["if"].call(t,null!=(s=null!=t?t.header:t)?s.from:s,{name:"if",hash:{},fn:this.program(3,n),inverse:this.program(5,n),data:n}),null!=s&&(u+=s),u+='
    \n\n '+l((e.formatDate||t&&t.formatDate||o).call(t,null!=(s=null!=t?t.header:t)?s.date:s,{name:"formatDate",hash:{},data:n}))+' \n
    \n
    \n
    '+l(c(null!=(s=null!=t?t.header:t)?s.subject:s,t))+"
    \n\n",s=e["if"].call(t,null!=t?t.attachments:t,{name:"if",hash:{},fn:this.program(7,n),inverse:this.noop,data:n}),null!=s&&(u+=s),u+='
    \n
      \n',s=e.each.call(t,null!=t?t.tagsForListView:t,{name:"each",hash:{},fn:this.program(9,n),inverse:this.noop,data:n}),null!=s&&(u+=s),u+"
    \n
    \n"},useData:!0}),e["app/templates/mails/trash.hbs"]=t({1:function(t,e,i,n){return'checked="true"'},3:function(t,e,i,n){var s,a=this.lambda,r=this.escapeExpression;return" "+r(a(null!=(s=null!=t?t.header:t)?s.from:s,t))+"\n"},5:function(t,e,i,n){var s=e.helperMissing,a=this.escapeExpression;return" "+a((e.t||t&&t.t||s).call(t,"you",{name:"t",hash:{},data:n}))+"\n"},7:function(t,e,i,n){return'
    \n'},9:function(t,e,i,n){var s=this.lambda,a=this.escapeExpression;return'
  • '+a(s(t,t))+"
  • \n"},compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a,r="function",o=e.helperMissing,l=this.escapeExpression,c=this.lambda,u='
    \n \n
    \n\n
    \n
    \n',s=e["if"].call(t,null!=(s=null!=t?t.header:t)?s.from:s,{name:"if",hash:{},fn:this.program(3,n),inverse:this.program(5,n),data:n}),null!=s&&(u+=s),u+='
    \n\n '+l((e.formatDate||t&&t.formatDate||o).call(t,null!=(s=null!=t?t.header:t)?s.date:s,{name:"formatDate",hash:{},data:n}))+' \n
    \n
    \n
    \n \n '+l(c(null!=(s=null!=t?t.header:t)?s.subject:s,t))+"\n
    \n\n",s=e["if"].call(t,null!=t?t.attachments:t,{name:"if",hash:{},fn:this.program(7,n),inverse:this.noop,data:n}),null!=s&&(u+=s),u+='
    \n
      \n',s=e.each.call(t,null!=t?t.tagsForListView:t,{name:"each",hash:{},fn:this.program(9,n),inverse:this.noop,data:n}),null!=s&&(u+=s),u+"
    \n
    \n\n"},useData:!0}),e["app/templates/page/logout.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a="function",r=e.helperMissing,o=this.escapeExpression;return'
      \n
      \n \n
    • \n
      \n Logout\n
    • \n
      \n
    \n'},useData:!0}),e["app/templates/page/logout_shortcut.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){return'
  • \n \n \n
    Logout
    \n
    \n
  • \n'},useData:!0}),e["app/templates/page/user_settings_box.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a="function",r=e.helperMissing,o=this.escapeExpression;return'
    \n \n \n

    User Settings

    \n \n
    \n

    E-Mail address

    \n

    '+o((s=null!=(s=e.account_email||(null!=t?t.account_email:t))?s:r,typeof s===a?s.call(t,{name:"account_email",hash:{},data:n}):s))+'

    \n

    Public key fingerprint

    \n

    '+o((e.formatFingerPrint||t&&t.formatFingerPrint||r).call(t,null!=t?t.fingerprint:t,{name:"formatFingerPrint",hash:{},data:n}))+"

    \n"},useData:!0}),e["app/templates/page/user_settings_icon.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){return'\n'},useData:!0}),e["app/templates/page/version.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){return"version: a48f917
    \n2 minutes ago\n"},useData:!0}),e["app/templates/search/search_trigger.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s=e.helperMissing,a=this.escapeExpression;return'
    \n \n
    \n'},useData:!0}),e["app/templates/tags/shortcut.hbs"]=t({1:function(t,e,i,n){var s,a="function",r=e.helperMissing,o=this.escapeExpression;return' '+o((s=null!=(s=e.count||(null!=t?t.count:t))?s:r,typeof s===a?s.call(t,{name:"count",hash:{},data:n}):s))+"\n"},compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a,r="function",o=e.helperMissing,l=this.escapeExpression,c='
  • \n \n';return s=e["if"].call(t,null!=t?t.displayBadge:t,{name:"if",hash:{},fn:this.program(1,n),inverse:this.noop,data:n}),null!=s&&(c+=s),c+' \n
    '+l((a=null!=(a=e.tagName||(null!=t?t.tagName:t))?a:o,typeof a===r?a.call(t,{name:"tagName",hash:{},data:n}):a))+"
    \n
    \n
  • \n"},useData:!0}),e["app/templates/tags/tag.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a,r="function",o=e.helperMissing,l=this.escapeExpression,c='
  • \n ';return s=this.invokePartial(i.tag_inner,"","tag_inner",t,void 0,e,i,n),null!=s&&(c+=s),c+"\n
  • \n"},usePartial:!0,useData:!0}),e["app/templates/tags/tag_inner.hbs"]=t({1:function(t,e,i,n){var s,a="function",r=e.helperMissing,o=this.escapeExpression;return''+o((s=null!=(s=e.count||(null!=t?t.count:t))?s:r,typeof s===a?s.call(t,{name:"count",hash:{},data:n}):s))+"\n"},compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a,r="function",o=e.helperMissing,l=this.escapeExpression,c=l((a=null!=(a=e.tagName||(null!=t?t.tagName:t))?a:o,typeof a===r?a.call(t,{name:"tagName",hash:{},data:n}):a))+"\n";return s=e["if"].call(t,null!=t?t.displayBadge:t,{name:"if",hash:{},fn:this.program(1,n),inverse:this.noop,data:n}),null!=s&&(c+=s),c},useData:!0}),e["app/templates/tags/tag_list.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){return'
      \n
      \n \n Tags\n
      \n
        '},useData:!0}),e["app/templates/user_alerts/message.hbs"]=t({compiler:[6,">= 2.0.0-beta.1"],main:function(t,e,i,n){var s,a=this.lambda,r=this.escapeExpression;return''+r(a(null!=(s=null!=t?t.message:t)?s.content:s,t))+"\n"},useData:!0})}(),i("hbs/templates",function(){}),i("views/templates",["hbs/templates"],function(t){"use strict";var e={compose:{box:window.Pixelated["app/templates/compose/compose_box.hbs"],inlineBox:window.Pixelated["app/templates/compose/inline_box.hbs"],replySection:window.Pixelated["app/templates/compose/reply_section.hbs"],recipientInput:window.Pixelated["app/templates/compose/recipient_input.hbs"],fixedRecipient:window.Pixelated["app/templates/compose/fixed_recipient.hbs"], recipients:window.Pixelated["app/templates/compose/recipients.hbs"],feedback:window.Pixelated["app/templates/compose/feedback_box.hbs"],attachmentsList:window.Pixelated["app/templates/compose/attachments_list.hbs"],attachmentItem:window.Pixelated["app/templates/compose/attachment_item.hbs"],attachmentUploadItem:window.Pixelated["app/templates/compose/attachment_upload_item.hbs"],uploadAttachmentFailed:window.Pixelated["app/templates/compose/upload_attachment_failed.hbs"]},tags:{tagList:window.Pixelated["app/templates/tags/tag_list.hbs"],tag:window.Pixelated["app/templates/tags/tag.hbs"],tagInner:window.Pixelated["app/templates/tags/tag_inner.hbs"],shortcut:window.Pixelated["app/templates/tags/shortcut.hbs"]},userAlerts:{message:window.Pixelated["app/templates/user_alerts/message.hbs"]},mails:{single:window.Pixelated["app/templates/mails/single.hbs"],fullView:window.Pixelated["app/templates/mails/full_view.hbs"],mailActions:window.Pixelated["app/templates/mails/mail_actions.hbs"],draft:window.Pixelated["app/templates/mails/draft.hbs"],sent:window.Pixelated["app/templates/mails/sent.hbs"],trash:window.Pixelated["app/templates/mails/trash.hbs"]},mailActions:{actionsBox:window.Pixelated["app/templates/mail_actions/actions_box.hbs"],trashActionsBox:window.Pixelated["app/templates/mail_actions/trash_actions_box.hbs"],composeTrigger:window.Pixelated["app/templates/mail_actions/compose_trigger.hbs"],refreshTrigger:window.Pixelated["app/templates/mail_actions/refresh_trigger.hbs"],paginationTrigger:window.Pixelated["app/templates/mail_actions/pagination_trigger.hbs"]},noMessageSelected:window.Pixelated["app/templates/compose/no_message_selected.hbs"],noMailsAvailable:window.Pixelated["app/templates/compose/no_mails_available.hbs"],search:{trigger:window.Pixelated["app/templates/search/search_trigger.hbs"]},page:{userSettingsIcon:window.Pixelated["app/templates/page/user_settings_icon.hbs"],userSettingsBox:window.Pixelated["app/templates/page/user_settings_box.hbs"],logout:window.Pixelated["app/templates/page/logout.hbs"],logoutShortcut:window.Pixelated["app/templates/page/logout_shortcut.hbs"],version:window.Pixelated["app/templates/page/version.hbs"]},feedback:{feedback:window.Pixelated["app/templates/feedback/feedback_trigger.hbs"]}};return Handlebars.registerPartial("tag_inner",e.tags.tagInner),Handlebars.registerPartial("recipients",e.compose.recipients),Handlebars.registerPartial("attachments_list",e.compose.attachmentsList),Handlebars.registerPartial("attachments_upload",e.compose.attachmentsList),Handlebars.registerPartial("attachment_item",e.compose.attachmentItem),Handlebars.registerPartial("attachment_upload_item",e.compose.attachmentUploadItem),Handlebars.registerPartial("uploadAttachmentFailed",e.compose.uploadAttachmentFailed),e}),i("helpers/contenttype",[],function(){"use strict";function t(i,n){this.type="",this.params={};var s,a,r;if("string"==typeof i)for(s=e(i),this.type=s.shift(),a=0;aa?e:Math.min(a,e)}e=e||";",i=i||'"';for(var s=[],a=0,r=0;r>=0&&(r=[e,i].reduce(n,1/0),r!==1/0);)switch(t[r]){case i:for(;;){if(r=t.indexOf(i,r+1),0>r)break;if("\\"!==t[r-1])break}continue;case e:s.push(t.substr(a,r-a).trim()),a=++r}return s.push(t.substr(a).trim()),s}function i(t){return e(t,",")}function n(e){var i=new t(e);return void 0===i.q&&(i.q=1),i}function s(t,e){for(var i={q:0},n={q:0},s=0,r=0;r=0&&h*l>s&&(n=u,i=o,s=n.q*i.q,1===s&&i.type))return i}return i.type&&i}function a(t,e){if("*/*"===t.type&&"*/*"!==e.type)return 1;if("*/*"!==t.type&&"*/*"===e.type)return-1;var i=(t.type||"").split("/"),n=(e.type||"").split("/");if("*"===i[0]&&"*"!==n[0])return 1;if("*"!==i[0]&&"*"===n[0])return-1;if(t.type!==e.type)return null;var s=t.params||{},a=e.params||{},r=Object.keys(s),o=Object.keys(a);if(r.lengtho.length)return-1;var l=(r.concat(o).sort(),0);for(var c in s){if(s[c]&&!a[c]){if(0>l)return null;l=1}if(!s[c]&&a[c]){if(l>0)return null;l=-1}}return l}var r={};return t.prototype.parseParameter=function(t){var e=t.split("=",1),i=e[0].trim(),n=t.substr(e[0].length+1).trim();n&&i&&("q"===i&&void 0===this.q?this.q=parseFloat(n):('"'===n[0]&&'"'===n[n.length-1]&&(n=n.substr(1,n.length-2),n=n.replace(/\\(.)/g,function(t,e){return e})),this.params[i]=n))},t.prototype.toString=function(){var t=this.type+";q="+this.q;for(var e in this.params)t+=";"+e+"=",t+=this.params[e].match(/["=;<>\[\]\(\) ,\-]/)?'"'+this.params[e].replace(/["\\]/g,function(t){return"\\"+t})+'"':this.params[e];return t},r.MediaType=t,r.splitQuotedString=e,r.splitContentTypes=i,r.parseMedia=n,r.select=s,r.mediaCmp=a,r}),function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof i&&i.amd&&i("i18next",[],e)}(this,function(){function t(t,e){if(!e||"function"==typeof e)return t;for(var i in e)t[i]=e[i];return t}function e(t,i){for(var n in i)n in t?e(t[n],i[n]):t[n]=i[n];return t}function i(t,e,i){var n,s=0,a=t.length,r=void 0===a||"[object Array]"!==Object.prototype.toString.apply(t)||"function"==typeof t;if(i)if(r){for(n in t)if(e.apply(t[n],i)===!1)break}else for(;a>s&&e.apply(t[s++],i)!==!1;);else if(r){for(n in t)if(e.call(t[n],n,t[n])===!1)break}else for(;a>s&&e.call(t[s],s,t[s++])!==!1;);return t}function n(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,function(t){return z[t]}):t}function s(t){var e=function(t){if(window.XMLHttpRequest)return t(null,new XMLHttpRequest);if(window.ActiveXObject)try{return t(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(e){return t(null,new ActiveXObject("Microsoft.XMLHTTP"))}return t(new Error)},i=function(t){if("string"==typeof t)return t;var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return e.join("&")},n=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",i=0;in?e+=String.fromCharCode(n):n>127&&2048>n?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e},s=function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t=n(t);var i,s,a,r,o,l,c,u="",h=0;do i=t.charCodeAt(h++),s=t.charCodeAt(h++),a=t.charCodeAt(h++),r=i>>2,o=(3&i)<<4|s>>4,l=(15&s)<<2|a>>6,c=63&a,isNaN(s)?l=c=64:isNaN(a)&&(c=64),u+=e.charAt(r)+e.charAt(o)+e.charAt(l)+e.charAt(c),i=s=a="",r=o=l=c="";while(h1&&(n+=n.indexOf("?")>-1?"&"+u:"?"+u),s.jsonp){var h=document.getElementsByTagName("head")[0],d=document.createElement("script");return d.type="text/javascript",d.src=n,void h.appendChild(d)}}e(function(e,i){if(e)return o(e);i.open(t,n,s.async);for(var a in c)c.hasOwnProperty(a)&&i.setRequestHeader(a,c[a]);i.onreadystatechange=function(){if(4===i.readyState){var t=i.responseText||"";if(!o)return;o(i.status,{text:function(){return t},json:function(){try{return JSON.parse(t)}catch(e){return $.error("Can not parse JSON. URL: "+n),{}}}})}},i.send(l)})},o={authBasic:function(t,e){r.headers.Authorization="Basic "+s(t+":"+e)},connect:function(t,e,i){return r("CONNECT",t,e,i)},del:function(t,e,i){return r("DELETE",t,e,i)},get:function(t,e,i){return r("GET",t,e,i)},head:function(t,e,i){return r("HEAD",t,e,i)},headers:function(t){r.headers=t||{}},isAllowed:function(t,e,i){this.options(t,function(t,n){i(-1!==n.text().indexOf(e))})},options:function(t,e,i){return r("OPTIONS",t,e,i)},patch:function(t,e,i){return r("PATCH",t,e,i)},post:function(t,e,i){return r("POST",t,e,i)},put:function(t,e,i){return r("PUT",t,e,i)},trace:function(t,e,i){return r("TRACE",t,e,i)}},l=t.type?t.type.toLowerCase():"get";o[l](t.url,t,function(e,i){200===e||0===e&&i.text()?t.success(i.json(),e,null):t.error(i.text(),e,null)})}function a(t,e){"function"==typeof t&&(e=t,t={}),t=t||{},$.extend(H,t),delete H.fixLng,H.functions&&(delete H.functions,$.extend($,t.functions)),"string"==typeof H.ns&&(H.ns={namespaces:[H.ns],defaultNs:H.ns}),"string"==typeof H.fallbackNS&&(H.fallbackNS=[H.fallbackNS]),"string"!=typeof H.fallbackLng&&"boolean"!=typeof H.fallbackLng||(H.fallbackLng=[H.fallbackLng]),H.interpolationPrefixEscaped=$.regexEscape(H.interpolationPrefix),H.interpolationSuffixEscaped=$.regexEscape(H.interpolationSuffix),H.lng||(H.lng=$.detectLanguage()),R=$.toLanguages(H.lng),P=R[0],$.log("currentLng set to: "+P),H.useCookie&&$.cookie.read(H.cookieName)!==P&&$.cookie.create(H.cookieName,P,H.cookieExpirationTime,H.cookieDomain),H.detectLngFromLocalStorage&&"undefined"!=typeof document&&window.localStorage&&$.localStorage.setItem("i18next_lng",P);var i=S;t.fixLng&&(i=function(t,e){return e=e||{},e.lng=e.lng||i.lng,S(t,e)},i.lng=P),V.setCurrentLng(P),I&&H.setJqueryExt&&b();var n;if(I&&I.Deferred&&(n=I.Deferred()),!H.resStore){var s=$.toLanguages(H.lng);"string"==typeof H.preload&&(H.preload=[H.preload]);for(var a=0,r=H.preload.length;r>a;a++)for(var o=$.toLanguages(H.preload[a]),l=0,c=o.length;c>l;l++)s.indexOf(o[l])<0&&s.push(o[l]);return N.sync.load(s,H,function(t,s){F=s,j=!0,e&&e(i),n&&n.resolve(i)}),n?n.promise():void 0}return F=H.resStore,j=!0,e&&e(i),n&&n.resolve(i),n?n.promise():void 0}function r(t,e){"string"==typeof t&&(t=[t]);for(var i=0,n=t.length;n>i;i++)H.preload.indexOf(t[i])<0&&H.preload.push(t[i]);return a(e)}function o(t,e,i,n){"string"!=typeof e?(i=e,e=H.ns.defaultNs):H.ns.namespaces.indexOf(e)<0&&H.ns.namespaces.push(e),F[t]=F[t]||{},F[t][e]=F[t][e]||{},n?$.deepExtend(F[t][e],i):$.extend(F[t][e],i)}function l(t,e){"string"!=typeof e&&(e=H.ns.defaultNs),F[t]=F[t]||{};var i=F[t][e]||{},n=!1;for(var s in i)i.hasOwnProperty(s)&&(n=!0);return n}function c(t,e){"string"!=typeof e&&(e=H.ns.defaultNs),F[t]=F[t]||{},F[t][e]={}}function u(t,e,i,n){"string"!=typeof e?(resource=e,e=H.ns.defaultNs):H.ns.namespaces.indexOf(e)<0&&H.ns.namespaces.push(e),F[t]=F[t]||{},F[t][e]=F[t][e]||{};for(var s=i.split(H.keyseparator),a=0,r=F[t][e];s[a];)a==s.length-1?r[s[a]]=n:(null==r[s[a]]&&(r[s[a]]={}),r=r[s[a]]),a++}function h(t,e,i){"string"!=typeof e?(resource=e,e=H.ns.defaultNs):H.ns.namespaces.indexOf(e)<0&&H.ns.namespaces.push(e);for(var n in i)"string"==typeof i[n]&&u(t,e,n,i[n])}function d(t){H.ns.defaultNs=t}function p(t,e){f([t],e)}function f(t,e){var i={dynamicLoad:H.dynamicLoad,resGetPath:H.resGetPath,getAsync:H.getAsync,customLoad:H.customLoad,ns:{namespaces:t,defaultNs:""}},n=$.toLanguages(H.lng);"string"==typeof H.preload&&(H.preload=[H.preload]);for(var s=0,a=H.preload.length;a>s;s++)for(var r=$.toLanguages(H.preload[s]),o=0,l=r.length;l>o;o++)n.indexOf(r[o])<0&&n.push(r[o]);for(var c=[],u=0,h=n.length;h>u;u++){var d=!1,p=F[n[u]];if(p)for(var f=0,g=t.length;g>f;f++)p[t[f]]||(d=!0);else d=!0;d&&c.push(n[u])}c.length?N.sync._fetch(c,i,function(i,n){var s=t.length*c.length;$.each(t,function(t,i){H.ns.namespaces.indexOf(i)<0&&H.ns.namespaces.push(i),$.each(c,function(t,a){F[a]=F[a]||{},F[a][i]=n[a][i],s--,0===s&&e&&(H.useLocalStorage&&N.sync._storeLocal(F),e())})})}):e&&e()}function g(t,e,i){return"function"==typeof e?(i=e,e={}):e||(e={}),e.lng=t,a(e,i)}function m(){return P}function v(t){F={},g(P,t)}function b(){function t(t,e,i){if(0!==e.length){var n="text";if(0===e.indexOf("[")){var s=e.split("]");e=s[1],n=s[0].substr(1,s[0].length-1)}e.indexOf(";")===e.length-1&&(e=e.substr(0,e.length-2));var a;if("html"===n)a=H.defaultValueFromContent?I.extend({defaultValue:t.html()},i):i,t.html(I.t(e,a));else if("text"===n)a=H.defaultValueFromContent?I.extend({defaultValue:t.text()},i):i,t.text(I.t(e,a));else if("prepend"===n)a=H.defaultValueFromContent?I.extend({defaultValue:t.html()},i):i,t.prepend(I.t(e,a));else if("append"===n)a=H.defaultValueFromContent?I.extend({defaultValue:t.html()},i):i,t.append(I.t(e,a));else if(0===n.indexOf("data-")){var r=n.substr("data-".length);a=H.defaultValueFromContent?I.extend({defaultValue:t.data(r)},i):i;var o=I.t(e,a);t.data(r,o),t.attr(n,o)}else a=H.defaultValueFromContent?I.extend({defaultValue:t.attr(n)},i):i,t.attr(n,I.t(e,a))}}function e(e,i){var n=e.attr(H.selectorAttr);if(n||"undefined"==typeof n||n===!1||(n=e.text()||e.val()),n){var s=e,a=e.data("i18n-target");if(a&&(s=e.find(a)||e),i||H.useDataAttrOptions!==!0||(i=e.data("i18n-options")),i=i||{},n.indexOf(";")>=0){var r=n.split(";");I.each(r,function(e,n){""!==n&&t(s,n,i)})}else t(s,n,i);H.useDataAttrOptions===!0&&e.data("i18n-options",i)}}I.t=I.t||S,I.fn.i18n=function(t){return this.each(function(){e(I(this),t);var i=I(this).find("["+H.selectorAttr+"]");i.each(function(){e(I(this),t)})})}}function _(t,e,i,n){if(!t)return t;if(n=n||e,t.indexOf(n.interpolationPrefix||H.interpolationPrefix)<0)return t;var s=n.interpolationPrefix?$.regexEscape(n.interpolationPrefix):H.interpolationPrefixEscaped,a=n.interpolationSuffix?$.regexEscape(n.interpolationSuffix):H.interpolationSuffixEscaped,r="HTML"+a,o=e.replace&&"object"==typeof e.replace?e.replace:e;return $.each(o,function(e,o){var l=i?i+H.keyseparator+e:e;"object"==typeof o&&null!==o?t=_(t,o,l,n):n.escapeInterpolation||H.escapeInterpolation?(t=t.replace(new RegExp([s,l,r].join(""),"g"),$.regexReplacementEscape(o)),t=t.replace(new RegExp([s,l,a].join(""),"g"),$.regexReplacementEscape($.escape(o)))):t=t.replace(new RegExp([s,l,a].join(""),"g"),$.regexReplacementEscape(o))}),t}function y(t,e){var i=",",n="{",s="}",a=$.extend({},e);for(delete a.postProcess;-1!=t.indexOf(H.reusePrefix)&&(O++,!(O>H.maxRecursion));){var r=t.lastIndexOf(H.reusePrefix),o=t.indexOf(H.reuseSuffix,r)+H.reuseSuffix.length,l=t.substring(r,o),c=l.replace(H.reusePrefix,"").replace(H.reuseSuffix,"");if(r>=o)return $.error("there is an missing closing in following translation value",t),"";if(-1!=c.indexOf(i)){var u=c.indexOf(i);if(-1!=c.indexOf(n,u)&&-1!=c.indexOf(s,u)){var h=c.indexOf(n,u),d=c.indexOf(s,h)+s.length;try{a=$.extend(a,JSON.parse(c.substring(h,d))),c=c.substring(0,u)}catch(p){}}}var f=A(c,a);t=t.replace(l,$.regexReplacementEscape(f))}return t}function w(t){return t.context&&("string"==typeof t.context||"number"==typeof t.context)}function x(t,e){return void 0!==t.count&&"string"!=typeof t.count}function k(t){return void 0!==t.indefinite_article&&"string"!=typeof t.indefinite_article&&t.indefinite_article}function C(t,e){e=e||{};var i=D(t,e),n=E(t,e);return void 0!==n||n===i}function S(t,e){return e=e||{},j?(O=0,A.apply(null,arguments)):($.log("i18next not finished initialization. you might have called t function before loading resources finished."),e.defaultValue||"")}function D(t,e){return void 0!==e.defaultValue?e.defaultValue:t}function T(){for(var t=[],e=1;e1)for(var n=0;n-1&&(s=i.split(H.nsseparator),l=s[0],i=s[1]),void 0===r&&H.sendMissing&&"function"==typeof H.missingKeyHandler&&(e.lng?H.missingKeyHandler(o[0],l,i,a,o):H.missingKeyHandler(H.lng,l,i,a,o));var c=e.postProcess||H.postProcess;void 0!==r&&c&&Y[c]&&(r=Y[c](r,i,e));var u=a;if(a.indexOf(H.nsseparator)>-1&&(s=a.split(H.nsseparator),u=s[1]),u===i&&H.parseMissingKey&&(a=H.parseMissingKey(a)),void 0===r&&(a=_(a,e),a=y(a,e),c&&Y[c])){var h=D(i,e);r=Y[c](h,i,e)}return void 0!==r?r:a}function E(t,e){e=e||{};var i,n,s=D(t,e),a=R;if(!F)return s;if("cimode"===a[0].toLowerCase())return s;if(e.lngs&&(a=e.lngs),e.lng&&(a=$.toLanguages(e.lng,e.fallbackLng),!F[a[0]])){var r=H.getAsync;H.getAsync=!1,N.sync.load(a,H,function(t,e){$.extend(F,e),H.getAsync=r})}var o=e.ns||H.ns.defaultNs;if(t.indexOf(H.nsseparator)>-1){var l=t.split(H.nsseparator);o=l[0],t=l[1]}if(w(e)){i=$.extend({},e),delete i.context,i.defaultValue=H.contextNotFound;var c=o+H.nsseparator+t+"_"+e.context;if(n=S(c,i),n!=H.contextNotFound)return _(n,{context:e.context})}if(x(e,a[0])){i=$.extend({lngs:[a[0]]},e),delete i.count,delete i.lng,i.defaultValue=H.pluralNotFound;var u;if(V.needsPlural(a[0],e.count)){u=o+H.nsseparator+t+H.pluralSuffix;var h=V.get(a[0],e.count);h>=0?u=u+"_"+h:1===h&&(u=o+H.nsseparator+t)}else u=o+H.nsseparator+t;if(n=S(u,i),n!=H.pluralNotFound)return _(n,{count:e.count,interpolationPrefix:e.interpolationPrefix,interpolationSuffix:e.interpolationSuffix});if(!(a.length>1))return n;var d=a.slice();if(d.shift(),e=$.extend(e,{lngs:d}),delete e.lng,n=S(o+H.nsseparator+t,e),n!=H.pluralNotFound)return n}if(k(e)){var p=$.extend({},e);delete p.indefinite_article,p.defaultValue=H.indefiniteNotFound;var f=o+H.nsseparator+t+(e.count&&!x(e,a[0])||!e.count?H.indefiniteSuffix:"");if(n=S(f,p),n!=H.indefiniteNotFound)return n}for(var g,m=t.split(H.keyseparator),v=0,b=a.length;b>v&&void 0===g;v++){for(var C=a[v],T=0,M=F[C]&&F[C][o];m[T];)M=M&&M[m[T]],T++;if(void 0!==M){var P=Object.prototype.toString.apply(M);if("string"==typeof M)M=_(M,e),M=y(M,e);else if("[object Array]"!==P||H.returnObjectTrees||e.returnObjectTrees){if(null===M&&H.fallbackOnNull===!0)M=void 0;else if(null!==M)if(H.returnObjectTrees||e.returnObjectTrees){if("[object Number]"!==P&&"[object Function]"!==P&&"[object RegExp]"!==P){var I="[object Array]"===P?[]:{};$.each(M,function(i){I[i]=A(o+H.nsseparator+t+H.keyseparator+i,e)}),M=I}}else H.objectTreeKeyHandler&&"function"==typeof H.objectTreeKeyHandler?M=H.objectTreeKeyHandler(t,M,C,o,e):(M="key '"+o+":"+t+" ("+C+")' returned an object instead of string.",$.log(M))}else M=M.join("\n"),M=_(M,e),M=y(M,e);"string"==typeof M&&""===M.trim()&&H.fallbackOnEmpty===!0&&(M=void 0),g=M}}if(void 0===g&&!e.isFallbackLookup&&(H.fallbackToDefaultNS===!0||H.fallbackNS&&H.fallbackNS.length>0)){if(e.isFallbackLookup=!0,H.fallbackNS.length){for(var O=0,j=H.fallbackNS.length;j>O;O++)if(g=E(H.fallbackNS[O]+H.nsseparator+t,e),g||""===g&&H.fallbackOnEmpty===!1){var L=g.indexOf(H.nsseparator)>-1?g.split(H.nsseparator)[1]:g,z=s.indexOf(H.nsseparator)>-1?s.split(H.nsseparator)[1]:s;if(L!==z)break}}else g=E(t,e);e.isFallbackLookup=!1}return g}function M(){var t,e=H.lngWhitelist||[],i=[];if("undefined"!=typeof window&&!function(){for(var t=window.location.search.substring(1),e=t.split("&"),n=0;n0){var a=e[n].substring(0,s);a==H.detectLngQS&&i.push(e[n].substring(s+1))}}}(),H.useCookie&&"undefined"!=typeof document){var n=$.cookie.read(H.cookieName);n&&i.push(n)}if(H.detectLngFromLocalStorage&&"undefined"!=typeof window&&window.localStorage&&i.push(window.localStorage.getItem("i18next_lng")),"undefined"!=typeof navigator){if(navigator.languages)for(var s=0;s-1){var a=s.split("-");s=H.lowerCaseLng?a[0].toLowerCase()+"-"+a[1].toLowerCase():a[0].toLowerCase()+"-"+a[1].toUpperCase()}if(0===e.length||e.indexOf(s)>-1){t=s;break}}}(),t||(t=H.fallbackLng[0]),t}Array.prototype.indexOf||(Array.prototype.indexOf=function(t){"use strict";if(null==this)throw new TypeError;var e=Object(this),i=e.length>>>0;if(0===i)return-1;var n=0;if(arguments.length>0&&(n=Number(arguments[1]),n!=n?n=0:0!=n&&n!=1/0&&n!=-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=i)return-1;for(var s=n>=0?n:Math.max(i-Math.abs(n),0);i>s;s++)if(s in e&&e[s]===t)return s;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(t){"use strict";if(null==this)throw new TypeError;var e=Object(this),i=e.length>>>0;if(0===i)return-1;var n=i;arguments.length>1&&(n=Number(arguments[1]),n!=n?n=0:0!=n&&n!=1/0&&n!=-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))));for(var s=n>=0?Math.min(n,i-1):i-Math.abs(n);s>=0;s--)if(s in e&&e[s]===t)return s;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var P,I=void 0,N={},F={},O=0,R=[],j=!1,L={};L={load:function(t,e,i){e.useLocalStorage?L._loadLocal(t,e,function(n,s){for(var a=[],r=0,o=t.length;o>r;r++)s[t[r]]||a.push(t[r]);a.length>0?L._fetch(a,e,function(t,e){$.extend(s,e),L._storeLocal(e),i(null,s)}):i(null,s)}):L._fetch(t,e,function(t,e){i(null,e)})},_loadLocal:function(t,e,i){var n={},s=(new Date).getTime();if(window.localStorage){var a=t.length;$.each(t,function(t,r){var o=window.localStorage.getItem("res_"+r);o&&(o=JSON.parse(o),o.i18nStamp&&o.i18nStamp+e.localStorageExpirationTime>s&&(n[r]=o)),a--,0===a&&i(null,n)})}},_storeLocal:function(t){if(window.localStorage)for(var e in t)t[e].i18nStamp=(new Date).getTime(),$.localStorage.setItem("res_"+e,JSON.stringify(t[e]))},_fetch:function(t,e,i){var n=e.ns,s={};if(e.dynamicLoad){var a=function(t,e){i(null,e)};if("function"==typeof e.customLoad)e.customLoad(t,n.namespaces,e,a);else{var r=_(e.resGetPath,{lng:t.join("+"),ns:n.namespaces.join("+")});$.ajax({url:r,success:function(t,e,i){$.log("loaded: "+r),a(null,t)},error:function(t,e,i){$.log("failed loading: "+r),a("failed loading resource.json error: "+i)},dataType:"json",async:e.getAsync})}}else{var o,l=n.namespaces.length*t.length;$.each(n.namespaces,function(n,a){$.each(t,function(t,n){var r=function(t,e){t&&(o=o||[],o.push(t)),s[n]=s[n]||{},s[n][a]=e,l--,0===l&&i(o,s)};"function"==typeof e.customLoad?e.customLoad(n,a,e,r):L._fetchOne(n,a,e,r)})})}},_fetchOne:function(t,e,i,n){var s=_(i.resGetPath,{lng:t,ns:e});$.ajax({url:s,success:function(t,e,i){$.log("loaded: "+s),n(null,t)},error:function(t,e,i){if(e&&200==e||t&&t.status&&200==t.status)$.error("There is a typo in: "+s);else if(e&&404==e||t&&t.status&&404==t.status)$.log("Does not exist: "+s);else{var a=e?e:t&&t.status?t.status:null;$.log(a+" when loading "+s)}n(i,{})},dataType:"json",async:i.getAsync})},postMissing:function(t,e,i,n,s){var a={};a[i]=n;var r=[];if("fallback"===H.sendMissingTo&&H.fallbackLng[0]!==!1)for(var o=0;oo;o++)r.push({lng:s[o],url:_(H.resPostPath,{lng:s[o],ns:e})});for(var c=0,u=r.length;u>c;c++){var h=r[c];$.ajax({url:h.url,type:H.sendType,data:a,success:function(t,s,a){$.log("posted missing key '"+i+"' to: "+h.url);for(var r=i.split("."),o=0,l=F[h.lng][e];r[o];)l=o===r.length-1?l[r[o]]=n:l[r[o]]=l[r[o]]||{},o++},error:function(t,e,n){$.log("failed posting missing key '"+i+"' to: "+h.url)},dataType:"json",async:H.postAsync})}},reload:v};var H={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",detectLngFromLocalStorage:!1,ns:"translation",fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!0,postAsync:!0,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",defaultVariables:!1,reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:["plural_not_found",Math.random()].join(""),contextNotFound:["context_not_found",Math.random()].join(""),escapeInterpolation:!1,indefiniteSuffix:"_indefinite",indefiniteNotFound:["indefinite_not_found",Math.random()].join(""),setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,missingKeyHandler:L.postMissing,shortcutFunction:"sprintf"},z={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},B={create:function(t,e,i,n){var s;if(i){var a=new Date;a.setTime(a.getTime()+60*i*1e3),s="; expires="+a.toGMTString()}else s="";n=n?"domain="+n+";":"",document.cookie=t+"="+e+s+";"+n+"path=/"},read:function(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n-1){var i=t.split("-");e=H.lowerCaseLng?i[0].toLowerCase()+"-"+i[1].toLowerCase():i[0].toLowerCase()+"-"+i[1].toUpperCase()}else e=H.lowerCaseLng?t.toLowerCase():t;return e}var i=this.log,n=[],s=H.lngWhitelist||!1,a=function(t){!s||s.indexOf(t)>-1?n.push(t):i("rejecting non-whitelisted language: "+t)};if("string"==typeof t&&t.indexOf("-")>-1){var r=t.split("-");"unspecific"!==H.load&&a(e(t)),"current"!==H.load&&a(e(r[this.getCountyIndexOfLng(t)]))}else a(e(t));for(var o=0;o1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)},5:function(t){return Number(0===t?0:1==t?1:2==t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&4>=t?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:7>t?2:11>t?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&20>t?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(10>t%100||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1?0:1)},18:function(t){return Number(1==t?1:2)},19:function(t){return Number(1==t?0:0===t||t%100>1&&11>t%100?1:t%100>10&&20>t%100?2:3)},20:function(t){return Number(1==t?0:0===t||t%100>0&&20>t%100?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)}},V={rules:function(){var t,e={};for(t=W.length;t--;)e[W[t][0]]={name:W[t][1],numbers:W[t][2],plurals:U[W[t][3]] };return e}(),addRule:function(t,e){V.rules[t]=e},setCurrentLng:function(t){if(!V.currentRule||V.currentRule.lng!==t){var e=t.split("-");V.currentRule={lng:t,rule:V.rules[e[0]]}}},needsPlural:function(t,e){var i,n=t.split("-");return i=V.currentRule&&V.currentRule.lng===t?V.currentRule.rule:V.rules[n[$.getCountyIndexOfLng(t)]],i&&i.numbers.length<=1?!1:1!==this.get(t,e)},get:function(t,e){function i(e,i){var n;if(n=V.currentRule&&V.currentRule.lng===t?V.currentRule.rule:V.rules[e]){var s;s=n.noAbs?n.plurals(i):n.plurals(Math.abs(i));var a=n.numbers[s];return 2===n.numbers.length&&1===n.numbers[0]&&(2===a?a=-1:1===a&&(a=1)),a}return 1===i?"1":"-1"}var n=t.split("-");return i(n[$.getCountyIndexOfLng(t)],e)}},Y={},K=function(t,e){Y[t]=e},G=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var i=[];e>0;i[--e]=t);return i.join("")}var i=function(){return i.cache.hasOwnProperty(arguments[0])||(i.cache[arguments[0]]=i.parse(arguments[0])),i.format.call(null,i.cache[arguments[0]],arguments)};return i.format=function(i,n){var s,a,r,o,l,c,u,h=1,d=i.length,p="",f=[];for(a=0;d>a;a++)if(p=t(i[a]),"string"===p)f.push(i[a]);else if("array"===p){if(o=i[a],o[2])for(s=n[h],r=0;r=0?"+"+s:s,c=o[4]?"0"==o[4]?"0":o[4].charAt(1):" ",u=o[6]-String(s).length,l=o[6]?e(c,u):"",f.push(o[5]?s+l:l+s)}return f.join("")},i.cache={},i.parse=function(t){for(var e=t,i=[],n=[],s=0;e;){if(null!==(i=/^[^\x25]+/.exec(e)))n.push(i[0]);else if(null!==(i=/^\x25{2}/.exec(e)))n.push("%");else{if(null===(i=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(e)))throw"[sprintf] huh?";if(i[2]){s|=1;var a=[],r=i[2],o=[];if(null===(o=/^([a-z_][a-z_\d]*)/i.exec(r)))throw"[sprintf] huh?";for(a.push(o[1]);""!==(r=r.substring(o[0].length));)if(null!==(o=/^\.([a-z_][a-z_\d]*)/i.exec(r)))a.push(o[1]);else{if(null===(o=/^\[(\d+)\]/.exec(r)))throw"[sprintf] huh?";a.push(o[1])}i[2]=a}else s|=2;if(3===s)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";n.push(i)}e=e.substring(i[0].length)}return n},i}(),X=function(t,e){return e.unshift(t),G.apply(null,e)};return K("sprintf",function(t,e,i){return i.sprintf?"[object Array]"===Object.prototype.toString.apply(i.sprintf)?X(t,i.sprintf):"object"==typeof i.sprintf?G(t,i.sprintf):t:t}),N.init=a,N.setLng=g,N.preload=r,N.addResourceBundle=o,N.hasResourceBundle=l,N.addResource=u,N.addResources=h,N.removeResourceBundle=c,N.loadNamespace=p,N.loadNamespaces=f,N.setDefaultNamespace=d,N.t=S,N.translate=S,N.exists=C,N.detectLanguage=$.detectLanguage,N.pluralExtensions=V,N.sync=L,N.functions=$,N.lng=m,N.addPostProcessor=K,N.options=H,N}),i("views/i18n",["i18next"],function(t){"use strict";var e=t.t;return e.init=function(i){t.init({detectLngQS:"lang",fallbackLng:"en",lowerCaseLng:!0,getAsync:!1,resGetPath:i+"locales/__lng__/__ns__.json"}),Handlebars.registerHelper("t",e.bind(e))},e}),function(t){var e="object"==typeof exports&&exports,n="object"==typeof module&&module&&module.exports==e&&module,s="object"==typeof global&&global;s.global!==s&&s.window!==s||(t=s);var a=String.fromCharCode,r=function(t){return t.replace(/[\t\x20]$/gm,"").replace(/=?(?:\r\n?|\n)/g,"").replace(/=([a-fA-F0-9]{2})/g,function(t,e){var i=parseInt(e,16);return a(i)})},o=function(t){return t.replace(/\x20$/,"=20").replace(/\t$/,"=09")},l=/[\0-\b\n-\x1F=\x7F-\uD7FF\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF]/g,c=function(t){for(var e=t.replace(l,function(t){if(t>"ÿ")throw RangeError("`quotedPrintable.encode()` expects extended ASCII input only. Don’t forget to encode the input first using a character encoding like UTF-8.");var e=t.charCodeAt(0),i=e.toString(16).toUpperCase();return"="+("0"+i).slice(-2)}),i=e.split(/\r\n?|\n/g),n=-1,s=i.length,a=[];++nu;){var d=e.slice(u,u+c);/=$/.test(d)?(d=d.slice(0,c-1),u+=c-1):/=[A-F0-9]$/.test(d)?(d=d.slice(0,c-2),u+=c-2):u+=c,a.push(d)}var p=d.length;return/[\t\x20]$/.test(d)&&(a.pop(),c+1>=p+2?a.push(o(d)):a.push(d.slice(0,p-1),o(d.slice(p-1,p)))),a.join("=\r\n")},u={encode:c,decode:r,version:"0.2.1"};if("function"==typeof i&&"object"==typeof i.amd&&i.amd)i("quoted-printable/quoted-printable",[],function(){return u});else if(e&&!e.nodeType)if(n)n.exports=u;else for(var h in u)u.hasOwnProperty(h)&&(e[h]=u[h]);else t.quotedPrintable=u}(this),function(t){function e(t){for(var e,i,n=[],s=0,a=t.length;a>s;)e=t.charCodeAt(s++),e>=55296&&56319>=e&&a>s?(i=t.charCodeAt(s++),56320==(64512&i)?n.push(((1023&e)<<10)+(1023&i)+65536):(n.push(e),s--)):n.push(e);return n}function n(t){for(var e,i=t.length,n=-1,s="";++n65535&&(e-=65536,s+=v(e>>>10&1023|55296),e=56320|1023&e),s+=v(e);return s}function s(t){if(t>=55296&&57343>=t)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function a(t,e){return v(t>>e&63|128)}function r(t){if(0==(4294967168&t))return v(t);var e="";return 0==(4294965248&t)?e=v(t>>6&31|192):0==(4294901760&t)?(s(t),e=v(t>>12&15|224),e+=a(t,6)):0==(4292870144&t)&&(e=v(t>>18&7|240),e+=a(t,12),e+=a(t,6)),e+=v(63&t|128)}function o(t){for(var i,n=e(t),s=n.length,a=-1,o="";++a=g)throw Error("Invalid byte index");var t=255&f[m];if(m++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function c(){var t,e,i,n,a;if(m>g)throw Error("Invalid byte index");if(m==g)return!1;if(t=255&f[m],m++,0==(128&t))return t;if(192==(224&t)){var e=l();if(a=(31&t)<<6|e,a>=128)return a;throw Error("Invalid continuation byte")}if(224==(240&t)){if(e=l(),i=l(),a=(15&t)<<12|e<<6|i,a>=2048)return s(a),a;throw Error("Invalid continuation byte")}if(240==(248&t)&&(e=l(),i=l(),n=l(),a=(15&t)<<18|e<<12|i<<6|n,a>=65536&&1114111>=a))return a;throw Error("Invalid UTF-8 detected")}function u(t){f=e(t),g=f.length,m=0;for(var i,s=[];(i=c())!==!1;)s.push(i);return n(s)}var h="object"==typeof exports&&exports,d="object"==typeof module&&module&&module.exports==h&&module,p="object"==typeof global&&global;p.global!==p&&p.window!==p||(t=p);var f,g,m,v=String.fromCharCode,b={version:"2.0.0",encode:o,decode:u};if("function"==typeof i&&"object"==typeof i.amd&&i.amd)i("utf8/utf8",[],function(){return b});else if(h&&!h.nodeType)if(d)d.exports=b;else{var _={},y=_.hasOwnProperty;for(var w in b)y.call(b,w)&&(h[w]=b[w])}else t.utf8=b}(this),function(t){"use strict";var e="undefined"==typeof window?null:window;"function"==typeof i&&i.amd?i("DOMPurify",[],function(){return t(e)}):"undefined"!=typeof module?module.exports=t(e):e.DOMPurify=t(e)}(function n(t){"use strict";var e=function(t){return n(t)};if(e.version="0.7.4",!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var i=t.document,s=i,a=t.DocumentFragment,r=t.HTMLTemplateElement,o=t.NodeFilter,l=t.NamedNodeMap||t.MozNamedAttrMap,c=t.Text,u=t.Comment,h=t.DOMParser;"function"==typeof r&&(i=i.createElement("template").content.ownerDocument);var d=i.implementation,p=i.createNodeIterator,f=i.getElementsByTagName,g=i.createDocumentFragment,m=s.importNode,v={};e.isSupported="undefined"!=typeof d.createHTMLDocument&&9!==i.documentMode;var b=function(t,e){for(var i=e.length;i--;)t[e[i]]=!0;return t},_=function(t){var e,i={};for(e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i},y=null,w=b({},["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr","svg","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","switch","symbol","text","textpath","title","tref","tspan","view","vkern","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmuliscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mpspace","msqrt","mystyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","#text"]),x=null,k=b({},["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","rows","rowspan","spellcheck","scope","selected","shape","size","span","srclang","start","src","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns","accent-height","accumulate","additivive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mode","min","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","surfacescale","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","u1","u2","unicode","values","viewbox","visibility","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","y","y1","y2","z","zoomandpan","accent","accentunder","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","display","displaystyle","fence","frame","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),C=null,S=null,D=!0,T=!1,A=!1,E=/\{\{[\s\S]*|[\s\S]*\}\}/gm,M=/<%[\s\S]*|[\s\S]*%>/gm,P=!1,I=!1,N=!1,F=!1,O=!0,R=!0,j=b({},["audio","head","math","script","style","svg","video"]),L=b({},["audio","video","img","source"]),H=b({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),z=null,B=i.createElement("form"),q=function(t){"object"!=typeof t&&(t={}),y="ALLOWED_TAGS"in t?b({},t.ALLOWED_TAGS):w,x="ALLOWED_ATTR"in t?b({},t.ALLOWED_ATTR):k,C="FORBID_TAGS"in t?b({},t.FORBID_TAGS):{},S="FORBID_ATTR"in t?b({},t.FORBID_ATTR):{},D=t.ALLOW_DATA_ATTR!==!1,T=t.SAFE_FOR_JQUERY||!1,A=t.SAFE_FOR_TEMPLATES||!1,P=t.WHOLE_DOCUMENT||!1,I=t.RETURN_DOM||!1,N=t.RETURN_DOM_FRAGMENT||!1,F=t.RETURN_DOM_IMPORT||!1,O=t.SANITIZE_DOM!==!1,R=t.KEEP_CONTENT!==!1,N&&(I=!0),t.ADD_TAGS&&(y===w&&(y=_(y)),b(y,t.ADD_TAGS)),t.ADD_ATTR&&(x===k&&(x=_(x)),b(x,t.ADD_ATTR)),R&&(y["#text"]=!0),Object&&"freeze"in Object&&Object.freeze(t),z=t},$=function(t){try{t.parentNode.removeChild(t)}catch(e){t.outerHTML=""}},W=function(t){var e,i;try{e=(new h).parseFromString(t,"text/html")}catch(n){}return e||(e=d.createHTMLDocument(""),i=e.body,i.parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=t),"function"==typeof e.getElementsByTagName?e.getElementsByTagName(P?"html":"body")[0]:f.call(e,P?"html":"body")[0]},U=function(t){return p.call(t.ownerDocument||t,t,o.SHOW_ELEMENT|o.SHOW_COMMENT|o.SHOW_TEXT,function(){return o.FILTER_ACCEPT},!1)},V=function(t){return t instanceof c||t instanceof u?!1:!("string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof l&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute)},Y=function(t){var e,i;if(Z("beforeSanitizeElements",t,null),V(t))return $(t),!0;if(e=t.nodeName.toLowerCase(),Z("uponSanitizeElement",t,{tagName:e}),!y[e]||C[e]){if(R&&!j[e]&&"function"==typeof t.insertAdjacentHTML)try{t.insertAdjacentHTML("AfterEnd",t.innerHTML)}catch(n){}return $(t),!0}return!T||t.firstElementChild||t.content&&t.content.firstElementChild||(t.innerHTML=t.textContent.replace(/u&&e.setAttribute("id",o.value)):("id"===s&&e.setAttribute(s,""),e.removeAttribute(s)),c.keepAttr&&(!O||"id"!==r&&"name"!==r||!(a in t||a in i||a in B))&&(A&&(a=a.replace(E," "),a=a.replace(M," ")),(x[r]&&!S[r]||!A&&D&&K.test(r))&&(G.test(a.replace(X,""))||"src"===r&&0===a.indexOf("data:")&&L[e.nodeName.toLowerCase()]||H[r])))try{e.setAttribute(s,a)}catch(h){}Z("afterSanitizeAttributes",e,null)}},J=function(t){var e,i=U(t);for(Z("beforeSanitizeShadowDOM",t,null);e=i.nextNode();)Z("uponSanitizeShadowNode",e,null),Y(e)||(e.content instanceof a&&J(e.content),Q(e));Z("afterSanitizeShadowDOM",t,null)},Z=function(t,i,n){v[t]&&v[t].forEach(function(t){t.call(e,i,n,z)})};return e.sanitize=function(i,n){var r,o,l,c,u;if(i||(i=""),"string"!=typeof i){if("function"!=typeof i.toString)throw new TypeError("toString is not a function");i=i.toString()}if(!e.isSupported)return"object"==typeof t.toStaticHTML||"function"==typeof t.toStaticHTML?t.toStaticHTML(i):i;if(q(n),!I&&!P&&-1===i.indexOf("<"))return i;if(r=W(i),!r)return I?null:"";for(c=U(r);o=c.nextNode();)3===o.nodeType&&o===l||Y(o)||(o.content instanceof a&&J(o.content),Q(o),l=o);if(I){if(N)for(u=g.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return F&&(u=m.call(s,u,!0)),u}return P?r.outerHTML:r.innerHTML},e.addHook=function(t,e){"function"==typeof e&&(v[t]=v[t]||[],v[t].push(e))},e.removeHook=function(t){v[t]&&v[t].pop()},e.removeHooks=function(t){v[t]&&(v[t]=[])},e.removeAllHooks=function(){v=[]},e}),function(t){var e="object"==typeof exports&&exports,n="object"==typeof module&&module&&module.exports==e&&module,s="object"==typeof global&&global;s.global!==s&&s.window!==s||(t=s);var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r=/[\x01-\x7F]/g,o=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"Á":"Aacute","á":"aacute","Ă":"Abreve","ă":"abreve","∾":"ac","∿":"acd","∾̳":"acE","Â":"Acirc","â":"acirc","´":"acute","А":"Acy","а":"acy","Æ":"AElig","æ":"aelig","⁡":"af","𝔄":"Afr","𝔞":"afr","À":"Agrave","à":"agrave","ℵ":"aleph","Α":"Alpha","α":"alpha","Ā":"Amacr","ā":"amacr","⨿":"amalg","&":"amp","⩕":"andand","⩓":"And","∧":"and","⩜":"andd","⩘":"andslope","⩚":"andv","∠":"ang","⦤":"ange","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","∡":"angmsd","∟":"angrt","⊾":"angrtvb","⦝":"angrtvbd","∢":"angsph","Å":"angst","⍼":"angzarr","Ą":"Aogon","ą":"aogon","𝔸":"Aopf","𝕒":"aopf","⩯":"apacir","≈":"ap","⩰":"apE","≊":"ape","≋":"apid","'":"apos","å":"aring","𝒜":"Ascr","𝒶":"ascr","≔":"colone","*":"ast","≍":"CupCap","Ã":"Atilde","ã":"atilde","Ä":"Auml","ä":"auml","∳":"awconint","⨑":"awint","≌":"bcong","϶":"bepsi","‵":"bprime","∽":"bsim","⋍":"bsime","∖":"setmn","⫧":"Barv","⊽":"barvee","⌅":"barwed","⌆":"Barwed","⎵":"bbrk","⎶":"bbrktbrk","Б":"Bcy","б":"bcy","„":"bdquo","∵":"becaus","⦰":"bemptyv","ℬ":"Bscr","Β":"Beta","β":"beta","ℶ":"beth","≬":"twixt","𝔅":"Bfr","𝔟":"bfr","⋂":"xcap","◯":"xcirc","⋃":"xcup","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨆":"xsqcup","★":"starf","▽":"xdtri","△":"xutri","⨄":"xuplus","⋁":"Vee","⋀":"Wedge","⤍":"rbarr","⧫":"lozf","▪":"squf","▴":"utrif","▾":"dtrif","◂":"ltrif","▸":"rtrif","␣":"blank","▒":"blk12","░":"blk14","▓":"blk34","█":"block","=⃥":"bne","≡⃥":"bnequiv","⫭":"bNot","⌐":"bnot","𝔹":"Bopf","𝕓":"bopf","⊥":"bot","⋈":"bowtie","⧉":"boxbox","┐":"boxdl","╕":"boxdL","╖":"boxDl","╗":"boxDL","┌":"boxdr","╒":"boxdR","╓":"boxDr","╔":"boxDR","─":"boxh","═":"boxH","┬":"boxhd","╤":"boxHd","╥":"boxhD","╦":"boxHD","┴":"boxhu","╧":"boxHu","╨":"boxhU","╩":"boxHU","⊟":"minusb","⊞":"plusb","⊠":"timesb","┘":"boxul","╛":"boxuL","╜":"boxUl","╝":"boxUL","└":"boxur","╘":"boxuR","╙":"boxUr","╚":"boxUR","│":"boxv","║":"boxV","┼":"boxvh","╪":"boxvH","╫":"boxVh","╬":"boxVH","┤":"boxvl","╡":"boxvL","╢":"boxVl","╣":"boxVL","├":"boxvr","╞":"boxvR","╟":"boxVr","╠":"boxVR","˘":"breve","¦":"brvbar","𝒷":"bscr","⁏":"bsemi","⧅":"bsolb","\\":"bsol","⟈":"bsolhsub","•":"bull","≎":"bump","⪮":"bumpE","≏":"bumpe","Ć":"Cacute","ć":"cacute","⩄":"capand","⩉":"capbrcup","⩋":"capcap","∩":"cap","⋒":"Cap","⩇":"capcup","⩀":"capdot","ⅅ":"DD","∩︀":"caps","⁁":"caret","ˇ":"caron","ℭ":"Cfr","⩍":"ccaps","Č":"Ccaron","č":"ccaron","Ç":"Ccedil","ç":"ccedil","Ĉ":"Ccirc","ĉ":"ccirc","∰":"Cconint","⩌":"ccups","⩐":"ccupssm","Ċ":"Cdot","ċ":"cdot","¸":"cedil","⦲":"cemptyv","¢":"cent","·":"middot","𝔠":"cfr","Ч":"CHcy","ч":"chcy","✓":"check","Χ":"Chi","χ":"chi","ˆ":"circ","≗":"cire","↺":"olarr","↻":"orarr","⊛":"oast","⊚":"ocir","⊝":"odash","⊙":"odot","®":"reg","Ⓢ":"oS","⊖":"ominus","⊕":"oplus","⊗":"otimes","○":"cir","⧃":"cirE","⨐":"cirfnint","⫯":"cirmid","⧂":"cirscir","∲":"cwconint","”":"rdquo","’":"rsquo","♣":"clubs",":":"colon","∷":"Colon","⩴":"Colone",",":"comma","@":"commat","∁":"comp","∘":"compfn","ℂ":"Copf","≅":"cong","⩭":"congdot","≡":"equiv","∮":"oint","∯":"Conint","𝕔":"copf","∐":"coprod","©":"copy","℗":"copysr","↵":"crarr","✗":"cross","⨯":"Cross","𝒞":"Cscr","𝒸":"cscr","⫏":"csub","⫑":"csube","⫐":"csup","⫒":"csupe","⋯":"ctdot","⤸":"cudarrl","⤵":"cudarrr","⋞":"cuepr","⋟":"cuesc","↶":"cularr","⤽":"cularrp","⩈":"cupbrcap","⩆":"cupcap","∪":"cup","⋓":"Cup","⩊":"cupcup","⊍":"cupdot","⩅":"cupor","∪︀":"cups","↷":"curarr","⤼":"curarrm","⋎":"cuvee","⋏":"cuwed","¤":"curren","∱":"cwint","⌭":"cylcty","†":"dagger","‡":"Dagger","ℸ":"daleth","↓":"darr","↡":"Darr","⇓":"dArr","‐":"dash","⫤":"Dashv","⊣":"dashv","⤏":"rBarr","˝":"dblac","Ď":"Dcaron","ď":"dcaron","Д":"Dcy","д":"dcy","⇊":"ddarr","ⅆ":"dd","⤑":"DDotrahd","⩷":"eDDot","°":"deg","∇":"Del","Δ":"Delta","δ":"delta","⦱":"demptyv","⥿":"dfisht","𝔇":"Dfr","𝔡":"dfr","⥥":"dHar","⇃":"dharl","⇂":"dharr","˙":"dot","`":"grave","˜":"tilde","⋄":"diam","♦":"diams","¨":"die","ϝ":"gammad","⋲":"disin","÷":"div","⋇":"divonx","Ђ":"DJcy","ђ":"djcy","⌞":"dlcorn","⌍":"dlcrop",$:"dollar","𝔻":"Dopf","𝕕":"dopf","⃜":"DotDot","≐":"doteq","≑":"eDot","∸":"minusd","∔":"plusdo","⊡":"sdotb","⇐":"lArr","⇔":"iff","⟸":"xlArr","⟺":"xhArr","⟹":"xrArr","⇒":"rArr","⊨":"vDash","⇑":"uArr","⇕":"vArr","∥":"par","⤓":"DownArrowBar","⇵":"duarr","̑":"DownBreve","⥐":"DownLeftRightVector","⥞":"DownLeftTeeVector","⥖":"DownLeftVectorBar","↽":"lhard","⥟":"DownRightTeeVector","⥗":"DownRightVectorBar","⇁":"rhard","↧":"mapstodown","⊤":"top","⤐":"RBarr","⌟":"drcorn","⌌":"drcrop","𝒟":"Dscr","𝒹":"dscr","Ѕ":"DScy","ѕ":"dscy","⧶":"dsol","Đ":"Dstrok","đ":"dstrok","⋱":"dtdot","▿":"dtri","⥯":"duhar","⦦":"dwangle","Џ":"DZcy","џ":"dzcy","⟿":"dzigrarr","É":"Eacute","é":"eacute","⩮":"easter","Ě":"Ecaron","ě":"ecaron","Ê":"Ecirc","ê":"ecirc","≖":"ecir","≕":"ecolon","Э":"Ecy","э":"ecy","Ė":"Edot","ė":"edot","ⅇ":"ee","≒":"efDot","𝔈":"Efr","𝔢":"efr","⪚":"eg","È":"Egrave","è":"egrave","⪖":"egs","⪘":"egsdot","⪙":"el","∈":"in","⏧":"elinters","ℓ":"ell","⪕":"els","⪗":"elsdot","Ē":"Emacr","ē":"emacr","∅":"empty","◻":"EmptySmallSquare","▫":"EmptyVerySmallSquare"," ":"emsp13"," ":"emsp14"," ":"emsp","Ŋ":"ENG","ŋ":"eng"," ":"ensp","Ę":"Eogon","ę":"eogon","𝔼":"Eopf","𝕖":"eopf","⋕":"epar","⧣":"eparsl","⩱":"eplus","ε":"epsi","Ε":"Epsilon","ϵ":"epsiv","≂":"esim","⩵":"Equal","=":"equals","≟":"equest","⇌":"rlhar","⩸":"equivDD","⧥":"eqvparsl","⥱":"erarr","≓":"erDot","ℯ":"escr","ℰ":"Escr","⩳":"Esim","Η":"Eta","η":"eta","Ð":"ETH","ð":"eth","Ë":"Euml","ë":"euml","€":"euro","!":"excl","∃":"exist","Ф":"Fcy","ф":"fcy","♀":"female","ffi":"ffilig","ff":"fflig","ffl":"ffllig","𝔉":"Ffr","𝔣":"ffr","fi":"filig","◼":"FilledSmallSquare",fj:"fjlig","♭":"flat","fl":"fllig","▱":"fltns","ƒ":"fnof","𝔽":"Fopf","𝕗":"fopf","∀":"forall","⋔":"fork","⫙":"forkv","ℱ":"Fscr","⨍":"fpartint","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","⅔":"frac23","⅖":"frac25","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","⁄":"frasl","⌢":"frown","𝒻":"fscr","ǵ":"gacute","Γ":"Gamma","γ":"gamma","Ϝ":"Gammad","⪆":"gap","Ğ":"Gbreve","ğ":"gbreve","Ģ":"Gcedil","Ĝ":"Gcirc","ĝ":"gcirc","Г":"Gcy","г":"gcy","Ġ":"Gdot","ġ":"gdot","≥":"ge","≧":"gE","⪌":"gEl","⋛":"gel","⩾":"ges","⪩":"gescc","⪀":"gesdot","⪂":"gesdoto","⪄":"gesdotol","⋛︀":"gesl","⪔":"gesles","𝔊":"Gfr","𝔤":"gfr","≫":"gg","⋙":"Gg","ℷ":"gimel","Ѓ":"GJcy","ѓ":"gjcy","⪥":"gla","≷":"gl","⪒":"glE","⪤":"glj","⪊":"gnap","⪈":"gne","≩":"gnE","⋧":"gnsim","𝔾":"Gopf","𝕘":"gopf","⪢":"GreaterGreater","≳":"gsim","𝒢":"Gscr","ℊ":"gscr","⪎":"gsime","⪐":"gsiml","⪧":"gtcc","⩺":"gtcir",">":"gt","⋗":"gtdot","⦕":"gtlPar","⩼":"gtquest","⥸":"gtrarr","≩︀":"gvnE"," ":"hairsp","ℋ":"Hscr","Ъ":"HARDcy","ъ":"hardcy","⥈":"harrcir","↔":"harr","↭":"harrw","^":"Hat","ℏ":"hbar","Ĥ":"Hcirc","ĥ":"hcirc","♥":"hearts","…":"mldr","⊹":"hercon","𝔥":"hfr","ℌ":"Hfr","⤥":"searhk","⤦":"swarhk","⇿":"hoarr","∻":"homtht","↩":"larrhk","↪":"rarrhk","𝕙":"hopf","ℍ":"Hopf","―":"horbar","𝒽":"hscr","Ħ":"Hstrok","ħ":"hstrok","⁃":"hybull","Í":"Iacute","í":"iacute","⁣":"ic","Î":"Icirc","î":"icirc","И":"Icy","и":"icy","İ":"Idot","Е":"IEcy","е":"iecy","¡":"iexcl","𝔦":"ifr","ℑ":"Im","Ì":"Igrave","ì":"igrave","ⅈ":"ii","⨌":"qint","∭":"tint","⧜":"iinfin","℩":"iiota","IJ":"IJlig","ij":"ijlig","Ī":"Imacr","ī":"imacr","ℐ":"Iscr","ı":"imath","⊷":"imof","Ƶ":"imped","℅":"incare","∞":"infin","⧝":"infintie","⊺":"intcal","∫":"int","∬":"Int","ℤ":"Zopf","⨗":"intlarhk","⨼":"iprod","⁢":"it","Ё":"IOcy","ё":"iocy","Į":"Iogon","į":"iogon","𝕀":"Iopf","𝕚":"iopf","Ι":"Iota","ι":"iota","¿":"iquest","𝒾":"iscr","⋵":"isindot","⋹":"isinE","⋴":"isins","⋳":"isinsv","Ĩ":"Itilde","ĩ":"itilde","І":"Iukcy","і":"iukcy","Ï":"Iuml","ï":"iuml","Ĵ":"Jcirc","ĵ":"jcirc","Й":"Jcy","й":"jcy","𝔍":"Jfr","𝔧":"jfr","ȷ":"jmath","𝕁":"Jopf","𝕛":"jopf","𝒥":"Jscr","𝒿":"jscr","Ј":"Jsercy","ј":"jsercy","Є":"Jukcy","є":"jukcy","Κ":"Kappa","κ":"kappa","ϰ":"kappav","Ķ":"Kcedil","ķ":"kcedil","К":"Kcy","к":"kcy","𝔎":"Kfr","𝔨":"kfr","ĸ":"kgreen","Х":"KHcy","х":"khcy","Ќ":"KJcy","ќ":"kjcy","𝕂":"Kopf","𝕜":"kopf","𝒦":"Kscr","𝓀":"kscr","⇚":"lAarr","Ĺ":"Lacute","ĺ":"lacute","⦴":"laemptyv","ℒ":"Lscr","Λ":"Lambda","λ":"lambda","⟨":"lang","⟪":"Lang","⦑":"langd","⪅":"lap","«":"laquo","⇤":"larrb","⤟":"larrbfs","←":"larr","↞":"Larr","⤝":"larrfs","↫":"larrlp","⤹":"larrpl","⥳":"larrsim","↢":"larrtl","⤙":"latail","⤛":"lAtail","⪫":"lat","⪭":"late","⪭︀":"lates","⤌":"lbarr","⤎":"lBarr","❲":"lbbrk","{":"lcub","[":"lsqb","⦋":"lbrke","⦏":"lbrksld","⦍":"lbrkslu","Ľ":"Lcaron","ľ":"lcaron","Ļ":"Lcedil","ļ":"lcedil","⌈":"lceil","Л":"Lcy","л":"lcy","⤶":"ldca","“":"ldquo","⥧":"ldrdhar","⥋":"ldrushar","↲":"ldsh","≤":"le","≦":"lE","⇆":"lrarr","⟦":"lobrk","⥡":"LeftDownTeeVector","⥙":"LeftDownVectorBar","⌊":"lfloor","↼":"lharu","⇇":"llarr","⇋":"lrhar","⥎":"LeftRightVector","↤":"mapstoleft","⥚":"LeftTeeVector","⋋":"lthree","⧏":"LeftTriangleBar","⊲":"vltri","⊴":"ltrie","⥑":"LeftUpDownVector","⥠":"LeftUpTeeVector","⥘":"LeftUpVectorBar","↿":"uharl","⥒":"LeftVectorBar","⪋":"lEg","⋚":"leg","⩽":"les","⪨":"lescc","⩿":"lesdot","⪁":"lesdoto","⪃":"lesdotor","⋚︀":"lesg","⪓":"lesges","⋖":"ltdot","≶":"lg","⪡":"LessLess","≲":"lsim","⥼":"lfisht","𝔏":"Lfr","𝔩":"lfr","⪑":"lgE","⥢":"lHar","⥪":"lharul","▄":"lhblk","Љ":"LJcy","љ":"ljcy","≪":"ll","⋘":"Ll","⥫":"llhard","◺":"lltri","Ŀ":"Lmidot","ŀ":"lmidot","⎰":"lmoust","⪉":"lnap","⪇":"lne","≨":"lnE","⋦":"lnsim","⟬":"loang","⇽":"loarr","⟵":"xlarr","⟷":"xharr","⟼":"xmap","⟶":"xrarr","↬":"rarrlp","⦅":"lopar","𝕃":"Lopf","𝕝":"lopf","⨭":"loplus","⨴":"lotimes","∗":"lowast",_:"lowbar","↙":"swarr","↘":"searr","◊":"loz","(":"lpar","⦓":"lparlt","⥭":"lrhard","‎":"lrm","⊿":"lrtri","‹":"lsaquo","𝓁":"lscr","↰":"lsh","⪍":"lsime","⪏":"lsimg","‘":"lsquo","‚":"sbquo","Ł":"Lstrok","ł":"lstrok","⪦":"ltcc","⩹":"ltcir","<":"lt","⋉":"ltimes","⥶":"ltlarr","⩻":"ltquest","◃":"ltri","⦖":"ltrPar","⥊":"lurdshar","⥦":"luruhar","≨︀":"lvnE","¯":"macr","♂":"male","✠":"malt","⤅":"Map","↦":"map","↥":"mapstoup","▮":"marker","⨩":"mcomma","М":"Mcy","м":"mcy","—":"mdash","∺":"mDDot"," ":"MediumSpace","ℳ":"Mscr","𝔐":"Mfr","𝔪":"mfr","℧":"mho","µ":"micro","⫰":"midcir","∣":"mid","−":"minus","⨪":"minusdu","∓":"mp","⫛":"mlcp","⊧":"models","𝕄":"Mopf","𝕞":"mopf","𝓂":"mscr","Μ":"Mu","μ":"mu","⊸":"mumap","Ń":"Nacute","ń":"nacute","∠⃒":"nang","≉":"nap","⩰̸":"napE","≋̸":"napid","ʼn":"napos","♮":"natur","ℕ":"Nopf"," ":"nbsp","≎̸":"nbump","≏̸":"nbumpe","⩃":"ncap","Ň":"Ncaron","ň":"ncaron","Ņ":"Ncedil","ņ":"ncedil","≇":"ncong","⩭̸":"ncongdot","⩂":"ncup","Н":"Ncy","н":"ncy","–":"ndash","⤤":"nearhk","↗":"nearr","⇗":"neArr","≠":"ne","≐̸":"nedot","​":"ZeroWidthSpace","≢":"nequiv","⤨":"toea","≂̸":"nesim","\n":"NewLine","∄":"nexist","𝔑":"Nfr","𝔫":"nfr","≧̸":"ngE","≱":"nge","⩾̸":"nges","⋙̸":"nGg","≵":"ngsim","≫⃒":"nGt","≯":"ngt","≫̸":"nGtv","↮":"nharr","⇎":"nhArr","⫲":"nhpar","∋":"ni","⋼":"nis","⋺":"nisd","Њ":"NJcy","њ":"njcy","↚":"nlarr","⇍":"nlArr","‥":"nldr","≦̸":"nlE","≰":"nle","⩽̸":"nles","≮":"nlt","⋘̸":"nLl","≴":"nlsim","≪⃒":"nLt","⋪":"nltri","⋬":"nltrie","≪̸":"nLtv","∤":"nmid","⁠":"NoBreak","𝕟":"nopf","⫬":"Not","¬":"not","≭":"NotCupCap","∦":"npar","∉":"notin","≹":"ntgl","⋵̸":"notindot","⋹̸":"notinE", "⋷":"notinvb","⋶":"notinvc","⧏̸":"NotLeftTriangleBar","≸":"ntlg","⪢̸":"NotNestedGreaterGreater","⪡̸":"NotNestedLessLess","∌":"notni","⋾":"notnivb","⋽":"notnivc","⊀":"npr","⪯̸":"npre","⋠":"nprcue","⧐̸":"NotRightTriangleBar","⋫":"nrtri","⋭":"nrtrie","⊏̸":"NotSquareSubset","⋢":"nsqsube","⊐̸":"NotSquareSuperset","⋣":"nsqsupe","⊂⃒":"vnsub","⊈":"nsube","⊁":"nsc","⪰̸":"nsce","⋡":"nsccue","≿̸":"NotSucceedsTilde","⊃⃒":"vnsup","⊉":"nsupe","≁":"nsim","≄":"nsime","⫽⃥":"nparsl","∂̸":"npart","⨔":"npolint","⤳̸":"nrarrc","↛":"nrarr","⇏":"nrArr","↝̸":"nrarrw","𝒩":"Nscr","𝓃":"nscr","⊄":"nsub","⫅̸":"nsubE","⊅":"nsup","⫆̸":"nsupE","Ñ":"Ntilde","ñ":"ntilde","Ν":"Nu","ν":"nu","#":"num","№":"numero"," ":"numsp","≍⃒":"nvap","⊬":"nvdash","⊭":"nvDash","⊮":"nVdash","⊯":"nVDash","≥⃒":"nvge",">⃒":"nvgt","⤄":"nvHarr","⧞":"nvinfin","⤂":"nvlArr","≤⃒":"nvle","<⃒":"nvlt","⊴⃒":"nvltrie","⤃":"nvrArr","⊵⃒":"nvrtrie","∼⃒":"nvsim","⤣":"nwarhk","↖":"nwarr","⇖":"nwArr","⤧":"nwnear","Ó":"Oacute","ó":"oacute","Ô":"Ocirc","ô":"ocirc","О":"Ocy","о":"ocy","Ő":"Odblac","ő":"odblac","⨸":"odiv","⦼":"odsold","Œ":"OElig","œ":"oelig","⦿":"ofcir","𝔒":"Ofr","𝔬":"ofr","˛":"ogon","Ò":"Ograve","ò":"ograve","⧁":"ogt","⦵":"ohbar","Ω":"ohm","⦾":"olcir","⦻":"olcross","‾":"oline","⧀":"olt","Ō":"Omacr","ō":"omacr","ω":"omega","Ο":"Omicron","ο":"omicron","⦶":"omid","𝕆":"Oopf","𝕠":"oopf","⦷":"opar","⦹":"operp","⩔":"Or","∨":"or","⩝":"ord","ℴ":"oscr","ª":"ordf","º":"ordm","⊶":"origof","⩖":"oror","⩗":"orslope","⩛":"orv","𝒪":"Oscr","Ø":"Oslash","ø":"oslash","⊘":"osol","Õ":"Otilde","õ":"otilde","⨶":"otimesas","⨷":"Otimes","Ö":"Ouml","ö":"ouml","⌽":"ovbar","⏞":"OverBrace","⎴":"tbrk","⏜":"OverParenthesis","¶":"para","⫳":"parsim","⫽":"parsl","∂":"part","П":"Pcy","п":"pcy","%":"percnt",".":"period","‰":"permil","‱":"pertenk","𝔓":"Pfr","𝔭":"pfr","Φ":"Phi","φ":"phi","ϕ":"phiv","☎":"phone","Π":"Pi","π":"pi","ϖ":"piv","ℎ":"planckh","⨣":"plusacir","⨢":"pluscir","+":"plus","⨥":"plusdu","⩲":"pluse","±":"pm","⨦":"plussim","⨧":"plustwo","⨕":"pointint","𝕡":"popf","ℙ":"Popf","£":"pound","⪷":"prap","⪻":"Pr","≺":"pr","≼":"prcue","⪯":"pre","≾":"prsim","⪹":"prnap","⪵":"prnE","⋨":"prnsim","⪳":"prE","′":"prime","″":"Prime","∏":"prod","⌮":"profalar","⌒":"profline","⌓":"profsurf","∝":"prop","⊰":"prurel","𝒫":"Pscr","𝓅":"pscr","Ψ":"Psi","ψ":"psi"," ":"puncsp","𝔔":"Qfr","𝔮":"qfr","𝕢":"qopf","ℚ":"Qopf","⁗":"qprime","𝒬":"Qscr","𝓆":"qscr","⨖":"quatint","?":"quest",'"':"quot","⇛":"rAarr","∽̱":"race","Ŕ":"Racute","ŕ":"racute","√":"Sqrt","⦳":"raemptyv","⟩":"rang","⟫":"Rang","⦒":"rangd","⦥":"range","»":"raquo","⥵":"rarrap","⇥":"rarrb","⤠":"rarrbfs","⤳":"rarrc","→":"rarr","↠":"Rarr","⤞":"rarrfs","⥅":"rarrpl","⥴":"rarrsim","⤖":"Rarrtl","↣":"rarrtl","↝":"rarrw","⤚":"ratail","⤜":"rAtail","∶":"ratio","❳":"rbbrk","}":"rcub","]":"rsqb","⦌":"rbrke","⦎":"rbrksld","⦐":"rbrkslu","Ř":"Rcaron","ř":"rcaron","Ŗ":"Rcedil","ŗ":"rcedil","⌉":"rceil","Р":"Rcy","р":"rcy","⤷":"rdca","⥩":"rdldhar","↳":"rdsh","ℜ":"Re","ℛ":"Rscr","ℝ":"Ropf","▭":"rect","⥽":"rfisht","⌋":"rfloor","𝔯":"rfr","⥤":"rHar","⇀":"rharu","⥬":"rharul","Ρ":"Rho","ρ":"rho","ϱ":"rhov","⇄":"rlarr","⟧":"robrk","⥝":"RightDownTeeVector","⥕":"RightDownVectorBar","⇉":"rrarr","⊢":"vdash","⥛":"RightTeeVector","⋌":"rthree","⧐":"RightTriangleBar","⊳":"vrtri","⊵":"rtrie","⥏":"RightUpDownVector","⥜":"RightUpTeeVector","⥔":"RightUpVectorBar","↾":"uharr","⥓":"RightVectorBar","˚":"ring","‏":"rlm","⎱":"rmoust","⫮":"rnmid","⟭":"roang","⇾":"roarr","⦆":"ropar","𝕣":"ropf","⨮":"roplus","⨵":"rotimes","⥰":"RoundImplies",")":"rpar","⦔":"rpargt","⨒":"rppolint","›":"rsaquo","𝓇":"rscr","↱":"rsh","⋊":"rtimes","▹":"rtri","⧎":"rtriltri","⧴":"RuleDelayed","⥨":"ruluhar","℞":"rx","Ś":"Sacute","ś":"sacute","⪸":"scap","Š":"Scaron","š":"scaron","⪼":"Sc","≻":"sc","≽":"sccue","⪰":"sce","⪴":"scE","Ş":"Scedil","ş":"scedil","Ŝ":"Scirc","ŝ":"scirc","⪺":"scnap","⪶":"scnE","⋩":"scnsim","⨓":"scpolint","≿":"scsim","С":"Scy","с":"scy","⋅":"sdot","⩦":"sdote","⇘":"seArr","§":"sect",";":"semi","⤩":"tosa","✶":"sext","𝔖":"Sfr","𝔰":"sfr","♯":"sharp","Щ":"SHCHcy","щ":"shchcy","Ш":"SHcy","ш":"shcy","↑":"uarr","­":"shy","Σ":"Sigma","σ":"sigma","ς":"sigmaf","∼":"sim","⩪":"simdot","≃":"sime","⪞":"simg","⪠":"simgE","⪝":"siml","⪟":"simlE","≆":"simne","⨤":"simplus","⥲":"simrarr","⨳":"smashp","⧤":"smeparsl","⌣":"smile","⪪":"smt","⪬":"smte","⪬︀":"smtes","Ь":"SOFTcy","ь":"softcy","⌿":"solbar","⧄":"solb","/":"sol","𝕊":"Sopf","𝕤":"sopf","♠":"spades","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊏":"sqsub","⊑":"sqsube","⊐":"sqsup","⊒":"sqsupe","□":"squ","𝒮":"Sscr","𝓈":"sscr","⋆":"Star","☆":"star","⊂":"sub","⋐":"Sub","⪽":"subdot","⫅":"subE","⊆":"sube","⫃":"subedot","⫁":"submult","⫋":"subnE","⊊":"subne","⪿":"subplus","⥹":"subrarr","⫇":"subsim","⫕":"subsub","⫓":"subsup","∑":"sum","♪":"sung","¹":"sup1","²":"sup2","³":"sup3","⊃":"sup","⋑":"Sup","⪾":"supdot","⫘":"supdsub","⫆":"supE","⊇":"supe","⫄":"supedot","⟉":"suphsol","⫗":"suphsub","⥻":"suplarr","⫂":"supmult","⫌":"supnE","⊋":"supne","⫀":"supplus","⫈":"supsim","⫔":"supsub","⫖":"supsup","⇙":"swArr","⤪":"swnwar","ß":"szlig"," ":"Tab","⌖":"target","Τ":"Tau","τ":"tau","Ť":"Tcaron","ť":"tcaron","Ţ":"Tcedil","ţ":"tcedil","Т":"Tcy","т":"tcy","⃛":"tdot","⌕":"telrec","𝔗":"Tfr","𝔱":"tfr","∴":"there4","Θ":"Theta","θ":"theta","ϑ":"thetav","  ":"ThickSpace"," ":"thinsp","Þ":"THORN","þ":"thorn","⨱":"timesbar","×":"times","⨰":"timesd","⌶":"topbot","⫱":"topcir","𝕋":"Topf","𝕥":"topf","⫚":"topfork","‴":"tprime","™":"trade","▵":"utri","≜":"trie","◬":"tridot","⨺":"triminus","⨹":"triplus","⧍":"trisb","⨻":"tritime","⏢":"trpezium","𝒯":"Tscr","𝓉":"tscr","Ц":"TScy","ц":"tscy","Ћ":"TSHcy","ћ":"tshcy","Ŧ":"Tstrok","ŧ":"tstrok","Ú":"Uacute","ú":"uacute","↟":"Uarr","⥉":"Uarrocir","Ў":"Ubrcy","ў":"ubrcy","Ŭ":"Ubreve","ŭ":"ubreve","Û":"Ucirc","û":"ucirc","У":"Ucy","у":"ucy","⇅":"udarr","Ű":"Udblac","ű":"udblac","⥮":"udhar","⥾":"ufisht","𝔘":"Ufr","𝔲":"ufr","Ù":"Ugrave","ù":"ugrave","⥣":"uHar","▀":"uhblk","⌜":"ulcorn","⌏":"ulcrop","◸":"ultri","Ū":"Umacr","ū":"umacr","⏟":"UnderBrace","⏝":"UnderParenthesis","⊎":"uplus","Ų":"Uogon","ų":"uogon","𝕌":"Uopf","𝕦":"uopf","⤒":"UpArrowBar","↕":"varr","υ":"upsi","ϒ":"Upsi","Υ":"Upsilon","⇈":"uuarr","⌝":"urcorn","⌎":"urcrop","Ů":"Uring","ů":"uring","◹":"urtri","𝒰":"Uscr","𝓊":"uscr","⋰":"utdot","Ũ":"Utilde","ũ":"utilde","Ü":"Uuml","ü":"uuml","⦧":"uwangle","⦜":"vangrt","⊊︀":"vsubne","⫋︀":"vsubnE","⊋︀":"vsupne","⫌︀":"vsupnE","⫨":"vBar","⫫":"Vbar","⫩":"vBarv","В":"Vcy","в":"vcy","⊩":"Vdash","⊫":"VDash","⫦":"Vdashl","⊻":"veebar","≚":"veeeq","⋮":"vellip","|":"vert","‖":"Vert","❘":"VerticalSeparator","≀":"wr","𝔙":"Vfr","𝔳":"vfr","𝕍":"Vopf","𝕧":"vopf","𝒱":"Vscr","𝓋":"vscr","⊪":"Vvdash","⦚":"vzigzag","Ŵ":"Wcirc","ŵ":"wcirc","⩟":"wedbar","≙":"wedgeq","℘":"wp","𝔚":"Wfr","𝔴":"wfr","𝕎":"Wopf","𝕨":"wopf","𝒲":"Wscr","𝓌":"wscr","𝔛":"Xfr","𝔵":"xfr","Ξ":"Xi","ξ":"xi","⋻":"xnis","𝕏":"Xopf","𝕩":"xopf","𝒳":"Xscr","𝓍":"xscr","Ý":"Yacute","ý":"yacute","Я":"YAcy","я":"yacy","Ŷ":"Ycirc","ŷ":"ycirc","Ы":"Ycy","ы":"ycy","¥":"yen","𝔜":"Yfr","𝔶":"yfr","Ї":"YIcy","ї":"yicy","𝕐":"Yopf","𝕪":"yopf","𝒴":"Yscr","𝓎":"yscr","Ю":"YUcy","ю":"yucy","ÿ":"yuml","Ÿ":"Yuml","Ź":"Zacute","ź":"zacute","Ž":"Zcaron","ž":"zcaron","З":"Zcy","з":"zcy","Ż":"Zdot","ż":"zdot","ℨ":"Zfr","Ζ":"Zeta","ζ":"zeta","𝔷":"zfr","Ж":"ZHcy","ж":"zhcy","⇝":"zigrarr","𝕫":"zopf","𝒵":"Zscr","𝓏":"zscr","‍":"zwj","‌":"zwnj"},u=/["&'<>`]/g,h={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,p=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|iacute|Uacute|plusmn|otilde|Otilde|Agrave|agrave|yacute|Yacute|oslash|Oslash|Atilde|atilde|brvbar|Ccedil|ccedil|ograve|curren|divide|Eacute|eacute|Ograve|oacute|Egrave|egrave|ugrave|frac12|frac14|frac34|Ugrave|Oacute|Iacute|ntilde|Ntilde|uacute|middot|Igrave|igrave|iquest|aacute|laquo|THORN|micro|iexcl|icirc|Icirc|Acirc|ucirc|ecirc|Ocirc|ocirc|Ecirc|Ucirc|aring|Aring|aelig|AElig|acute|pound|raquo|acirc|times|thorn|szlig|cedil|COPY|Auml|ordf|ordm|uuml|macr|Uuml|auml|Ouml|ouml|para|nbsp|Euml|quot|QUOT|euml|yuml|cent|sect|copy|sup1|sup2|sup3|Iuml|iuml|shy|eth|reg|not|yen|amp|AMP|REG|uml|ETH|deg|gt|GT|LT|lt)([=a-zA-Z0-9])?/g,g={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅","in":"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺","int":"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳", vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},m={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},v={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},b=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],_=String.fromCharCode,y={},w=y.hasOwnProperty,x=function(t,e){return w.call(t,e)},k=function(t,e){for(var i=-1,n=t.length;++i=55296&&57343>=t||t>1114111?(e&&T("character reference outside the permissible Unicode range"),"�"):x(v,t)?(e&&T("disallowed character reference"),v[t]):(e&&k(b,t)&&T("disallowed character reference"),t>65535&&(t-=65536,i+=_(t>>>10&1023|55296),t=56320|1023&t),i+=_(t))},D=function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"},T=function(t){throw Error("Parse error: "+t)},A=function(t,e){e=C(e,A.options);var i=e.strict;i&&p.test(t)&&T("forbidden code point");var n=e.encodeEverything,s=e.useNamedReferences,h=e.allowUnsafeSymbols;return n?(t=t.replace(r,function(t){return s&&x(c,t)?"&"+c[t]+";":D(t)}),s&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),s&&(t=t.replace(l,function(t){return"&"+c[t]+";"}))):s?(h||(t=t.replace(u,function(t){return"&"+c[t]+";"})),t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),t=t.replace(l,function(t){return"&"+c[t]+";"})):h||(t=t.replace(u,D)),t.replace(a,function(t){var e=t.charCodeAt(0),i=t.charCodeAt(1),n=1024*(e-55296)+i-56320+65536;return"&#x"+n.toString(16).toUpperCase()+";"}).replace(o,D)};A.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1};var E=function(t,e){e=C(e,E.options);var i=e.strict;return i&&d.test(t)&&T("malformed character reference"),t.replace(f,function(t,n,s,a,r,o,l,c){var u,h,d,p,f;return n?(u=n,h=s,i&&!h&&T("character reference was not terminated by a semicolon"),S(u,i)):a?(d=a,h=r,i&&!h&&T("character reference was not terminated by a semicolon"),u=parseInt(d,16),S(u,i)):o?(p=o,x(g,p)?g[p]:(i&&T("named character reference was not terminated by a semicolon"),t)):(p=l,f=c,f&&e.isAttributeValue?(i&&"="==f&&T("`&` did not start a character reference"),t):(i&&T("named character reference was not terminated by a semicolon"),m[p]+(f||"")))})};E.options={isAttributeValue:!1,strict:!1};var M=function(t){return t.replace(u,function(t){return h[t]})},P={version:"0.5.0",encode:A,decode:E,escape:M,unescape:E};if("function"==typeof i&&"object"==typeof i.amd&&i.amd)i("he",[],function(){return P});else if(e&&!e.nodeType)if(n)n.exports=P;else for(var I in P)x(P,I)&&(e[I]=P[I]);else t.he=P}(this),i("helpers/sanitizer",["DOMPurify","he"],function(t,e){"use strict";var i={};return i.whitelist=[{pre:"<em class="search-highlight">",post:''},{pre:"</em>",post:""}],i.addLineBreaks=function(t){return t.replace(/(\r)?\n/g,"
        ").replace(/( )? /g,"
        ")},i.purifyHtml=function(e){return t.sanitize(e,{SAFE_FOR_JQUERY:!0,SAFE_FOR_TEMPLATES:!0})},i.purifyText=function(t){var i=e.encode(t,{encodeEverything:!0});return this.whitelist.forEach(function(t){for(;i.indexOf(t.pre)>-1;)i=i.replace(t.pre,t.post)}),i},i.sanitize=function(t){var e;return t.htmlBody?e=this.purifyHtml(t.htmlBody):(e=this.purifyText(t.textPlainBody),e=this.addLineBreaks(e)),e},t.addHook("afterSanitizeAttributes",function(t){"target"in t&&t.setAttribute("target","_blank"),t.hasAttribute("target")||!t.hasAttribute("xlink:href")&&!t.hasAttribute("href")||t.setAttribute("xlink:show","new")}),i}),i("helpers/view_helper",["helpers/contenttype","views/i18n","quoted-printable/quoted-printable","utf8/utf8","helpers/sanitizer"],function(t,e,i,n,s){"use strict";function a(t){return _.map(t,function(t){return"status-"+t}).join(" ")}function r(t){return s.sanitize(t)}function o(t){if("number"==typeof t.selectionStart)t.selectionStart=t.selectionEnd=t.value.length;else if("undefined"!=typeof t.createTextRange){t.focus();var e=t.createTextRange();e.collapse(!1),e.select()}}function l(t,e){for(var i=t.toString();i.length wrote:\n",{date:new Date(t.header.date).toString(),from:t.header.from})}function d(t){return"\n\n"+h(t)+t.textPlainBody.replace(/^/gm,"> ")}function p(t){var e=new Date(t),i=c();return e.getTime()>i.getTime()?l(e.getHours(),2)+":"+l(e.getMinutes(),2):""+e.getFullYear()+"-"+l(e.getMonth()+1,2)+"-"+l(e.getDate(),2)}function f(t){var e=Math.floor(Math.log(t)/Math.log(1024));return(t/Math.pow(1024,e)).toFixed(2)+" "+" KMGTP".charAt(e)+"b"}function g(t){return t=t||"",t.replace(/(.{4})/g,"$1 ").trim()}return Handlebars.registerHelper("formatDate",p),Handlebars.registerHelper("formatSize",f),Handlebars.registerHelper("formatStatusClasses",a),Handlebars.registerHelper("formatFingerPrint",g),{formatStatusClasses:a,formatSize:f,formatMailBody:r,formatFingerPrint:g,moveCaretToEndOfText:u,quoteMail:d,i18n:e}}),i("helpers/iterator",[],function(){"use strict";function t(t,e){this.index=e||0,this.elems=t,this.hasPrevious=function(){return 0!==this.index},this.hasNext=function(){return this.index0},this.removeCurrent=function(){var t=this.current(),e=this.index;return this.hasNext()||this.index--,this.elems.remove(e),t}}return t}),i("helpers/browser",[],function(){"use strict";function t(t){window.location.replace(t)}function e(t){var e="; "+document.cookie,i=e.split("; "+t+"=");return 2===i.length?i.pop().split(";").shift():void 0}return{redirect:t,getCookie:e}}),i("helpers/monitored_ajax",["page/events","views/i18n","helpers/browser"],function(t,e,i){"use strict";function n(n,a,r){r=r||{},r.timeout=6e4;var o=r.beforeSend;r.beforeSend=function(){o&&o()},r.headers={"X-XSRF-TOKEN":i.getCookie("XSRF-TOKEN")};var l=r.complete;return r.complete=function(){l&&l()},$.ajax(a,r).fail(function(a,o,l){if(!r.skipErrorMessage){var c=a.responseJSON&&a.responseJSON.message||s[o]||"unexpected problem while talking to server";n.trigger(document,t.ui.userAlerts.displayMessage,{message:e(c),"class":"error"})}if(302===a.status){var u=a.getResponseHeader("Location");i.redirect(u)}else 401===a.status&&i.redirect("/")}.bind(this))}var s={timeout:"a timeout occurred",error:"problems talking to server",parseerror:"got invalid response from server"};return n}),i("features",["helpers/monitored_ajax"],function(t){"use strict";function e(){return s=s||n().disabled_features}function i(){return a=a||n().dispatcher_features}function n(){var e;return t(this,"/features",{async:!1,success:function(t){e=t},error:function(){console.error("Could not load feature toggles")}}),e}var s,a;return{isEnabled:function(t){return!_.contains(e(),t)},isAutoRefreshEnabled:function(){return this.isEnabled("autoRefresh")},isLogoutEnabled:function(){return _.has(i(),"logout")},getLogoutUrl:function(){return i().logout}}}),i("mail_view/ui/recipients/recipients_input",["flight/lib/component","page/events","features"],function(t,e,i){"use strict";function n(){function t(){var t=new Bloodhound({datumTokenizer:function(t){return[t.value]},queryTokenizer:function(t){return[t.trim()]},remote:{url:"/contacts?q=%QUERY",filter:p}});return t.initialize(),t}function i(t){t.typeahead("val","")}function n(t){return 0===t.selectionStart}function s(t){return o.hasOwnProperty(t)}function a(t){return l.hasOwnProperty(t)}var r,o={8:"backspace",37:"left"},l={9:"tab",186:"semicolon",188:"comma",13:"enter",27:"esc"},c={8:e.ui.recipients.deleteLast,37:e.ui.recipients.selectLast},u=/[^<\w,;]?([^\s<;,]+@[\w-]+\.[^\s>;,]+)/,h=/([^,;\s][^,;@]+<[^\s;,]+@[\w-]+\.[^\s;,]+>)/,d=new RegExp([u.source,"|",h.source].join(""),"g"),p=function(t){return _.map(t,function(t){return{value:t}})};this.processSpecialKey=function(t){var e=t.which;return s(e)&&n(this.$node[0])?void this.trigger(c[e]):void(!t.shiftKey&&a(e)&&(this.tokenizeRecipient(t),9!==e&&t.preventDefault()))},this.tokenizeRecipient=function(t){_.isEmpty(this.$node.val().trim())||(this.recipientSelected(null,{value:this.$node.val()}),t.preventDefault())},this.recipientSelected=function(t,n){var s=n&&n.value||this.$node.val(),a=this.extractValidAddresses(s),r=this.extractInvalidAddresses(s);this.triggerEventForEach(a,e.ui.recipients.entered),this.triggerEventForEach(r,e.ui.recipients.enteredInvalid),i(this.$node)},this.triggerEventForEach=function(t,e){var i=this;_.each(t,function(t){_.isEmpty(t.trim())||i.trigger(i.$node,e,{name:i.attr.name,address:t.trim()})})},this.extractValidAddresses=function(t){return t.match(d)},this.extractInvalidAddresses=function(t){return t.replace(d,"").split(/[,;]/)},this.init=function(){this.$node.typeahead({hint:!0,highlight:!0,minLength:1},{source:t().ttAdapter(),templates:{suggestion:function(t){return _.escape(t.value)}}})},this.attachAndReturn=function(t,e){var i=new this.constructor;return i.initialize(t,{name:e}),i},this.warnSendButtonOfInputState=function(){var t=_.isEmpty(this.$node.val())?e.ui.recipients.inputFieldIsEmpty:e.ui.recipients.inputFieldHasCharacters;this.trigger(document,t,{name:this.attr.name})},this.after("initialize",function(){r=this,this.init(),this.on("typeahead:selected typeahead:autocompleted",this.recipientSelected),this.on(this.$node,"blur",this.tokenizeRecipient),this.on(this.$node,"keydown",this.processSpecialKey),this.on(this.$node,"keyup",this.warnSendButtonOfInputState),this.on(document,e.dispatchers.rightPane.clear,this.teardown)})}return t(n)}),i("mail_view/ui/recipients/recipient",["flight/lib/component","views/templates","page/events"],function(t,e,i){"use strict";function n(){this.renderAndPrepend=function(t,i){var n=$(e.compose.fixedRecipient(i));n.insertBefore(t.children().last());var s=new this.constructor;return s.initialize(n,i),s.attr.recipient=i,s},this.recipientDelActions=function(){this.on(this.$node.find(".recipient-del"),"click",function(t){this.doSelect(),this.trigger(i.ui.recipients.deleteRecipient,this),t.preventDefault()}),this.on(this.$node.find(".recipient-del"),"mouseover",function(){this.$node.find(".recipient-value").addClass("deleting"),this.$node.find(".recipient-del").addClass("deleteTooltip")}),this.on(this.$node.find(".recipient-del"),"mouseout",function(){this.$node.find(".recipient-value").removeClass("deleting"),this.$node.find(".recipient-del").removeClass("deleteTooltip")})},this.destroy=function(){this.$node.remove(),this.teardown()},this.doSelect=function(){this.$node.find(".recipient-value").addClass("selected")},this.doUnselect=function(){this.$node.find(".recipient-value").removeClass("selected")},this.isSelected=function(){return this.$node.find(".recipient-value").hasClass("selected")},this.sinalizeInvalid=function(){this.$node.find(".recipient-value>span").addClass("invalid-format")},this.discoverEncryption=function(){this.$node.addClass("discover-encryption");var t=$.getJSON("/keys?search="+this.attr.address).promise();t.done(function(){this.$node.find(".recipient-value").addClass("encrypted"),this.$node.removeClass("discover-encryption")}.bind(this)),t.fail(function(){this.$node.find(".recipient-value").addClass("not-encrypted"),this.$node.removeClass("discover-encryption")}.bind(this))},this.getMailAddress=function(){return this.$node.find("input[type=hidden]").val()},this.triggerEditRecipient=function(t,e){this.trigger(this.$node.closest(".recipients-area"),i.ui.recipients.clickToEdit,this)},this.after("initialize",function(){this.recipientDelActions(),this.on("click",this.triggerEditRecipient),this.attr.invalidAddress?this.sinalizeInvalid():this.discoverEncryption()})}return t(n)}),i("mail_view/ui/recipients/recipients_iterator",["helpers/iterator"],function(t){"use strict";function e(e){this.iterator=new t(e.elements,e.elements.length-1),this.input=e.exitInput,this.current=function(){return this.iterator.current()},this.moveLeft=function(){this.iterator.hasPrevious()&&(this.iterator.current().doUnselect(),this.iterator.previous().doSelect())},this.moveRight=function(){this.iterator.current().doUnselect(),this.iterator.hasNext()?this.iterator.next().doSelect():this.input.focus()},this.deleteCurrent=function(){this.iterator.removeCurrent().destroy(),this.iterator.hasElements()?this.iterator.current().doSelect():this.input.focus()}}return e}),i("mail_view/ui/recipients/recipients",["flight/lib/component","views/templates","page/events","helpers/iterator","mail_view/ui/recipients/recipients_input","mail_view/ui/recipients/recipient","mail_view/ui/recipients/recipients_iterator"],function(t,e,i,n,s,a,r){"use strict";function o(){function t(t){return _.flatten(_.map(t,function(t){return t.attr.address}))}function e(){this.attr.iterator.moveLeft()}function n(){this.attr.iterator.moveRight()}function o(){this.attr.iterator.deleteCurrent(),this.addressesUpdated()}function l(t,e){var i=this.attr.iterator.current().getMailAddress();this.attr.iterator.deleteCurrent(),this.attr.input.$node.val(i).focus(),this.unselectAllRecipients(),this.addressesUpdated()}this.defaultAttrs({navigationHandler:".recipients-navigation-handler",recipientsList:".recipients-list"}),this.clickToEditRecipient=function(t,e){this.attr.iterator=null;var i=e.getMailAddress(),n=this.getRecipientPosition(e);this.attr.recipients.splice(n,1),e.destroy(),this.addressesUpdated(),this.unselectAllRecipients(),this.attr.input.$node.val(i).focus()},this.getRecipientPosition=function(t){return t.$node.closest(".recipients-area").find(".fixed-recipient").index(t.$node)},this.unselectAllRecipients=function(){this.$node.find(".recipient-value.selected").removeClass("selected")};var c={8:o,46:o,32:l,13:l,37:e,39:n};this.addRecipient=function(t){var e=a.prototype.renderAndPrepend(this.$node.find(this.attr.recipientsList),t);this.attr.recipients.push(e)},this.recipientEntered=function(t,e){this.addRecipient(e),this.addressesUpdated()},this.invalidRecipientEntered=function(t,e){e.invalidAddress=!0,this.addRecipient(e)},this.deleteRecipient=function(t,e){this.attr.iterator=null;var i=this.getRecipientPosition(e);this.attr.recipients.splice(i,1),e.destroy(),this.addressesUpdated()},this.deleteLastRecipient=function(){this.attr.recipients.pop().destroy(),this.addressesUpdated()},this.enterNavigationMode=function(){this.attr.iterator=new r({elements:this.attr.recipients,exitInput:this.attr.input.$node}),this.attr.iterator.current().doSelect(),this.attr.input.$node.blur(),this.select("navigationHandler").focus()},this.leaveNavigationMode=function(){this.attr.iterator&&this.attr.iterator.current().unselect(),this.attr.iterator=null},this.selectLastRecipient=function(){0!==this.attr.recipients.length&&this.enterNavigationMode()},this.attachInput=function(){this.attr.input=s.prototype.attachAndReturn(this.$node.find("input[type=text]"),this.attr.name)},this.processSpecialKey=function(t){c.hasOwnProperty(t.which)&&c[t.which].apply(this)},this.initializeAddresses=function(){_.each(_.flatten(this.attr.addresses),function(t){this.addRecipient({address:t,name:this.attr.name})}.bind(this))},this.addressesUpdated=function(){this.trigger(document,i.ui.recipients.updated,{recipientsName:this.attr.name,newRecipients:t(this.attr.recipients)})},this.doCompleteRecipients=function(){var e=this.attr.input.$node.val();if(!_.isEmpty(e)){var n=a.prototype.renderAndPrepend(this.$node,{name:this.attr.name,address:e});this.attr.recipients.push(n),this.attr.input.$node.val("")}this.trigger(document,i.ui.recipients.updated,{recipientsName:this.attr.name,newRecipients:t(this.attr.recipients),skipSaveDraft:!0})},this.after("initialize",function(){this.attr.recipients=[],this.attachInput(),this.initializeAddresses(),this.on(i.ui.recipients.deleteRecipient,this.deleteRecipient),this.on(i.ui.recipients.deleteLast,this.deleteLastRecipient),this.on(i.ui.recipients.selectLast,this.selectLastRecipient),this.on(i.ui.recipients.entered,this.recipientEntered),this.on(i.ui.recipients.enteredInvalid,this.invalidRecipientEntered),this.on(i.ui.recipients.clickToEdit,this.clickToEditRecipient),this.on(document,i.ui.recipients.doCompleteInput,this.doCompleteRecipients),this.on(this.attr.input.$node,"focus",this.leaveNavigationMode),this.on(this.select("navigationHandler"),"keydown",this.processSpecialKey),this.on(document,i.dispatchers.rightPane.clear,this.teardown)})}return t(o)}),i("mail_view/ui/draft_save_status",["flight/lib/component","page/events"],function(t,e){"use strict";function i(){this.setMessage=function(t){var e=this.$node;return function(){e.text(t)}},this.after("initialize",function(){this.on(document,e.mail.saveDraft,this.setMessage("Saving to Drafts...")),this.on(document,e.mail.draftSaved,this.setMessage("Draft Saved.")),this.on(document,e.ui.mail.changedSinceLastSave,this.setMessage(""))})}return t(i)}),i("mail_view/ui/send_button",["flight/lib/component","flight/lib/utils","page/events","helpers/view_helper"],function(t,e,i,n){"use strict";function s(){var t=3;this.enableButton=function(){this.$node.prop("disabled",!1)},this.disableButton=function(){this.$node.prop("disabled",!0)},this.atLeastOneInputFieldHasRecipients=function(){return _.any(_.values(this.attr.recipients),function(t){return!_.isEmpty(t)})},this.atLeastOneInputFieldHasCharacters=function(){return _.any(_.values(this.attr.inputFieldHasCharacters),function(t){return t===!0})},this.updateButton=function(){this.attr.sendingInProgress===!1&&(this.attr.uploading===!1&&(this.atLeastOneInputFieldHasCharacters()||this.atLeastOneInputFieldHasRecipients())?this.enableButton():this.disableButton())},this.inputFieldIsEmpty=function(t,e){this.attr.inputFieldHasCharacters[e.name]=!1,this.updateButton()},this.inputFieldHasCharacters=function(t,e){this.attr.inputFieldHasCharacters[e.name]=!0,this.updateButton()},this.uploadInProgress=function(t,e){this.attr.uploading=!0,this.updateButton()},this.uploadFinished=function(t,e){this.attr.uploading=!1,this.updateButton()},this.updateRecipientsForField=function(t,e){this.attr.recipients[e.recipientsName]=e.newRecipients,this.attr.inputFieldHasCharacters[e.recipientsName]=!1,this.updateButton()},this.updateRecipientsAndSendMail=function(){this.on(document,i.ui.mail.recipientsUpdated,e.countThen(t,function(){this.trigger(document,i.ui.mail.send),this.off(document,i.ui.mail.recipientsUpdated)}.bind(this))),this.disableButton(),this.$node.text(n.i18n("sending-mail")),this.attr.sendingInProgress=!0,this.trigger(document,i.ui.recipients.doCompleteInput)},this.resetButton=function(){this.attr.sendingInProgress=!1,this.attr.uploading=!1,this.$node.html(n.i18n("send-button")),this.enableButton()},this.after("initialize",function(){this.attr.recipients={},this.attr.inputFieldHasCharacters={},this.resetButton(),this.on(document,i.ui.recipients.inputFieldHasCharacters,this.inputFieldHasCharacters),this.on(document,i.ui.recipients.inputFieldIsEmpty,this.inputFieldIsEmpty),this.on(document,i.ui.recipients.updated,this.updateRecipientsForField),this.on(this.$node,"click",this.updateRecipientsAndSendMail),this.on(document,i.mail.uploadingAttachment,this.uploadInProgress),this.on(document,i.mail.uploadedAttachment,this.uploadFinished),this.on(document,i.mail.failedUploadAttachment,this.uploadFinished),this.on(document,i.dispatchers.rightPane.clear,this.teardown),this.on(document,i.ui.sendbutton.enable,this.resetButton),this.on(document,i.mail.send_failed,this.resetButton),this.disableButton()})}return t(s)}),i("mail_view/ui/attachment_icon",["flight/lib/component","page/events","features"],function(t,e,i){"use strict";return t(function(){this.render=function(){this.$node.html('')},this.triggerUploadAttachment=function(){this.trigger(document,e.mail.startUploadAttachment)},this.uploadInProgress=function(t,e){this.attr.busy=!0,this.$node.addClass("busy")},this.uploadFinished=function(t,e){this.attr.busy=!1,this.$node.removeClass("busy")},this.after("initialize",function(){i.isEnabled("attachment")&&(this.render(),this.on(document,e.mail.uploadingAttachment,this.uploadInProgress),this.on(document,e.mail.uploadedAttachment,this.uploadFinished),this.on(document,e.mail.failedUploadAttachment,this.uploadFinished)),this.on(this.$node,"click",function(){this.attr.busy||this.triggerUploadAttachment()})})})}),i("mail_view/ui/attachment_list",["views/templates","page/events","helpers/view_helper","helpers/monitored_ajax"],function(t,e,i,n){"use strict";function s(){this.defaultAttrs({inputFileUpload:"#fileupload",attachmentListItem:"#attachment-list-item",attachmentUploadItem:"#attachment-upload-item",attachmentUploadItemProgress:"#attachment-upload-item-progress",attachmentUploadItemAbort:"#attachment-upload-item-abort",attachmentBaseUrl:"/attachment",attachments:[],closeIcon:".close-icon",uploadError:"#upload-error",dismissButton:"#dismiss-button",uploadFileButton:"#upload-file-button"});var i=1048576,n=i;this.showAttachment=function(t,i){this.trigger(document,e.mail.appendAttachment,i),this.renderAttachmentListView(i)},this.addAttachment=function(t,e){this.attr.attachments.push(e)},this.renderAttachmentListView=function(t){var e=(this.select("attachmentListItem").html(),this.buildAttachmentListItem(t));this.select("attachmentListItem").append(e)},this.buildAttachmentListItem=function(i){var n={ident:i.ident,encoding:i.encoding,name:i.name,size:i.size,removable:!0},s=$(t.compose.attachmentItem(n)),a=this;return s.find("i.remove-icon").bind("click",function(t){var i=$(this),n=i.closest("li").attr("data-ident");a.trigger(document,e.mail.removeAttachment,{ident:n,element:i}),t.preventDefault()}),s},this.performPreUploadCheck=function(t,e){return!(e.originalFiles[0].size>n)},this.removeUploadError=function(){var t=this.select("uploadError");t&&t.remove()},this.showUploadError=function(){function i(t){t.preventDefault(),s.select("uploadError").remove()}function n(t){t.preventDefault(),s.trigger(document,e.mail.startUploadAttachment)}var s=this,a=$(t.compose.uploadAttachmentFailed());a.insertAfter(s.select("attachmentListItem")),s.on(s.select("closeIcon"),"click",i),s.on(s.select("dismissButton"),"click",i),s.on(s.select("uploadFileButton"),"click",n)},this.showUploadProgressBar=function(e,i){var n=$(t.compose.attachmentUploadItem({name:i.originalFiles[0].name,size:i.originalFiles[0].size}));this.select("attachmentUploadItem").append(n),this.select("attachmentUploadItem").show()},this.hideUploadProgressBar=function(){this.select("attachmentUploadItem").hide(),this.select("attachmentUploadItem").empty()},this.attachUploadAbort=function(t,e){this.on(this.select("attachmentUploadItemAbort"),"click",function(t){e.abort(),t.preventDefault()})},this.detachUploadAbort=function(){this.off(this.select("attachmentUploadItemAbort"),"click")},this.addJqueryFileUploadConfig=function(){var t=this;t.removeUploadError(),this.select("inputFileUpload").fileupload({add:function(e,i){t.performPreUploadCheck(e,i)?(t.showUploadProgressBar(e,i),t.attachUploadAbort(e,i),i.submit()):t.showUploadError()},url:t.attr.attachmentBaseUrl,dataType:"json",done:function(i,n){t.detachUploadAbort(),t.hideUploadProgressBar(),t.trigger(document,e.mail.uploadedAttachment,n.result)},fail:function(i,n){t.detachUploadAbort(),t.hideUploadProgressBar(),t.trigger(document,e.mail.failedUploadAttachment)},progressall:function(e,i){var n=parseInt(i.loaded/i.total*100,10);t.select("attachmentUploadItemProgress").css("width",n+"%")}}).bind("fileuploadstart",function(i){t.trigger(document,e.mail.uploadingAttachment)}).bind("fileuploadadd",function(t){$(".attachmentsAreaWrap").show()})},this.startUpload=function(){this.addJqueryFileUploadConfig(),this.select("inputFileUpload").click()},this.removeAttachmentFromList=function(t){for(var e=0;e",{id:"mail-"+i.ident});e.append(l),i.currentTag=r;var c=n[i.mailbox]||t;c.attachTo(l,{mail:i,selected:i.ident===a,tag:r,isChecked:o,templateType:s[i.mailbox]||"single"})};return{createAndAttach:a}}),i("mail_list/ui/mail_list",["flight/lib/component","flight/lib/utils","mail_list/ui/mail_item_factory","page/router/url_params","page/events"],function(t,e,i,n,s){"use strict";function a(){var t=function(t){return"drafts"===t?s.dispatchers.rightPane.openDraft:s.ui.mail.open};this.defaultAttrs({mail:".mail",currentMailIdent:"",urlParams:n,initialized:!1,checkedMails:{}}),this.appendMail=function(t){var e=t.ident in this.attr.checkedMails;i.createAndAttach(this.$node,t,this.attr.currentMailIdent,this.attr.currentTag,e)},this.resetMailList=function(){this.trigger(document,s.mails.teardown),this.$node.empty()},this.triggerMailOpenForPopState=function(e){e.mailIdent&&this.trigger(document,t(e.tag),{ident:e.mailIdent})},this.shouldSelectEmailFromUrlMailIdent=function(){return this.attr.urlParams.hasMailIdent()},this.selectMailBasedOnUrlMailIdent=function(){var e=this.attr.urlParams.getMailIdent();this.trigger(document,t(this.attr.currentTag),{ident:e}),this.trigger(document,s.router.pushState,{tag:this.attr.currentTag,mailIdent:e})},this.updateCurrentTagAndMail=function(t){t.ident&&(this.attr.currentMailIdent=t.ident),this.attr.currentTag=t.tag||this.attr.currentTag,this.updateCheckAllCheckbox()},this.renderMails=function(t){_.each(t,this.appendMail,this),this.trigger(document,s.search.highlightResults,{where:"#mail-list"}),this.trigger(document,s.search.highlightResults,{where:".mail-read-view__header"})},this.triggerScrollReset=function(){this.trigger(document,s.dispatchers.middlePane.resetScroll)},this.showMails=function(t,e){this.updateCurrentTagAndMail(e),this.refreshMailList(null,e),this.triggerMailOpenForPopState(e),this.openMailFromUrl()},this.refreshMailList=function(t,e){t&&this.trigger(document,s.dispatchers.tags.refreshTagList,{skipMailListRefresh:!0}),this.resetMailList(),this.renderMails(e.mails)},this.updateSelected=function(t,e){e.ident!==this.attr.currentMailIdent&&(this.attr.currentMailIdent=e.ident)},this.cleanSelected=function(){this.attr.currentMailIdent="",this.triggerScrollReset()},this.respondWithCheckedMails=function(t,e){this.trigger(e,s.ui.mail.hereChecked,{checkedMails:this.attr.checkedMails})},this.updateCheckAllCheckbox=function(){this.trigger(document,s.ui.mails.hasMailsChecked,_.keys(this.attr.checkedMails).length>0)},this.addToCheckedMails=function(t,e){this.attr.checkedMails[e.mail.ident]=e.mail,this.updateCheckAllCheckbox()},this.removeFromCheckedMails=function(t,e){e.mails?_.each(e.mails,function(t){delete this.attr.checkedMails[t.ident]},this):delete this.attr.checkedMails[e.mail.ident],this.updateCheckAllCheckbox()},this.refreshWithScroll=function(){this.trigger(document,s.ui.mails.refresh),this.triggerScrollReset()},this.refreshAfterSaveDraft=function(){"drafts"===this.attr.currentTag&&this.refreshWithScroll()},this.refreshAfterMailSent=function(){"drafts"!==this.attr.currentTag&&"sent"!==this.attr.currentTag||this.refreshWithScroll()},this.after("initialize",function(){this.on(document,s.ui.mails.cleanSelected,this.cleanSelected),this.on(document,s.ui.tag.select,this.cleanSelected),this.on(document,s.mails.available,this.showMails),this.on(document,s.mails.availableForRefresh,this.refreshMailList),this.on(document,s.mail.draftSaved,this.refreshAfterSaveDraft),this.on(document,s.mail.sent,this.refreshAfterMailSent),this.on(document,s.ui.mail.updateSelected,this.updateSelected),this.on(document,s.ui.mail.wantChecked,this.respondWithCheckedMails),this.on(document,s.ui.mail.checked,this.addToCheckedMails),this.on(document,s.ui.mail.unchecked,this.removeFromCheckedMails),this.openMailFromUrl=e.once(function(){this.shouldSelectEmailFromUrlMailIdent()&&this.selectMailBasedOnUrlMailIdent()})})}return t(a)}),i("mail_view/ui/no_message_selected_pane",["flight/lib/component","views/templates","mixins/with_hide_and_show","page/events"],function(t,e,i,n){"use strict";function s(){this.render=function(){this.$node.html(e.noMessageSelected())},this.after("initialize",function(){this.render(),this.on(document,n.dispatchers.rightPane.clear,this.teardown)})}return t(s,i)}),i("mail_view/ui/no_mails_available_pane",["flight/lib/component","views/templates","mixins/with_hide_and_show","page/events"],function(t,e,i,n){"use strict";function s(){this.defaultAttrs({tag:null,forSearch:""});var t=/-?in:"?[\w]+"?|tag:"[\w]+"/g;this.render=function(){this.attr.tag=this.attr.tag.toUpperCase(),this.attr.forSearch=this.attr.forSearch.replace(t,"").trim().toUpperCase(),this.$node.html(e.noMailsAvailable(this.attr))},this.after("initialize",function(){this.render()})}return t(s)}),i("mail_view/ui/mail_actions",["flight/lib/component","views/templates","page/events"],function(t,e,i){"use strict";function n(){this.defaultAttrs({replyButtonTop:"#reply-button-top",viewMoreActions:"#view-more-actions",replyAllButtonTop:"#reply-all-button-top",deleteButtonTop:"#delete-button-top",moreActions:"#more-actions"}),this.displayMailActions=function(){this.$node.html(e.mails.mailActions()),this.select("moreActions").hide(),this.on(this.select("replyButtonTop"),"click",function(){this.trigger(document,i.ui.replyBox.showReply)}.bind(this)),this.on(this.select("replyAllButtonTop"),"click",function(){this.trigger(document,i.ui.replyBox.showReplyAll),this.select("moreActions").hide()}.bind(this)),this.on(this.select("deleteButtonTop"),"click",function(){this.trigger(document,i.ui.mail["delete"],{mail:this.attr.mail}),this.select("moreActions").hide()}.bind(this)),this.on(this.select("viewMoreActions"),"click",function(){this.select("moreActions").toggle()}.bind(this)),this.on(this.select("viewMoreActions"),"blur",function(t){var e=this.select("replyAllButtonTop").is(":hover"),i=this.select("deleteButtonTop").is(":hover");e||i?t.preventDefault():this.select("moreActions").hide()}.bind(this))},this.after("initialize",function(){this.on(document,i.dispatchers.rightPane.clear,this.teardown),this.displayMailActions()})}return t(n)}),i("mixins/with_mail_tagging",["page/events","features"],function(t,e){"use strict";function i(){this.updateTags=function(e,i){this.trigger(document,t.mail.tags.update,{ident:e.ident,tags:i})},this.attachTagCompletion=function(t){this.tagFilter=function(e){var i=_.filter(e,function(e){return!_.contains(t.tags,e.name)});return _.map(i,function(t){return{value:Handlebars.Utils.escapeExpression(t.name)}})},this.tagCompleter=new Bloodhound({datumTokenizer:function(t){return[t.value]},queryTokenizer:function(t){return[t.trim()]},remote:{url:"/tags?skipDefaultTags=true&q=%QUERY",filter:this.tagFilter}}),this.tagCompleter.initialize(),this.select("newTagInput").typeahead({hint:!0,highlight:!0,minLength:1},{source:this.tagCompleter.ttAdapter()})},this.createNewTag=function(){var t=this.attr.mail.tags.slice();t.push(this.select("newTagInput").val()),this.tagCompleter.clear(),this.tagCompleter.clearPrefetchCache(),this.tagCompleter.clearRemoteCache(),this.updateTags(this.attr.mail,_.uniq(t))},this.after("displayMail",function(){this.on(this.select("newTagInput"),"typeahead:selected typeahead:autocompleted",this.createNewTag)})}return i}),i("mixins/with_mail_sandbox",["helpers/view_helper","page/events"],function(t,e){"use strict";function i(){this.showMailOnSandbox=function(i){var n=this,s=$("#read-sandbox"),a=s[0],r=t.formatMailBody(i);window.addEventListener("message",function(t){"null"===t.origin&&t.source===a.contentWindow&&(n.trigger(document,e.ui.replyBox.showReplyContainer),n.trigger(document,e.search.highlightResults,{where:".mail-read-view__header"}))}),a.onload=function(){function t(){var t=s.parent().width(),e=s.width(),n="none";i&&i.htmlBody&&e>t&&(n=t/e,n="scale("+n+","+n+")"),s.css({"-webkit-transform-origin":"0 0","-moz-transform-origin":"0 0","-ms-transform-origin":"0 0","transform-origin":"0 0","-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n})}if(s.iFrameResize){var e={resizedCallback:t,checkOrigin:!1};s.iFrameResize(e)}a.contentWindow.postMessage({html:r},"*")}}}return i}),i("mail_view/ui/mail_view",["flight/lib/component","views/templates","mail_view/ui/mail_actions","helpers/view_helper","mixins/with_hide_and_show","mixins/with_mail_tagging","mixins/with_mail_sandbox","page/events","views/i18n"],function(t,e,i,n,s,a,r,o,l){"use strict";function c(){this.defaultAttrs({tags:".mail-read-view__header-tags-tag",newTagInput:"#new-tag-input",newTagButton:"#new-tag-button",addNew:".mail-read-view__header-tags-new-button",trashButton:"#trash-button",archiveButton:"#archive-button",closeMailButton:".close-mail-button"}),this.displayMail=function(t,s){this.attr.mail=s.mail;var a,r,o;s.mail.security_casing=s.mail.security_casing||{},a=this.checkSigned(s.mail),r=this.checkEncrypted(s.mail),o=s.mail.attachments.map(function(t){return t.received=!0,t}),"sent"===s.mail.mailbox&&(r=void 0),this.$node.html(e.mails.fullView({header:s.mail.header,body:[],statuses:n.formatStatusClasses(s.mail.status),ident:s.mail.ident,tags:s.mail.tags,encryptionStatus:r,signatureStatus:a,attachments:o})),this.showMailOnSandbox(this.attr.mail),this.attachTagCompletion(this.attr.mail),this.select("tags").on("click",function(t){this.removeTag($(t.target).text())}.bind(this)),this.addTagLoseFocus(),this.on(this.select("newTagButton"),"click",this.showNewTagInput),this.on(this.select("newTagInput"),"keydown",this.handleKeyDown),this.on(this.select("newTagInput"),"blur",this.addTagLoseFocus),this.on(this.select("trashButton"),"click",this.moveToTrash),this.on(this.select("closeMailButton"),"click",this.openNoMessageSelectedPane),i.attachTo("#mail-actions",s),this.resetScroll()},this.resetScroll=function(){$("#right-pane").scrollTop(0)},this.checkEncrypted=function(t){if(_.isEmpty(t.security_casing.locks))return{cssClass:"security-status__label--not-encrypted",label:"not-encrypted"};var e=["security-status__label--encrypted"],i=["encrypted"],n=_.any(t.security_casing.locks,function(t){return"valid"===t.state});return n?i.push("encryption-valid"):(e.push("--with-error"),i.push("encryption-error")),{cssClass:e.join(""),label:i.join(" ")}},this.checkSigned=function(t){var e={cssClass:"security-status__label--not-signed",label:"not-signed"};if(_.isEmpty(t.security_casing.imprints))return e;var i=_.any(t.security_casing.imprints,function(t){return"no_signature_information"===t.state});if(i)return e;var n=["security-status__label--signed"],s=["signed"];return _.any(t.security_casing.imprints,function(t){return"from_revoked"===t.state})&&(n.push("--revoked"),s.push("signature-revoked")),_.any(t.security_casing.imprints,function(t){return"from_expired"===t.state})&&(n.push("--expired"),s.push("signature-expired")),this.isNotTrusted(t)&&(n.push("--not-trusted"),s.push("signature-not-trusted")),{cssClass:n.join(""),label:s.join(" ")}},this.isNotTrusted=function(t){return _.any(t.security_casing.imprints,function(t){if(_.isNull(t.seal))return!0;var e=_.isUndefined(t.seal.trust)?t.seal.validity:t.seal.trust;return"no_trust"===e})},this.openNoMessageSelectedPane=function(t,e){this.trigger(document,o.dispatchers.rightPane.openNoMessageSelected)},this.handleKeyDown=function(t){var e=13,i=27;t.which===e?(t.preventDefault(),""!==this.select("newTagInput").val().trim()&&this.createNewTag()):t.which===i&&(t.preventDefault(),this.addTagLoseFocus())},this.addTagLoseFocus=function(){this.select("newTagInput").hide(),this.select("newTagInput").typeahead("val",""),this.select("addNew").show()},this.showNewTagInput=function(){this.select("newTagInput").show(),this.select("newTagInput").focus(),this.select("addNew").hide()},this.removeTag=function(t){t=t.toString();var e=_.without(this.attr.mail.tags,t);this.updateTags(this.attr.mail,e),this.trigger(document,o.dispatchers.tags.refreshTagList)},this.moveToTrash=function(){this.trigger(document,o.ui.mail["delete"],{mail:this.attr.mail})},this.tagsUpdated=function(t,e){e=e||{},this.attr.mail.tags=e.tags,this.displayMail({},{mail:this.attr.mail})},this.mailDeleted=function(t,e){_.contains(_.pluck(e.mails,"ident"),this.attr.mail.ident)&&this.openNoMessageSelectedPane()},this.fetchMailToShow=function(){this.trigger(o.mail.want,{mail:this.attr.ident,caller:this})},this.highlightMailContent=function(t,e){this.trigger(document,o.mail.highlightMailContent,e)},this.after("initialize",function(){this.on(this,o.mail.notFound,this.openNoMessageSelectedPane),this.on(this,o.mail.here,this.highlightMailContent),this.on(document,o.mail.display,this.displayMail),this.on(document,o.dispatchers.rightPane.clear,this.teardown),this.on(document,o.mail.tags.updated,this.tagsUpdated),this.on(document,o.mail.deleted,this.mailDeleted),this.fetchMailToShow()})}return t(c,i,s,a,r)}),i("mixins/with_compose_inline",["page/events","views/templates","mail_view/data/mail_builder","mixins/with_mail_edit_base"],function(t,e,i,n){"use strict";function s(){this.defaultAttrs({subjectDisplay:"#reply-subject",subjectInput:"#subject-container input", forwardBox:"#forward-box",recipientsDisplay:"#all-recipients"}),this.openMail=function(e,i){this.trigger(document,t.ui.mail.open,{ident:this.attr.mail.ident})},this.trashReply=function(){this.trigger(document,t.ui.composeBox.trashReply),this.teardown()},this.builtMail=function(t){return i.newMail(this.attr.ident).subject(this.select("subjectBox").val()).to(this.attr.recipientValues.to).cc(this.attr.recipientValues.cc).bcc(this.attr.recipientValues.bcc).body(this.select("bodyBox").val()).attachment(this.attr.attachments).tag(t)},this.renderInlineCompose=function(t,i){this.show(),this.render(e.compose.inlineBox,i),this.$node.addClass(t),this.select("bodyBox").focus(),this.enableAutoSave()},this.updateIdent=function(t,e){this.attr.mail.ident=e.ident},this.discardDraft=function(){this.trashReply()},this.after("initialize",function(){this.on(document,t.mail.sent,this.openMail),this.on(document,t.mail.deleted,this.trashReply),this.on(document,t.mail.draftSaved,this.updateIdent)}),n.call(this)}return s}),i("mail_view/ui/reply_box",["flight/lib/component","helpers/view_helper","mixins/with_hide_and_show","mixins/with_compose_inline","page/events","views/i18n"],function(t,e,i,n,s,a){"use strict";function r(){this.defaultAttrs({replyType:"reply",draftReply:!1,mail:null,mailBeingRepliedIdent:void 0}),this.getRecipients=function(){return"replyall"===this.attr.replyType?this.attr.mail.replyToAllAddress():this.attr.mail.replyToAddress()};var t=function(t){return a("re")+t};this.setupReplyBox=function(){var i,n;this.attr.draftReply?(this.attr.ident=this.attr.mail.ident,this.attr.mailBeingRepliedIdent=this.attr.mail.draft_reply_for,i=this.attr.mail.recipients(),n=this.attr.mail.body,this.attr.subject=this.attr.mail.header.subject):(this.attr.mailBeingRepliedIdent=this.attr.mail.ident,i=this.getRecipients(),n=e.quoteMail(this.attr.mail),this.attr.subject=t(this.attr.mail.header.subject)),this.attr.recipientValues.to=i.to,this.attr.recipientValues.cc=i.cc,this.renderInlineCompose("reply-box",{recipients:i,subject:this.attr.subject,body:n}),this.on(this.select("recipientsDisplay"),"click keydown",this.showRecipientFields),this.on(this.select("subjectDisplay"),"click",this.showSubjectInput)},this.showRecipientFields=function(t,e){t.keyCode&&13!==t.keyCode||(this.select("recipientsDisplay").hide(),this.select("recipientsFields").show(),$("#recipients-to-area .tt-input").focus())},this.showSubjectInput=function(){this.select("subjectDisplay").hide(),this.select("subjectInput").show(),this.select("subjectInput").focus()},this.buildMail=function(t){var e=this.builtMail(t).subject(this.select("subjectInput").val());_.isUndefined(this.attr.mail.header.message_id)||e.header("in_reply_to",this.attr.mail.header.message_id),_.isUndefined(this.attr.mail.header.list_id)||e.header("list_id",this.attr.mail.header.list_id);var i=e.build();return i.setDraftReplyFor(this.attr.mailBeingRepliedIdent),i},this.after("initialize",function(){this.setupReplyBox()})}return t(r,i,n)}),i("mail_view/ui/forward_box",["flight/lib/component","helpers/view_helper","mixins/with_hide_and_show","mixins/with_compose_inline","page/events","views/i18n"],function(t,e,i,n,s,a){"use strict";function r(){var t=function(t){return a("Fwd: ")+t};this.fetchTargetMail=function(t){this.trigger(document,s.mail.want,{mail:this.attr.ident,caller:this})},this.setupForwardBox=function(){var i=this.attr.mail;this.attr.subject=t(i.header.subject),this.attr.attachments=i.attachments,this.renderInlineCompose("forward-box",{subject:this.attr.subject,recipients:{to:[],cc:[]},body:e.quoteMail(i),attachments:this.convertToRemovableAttachments(i.attachments)});var n=this;this.$node.find("i.remove-icon").bind("click",function(t){var e=$(this),i=e.closest("li").attr("data-ident");n.trigger(document,s.mail.removeAttachment,{ident:i}),t.preventDefault()}),this.on(this.select("subjectDisplay"),"click",this.showSubjectInput),this.select("recipientsDisplay").hide(),this.select("recipientsFields").show()},this.convertToRemovableAttachments=function(t){return t.map(function(t){return t.removable=!0,t})},this.showSubjectInput=function(){this.select("subjectDisplay").hide(),this.select("subjectInput").show(),this.select("subjectInput").focus()},this.buildMail=function(t){var e=this.builtMail(t).subject(this.select("subjectInput").val()),i=["bcc","cc","date","from","message_id","reply_to","sender","to"],n=this.attr.mail.header;return _.each(i,function(t){_.isUndefined(n[t])||e.header("resent_"+t,n[t])}),e.build()},this.after("initialize",function(){this.setupForwardBox()})}return t(r,i,n)}),i("mixins/with_feature_toggle",["features"],function(t){"use strict";function e(e,i){return function(){this.around("initialize",_.bind(function(n,s,a){return t.isEnabled(e)?n(s,a):i?(i.call(this),this):void 0},this))}}return e}),i("mail_view/ui/reply_section",["flight/lib/component","views/templates","mail_view/ui/reply_box","mail_view/ui/forward_box","mixins/with_hide_and_show","mixins/with_feature_toggle","page/events"],function(t,e,i,n,s,a,r){"use strict";function o(){this.defaultAttrs({replyButton:"#reply-button",replyAllButton:"#reply-all-button",forwardButton:"#forward-button",replyBox:"#reply-box",replyType:"reply",replyContainer:".reply-container"}),this.showReply=function(){this.attr.replyType="reply",this.fetchEmailToReplyTo()},this.showReplyAll=function(){this.attr.replyType="replyall",this.fetchEmailToReplyTo()},this.showForward=function(){this.attr.replyType="forward",this.fetchEmailToReplyTo()},this.render=function(){this.$node.html(e.compose.replySection),this.on(this.select("replyButton"),"click",this.showReply),this.on(this.select("replyAllButton"),"click",this.showReplyAll),this.on(this.select("forwardButton"),"click",this.showForward)},this.checkForDraftReply=function(){this.render(),this.hideContainer(),this.trigger(document,r.mail.draftReply.want,{ident:this.attr.ident})},this.fetchEmailToReplyTo=function(t){this.trigger(document,r.mail.want,{mail:this.attr.ident,caller:this})},this.showDraftReply=function(t,e){this.showContainer(),this.hideButtons(),i.attachTo(this.select("replyBox"),{mail:e.mail,draftReply:!0})},this.showReplyComposeBox=function(t,e){this.showContainer(),this.hideButtons(),"forward"===this.attr.replyType?n.attachTo(this.select("replyBox"),{mail:e.mail}):i.attachTo(this.select("replyBox"),{mail:e.mail,replyType:this.attr.replyType})},this.hideContainer=function(){this.select("replyContainer").hide()},this.showContainer=function(){this.select("replyContainer").show()},this.hideButtons=function(){this.select("replyButton").hide(),this.select("replyAllButton").hide(),this.select("forwardButton").hide()},this.showButtons=function(){this.showContainer(),this.select("replyBox").empty(),this.select("replyButton").show(),this.select("replyAllButton").show(),this.select("forwardButton").show()},this.after("initialize",function(){this.on(document,r.ui.replyBox.showReply,this.showReply),this.on(document,r.ui.replyBox.showReplyAll,this.showReplyAll),this.on(document,r.ui.composeBox.trashReply,this.showButtons),this.on(this,r.mail.here,this.showReplyComposeBox),this.on(document,r.dispatchers.rightPane.clear,this.teardown),this.on(document,r.ui.replyBox.showReplyContainer,this.showContainer),this.on(document,r.mail.draftReply.here,this.showDraftReply),this.checkForDraftReply()})}return t(o,s,a("replySection"))}),i("mail_view/data/mail_sender",["flight/lib/component","mail_view/data/mail_builder","page/events","helpers/monitored_ajax","features"],function(t,e,i,n,s){"use strict";function a(){function t(t){return function(e){t.trigger(document,i.mail.sent,e)}}function e(t){return function(e){t.trigger(document,i.mail.send_failed,e)}}function a(t){return function(e){t.trigger(document,i.mail.draftSaved,e)}}this.defaultAttrs({mailsResource:"/mails"}),this.sendMail=function(s,a){this.trigger(i.dispatchers.rightPane.openNoMessageSelected),n.call(_,this,this.attr.mailsResource,{type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",data:JSON.stringify(a)}).done(t(this)).fail(e(this))},this.saveMail=function(t){return n.call(_,this,this.attr.mailsResource,{type:"PUT",dataType:"json",contentType:"application/json; charset=utf-8",data:JSON.stringify(t),skipErrorMessage:!0})},this.saveDraft=function(t,e){this.saveMail(e).done(a(this))},this.saveMailWithCallback=function(t,e){this.saveMail(e.mail).done(function(t){return e.callback(t)}).fail(function(t){return e.callback(t)})},this.after("initialize",function(){this.on(i.mail.send,this.sendMail),s.isEnabled("saveDraft")&&this.on(i.mail.saveDraft,this.saveDraft),this.on(document,i.mail.save,this.saveMailWithCallback)})}return t(a)}),i("mixins/with_auto_refresh",["features"],function(t){"use strict";function e(e){return function(){this.defaultAttrs({refreshInterval:15e3}),this.setupRefresher=function(){clearTimeout(this.attr.refreshTimer),this.attr.refreshTimer=setTimeout(function(){this[e](),this.setupRefresher()}.bind(this),this.attr.refreshInterval)},this.after("initialize",function(){t.isAutoRefreshEnabled()&&this.setupRefresher()})}}return e}),i("services/mail_service",["flight/lib/component","views/i18n","services/model/mail","helpers/monitored_ajax","page/events","features","mixins/with_auto_refresh","page/router/url_params"],function(t,e,i,n,s,a,r,o){"use strict";function l(){function t(t){var e='tag:"'+c.attr.currentTag+'"';return"all"===t.tag&&(e="in:all"),e}function r(t){return encodeURIComponent(t)}function l(t,e){return t+"/"+e}var c;this.defaultAttrs({mailsResource:"/mails",singleMailResource:"/mail",currentTag:"",lastQuery:"",currentPage:1,numPages:1,pageSize:25}),this.errorMessage=function(t){return function(){c.trigger(document,s.ui.userAlerts.displayMessage,{message:t})}},this.updateTags=function(t,i){var a=i.ident,r=function(t){this.refreshMails(),$(document).trigger(s.mail.tags.updated,{ident:a,tags:t.tags}),$(document).trigger(s.dispatchers.tags.refreshTagList,{skipMailListRefresh:!0})},o=function(t){var i=e("Could not update mail tags");403===t.status&&(i=e("Invalid tag name")),this.trigger(document,s.ui.userAlerts.displayMessage,{message:i})};n(this,"/mail/"+a+"/tags",{type:"POST",contentType:"application/json; charset=utf-8",data:JSON.stringify({newtags:i.tags})}).done(r.bind(this)).fail(o.bind(this))},this.readMail=function(t,e){var i;i=e.checkedMails?_.map(e.checkedMails,function(t){return t.ident}):[e.ident],n(this,"/mails/read",{type:"POST",data:JSON.stringify({idents:i})}).done(this.triggerMailsRead(e.checkedMails))},this.unreadMail=function(t,e){var i;i=e.checkedMails?_.map(e.checkedMails,function(t){return t.ident}):[e.ident],n(this,"/mails/unread",{type:"POST",data:JSON.stringify({idents:i})}).done(this.triggerMailsRead(e.checkedMails))},this.triggerMailsRead=function(t){return _.bind(function(){this.refreshMails(),this.trigger(document,s.ui.mails.uncheckAll)},this)},this.triggerDeleted=function(t){return _.bind(function(){var e=t.mails||[t.mail];this.refreshMails(),this.trigger(document,s.ui.userAlerts.displayMessage,{message:t.successMessage}),this.trigger(document,s.ui.mails.uncheckAll),this.trigger(document,s.mail.deleted,{mails:e})},this)},this.triggerRecovered=function(t){return _.bind(function(){t.mails||[t.mail];this.refreshMails(),this.trigger(document,s.ui.userAlerts.displayMessage,{message:e(t.successMessage)}),this.trigger(document,s.ui.mails.uncheckAll)},this)},this.triggerArchived=function(t){return _.bind(function(t){this.refreshMails(),this.trigger(document,s.ui.userAlerts.displayMessage,{message:e(t.successMessage)}),this.trigger(document,s.ui.mails.uncheckAll)},this)},this.archiveManyMails=function(t,i){var s=_.map(i.checkedMails,function(t){return t.ident});n(this,"/mails/archive",{type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",data:JSON.stringify({idents:s})}).done(this.triggerArchived(i)).fail(this.errorMessage(e("Could not archive emails")))},this.deleteMail=function(t,i){n(this,"/mail/"+i.mail.ident,{type:"DELETE"}).done(this.triggerDeleted(i)).fail(this.errorMessage(e("Could not delete email")))},this.deleteManyMails=function(t,i){var s=i,a=_.map(i.mails,function(t){return t.ident});n(this,"/mails/delete",{type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",data:JSON.stringify({idents:a})}).done(this.triggerDeleted(s)).fail(this.errorMessage(e("Could not delete emails")))},this.recoverManyMails=function(t,i){var s=i,a=_.map(i.mails,function(t){return t.ident});n(this,"/mails/recover",{type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",data:JSON.stringify({idents:a})}).done(this.triggerRecovered(s)).fail(this.errorMessage(e("Could not move emails to inbox")))},this.fetchByTag=function(e,i){this.attr.currentTag=i.tag,this.attr.lastQuery=t(i),this.updateCurrentPageNumber(1),this.refreshMails()},this.newSearch=function(t,e){this.attr.lastQuery=e.query,this.attr.currentTag="all",this.refreshMails()},this.mailFromJSON=function(t){return i.create(t)},this.parseMails=function(t){return t.mails=_.map(t.mails,this.mailFromJSON,this),t},this.excludeTrashedEmailsForDraftsAndSent=function(t){return'tag:"drafts"'===t||'tag:"sent"'===t?t+' -in:"trash"':t},this.refreshMails=function(){var t=this.attr.mailsResource+"?q="+r(this.attr.lastQuery)+"&p="+this.attr.currentPage+"&w="+this.attr.pageSize;this.attr.lastQuery=this.excludeTrashedEmailsForDraftsAndSent(this.attr.lastQuery),n(this,t,{dataType:"json"}).done(function(t){this.attr.numPages=Math.ceil(t.stats.total/this.attr.pageSize),this.trigger(document,s.mails.available,_.merge({tag:this.attr.currentTag,forSearch:this.attr.lastQuery},this.parseMails(t)))}.bind(this)).fail(function(){this.trigger(document,s.ui.userAlerts.displayMessage,{message:e("Could not fetch messages"),"class":"error"})}.bind(this))},this.fetchSingle=function(t,e){var i=l(this.attr.singleMailResource,e.mail);n(this,i,{dataType:"json"}).done(function(t){return _.isNull(t)?void this.trigger(e.caller,s.mail.notFound):void this.trigger(e.caller,s.mail.here,{mail:this.mailFromJSON(t)})}.bind(this))},this.previousPage=function(){this.attr.currentPage>1&&(this.updateCurrentPageNumber(this.attr.currentPage-1),this.refreshMails())},this.nextPage=function(){this.attr.currentPage0:e.counts.total-e.counts.read>0},this.badgeType=function(t){return _.include(s,t.name)?"total":"unread"},this.doUnselect=function(){this.$node.removeClass("selected")},this.doSelect=function(){this.$node.addClass("selected")},this.selectTag=function(t,e){this.attr.currentTag=e.tag,e.tag===this.attr.tag.name?this.doSelect():this.doUnselect()},this.selectTagAll=function(){this.selectTag(null,{tag:"all"})},this.viewFor=function(t,e,i){return e({tagName:t["default"]?n("tags."+t.name):t.name,ident:this.hashIdent(t.ident),count:"total"===this.badgeType(t)?t.counts.total:t.counts.total-t.counts.read,displayBadge:this.displayBadge(t),badgeType:this.badgeType(t),icon:t.icon,selected:t.name===i?"selected":""})},this.decreaseReadCountIfMatchingTag=function(t,i){var n=_.flatten([i.tags,i.mailbox]);_.contains(n,this.attr.tag.name)&&(this.attr.tag.counts.read++,this.$node.html(this.viewFor(this.attr.tag,e.tags.tagInner,this.attr.currentTag)),_.isUndefined(this.attr.shortcut)||this.attr.shortcut.reRender())},this.triggerSelect=function(){this.trigger(document,i.ui.tag.select,{tag:this.attr.tag.name}),this.removeSearchingClass()},this.addSearchingClass=function(){"all"===this.attr.tag.name&&this.$node.addClass("searching")},this.hashIdent=function(t){return"undefined"==typeof t?"":"number"==typeof t?t:t.match(/^[a-zA-Z0-9]+$/)?t:Math.abs(String(t).split("").reduce(function(t,e){return t=(t<<5)-t+e.charCodeAt(0),t&t},0))},this.removeSearchingClass=function(){"all"===this.attr.tag.name&&this.$node.removeClass("searching")},this.after("initialize",function(){this.on("click",this.triggerSelect),this.on(document,i.mail.read,this.decreaseReadCountIfMatchingTag),this.on(document,i.search.perform,this.addSearchingClass),this.on(document,i.search.empty,this.removeSearchingClass),this.on(document,i.ui.tag.select,this.selectTag),this.on(document,i.search.perform,this.selectTagAll),this.on(document,i.search.empty,this.selectTagAll)}),this.renderAndAttach=function(t,n){var s=this.viewFor(n.tag,e.tags.tag,n.currentTag);t.append(s),this.initialize("#tag-"+this.hashIdent(n.tag.ident),n),this.on(t,i.tags.teardown,this.teardown)}}var a=t(s);return a.appendedTo=function(t,e){var i=new this;return i.renderAndAttach(t,e),i},a}),i("tags/ui/tag_list",["flight/lib/component","tags/ui/tag","views/templates","page/events","page/router/url_params"],function(t,e,i,n,s){"use strict";function a(t){return o[t.name]||"999"+t.name}function r(){function t(t,i,n){var s=t["default"]?i:n;e.appendedTo(s,{tag:t,currentTag:this.getCurrentTag()})}function r(t){_.each(t,function(t){this.trigger(t,n.tags.teardown),t.empty()}.bind(this))}this.defaultAttrs({defaultTagList:"#default-tag-list",customTagList:"#custom-tag-list"}),this.renderTagList=function(e){var i=this.select("defaultTagList"),n=this.select("customTagList");r.call(this,[i,n]),e.forEach(function(e){t.call(this,e,i,n)}.bind(this))},this.displayTags=function(t,e){this.renderTagList(_.sortBy(e.tags,a))},this.getCurrentTag=function(){return this.attr.currentTag||s.getTag()},this.updateCurrentTag=function(t,e){this.attr.currentTag=e.tag},this.renderTagListTemplate=function(){this.$node.html(i.tags.tagList())},this.after("initialize",function(){this.on(document,n.tags.received,this.displayTags),this.on(document,n.ui.tag.select,this.updateCurrentTag),this.renderTagListTemplate()})}var o={inbox:"0",sent:"1",drafts:"2",trash:"3",all:"4"};return t(r)}),i("tags/data/tags",["flight/lib/component","page/events","helpers/monitored_ajax","mixins/with_feature_toggle","mixins/with_auto_refresh"],function(t,e,i,n,s){"use strict";function a(){function t(t){return function(i){i.push(r.all),t.trigger(document,e.tags.received,{tags:i})}}this.defaultAttrs({tagsResource:"/tags"}),this.fetchTags=function(e,n){i(this,this.attr.tagsResource).done(t(this))},this.refreshTags=function(){var t=null;this.fetchTags(t)},this.after("initialize",function(){this.on(document,e.tags.want,this.fetchTags),this.on(document,e.mail.sent,this.fetchTags)})}var r=t(a,n("tags",function(){$(document).trigger(e.ui.mails.refresh)}),s("refreshTags"));return r.all={name:"all",ident:"8752888923742657436",query:"in:all","default":!0,counts:{total:0,read:0,starred:0,replied:0}},r}),i("page/router",["flight/lib/component","page/events","page/router/url_params"],function(t,e,i){"use strict";return t(function(){function t(t){var e="/#/"+t.tag;return _.isUndefined(t.mailIdent)||(e+="/mail/"+t.mailIdent),e}function n(t,e){return{tag:t.tag||e&&e.tag||i.defaultTag(),mailIdent:t.mailIdent,query:t.query,isDisplayNoMessageSelected:!!t.isDisplayNoMessageSelected}}this.defaultAttrs({history:window.history}),this.pushState=function(e,i){if(!i.fromPopState){var s=n(i,this.attr.history.state);this.attr.history.pushState(s,"",t(s))}},this.popState=function(t){var n=t.state||{};this.trigger(document,e.ui.tag.select,{tag:n.tag||i.getTag(),mailIdent:n.mailIdent,fromPopState:!0}),t.state.isDisplayNoMessageSelected&&this.trigger(document,e.dispatchers.rightPane.openNoMessageSelectedWithoutPushState)},this.after("initialize",function(){this.on(document,e.router.pushState,this.pushState),this.on(document,e.ui.tag.select,this.pushState),this.on(document,e.search.perform,this.pushState),this.on(document,e.search.empty,this.pushState),window.onpopstate=this.popState.bind(this)})})}),i("mail_view/ui/draft_box",["flight/lib/component","views/templates","mixins/with_mail_edit_base","page/events","mail_view/data/mail_builder"],function(t,e,i,n,s){"use strict";function a(){this.defaultAttrs({closeMailButton:".close-mail-button"}),this.showNoMessageSelected=function(){this.trigger(n.dispatchers.rightPane.openNoMessageSelected)},this.buildMail=function(t){return this.builtMail(t).build()},this.builtMail=function(t){return s.newMail(this.attr.ident).subject(this.select("subjectBox").val()).to(this.attr.recipientValues.to).cc(this.attr.recipientValues.cc).bcc(this.attr.recipientValues.bcc).body(this.select("bodyBox").val()).attachment(this.attr.attachments).tag(t)},this.renderDraftBox=function(t,i){var s=i.mail,a=s.textPlainBody;this.attr.ident=s.ident,this.render(e.compose.box,{recipients:{to:s.header.to,cc:s.header.cc,bcc:s.header.bcc},subject:s.header.subject,body:a,attachments:this.convertToRemovableAttachments(s.attachments)});var r=this;this.$node.find("i.remove-icon").bind("click",function(t){var e=$(this),i=e.closest("li").attr("data-ident");r.trigger(document,n.mail.removeAttachment,{ident:i,element:e}),t.preventDefault()}),this.enableFloatlabel("input.floatlabel"),this.enableFloatlabel("textarea.floatlabel"),this.select("recipientsFields").show(),this.select("bodyBox").focus(),this.select("tipMsg").hide(),this.enableAutoSave(),this.bindCollapse(),this.on(this.select("closeMailButton"),"click",this.showNoMessageSelected)},this.convertToRemovableAttachments=function(t){return t.map(function(t){return t.removable=!0,t})},this.mailDeleted=function(t,e){_.contains(_.pluck(e.mails,"ident"),this.attr.ident)&&this.trigger(n.dispatchers.rightPane.openNoMessageSelected)},this.after("initialize",function(){this.on(this,n.mail.here,this.renderDraftBox),this.on(document,n.mail.sent,this.showNoMessageSelected),this.on(document,n.mail.deleted,this.mailDeleted),this.trigger(document,n.mail.want,{mail:this.attr.mailIdent,caller:this})})}return t(a,i)}),i("mail_view/ui/feedback_box",["flight/lib/component","views/templates","page/events","features"],function(t,e,i,n){"use strict";return t(function(){this.defaultAttrs({closeButton:".close-mail-button",submitButton:"#send-button",textBox:"#text-box"}),this.render=function(){this.$node.html(e.compose.feedback())},this.openFeedbackBox=function(){var t=this.reset("feedback-box");this.attachTo(t),this.enableFloatlabel("input.floatlabel"),this.enableFloatlabel("textarea.floatlabel")},this.showNoMessageSelected=function(){this.trigger(document,i.dispatchers.rightPane.openNoMessageSelected)},this.submitFeedback=function(){var t=this.select("textBox").val();this.trigger(document,i.feedback.submit,{feedback:t})},this.showSuccessMessage=function(){this.trigger(document,i.ui.userAlerts.displayMessage,{message:"Thanks for your feedback!"})},this.after("initialize",function(){n.isEnabled("feedback")&&(this.render(),this.on(document,i.dispatchers.rightPane.openFeedbackBox,this.openFeedbackBox),this.on(document,i.feedback.submitted,this.showNoMessageSelected),this.on(document,i.feedback.submitted,this.showSuccessMessage),this.on(this.select("closeButton"),"click",this.showNoMessageSelected),this.on(this.select("submitButton"),"click",this.submitFeedback))})})}),i("dispatchers/right_pane_dispatcher",["flight/lib/component","mail_view/ui/compose_box","mail_view/ui/mail_view","mail_view/ui/reply_section","mail_view/ui/draft_box","mail_view/ui/no_message_selected_pane","mail_view/ui/feedback_box","page/events"],function(t,e,i,n,s,a,r,o){"use strict";function l(){this.defaultAttrs({rightPane:"#right-pane",composeBox:"compose-box",feedbackBox:"feedback-box",mailView:"mail-view",noMessageSelectedPane:"no-message-selected-pane",replySection:"reply-section",draftBox:"draft-box",currentTag:""}),this.createAndAttach=function(t){var e=$("
        ",{id:t});return this.select("rightPane").append(e),e},this.reset=function(t){this.trigger(document,o.dispatchers.rightPane.clear),this.select("rightPane").empty();var e=this.createAndAttach(t);return e},this.openComposeBox=function(){var t=this.reset(this.attr.composeBox);e.attachTo(t,{currentTag:this.attr.currentTag})},this.openFeedbackBox=function(){var t=this.reset(this.attr.feedbackBox);r.attachTo(t)},this.openMail=function(t,e){var s=this.reset(this.attr.mailView);i.attachTo(s,e);var a=this.createAndAttach(this.attr.replySection);n.attachTo(a,{ident:e.ident})},this.initializeNoMessageSelectedPane=function(){var t=this.reset(this.attr.noMessageSelectedPane);a.attachTo(t),this.trigger(document,o.dispatchers.middlePane.cleanSelected)},this.openNoMessageSelectedPane=function(t,e){this.initializeNoMessageSelectedPane(),this.trigger(document,o.router.pushState,{tag:this.attr.currentTag,isDisplayNoMessageSelected:!0})},this.openDraft=function(t,e){var i=this.reset(this.attr.draftBox);s.attachTo(i,{mailIdent:e.ident,currentTag:this.attr.currentTag})},this.selectTag=function(t,e){this.trigger(document,o.ui.tags.loaded,{tag:e.tag})},this.saveTag=function(t,e){this.attr.currentTag=e.tag},this.after("initialize",function(){this.on(document,o.dispatchers.rightPane.openComposeBox,this.openComposeBox),this.on(document,o.dispatchers.rightPane.openDraft,this.openDraft),this.on(document,o.ui.mail.open,this.openMail),this.on(document,o.dispatchers.rightPane.openFeedbackBox,this.openFeedbackBox),this.on(document,o.dispatchers.rightPane.openNoMessageSelected,this.openNoMessageSelectedPane),this.on(document,o.dispatchers.rightPane.selectTag,this.selectTag),this.on(document,o.ui.tag.selected,this.saveTag),this.on(document,o.ui.tag.select,this.saveTag),this.on(document,o.dispatchers.rightPane.openNoMessageSelectedWithoutPushState,this.initializeNoMessageSelectedPane),this.initializeNoMessageSelectedPane()})}return t(l)}),i("helpers/triggering",[],function(){"use strict";return function(t,e,i,n){return function(){n?t.trigger(n,e,i||{}):t.trigger(e,i||{})}}}),i("dispatchers/middle_pane_dispatcher",["flight/lib/component","page/events","helpers/triggering","mail_view/ui/no_mails_available_pane"],function(t,e,i,n){"use strict";return t(function(){this.defaultAttrs({middlePane:"#middle-pane",noMailsAvailablePane:"no-mails-available-pane"}),this.createChildDiv=function(t){var e=$("
        ",{id:t});return this.select("middlePane").append(e),e},this.resetChildDiv=function(t){$("#"+t).remove()},this.refreshMailList=function(t,i){this.trigger(document,e.ui.mails.fetchByTag,i)},this.cleanSelected=function(t,i){this.trigger(document,e.ui.mails.cleanSelected)},this.resetScroll=function(){this.select("middlePane").scrollTop(0)},this.updateMiddlePaneHeight=function(){var t=$(window).height(),e=$("#main").outerHeight()+$("#top-pane").outerHeight();this.select("middlePane").css({height:t-e+"px"})},this.onMailsChange=function(t,e){if(this.resetChildDiv(this.attr.noMailsAvailablePane),e.mails.length>0)n.teardownAll();else{var i=this.createChildDiv(this.attr.noMailsAvailablePane);n.attachTo(i,{tag:e.tag,forSearch:e.forSearch})}},this.after("initialize",function(){this.on(document,e.dispatchers.middlePane.refreshMailList,this.refreshMailList),this.on(document,e.dispatchers.middlePane.cleanSelected,this.cleanSelected),this.on(document,e.dispatchers.middlePane.resetScroll,this.resetScroll),this.on(document,e.mails.available,this.onMailsChange),this.updateMiddlePaneHeight(),$(window).on("resize",this.updateMiddlePaneHeight.bind(this))})})}),i("dispatchers/left_pane_dispatcher",["flight/lib/component","page/router/url_params","page/events"],function(t,e,i){"use strict";function n(){var t=!1;this.refreshTagList=function(t,e){this.trigger(document,i.tags.want,{caller:this.$node,skipMailListRefresh:e.skipMailListRefresh})},this.loadTags=function(t,e){this.trigger(document,i.ui.tagList.load,e)},this.selectTag=function(t,n){var s=n&&n.tag||e.getTag();this.trigger(document,i.ui.tag.select,{tag:s,skipMailListRefresh:n.skipMailListRefresh})},this.pushUrlState=function(e,n){t&&this.trigger(document,i.router.pushState,n),t=!0},this.after("initialize",function(){this.on(document,i.dispatchers.tags.refreshTagList,this.refreshTagList),this.on(document,i.ui.tags.loaded,this.selectTag),this.on(document,i.ui.tag.selected,this.pushUrlState),this.on(document,i.ui.tag.select,this.pushUrlState),this.trigger(document,i.tags.want,{caller:this.$node})})}return t(n)}),i("search/search_trigger",["flight/lib/component","views/templates","page/events"],function(t,e,i){"use strict";function n(){var t="Search results for: ";this.defaultAttrs({input:"input[type=search]",form:"form"}),this.render=function(){this.$node.html(e.search.trigger())},this.search=function(t,e){this.trigger(document,i.search.resetHighlight),t.preventDefault();var n=this.select("input"),s=n.val();n.blur(),_.isEmpty(s)?this.trigger(document,i.search.empty):this.trigger(document,i.search.perform,{query:s})},this.clearInput=function(){this.select("input").val("")},this.showOnlySearchTerms=function(e){var i=this.select("input").val(),n=i.slice(t.length);this.select("input").val(n)},this.showSearchTermsAndPlaceHolder=function(e){var i=this.select("input").val();i.length>0&&this.select("input").val(t+i)},this.after("initialize",function(){this.render(),this.on(this.select("form"),"submit",this.search),this.on(this.select("input"),"focus",this.showOnlySearchTerms), this.on(this.select("input"),"blur",this.showSearchTermsAndPlaceHolder),this.on(document,i.ui.tag.selected,this.clearInput),this.on(document,i.ui.tag.select,this.clearInput)})}return t(n)}),i("search/results_highlighter",["flight/lib/component","page/events"],function(t,e){"use strict";function i(){function t(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}this.defaultAttrs({keywords:[]}),this.getKeywordsSearch=function(t,e){this.attr.keywords=e.query.split(" ").map(function(t){return t.toLowerCase()})},this.highlightResults=function(e,i){var n=i.where;this.attr.keywords&&_.each(this.attr.keywords,function(e){e=t(e),$(n).highlightRegex(new RegExp(e,"i"),{tagType:"em",className:"search-highlight"})})},this.clearHighlights=function(t,e){this.attr.keywords=[],_.each($("em.search-highlight"),function(t){var e=$(t),i=e.text();e.replaceWith(i)})},this.highlightString=function(e){return _.each(this.attr.keywords,function(i){i=t(i);var n=new RegExp("("+i+")","ig");e=e.replace(n,'$1')}),e},this.highlightMailContent=function(t,i){var n=i.mail;n.textPlainBody=this.highlightString(n.textPlainBody),this.trigger(document,e.mail.display,i)},this.after("initialize",function(){this.on(document,e.search.perform,this.getKeywordsSearch),this.on(document,e.ui.tag.select,this.clearHighlights),this.on(document,e.search.resetHighlight,this.clearHighlights),this.on(document,e.search.highlightResults,this.highlightResults),this.on(document,e.mail.highlightMailContent,this.highlightMailContent)})}return t(i)}),i("foundation/off_canvas",["flight/lib/component","page/events"],function(t,e){"use strict";return t(function(){this.closeSlider=function(t){$(".off-canvas-wrap.content").removeClass("move-right"),this.toggleTagsVisibility()},this.toggleSlideContent=function(t){t.preventDefault(),$(".left-off-canvas-toggle").click(),this.toggleTagsVisibility()},this.toggleTagsVisibility=function(){$(".off-canvas-wrap.content").hasClass("move-right")?$("#custom-tag-list").addClass("expanded"):$("#custom-tag-list").removeClass("expanded")},this.after("initialize",function(){this.on($("#middle-pane-container"),"click",this.closeSlider),this.on($("#right-pane"),"click",this.closeSlider),this.on($(".side-nav-toggle"),"click",this.toggleSlideContent)})})}),i("page/pane_contract_expand",["flight/lib/component","page/events"],function(t,e){"use strict";function i(){this.defaultAttrs({RIGHT_PANE_EXPAND_CLASSES:"small-7 medium-7 large-7 columns",RIGHT_PANE_CONTRACT_CLASSES:"small-7 medium-4 large-4 columns",MIDDLE_PANE_EXPAND_CLASSES:"small-5 medium-8 large-8 columns no-padding",MIDDLE_PANE_CONTRACT_CLASSES:"small-5 medium-5 large-5 columns no-padding"}),this.expandMiddlePaneContractRightPane=function(){$("#middle-pane-container").attr("class",this.attr.MIDDLE_PANE_EXPAND_CLASSES),$("#right-pane").attr("class",this.attr.RIGHT_PANE_CONTRACT_CLASSES)},this.contractMiddlePaneExpandRightPane=function(){$("#middle-pane-container").attr("class",this.attr.MIDDLE_PANE_CONTRACT_CLASSES),$("#right-pane").attr("class",this.attr.RIGHT_PANE_EXPAND_CLASSES)},this.after("initialize",function(){this.on(document,e.ui.mail.open,this.contractMiddlePaneExpandRightPane),this.on(document,e.dispatchers.rightPane.openComposeBox,this.contractMiddlePaneExpandRightPane),this.on(document,e.dispatchers.rightPane.openDraft,this.contractMiddlePaneExpandRightPane),this.on(document,e.dispatchers.rightPane.openFeedbackBox,this.contractMiddlePaneExpandRightPane),this.on(document,e.dispatchers.rightPane.openNoMessageSelected,this.expandMiddlePaneContractRightPane),this.expandMiddlePaneContractRightPane()})}return t(i)}),i("views/recipientListFormatter",[],function(){"use strict";Handlebars.registerHelper("formatRecipients",function(t){function e(t,e){return function(i){return t+Handlebars.Utils.escapeExpression(i)+e}}var i=_.map(t.to,e('',"")),n=_.map(t.cc,e('cc: ',"")),s=_.map(t.bcc,e('bcc: ',""));return new Handlebars.SafeString(i.concat(n,s).join(", "))})}),i("user_settings/data/user_settings",["flight/lib/component","helpers/monitored_ajax","page/events"],function(t,e,i){"use strict";return t(function(){this.defaultAttrs({userSettingsResource:"/user-settings",userSettings:{}}),this.sendInfo=function(){this.trigger(document,i.userSettings.here,this.attr.userSettings)},this.getUserSettings=function(){var t=function(t){this.attr.userSettings=t};e(this,this.attr.userSettingsResource,{type:"GET",contentType:"application/json; charset=utf-8"}).done(t.bind(this))},this.after("initialize",function(){this.getUserSettings(),this.on(document,i.userSettings.getInfo,this.sendInfo)})})}),i("user_settings/ui/user_settings_box",["flight/lib/component","features","views/templates","page/events","helpers/monitored_ajax"],function(t,e,i,n,s){"use strict";return t(function(){this.defaultAttrs({close:"#user-settings-close",userSettingsBoxContainer:"#user-settings-box"}),this.render=function(t,s){function a(t,e){return t.parentNode===e?!0:null===t.parentNode?!1:a(t.parentNode,e)}e.isLogoutEnabled()&&this.$node.addClass("extra-bottom-space"),this.$node.addClass("arrow-box"),this.$node.html(i.page.userSettingsBox(s)),this.on(this.attr.close,"click",function(){this.trigger(document,n.userSettings.destroyPopup)}),this.on(document,"click",function(t){var e=$(this.attr.userSettingsBoxContainer).get(0),i=t.target||t.srcElement;i===e||a(i,e)||this.destroy()})},this.destroy=function(){this.$node.remove(),this.teardown()},this.after("initialize",function(){this.on(document,n.userSettings.here,this.render),this.on(document,n.userSettings.destroyPopup,this.destroy),this.trigger(document,n.userSettings.getInfo)})})}),i("user_settings/ui/user_settings_icon",["flight/lib/component","views/templates","page/events","user_settings/ui/user_settings_box"],function(t,e,i,n){"use strict";return t(function(){this.defaultAttrs({userSettingsBox:$("#user-settings-box")}),this.render=function(){this.$node.html(e.page.userSettingsIcon())},this.toggleUserSettingsBox=function(){if(0===this.attr.userSettingsBox.children().length){var t=$("
        ");$(this.attr.userSettingsBox).append(t),n.attachTo(t),this.attr.userSettingsInfo=n}else this.trigger(document,i.userSettings.destroyPopup)},this.triggerToggleUserSettingsBox=function(t){this.trigger(document,i.ui.userSettingsBox.toggle),t.stopPropagation()},this.after("initialize",function(){this.render(),this.on("click",this.triggerToggleUserSettingsBox),this.on(document,i.ui.userSettingsBox.toggle,this.toggleUserSettingsBox)})})}),i("page/logout",["flight/lib/component","features","views/templates","helpers/browser"],function(t,e,i,n){"use strict";return t(function(){this.defaultAttrs({form:"#logout-form"}),this.render=function(){var t=i.page.logout({logout_url:e.getLogoutUrl(),csrf_token:n.getCookie("XSRF-TOKEN")});this.$node.html(t)},this.logout=function(){this.select("form").submit()},this.after("initialize",function(){e.isLogoutEnabled()&&(this.render(),this.on(this.$node,"click",this.logout))})})}),i("page/logout_shortcut",["flight/lib/component","features","views/templates"],function(t,e,i){"use strict";return t(function(){this.render=function(){if(e.isLogoutEnabled()){var t=i.page.logoutShortcut();this.$node.html(t)}},this.after("initialize",function(){this.render()})})}),i("feedback/feedback_trigger",["flight/lib/component","views/templates","page/events","features"],function(t,e,i,n){"use strict";return t(function(){this.render=function(){this.$node.html(e.feedback.feedback())},this.onClick=function(){this.trigger(document,i.dispatchers.rightPane.openFeedbackBox)},this.after("initialize",function(){n.isEnabled("feedback")&&(this.render(),this.on("click",this.onClick))})})}),i("mail_view/data/feedback_sender",["flight/lib/component","helpers/monitored_ajax","page/events"],function(t,e,i){"use strict";return t(function(){this.defaultAttrs({feedbackResource:"/feedback"}),this.successSubmittingFeedback=function(){this.trigger(document,i.feedback.submitted)},this.submitFeedback=function(t,i){e.call(_,this,this.attr.feedbackResource,{type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",data:JSON.stringify(i)}).done(this.successSubmittingFeedback())},this.after("initialize",function(){this.on(document,i.feedback.submit,this.submitFeedback)})})}),i("page/version",["flight/lib/component","views/templates"],function(t,e){"use strict";return t(function(){this.render=function(){this.$node.html(e.page.version())},this.after("initialize",function(){this.render()})})}),i("page/unread_count_title",["flight/lib/component","page/events"],function(t,e){"use strict";return t(function(){this.getTitleText=function(){return document.title},this.updateCount=function(t,e){var i=e.mails.filter(function(t){return-1===t.status.indexOf("read")}).length,n=this.toTitleCase(e.tag),s=i>0?" ("+i+") - ":" - ";document.title=n+s+this.rawTitle},this.toTitleCase=function(t){return t.replace(/\b\w/g,function(t){return t.toUpperCase()})},this.after("initialize",function(){this.rawTitle=document.title,this.on(document,e.mails.available,this.updateCount)})})}),i("page/pix_logo",["flight/lib/component","page/events"],function(t,e){"use strict";function i(){this.turnAnimationOn=function(){$(".logo-part-animation-off").attr("class","logo-part-animation-on")},this.turnAnimationOff=function(){setTimeout(function(){$(".logo-part-animation-on").attr("class","logo-part-animation-off")},600)},this.triggerSpinLogo=function(t,i){this.trigger(document,e.ui.page.spinLogo)},this.triggerStopSpinningLogo=function(t,i){this.trigger(document,e.ui.page.stopSpinningLogo)},this.after("initialize",function(){this.on(document,e.ui.page.spinLogo,this.turnAnimationOn),this.on(document,e.ui.page.stopSpinningLogo,this.turnAnimationOff),this.on(document,e.ui.tag.select,this.triggerSpinLogo),this.on(document,e.mails.available,this.triggerStopSpinningLogo),this.on(document,e.mail.saveDraft,this.triggerSpinLogo),this.on(document,e.mail.draftSaved,this.triggerStopSpinningLogo),this.on(document,e.ui.mail.open,this.triggerSpinLogo),this.on(document,e.dispatchers.rightPane.openDraft,this.triggerSpinLogo),this.on(document,e.search.perform,this.triggerSpinLogo),this.on(document,e.mail.want,this.triggerStopSpinningLogo)})}return t(i)}),i("page/default",["mail_view/ui/compose_box","mail_list_actions/ui/mail_list_actions","user_alerts/ui/user_alerts","mail_list/ui/mail_list","mail_view/ui/no_message_selected_pane","mail_view/ui/no_mails_available_pane","mail_view/ui/mail_view","mail_view/ui/mail_actions","mail_view/ui/reply_section","mail_view/data/mail_sender","services/mail_service","services/delete_service","services/recover_service","tags/ui/tag_list","tags/data/tags","page/router","dispatchers/right_pane_dispatcher","dispatchers/middle_pane_dispatcher","dispatchers/left_pane_dispatcher","search/search_trigger","search/results_highlighter","foundation/off_canvas","page/pane_contract_expand","views/i18n","views/recipientListFormatter","flight/lib/logger","user_settings/data/user_settings","user_settings/ui/user_settings_icon","page/logout","page/logout_shortcut","feedback/feedback_trigger","mail_view/ui/feedback_box","mail_view/data/feedback_sender","page/version","page/unread_count_title","page/pix_logo","helpers/browser"],function(t,e,i,n,s,a,r,o,l,c,u,h,d,p,f,g,m,v,b,_,y,w,x,k,C,S,D,T,A,E,M,P,I,N,F,O,R){"use strict";function j(t){k.init(t+"/assets/"),x.attachTo(document),i.attachTo("#user-alerts"),n.attachTo("#mail-list"),e.attachTo("#list-actions"),_.attachTo("#search-trigger"),y.attachTo(document),c.attachTo(document),u.attachTo(document),h.attachTo(document),d.attachTo(document),f.attachTo(document),p.attachTo("#tag-list"),g.attachTo(document),m.attachTo(document),v.attachTo(document),b.attachTo(document),w.attachTo(document),D.attachTo(document),T.attachTo("#user-settings-icon"),A.attachTo("#logout"),E.attachTo("#logout-shortcut"),N.attachTo(".version"),M.attachTo("#feedback"),I.attachTo(document),F.attachTo(document),O.attachTo(document),$.ajaxSetup({headers:{"X-XSRF-TOKEN":R.getCookie("XSRF-TOKEN")}})}return j}),function(){"use strict";Array.prototype.remove=function(t,e){var i=this.slice((e||t)+1||this.length);return this.length=0>t?this.length+t:t,this.push.apply(this,i)}}(),i("js/monkey_patching/array",function(){}),function(){"use strict";var t=window.postMessage;window.postMessage=function(e,i){try{t(e,i)}catch(n){console.log(e,i)}}}(),i("js/monkey_patching/post_message",function(){}),e(["js/monkey_patching/array","js/monkey_patching/post_message"],function(){}),i("js/monkey_patching/all",function(){}),t.config({baseUrl:"../assets/",paths:{mail_list:"js/mail_list",page:"js/page",feedback:"js/feedback",flight:"bower_components/flight",DOMPurify:"bower_components/DOMPurify/dist/purify.min",he:"bower_components/he/he",hbs:"js/generated/hbs",helpers:"js/helpers",lib:"js/lib",views:"js/views",tags:"js/tags",mail_list_actions:"js/mail_list_actions",user_alerts:"js/user_alerts",mail_view:"js/mail_view",dispatchers:"js/dispatchers",services:"js/services",mixins:"js/mixins",search:"js/search",foundation:"js/foundation",features:"js/features/features",i18next:"bower_components/i18next/i18next.amd","quoted-printable":"bower_components/quoted-printable",utf8:"bower_components/utf8",user_settings:"js/user_settings"}}),e(["flight/lib/compose","flight/lib/debug"],function(t,e){"use strict";e.enable(!0),e.events.logAll()}),e(["flight/lib/compose","flight/lib/registry","flight/lib/advice","flight/lib/logger","flight/lib/debug","page/events","page/default","js/monkey_patching/all"],function(t,e,i,n,s,a,r,o){"use strict";window.Pixelated=window.Pixelated||{},window.Pixelated.events=a,t.mixin(e,[i.withAdvice,n]),s.enable(!0),s.events.logAll(),r("")}),i("js/main",function(){})}();