(function(e,t){"use strict";if(typeofdefine==="function"&&define.amd){define(t)}elseif(typeofexports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){vare=Array;vart=e.prototype;varr=Object;varn=r.prototype;vara=Function.prototype;vari=String;varo=i.prototype;varl=Number;varu=l.prototype;varf=t.slice;vars=t.splice;varc=t.push;varv=t.unshift;varp=t.concat;varh=a.call;varg=Math.max;vary=Math.min;vard=n.toString;varw=typeofSymbol==="function"&&typeofSymbol.toStringTag==="symbol";varm;varb=Function.prototype.toString,T=functionMe(e){try{b.call(e);returntrue}catch(t){returnfalse}},x="[object Function]",O="[object GeneratorFunction]";m=functionFe(e){if(typeofe!=="function"){returnfalse}if(w){returnT(e)}vart=d.call(e);returnt===x||t===O};varS;varj=RegExp.prototype.exec,E=functionRe(e){try{j.call(e);returntrue}catch(t){returnfalse}},I="[object RegExp]";S=function$e(e){if(typeofe!=="object"){returnfalse}returnw?E(e):d.call(e)===I};varD;varN=String.prototype.valueOf,k=functionAe(e){try{N.call(e);returntrue}catch(t){returnfalse}},M="[object String]";D=functionUe(e){if(typeofe==="string"){returntrue}if(typeofe!=="object"){returnfalse}returnw?k(e):d.call(e)===M};varF=function(e){vart=r.defineProperty&&function(){try{vare={};r.defineProperty(e,"x",{enumerable:false,value:e});for(vartine){returnfalse}returne.x===e}catch(n){returnfalse}}();varn;if(t){n=function(e,t,n,a){if(!a&&tine){return}r.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:n})}}else{n=function(e,t,r,n){if(!n&&tine){return}e[t]=r}}returnfunctiona(t,r,i){for(varoinr){if(e.call(r,o)){n(t,o,r[o],i)}}}}(n.hasOwnProperty);varR=functionCe(e){vart=typeofe;returne===null||t!=="object"&&t!=="function"};var$={ToInteger:functionPe(e){vart=+e;if(t!==t){t=0}elseif(t!==0&&t!==1/0&&t!==-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}returnt},ToPrimitive:functionZe(e){vart,r,n;if(R(e)){returne}r=e.valueOf;if(m(r)){t=r.call(e);if(R(t)){returnt}}n=e.toString;if(m(n)){t=n.call(e);if(R(t)){returnt}}thrownewTypeError},ToObject:function(e){if(e==null){thrownewTypeError("can't convert "+e+" to object")}returnr(e)},ToUint32:functionJe(e){returne>>>0}};varA=functionze(){};F(a,{bind:functionBe(e){vart=this;if(!m(t)){thrownewTypeError("Function.prototype.bind called on incompatible "+t)}varn=f.call(arguments,1);vara;vari=function(){if(thisinstanceofa){vari=t.apply(this,p.call(n,f.call(arguments)));if(r(i)===i){returni}returnthis}else{returnt.apply(e,p.call(n,f.call(arguments)))}};varo=g(0,t.length-n.length);varl=[];for(varu=0;u<o;u++){c.call(l,"$"+u)}a=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this, arguments); }")(i);if(t.prototype){A.prototype=t.prototype;a.prototype=newA;A.prototype=null}returna}});varU=h.bind(n.hasOwnProperty);varC=h.bind(n.toString);varP=h.bind(o.slice);varZ=h.bind(o.split);varJ=e.isArray||functionGe(e){returnC(e)==="[object Array]"};varz=[].unshift(0)!==1;F(t,{unshift:function(){v.apply(this,arguments);returnthis.length}},z);F(e,{isArray:J});varB=r("a");varG=B[0]!=="a"||!(0inB);varH=functionHe(e){vart=true;varr=true;if(e){e.call("foo",function(e,r,n){if(typeofn!=="object"){t=false}});e.call([1],function(){"use strict";r=typeofthis==="string"},"x")}return!!e&&t&&r};F(t,{forEach:functionLe(e){vart=$.ToObject(this);varr=G&&D(this)?Z(this,""):t;varn=-1;vara=r.length>>>0;vari;if(arguments.length>1){i=arguments[1]}if(!m(e)){thrownewTypeError("Array.prototype.forEach callback must be a function")}while(++n<a){if(ninr){if(typeofi!=="undefined"){e.call(i,r[n],n,t)}else{e(r[n],n,t)}}}}},!H(t.forEach));F(t,{map:functionXe(t){varr=$.ToObject(this);varn=G&&D(this)?Z(this,""):r;vara=n.length>>>0;vari=e(a);varo;if(arguments.length>1){o=arguments[1]}if(!m(t)){thrownewTypeError("Array.prototype.map callback must be a function")}for(varl=0;l<a;l++){if(linn){if(typeofo!=="undefined"){i[l]=t.call(o,n[l],l,r)}else{i[l]=t(n[l],l,r)}}}returni}},!H(t.map));F(t,{f
(function(e,t){"use strict";if(typeofdefine==="function"&&define.amd){define(t)}elseif(typeofexports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){vare=Function.prototype.call;vart=Object.prototype;varr=e.bind(t.hasOwnProperty);varn=e.bind(t.propertyIsEnumerable);varo;varc;vari;varf;vara=r(t,"__defineGetter__");if(a){o=e.bind(t.__defineGetter__);c=e.bind(t.__defineSetter__);i=e.bind(t.__lookupGetter__);f=e.bind(t.__lookupSetter__)}if(!Object.getPrototypeOf){Object.getPrototypeOf=functionz(e){varr=e.__proto__;if(r||r===null){returnr}elseif(e.constructor){returne.constructor.prototype}else{returnt}}}varl=functionS(e){try{e.sentinel=0;returnObject.getOwnPropertyDescriptor(e,"sentinel").value===0}catch(t){returnfalse}};if(Object.defineProperty){varu=l({});varp=typeofdocument==="undefined"||l(document.createElement("div"));if(!p||!u){varb=Object.getOwnPropertyDescriptor}}if(!Object.getOwnPropertyDescriptor||b){vars="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=functionD(e,o){if(typeofe!=="object"&&typeofe!=="function"||e===null){thrownewTypeError(s+e)}if(b){try{returnb.call(Object,e,o)}catch(c){}}varl;if(!r(e,o)){returnl}l={enumerable:n(e,o),configurable:true};if(a){varu=e.__proto__;varp=e!==t;if(p){e.__proto__=t}varO=i(e,o);varj=f(e,o);if(p){e.__proto__=u}if(O||j){if(O){l.get=O}if(j){l.set=j}returnl}}l.value=e[o];l.writable=true;returnl}}if(!Object.getOwnPropertyNames){Object.getOwnPropertyNames=functionk(e){returnObject.keys(e)}}if(!Object.create){varO;varj=!({__proto__:null}instanceofObject);vard=functionF(){if(!document.domain){returnfalse}try{return!!newActiveXObject("htmlfile")}catch(e){returnfalse}};vary=functionG(){vare;vart;t=newActiveXObject("htmlfile");t.write("<script></script>");t.close();e=t.parentWindow.Object.prototype;t=null;returne};var_=functionA(){vare=document.createElement("iframe");vart=document.body||document.documentElement;varr;e.style.display="none";t.appendChild(e);e.src="javascript:";r=e.contentWindow.Object.prototype;t.removeChild(e);e=null;returnr};if(j||typeofdocument==="undefined"){O=function(){return{__proto__:null}}}else{O=function(){vare=d()?y():_();deletee.constructor;deletee.hasOwnProperty;deletee.propertyIsEnumerable;deletee.isPrototypeOf;deletee.toLocaleString;deletee.toString;deletee.valueOf;e.__proto__=null;vart=functionr(){};t.prototype=e;O=function(){returnnewt};returnnewt}}Object.create=functionC(e,t){varr;varn=functiono(){};if(e===null){r=O()}else{if(typeofe!=="object"&&typeofe!=="function"){thrownewTypeError("Object prototype may only be an Object or null")}n.prototype=e;r=newn;r.__proto__=e}if(t!==void0){Object.defineProperties(r,t)}returnr}}varv=functionI(e){try{Object.defineProperty(e,"sentinel",{});return"sentinel"ine}catch(t){returnfalse}};if(Object.defineProperty){varw=v({});varh=typeofdocument==="undefined"||v(document.createElement("div"));if(!w||!h){varm=Object.defineProperty,E=Object.defineProperties}}if(!Object.defineProperty||m){varP="Property description must be an object: ";varg="Object.defineProperty called on non-object: ";varT="getters & setters can not be defined on this javascript engine";Object.defineProperty=functionN(e,r,n){if(typeofe!=="object"&&typeofe!=="function"||e===null){thrownewTypeError(g+e)}if(typeofn!=="object"&&typeofn!=="function"||n===null){thrownewTypeError(P+n)}if(m){try{returnm.call(Object,e,r,n)}catch(l){}}if("value"inn){if(a&&(i(e,r)||f(e,r))){varu=e.__proto__;e.__proto__=t;deletee[r];e[r]=n.value;e.__proto__=u}else{e[r]=n.value}}else{if(!a&&("get"inn||"set"inn)){thrownewTypeError(T)}if("get"inn){o(e,r,n.get)}if("set"inn){c(e,r,n.set)}}returne}}if(!Object.defineProperties||E){Object.defineProperties=functionW(e,t){if(E){try{returnE.call(Object,e,t)}catch(r){}}Object.keys(t).forEach(function(r){if(r!=="__proto__"){Object.defineProperty(e,r,t[r])}});returne}}if(!Object.seal){Object.seal=functionX(e){if(Object(e)!==e){thrownewTypeError("Object.s
!function(){functiont(t){this.message=t}varr="undefined"!=typeofexports?exports:this,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.prototype=newError,t.prototype.name="InvalidCharacterError",r.btoa||(r.btoa=function(r){for(varo,n,a=String(r),i=0,c=e,d="";a.charAt(0|i)||(c="=",i%1);d+=c.charAt(63&o>>8-i%1*8)){if(n=a.charCodeAt(i+=.75),n>255)thrownewt("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");o=o<<8|n}returnd}),r.atob||(r.atob=function(r){varo=String(r).replace(/=+$/,"");if(o.length%4==1)thrownewt("'atob' failed: The string to be decoded is not correctly encoded.");for(varn,a,i=0,c=0,d="";a=o.charAt(c++);~a&&(n=i%4?64*n+a:a,i++%4)?d+=String.fromCharCode(255&n>>(-2*i&6)):0)a=e.indexOf(a);returnd})}();
void0}functionn(a,c){if(this.objectOnly&&c!==Object(c))thrownewTypeError("Invalid value used as weak collection key");if(c!=c||0===c)for(b=a.length;b--&&!y(a[b],c););elseb=a.indexOf(c);return-1<b}functionp(a){returnn.call(this,this._values,a)}functionq(a){returnn.call(this,this._keys,a)}functionr(a,c){this.has(a)?this._values[b]=c:this._values[this._keys.push(a)-1]=c;returnthis}functiont(a){this.has(a)||this._values.push(a);returnthis}functionh(){(this._keys||0).length=this._values.length=
!function(t){functionr(o){if(n[o])returnn[o].exports;vare=n[o]={i:o,l:!1,exports:{}};returnt[o].call(e.exports,e,e.exports,r),e.l=!0,e.exports}varn={};r.m=t,r.c=n,r.i=function(t){returnt},r.d=function(t,n,o){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},r.n=function(t){varn=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnr.d(n,"a",n),n},r.o=function(t,r){returnObject.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=4)}([function(t,r,n){"use strict";varo=n(7)();t.exports=function(t){returnt!==o&&null!==t}},function(t,r,n){"use strict";varo={object:!0,symbol:!0};t.exports=function(){vart;if("function"!=typeofSymbol)return!1;t=Symbol("test symbol");try{String(t)}catch(t){return!1}return!!o[typeofSymbol.iterator]&&(!!o[typeofSymbol.toPrimitive]&&!!o[typeofSymbol.toStringTag])}},function(t,r){t.exports=function(){returnthis}()},function(t,r,n){"use strict";varo,e,i,c,u=n(6),s=n(20),a=Object.create,f=Object.defineProperties,p=Object.defineProperty,l=Object.prototype,y=a(null);if("function"==typeofSymbol){o=Symbol;try{String(o()),c=!0}catch(t){}}varb=function(){vart=a(null);returnfunction(r){for(varn,o,e=0;t[r+(e||"")];)++e;returnr+=e||"",t[r]=!0,n="@@"+r,p(l,n,u.gs(null,function(t){o||(o=!0,p(this,n,u(t)),o=!1)})),n}}();i=function(t){if(thisinstanceofi)thrownewTypeError("Symbol is not a constructor");returne(t)},t.exports=e=functiont(r){varn;if(thisinstanceoft)thrownewTypeError("Symbol is not a constructor");returnc?o(r):(n=a(i.prototype),r=void0===r?"":String(r),f(n,{__description__:u("",r),__name__:u("",b(r))}))},f(e,{for:u(function(t){returny[t]?y[t]:y[t]=e(String(t))}),keyFor:u(function(t){varr;s(t);for(riny)if(y[r]===t)returnr}),hasInstance:u("",o&&o.hasInstance||e("hasInstance")),isConcatSpreadable:u("",o&&o.isConcatSpreadable||e("isConcatSpreadable")),iterator:u("",o&&o.iterator||e("iterator")),match:u("",o&&o.match||e("match")),replace:u("",o&&o.replace||e("replace")),search:u("",o&&o.search||e("search")),species:u("",o&&o.species||e("species")),split:u("",o&&o.split||e("split")),toPrimitive:u("",o&&o.toPrimitive||e("toPrimitive")),toStringTag:u("",o&&o.toStringTag||e("toStringTag")),unscopables:u("",o&&o.unscopables||e("unscopables"))}),f(i.prototype,{constructor:u(e),toString:u("",function(){returnthis.__name__})}),f(e.prototype,{toString:u(function(){return"Symbol ("+s(this).__description__+")"}),valueOf:u(function(){returns(this)})}),p(e.prototype,e.toPrimitive,u("",function(){vart=s(this);return"symbol"==typeoft?t:t.toString()})),p(e.prototype,e.toStringTag,u("c","Symbol")),p(i.prototype,e.toStringTag,u("c",e.prototype[e.toStringTag])),p(i.prototype,e.toPrimitive,u("c",e.prototype[e.toPrimitive]))},function(t,r,n){"use strict";n(1)()||Object.defineProperty(n(2),"Symbol",{value:n(3),configurable:!0,enumerable:!1,writable:!0})},function(t,r,n){"use strict";t.exports=function(t){return!!t&&("symbol"==typeoft||!!t.constructor&&("Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag]))}},function(t,r,n){"use strict";varo,e=n(8),i=n(15),c=n(11),u=n(17);o=t.exports=function(t,r){varn,o,c,s,a;returnarguments.length<2||"string"!=typeoft?(s=r,r=t,t=null):s=arguments[2],null==t?(n=c=!0,o=!1):(n=u.call(t,"c"),o=u.call(t,"e"),c=u.call(t,"w")),a={value:r,configurable:n,enumerable:o,writable:c},s?e(i(s),a):a},o.gs=function(t,r,n){varo,s,a,f;return"string"!=typeoft?(a=n,n=r,r=t,t=null):a=arguments[3],null==r?r=void0:c(r)?null==n?n=void0:c(n)||(a=n,n=void0):(a=r,r=n=void0),null==t?(o=!0,s=!1):(o=u.call(t,"c"),s=u.call(t,"e")),f={get:r,set:n,configurable:o,enumerable:s},a?e(i(a),f):f}},function(t,r,n){"use strict";t.exports=function(){}},function(t,r,n){"use strict";t.exports=n(9)()?Object.assign:n(10)},function(t,r,n){"use strict";t.exports=function(){vart,r=Object.assign;return"function"==typeofr&&(t={foo:"raz"},r(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,r,n){"use strict";varo=n(12),e=n(16),i=Math.max;t.exports=function(t,r){varn,c,u,s=i(arguments.length,2);for(t=O
!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define(e):t.ES6Promise=e()}(this,function(){"use strict";functiont(t){vare=typeoft;returnnull!==t&&("object"===e||"function"===e)}functione(t){return"function"==typeoft}functionn(t){B=t}functionr(t){G=t}functiono(){returnfunction(){returnprocess.nextTick(a)}}functioni(){return"undefined"!=typeofz?function(){z(a)}:c()}functions(){vart=0,e=newJ(a),n=document.createTextNode("");returne.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}functionu(){vart=newMessageChannel;returnt.port1.onmessage=a,function(){returnt.port2.postMessage(0)}}functionc(){vart=setTimeout;returnfunction(){returnt(a,1)}}functiona(){for(vart=0;t<W;t+=2){vare=V[t],n=V[t+1];e(n),V[t]=void0,V[t+1]=void0}W=0}functionf(){try{vart=Function("return this")().require("vertx");returnz=t.runOnLoop||t.runOnContext,i()}catch(e){returnc()}}functionl(t,e){varn=this,r=newthis.constructor(p);void0===r[Z]&&O(r);varo=n._state;if(o){vari=arguments[o-1];G(function(){returnP(o,r,i,n._result)})}elseE(n,r,t,e);returnr}functionh(t){vare=this;if(t&&"object"==typeoft&&t.constructor===e)returnt;varn=newe(p);returng(n,t),n}functionp(){}functionv(){returnnewTypeError("You cannot resolve a promise with itself")}functiond(){returnnewTypeError("A promises callback cannot return that same promise.")}function_(t){try{returnt.then}catch(e){returnnt.error=e,nt}}functiony(t,e,n,r){try{t.call(e,n,r)}catch(o){returno}}functionm(t,e,n){G(function(t){varr=!1,o=y(n,e,function(n){r||(r=!0,e!==n?g(t,n):S(t,n))},function(e){r||(r=!0,j(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,j(t,o))},t)}functionb(t,e){e._state===tt?S(t,e._result):e._state===et?j(t,e._result):E(e,void0,function(e){returng(t,e)},function(e){returnj(t,e)})}functionw(t,n,r){n.constructor===t.constructor&&r===l&&n.constructor.resolve===h?b(t,n):r===nt?(j(t,nt.error),nt.error=null):void0===r?S(t,n):e(r)?m(t,n,r):S(t,n)}functiong(e,n){e===n?j(e,v()):t(n)?w(e,n,_(n)):S(e,n)}functionA(t){t._onerror&&t._onerror(t._result),T(t)}functionS(t,e){t._state===$&&(t._result=e,t._state=tt,0!==t._subscribers.length&&G(T,t))}functionj(t,e){t._state===$&&(t._state=et,t._result=e,G(A,t))}functionE(t,e,n,r){varo=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+tt]=n,o[i+et]=r,0===i&&t._state&&G(T,t)}functionT(t){vare=t._subscribers,n=t._state;if(0!==e.length){for(varr=void0,o=void0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}functionM(t,e){try{returnt(e)}catch(n){returnnt.error=n,nt}}functionP(t,n,r,o){vari=e(r),s=void0,u=void0,c=void0,a=void0;if(i){if(s=M(r,o),s===nt?(a=!0,u=s.error,s.error=null):c=!0,n===s)returnvoidj(n,d())}elses=o,c=!0;n._state!==$||(i&&c?g(n,s):a?j(n,u):t===tt?S(n,s):t===et&&j(n,s))}functionx(t,e){try{e(function(e){g(t,e)},function(e){j(t,e)})}catch(n){j(t,n)}}functionC(){returnrt++}functionO(t){t[Z]=rt++,t._state=void0,t._result=void0,t._subscribers=[]}functionk(){returnnewError("Array Methods must be provided an Array")}functionF(t){returnnewot(this,t).promise}functionY(t){vare=this;returnnewe(U(t)?function(n,r){for(varo=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){returne(newTypeError("You must pass an array to race."))})}functionq(t){vare=this,n=newe(p);returnj(n,t),n}functionD(){thrownewTypeError("You must pass a resolver function as the first argument to the promise constructor")}functionK(){thrownewTypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}functionL(){vart=void0;if("undefined"!=typeofglobal)t=global;elseif("undefined"!=typeofself)t=self;elsetry{t=Function("return this")()}catch(e){thrownewError("polyfill failed because global object is unavailable in this environment")}varn=t.Promise;if(n){varr=null;try{r=Object.prototype.toString.call(n.resolve())}catch(e){}if("[object Promise]"===r&&!n.
(function(){"use strict";functiona(a){for(varb=0;b<ma.length;b+=1)if(a.hasOwnProperty(ma[b]))return!1;return!0}functionb(a){for(varb=0;b<la.length;b+=1)if(a.hasOwnProperty(la[b]))return!1;return!0}functionc(a){if(ja.test(a))returnvoid0;varb={};returnb.pattern=a.replace(ia,function(a){switch(a.charAt(0)){case"E":case"e":case"c":returnb.weekday=ka.weekday[a.length-1],"{weekday}";case"G":returnb.era=ka.era[a.length-1],"{era}";case"y":case"Y":case"u":case"U":returnb.year=2===a.length?"2-digit":"numeric","{year}";case"M":case"L":returnb.month=ka.month[a.length-1],"{month}";case"d":returnb.day=2===a.length?"2-digit":"numeric","{day}";case"a":return"{ampm}";case"h":case"H":case"k":case"K":returnb.hour=2===a.length?"2-digit":"numeric","{hour}";case"m":returnb.minute=2===a.length?"2-digit":"numeric","{minute}";case"s":returnb.second=2===a.length?"2-digit":"numeric","{second}";case"z":returnb.timeZoneName=a.length<4?"short":"long","{timeZoneName}"}}),b.pattern=b.pattern.replace(/'([^']*)'/g,function(a,b){returnb?b:"'"}),b.pattern.indexOf("{ampm}")>-1&&(b.hour12=!0,b.pattern12=b.pattern,b.pattern=b.pattern.replace("{ampm}","").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),b}functiond(d){functione(a,b){varc=newArray((a.match(/M/g)||[]).length+1),d=newArray((a.match(/E/g)||[]).length+1);returnc.length>2&&(b=b.replace(/(M|L)+/,c.join("$1"))),d.length>2&&(b=b.replace(/([Eec])+/,d.join("$1"))),b}varf,g,h,i,j,k=d.availableFormats,l=d.timeFormats,m=d.dateFormats,n=d.medium,o=[],p=[],q=[];for(fink)k.hasOwnProperty(f)&&(g=e(f,k[f]),h=c(g),h&&(o.push(h),a(h)?q.push(g):b(h)&&p.push(g)));for(i=0;i<p.length;i+=1)for(j=0;j<q.length;j+=1)g=n.replace("{0}",p[i]).replace("{1}",q[j]).replace(/^[,\s]+|[,\s]+$/gi,""),h=c(g),h&&o.push(h);for(finl)l.hasOwnProperty(f)&&(g=e(f,l[f]),h=c(g),h&&o.push(h));for(finm)m.hasOwnProperty(f)&&(g=e(f,m[f]),h=c(g),h&&o.push(h));returno}functione(a){returnea.test(a)?fa.test(a)?!1:ga.test(a)?!1:!0:!1}functionf(a){varb,c;a=a.toLowerCase(),c=a.split("-");for(vard=1,e=c.length;e>d;d++)if(2===c[d].length)c[d]=c[d].toUpperCase();elseif(4===c[d].length)c[d]=c[d].charAt(0).toUpperCase()+c[d].slice(1);elseif(1===c[d].length&&"x"!==c[d])break;a=xa.call(c,"-"),(b=a.match(ha))&&b.length>1&&(b.sort(),a=a.replace(RegExp("(?:"+ha.source+")+","i"),xa.call(b,""))),qa.call(Ha.tags,a)&&(a=Ha.tags[a]),c=a.split("-");for(vard=1,e=c.length;e>d;d++)qa.call(Ha.subtags,c[d])?c[d]=Ha.subtags[c[d]]:qa.call(Ha.extLang,c[d])&&(c[d]=Ha.extLang[c[d]][0],1===d&&Ha.extLang[c[1]][1]===c[0]&&(c=ua.call(c,d++),e-=1));returnxa.call(c,"-")}functiong(){returnT}functionh(a){varb=String(a),c=Q(b);returnFa.test(c)===!1?!1:!0}functioni(a){if(void0===a)returnnewO;for(varb=newO,a="string"==typeofa?[a]:a,c=R(a),d=c.length,g=0;d>g;){varh=String(g),i=hinc;if(i){varj=c[h];if(null==j||"string"!=typeofj&&"object"!=typeofj)thrownewTypeError("String or Object type expected");vark=String(j);if(!e(k))thrownewRangeError("'"+k+"' is not a structurally valid language tag");k=f(k),-1===sa.call(b,k)&&wa.call(b,k)}g++}returnb}functionj(a,b){for(varc=b;;){if(sa.call(a,c)>-1)returnc;vard=c.lastIndexOf("-");if(0>d)return;d>=2&&"-"===c.charAt(d-2)&&(d-=2),c=c.substring(0,d)}}functionk(a,b){for(varc,d=0,e=b.length;e>d&&!c;){varf=b[d],h=String(f).replace(Ga,""),c=j(a,h);d++}vari=newN;if(void0!==c){if(i["[[locale]]"]=c,String(f)!==String(h)){vark=f.match(Ga)[0],l=f.indexOf("-u-");i["[[extension]]"]=k,i["[[extensionIndex]]"]=l}}elsei["[[locale]]"]=g();returni}functionl(a,b){returnk(a,b)}functionm(a,b,c,d,e){if(0===a.length)thrownewReferenceError("No locale data has been provided for this object yet.");varf=c["[[localeMatcher]]"];if("lookup"===f)varg=k(a,b);elsevarg=l(a,b);varh=g["[[locale]]"];if(qa.call(g,"[[extension]]"))vari=g["[[extension]]"],j=g["[[extensionIndex]]"],m=String.prototype.split,n=m.call(i,"-"),o=n.length;varp=newN;p["[[dataLocale]]"]=h;for(varq="-u",r=0,s=d.length;s>r;){vart=d[r],u=e[h],v=u[t],w=v[0],x="",y=sa;if(void0!==n){varz=y.call(n,t);if(-1!==z)if(o>z+1&&n[z+1].l