https://t.me/AnonymousX5
Server : Apache/2
System : Linux vps.sdns.vn 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64
User : phatdatpq ( 1022)
PHP Version : 7.2.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/phatdatpq/public_html/wp-content/plugins/loco-translate/pub/js/min/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/phatdatpq/public_html/wp-content/plugins/loco-translate/pub/js/min/admin.js
(function(v,u,k,J){var n=function(){function g(f){throw Error("Failed to require "+f);}var f={};return{register:function(g,m){f[g]=m},require:function(k,m){return f[k]||g(m)},include:function(k,m,d){return f[k]||(d?g(m):null)}}}();n.register("$1",function(g,f,k){function m(d){var c=typeof d;if("string"===c)if(/[^ <>!=()%^&|?:n0-9]/.test(d))console.error("Invalid plural: "+d);else return new Function("n","return "+d);"function"!==c&&(d=function(b){return 1!=b});return d}g.init=function(d){function c(a,
l,c){return(a=b[a])&&a[c]?a[c]:l||""}d=m(d);var b={};return{_:function(a){return c(a,a,0)},_x:function(a,b){return c(b+"\u0004"+a,a,0)},_n:function(a,b,h){h=Number(d(h));isNaN(h)&&(h=0);return c(a,h?b:a,h)},load:function(a){b=a||{};return this},pluraleq:function(a){d=m(a);return this}}};return g}({},v,u));n.register("$2",function(g,f,k){g.ie=function(){var m=!1,d=0;f.attachEvent&&f.navigator&&/MSIE (\d+)\./.exec(String(navigator.appVersion))&&(d=Number(RegExp.$1),m=11>d);return function(){return m}}();
g.init=function(){return g};return g}({},v,u));n.register("$3",function(g,f,k){Number.prototype.format=function(f){f=Math.pow(10,f||0);var d=Math.round(f*this)/f;f=[];var d=String(d),c=d.split("."),d=c[0],c=c[1],b=d.length;do f.unshift(d.substring(b-3,b));while(0<(b-=3));d=f.join(",");if(f=c){f=c;for(var a,c=f.length;"0"===f.charAt(--c);)a=c;a&&(f=f.substring(0,a));f=c=f}f&&(d+="."+c);return d};Number.prototype.percent=function(f){var d=0,c=this&&f?100*(this/f):0;if(0===c)return"0";if(100===c)return"100";
if(99<c)c=Math.min(c,99.9),f=c.format(++d);else if(0.5>c){c=Math.max(c,1E-4);do f=c.format(++d);while("0"===f&&4>d);f=f.substr(1)}else f=c.format(0);return f};return g}({},v,u));n.register("$4",function(g,f,k){Array.prototype.indexOf||(Array.prototype.indexOf=function(f){if(null==this)throw new TypeError;var d,c=Object(this),b=c.length>>>0;if(0===b)return-1;d=0;1<arguments.length&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&Infinity!=d&&-Infinity!=d&&(d=(0<d||-1)*Math.floor(Math.abs(d))));if(d>=b)return-1;
for(d=0<=d?d:Math.max(b-Math.abs(d),0);d<b;d++)if(d in c&&c[d]===f)return d;return-1});return g}({},v,u));n.register("$5",function(g,f,n){f.JSON||(f.JSON={parse:k.parseJSON,stringify:null});return g=f.JSON}({},v,u));n.register("$6",function(g,f,k){g.trim=function(f,d){for(d||(d=" \n");f&&-1!==d.indexOf(f.substr(0,1));)f=f.substr(1);for(;f&&-1!==d.indexOf(f.substr(-1));)f=f.substr(0,f.length-1);return f};g.sprintf=function(f){var d=0,c,b=[].slice.call(arguments,1);return f.replace(/%([sud%])/g,function(a,
l){if("%"===l)return"%";c=b[d++];return String(c)||""})};return g}({},v,u));n.register("$21",function(g,f,k){function m(d){return function(c,b){for(var a=c[d]||0;(c=c.offsetParent)&&c!==(b||k.body);)a+=c[d]||0;return a}}g.top=m("offsetTop");g.left=m("offsetLeft");g.el=function(d,c){var b=k.createElement(d||"div");c&&(b.className=c);return b};g.txt=function(d){return k.createTextNode(d||"")};return g}({},v,u));n.register("$7",function(g,f,B){function m(a,b,s){function c(){l();z=setTimeout(b,s)}function l(){z&&
clearTimeout(z);z=null}var z;c();k(a).mouseenter(l).mouseleave(c);return{die:function(){l();k(a).off("mouseenter mouseleave")}}}function d(a,b){a.fadeTo(b,0,function(){a.slideUp(b,function(){a.remove();k(f).triggerHandler("resize")})});return a}function c(a,b){function c(b){p[z]=null;d(k(a),250);l&&l.die();var s;if(s=b)b.stopPropagation(),b.preventDefault(),s=!1;return s}function s(b){l&&l.die();return l=m(a,c,b)}var l,z,h,e=k(a),r=e.find("button");0===r.length&&(e.addClass("is-dismissible"),r=k('<button type="button" class="notice-dismiss"> </a>').appendTo(e));
r.off("click").click(c);k(f).triggerHandler("resize");x();z=p.length;p.push(c);b&&(l=s(b));return{link:function(b,z){var s=z||b,l=k(a).find("nav"),s=k("<nav></nav>").append(k("<a></a>").attr("href",b).text(s));h?(h.push(s.html()),l.html(h.join("<span> | </span>"))):(h=[s.html()],k(a).addClass("has-nav").append(s));return this},stick:function(){l&&l.die();l=null;p[z]=null;return this},slow:function(a){s(a||1E4);return this}}}function b(a,b,s){var l=n.require("$21","dom.js").el;a=k('<div class="notice notice-'+
a+' loco-notice inline"></div>').prependTo(k("#loco-notices"));var c=k(l("p"));s=k(l("span")).text(s);b=k(l("strong","has-icon")).text(b+": ");c.append(b).append(s).appendTo(a);return a}function a(a,s,l,h){a=b(l,s,a).css("opacity","0").fadeTo(500,1);k(f).triggerHandler("resize");return c(a,h)}function l(b){return a(b,r,"warning")}function h(){k("#loco-notices").find("div.notice").each(function(a,b){if(-1===b.className.indexOf("jshide")){var s=-1===b.className.indexOf("notice-success")?null:5E3;c(b,
s)}})}var p=[],e=f.console||{log:function(){}},x=Date.now||function(){return(new Date).getTime()},y,r,s,D;g.error=function(b){return a(b,y,"error")};g.warn=l;g.info=function(b){return a(b,s,"info")};g.success=function(b){return a(b,D,"success",5E3)};g.warning=l;g.log=function(){e.log.apply(e,arguments)};g.debug=function(a,b){(e.error||e.log)("Loco: "+a);b&&e.log(b)};g.clear=function(){for(var a=-1,b,s=p,l=s.length;++a<l;)(b=s[a])&&b.call&&b();p=[];return g};g.create=b;g.raise=function(a){(g[a.type]||
g.error).call(g,a.message)};g.convert=c;g.init=function(a){y=a._("Error");r=a._("Warning");s=a._("Notice");D=a._("OK");setTimeout(h,1E3);return g};return g}({},v,u));n.register("$8",function(g,f,B){function m(a){var b=k("<pre>"+a+"</pre>").text();b&&(b=b.replace(/[\r\n]+/g,"\n").replace(/(^|\n)\s+/g,"$1").replace(/\s+$/,""));b||(b=a)||(b="Blank response from server");return b}function d(a){return(a=a.split(/[\r\n]/)[0])?(a=a.replace(/ +in +\S+ on line \d+/,""),a=a.replace(/^[()! ]+Fatal error:\s*/,
"")):t._("Server returned invalid data")}function c(a){f.console&&console.error&&console.error('No nonce for "'+a+'"');return""}function b(a,b,l){a[b]=l}function a(a,b,l){a.push({name:b,value:l})}function l(a,b,l){a.append(b,l)}function h(a,b,l,c){function h(b,c,z){if("abort"!==c){var s=e||{_:function(a){return a}},A=b.status,f=b.responseText,w=m(f),y=b.getResponseHeader("Content-Type")||"text/html",g=b.getResponseHeader("Content-Length")||f.length;"success"===c&&z?p.error(z):(p.error(d(w)+".\n"+
s._("Check console output for debugging information")),p.debug("Ajax failure for "+a,{status:A,error:c,message:z,output:f}),"parsererror"===c&&(z="Response not JSON"),p.log([s._("Provide the following text when reporting a problem")+":","----","Status "+A+' "'+(z||s._("Unknown error"))+'" ('+y+" "+g+" bytes)",w,"===="].join("\n")));l&&l.call&&l(b,c,z);x=b}}c.url=y;c.dataType="json";var p=n.require("$7","notices.js").clear();x=null;return k.ajax(c).fail(h).done(function(a,l,c){var e=a&&a.data,x=a&&
a.notices,d=x&&x.length;for(!e||a.error?h(c,l,a&&a.error&&a.error.message):b&&b(e,l,c);d--;)p.raise(x[d])})}var p={},e,x,y=f.ajaxurl||"/wp-admin/admin-ajax.php";g.init=function(a){p=a.nonces||p;return g};g.localise=function(a){e=a;return g};g.xhr=function(){return x};g.strip=m;g.parse=d;g.submit=function(a,b,l){function c(a,b){b.disabled?b.setAttribute("data-was-disabled","true"):b.disabled=!0}function e(a,b){b.getAttribute("data-was-disabled")||(b.disabled=!1)}function p(a){a.find(".button-primary").removeClass("loading");
a.find("button").each(e);a.find("input").each(e);a.find("select").each(e);a.find("textarea").each(e);a.removeClass("disabled loading")}var x=k(a),d=x.serialize();(function(a){a.find(".button-primary").addClass("loading");a.find("button").each(c);a.find("input").each(c);a.find("select").each(c);a.find("textarea").each(c);a.addClass("disabled loading")})(x);return h(a.route.value,function(a,l,c){p(x);b&&b(a,l,c)},function(a,b,c){p(x);l&&l(a,b,c)},{type:a.method,data:d})};g.post=function(e,s,x,d){var A=
!0,G=s||{},y=p[e]||c(e);f.FormData&&G instanceof FormData?(A=!1,s=l):s=Array.isArray(G)?a:b;s(G,"action","loco_json");s(G,"route",e);s(G,"loco-nonce",y);return h(e,x,d,{type:"post",data:G,processData:A,contentType:A?"application/x-www-form-urlencoded; charset=UTF-8":!1})};g.get=function(a,b,l,e){b=b||{};var x=p[a]||c(a);b.action="loco_json";b.route=a;b["loco-nonce"]=x;return h(a,l,e,{type:"get",data:b})};g.setNonce=function(a,b){p[a]=b;return g};return g}({},v,u));n.register("$22",{arab:1,aran:1,
hebr:1,nkoo:1,syrc:1,syrn:1,syrj:1,syre:1,samr:1,mand:1,mend:1,thaa:1,adlm:1,cprt:1,phnx:1,armi:1,prti:1,phli:1,phlp:1,phlv:1,avst:1,mani:1,khar:1,orkh:1,ital:1,lydi:1,ar:1,ary:1,ckb:1,dv:1,fa:1,he:1,nqo:1,ps:1,ur:1,yi:1});n.register("$9",function(g,f,k){function m(){}var d,c=n.require("$22","rtl.json");g.init=function(){return new m};g.cast=function(b){return b instanceof m?b:"string"===typeof b?g.parse(b):g.clone(b)};g.clone=function(b){var a,l=new m;for(a in b)l[a]=b[a];return l};g.parse=function(b){if(!(d||
(d=/^([a-z]{2,3})(?:[-_]([a-z]{2}))?(?:[-_]([a-z0-9]{3,8}))?$/i)).exec(b))return null;var a=new m;a.lang=RegExp.$1.toLowerCase();if(b=RegExp.$2)a.region=b.toUpperCase();if(b=RegExp.$3)a.variant=b.toLowerCase();return a};f=m.prototype;f.isValid=function(){return!!this.lang};f.isKnown=function(){var b=this.lang;return!(!b||"zxx"===b)};f.toString=function(b){b=b||"_";var a,l=this.lang||"zxx";if(a=this.region)l+=b+a;if(a=this.variant)l+=b+a;return l};f.getIcon=function(){for(var b=3,a,l,c=["variant",
"region","lang"],p=[];0!==b--;)if(a=c[b],l=this[a])p.push(a),p.push(a+"-"+l.toLowerCase());return p.join(" ")};f.isRTL=function(){return!!c[String(this.lang).toLowerCase()]};f=null;return g}({},v,u));n.register("$23",{"\u00e1":"a","\u00e0":"a","\u0103":"a","\u1eaf":"a","\u1eb1":"a","\u1eb5":"a","\u1eb3":"a","\u00e2":"a","\u1ea5":"a","\u1ea7":"a","\u1eab":"a","\u1ea9":"a","\u01ce":"a","\u00e5":"a","\u01fb":"a","\u00e4":"a","\u01df":"a","\u00e3":"a","\u0227":"a","\u01e1":"a","\u0105":"a","\u0101":"a",
"\u1ea3":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1eb7":"a","\u1ead":"a","\u1e01":"a","\u01fd":"\u00e6","\u01e3":"\u00e6","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0107":"c","\u0109":"c","\u010d":"c","\u010b":"c","\u00e7":"c","\u1e09":"c","\u010f":"d","\u1e0b":"d","\u1e11":"d","\u0111":"d","\u1e0d":"d","\u1e13":"d","\u1e0f":"d","\u00f0":"d","\ua77a":"d","\u01c6":"\u01f3","\u00e9":"e","\u00e8":"e","\u0115":"e","\u00ea":"e","\u1ebf":"e","\u1ec1":"e","\u1ec5":"e","\u1ec3":"e","\u011b":"e","\u00eb":"e",
"\u1ebd":"e","\u0117":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u1ebb":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u1e19":"e","\u1e1b":"e","\u1e1f":"f","\ua77c":"f","\u01f5":"g","\u011f":"g","\u011d":"g","\u01e7":"g","\u0121":"g","\u0123":"g","\u1e21":"g","\ua7a1":"g","\u1d79":"g","\u0125":"h","\u021f":"h","\u1e27":"h","\u1e23":"h","\u1e29":"h","\u0127":"h","\u210f":"h","\u1e25":"h","\u1e2b":"h","\u1e96":"h","\u00ed":"i","\u00ec":"i","\u012d":"i",
"\u00ee":"i","\u01d0":"i","\u00ef":"i","\u1e2f":"i","\u0129":"i","\u012f":"i","\u012b":"i","\u1ec9":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u1e2d":"i","\u0135":"j","\u01f0":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\ua7a3":"k","\u1e33":"k","\u1e35":"k","\u013a":"l","\u013e":"l","\u013c":"l","\u0142":"l","\u1e37":"l","\u1e39":"l","\u1e3d":"l","\u1e3b":"l","\u0140":"l","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0144":"n","\u01f9":"n","\u0148":"n","\u00f1":"n","\u1e45":"n","\u0146":"n","\ua7a5":"n",
"\u1e47":"n","\u1e4b":"n","\u1e49":"n","\u00f3":"o","\u00f2":"o","\u014f":"o","\u00f4":"o","\u1ed1":"o","\u1ed3":"o","\u1ed7":"o","\u1ed5":"o","\u01d2":"o","\u00f6":"o","\u022b":"o","\u0151":"o","\u00f5":"o","\u1e4d":"o","\u1e4f":"o","\u022d":"o","\u022f":"o","\u0231":"o","\u00f8":"o","\u01ff":"o","\u01eb":"o","\u01ed":"o","\u014d":"o","\u1e53":"o","\u1e51":"o","\u1ecf":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edb":"o","\u1edd":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o",
"\u1e55":"p","\u1e57":"p","\u0155":"r","\u0159":"r","\u1e59":"r","\u0157":"r","\ua7a7":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u1e5f":"r","\ua783":"r","\u015b":"s","\u1e65":"s","\u015d":"s","\u0161":"s","\u1e67":"s","\u1e61":"s","\u015f":"s","\ua7a9":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u017f":"s","\ua785":"s","\u1e9b":"s","\u0165":"t","\u1e97":"t","\u1e6b":"t","\u0163":"t","\u1e6d":"t","\u021b":"t","\u1e71":"t","\u1e6f":"t","\ua787":"t","\u00fa":"u","\u00f9":"u","\u016d":"u",
"\u00fb":"u","\u01d4":"u","\u016f":"u","\u00fc":"u","\u01d8":"u","\u01dc":"u","\u01da":"u","\u01d6":"u","\u0171":"u","\u0169":"u","\u1e79":"u","\u0173":"u","\u016b":"u","\u1e7b":"u","\u1ee7":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1ee9":"u","\u1eeb":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u1e77":"u","\u1e75":"u","\u1e7d":"v","\u1e7f":"v","\u1e83":"w","\u1e81":"w","\u0175":"w","\u1e98":"w","\u1e85":"w","\u1e87":"w","\u1e89":"w","\u1e8d":"x","\u1e8b":"x","\u00fd":"y",
"\u1ef3":"y","\u0177":"y","\u1e99":"y","\u00ff":"y","\u1ef9":"y","\u1e8f":"y","\u0233":"y","\u1ef7":"y","\u1ef5":"y","\u017a":"z","\u1e91":"z","\u017e":"z","\u017c":"z","\u1e93":"z","\u1e95":"z","\u01ef":"\u0292","\u1f00":"\u03b1","\u1f04":"\u03b1","\u1f84":"\u03b1","\u1f02":"\u03b1","\u1f82":"\u03b1","\u1f06":"\u03b1","\u1f86":"\u03b1","\u1f80":"\u03b1","\u1f01":"\u03b1","\u1f05":"\u03b1","\u1f85":"\u03b1","\u1f03":"\u03b1","\u1f83":"\u03b1","\u1f07":"\u03b1","\u1f87":"\u03b1","\u1f81":"\u03b1",
"\u03ac":"\u03b1","\u1f71":"\u03b1","\u1fb4":"\u03b1","\u1f70":"\u03b1","\u1fb2":"\u03b1","\u1fb0":"\u03b1","\u1fb6":"\u03b1","\u1fb7":"\u03b1","\u1fb1":"\u03b1","\u1fb3":"\u03b1","\u1f10":"\u03b5","\u1f14":"\u03b5","\u1f12":"\u03b5","\u1f11":"\u03b5","\u1f15":"\u03b5","\u1f13":"\u03b5","\u03ad":"\u03b5","\u1f73":"\u03b5","\u1f72":"\u03b5","\u1f20":"\u03b7","\u1f24":"\u03b7","\u1f94":"\u03b7","\u1f22":"\u03b7","\u1f92":"\u03b7","\u1f26":"\u03b7","\u1f96":"\u03b7","\u1f90":"\u03b7","\u1f21":"\u03b7",
"\u1f25":"\u03b7","\u1f95":"\u03b7","\u1f23":"\u03b7","\u1f93":"\u03b7","\u1f27":"\u03b7","\u1f97":"\u03b7","\u1f91":"\u03b7","\u03ae":"\u03b7","\u1f75":"\u03b7","\u1fc4":"\u03b7","\u1f74":"\u03b7","\u1fc2":"\u03b7","\u1fc6":"\u03b7","\u1fc7":"\u03b7","\u1fc3":"\u03b7","\u1f30":"\u03b9","\u1f34":"\u03b9","\u1f32":"\u03b9","\u1f36":"\u03b9","\u1f31":"\u03b9","\u1f35":"\u03b9","\u1f33":"\u03b9","\u1f37":"\u03b9","\u03af":"\u03b9","\u1f77":"\u03b9","\u1f76":"\u03b9","\u1fd0":"\u03b9","\u1fd6":"\u03b9",
"\u03ca":"\u03b9","\u0390":"\u03b9","\u1fd3":"\u03b9","\u1fd2":"\u03b9","\u1fd7":"\u03b9","\u1fd1":"\u03b9","\u1f40":"\u03bf","\u1f44":"\u03bf","\u1f42":"\u03bf","\u1f41":"\u03bf","\u1f45":"\u03bf","\u1f43":"\u03bf","\u03cc":"\u03bf","\u1f79":"\u03bf","\u1f78":"\u03bf","\u1fe4":"\u03c1","\u1fe5":"\u03c1","\u1f50":"\u03c5","\u1f54":"\u03c5","\u1f52":"\u03c5","\u1f56":"\u03c5","\u1f51":"\u03c5","\u1f55":"\u03c5","\u1f53":"\u03c5","\u1f57":"\u03c5","\u03cd":"\u03c5","\u1f7b":"\u03c5","\u1f7a":"\u03c5",
"\u1fe0":"\u03c5","\u1fe6":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u1fe3":"\u03c5","\u1fe2":"\u03c5","\u1fe7":"\u03c5","\u1fe1":"\u03c5","\u1f60":"\u03c9","\u1f64":"\u03c9","\u1fa4":"\u03c9","\u1f62":"\u03c9","\u1fa2":"\u03c9","\u1f66":"\u03c9","\u1fa6":"\u03c9","\u1fa0":"\u03c9","\u1f61":"\u03c9","\u1f65":"\u03c9","\u1fa5":"\u03c9","\u1f63":"\u03c9","\u1fa3":"\u03c9","\u1f67":"\u03c9","\u1fa7":"\u03c9","\u1fa1":"\u03c9","\u03ce":"\u03c9","\u1f7d":"\u03c9","\u1ff4":"\u03c9","\u1f7c":"\u03c9",
"\u1ff2":"\u03c9","\u1ff6":"\u03c9","\u1ff7":"\u03c9","\u1ff3":"\u03c9","\u0491":"\u0433","\u0450":"\u0435","\u0451":"\u0435","\u04c2":"\u0436","\u045d":"\u0438","\u04e3":"\u0438","\u04ef":"\u0443"});n.register("$10",function(g,f,k){g.init=function(){function f(a){return e[a]||a}function d(a,b,l,c){b=a.split(b);for(var e=b.length;0!==e--;)(a=b[e])&&null==c[a]&&(l.push(a),c[a]=!0);return l}function c(a){return d(String(a||"").toLowerCase().replace(h,f),p,[],{})}function b(a,b){for(var c=[],s={},e,
w=b.length,A=p;0!==w--;)(e=b[w])&&d(String(e||"").toLowerCase().replace(h,f),A,c,s);l[a]=c}function a(a,b){var c=[],e=-1,h=l,p=h.length,d,f,g,q,z,F,m=a.length,k=b?!0:!1;a:for(;++e<p;)if(g=h[e],null!=g&&(q=g.length)){z=0;b:for(;z<m;z++){F=a[z];for(d=0;d<q;d++)if(f=g[d],0===f.indexOf(F))continue b;continue a}c.push(k?b[e]:e)}return c}var l=[],h=/[^a-z0-9]/g,p=/[\-_\s.?!;:,*^+=~`"(){}<>\[\]\/\\\u00a0\u1680\u180e\u2000-\u206f\u2e00-\u2e7f\u3000-\u303f]+/,e=n.require("$23","flatten.json");return{split:c,
pull:function(b,c){return a(b,c)},find:function(b,l){return a(c(b),l)},add:function(a,b){l[a]=c(b)},push:function(a){b(l.length,a)},index:function(a,c){b(a,c)},size:function(){return l.length},clear:function(){l=[]},remove:function(a){l[a]=null}}};return g}({},v,u));n.register("$11",function(g,f,n){g.listen=function(g,d){function c(){r[h?"show":"hide"]()}function b(a){y&&g.setAttribute("size",2+a.length);h=a;c();return a}function a(){p=null;d(h)}function l(){var c=g.value;x&&c===x&&(c="");c!==h&&
(p&&clearTimeout(p),b(c),e?p=setTimeout(a,e):a())}g instanceof jQuery&&(g=g[0]);var h,p,e=150,x=f.attachEvent&&g.getAttribute("placeholder"),y=1===Number(g.size),r=k('<a href="#clear" tabindex="-1" class="icon clear"><span>clear</span></a>').click(function(){g.value="";l();return!1});b(g.value);k(g).on("input blur focus",function(){l();return!0}).after(r);c();return{delay:function(a){e=a},ping:function(c){c?(p&&clearTimeout(p),c=g.value,x&&c===x&&(c=""),b(c),a(),c=void 0):c=l();return c},val:function(a){if(null==
a)return h;p&&clearTimeout(p);g.value=b(a);c()},el:function(){return g},blur:function(a){return k(g).on("blur",a)},destroy:function(){p&&clearTimeout(p)}}};return g}({},v,u));n.register("$12",function(g,f,n){function m(b,a){this.$element=k(b);this.options=a;this.enabled=!0;this.fixTitle()}g.init=function(b,a){var l={fade:!0,offset:5,delayIn:d,delayOut:c,anchor:b.attr("data-anchor"),gravity:b.attr("data-gravity")||"s"};a&&(l=k.extend({},l,a));b.tipsy(l)};g.delays=function(b,a){d=b||150;c=a||100};g.kill=
function(){k("div.tipsy").remove()};g.text=function(b,a){a.data("tipsy").setTitle(b)};var d,c;g.delays();k(n.body).on("overlayOpened overlayClosing",function(b){g.kill();return!0});m.prototype={show:function(){var b=this.getTitle();if(b&&this.enabled){var a=this.tip();a.find(".tipsy-inner")[this.options.html?"html":"text"](b);a[0].className="tipsy";a.remove().css({top:0,left:0}).prependTo(n.body);var b=(b=this.options.anchor)?this.$element.find(b):this.$element,b=k.extend({},b.offset(),{width:b[0].offsetWidth,
height:b[0].offsetHeight}),c=a[0].offsetWidth,h=a[0].offsetHeight,p="function"==typeof this.options.gravity?this.options.gravity.call(this.$element[0]):this.options.gravity,e;switch(p.charAt(0)){case "n":e={top:b.top+b.height+this.options.offset,left:b.left+b.width/2-c/2};break;case "s":e={top:b.top-h-this.options.offset,left:b.left+b.width/2-c/2};break;case "e":e={top:b.top+b.height/2-h/2,left:b.left-c-this.options.offset};break;case "w":e={top:b.top+b.height/2-h/2,left:b.left+b.width+this.options.offset}}2==
p.length&&("w"==p.charAt(1)?e.left=b.left+b.width/2-15:e.left=b.left+b.width/2-c+15);a.css(e).addClass("tipsy-"+p);a.find(".tipsy-arrow")[0].className="tipsy-arrow tipsy-arrow-"+p.charAt(0);this.options.className&&a.addClass("function"==typeof this.options.className?this.options.className.call(this.$element[0]):this.options.className);a.addClass("in")}},hide:function(){this.tip().remove()},fixTitle:function(){var b=this.$element,a=b.attr("title")||"";(a||"string"!==typeof b.attr("original-title"))&&
b.attr("original-title",a).removeAttr("title")},getTitle:function(){var b,a=this.$element,c=this.options;this.fixTitle();"string"==typeof c.title?b=a.attr("title"==c.title?"original-title":c.title):"function"==typeof c.title&&(b=c.title.call(a[0]));return(b=(""+b).replace(/(^\s*|\s*$)/,""))||c.fallback},setTitle:function(b){var a=this.$element;a.attr("default-title")||a.attr("default-title",this.getTitle());null==b&&(b=a.attr("default-title")||this.getTitle());a.attr("original-title",b);if(this.$tip)this.$tip.find(".tipsy-inner")[this.options.html?
"html":"text"](b)},tip:function(){this.$tip||(this.$tip=k('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>'),this.$tip.data("tipsy-pointee",this.$element[0]));return this.$tip},validate:function(){this.$element[0].parentNode||(this.hide(),this.options=this.$element=null)},enable:function(){this.enabled=!0},disable:function(){this.hide();this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled}};k.fn.tipsy=function(b){function a(a){var c=
k.data(a,"tipsy");c||(c=new m(a,k.fn.tipsy.elementOptions(a,b)),k.data(a,"tipsy",c));return c}function c(){var l=a(this),e=b.delayIn;l.hoverState="in";0==e?l.show():(l.fixTitle(),setTimeout(function(){"in"==l.hoverState&&l.show()},e))}function h(){var c=a(this),l=b.delayOut;c.hoverState="out";0==l?c.hide():(c.tip().removeClass("in"),setTimeout(function(){"out"==c.hoverState&&c.hide()},l))}b=k.extend({},k.fn.tipsy.defaults,b);b.live||this.each(function(){a(this)});if("manual"!=b.trigger){var p=b.live?
"live":"bind",e="hover"==b.trigger?"mouseleave":"blur";this[p]("hover"==b.trigger?"mouseenter":"focus",c)[p](e,h)}return this};k.fn.tipsy.defaults={className:null,delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,offset:0,opacity:0.8,title:"title",trigger:"hover",anchor:null};k.fn.tipsy.elementOptions=function(b,a){return k.metadata?k.extend({},a,k(b).metadata()):a};k.fn.tipsy.autoNS=function(){return k(this).offset().top>k(n).scrollTop()+k(f).height()/2?"s":"n"};k.fn.tipsy.autoWE=
function(){return k(this).offset().left>k(n).scrollLeft()+k(f).width()/2?"e":"w"};k.fn.tipsy.autoBounds=function(b,a){return function(){var c=a[0],h=1<a.length?a[1]:!1,p=k(n).scrollTop()+b,e=k(n).scrollLeft()+b,d=k(this);d.offset().top<p&&(c="n");d.offset().left<e&&(h="w");k(f).width()+k(n).scrollLeft()-d.offset().left<b&&(h="e");k(f).height()+k(n).scrollTop()-d.offset().top<b&&(c="s");return c+(h?h:"")}};return g}({},v,u));n.register("$37",function(g,f,k){"".localeCompare||(String.prototype.localeCompare=
function(){return 0});"".trim||(String.prototype.trim=function(){return n.require("$6","string.js").trim(this," \n\r\t")});g.html=function(){function f(){b=/[<>&]/g;a=/(\r\n|\n|\r)/g;l=/(?:https?):\/\/(\S+)/ig;h=location.hostname;f=null}function d(a){return"&#"+a.charCodeAt(0)+";"}function c(a,b){return'<a href="'+a+'" target="'+(b.indexOf(h)?"_blank":"_top")+'">'+b+"</a>"}var b,a,l,h;return function(h,e){f&&f();var x=h.replace(b,d);e&&(x=x.replace(l,c).replace(a,"<br />"));return x}}();return g}({},
v,u));n.register("$38",function(g,f,k){function m(){}var d,c,b=n.require("$22","rtl.json");g.init=function(){return new m};g.cast=function(a){return a instanceof m?a:"string"===typeof a?g.parse(a):g.clone(a)};g.clone=function(a){var b,c=new m;for(b in a)c[b]=a[b];return c};g.parse=function(a){d||(c=/[-_+]/,d=/^([a-z]{2,3})(?:-([a-z]{4}))?(?:-([a-z]{2}|[0-9]{3}))?(?:-([0-9][a-z0-9]{3,8}|[a-z0-9]{5,8}))?(?:-([a-z]-[-a-z]+))?$/i);a=String(a).split(c).join("-");if(!d.exec(a))return null;var b=new m;b.lang=
RegExp.$1.toLowerCase();if(a=RegExp.$2)b.script=a.charAt(0).toUpperCase()+a.substr(1).toLowerCase();if(a=RegExp.$3)b.region=a.toUpperCase();if(a=RegExp.$4)b.variant=a.toLowerCase();if(a=RegExp.$5)b.extension=a;return b};f=m.prototype;f.isValid=function(){return!!this.lang};f.isKnown=function(){var a=this.lang;return!(!a||"zxx"===a)};f.toString=function(a){a=a||"-";var b,c=this.lang||"zxx";if(b=this.script)c+=a+b;if(b=this.region)c+=a+b;if(b=this.variant)c+=a+b;if(b=this.extension)c+=a+b;return c};
f.getIcon=function(){for(var a=4,b,c,d=["variant","region","script","lang"],e=[];0!==a--;)if(b=d[a],c=this[b])c.join&&(c=c.join("-")),1===a&&3===c.length?e.push("region-m49"):e=e.concat([b,b+"-"+c.toLowerCase()]);return e.join(" ")};f.isRTL=function(){return!!b[String(this.script||this.lang).toLowerCase()]};f=null;return g}({},v,u));n.register("$39",function(g,f,k){function m(a){f.console&&console.error&&console.error(a)}function d(){m("Method not implemented")}function c(){}function b(a){}c.prototype.toString=
function(){return"[Undefined]"};b.prototype._validate=function(a){var b,h,p=!0;for(b in this)h=this[b],h===d?(m(a+"."+b+"() must be implemented"),p=!1):h instanceof c&&(m(a+"."+b+" must be defined"),p=!1);return p};g.init=function(a,l){var h,p=new b;if(a)for(h=a.length;0!==h--;)p[a[h]]=d;if(l)for(h=l.length;0!==h--;)p[l[h]]=new c;return p};g.validate=function(a){var b=/function (\w+)\(/.exec(a.toString())?RegExp.$1:"";a.prototype._validate(b||"Object")};return g}({},v,u));n.register("$50",function(g,
f,k){var m=f.requestAnimationFrame,d=f.cancelAnimationFrame,c=0;if(!m||!d)for(var b in{ms:1,moz:1,webkit:1,o:1})if(m=f[b+"RequestAnimationFrame"])if(d=f[b+"CancelAnimationFrame"]||f[b+"CancelRequestAnimationFrame"])break;m&&d||(m=function(b){var h=a();timeToCall=Math.max(0,16-(h-c));nextTime=h+timeToCall;timerId=f.setTimeout(function(){b(nextTime)},timeToCall);c=nextTime;return timerId},d=function(a){clearTimeout(a)});var a=Date.now||function(){return(new Date).getTime()};g.loop=function(a,b){function c(){f=
m(c,b);a(e++)}var e=0,f;c();return{stop:function(){f&&d(f);f=null}}};return g}({},v,u));n.register("$47",function(g,f,k){function m(a,c,e,l){if(b){var h=e;e=function(a){if((a.MSPOINTER_TYPE_TOUCH||"touch")===a.pointerType)return h(a)}}a.addEventListener(c,e,l);return{unbind:function(){a.removeEventListener(c,e,l)}}}function d(a){a.preventDefault();a.stopPropagation();return!1}var c,b=!!f.navigator.msPointerEnabled,a=b?"MSPointerDown":"touchstart",l=b?"MSPointerMove":"touchmove",h=b?"MSPointerUp":
"touchend";g.ok=function(a){null==c&&(c="function"===typeof k.body.addEventListener);c&&a&&a(g);return c};g.ms=function(){return b};g.dragger=function(b,c){function e(a){b.addEventListener(a,f[a],!1)}function s(a){b.removeEventListener(a,f[a],!1)}var f={};f[a]=function(b){p(b,function(e,l){l.type=a;c(b,l,g)});e(l);e(h);return!0};f[h]=function(a){s(l);s(h);p(a,function(b,e){e.type=h;c(a,e,g)});return!0};f[l]=function(a){p(a,function(b,e){e.type=l;c(a,e,g)});return d(a)};e(a);var g={kill:function(){s(a);
s(l);s(h);b=g=c=null}};return g};g.swiper=function(c,f,g){function s(a){c.addEventListener(a,q[a],!1)}function D(a){c.removeEventListener(a,q[a],!1)}function w(){A&&A.stop();A=null}var A,G,E,q={},z=[],F=[],k=[];q[a]=function(a){G=!1;w();var b=e();p(a,function(a,c){z[a]=b;F[a]=c.clientX;k[a]=c.clientY});E=c.scrollLeft;return!0};q[h]=function(a){p(a,function(a,b){var c=e()-z[a],l=F[a]-b.clientX,c=Math.abs(l)/c;f(c,l?0>l?-1:1:0)});E=null;return!0};q[l]=function(a){var b,e;null==E||p(a,function(a,c){b=
F[a]-c.clientX;e=k[a]-c.clientY});if(e&&Math.abs(e)>Math.abs(b))return G=!0;b&&(G=!0,c.scrollLeft=Math.max(0,E+b));return d(a)};if(!b||g)s(a),s(l),s(h),b&&(c.className+=" mstouch");return{kill:function(){D(a);D(l);D(h);w()},swiped:function(){return G},ms:function(){return b},snap:function(a){b&&!g&&(c.style["-ms-scroll-snap-points-x"]="snapInterval(0px,"+a+"px)",c.style["-ms-scroll-snap-type"]="mandatory",c.style["-ms-scroll-chaining"]="none")},scroll:function(a,b,e){w();var l=c.scrollLeft,z=a>l?
1:-1,h=Math[1===z?"min":"max"],d=Math.round(16*b*z);return A=n.require("$50","fps.js").loop(function(b){b&&(l=Math.max(0,h(a,l+d)),c.scrollLeft=l,a===l&&(w(),e&&e(l)))},c)}}};g.start=function(b,c){return m(b,a,c,!1)};g.move=function(a,b){return m(a,l,b,!1)};g.end=function(a,b){return m(a,h,b,!1)};var p=g.each=function(a,c){if(b)(a.MSPOINTER_TYPE_TOUCH||"touch")===a.pointerType&&c(0,a);else for(var e=-1,l=(a.originalEvent||a).changedTouches||[];++e<l.length;)c(e,l[e])},e=Date.now||function(){return(new Date).getTime()};
return g}({},v,u));n.register("$51",function(g,f,n){g.init=function(f){function d(){l.style.top=String(-f.scrollTop)+"px";return!0}function c(){var a=l;a.textContent=f.value;a.innerHTML=a.innerHTML.replace(/[ \t]/g,b).split(/(?:\n|\r\n?)/).join('<span class="eol crlf"></span>\r\n')+'<span class="eol eof"></span>';return!0}function b(a){return'<span class="x'+a.charCodeAt(0).toString(16)+'">'+a+"</span>"}var a=f.parentNode,l=a.insertBefore(n.createElement("div"),f);k(f).on("input",c).on("scroll",d);
k(a).addClass("has-mirror");l.className="ta-mirror";var h=f.offsetWidth-f.clientWidth;2<h&&(l.style.marginRight=String(h-2)+"px");c();d();return{kill:function(){k(f).off("input",c).off("scroll",d);a.removeChild(l);l=null;k(a).removeClass("has-mirror")}}};return g}({},v,u));n.register("$30",function(g,f,k){function m(b,a){for(var c=0,h=-1,p=a&&f[a],e=d[b]||[],g=e.length;++h<g;)callback=e[h],"function"===typeof callback&&(callback(p),c++);return c}var d={},c;g.load=function(b,a,c){function h(){g&&(clearTimeout(g),
g=null);y&&(y.onreadystatechange=null,y=y=y.onload=null);b&&(delete d[b],b=null)}function p(a,e){var d=y&&y.readyState;if(e||!d||"loaded"===d||"complete"===d)e||m(b,c),h()}function e(){if(0===m(b))throw Error('Failed to load "'+(c||b)+'"');h()}if(c&&f[c])"function"===typeof a&&a(f[c]);else if(null!=d[b])d[b].push(a);else{d[b]=[a];var g=setTimeout(e,4E3),y=k.createElement("script");y.setAttribute("src",b);y.setAttribute("async","true");y.onreadystatechange=p;y.onload=p;y.onerror=e;y.onabort=h;k.getElementsByTagName("head")[0].appendChild(y)}};
g.stat=function(b){var a;if(!(a=c)){for(var l,h,d=k.getElementsByTagName("script"),e=-1,f=d.length;++e<f;)if(a=d[e].getAttribute("src"))if(l=a.indexOf("/lib/vendor"),-1!==l){h=a.substr(0,l);break}a=c=h||"/static"}return a+b};return g}({},v,u));n.register("$16",function(g,f,B){function m(a,b){a.setReadOnly(!1);a.on("change",function(a,c){return b.val(c.getValue())});a.on("focus",function(){return b.focus()});a.on("blur",function(){return b.blur()})}function d(a){a.off("change");a.off("focus");a.off("blur")}
function c(a){d(a);a.setReadOnly(!0);a.setHighlightGutterLine(!1);a.setHighlightActiveLine(!1)}function b(b,c){function l(){this.HighlightRules=h}var h=a(c),d=b.require,f=d("ace/lib/oop");f.inherits(h,d("ace/mode/text_highlight_rules").TextHighlightRules);f.inherits(l,d("ace/mode/text").Mode);return new l}function a(a){return function(){var b={start:[{token:"empty_line",regex:/^$/},{token:"constant.language",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"},{token:"constant.language",
regex:/<!\[CDATA\[/},{token:"constant.language",regex:/\]\]>/},{token:"locked",regex:/<(?:xliff:)?(?:g|ph)[^>]*>[^<]*<\/(?:xliff:)?(?:g|ph)>/},{token:"locked",regex:/<(?:xliff:)?(bx|ex|x)[^\/>]*\/>/},{token:"constant.language",regex:/<\/?[:a-z]+[^>]*>/}]},c=l(a);"icu"===a?b={start:b.start.concat([{token:"icu-quoted",regex:/'([{}][^']*)?'/},{token:"printf",regex:"{[^!-/:-@\\[-^{-~\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a9\u00ab\u00ac\u00ae\u00b0\u00b1\u00b6\u00bb\u00bf\u00d7\u00f7\\u2010-\\u2027\\u2030-\\u203E\\u2041-\\u2053\\u2055-\\u205E\\u2190-\\u245F\\u2500-\\u2775\\u2794-\\u2BFF\\u2E00-\\u2E7F\\u3001-\\u3003\\u3008-\\u3020\\u3030\\uFD3E\\uFD3F\\uFE45\\uFE46]+(,[\\s\\u0085\\u200E\\u200F\\u2028\\u2029]*(?:number|date|time|spellout|ordinal|duration)[\\s\\u0085\\u200E\\u200F\\u2028\\u2029]*(,[\\s\\u0085\\u200E\\u200F\\u2028\\u2029]*[^{}]+)?)?}"},
{token:"icu",regex:/{/,next:"icuName"},{token:"icu",regex:/}/,next:"icuType"}]),icuName:[{token:"icu",regex:"[\\s\\u0085\\u200E\\u200F\\u2028\\u2029]+"},{token:"icu.name",regex:"[^\\s\\u0085\\u200E\\u200F\\u2028\\u2029!-/:-@\\[-^{-~\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a9\u00ab\u00ac\u00ae\u00b0\u00b1\u00b6\u00bb\u00bf\u00d7\u00f7\\u2010-\\u2027\\u2030-\\u203E\\u2041-\\u2053\\u2055-\\u205E\\u2190-\\u245F\\u2500-\\u2775\\u2794-\\u2BFF\\u2E00-\\u2E7F\\u3001-\\u3003\\u3008-\\u3020\\u3030\\uFD3E\\uFD3F\\uFE45\\uFE46]+",
next:"icuType"},{defaultToken:"icu",next:"icuType"}],icuType:[{token:"icu",regex:/[{}]/,next:"start"},{defaultToken:"icu"}]}:c&&b.start.push({token:"printf",regex:c});this.$rules=b}}function l(a){switch(a){case "objc":return/%(?:\d+\$)?[-+'0# ]*\d*(?:\.\d+|\.\*(?:\d+\$)?)?(?:hh?|ll?|[qjzTL])?[sScCdDioOuUxXfFeEgGaAp%@]/;case "java":return/%(?:\d+\$)?[-+,(0# ]*\d*(?:\.\d+)?(?:[bBhHsScCdoxXeEfgGaA%n]|[tT][HIklMSLNpzZsQBbhAaCYyjmdeRTrDFc])/;case "php":return/%(?:\d+\$)?(?:'.|[-+0 ])*\d*(?:\.\d+)?[suxXbcdeEfFgGo%]/;
case "python":return/%(?:\([a-z]+\))?[-+0# ]*(?:\d+|\*)?(?:\.\d+|\.\*)?(?:[hlL])?[sdiouxXeEfFgGcra%]/;case "javascript":return/%(?:[1-9]\d*\$)?\+?(?:0|'[^$])?-?\d*(?:\.\d+)?[b-gijostTuvxX%]/;case "auto":return/%(?:\d+\$|\([a-z]+\))?(?:[-+0]?\d*(\.\d+)?[duxoefgaDUXOEFGA]|[@scSC%])/;case p:return h||"%%"}}var h,p="auto";g.init=function(a,l,h){var g,s=!1,D=h||p,w=a.parentNode,A=w.appendChild(B.createElement("div"));k(w).addClass("has-proxy has-ace");n.require("$30","remote.js").load("https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.1/ace.js",
function(h){if(A){if(!h)throw Error("Failed to load code editor");g=h.edit(A);var d=g.session,f=g.renderer;g.$blockScrolling=Infinity;g.setShowInvisibles(s);g.setWrapBehavioursEnabled(!1);g.setBehavioursEnabled(!1);g.setHighlightActiveLine(!1);d.setUseSoftTabs(!1);f.setShowGutter(!0);f.setPadding(10);f.setScrollMargin(8);d.setMode(b(h,D));g.setValue(a.value,-1);d.setUseWrapMode(!0);l?m(g,l):c(g)}},"ace");return{kill:function(){g&&(d(g),g.destroy(),g=null);A&&(w.removeChild(A),k(w).removeClass("has-proxy has-ace"),
A=null);return this},disable:function(){g&&c(g);l=null;return this},enable:function(a){l=a;g&&m(g,a);return this},resize:function(){g&&g.resize();return this},val:function(a){g&&a!==g.getValue()&&g.setValue(a,-1);return this},invs:function(a){a=a||!1;s!==a&&(s=a,g&&g.setShowInvisibles(a));return this},strf:function(a){a=a||p;a!==D&&(D=a,g&&g.session.setMode(b(f.ace,a)));return this},focus:function(){return this}}};g.strf=function(a,b){p=a;h=b;return g};return g}({},v,u));n.register("$52",function(g,
f,B){function m(a,b){function c(){return b.val(a.getContent())}a.on("input",c);a.on("change",c);a.on("focus",function(){return b.focus()});a.on("blur",function(){return b.blur()});a.setMode("design")}function d(a){a.off("input");a.off("change");a.off("focus");a.off("blur")}function c(a){d(a);a.setMode("readonly")}var b=0;g.load=function(a){var b=n.require("$30","remote.js");b.load(b.stat("/lib/tinymce.min.js"),a,"tinymce");return g};g.init=function(a,l){function h(a){y=a;r="<p>"===a.substr(0,3)&&
"</p>"===a.substr(-4);return a.replace(/(<\/?)script/ig,"$1loco:script")}function f(a){e=a;a._getContent=a.getContent;a.getContent=function(a){a=this._getContent(a);a=a.replace(/(<\/?)loco:script/ig,"$1script");if(!r&&"<p>"===a.substr(0,3)&&"</p>"===a.substr(-4)){var b=a.substr(3,a.length-7);if(b===y||-1===b.indexOf("</p>"))a=b}return a};a._setContent=a.setContent;a.setContent=function(a,b){return this._setContent(h(a),b)};l?(m(a,l),l.reset()):c(a);k(w).removeClass("loading")}var e,x=!1,y="",r=!1,
s=a.parentNode,D=s.parentNode,w=s.appendChild(B.createElement("div")),A=D.insertBefore(B.createElement("nav"),s);A.id="_tb"+String(++b);k(s).addClass("has-proxy has-mce");k(w).addClass("mce-content-body loading").html(h(a.value));g.load(function(a){if(!a)throw Error("Failed to load HTML editor");w&&a.init({inline:!0,target:w,hidden_input:!1,theme:"modern",skin:!1,plugins:"link lists",browser_spellcheck:!0,menubar:!1,fixed_toolbar_container:"#"+A.id,toolbar:"formatselect | bold italic link unlink | bullist numlist outdent indent",
block_formats:"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h4;Heading 4=h4;Heading 5=h5;Heading 6=h6;",forced_root_block:"p",relative_urls:!1,convert_urls:!1,remove_script_host:!1,document_base_url:"",allow_script_urls:!1,formats:{alignleft:{classes:"alignleft"},alignright:{selector:"p,h1,h2,h3,h4,span,strong,em,a",classes:"alignright"},aligncenter:{selector:"p,h1,h2,h3,h4,span,strong,em,a",classes:"aligncenter"},strikethrough:{inline:"del"}},fix_list_elements:!0,extended_valid_elements:"span,b,i,u,loco:script",
entities:"38,amp,60,lt,62,gt,160,nbsp",entity_encoding:"named",keep_styles:!1,init_instance_callback:f})});return{val:function(b){b=h(b);null==e?(a.value=b,k(w).html(b)):e.getContent()!==b&&e.setContent(b);l&&l.val(b);return this},kill:function(){e&&(l&&l.val(e.getContent()),d(e),e.destroy(),e=null);w&&(s.removeChild(w),k(s).removeClass("has-proxy has-mce"),w=null);A&&(D.removeChild(A),A=null);return this},enable:function(a){l=a;e&&m(e,a);return this},disable:function(){e&&c(e);l=null;return this},
focus:function(){e&&l&&e.focus();return this},invs:function(a){a=a||!1;x!==a&&(x=a,k(s)[a?"addClass":"removeClass"]("show-invs"));return this}}};return g}({},v,u));n.register("$48",function(g,f,B){function m(b){function a(){g&&(y.off("input",l),g=!1)}function l(){var a=b.value;a!==s&&(y.trigger("changing",[a,s]),s=a)}function d(){l();g&&D!==s&&y.trigger("changed",[s])}function f(){c=b;D=s;g||(y.on("input",l),g=!0);y.trigger("editFocus");r.addClass("has-focus");return!0}function e(){c===b&&(c=null);
y.trigger("editBlur");r.removeClass("has-focus");g&&(d(),a());return!0}var g=!1,y=k(b),r=k(b.parentNode),s=b.value,D;y.blur(e).focus(f);return{val:function(a){s!==a&&(b.value=a,y.triggerHandler("input"),s=a);return!0},kill:function(){a();y.off("blur",e).off("focus",f)},fire:function(){s=null;l()},ping:d,blur:e,focus:f,reset:function(){D=s=b.value}}}function d(b){this.e=b}var c;g._new=function(b){return new d(b)};g.init=function(b){var a=new d(b);b.disabled?(b.removeAttribute("disabled"),a.disable()):
b.readOnly?a.disable():a.enable();return a};TextAreaPrototype=d.prototype;TextAreaPrototype.destroy=function(){this.unlisten();var b=this.p;b&&(b.kill(),this.p=null);this.e=null};TextAreaPrototype.reload=function(b,a){var c=this.l;c&&!a&&(this.disable(),c=null);this.val(b||"");a&&!c&&this.enable();return this};TextAreaPrototype.val=function(b){var a=this.e;if(null==b)return a.value;var c=this.l,d=this.p;d&&d.val(b);c&&c.val(b);c||a.value===b||(a.value=b,k(a).triggerHandler("input"));return this};
TextAreaPrototype.fire=function(){this.l&&this.l.fire();return this};TextAreaPrototype.ping=function(){this.l&&this.l.ping();return this};TextAreaPrototype.focus=function(){var b=this.p;b?b.focus():k(this.e).focus()};TextAreaPrototype.focused=function(){return c&&c===this.el};TextAreaPrototype.parent=function(){return this.e.parentNode};TextAreaPrototype.attr=function(b,a){var c=this.e;if(1===arguments.length)return c.getAttribute(b);null==a?c.removeAttribute(b):c.setAttribute(b,a);return this};TextAreaPrototype.editable=
function(){return!!this.l};TextAreaPrototype.enable=function(){var b=this.p;this.e.removeAttribute("readonly");this.listen();b&&b.enable&&b.enable(this.l);return this};TextAreaPrototype.disable=function(){var b=this.p;this.e.setAttribute("readonly",!0);this.unlisten();b&&b.disable&&b.disable();return this};TextAreaPrototype.listen=function(){var b=this.l;b&&b.kill();this.l=m(this.e);return this};TextAreaPrototype.unlisten=function(){var b=this.l;b&&(b.kill(),this.l=null);return this};TextAreaPrototype.setInvs=
function(b,a){var c=this.i||!1;if(a||c!==b)this._i&&(this._i.kill(),delete this._i),(c=this.p)?c.invs&&c.invs(b):b&&(this._i=n.require("$51","mirror.js").init(this.e)),this.i=b;return this};TextAreaPrototype.getInvs=function(){return this.i||!1};TextAreaPrototype.setMode=function(b){var a=this.p,d=this.i||!1;b!==(this.m||"")&&(this.m=b,a&&a.kill(),this.p=a="code"===b?n.require("$16","ace.js").init(this.e,this.l,this["%"]):"html"===b?n.require("$52","mce.js").init(this.e,this.l):null,this.setInvs(d,
!0),c&&this.focus());return this};TextAreaPrototype.setStrf=function(b){this["%"]=b;"code"===this.m&&this.p.strf(b);return this};TextAreaPrototype.name=function(b){this.e.setAttribute("name",b);return this};TextAreaPrototype.placeholder=function(b){this.e.setAttribute("placeholder",b);return this};TextAreaPrototype.redraw=function(){var b=this.p;b&&b.resize&&b.resize()};TextAreaPrototype=null;return g}({},v,u));n.register("$49",function(g,f,n){function m(a){var b=f.console;b&&b.error&&b.error(a)}
function d(a){var b=n.createElement("div");a&&b.setAttribute("class",a);return b}function c(a){return function(){a.resize();return this}}function b(a){return function(b){for(var c=b.target,e=c.$index;null==e&&"DIV"!==c.nodeName&&(c=c.parentElement);)e=c.$index;null!=e&&(b.stopImmediatePropagation(),a.select(e));return!0}}function a(a){return function(){a.redrawDirty()&&a.redraw();return!0}}function l(a){return function(b){var c;c=b.keyCode;if(40===c)c=1;else if(38===c)c=-1;else return!0;if(b.shiftKey||
b.ctrlKey||b.metaKey||b.altKey)return!0;a.selectNext(c);b.stopPropagation();b.preventDefault();return!1}}function h(a,b,c){function e(a){m("row["+a+"] disappeared");return{cellVal:function(){return""}}}return function(d){var l=b||0,h=c?-1:1,z=a.rows||[];d.sort(function(a,b){return h*(z[a]||e(a)).cellVal(l).localeCompare((z[b]||e(b)).cellVal(l))})}}function p(a){this.w=a}function e(a){this.t=a;this.length=0}function x(a,b,c){var e=n.createElement("div");e.className=c||"";this._=e;this.d=b||[];this.i=
a||0;this.length=b.length}function y(a){this.live=a;this.rows=[]}g.create=function(a){return new p(a)};var r=p.prototype;r.init=function(e){var h=this.w,f=h.id,p=h.splity(f+"-thead",f+"-tbody"),g=p[0],p=p[1],E=[],q=[],z=[],F=[];if(e)this.ds=e,this.idxs=q,this._idxs=null;else if(!(e=this.ds))throw Error("No datasource");g.css.push("wg-thead");p.css.push("wg-tbody");e.eachCol(function(a,b,c){z[a]=f+"-col-"+b;F[a]=c||b});for(var r=d(),y=-1,m=z.length,n=d("wg-cols"),B=g.splitx.apply(g,z);++y<m;)B[y].header(F[y]),
n.appendChild(r.cloneNode(!1)).setAttribute("for",z[y]);e.eachRow(function(a,b,c){E[a]=new x(a,b,c);q[a]=a});this.rows=E;this.cols=n;this.ww=null;this.root=r=p.body;this.head=g;g.redraw=c(this);g=p.fixed=B[0].bodyY()||20;h.lock().resize(g,p);h.css.push("is-table");h.restyle();this.sc?this._re_sort(m):e.sort&&e.sort(q);this.redrawDirty();this.render();k(r).attr("tabindex","-1").on("keydown",l(this)).on("mousedown",b(this)).on("scroll",a(this));return this};r.clear=function(){for(var a=this.pages||
[],b=a.length;0!==b--;)a[b].destroy();this.pages=[];this.sy=this.mx=this.mn=this.vh=null;void 0;return this};r.render=function(){for(var a,b,c=[],e=this.rows||[],d=-1,l,h=this.idxs,z=h.length,f=this.idxr={},p=this.r,g=this._r,x=this.root,k=this.cols;++d<z;){0===d%100&&(a=k.cloneNode(!0),b=new y(a),b.h=2200,b.insert(x),c.push(b));l=h[d];f[l]=d;a=e[l];if(null==a)throw Error("Render error, no data at ["+l+"]");a.page=b;b.rows.push(a)}b&&100!==b.size()&&b.sleepH(22);this.pages=c;this.mx=this.mn=null;
this.redrawDirty();this.redraw();null==p?null!=g&&(a=e[g])&&a.page&&(delete this._r,this.select(g,!0)):(a=e[p])&&a.page?this.select(p,!0):(this.deselect(),this._r=p);return this};r.resize=function(){var a=-1,b=this.ww||(this.ww=[]),c=this.w,e=c.cells[0],d=e.body.childNodes,l=d.length,h=this.pages||[],z=h.length;for(c.redraw.call(e);++a<l;)b[a]=d[a].style.width;if(z){c=this.mx;for(a=this.mn;a<=c;a++)h[a].widths(b);this.redrawDirty()&&this.redraw()}};r.redrawDirty=function(){var a=!1,b=this.root,c=
b.scrollTop,b=b.clientHeight;this.sy!==c&&(a=!0,this.sy=c);this.vh!==b&&(a=!0,this.vh=b);return a};r.redraw=function(){for(var a=0,b=-1,c=null,e=null,d=this.ww,l=this.sy,h=this.vh,z=this.mn,f=this.mx,p=Math.max(0,l-100),l=h+l+100,g=this.pages||[],x=g.length;++b<x&&!(a>l);)h=g[b],a+=h.height(),a<p||(null===c&&(c=b),e=b,h.rendered||h.render(d));if(z!==c){if(null!==z&&c>z)for(b=z;b<c;b++){h=g[b];if(!h)throw Error("Shit!");h.rendered&&h.sleep()}this.mn=c}if(f!==e){if(null!==f&&e<f)for(b=f;b>e;b--)h=g[b],
h.rendered&&h.sleep();this.mx=e}};r.selected=function(){return this.r};r.thead=function(){return this.w.cells[0]};r.tbody=function(){return this.w.cells[1]};r.tr=function(a){return(a=this.row(a))?a.cells():[]};r.row=function(a){return this.rows[a]};r.td=function(a,b){return this.tr(a)[b]};r.next=function(a,b,c){null==c&&(c=this.r||0);var e=this.idxs,h=e.length,d=(this.idxr||{})[c];for(c=d;c!==(d+=a)&&!(0<=d&&h>d);)if(b&&h)d=1===a?-1:h,b=!1;else return null;c=e[d];return null==c||null==this.rows[c]?
(m("Bad next: ["+d+"] does not map to data row"),null):c};r.selectNext=function(a,b,c){a=this.next(a,b);null!=a&&this.r!==a&&this.select(a,c);return this};r.deselect=function(a){var b=this.r;null!=b&&(this.r=null,k(this.tr(b)).removeClass("selected"),this.w.fire("wgRowDeselect",[b,a]));return this};r.selectRow=function(a,b){return this.select(this.idxs[a])};r.select=function(a,b){var c=this.rows[a],e=c&&c.page;if(!e)return this.deselect(!1),m("Row is filtered out"),this;this.deselect(!0);var d,h=
this.w.cells[1];e.rendered||(d=e.top(),h.scrollY(d),this.redrawDirty()&&this.redraw());if(!c.rendered)return e.rendered||m("Failed to render page"),m("Row ["+c.i+"] not rendered"),this;e=c.cells();k(e).addClass("selected");this.r=a;b||(d=h.scrollY(),k(this.root).focus(),d!==h.scrollY()&&h.scrollY(d));h.scrollTo(e[0],!0);this.w.fire("wgRowSelect",[a,c.data()]);return this};r.unfilter=function(){this._idxs&&(this.idxs=this._sort(this._idxs),this._idxs=null,this.clear().render());return this};r.filter=
function(a){this._idxs||(this._idxs=this.idxs);this.idxs=this._sort(a);return this.clear().render()};r.each=function(a){for(var b,c=-1,e=this.rows||[],d=this.idxs||[],h=d.length;++c<h;)b=d[c],a(e[b],c,b);return this};r.sortable=function(a){var b=this.sc||(this.sc=new e(this));b.has(a)||b.add(a);return this};r._re_sort=function(a){var b=-1,c=this.sc,d=c.active;for(this.sc=c=new e(this);++b<a;)c.add(b);d&&(b=this.head.indexOf(d.id),-1===b&&(b=Math.min(d.idx,a-1)),this.sort(b,d.desc));return this};r._sort=
function(a,b){b?(this.s=b,b(a)):(b=this.s)&&b(a);return a};r.sort=function(a,b){this._sort(this.idxs,h(this,a,b));this.sc.activate(a,b);return this};r=null;r=e.prototype;r.has=function(a){return null!=this[a]};r.add=function(a){var b=this,c=b.t.head.cells[a];b[a]={desc:null,idx:a,id:c.id};b.length++;c.addClass("wg-sortable").on("click",function(c){if("header"===c.target.nodeName.toLowerCase())return c.stopImmediatePropagation(),b.toggle(a),!1});return b};r.toggle=function(a){this.t.sort(a,!this[a].desc).clear().render();
return this};r.activate=function(a,b){var c,e;c=this.active;var d=this[a],h=this.t.head.cells;c&&(e=h[c.idx])&&(e.removeClass(c.css),c!==d&&e.restyle());(e=h[a])?(d.desc=b,this.active=d,c="wg-"+(b?"desc":"asc"),e.addClass(c).restyle(),d.css=c):this.active=null;return this};r=null;r=x.prototype;r.render=function(a){var b,c=[],e=this._,d=this.length;if(e){for(this.c=c;0!==d--;)b=e.cloneNode(!1),c[d]=this.update(d,b),b.$index=this.i,a[d].appendChild(b);this._=null}else for(c=this.c;0!==d--;)a[d].appendChild(c[d]);
this.rendered=!0;return this};r.update=function(a,b){var c=b||this.c[a]||{},e=(this.d[a]||function(){})()||"\u00a0";null==e.innerHTML?c.textContent=e:c.innerHTML=e.innerHTML;return c};r.cells=function(){return this.c||[this._]};r.data=function(){for(var a=-1,b=[],c=this.length;++a<c;)b[a]=this.cellVal(a);return b};r.destroy=function(){this.page=null;this.rendered=!1};r.cellVal=function(a){a=this.d[a]()||"";return String(a.textContent||a)};r=null;r=y.prototype;r.size=function(){return this.rows.length};
r.insert=function(a){var b=this.h,c=d("wg-dead");c.style.height=String(b)+"px";a.appendChild(c);return this.dead=c};r.top=function(){return(this.rendered?this.live:this.dead).offsetTop};r.height=function(){var a=this.h;null==a&&(this.h=a=this.rendered?this.live.firstChild.offsetHeight:this.dead.offsetHight);a||m("row has zero height");return a};r.render=function(a){for(var b,c=-1,e=this.rows,d=e.length,h=this.dead,l=this.live,z=l.childNodes;++c<d;)b=e[c],b.rendered||b.render(z);d=a.length;for(c=0;c<
d;c++)z[c].style.width=a[c];h.parentNode.replaceChild(l,h);this.rendered=!0;this.h=null;return this};r.sleep=function(){var a=this.height(),b=this.live,c=this.dead;c.style.height=String(a)+"px";b.parentNode.replaceChild(c,b);this.rendered=!1;this.h=a;return this};r.sleepH=function(a){a*=this.rows.length;var b=this.dead;b&&(b.style.height=String(a)+"px");this.rendered||(this.h=a);return this};r.widths=function(a){for(var b=this.live.childNodes,c=a.length;0!==c--;)b[c].style.width=a[c];return this};
r.destroy=function(){var a=this.rendered?this.live:this.dead,b=this.rows,c=b.length;for(a.parentNode.removeChild(a);0!==c--;)b[c].destroy()};r=null;return g}({},v,u));n.register("$40",function(g,f,B){function m(a,b){var c=a.id,e=c&&s[c],d=e&&e.parent();if(!e||!d)return null;var h=d.dir===r,c=h?"X":"Y",l="page"+c,h=h?y:x,f=h(d.el),c=b["offset"+c],p=d.el,g=p.className;null==c&&(c=b[l]-h(a));c&&(f+=c);p.className=g+" is-resizing";return{done:function(){p.className=g},move:function(a){d.resize(a[l]-f,
e);return!0}}}function d(a,c){function e(){k(B).off("mousemove",d);w&&(w.done(),w=null);return!0}function d(a){w?w.move(a):e();return!0}if(w)return!0;w=m(a.target,a);if(!w)return!0;k(B).one("mouseup",e).on("mousemove",d);return b(a)}function c(a,b){var c=b.type;"touchmove"===c?w&&w.move(b):"touchstart"===c?w=m(a.target,b):"touchend"===c&&w&&(w.done(),w=null)}function b(a){a.stopPropagation();a.preventDefault();return!1}function a(a){var b=D;b&&b.redraw();a&&a.redraw();return D=a}function l(b,c){var e=
k(c).on("editFocus",function(){e.trigger("wgFocus",[a(b)])}).on("editBlur",function(){e.trigger("wgBlur",[a(null)])})}function h(a){var b=a.id,c=a.className;this.id=b;this.el=a;this.pos=this.index=0;this.css=[c||"wg-root","wg-cell"];this._cn=c;s[b]=this;this.clear()}var p=n.include("$46","html.js")||n.include("$2","html.js",!0),e=n.require("$21","dom.js"),x=e.top,y=e.left,r=1,s={},D,w=!1;g.init=function(a){var b=new h(a);b.redraw();n.require("$47","touch.js").ok(function(b){b.dragger(a,c)});k(a).mousedown(d);
return b};f=h.prototype;f.fire=function(a,b){var c=k.Event(a);c.cell=this;k(this.el).trigger(c,b);return this};f.each=function(a){for(var b=-1,c=this.cells,e=c.length;++b<e;)a(c[b],b);return this};f.indexOf=function(a){return(a=s[a.id||String(a)])&&a.pid===this.id?a.index:-1};f.on=function(){return this.$("on",arguments)};f.off=function(){return this.$("off",arguments)};f.find=function(a){return k(this.el).find(a)};f.$=function(a,b){k.fn[a].apply(k(this.el),b);return this};f.addClass=function(a){this.css.push(a);
return this};f.removeClass=function(a){a=this.css.indexOf(a);-1!==a&&this.css.splice(a,1);return this};f.parent=function(){return this.pid&&s[this.pid]};f.splitx=function(){return this._split(r,arguments)};f.splity=function(){return this._split(2,arguments)};f._split=function(a,b){(this.length||this.field)&&this.clear();for(var c=-1,d,l=b.length,f=1/l,p=0;++c<l;){d=e.el();this.body.appendChild(d);for(var g=d,x=b[c],k=x,r=1;s[x];)x=k+"-"+ ++r;g.id=x;d=new h(d);d.index=c;d.pid=this.id;d._locale(this.lang,
this.rtl);d.pos=p;p+=f;this.cells.push(d);this.length++}this.dir=a;this.redraw();return this.cells};f.destroy=function(){this.clear();delete s[this.id];var a=this.el;a.innerHTML="";this.body=null;a.className=this._cn||"";k(a).off();return this};f.exists=function(){return this===s[this.id]};f.clear=function(){for(var a=this.el,b=this.cells,c=this.field,d=this.body,h=this.nav,l=this.length||0;0!==l--;)delete s[b[l].destroy().id];this.cells=[];this.length=0;h&&(a.removeChild(h),this.nav=null);d&&(c&&
(p.ie()&&k(d).triggerHandler("blur"),c.destroy(),this.field=null),this.table&&(this.table=null),a===d.parentNode&&a.removeChild(d));this.body=a.appendChild(e.el("","wg-body"));this._h=null;return this};f.resize=function(a,b){if(!b&&(b=this.cells[1],!b))return;var c=b.index,e=this.cells,d=k(this.el)[this.dir===r?"width":"height"](),h=e[c+1],c=e[c-1];pad=(b.body||b.el.firstChild).offsetTop||0;max=(h?h.pos*d:d)-pad;min=c?c.pos*d:0;b.pos=Math.min(max,Math.max(min,a))/d;this.redraw();return this};f.distribute=
function(a){for(var b=-1,c=0,e,d=this.cells,h=a.length;++b<h&&(e=d[++c]);)e.pos=Math.max(0,Math.min(1,a[b]));this.redraw();return this};f.distribution=function(){for(var a=[],b=0,c=this.cells,e=c.length-1;b<e;)a[b]=c[++b].pos;return a};f.restyle=function(){var a=this.css.concat();0===this.index?a.push("first"):a.push("not-first");this.dir&&(a.push("wg-split"),2===this.dir?a.push("wg-split-y"):a.push("wg-split-x"));this.t&&a.push("has-title");this.nav&&a.push("has-nav");this.field&&(a.push("is-field"),
this.field.editable()?a.push("is-editable"):a.push("is-readonly"));a=a.join(" ");a!==this._css&&(this._css=a,this.el.className=a);return this};f.redraw=function(a){this.restyle();var b=this.el,c=this.body,e=this.field;if(c){var d,h=b.clientWidth||0,l=b.clientHeight||0,f=c.offsetTop||0,l=f>l?0:l-f;this._h!==l&&(this._h=l,c.style.height=String(l)+"px",d=e);this._w!==h&&(this._w=h,d=e);d&&d.redraw()}c=this.length;h=1;l=this.nav;for(f=2===this.dir?"height":"width";0!==c--;)e=this.cells[c],l?d=1:(e.fixed&&
(e.pos=e.fixed/k(b)[f]()),d=h-e.pos,h=e.pos),e.el.style[f]=String(100*d)+"%",e.redraw(a);return this};f.contents=function(a,b){var c=this.el,d=this.body;if(null==a)return d.innerHTML;this.length?this.clear():d&&(c.removeChild(d),d=null);d||(this.body=d=c.appendChild(e.el("",b||"wg-content")),this._h=null,(c=this.lang)&&this._locale(c,this.rtl,!0));"string"===typeof a?k(d)._html(a):a&&this.append(a);this.redraw();return this};f.textarea=function(a,b){var c=this.field;if(c){var d=c.editable();c.reload(a,
b);d!==b&&this.restyle()}else this.length&&this.clear(),d=e.el("textarea"),d.setAttribute("wrap","virtual"),d.value=a,this.contents(d),c=n.require("$48","field.js")._new(d)[b?"enable":"disable"](),l(this,d),this.field=c,this.restyle();this.lang||this.locale("en");return c};f.locale=function(a){a=n.require("$38","locale.js").cast(a);return this._locale(String(a),a.isRTL())};f._locale=function(a,b,c){var e=this.body;if(c||a!==this.lang)this.lang=a,e&&e.setAttribute("lang",a);if(c||b!==this.rtl)this.rtl=
b,e&&e.setAttribute("dir",b?"RTL":"LTR");return this};f.editable=function(){var a=this.field;if(a)return a.editable()?a:null;var b=this.cells,c=b.length,e=this.navigated();if(null!=e)return b[e].editable();for(;++e<c;){for(e=0;e<c;c++);if(a=b[e].editable())return a}};f.eachTextarea=function(a){var b=this.field;b?a(b):this.each(function(b){b.eachTextarea(a)});return this};f.append=function(a){a&&(a.nodeType?p.init(this.body.appendChild(a)):p.init(k(a).appendTo(this.body)));return this};f.prepend=function(a){var b=
this.body;if(a.nodeType){var c=b.firstChild;p.init(c?b.insertBefore(a,c):b.appendChild(a))}else p.init(k(a).prependTo(b));return this};f.before=function(a){var b=this.body;a.nodeType?p.init(this.el.insertBefore(a,b)):p.init(k(a).insertBefore(b));return this};f.header=function(a,b){if(null==a&&null==b)return this.el.getElementsByTagName("header")[0];this.t=e.txt(a||"");this.el.insertBefore(e.el("header",b),this.body).appendChild(this.t);this.redraw();return this};f.title=function(a){var b=this.t;if(b)return b.nodeValue=
a||"",b;this.header(a);return this.t};f.titled=function(){var a=this.t;return a&&a.nodeValue};f.bodyY=function(){return x(this.body,this.el)};f.scrollY=function(a){if(J===a)return this.body.scrollTop;this.body.scrollTop=a};f.tabulate=function(a){var b=this.table;b?b.clear():b=n.require("$49","wgtable.js").create(this);b.init(a);return this.table=b};f.lock=function(){this.body.className+=" locked";return this};f.scrollTo=function(a,b){var c,e=this.body;c=e.scrollTop;var d=x(a,e);if(c>d)c=d;else{var h=
e.clientHeight,d=d+k(a).outerHeight();if(h+c<d)c=d-h;else return}b?e.scrollTop=c:k(e).stop(!0).animate({scrollTop:c},250)};f.navigize=function(a,c){function d(a){var b=l[a],c=g[a],e=k(b.el).show();c.addClass("active");p=a;x.data("idx",a);b.fire("wgTabSelect",[a]);return e}var h=this,l=h.cells,f=h.nav,p,g=[];f&&h.el.removeChild(f);var f=h.nav=h.el.insertBefore(e.el("nav","wg-tabs"),h.body),x=k(f).on("click",function(a){var c=k(a.target).data("idx");if(null==c)return!0;if(null!=p){var e=g[p];k(l[p].el).hide();
e.removeClass("active")}d(c);h.redraw();return b(a)});null==c&&(c=x.data("idx")||0);h.each(function(b,c){g[c]=k('<a href="#'+b.id+'"></a>').data("idx",c).text(a[c]).appendTo(x);b.pos=0;k(b.el).hide()});d(l[c]?c:0);h.lock();h.redraw();return h};f.navigated=function(){var a=this.nav;if(a)return k(a).data("idx")};f=null;return g}({},v,u));n.register("$24",function(g,f,B){function m(a){var b=[];a&&(a.saved()||b.push("po-unsaved"),a.fuzzy()?b.push("po-fuzzy"):a.flagged()&&b.push("po-flagged"),a.translation()||
b.push("po-empty"),a.comment()&&b.push("po-comment"));return b.join(" ")}function d(a,b,c){b=k(a.title(b).parentNode);var e=b.find("span.lang");c?(c=n.require("$38","locale.js").cast(c),e.length||(e=k("<span></span>").prependTo(b)),e.attr("lang",c.lang).attr("class",c.getIcon()||"lang region region-"+(c.region||"zz").toLowerCase())):(e.remove(),c="en");a.locale(c);return b}function c(a,b,c){b.click(function(b){var e=a.fire(c,[b.target]);e||b.preventDefault();return e})}function b(){this.dirty=0}n.require("$3",
"number.js");var a="poUpdate",l="changing",h="changed",p=0,e=1,x=2,y=3,r=4,s=5,D,w,A=n.require("$37","string.js").html,v=n.require("$6","string.js").sprintf;g.extend=function(a){return a.prototype=new b};g.localise=function(a){w=a;return g};var u=function(){var a=B.createElement("p");return function(b){a.innerHTML=b.replace("src=","x=");return a.textContent.trim()||b.trim()}}(),q=b.prototype=n.require("$39","abstract.js").init(["getListColumns","getListHeadings","getListEntry"],["editable","t"]);
q.init=function(){this.localise();this.editable={source:!0,target:!0};this.mode="";this.html=!1;return this};q.localise=function(a){a||(a=w||n.require("$1","t.js").init());var b=[];b[p]=a._x("Source text","Editor")+":";b[y]=a._x("%s translation","Editor")+":";b[r]=a._x("Context","Editor")+":";b[s]=a._x("Comments","Editor")+":";b[e]=a._x("Single","Editor")+":";b[x]=a._x("Plural","Editor")+":";b[6]=a._x("Untranslated","Editor");b[7]=a._x("Translated","Editor");b[8]=a._x("Toggle Fuzzy","Editor");b[9]=
a._x("Suggest translation","Editor");this.labels=b;this.t=a;return this};q.setRootCell=function(a){function b(a){c.redraw(!0,a);return!0}var c=n.require("$40","wingrid.js").init(a);k(f).on("resize",b);this.redraw=b;k(a).on("wgFocus wgBlur",function(a,b){a.stopPropagation();D=b});this.destroy=function(){c.destroy();k(f).off("resize",b)};this.rootDiv=a;return c};q.$=function(){return k(this.rootDiv)};q.setListCell=function(a){var b=this;b.listCell=a;a.on("wgRowSelect",function(a,c){b.loadMessage(b.po.row(c));
return!0}).on("wgRowDeselect",function(a,c,e){e||b.loadNothing();return!0})};q.setSourceCell=function(a){this.sourceCell=a};q.setTargetCell=function(a){this.targetCell=a};q.next=function(a,b,c){for(var e=this.listTable,d=e.selected(),h=d,l,f=this.po;null!=(d=e.next(a,c,d));){if(h===d){d=null;break}if(b&&(l=f.row(d),l.translated(0)))continue;break}null!=d&&e.select(d,!0);return d};q.current=function(a){var b=this.active;if(null==a)return b;a?a.is(b)?this.reloadMessage(a):this.loadMessage(a):this.unloadActive();
return this};q.getTargetOffset=function(){if(this.active)return this.targetCell&&this.targetCell.navigated()||0};q.getTargetEditable=function(){return this.editable.target&&this.targetCell&&this.targetCell.editable()};q.getSourceEditable=function(){return this.editable.source&&this.sourceCell&&this.sourceCell.editable()};q.getContextEditable=function(){return this.editable.context&&this.contextCell&&this.contextCell.editable()};q.getFirstEditable=function(){return this.getTargetEditable()||this.getSourceEditable()||
this.getContextEditable()};q.searchable=function(a){a&&(this.dict=a,this.po&&this.rebuildSearch());return this.dict&&!0};q.rebuildSearch=function(){var a=-1,b=this.po.rows,c=b.length,e=this.dict;for(e.clear();++a<c;)e.add(a,b[a].toText())};q.filtered=function(){return this.lastSearch||""};q.filter=function(a,b){var c,e=this.listTable,d=this.lastFound,h=this.lastSearch;if(a){if(h===a)return d||0;if(h&&!d&&0===a.indexOf(h))return 0;c=this.dict.find(a)}this.lastSearch=h=a;this.lastFound=d=c?c.length:
this.po.length;c?e.filter(c):e.unfilter();b||this.fire("poFilter",[h,d]);return d};q.countFiltered=function(){return this.lastSearch?this.lastFound:this.po.length};q.unsave=function(a,b){var c=!1;if(a){if(c=a.saved(b))this.dirty++,a.unsave(b),this.fire("poUnsaved",[a,b]);this.markUnsaved(a)}return c};q.markUnsaved=function(a){var b=this.po.indexOf(a);if((b=this.listTable.tr(b))&&b.length){var c=b[0].className;a=c.replace(/(?:^| +)po-[a-z]+/g,"")+" "+m(a);a!==c&&k(b).attr("class",a)}};q.save=function(a){var b=
this.po;if(this.dirty||a)b.each(function(a,b){b.save()}),this.listCell.find("div.po-unsaved").removeClass("po-unsaved"),this.dirty=0,this.fire("poSave");return b};q.fire=function(a,b){var c=this.handle;if(c&&c[a]&&(c=c[a].apply(this,b||[]),!1===c))return!1;c=k.Event(a);this.$().trigger(c,b);return!c.isDefaultPrevented()};q.on=function(a,b){this.$().on(a,b);return this};q.getSorter=function(){return null};q.reload=function(){var a=this,b,c=a.listCell,e=a.listTable,d=a.po,h=d&&d.locale(),l=h&&h.isRTL(),
f=d&&d.length||0;if(!d||!d.row)return c&&c.clear().header("Error").contents("Invalid messages list"),!1;a.targetLocale=h;a.lastSearch&&(a.lastSearch="",a.lastFound=f,a.fire("poFilter",["",f]));e&&(b=e.thead().distribution());a.listTable=e=c.tabulate({eachCol:function(b){var c,e,d=a.getListColumns(),h=a.getListHeadings();for(e in d)c=d[e],b(c,e,h[c])},eachRow:function(b){d.each(function(c,e){b(e.idx,a.getListEntry(e),m(e))})},sort:a.getSorter()});var p,c=a.getListColumns();for(p in c)e.sortable(c[p]);
b&&e.thead().distribute(b);e.tbody().$(l?"addClass":"removeClass",["is-rtl"]);a.fire("poLoad");return!!f};q.load=function(a,b){this.po=a;this.dict&&this.rebuildSearch();this.reload()&&(-1!==b?this.listTable.selectRow(b||0):this.active&&this.unloadActive())};q.pasteMessage=function(a){var b,c=0;this.active===a&&((b=this.sourceCell)&&b.eachTextarea(function(b){b.val(a.source(null,c++))}),(b=this.contextCell)&&b.eachTextarea(function(b){b.val(a.context())}),b=this.targetCell)&&(c=0,b.eachTextarea(function(b){b.val(a.translation(c++))}));
this.updateListCell(a,"source");this.updateListCell(a,"target");return this};q.reloadMessage=function(a){var b=this.sourceCell,c=this.targetCell,e;this.pasteMessage(a);b&&this.setSrcMeta(a,b)&&b.redraw();c&&(e=c.navigated()||0,e=this.setTrgMeta(a,e,c),!b&&this.setSrcMeta(a,c)&&(e=!0),e&&c.redraw());return this};q.setStatus=function(){return null};q.setSrcMeta=function(a,b){var e=[],d,h=!1,l=this.$smeta,f=this.labels,p=[],g=a.tags(),x=g&&g.length;if(d=a.context())p.push("<span>"+A(f[r])+"</span>"),
p.push("<mark>"+A(d)+"</mark>");if(x&&this.getTag)for(p.push("<span>Tagged:</span>");0<=--x;)(d=this.getTag(g[x]))&&p.push('<mark class="tag">'+A(d.mod_name)+"</mark>");p.length&&e.push(p.join(" "));if(this.getMono()&&(d=a.refs())&&(g=d.split(/\s/),x=g.length)){for(p=[];0<=--x;)d=g[x],p.push("<code>"+A(d)+"</code>");e.push('<p class="has-icon icon-file">'+p.join(" ")+"</p>")}(d=a.notes())&&e.push('<p class="has-icon icon-info">'+A(d,!0)+"</p>");e.length?(l||(l=b.find("div.meta"),l.length||(l=k('<div class="meta"></div>').insertAfter(b.header())),
c(this,l,"poMeta"),this.$smeta=l),l.html(e.join("\n")).show(),h=!0):l&&l.text()&&(l.text("").hide(),h=!0);return h};q.setTrgMeta=function(a,b,c){var e=[],d=!1,h=this.$tmeta;b=(a=a.errors(b))&&a.length;var l;if(b)for(l=0;l<b;l++)e.push('<p class="has-icon icon-warn">'+A(a[l],!0)+".</p>");e.length?(h||(h=c.find("div.meta"),h.length||(h=k('<div class="meta"></div>').insertAfter(c.header())),this.$tmeta=h),h.html(e.join("\n")).show(),d=!0):h&&h.text()&&(h.text("").hide(),d=!0);return d};q.loadMessage=
function(b){function c(a,b){var e=b?a.split(" "):a.split(" ",1);a=e[0];"="===a.charAt(0)&&(a=a.substr(1),a=["zero","one","two"][Number(a)]||a);e[0]=a.charAt(0).toUpperCase()+a.substr(1).toLowerCase();return e.join(" ")}function f(a,h){var l=J,k=L[p];a.off();a.titled()!==k&&d(a,k,h||"en");k=!1;q.setSrcMeta(b,a)&&(k=!0);if(b.plural()){var k=-1,r=[],y=[],m=a.id+"-",s=b.sourceForms()||h&&h.plurals||["One","Other"],n=s.length;if(2!==n||"="===s[0].charAt(0)&&"=1"!==s[0])for(;++k<n;)r[k]=m+String(k),y[k]=
c(s[k])+":";else r=[m+"-0",m+"-1"],y=[L[e],L[x]];a.splity.apply(a,r);a.each(function(a,c){a.header(y[c]).textarea(b.source(null,c),l).setStrf(C).setMode(A).setInvs(u)});a.lock();l&&a.each(function(a,b){g(a,b)})}else k&&a.redraw(),a.textarea(b.source(),l).setStrf(C).setMode(A).setInvs(u),l&&g(a,0)}function g(c,e){c.on(l,function(a,c){b.source(c,e);0===e&&q.updateListCell(b,"source");q.unsave(b,e)}).on(h,function(){0===e&&q.po.reIndex(b);q.dict&&q.rebuildSearch();q.fire(a,[b])})}function k(a,e,h){M&&
a.eachTextarea(function(a){a.ping()});a.off();var l=e.isKnown()&&e.label||"Target",l=v(L[y],l);a.titled()!==l&&d(a,l,e);l=!1;!this.sourceCell&&q.setSrcMeta(b,a)&&(l=!0);q.setTrgMeta(b,h,a)&&(l=!0);q.setStatus(b,h);if(b.pluralized()){var f=[],p=[],g=a.id+"-",x=b.targetForms()||e.plurals||["One","Other"],l=x.length,r=function(a){var b=x[a];p.push(b?c(b,!0):"Form "+a);f.push(g+String(a))};for(b.each(r);(e=f.length)<l;)r(e);a.splitx.apply(a,f);a.each(function(a,c){var e=M&&!b.disabled(c);a.textarea(b.translation(c),
e).setStrf(C).setMode(A).setInvs(u);M&&m(a,c)});a.navigize(p,h||null).on("wgTabSelect",function(c,e){var d=M&&c.cell.editable();d&&d.focus();q.setTrgMeta(b,e,a);q.setStatus(b,e);q.fire("poTab",[e])})}else l&&a.redraw(),a.textarea(b.translation(),M&&!b.disabled(0)).setStrf(C).setMode(A).setInvs(u),M&&m(a,0)}function m(c,e){c.on(l,function(a,c,d){b.translate(c,e);0===e&&q.updateListCell(b,"target");b.fuzzy(e)?q.fuzzy(!1,b,e):q.unsave(b,e);""===c?(q.fire("poEmpty",[!0,b,e]),q.setStatus(b,e)):""===d&&
(q.fire("poEmpty",[!1,b,e]),q.setStatus(b,e))}).on(h,function(){q.dict&&q.rebuildSearch();q.fire(a,[b])})}function n(c){c.off();var e=L[r];c.titled()!==e&&(d(c,e),q.setStatus(null));c.textarea(b.context(),!0).setMode(A).setInvs(u);X&&c.on(l,function(a,c){b.context(c);q.updateListCell(b,"source");q.unsave(b,N)}).on(h,function(){q.po.reIndex(b);q.dict&&q.rebuildSearch();q.fire(a,[b])})}function w(a){var c=L[s];a.titled()!==c&&d(a,c);a.off().on(l,function(a,c){b.comment(c);q.fire("poComment",[b,c]);
q.unsave(b,N)}).textarea(b.comment(),!0)}var q=this,A=q.mode,B=b.isHTML(),u=q.inv||!1,E=this.fmt||null,C=b.format()||null,I=b.is(q.active),N=0,S=q.sourceCell,R=q.targetCell,T=q.contextCell,U=q.commentCell,M=q.editable.target,J=q.editable.source,X=q.editable.context,O=D,Y=q.sourceLocale,V=q.targetLocale,L=q.labels;q.html!==B&&(q.html=B,"code"!==q.mode&&(A=B?"html":"",q.setMode(A)));q.active=b;S&&f(S,Y);T&&n(T);R&&V&&(N=R.navigated()||0,k(R,V,N));U&&w(U);O&&(O.exists()||(O=O.parent()),(B=O.editable())&&
B.focus());E!==C&&(this.fmt=C);I||q.fire("poSelected",[b,N])};q.unloadActive=function(){function a(b){b&&b.text("").hide()}function b(a){a&&a.off().clear()}a(this.$smeta);a(this.$tmeta);b(this.sourceCell);b(this.contextCell);b(this.targetCell);this.commentCell&&this.commentCell.off();this.active&&(this.fire("poDeselected",[this.active]),this.active=null);return this};q.loadNothing=function(){var a,b=this.t,c=this.mode||"",e=this.inv||!1,d=this.fmt;this.unloadActive();this.setStatus(null);(a=this.commentCell)&&
a.textarea("",!1);if(a=this.sourceCell)a.textarea("",!1).setStrf(d).setMode(c).setInvs(e),a.title(b._x("Source text not loaded","Editor")+":");if(a=this.contextCell)a.textarea("",!1).setMode(c).setInvs(e),a.title(b._x("Context not loaded","Editor")+":");if(a=this.targetCell)a.textarea("",!1).setStrf(d).setMode(c).setInvs(e),a.title(b._x("Translation not loaded","Editor")+":");this.fire("poSelected",[null])};q.updateListCell=function(a,b){var c=this.getListColumns()[b],e=this.po.indexOf(a);(e=this.listTable.row(e))&&
e.rendered&&e.update(c)};q.cellText=function(a){return(a=-1!==a.indexOf("<")||-1!==a.indexOf("&")?u(a):a.trim())||"\u00a0"};q.fuzzy=function(a,b,c){b=b||this.active;var e=b.fuzzy(c);!0!==a||e?!1===a&&e&&this.flag(0,b,c)&&this.fire("poFuzzy",[b,!1,c]):this.flag(4,b,c)&&this.fire("poFuzzy",[b,!0,c]);return e};q.flag=function(b,c,e){if(!c){c=this.active;e=this.getTargetOffset();if(null==e)return null;e&&c.targetForms()&&(e=0)}var d=c.flagged(e);if(null==b)return d;if(d===b||b&&!c.translated(e)||!this.fire("poFlag",
[b,d,c,e]))return!1;c.flag(b,e);this.fire(a,[c])&&this.unsave(c,e);this.setStatus(c,e);return!0};q.add=function(b,c){var e,d=this.po.get(b,c);d?e=this.po.indexOf(d):(e=this.po.length,d=this.po.add(b,c),this.load(this.po,-1),this.fire("poAdd",[d]),this.fire(a,[d]));this.lastSearch&&this.filter("");this.listTable.select(e);return d};q.del=function(b){if(b=b||this.active){var c=this.lastSearch,e=this.po.del(b);null!=e&&(this.unsave(b),this.fire("poDel",[b]),this.fire(a,[b]),this.reload(),this.dict&&
this.rebuildSearch(),this.active&&this.active.equals(b)&&this.unloadActive(),this.po.length&&(c&&this.filter(c),this.active||(e=Math.min(e,this.po.length-1),this.listTable.select(e))))}};q.setMono=function(a){return this.setMode(a?"code":this.html?"html":"")};q.setMode=function(a){if(this.mode!==a){this.mode=a;this.callTextareas(function(b){b.setMode(a)});var b=this.active,c=this.sourceCell;b&&b.refs()&&c&&this.setSrcMeta(b,c)&&c.redraw()}return this};q.getMono=function(){return"code"===this.mode};
q.setInvs=function(a){(this.inv||!1)!==a&&(this.inv=a,this.callTextareas(function(b){b.setInvs(a)}),this.fire("poInvs",[a]));return this};q.getInvs=function(){return this.inv||!1};q.callTextareas=function(a){var b=this.targetCell;b&&b.eachTextarea(a);(b=this.contextCell)&&b.eachTextarea(a);(b=this.sourceCell)&&b.eachTextarea(a);return this};q.focus=function(){var a=this.getTargetEditable();a&&a.focus();return this};q=null;return g}({},v,u));n.register("$13",function(g,f,B){function m(){this.init()._validate();
this.sourceLocale={lang:"en",label:"English",plurals:["One","Other"]}}function d(a){a=k('<button type="button" class="button button-small icon icon-'+a+' hastip"></button>');n.require("$12","tooltip.js").init(a);return a}function c(a){return d("cloud").attr("title",a.labels[8]+" (Ctrl-U)").click(function(b){b.preventDefault();a.focus().fuzzy(!a.fuzzy())})}function b(a){return d("robot").attr("title",a.labels[9]+" (Ctrl-J)").click(function(b){b.preventDefault();a.fire("poHint")})}f=n.require("$24",
"base.js");g.init=function(a){var b=new m;a=b.setRootCell(a);var c=a.splity("po-list","po-edit"),d=c[0],e=c[1],c=e.splitx("po-trans","po-comment"),f=c[0],g=c[1].header("Loading.."),c=f.splity("po-source","po-target"),f=c[0].header("Loading.."),c=c[1].header("Loading..");a.distribute([0.34]);e.distribute([0.8]);b.setListCell(d);b.setSourceCell(f);b.setTargetCell(c);b.commentCell=g;b.editable.source=!1;return b};f=m.prototype=f.extend(m);f.getListHeadings=function(){var a=this.t||{_x:function(a){return a}},
b=[a._x("Source text","Editor")];this.targetLocale&&(b[1]=a._x("Translation","Editor"));return b};f.getListColumns=function(){var a={source:0};this.targetLocale&&(a.target=1);return a};f.getListEntry=function(a){var b=this.cellText,c=[function(){var c,e=b(a.source()||""),d=a.context();return d?(c=B.createElement("p"),c.appendChild(B.createElement("mark")).innerText=d,c.appendChild(B.createTextNode("\u00a0"+e)),c):e}];this.targetLocale&&(c[1]=function(){return b(a.translation()||"")});return c};f.stats=
function(){var a=this.po,b=a.length,c=0,d=0,e=0;a.each(function(a,b){b.fuzzy()?e++:b.translated()?c++:d++});return{t:b,p:c.percent(b)+"%",f:e,u:d}};f.unlock=function(){var a=this.targetLocale;this._unlocked||(this.editable={source:!0,context:!0,target:!1},this.po&&this.po.unlock(),this.contextCell=this.targetCell,delete this.targetCell,a&&(this._unlocked=a,delete this.targetLocale,this.reload(),this.fire("poLock",[!1])),this.active&&this.loadMessage(this.active))};f.lock=function(){var a=this._unlocked;
a&&(this.targetLocale=a,delete this._unlocked,this.po&&this.po.lock(a),this.editable={source:!1,context:!1,target:!0},this.targetCell=this.contextCell,delete this.contextCell,this.reload(),this.fire("poLock",[!0,a]),this.active&&this.loadMessage(this.active))};f.locked=function(){return!this._unlocked};f.setStatus=function(a){var d=this.$tnav;if(null==a)d&&(d.remove(),this.$tnav=null);else{d||(this.$tnav=d=k("<nav></nav>").append(c(this)).append(b(this)).appendTo(this.targetCell.header()));var h=
[];a.translated()?a.fuzzy()&&h.push("po-fuzzy"):h.push("po-empty");d.attr("class",h.join(" "))}};f.getSorter=function(){function a(a,c){var d=a.weight(),h=c.weight();return d===h?b(a,c):d>h?-1:1}function b(a,c){return a.hash().localeCompare(c.hash())}var c=this;return function(d){var e=c.po,f=c.locked()?a:b;d.sort(function(a,b){return f(e.row(a),e.row(b))})}};return g}({},v,u));n.register("$14",function(g,f,n){var m={copy:66,clear:75,save:83,fuzzy:85,next:40,prev:38,enter:13,invis:73,hint:74},d={38:!0,
40:!0,73:!0},c={66:function(b,a){var c=a.current();c&&(c.normalize(),a.focus().pasteMessage(c))},75:function(b,a){var c=a.current();c&&(c.untranslate(),a.focus().pasteMessage(c))},85:function(b,a){a.focus().fuzzy(!a.fuzzy())},13:function(b,a){a.getFirstEditable()&&a.next(1,!0,!0)},40:function(b,a){var c=b.shiftKey;a.next(1,c,c)},38:function(b,a){var c=b.shiftKey;a.next(-1,c,c)},73:function(b,a){if(!b.shiftKey)return!1;a.setInvs(!a.getInvs())}};g.init=function(b,a){function l(a){if(a.isDefaultPrevented()||
!a.metaKey&&!a.ctrlKey)return!0;var e=a.which;if(!h[e])return!0;var f=c[e];if(!f)throw Error("command undefined #"+e);if(a.altKey||a.shiftKey&&!d[e]||!1===f(a,b))return!0;a.stopPropagation();a.preventDefault();return!1}var h={};k(a||f).on("keydown",l);return{add:function(a,b){c[m[a]]=b;return this},enable:function(){var a,b;for(b in arguments)a=m[arguments[b]],h[a]=!0;return this},disable:function(){k(a||f).off("keydown",l);b=a=h=null}}};return g}({},v,u));n.register("$25",function(g,f,k){function m(){this.reIndex([])}
g.init=function(){return new m};f=m.prototype;f.reIndex=function(d){for(var c={},b=-1,a=d.length;++b<a;)c[d[b]]=b;this.keys=d;this.length=b;this.ords=c};f.key=function(d,c){if(null==c)return this.keys[d];var b=this.keys[d],a=this.ords[c];if(c!==b){if(null!=a)throw Error("Clash with item at ["+a+"]");this.keys[d]=c;delete this.ords[b];this.ords[c]=d}return d};f.indexOf=function(d){d=this.ords[d];return null==d?-1:d};f.add=function(d,c){var b=this.ords[d];null==b&&(this.keys[this.length]=d,b=this.ords[d]=
this.length++);this[b]=c;return b};f.get=function(d){return this[this.ords[d]]};f.has=function(d){return null!=this.ords[d]};f.del=function(d){this.cut(this.ords[d],1)};f.cut=function(d,c){c=c||1;var b=[].splice.call(this,d,c);this.keys.splice(d,c);this.reIndex(this.keys);return b};f.each=function(d){for(var c=-1,b=this.keys,a=this.length;++c<a;)d(b[c],this[c],c);return this};f.sort=function(d){for(var c=-1,b=this.length,a,f=this.keys,h=this.ords,g=[];++c<b;)g[c]=[this[c],f[c]];g.sort(function(a,
b){return d(a[0],b[0])});for(c=0;c<b;c++)a=g[c],this[c]=a[0],a=a[1],f[c]=a,h[a]=c;return this};f.join=function(d){return[].join.call(this,d)};f=null;return g}({},v,u));n.register("$26",function(g,f,k){function m(d,c){var b=RegExp("^.{0,"+(d-1)+"}["+c+"]"),a=RegExp("^[^"+c+"]+");return function(c,h){for(var f=c.length,e;f>d;){e=b.exec(c)||a.exec(c);if(null==e)break;e=e[0];h.push(e);e=e.length;f-=e;c=c.substr(e)}0!==f&&h.push(c);return h}}g.create=function(d){function c(a){return e[a]||"\\"+a}var b,
a,f=/(?:\r\n|[\r\n\v\f\u2028\u2029])/g,h=/[ \r\n]+/g,g=/[\t\v\f\x07\x08\\\"]/g,e={"\t":"\\t","\v":"\\v","\f":"\\f","\u0007":"\\a","\b":"\\b"};if(null==d||isNaN(d=Number(d)))d=79;0<d&&(b=m(d-3," "),a=m(d-2,"-\u2013 \\.,:;\\?!\\)\\]\\}\\>"));return{pair:function(b,e){if(!e)return b+' ""';e=e.replace(g,c);var h=0;e=e.replace(f,function(){h++;return"\\n\n"});if(!(h||d&&d<e.length+b.length+3))return b+' "'+e+'"';var k=[b+' "'],m=e.split("\n");if(a)for(var n=-1,A=m.length;++n<A;)a(m[n],k);else k=k.concat(m);
return k.join('"\n"')+'"'},prefix:function(a,b){var c=a.split(f);return b+c.join("\n"+b)},refs:function(a){a=a.replace(h," ",a);b&&(a=b(a,[]).join("\n#: "));return"#: "+a}}};return g}({},v,u));n.register("$41",function(g,f,k){function m(){this.length=0}g.init=function(){return new m};f=m.prototype;f.push=function(d){this[this.length++]=d;return this};f.sort=function(d){[].sort.call(this,d);return this};f.each=function(d){for(var c=-1,b=this.length;++c<b;)d(c,this[c]);return this};return g}({},v,u));
n.register("$27",function(g,f,k){function m(){}g.extend=function(d){return d.prototype=new m};f=m.prototype=n.require("$39","abstract.js").init(["add","load"]);f.row=function(d){return this.rows[d]};f.lock=function(d){return this.locale(d||{lang:"zxx",label:"Unknown",nplurals:1,pluraleq:"n!=1"})};f.unlock=function(){var d=this.loc;this.loc=null;return d};f.locale=function(d){null==d?d=this.loc:this.loc=d=n.require("$38","locale.js").cast(d);return d};f.each=function(d){this.rows.each(d);return this};
f.indexOf=function(d){"object"!==typeof d&&(d=this.get(d));if(!d)return-1;null==d.idx&&(d.idx=this.rows.indexOf(d.hash()));return d.idx};f.get=function(d){return this.rows&&this.rows.get(d)};f.has=function(d){return this.rows&&this.rows.has(d)};f.del=function(d){d=this.indexOf(d);if(-1!==d){var c=this.rows.cut(d,1);if(c&&c.length)return this.length=this.rows.length,this.rows.each(function(b,a,c){a.idx=c}),d}};f.reIndex=function(d,c){var b=this.indexOf(d),a=d.hash(),f=this.rows.indexOf(a);return f===
b?b:-1!==f?(c=(c||0)+1,d.source("Error, duplicate "+String(c)+": "+d.source()),this.reIndex(d,c)):this.rows.key(b,a)};f.sort=function(d){this.rows.sort(d);return this};f["export"]=function(){for(var d=-1,c=this.rows,b=c.length,a=n.require("$41","list.js").init();++d<b;)a.push(c[d]);return a};f=null;return g}({},v,u));n.register("$28",function(g,f,n){function m(){function d(a){return/<[a-z]+[^>]*>/i.test(a)||/&(#\d+|#x[0-9a-f]|[a-z]+);/i.test(a)?k("<p></p>").html(a).text():a}function c(a){return a.replace(/%(?:\d+\$)?(?:'.|[-+0 ])*\d*(?:\.\d+)?[suxXbcdeEfFgGo]/g,
"%s")}function b(a){return a.replace(/[^\sa-z0-9]+/ig," ")}function a(a){return a.trim().replace(/\s+/g," ")}function f(e){return a(b(d(c(e).toLowerCase())))}var h={},g={};return{add:function(a){var b=f(a.source());(h[b]||(h[b]=[])).push(a);g[a.hash()]=a},match:function(e){var k=f(e.source()),k=h[k],m;if(m=k){m=k.length;var r=k[0];if(1!==m)for(var s=7,n,w=e.source(),A=e.context(),B;0<=--m;)if(e=0,n=k[m],!(n.context()!==A&&++e>=s)){B=n.source();if(w!==B){if(++e>=s)continue;w=w.toLowerCase();B=B.toLowerCase();
if(w!==B){if(++e>=s)continue;w=c(w);B=c(B);if(w!==B){if(++e>=s)continue;w=d(w);B=d(B);if(w!==B){if(++e>=s)continue;w=b(w);B=b(B);if(w!==B){if(++e>=s)continue;w=a(w);B=a(B);if(w!==B&&++e>=s)continue}}}}}s=e;r=n;if(0===e)break}delete g[r.hash()];m=r.copy()}return m},unmatched:function(){var a,b,c=[];for(a in g)b=g[a],c.push(b);return c}}}g.merge=function(d,c){var b=d.rows,a=c.rows,l=[],h=[],g=[],e=m();b.each(function(b,c){a.has(b)||(c.translated()?e.add(c):g.push(c))});d.clear();a.each(function(a,c){try{var g=
b.get(a),p;g?(p=g.flagged(0),g.merge(c),g.flagged(0)!==p&&h.push(g)):(g=e.match(c))?(g.merge(c),h.push(g)):(g=c.copy(),l.push(g));d.add(g,"")}catch(k){f.console&&console.error(String(k))}});d.header("POT-Creation-Date",c.header("POT-Creation-Date")||d.now());return{add:l,fuz:h,del:g.concat(e.unmatched())}};return g}({},v,u));n.register("$29",function(g,f,k){function m(c,b,a){if(null==a)return c[b]||"";c[b]=a||"";return c}function d(){this._id=this.id=""}g.extend=function(c){return c.prototype=new d};
f=d.prototype;f.flag=function(c,b){var a=this.flg||(this.flg=[]);if(null!=b)a[b]=c;else for(var d=Math.max(a.length,this.src.length,this.msg.length);0!==d--;)a[d]=c;return this};f.flagged=function(c){var b=this.flg||[];if(null!=c)return b[c]||0;for(c=b.length;0!==c--;)if(b[c])return!0;return!1};f.flags=function(){for(var c,b={},a=[],d=this.flg||[],h=d.length;0!==h--;)c=d[h],b[c]||(b[c]=!0,a.push(c));return a};f.flaggedAs=function(c,b){var a=this.flg||[];if(null!=b)return c===a[b]||0;for(var d=a.length;0!==
d--;)if(a[d]===c)return!0;return!1};f.fuzzy=function(c,b){var a=this.flaggedAs(4,c);null!=b&&this.flag(b?4:0,c);return a};f.source=function(c,b){if(null==c)return this.src[b||0]||"";this.src[b||0]=c;return this};f.plural=function(c,b){if(null==c)return this.src[b||1]||"";this.src[b||1]=c||"";return this};f.sourceForms=function(){return this.srcF};f.targetForms=function(){return this.msgF};f.each=function(c){for(var b=-1,a=this.src,d=this.msg,h=Math.max(a.length,d.length);++b<h;)c(b,a[b],d[b]);return this};
f.count=function(){return Math.max(this.src.length,this.msg.length)};f.pluralized=function(){return 1<this.src.length||1<this.msg.length};f.translate=function(c,b){this.msg[b||0]=c||"";return this};f.untranslate=function(c){if(null!=c)this.msg[c]="";else{var b=this.msg,a=b.length;for(c=0;c<a;c++)b[c]=""}return this};f.translation=function(c){return this.msg[c||0]||""};f.errors=function(c){return this.err&&this.err[c||0]||[]};f.translated=function(c){if(null!=c)return!!this.msg[c];var b=this.msg,a=
b.length;for(c=0;c<a;c++)if(!b[c])return!1;return!0};f.untranslated=function(c){if(null!=c)return!this.msg[c];var b=this.msg,a=b.length;for(c=0;c<a;c++)if(b[c])return!1;return!0};f.comment=function(c){return m(this,"cmt",c)};f.notes=function(c){return m(this,"xcmt",c)};f.refs=function(c){return m(this,"rf",c)};f.format=function(c){return m(this,"fmt",c)};f.context=function(c){return m(this,"ctx",c)};f.tags=function(){return this.tg};f.toString=f.toText=function(){return this.src.concat(this.msg,this.id,
this.ctx).join(" ")};f.weight=function(){var c=0;this.translation()||(c+=2);this.fuzzy()&&(c+=1);return c};f.equals=function(c){return this===c||this.hash()===c.hash()};f.hash=function(){return this.id};f.normalize=function(){for(var c=this.msg.length;0!==c--;)this.msg[c]=this.src[c]||""};f.disabled=function(c){return!!(this.lck||[])[c||0]};f.disable=function(c){(this.lck||(this.lck=[]))[c||0]=!0;return this};f.saved=function(c){var b=this.drt;if(null==b)return!0;if(null!=c)return!b[c];for(c=b.length;0!==
c--;)if(b[c])return!1;return!0};f.unsave=function(c){(this.drt||(this.drt=[]))[c||0]=!0;return this};f.save=function(c){null==c?this.drt=null:(this.drt||(this.drt=[]))[c]=!1;return this};f.is=function(c){return c&&(c===this||c.idx===this.idx)};f.isHTML=function(c){if(null==c)return this.htm||!1;this.htm=c};f=null;return g}({},v,u));n.register("$15",function(g,f,k){function m(a){return{"Project-Id-Version":"PACKAGE VERSION","Report-Msgid-Bugs-To":"","POT-Creation-Date":a||"","PO-Revision-Date":a||
"","Last-Translator":"","Language-Team":"",Language:"","Plural-Forms":"","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit"}}function d(a,b){var c=a||"";b&&(c+="\x00"+b);return c}function c(a){var b=f.console;b&&b.error&&b.error(a.message||String(a))}function b(a){return n.require("$26","format.js").create(a)}function a(a){this.locale(a);this.clear();this.head=m(this.now())}function l(a,b){this.src=[a||""];this.msg=[b||""]}g.create=function(b){return new a(b)};
k=n.require("$27","messages.js").extend(a);k.clear=function(){this.rows=n.require("$25","collection.js").init();this.length=0};k.now=function(){function a(b,c){for(var e=String(b);e.length<c;)e="0"+e;return e}var b=new Date,c=b.getUTCFullYear(),d=b.getUTCMonth()+1,f=b.getUTCDate(),g=b.getUTCHours(),b=b.getUTCMinutes();return a(c,4)+"-"+a(d,2)+"-"+a(f,2)+" "+a(g,2)+":"+a(b,2)+"+0000"};k.header=function(a,b){var c=this.head||(this.head={});if(null==b)return this.headers()[a]||"";c[a]=b||"";return this};
k.headers=function(a){var b,c=this.now(),d=this.head||(this.head=m(c));if(null!=a){for(b in a)d[b]=a[b];return this}var f=this.locale();a={};for(b in d)a[b]=String(d[b]);f?(a.Language=String(f)||"zxx",a["Language-Team"]=f.label||a.Language,a["Plural-Forms"]="nplurals="+(f.nplurals||"2")+"; plural="+(f.pluraleq||"n!=1")+";",b="PO-Revision-Date"):(a.Language="",a["Plural-Forms"]="nplurals=INTEGER; plural=EXPRESSION;",a["PO-Revision-Date"]="YEAR-MO-DA HO:MI+ZONE",b="POT-Creation-Date");a[b]||(a[b]=c);
a["X-Generator"]="Loco https://localise.biz/";return a};k.get=function(a,b){var c=d(a,b);return this.rows.get(c)};k.add=function(a,b){a instanceof l||(a=new l(a));b&&a.context(b);var e=a.hash();this.rows.get(e)?c("Duplicate message at index "+this.indexOf(a)):(a.idx=this.rows.add(e,a),this.length=this.rows.length);return a};k.load=function(a){for(var b=-1,e,d,f,g,k,m,n=(f=this.locale())&&f.nplurals||2,A=[];++b<a.length;)e=a[b],null==e.parent?(d=e.source||e.id,f=e.target||"",g=e.context,d||g?(k=new l(d,
f),k._id=e._id,g&&k.context(g),e.flag&&k.flag(e.flag,0),e.comment&&k.comment(e.comment),e.notes&&k.notes(e.notes),e.refs&&k.refs(e.refs),k.format(e.format),e.message=k,this.add(k)):0===b&&"object"===typeof f&&(this.head=f,this.headcmt=e.comment)):A.push(e);for(b=-1;++b<A.length;)try{e=A[b];d=e.source||e.id;k=a[e.parent]&&a[e.parent].message;if(!k)throw Error("parent missing for plural "+d);m=e.plural;1===m&&k.plural(d);m>=n||(e.flag&&k.flag(e.flag,m),k.translate(e.target||"",m),e.format&&!k.format()&&
k.format(e.format))}catch(u){c(u)}return this};k.merge=function(a){return n.require("$28","merge.js").merge(this,a)};k.wrap=function(a){this.fmtr=b(a);return this};k.toString=function(){var a,c=this.locale(),d=[],f=[],g=this.headers(),k=!c,m=c&&c.nplurals||2,n=this.fmtr||b();g[c?"PO-Revision-Date":"POT-Creation-Date"]=this.now();for(a in g)f.push(a+": "+g[a]);f=new l("",f.join("\n"));f.comment(this.headcmt||"");k&&f.fuzzy(0,!0);d.push(f.toString());d.push("");this.rows.each(function(a,b){a&&(d.push(b.cat(n,
k,m)),d.push(""))});return d.join("\n")};k=n.require("$29","message.js").extend(l);k.hash=function(){return d(this.source(),this.context())};k.toString=function(){return this.cat(b())};k.cat=function(a,b,c){var d,f=[],g;(g=this.cmt)&&f.push(a.prefix(g,"# "));(g=this.xcmt)&&f.push(a.prefix(g,"#. "));d=this.rf;if(g=this._id)d+=(d?" ":"")+"loco:"+g;d&&/\S/.test(d)&&f.push(a.refs(d));!b&&this.fuzzy()&&f.push("#, fuzzy");(g=this.fmt)&&f.push("#, "+g+"-format");(g=this._ctx)&&f.push(a.prefix(a.pair("msgctxt",
g),"#| "));if(g=this._src)g[0]&&f.push(a.prefix(a.pair("msgid",g[0]),"#| ")),g[1]&&f.push(a.prefix(a.pair("msgid_plural",g[1]),"#| "));(g=this.ctx)&&f.push(a.pair("msgctxt",g));f.push(a.pair("msgid",this.src[0]));if(null==this.src[1])f.push(a.pair("msgstr",b?"":this.msg[0]));else for(d=-1,f.push(a.pair("msgid_plural",this.src[1])),g=this.msg||["",""],c=c||g.length;++d<c;)f.push(a.pair("msgstr["+d+"]",b?"":g[d]||""));return f.join("\n")};k.compare=function(a,b){var c=this.weight(),d=a.weight();if(c>
d)return 1;if(c<d)return-1;if(b){c=this.hash().toLowerCase();d=a.hash().toLowerCase();if(c<d)return 1;if(c>d)return-1}return 0};k.merge=function(a){var b=!1;this.rf=a.rf;this.fmt=a.fmt;this.cmt=a.cmt;this.xcmt=a.xcmt;a.src.join("\x00")!==this.src.join("\x00")&&(this._src=this.src,this.src=a.src.concat(),this.msg=(this.msg||["",""]).slice(0,this.src.length),b=!0);a.ctx!==this.ctx&&(this._ctx=this.ctx,this.ctx=a.ctx,b=!0);b&&this.translated()&&this.fuzzy(0,!0)};k.copy=function(){var a=new l,b,c;for(b in this)this.hasOwnProperty(b)&&
((c=this[b])&&c.concat&&(c=c.concat()),a[b]=c);return a};k=k=null;return g}({},v,u));n.register("$17",function(g,f,n){g.init=function(f,d){function c(){return h||(h=k('<div id="loco-po-ref"></div>').dialog({dialogClass:"loco-modal loco-modal-wide",modal:!0,autoOpen:!1,closeOnEscape:!0,resizable:!1,height:500}))}function b(a,b,d){a=k("<p></p>").text(d);c().dialog("close").html("").dialog("option","title","Error").append(a).dialog("open")}function a(a){var b=a&&a.code;if(b){for(var d=-1,f=b.length,
g=k("<ol></ol>").attr("class",a.type);++d<f;)k("<li></li>").html(b[d]).appendTo(g);g.find("li").eq(a.line-1).attr("class","highlighted");c().dialog("close").html("").dialog("option","title",a.path+":"+a.line).append(g).dialog("open")}}function g(a){a=a.target;var b=k(a).find("li.highlighted")[0],b=Math.max(0,(b&&b.offsetTop||0)-Math.floor(a.clientHeight/2));a.scrollTop=b}var h;return{load:function(h){c().html('<div class="loco-loading"></div>').dialog("option","title","Loading..").off("dialogopen").dialog("open").on("dialogopen",
g);h=k.extend({ref:h,path:d.popath},d.project||{});f.ajax.post("fsReference",h,a,b)}}};return g}({},v,u));n.register("$31",function(g,f,k){function m(d){this.api=d;this.chars=0}g.create=function(d){return new m(d)};f=m.prototype;f.init=function(d,c){function b(a){var b={length:0,html:a.html,sources:[]};r.push(b);return s[a.html?1:0]=b}function a(a,d){var r=a.source(null,d);if(r&&(a.untranslated(d)||c)){var u=n[r];if(u)u.push(a);else{var u=r.length,v=f.isHtml(r),v=s[v?1:0],q=v.sources;if(v.length+
u>m||q.length===e)v=b(v),q=v.sources;q.push(r);n[r]=[a];v.length+=u;g+=u;k+=1}}}var f=this.api,g=0,k=0,e=50,m=5E3,n={},r=[],s=[];b({html:!1});b({html:!0});d.each(function(b,c){a(c,0);a(c,1)});s=null;this.map=n;this.chars=g;this.length=k;this.batches=r;this.locale=d.locale()};f.abort=function(){this.state="abort";return this};f.dispatch=function(){function d(a,b){function d(c,f,g){b!==g&&(a===f||1<c&&e.source(null,1)===a)&&(e.translate(b,c),h++,v++);return h}if(!c())return!1;if(!b)return!0;var e,f=
n[a]||[],g=f.length,l=-1,h;for(u++;++l<g;)if(e=f[l])h=0,e.each(d),h&&k("each",[e]);return!0}function c(){return"abort"===e.state?(m&&(m.abort(),g()),!1):!0}function b(){var b=r.shift(),c;b?(c=b.sources)&&c.length?m.batch(c,s,b.html,d).fail(a).always(f):f():g()}function a(){e.abort();g()}function f(){w++;k("prog",[w,E]);c()&&b()}function g(){m=r=null;k("done")}function k(a,b){for(var c=q[a]||[],d=c.length;0<=--d;)c[d].apply(null,b)}var e=this,m=e.api,n=e.map,r=e.batches||[],s=e.locale,u=0,w=0,v=0,
B=e.length,E=r.length,q={done:[],each:[],prog:[]};e.state="";b();return{done:function(a){q.done.push(a);return this},each:function(a){q.each.push(a);return this},prog:function(a){q.prog.push(a);return this},stat:function(){return{todo:function(){return Math.max(B-u,0)},did:function(){return u}}}}};return g}({},v,u));n.register("$42",{nn:["no"]});n.register("$32",function(g,f,k){function m(){}g.create=function(d){d=m.prototype=new d;d.toString=function(){return"Yandex.Translate"};d.getId=function(){return"yandex"};
d.getUrl=function(){return"https://translate.yandex.com/"};d.parseError=function(c){return c&&c.code&&200!==c.code&&c.message?"Error "+c.code+": "+c.message:""};d.batch=function(c,b,a,d){function f(a){for(var e=c.length,g=-1;++g<e&&!1!==d(c[g],a[g]||"",b););}var g=this;a=a?"html":"plain";var e=this.mapLang(b,n.require("$42","yandex.json"));return g._call({url:"https://translate.yandex.net/api/v1.5/tr.json/translate?format="+a+"&lang=en-"+e,method:"POST",traditional:!0,data:{key:g.key(),text:c}}).done(function(a,
b,c){a&&200===a.code?f(a.text||[]):(g.stderr(g.parseError(a)||g.httpError(c)),f([]))}).fail(function(){f([])})};return new m};return g}({},v,u));n.register("$43",{zh:["zh","zh-CN","zh-TW"],he:["iw"],jv:["jw"]});n.register("$33",function(g,f,k){function m(){}g.create=function(d){d=m.prototype=new d;d.toString=function(){return"Google Translate"};d.getId=function(){return"google"};d.getUrl=function(){return"https://translate.google.com/"};d.parseError=function(c){if(c.error){for(var b=[],a=c.error.errors||
[],d=a.length,f=-1;++f<d;)b.push(a[f].message||"");return"Error "+c.error.code+": "+b.join(";")}return""};d.batch=function(c,b,a,d){function f(a){for(var e=c.length,g=-1,h;++g<e&&(h=a[g]||{},!1!==d(c[g],h.translatedText||"",b)););}var g=this;a=a?"html":"text";var e=g.mapLang(b,n.require("$43","google.json"));return g._call({url:"https://translation.googleapis.com/language/translate/v2?source=en&target="+e+"&format="+a,method:"POST",traditional:!0,data:{key:g.key(),q:c}}).done(function(a,b,c){a.data?
f(a.data.translations||[]):(g.stderr(g.parseError(a)||g.httpError(c)),f([]))}).fail(function(){f([])})};return new m};return g}({},v,u));n.register("$44",{nn:["no"],pt:["pt","pt-pt"],sr:["sr-Cyrl","sr-Latn"],sr_RS:["sr-Cyrl"],tlh:["tlh-Latn","tlh-Piqd"],zh:["zh-Hans","zh-Hant"],zh_CN:["zh-Hans"],zh_HK:["zh-Hans"],zh_SG:["zh-Hans"],zh_TW:["zh-Hant"]});n.register("$34",function(g,f,k){function m(){}g.create=function(d){d=m.prototype=new d;d.toString=function(){return"Microsoft Translator text API"};
d.getId=function(){return"microsoft"};d.getUrl=function(){return"https://aka.ms/MicrosoftTranslatorAttribution"};d.parseError=function(c){return c&&c.error?c.error.message:""};d.batch=function(c,b,a,d){function f(a){for(var e=-1,g;++e<k&&(g=a[e]||{},g=g.translations||[],g=g[0]||{},!1!==d(c[e],g.text||"",b)););}var g=this,e=[],k=c.length,m=-1;a=a?"html":"plain";for(var r=g.mapLang(b,n.require("$44","ms.json"));++m<k;)e.push({text:c[m]});return g._call({url:"https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=en&to="+
r+"&textType="+a,method:"POST",data:JSON.stringify(e),headers:{"Content-Type":"application/json; charset=UTF-8","Ocp-Apim-Subscription-Key":this.key(),"Ocp-Apim-Subscription-Region":g.param("region")||"global"}}).done(function(a,b,c){a&&a.length?f(a):(g.stderr(g.parseError(a)||g.httpError(c)),f([]))}).fail(function(){f([])})};return new m};return g}({},v,u));n.register("$45",{pt:["pt-PT","pt-BR"]});n.register("$35",function(g,f,k){function m(){}g.create=function(d){d=m.prototype=new d;d.toString=
function(){return"DeepL Translator"};d.getId=function(){return"deepl"};d.getUrl=function(){return"https://www.deepl.com/translator"};d.parseError=function(c){return c.message};d.batch=function(c,b,a,d){function f(a){for(var g=c.length,h=-1,k;++h<g&&(k=a[h]||{},!1!==d(c[h],k.text||"",b)););}var g=this;a=g.mapLang(b,n.require("$45","deepl.json"));return g._call({url:"https://api.deepl.com/v2/translate",method:"POST",traditional:!0,data:{source_lang:"EN",target_lang:a.toUpperCase(),preserve_formatting:"1",
auth_key:g.key(),text:c}}).done(function(a,b,c){a.translations?f(a.translations):(g.stderr(g.parseError(a)||g.httpError(c)),f([]))}).fail(function(){f([])})};return new m};return g}({},v,u));n.register("$36",function(g,f,n){function m(){}g.create=function(d){(m.prototype=new d).batch=function(c,b,a,d){function g(a){for(var e=c.length,f=-1;++f<e&&!1!==d(c[f],a[f],b););}var m=f.loco.ajax;a={hook:this.getId(),type:a?"html":"text",locale:String(b),sources:c};var e=k.Deferred();this.abortable(m.post("apis",
a,function(a){g(a&&a.targets||[]);e.resolve()},function(){g([]);e.reject()}));return e.promise()};return new m};return g}({},v,u));n.register("$18",function(g,f,u){function m(){this.inf={}}function d(){var a=u.createElement("p"),b=/&(#\d+|#x[0-9a-f]|[a-z]+);/i,c=/<[a-z]+\s/i,d,e;return{sniff:function(f){if(f===d)return e;d=f;if(b.test(f)||c.test(f))if(a.innerHTML=f,a.textContent!==f)return e=!0;return e=!1}}}var c=m.prototype;c.init=function(a){this.inf=a||{}};c.param=function(a){return this.inf[a]||
""};c.key=function(){return this.param("key")};c.getId=function(){return this.param("id")||"none"};c.getUrl=function(){return this.param("url")||"#"};c.toString=function(){return this.param("name")||this.getId()};c.stderr=function(a){var b=(f.loco||{}).notices||f.console;b&&b.error&&b.error(String(this)+": "+String(a))};c.httpError=function(a){return(a=a&&a.status)&&200!==a?"Responded status "+a:"Unknown error"};c.parseError=function(){return""};c.mapLang=function(a,b){var c=String(a).replace("-",
"_"),d=a.lang,e=b[c]||b[d]||[],f=e.length;if(0===f)return d;if(1<f)for(var c=c.toLowerCase(),d=-1,g;++d<f;)if(g=e[d],g.toLowerCase().replace("-","_")===c)return g;return e[0]};c.translate=function(a,b,c){return this.batch([a],b,this.isHtml(a),c)};c.batch=function(){return{always:function(a){a()}}};c._call=function(a){var b=this;b.state=null;a.cache=!0;a.dataType="json";a.error=function(a,c,d){try{var f=a.responseText,g=f&&n.require("$5","json.js").parse(f);d=g&&b.parseError(g)||d}catch(k){}b.stderr(d||
b.httpError(a))};return b.abortable(k.ajax(a))};c.abortable=function(a){var b=this;a.always(function(){b.$r===a&&(b.$r=null)});return b.$r=a};c.abort=function(){var a=this.$r;a&&a.abort()};c.isHtml=function(a){return(b||(b=d())).sniff(a)};c.createJob=function(){return n.require("$31","job.js").create(this)};g.create=function(a){var b;b=a.id;b="yandex"===b?n.require("$32","yandex.js").create(m):"google"===b?n.require("$33","google.js").create(m):"microsoft"===b?n.require("$34","ms.js").create(m):"deepl"===
b?n.require("$35","deepl.js").create(m):n.require("$36","custom.js").create(m);b.init(a);return b};g.suggest=function(a,b,c,d){var e,f,g=a.length;for(e=0;e<g;e++)f=a[e],f.translate(b,c,d)};var b;return g}({},v,u));n.register("$19",function(g,f,n){g.init=function(g){function d(){H||(I.click(e),H=k('<div id="loco-fs-creds"></div>').dialog({dialogClass:"request-filesystem-credentials-dialog loco-modal",minWidth:580,modal:!0,autoOpen:!1,closeOnEscape:!0}).on("change",'input[name="connection_type"]',function(){this.checked&&
k("#ssh-keys").toggleClass("hidden","ssh"!==k(this).val())}));return H}function c(){Q&&(b(k(w)),Q=!1);if(E&&J){var a=J,c=k(P);c.find("span.loco-msg").text(a);K||(c.removeClass("jshide").hide().fadeIn(500),K=!0)}else K&&(b(k(P)),K=!1)}function b(a){a.slideUp(250).fadeOut(250,function(){k(this).addClass("jshide")})}function a(){if(E)return H&&H.dialog("close"),c(),k(g).find('button[type="submit"]').attr("disabled",!1),k(f).triggerHandler("resize"),v&&v(!0),!0;z&&H?(Q||(k(w).removeClass("jshide").hide().fadeIn(500),
Q=!0),K&&(b(k(P)),K=!1)):c();k(g).find('input[type="submit"]').attr("disabled",!0);v&&v(!1);return!1}function l(a){var b,c,d=s||{};for(b in d)d.hasOwnProperty(b)&&(c=d[b],a[b]?a[b].value=c:k('<input type="hidden" />').attr("name",b).appendTo(a).val(c))}function h(a){a.preventDefault();a=k(a.target).serializeArray();r(a);C=!0;return!1}function p(a){a.preventDefault();H.dialog("close");return!1}function e(a){a.preventDefault();H.dialog("open").find('input[name="connection_type"]').change();return!1}
function x(b){E=b.authed;A=b.method;k(w).find("span.loco-msg").text(b.message||"Something went wrong.");J=b.warning||"";b.notice&&q.notices.info(b.notice);if(E)"direct"!==A&&(s=b.creds,l(g),C&&b.success&&q.notices.success(b.success)),a();else if(b.reason)q.notices.info(b.reason);else if(b=b.prompt){var c=d();c.html(b).find("form").submit(h);c.dialog("option","title",c.find("h2").remove().text());c.find("button.cancel-button").show().click(p);c.find('input[type="submit"]').addClass("button-primary");
a();k(f).triggerHandler("resize")}else q.notices.error("Server didn't return credentials, nor a prompt for credentials")}function u(){a()}function r(a){C=!1;q.ajax.setNonce("fsConnect",W).post("fsConnect",a,x,u);return a}var s,v,w=g,A=null,C=!1,E=!1,q=f.loco,z=g.path.value,F=g.auth.value,W=g["loco-nonce"].value,I=k(w).find("button.button-primary"),P=n.getElementById(w.id+"-warn"),Q=!1,K=!1,J="",H;q.notices.convert(P).stick();g.connection_type?(s={},s.connection_type=g.connection_type.value,E=!0):
z&&F&&r({path:z,auth:F});a();return{applyCreds:function(a){if(a.nodeType)l(a);else{var b,c=s||{};for(b in c)c.hasOwnProperty(b)&&(a[b]=c[b])}return this},setForm:function(b){g=b;a();l(b);return this},connect:function(){z=g.path.value;F=g.auth.value;r(k(g).serializeArray());return this},listen:function(a){v=a;E&&a(!0);return this},authed:function(){return E}}};return g}({},v,u));n.register("$20",function(g,f,u){function m(f,g,k,e){g="n"===k?c(g):b(g);e&&(g=a(g));return d([].sort,[g])(f)}function d(a,
b){return function(c){a.apply(c,b);return c}}function c(a){return function(b,c){var d=b&&b[a]||0,f=c&&c[a]||0;return d===f?0:d>f?1:-1}}function b(a){return function(b,c){return(b&&b[a]||"").localeCompare(c&&c[a]||"")}}function a(a){return function(b,c){return-1*a(b,c)}}g.init=function(a){function b(a){var c=-1,d=a.length;for(k("tr",w).remove();++c<d;)w.appendChild(a[c].$)}function c(a){r=a?B.find(a,d):d.slice(0);u&&(a=f[u],r=m(r,u,a.type,a.desc));b(r)}var d=[],f=[],g=0,r,s,u,w=a.getElementsByTagName("tbody")[0],
v=a.getElementsByTagName("thead")[0],B=n.require("$10","fulltext.js").init();v&&w&&(k("th",v).each(function(a,c){var l=c.getAttribute("data-sort-type");l&&(a=g,k(c).addClass("loco-sort").click(function(c){c.preventDefault();c=a;var g=f[c],l=g.type,n=!(g.desc=!g.desc);r=m(r||d.slice(0),c,l,n);b(r);s&&s.removeClass("loco-desc loco-asc");s=k(g.$).addClass(n?"loco-desc":"loco-asc").removeClass(n?"loco-asc":"loco-desc");u=c;return!1}),f[g]={$:c,type:l});c.hasAttribute("colspan")?g+=Number(c.getAttribute("colspan")):
g++}),k("tr",w).each(function(a,b){var c,g,h,k=[],l={_:a,$:b},m=b.getElementsByTagName("td");for(g in f){c=m[g];(h=c.textContent.replace(/(^\s+|\s+$)/g,""))&&k.push(h);c.hasAttribute("data-sort-value")&&(h=c.getAttribute("data-sort-value"));switch(f[g].type){case "n":h=Number(h)}l[g]=h}d[a]=l;B.index(a,k)}),a=k('form.loco-filter input[type="text"]',a.parentNode),a.length&&(a=a[0],v=k(a.form),1<d.length?n.require("$11","LocoTextListener.js").listen(a,c):v.hide(),v.on("submit",function(a){a.preventDefault();
return!1})))};return g}({},v,u));var C=v.loco||{},I=C.conf||{$v:[0,0]};v=n.require("$1","t.js").init();u=I.wplang;C.version=function(g){return I.$v[g||0]};n.require("$2","html.js");n.require("$3","number.js");n.require("$4","array.js");n.require("$5","json.js");C.l10n=v;v.load(I.wpl10n);u&&v.pluraleq(u.pluraleq);C.string=n.require("$6","string.js");C.notices=n.require("$7","notices.js").init(v);C.ajax=n.require("$8","ajax.js").init(I).localise(v);C.locale=n.require("$9","wplocale.js");C.fulltext=
n.require("$10","fulltext.js");C.watchtext=n.require("$11","LocoTextListener.js").listen;C.tooltip=n.require("$12","tooltip.js");C.po={ed:n.require("$13","poedit.js"),kbd:n.require("$14","hotkeys.js"),init:n.require("$15","po.js").create,ace:n.require("$16","ace.js").strf("php"),ref:n.require("$17","refs.js")};C.apis=n.require("$18","apis.js");C.fs=n.require("$19","fsconn.js");k("#loco-admin.wrap table.wp-list-table").each(function(g,f){n.require("$20","tables.js").init(f)});C.validate=function(g){return"2.4.4"!==
(/^\d+\.\d+\.\d+/.exec(g&&g[0]||"")&&RegExp.lastMatch)?(C.notices.warn("admin.js is the wrong version (2.4.4). Please empty all relevant caches and reload this page."),!1):!0}})(window,document,window.jQuery);

https://t.me/AnonymousX5 - 2025