UNPKG

@aurolabs/auro-banner

Version:
91 lines 255 kB
!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},s={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c=u&&!s.call({1:2},1);a.f=c?function(t){var e=u(this,t);return!!e&&e.enumerable}:s;var l=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},h={}.toString,f=function(t){return h.call(t).slice(8,-1)},d=f,p="".split,v=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?p.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=v,g=y,_=function(t){return m(g(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=b,E=function(t,e){if(!w(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!w(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!w(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!w(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},S=y,N=function(t){return Object(S(t))},C=N,T={}.hasOwnProperty,x=Object.hasOwn||function(t,e){return T.call(C(t),e)},O=b,A=n.document,P=O(A)&&O(A.createElement),L=function(t){return P?A.createElement(t):{}},k=L,j=!i&&!o((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),D=i,M=a,R=l,I=_,U=E,F=x,B=j,H=Object.getOwnPropertyDescriptor;r.f=D?H:function(t,e){if(t=I(t),e=U(e,!0),B)try{return H(t,e)}catch(t){}if(F(t,e))return R(!M.f.call(t,e),t[e])};var V={},q=b,W=function(t){if(!q(t))throw TypeError(String(t)+" is not an object");return t},z=i,G=j,$=W,Y=E,X=Object.defineProperty;V.f=z?X:function(t,e,n){if($(t),e=Y(e,!0),$(n),G)try{return X(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var K=V,J=l,Z=i?function(t,e,n){return K.f(t,e,J(1,n))}:function(t,e,n){return t[e]=n,t},Q={exports:{}},tt=n,et=Z,nt=function(t,e){try{et(tt,t,e)}catch(n){tt[t]=e}return e},rt=nt,ot="__core-js_shared__",it=n[ot]||rt(ot,{}),at=it,st=Function.toString;"function"!=typeof at.inspectSource&&(at.inspectSource=function(t){return st.call(t)});var ut=at.inspectSource,ct=ut,lt=n.WeakMap,ht="function"==typeof lt&&/native code/.test(ct(lt)),ft={exports:{}},dt=it;(ft.exports=function(t,e){return dt[t]||(dt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.13.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var pt,vt,yt,mt=0,gt=Math.random(),_t=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++mt+gt).toString(36)},bt=ft.exports,wt=_t,Et=bt("keys"),St=function(t){return Et[t]||(Et[t]=wt(t))},Nt={},Ct=ht,Tt=b,xt=Z,Ot=x,At=it,Pt=St,Lt=Nt,kt="Object already initialized",jt=n.WeakMap;if(Ct||At.state){var Dt=At.state||(At.state=new jt),Mt=Dt.get,Rt=Dt.has,It=Dt.set;pt=function(t,e){if(Rt.call(Dt,t))throw new TypeError(kt);return e.facade=t,It.call(Dt,t,e),e},vt=function(t){return Mt.call(Dt,t)||{}},yt=function(t){return Rt.call(Dt,t)}}else{var Ut=Pt("state");Lt[Ut]=!0,pt=function(t,e){if(Ot(t,Ut))throw new TypeError(kt);return e.facade=t,xt(t,Ut,e),e},vt=function(t){return Ot(t,Ut)?t[Ut]:{}},yt=function(t){return Ot(t,Ut)}}var Ft={set:pt,get:vt,has:yt,enforce:function(t){return yt(t)?vt(t):pt(t,{})},getterFor:function(t){return function(e){var n;if(!Tt(e)||(n=vt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Bt=n,Ht=Z,Vt=x,qt=nt,Wt=ut,zt=Ft.get,Gt=Ft.enforce,$t=String(String).split("String");(Q.exports=function(t,e,n,r){var o,i=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,s=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||Vt(n,"name")||Ht(n,"name",e),(o=Gt(n)).source||(o.source=$t.join("string"==typeof e?e:""))),t!==Bt?(i?!s&&t[e]&&(a=!0):delete t[e],a?t[e]=n:Ht(t,e,n)):a?t[e]=n:qt(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&zt(this).source||Wt(this)}));var Yt=n,Xt=Yt,Kt=n,Jt=function(t){return"function"==typeof t?t:void 0},Zt=function(t,e){return arguments.length<2?Jt(Xt[t])||Jt(Kt[t]):Xt[t]&&Xt[t][e]||Kt[t]&&Kt[t][e]},Qt={},te=Math.ceil,ee=Math.floor,ne=function(t){return isNaN(t=+t)?0:(t>0?ee:te)(t)},re=ne,oe=Math.min,ie=function(t){return t>0?oe(re(t),9007199254740991):0},ae=ne,se=Math.max,ue=Math.min,ce=function(t,e){var n=ae(t);return n<0?se(n+e,0):ue(n,e)},le=_,he=ie,fe=ce,de=function(t){return function(e,n,r){var o,i=le(e),a=he(i.length),s=fe(r,a);if(t&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((t||s in i)&&i[s]===n)return t||s||0;return!t&&-1}},pe={includes:de(!0),indexOf:de(!1)},ve=x,ye=_,me=pe.indexOf,ge=Nt,_e=function(t,e){var n,r=ye(t),o=0,i=[];for(n in r)!ve(ge,n)&&ve(r,n)&&i.push(n);for(;e.length>o;)ve(r,n=e[o++])&&(~me(i,n)||i.push(n));return i},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],we=_e,Ee=be.concat("length","prototype");Qt.f=Object.getOwnPropertyNames||function(t){return we(t,Ee)};var Se={};Se.f=Object.getOwnPropertySymbols;var Ne,Ce,Te=Qt,xe=Se,Oe=W,Ae=Zt("Reflect","ownKeys")||function(t){var e=Te.f(Oe(t)),n=xe.f;return n?e.concat(n(t)):e},Pe=x,Le=Ae,ke=r,je=V,De=function(t,e){for(var n=Le(e),r=je.f,o=ke.f,i=0;i<n.length;i++){var a=n[i];Pe(t,a)||r(t,a,o(e,a))}},Me=o,Re=/#|\.prototype\./,Ie=function(t,e){var n=Fe[Ue(t)];return n==He||n!=Be&&("function"==typeof e?Me(e):!!e)},Ue=Ie.normalize=function(t){return String(t).replace(Re,".").toLowerCase()},Fe=Ie.data={},Be=Ie.NATIVE="N",He=Ie.POLYFILL="P",Ve=Ie,qe=n,We=r.f,ze=Z,Ge=Q.exports,$e=nt,Ye=De,Xe=Ve,Ke=function(t,e){var n,r,o,i,a,s=t.target,u=t.global,c=t.stat;if(n=u?qe:c?qe[s]||$e(s,{}):(qe[s]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=We(n,r))&&a.value:n[r],!Xe(u?r:s+(c?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ye(i,o)}(t.sham||o&&o.sham)&&ze(i,"sham",!0),Ge(n,r,i,t)}},Je=f,Ze=Array.isArray||function(t){return"Array"==Je(t)},Qe=E,tn=V,en=l,nn=function(t,e,n){var r=Qe(e);r in t?tn.f(t,r,en(0,n)):t[r]=n},rn=Zt("navigator","userAgent")||"",on=rn,an=n.process,sn=an&&an.versions,un=sn&&sn.v8;un?Ce=(Ne=un.split("."))[0]<4?1:Ne[0]+Ne[1]:on&&(!(Ne=on.match(/Edge\/(\d+)/))||Ne[1]>=74)&&(Ne=on.match(/Chrome\/(\d+)/))&&(Ce=Ne[1]);var cn=Ce&&+Ce,ln=cn,hn=o,fn=!!Object.getOwnPropertySymbols&&!hn((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ln&&ln<41})),dn=fn&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,pn=n,vn=ft.exports,yn=x,mn=_t,gn=fn,_n=dn,bn=vn("wks"),wn=pn.Symbol,En=_n?wn:wn&&wn.withoutSetter||mn,Sn=function(t){return yn(bn,t)&&(gn||"string"==typeof bn[t])||(gn&&yn(wn,t)?bn[t]=wn[t]:bn[t]=En("Symbol."+t)),bn[t]},Nn=b,Cn=Ze,Tn=Sn("species"),xn=function(t,e){var n;return Cn(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Cn(n.prototype)?Nn(n)&&null===(n=n[Tn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},On=o,An=cn,Pn=Sn("species"),Ln=function(t){return An>=51||!On((function(){var e=[];return(e.constructor={})[Pn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},kn=Ke,jn=o,Dn=Ze,Mn=b,Rn=N,In=ie,Un=nn,Fn=xn,Bn=Ln,Hn=cn,Vn=Sn("isConcatSpreadable"),qn=9007199254740991,Wn="Maximum allowed index exceeded",zn=Hn>=51||!jn((function(){var t=[];return t[Vn]=!1,t.concat()[0]!==t})),Gn=Bn("concat"),$n=function(t){if(!Mn(t))return!1;var e=t[Vn];return void 0!==e?!!e:Dn(t)};kn({target:"Array",proto:!0,forced:!zn||!Gn},{concat:function(t){var e,n,r,o,i,a=Rn(this),s=Fn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if($n(i=-1===e?a:arguments[e])){if(u+(o=In(i.length))>qn)throw TypeError(Wn);for(n=0;n<o;n++,u++)n in i&&Un(s,u,i[n])}else{if(u>=qn)throw TypeError(Wn);Un(s,u++,i)}return s.length=u,s}});var Yn={};Yn[Sn("toStringTag")]="z";var Xn="[object z]"===String(Yn),Kn=Xn,Jn=f,Zn=Sn("toStringTag"),Qn="Arguments"==Jn(function(){return arguments}()),tr=Kn?Jn:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Zn))?n:Qn?Jn(e):"Object"==(r=Jn(e))&&"function"==typeof e.callee?"Arguments":r},er=tr,nr=Xn?{}.toString:function(){return"[object "+er(this)+"]"},rr=Xn,or=Q.exports,ir=nr;rr||or(Object.prototype,"toString",ir,{unsafe:!0});var ar,sr=_e,ur=be,cr=Object.keys||function(t){return sr(t,ur)},lr=V,hr=W,fr=cr,dr=i?Object.defineProperties:function(t,e){hr(t);for(var n,r=fr(e),o=r.length,i=0;o>i;)lr.f(t,n=r[i++],e[n]);return t},pr=Zt("document","documentElement"),vr=W,yr=dr,mr=be,gr=Nt,_r=pr,br=L,wr=St("IE_PROTO"),Er=function(){},Sr=function(t){return"<script>"+t+"</"+"script>"},Nr=function(){try{ar=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Nr=ar?function(t){t.write(Sr("")),t.close();var e=t.parentWindow.Object;return t=null,e}(ar):((e=br("iframe")).style.display="none",_r.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Sr("document.F=Object")),t.close(),t.F);for(var n=mr.length;n--;)delete Nr.prototype[mr[n]];return Nr()};gr[wr]=!0;var Cr=Object.create||function(t,e){var n;return null!==t?(Er.prototype=vr(t),n=new Er,Er.prototype=null,n[wr]=t):n=Nr(),void 0===e?n:yr(n,e)},Tr={},xr=_,Or=Qt.f,Ar={}.toString,Pr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Tr.f=function(t){return Pr&&"[object Window]"==Ar.call(t)?function(t){try{return Or(t)}catch(t){return Pr.slice()}}(t):Or(xr(t))};var Lr={},kr=Sn;Lr.f=kr;var jr=Yt,Dr=x,Mr=Lr,Rr=V.f,Ir=function(t){var e=jr.Symbol||(jr.Symbol={});Dr(e,t)||Rr(e,t,{value:Mr.f(t)})},Ur=V.f,Fr=x,Br=Sn("toStringTag"),Hr=function(t,e,n){t&&!Fr(t=n?t:t.prototype,Br)&&Ur(t,Br,{configurable:!0,value:e})},Vr=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},qr=Vr,Wr=function(t,e,n){if(qr(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},zr=Wr,Gr=v,$r=N,Yr=ie,Xr=xn,Kr=[].push,Jr=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=7==t,s=5==t||i;return function(u,c,l,h){for(var f,d,p=$r(u),v=Gr(p),y=zr(c,l,3),m=Yr(v.length),g=0,_=h||Xr,b=e?_(u,m):n||a?_(u,0):void 0;m>g;g++)if((s||g in v)&&(d=y(f=v[g],g,p),t))if(e)b[g]=d;else if(d)switch(t){case 3:return!0;case 5:return f;case 6:return g;case 2:Kr.call(b,f)}else switch(t){case 4:return!1;case 7:Kr.call(b,f)}return i?-1:r||o?o:b}},Zr={forEach:Jr(0),map:Jr(1),filter:Jr(2),some:Jr(3),every:Jr(4),find:Jr(5),findIndex:Jr(6),filterOut:Jr(7)},Qr=Ke,to=n,eo=Zt,no=i,ro=fn,oo=dn,io=o,ao=x,so=Ze,uo=b,co=W,lo=N,ho=_,fo=E,po=l,vo=Cr,yo=cr,mo=Qt,go=Tr,_o=Se,bo=r,wo=V,Eo=a,So=Z,No=Q.exports,Co=ft.exports,To=Nt,xo=_t,Oo=Sn,Ao=Lr,Po=Ir,Lo=Hr,ko=Ft,jo=Zr.forEach,Do=St("hidden"),Mo="Symbol",Ro=Oo("toPrimitive"),Io=ko.set,Uo=ko.getterFor(Mo),Fo=Object.prototype,Bo=to.Symbol,Ho=eo("JSON","stringify"),Vo=bo.f,qo=wo.f,Wo=go.f,zo=Eo.f,Go=Co("symbols"),$o=Co("op-symbols"),Yo=Co("string-to-symbol-registry"),Xo=Co("symbol-to-string-registry"),Ko=Co("wks"),Jo=to.QObject,Zo=!Jo||!Jo.prototype||!Jo.prototype.findChild,Qo=no&&io((function(){return 7!=vo(qo({},"a",{get:function(){return qo(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Vo(Fo,e);r&&delete Fo[e],qo(t,e,n),r&&t!==Fo&&qo(Fo,e,r)}:qo,ti=function(t,e){var n=Go[t]=vo(Bo.prototype);return Io(n,{type:Mo,tag:t,description:e}),no||(n.description=e),n},ei=oo?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Bo},ni=function(t,e,n){t===Fo&&ni($o,e,n),co(t);var r=fo(e,!0);return co(n),ao(Go,r)?(n.enumerable?(ao(t,Do)&&t[Do][r]&&(t[Do][r]=!1),n=vo(n,{enumerable:po(0,!1)})):(ao(t,Do)||qo(t,Do,po(1,{})),t[Do][r]=!0),Qo(t,r,n)):qo(t,r,n)},ri=function(t,e){co(t);var n=ho(e),r=yo(n).concat(si(n));return jo(r,(function(e){no&&!oi.call(n,e)||ni(t,e,n[e])})),t},oi=function(t){var e=fo(t,!0),n=zo.call(this,e);return!(this===Fo&&ao(Go,e)&&!ao($o,e))&&(!(n||!ao(this,e)||!ao(Go,e)||ao(this,Do)&&this[Do][e])||n)},ii=function(t,e){var n=ho(t),r=fo(e,!0);if(n!==Fo||!ao(Go,r)||ao($o,r)){var o=Vo(n,r);return!o||!ao(Go,r)||ao(n,Do)&&n[Do][r]||(o.enumerable=!0),o}},ai=function(t){var e=Wo(ho(t)),n=[];return jo(e,(function(t){ao(Go,t)||ao(To,t)||n.push(t)})),n},si=function(t){var e=t===Fo,n=Wo(e?$o:ho(t)),r=[];return jo(n,(function(t){!ao(Go,t)||e&&!ao(Fo,t)||r.push(Go[t])})),r};(ro||(No((Bo=function(){if(this instanceof Bo)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=xo(t),n=function(t){this===Fo&&n.call($o,t),ao(this,Do)&&ao(this[Do],e)&&(this[Do][e]=!1),Qo(this,e,po(1,t))};return no&&Zo&&Qo(Fo,e,{configurable:!0,set:n}),ti(e,t)}).prototype,"toString",(function(){return Uo(this).tag})),No(Bo,"withoutSetter",(function(t){return ti(xo(t),t)})),Eo.f=oi,wo.f=ni,bo.f=ii,mo.f=go.f=ai,_o.f=si,Ao.f=function(t){return ti(Oo(t),t)},no&&(qo(Bo.prototype,"description",{configurable:!0,get:function(){return Uo(this).description}}),No(Fo,"propertyIsEnumerable",oi,{unsafe:!0}))),Qr({global:!0,wrap:!0,forced:!ro,sham:!ro},{Symbol:Bo}),jo(yo(Ko),(function(t){Po(t)})),Qr({target:Mo,stat:!0,forced:!ro},{for:function(t){var e=String(t);if(ao(Yo,e))return Yo[e];var n=Bo(e);return Yo[e]=n,Xo[n]=e,n},keyFor:function(t){if(!ei(t))throw TypeError(t+" is not a symbol");if(ao(Xo,t))return Xo[t]},useSetter:function(){Zo=!0},useSimple:function(){Zo=!1}}),Qr({target:"Object",stat:!0,forced:!ro,sham:!no},{create:function(t,e){return void 0===e?vo(t):ri(vo(t),e)},defineProperty:ni,defineProperties:ri,getOwnPropertyDescriptor:ii}),Qr({target:"Object",stat:!0,forced:!ro},{getOwnPropertyNames:ai,getOwnPropertySymbols:si}),Qr({target:"Object",stat:!0,forced:io((function(){_o.f(1)}))},{getOwnPropertySymbols:function(t){return _o.f(lo(t))}}),Ho)&&Qr({target:"JSON",stat:!0,forced:!ro||io((function(){var t=Bo();return"[null]"!=Ho([t])||"{}"!=Ho({a:t})||"{}"!=Ho(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(uo(e)||void 0!==t)&&!ei(t))return so(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ei(e))return e}),o[1]=e,Ho.apply(null,o)}});Bo.prototype[Ro]||So(Bo.prototype,Ro,Bo.prototype.valueOf),Lo(Bo,Mo),To[Do]=!0,Ir("asyncIterator");var ui=Ke,ci=i,li=n,hi=x,fi=b,di=V.f,pi=De,vi=li.Symbol;if(ci&&"function"==typeof vi&&(!("description"in vi.prototype)||void 0!==vi().description)){var yi={},mi=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof mi?new vi(t):void 0===t?vi():vi(t);return""===t&&(yi[e]=!0),e};pi(mi,vi);var gi=mi.prototype=vi.prototype;gi.constructor=mi;var _i=gi.toString,bi="Symbol(test)"==String(vi("test")),wi=/^Symbol\((.*)\)[^)]+$/;di(gi,"description",{configurable:!0,get:function(){var t=fi(this)?this.valueOf():this,e=_i.call(t);if(hi(yi,t))return"";var n=bi?e.slice(7,-1):e.replace(wi,"$1");return""===n?void 0:n}}),ui({global:!0,forced:!0},{Symbol:mi})}Ir("hasInstance"),Ir("isConcatSpreadable"),Ir("iterator"),Ir("match"),Ir("matchAll"),Ir("replace"),Ir("search"),Ir("species"),Ir("split"),Ir("toPrimitive"),Ir("toStringTag"),Ir("unscopables"),Hr(n.JSON,"JSON",!0),Hr(Math,"Math",!0);var Ei=n,Si=Hr;function Ni(t){return(Ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ci(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}function Ti(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Oi(t,e,n){return e&&xi(t.prototype,e),n&&xi(t,n),t}function Ai(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Li(t,e)}function Pi(t){return(Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Li(t,e){return(Li=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ki(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ji(t,e,n){return(ji=ki()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&Li(o,n.prototype),o}).apply(null,arguments)}function Di(t){var e="function"==typeof Map?new Map:void 0;return(Di=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return ji(t,arguments,Pi(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Li(r,t)})(t)}function Mi(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ri(t){var e=ki();return function(){var n,r=Pi(t);if(e){var o=Pi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Mi(this,n)}}function Ii(t,e,n){return(Ii="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Pi(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Ui(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Fi(t){return function(t){if(Array.isArray(t))return Hi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Bi(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bi(t,e){if(t){if("string"==typeof t)return Hi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hi(t,e):void 0}}function Hi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Vi(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Bi(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}Ke({global:!0},{Reflect:{}}),Si(Ei.Reflect,"Reflect",!0),Yt.Symbol;var qi=Cr,Wi=V,zi=Sn("unscopables"),Gi=Array.prototype;null==Gi[zi]&&Wi.f(Gi,zi,{configurable:!0,value:qi(null)});var $i,Yi,Xi,Ki={},Ji=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Zi=x,Qi=N,ta=Ji,ea=St("IE_PROTO"),na=Object.prototype,ra=ta?Object.getPrototypeOf:function(t){return t=Qi(t),Zi(t,ea)?t[ea]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?na:null},oa=o,ia=ra,aa=Z,sa=x,ua=Sn("iterator"),ca=!1;[].keys&&("next"in(Xi=[].keys())?(Yi=ia(ia(Xi)))!==Object.prototype&&($i=Yi):ca=!0),(null==$i||oa((function(){var t={};return $i[ua].call(t)!==t})))&&($i={}),sa($i,ua)||aa($i,ua,(function(){return this}));var la={IteratorPrototype:$i,BUGGY_SAFARI_ITERATORS:ca},ha=la.IteratorPrototype,fa=Cr,da=l,pa=Hr,va=Ki,ya=function(){return this},ma=function(t,e,n){var r=e+" Iterator";return t.prototype=fa(ha,{next:da(1,n)}),pa(t,r,!1),va[r]=ya,t},ga=b,_a=W,ba=function(t){if(!ga(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},wa=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return _a(n),ba(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Ea=Ke,Sa=ma,Na=ra,Ca=wa,Ta=Hr,xa=Z,Oa=Q.exports,Aa=Ki,Pa=la.IteratorPrototype,La=la.BUGGY_SAFARI_ITERATORS,ka=Sn("iterator"),ja="keys",Da="values",Ma="entries",Ra=function(){return this},Ia=function(t,e,n,r,o,i,a){Sa(n,e,r);var s,u,c,l=function(t){if(t===o&&v)return v;if(!La&&t in d)return d[t];switch(t){case ja:case Da:case Ma:return function(){return new n(this,t)}}return function(){return new n(this)}},h=e+" Iterator",f=!1,d=t.prototype,p=d[ka]||d["@@iterator"]||o&&d[o],v=!La&&p||l(o),y="Array"==e&&d.entries||p;if(y&&(s=Na(y.call(new t)),Pa!==Object.prototype&&s.next&&(Na(s)!==Pa&&(Ca?Ca(s,Pa):"function"!=typeof s[ka]&&xa(s,ka,Ra)),Ta(s,h,!0))),o==Da&&p&&p.name!==Da&&(f=!0,v=function(){return p.call(this)}),d[ka]!==v&&xa(d,ka,v),Aa[e]=v,o)if(u={values:l(Da),keys:i?v:l(ja),entries:l(Ma)},a)for(c in u)(La||f||!(c in d))&&Oa(d,c,u[c]);else Ea({target:e,proto:!0,forced:La||f},u);return u},Ua=_,Fa=function(t){Gi[zi][t]=!0},Ba=Ki,Ha=Ft,Va=Ia,qa="Array Iterator",Wa=Ha.set,za=Ha.getterFor(qa),Ga=Va(Array,"Array",(function(t,e){Wa(this,{type:qa,target:Ua(t),index:0,kind:e})}),(function(){var t=za(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");Ba.Arguments=Ba.Array,Fa("keys"),Fa("values"),Fa("entries");var $a=ne,Ya=y,Xa=function(t){return function(e,n){var r,o,i=String(Ya(e)),a=$a(n),s=i.length;return a<0||a>=s?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Ka={codeAt:Xa(!1),charAt:Xa(!0)},Ja=Ka.charAt,Za=Ft,Qa=Ia,ts="String Iterator",es=Za.set,ns=Za.getterFor(ts);Qa(String,"String",(function(t){es(this,{type:ts,string:String(t),index:0})}),(function(){var t,e=ns(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Ja(n,r),e.index+=t.length,{value:t,done:!1})}));var rs={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},os=n,is=rs,as=Ga,ss=Z,us=Sn,cs=us("iterator"),ls=us("toStringTag"),hs=as.values;for(var fs in is){var ds=os[fs],ps=ds&&ds.prototype;if(ps){if(ps[cs]!==hs)try{ss(ps,cs,hs)}catch(t){ps[cs]=hs}if(ps[ls]||ss(ps,ls,fs),is[fs])for(var vs in as)if(ps[vs]!==as[vs])try{ss(ps,vs,as[vs])}catch(t){ps[vs]=as[vs]}}}var ys="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,ms=Q.exports,gs=function(t,e,n){for(var r in e)ms(t,r,e[r],n);return t},_s=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},bs=ne,ws=ie,Es=function(t){if(void 0===t)return 0;var e=bs(t),n=ws(e);if(e!==n)throw RangeError("Wrong length or index");return n},Ss=Math.abs,Ns=Math.pow,Cs=Math.floor,Ts=Math.log,xs=Math.LN2,Os=N,As=ce,Ps=ie,Ls=function(t){for(var e=Os(this),n=Ps(e.length),r=arguments.length,o=As(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:As(i,n);a>o;)e[o++]=t;return e},ks=n,js=i,Ds=ys,Ms=Z,Rs=gs,Is=o,Us=_s,Fs=ne,Bs=ie,Hs=Es,Vs={pack:function(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?Ns(2,-24)-Ns(2,-77):0,h=t<0||0===t&&1/t<0?1:0,f=0;for((t=Ss(t))!=t||t===1/0?(o=t!=t?1:0,r=u):(r=Cs(Ts(t)/xs),t*(i=Ns(2,-r))<1&&(r--,i*=2),(t+=r+c>=1?l/i:l*Ns(2,1-c))*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*Ns(2,e),r+=c):(o=t*Ns(2,c-1)*Ns(2,e),r=0));e>=8;a[f++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*h,a},unpack:function(t,e){var n,r=t.length,o=8*r-e-1,i=(1<<o)-1,a=i>>1,s=o-7,u=r-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=e;s>0;n=256*n+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:c?-1/0:1/0;n+=Ns(2,e),l-=a}return(c?-1:1)*n*Ns(2,l-e)}},qs=ra,Ws=wa,zs=Qt.f,Gs=V.f,$s=Ls,Ys=Hr,Xs=Ft.get,Ks=Ft.set,Js="ArrayBuffer",Zs="DataView",Qs="Wrong index",tu=ks.ArrayBuffer,eu=tu,nu=ks.DataView,ru=nu&&nu.prototype,ou=Object.prototype,iu=ks.RangeError,au=Vs.pack,su=Vs.unpack,uu=function(t){return[255&t]},cu=function(t){return[255&t,t>>8&255]},lu=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},hu=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},fu=function(t){return au(t,23,4)},du=function(t){return au(t,52,8)},pu=function(t,e){Gs(t.prototype,e,{get:function(){return Xs(this)[e]}})},vu=function(t,e,n,r){var o=Hs(n),i=Xs(t);if(o+e>i.byteLength)throw iu(Qs);var a=Xs(i.buffer).bytes,s=o+i.byteOffset,u=a.slice(s,s+e);return r?u:u.reverse()},yu=function(t,e,n,r,o,i){var a=Hs(n),s=Xs(t);if(a+e>s.byteLength)throw iu(Qs);for(var u=Xs(s.buffer).bytes,c=a+s.byteOffset,l=r(+o),h=0;h<e;h++)u[c+h]=l[i?h:e-h-1]};if(Ds){if(!Is((function(){tu(1)}))||!Is((function(){new tu(-1)}))||Is((function(){return new tu,new tu(1.5),new tu(NaN),tu.name!=Js}))){for(var mu,gu=(eu=function(t){return Us(this,eu),new tu(Hs(t))}).prototype=tu.prototype,_u=zs(tu),bu=0;_u.length>bu;)(mu=_u[bu++])in eu||Ms(eu,mu,tu[mu]);gu.constructor=eu}Ws&&qs(ru)!==ou&&Ws(ru,ou);var wu=new nu(new eu(2)),Eu=ru.setInt8;wu.setInt8(0,2147483648),wu.setInt8(1,2147483649),!wu.getInt8(0)&&wu.getInt8(1)||Rs(ru,{setInt8:function(t,e){Eu.call(this,t,e<<24>>24)},setUint8:function(t,e){Eu.call(this,t,e<<24>>24)}},{unsafe:!0})}else eu=function(t){Us(this,eu,Js);var e=Hs(t);Ks(this,{bytes:$s.call(new Array(e),0),byteLength:e}),js||(this.byteLength=e)},nu=function(t,e,n){Us(this,nu,Zs),Us(t,eu,Zs);var r=Xs(t).byteLength,o=Fs(e);if(o<0||o>r)throw iu("Wrong offset");if(o+(n=void 0===n?r-o:Bs(n))>r)throw iu("Wrong length");Ks(this,{buffer:t,byteLength:n,byteOffset:o}),js||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},js&&(pu(eu,"byteLength"),pu(nu,"buffer"),pu(nu,"byteLength"),pu(nu,"byteOffset")),Rs(nu.prototype,{getInt8:function(t){return vu(this,1,t)[0]<<24>>24},getUint8:function(t){return vu(this,1,t)[0]},getInt16:function(t){var e=vu(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=vu(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return hu(vu(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return hu(vu(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return su(vu(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return su(vu(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){yu(this,1,t,uu,e)},setUint8:function(t,e){yu(this,1,t,uu,e)},setInt16:function(t,e){yu(this,2,t,cu,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){yu(this,2,t,cu,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){yu(this,4,t,lu,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){yu(this,4,t,lu,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){yu(this,4,t,fu,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){yu(this,8,t,du,e,arguments.length>2?arguments[2]:void 0)}});Ys(eu,Js),Ys(nu,Zs);var Su={ArrayBuffer:eu,DataView:nu},Nu=Zt,Cu=V,Tu=i,xu=Sn("species"),Ou=function(t){var e=Nu(t),n=Cu.f;Tu&&e&&!e[xu]&&n(e,xu,{configurable:!0,get:function(){return this}})},Au=Ou,Pu="ArrayBuffer",Lu=Su.ArrayBuffer;Ke({global:!0,forced:n.ArrayBuffer!==Lu},{ArrayBuffer:Lu}),Au(Pu);var ku=Zr.map;Ke({target:"Array",proto:!0,forced:!Ln("map")},{map:function(t){return ku(this,t,arguments.length>1?arguments[1]:void 0)}});var ju=o,Du=function(t,e){var n=[][t];return!!n&&ju((function(){n.call(null,e||function(){throw 1},1)}))},Mu=Zr.forEach,Ru=n,Iu=rs,Uu=Du("forEach")?[].forEach:function(t){return Mu(this,t,arguments.length>1?arguments[1]:void 0)},Fu=Z;for(var Bu in Iu){var Hu=Ru[Bu],Vu=Hu&&Hu.prototype;if(Vu&&Vu.forEach!==Uu)try{Fu(Vu,"forEach",Uu)}catch(t){Vu.forEach=Uu}}var qu=Ke,Wu=o,zu=Tr.f;qu({target:"Object",stat:!0,forced:Wu((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:zu});var Gu=n.Promise,$u=Ki,Yu=Sn("iterator"),Xu=Array.prototype,Ku=function(t){return void 0!==t&&($u.Array===t||Xu[Yu]===t)},Ju=tr,Zu=Ki,Qu=Sn("iterator"),tc=function(t){if(null!=t)return t[Qu]||t["@@iterator"]||Zu[Ju(t)]},ec=W,nc=function(t){var e=t.return;if(void 0!==e)return ec(e.call(t)).value},rc=W,oc=Ku,ic=ie,ac=Wr,sc=tc,uc=nc,cc=function(t,e){this.stopped=t,this.result=e},lc=function(t,e,n){var r,o,i,a,s,u,c,l=n&&n.that,h=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),p=ac(e,l,1+h+d),v=function(t){return r&&uc(r),new cc(!0,t)},y=function(t){return h?(rc(t),d?p(t[0],t[1],v):p(t[0],t[1])):d?p(t,v):p(t)};if(f)r=t;else{if("function"!=typeof(o=sc(t)))throw TypeError("Target is not iterable");if(oc(o)){for(i=0,a=ic(t.length);a>i;i++)if((s=y(t[i]))&&s instanceof cc)return s;return new cc(!1)}r=o.call(t)}for(u=r.next;!(c=u.call(r)).done;){try{s=y(c.value)}catch(t){throw uc(r),t}if("object"==typeof s&&s&&s instanceof cc)return s}return new cc(!1)},hc=Sn("iterator"),fc=!1;try{var dc=0,pc={next:function(){return{done:!!dc++}},return:function(){fc=!0}};pc[hc]=function(){return this},Array.from(pc,(function(){throw 2}))}catch(t){}var vc,yc,mc,gc=function(t,e){if(!e&&!fc)return!1;var n=!1;try{var r={};r[hc]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},_c=W,bc=Vr,wc=Sn("species"),Ec=function(t,e){var n,r=_c(t).constructor;return void 0===r||null==(n=_c(r)[wc])?e:bc(n)},Sc=/(?:iphone|ipod|ipad).*applewebkit/i.test(rn),Nc="process"==f(n.process),Cc=n,Tc=o,xc=Wr,Oc=pr,Ac=L,Pc=Sc,Lc=Nc,kc=Cc.location,jc=Cc.setImmediate,Dc=Cc.clearImmediate,Mc=Cc.process,Rc=Cc.MessageChannel,Ic=Cc.Dispatch,Uc=0,Fc={},Bc="onreadystatechange",Hc=function(t){if(Fc.hasOwnProperty(t)){var e=Fc[t];delete Fc[t],e()}},Vc=function(t){return function(){Hc(t)}},qc=function(t){Hc(t.data)},Wc=function(t){Cc.postMessage(t+"",kc.protocol+"//"+kc.host)};jc&&Dc||(jc=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return Fc[++Uc]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},vc(Uc),Uc},Dc=function(t){delete Fc[t]},Lc?vc=function(t){Mc.nextTick(Vc(t))}:Ic&&Ic.now?vc=function(t){Ic.now(Vc(t))}:Rc&&!Pc?(mc=(yc=new Rc).port2,yc.port1.onmessage=qc,vc=xc(mc.postMessage,mc,1)):Cc.addEventListener&&"function"==typeof postMessage&&!Cc.importScripts&&kc&&"file:"!==kc.protocol&&!Tc(Wc)?(vc=Wc,Cc.addEventListener("message",qc,!1)):vc=Bc in Ac("script")?function(t){Oc.appendChild(Ac("script")).onreadystatechange=function(){Oc.removeChild(this),Hc(t)}}:function(t){setTimeout(Vc(t),0)});var zc,Gc,$c,Yc,Xc,Kc,Jc,Zc,Qc={set:jc,clear:Dc},tl=/web0s(?!.*chrome)/i.test(rn),el=n,nl=r.f,rl=Qc.set,ol=Sc,il=tl,al=Nc,sl=el.MutationObserver||el.WebKitMutationObserver,ul=el.document,cl=el.process,ll=el.Promise,hl=nl(el,"queueMicrotask"),fl=hl&&hl.value;fl||(zc=function(){var t,e;for(al&&(t=cl.domain)&&t.exit();Gc;){e=Gc.fn,Gc=Gc.next;try{e()}catch(t){throw Gc?Yc():$c=void 0,t}}$c=void 0,t&&t.enter()},ol||al||il||!sl||!ul?ll&&ll.resolve?((Jc=ll.resolve(void 0)).constructor=ll,Zc=Jc.then,Yc=function(){Zc.call(Jc,zc)}):Yc=al?function(){cl.nextTick(zc)}:function(){rl.call(el,zc)}:(Xc=!0,Kc=ul.createTextNode(""),new sl(zc).observe(Kc,{characterData:!0}),Yc=function(){Kc.data=Xc=!Xc}));var dl=fl||function(t){var e={fn:t,next:void 0};$c&&($c.next=e),Gc||(Gc=e,Yc()),$c=e},pl={},vl=Vr,yl=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=vl(e),this.reject=vl(n)};pl.f=function(t){return new yl(t)};var ml,gl,_l,bl,wl=W,El=b,Sl=pl,Nl=n,Cl="object"==typeof window,Tl=Ke,xl=n,Ol=Zt,Al=Gu,Pl=Q.exports,Ll=gs,kl=wa,jl=Hr,Dl=Ou,Ml=b,Rl=Vr,Il=_s,Ul=ut,Fl=lc,Bl=gc,Hl=Ec,Vl=Qc.set,ql=dl,Wl=function(t,e){if(wl(t),El(e)&&e.constructor===t)return e;var n=Sl.f(t);return(0,n.resolve)(e),n.promise},zl=function(t,e){var n=Nl.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))},Gl=pl,$l=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Yl=Ft,Xl=Ve,Kl=Cl,Jl=Nc,Zl=cn,Ql=Sn("species"),th="Promise",eh=Yl.get,nh=Yl.set,rh=Yl.getterFor(th),oh=Al&&Al.prototype,ih=Al,ah=oh,sh=xl.TypeError,uh=xl.document,ch=xl.process,lh=Gl.f,hh=lh,fh=!!(uh&&uh.createEvent&&xl.dispatchEvent),dh="function"==typeof PromiseRejectionEvent,ph="unhandledrejection",vh=!1,yh=Xl(th,(function(){var t=Ul(ih)!==String(ih);if(!t&&66===Zl)return!0;if(Zl>=51&&/native code/.test(ih))return!1;var e=new ih((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[Ql]=n,!(vh=e.then((function(){}))instanceof n)||!t&&Kl&&!dh})),mh=yh||!Bl((function(t){ih.all(t).catch((function(){}))})),gh=function(t){var e;return!(!Ml(t)||"function"!=typeof(e=t.then))&&e},_h=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;ql((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var a,s,u,c=n[i++],l=o?c.ok:c.fail,h=c.resolve,f=c.reject,d=c.domain;try{l?(o||(2===t.rejection&&Sh(t),t.rejection=1),!0===l?a=r:(d&&d.enter(),a=l(r),d&&(d.exit(),u=!0)),a===c.promise?f(sh("Promise-chain cycle")):(s=gh(a))?s.call(a,h,f):h(a)):f(r)}catch(t){d&&!u&&d.exit(),f(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&wh(t)}))}},bh=function(t,e,n){var r,o;fh?((r=uh.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),xl.dispatchEvent(r)):r={promise:e,reason:n},!dh&&(o=xl["on"+t])?o(r):t===ph&&zl("Unhandled promise rejection",n)},wh=function(t){Vl.call(xl,(function(){var e,n=t.facade,r=t.value;if(Eh(t)&&(e=$l((function(){Jl?ch.emit("unhandledRejection",r,n):bh(ph,n,r)})),t.rejection=Jl||Eh(t)?2:1,e.error))throw e.value}))},Eh=function(t){return 1!==t.rejection&&!t.parent},Sh=function(t){Vl.call(xl,(function(){var e=t.facade;Jl?ch.emit("rejectionHandled",e):bh("rejectionhandled",e,t.value)}))},Nh=function(t,e,n){return function(r){t(e,r,n)}},Ch=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,_h(t,!0))},Th=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw sh("Promise can't be resolved itself");var r=gh(e);r?ql((function(){var n={done:!1};try{r.call(e,Nh(Th,n,t),Nh(Ch,n,t))}catch(e){Ch(n,e,t)}})):(t.value=e,t.state=1,_h(t,!1))}catch(e){Ch({done:!1},e,t)}}};if(yh&&(ah=(ih=function(t){Il(this,ih,th),Rl(t),ml.call(this);var e=eh(this);try{t(Nh(Th,e),Nh(Ch,e))}catch(t){Ch(e,t)}}).prototype,(ml=function(t){nh(this,{type:th,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ll(ah,{then:function(t,e){var n=rh(this),r=lh(Hl(this,ih));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Jl?ch.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&_h(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),gl=function(){var t=new ml,e=eh(t);this.promise=t,this.resolve=Nh(Th,e),this.reject=Nh(Ch,e)},Gl.f=lh=function(t){return t===ih||t===_l?new gl(t):hh(t)},"function"==typeof Al&&oh!==Object.prototype)){bl=oh.then,vh||(Pl(oh,"then",(function(t,e){var n=this;return new ih((function(t,e){bl.call(n,t,e)})).then(t,e)}),{unsafe:!0}),Pl(oh,"catch",ah.catch,{unsafe:!0}));try{delete oh.constructor}catch(t){}kl&&kl(oh,ah)}Tl({global:!0,wrap:!0,forced:yh},{Promise:ih}),jl(ih,th,!1),Dl(th),_l=Ol(th),Tl({target:th,stat:!0,forced:yh},{reject:function(t){var e=lh(this);return e.reject.call(void 0,t),e.promise}}),Tl({target:th,stat:!0,forced:yh},{resolve:function(t){return Wl(this,t)}}),Tl({target:th,stat:!0,forced:mh},{all:function(t){var e=this,n=lh(e),r=n.resolve,o=n.reject,i=$l((function(){var n=Rl(e.resolve),i=[],a=0,s=1;Fl(t,(function(t){var u=a++,c=!1;i.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,i[u]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=lh(e),r=n.reject,o=$l((function(){var o=Rl(e.resolve);Fl(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var xh,Oh={exports:{}},Ah=ys,Ph=i,Lh=n,kh=b,jh=x,Dh=tr,Mh=Z,Rh=Q.exports,Ih=V.f,Uh=ra,Fh=wa,Bh=Sn,Hh=_t,Vh=Lh.Int8Array,qh=Vh&&Vh.prototype,Wh=Lh.Uint8ClampedArray,zh=Wh&&Wh.prototype,Gh=Vh&&Uh(Vh),$h=qh&&Uh(qh),Yh=Object.prototype,Xh=Yh.isPrototypeOf,Kh=Bh("toStringTag"),Jh=Hh("TYPED_ARRAY_TAG"),Zh=Ah&&!!Fh&&"Opera"!==Dh(Lh.opera),Qh=!1,tf={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ef={BigInt64Array:8,BigUint64Array:8},nf=function(t){if(!kh(t))return!1;var e=Dh(t);return jh(tf,e)||jh(ef,e)};for(xh in tf)Lh[xh]||(Zh=!1);if((!Zh||"function"!=typeof Gh||Gh===Function.prototype)&&(Gh=function(){throw TypeError("Incorrect invocation")},Zh))for(xh in tf)Lh[xh]&&Fh(Lh[xh],Gh);if((!Zh||!$h||$h===Yh)&&($h=Gh.prototype,Zh))for(xh in tf)Lh[xh]&&Fh(Lh[xh].prototype,$h);if(Zh&&Uh(zh)!==$h&&Fh(zh,$h),Ph&&!jh($h,Kh))for(xh in Qh=!0,Ih($h,Kh,{get:function(){return kh(this)?this[Jh]:void 0}}),tf)Lh[xh]&&Mh(Lh[xh],Jh,xh);var rf={NATIVE_ARRAY_BUFFER_VIEWS:Zh,TYPED_ARRAY_TAG:Qh&&Jh,aTypedArray:function(t){if(nf(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(Fh){if(Xh.call(Gh,t))return t}else for(var e in tf)if(jh(tf,xh)){var n=Lh[e];if(n&&(t===n||Xh.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(Ph){if(n)for(var r in tf){var o=Lh[r];if(o&&jh(o.prototype,t))try{delete o.prototype[t]}catch(t){}}$h[t]&&!n||Rh($h,t,n?e:Zh&&qh[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,o;if(Ph){if(Fh){if(n)for(r in tf)if((o=Lh[r])&&jh(o,t))try{delete o[t]}catch(t){}if(Gh[t]&&!n)return;try{return Rh(Gh,t,n?e:Zh&&Gh[t]||e)}catch(t){}}for(r in tf)!(o=Lh[r])||o[t]&&!n||Rh(o,t,e)}},isView:function(t){if(!kh(t))return!1;var e=Dh(t);return"DataView"===e||jh(tf,e)||jh(ef,e)},isTypedArray:nf,TypedArray:Gh,TypedArrayPrototype:$h},of=n,af=o,sf=gc,uf=rf.NATIVE_ARRAY_BUFFER_VIEWS,cf=of.ArrayBuffer,lf=of.Int8Array,hf=!uf||!af((function(){lf(1)}))||!af((function(){new lf(-1)}))||!sf((function(t){new lf,new lf(null),new lf(1.5),new lf(t)}),!0)||af((function(){return 1!==new lf(new cf(2),1,void 0).length})),ff=ne,df=function(t){var e=ff(t);if(e<0)throw RangeError("The argument can't be less than 0");return e},pf=function(t,e){var n=df(t);if(n%e)throw RangeError("Wrong offset");return n},vf=N,yf=ie,mf=tc,gf=Ku,_f=Wr,bf=rf.aTypedArrayConstructor,wf=b,Ef=wa,Sf=function(t,e,n){var r,o;return Ef&&"function"==typeof(r=e.constructor)&&r!==n&&wf(o=r.prototype)&&o!==n.prototype&&Ef(t,o),t},Nf=Ke,Cf=n,Tf=i,xf=hf,Of=rf,Af=Su,Pf=_s,Lf=l,kf=Z,jf=ie,Df=Es,Mf=pf,Rf=E,If=x,Uf=tr,Ff=b,Bf=Cr,Hf=wa,Vf=Qt.f,qf=function(t){var e,n,r,o,i,a,s=vf(t),u=arguments.length,c=u>1?arguments[1]:void 0,l=void 0!==c,h=mf(s);if(null!=h&&!gf(h))for(a=(i=h.call(s)).next,s=[];!(o=a.call(i)).done;)s.push(o.value);for(l&&u>2&&(c=_f(c,arguments[2],2)),n=yf(s.length),r=new(bf(this))(n),e=0;n>e;e++)r[e]=l?c(s[e],e):s[e];return r},Wf=Zr.forEach,zf=Ou,Gf=V,$f=r,Yf=Sf,Xf=Ft.get,Kf=Ft.set,Jf=Gf.f,Zf=$f.f,Qf=Math.round,td=Cf.RangeError,ed=Af.ArrayBuffer,nd=Af.DataView,rd=Of.NATIVE_ARRAY_BUFFER_VIEWS,od=Of.TYPED_ARRAY_TAG,id=Of.TypedArray,ad=Of.TypedArrayPrototype,sd=Of.aTypedArrayConstructor,ud=Of.isTypedArray,cd="BYTES_PER_ELEMENT",ld="Wrong length",hd=function(t,e){for(var n=0,r=e.length,o=new(sd(t))(r);r>n;)o[n]=e[n++];return o},fd=function(t,e){Jf(t,e,{get:function(){return Xf(this)[e]}})},dd=function(t){var e;return t instanceof ed||"ArrayBuffer"==(e=Uf(t))||"SharedArrayBuffer"==e},pd=function(t,e){return ud(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},vd=function(t,e){return pd(t,e=Rf(e,!0))?Lf(2,t[e]):Zf(t,e)},yd=function(t,e,n){return!(pd(t,e=Rf(e,!0))&&Ff(n)&&If(n,"value"))||If(n,"get")||If(n,"set")||n.configurable||If(n,"writable")&&!n.writable||If(n,"enumerable")&&!n.enumerable?Jf(t,e,n):(t[e]=n.value,t)};Tf?(rd||($f.f=vd,Gf.f=yd,fd(ad,"buffer"),fd(ad,"byteOffset"),fd(ad,"byteLength"),fd(ad,"length")),Nf({target:"Object",stat:!0,forced:!rd},{getOwnPropertyDescriptor:vd,defineProperty:yd}),Oh.exports=function(t,e,n){var r=t.match(/\d+$/)[0]/8,o=t+(n?"Clamped":"")+"Array",i="get"+t,a="set"+t,s=Cf[o],u=s,c=u&&u.prototype,l={},h=function(t,e){Jf(t,e,{get:function(){return function(t,e){var n=Xf(t);return n.view[i](e*r+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,o){var i=Xf(t);n&&(o=(o=Qf(o))<0?0:o>255?255:255&o),i.view[a](e*r+i.byteOffset,o,!0)}(this,e,t)},enumerable:!0})};rd?xf&&(u=e((function(t,e,n,i){return Pf(t,u,o),Yf(Ff(e)?dd(e)?void 0!==i?new s(e,Mf(n,r),i):void 0!==n?new s(e,Mf(n,r)):new s(e):ud(e)?hd(u,e):qf.call(u,e):new s(Df(e)),t,u)})),Hf&&Hf(u,id),Wf(Vf(s),(function(t){t in u||kf(u,t,s[t])})),u.prototype=c):(u=e((function(t,e,n,i){Pf(t,u,o);var a,s,c,l=0,f=0;if(Ff(e)){if(!dd(e))return ud(e)?hd(u,e):qf.call(u,e);a=e,f=Mf(n,r);var d=e.byteLength;if(void 0===i){if(d%r)throw td(ld);if((s=d-f)<0)throw td(ld)}else if((s=jf(i)*r)+f>d)throw td(ld);c=s/r}else c=Df(e),a=new ed(s=c*r);for(Kf(t,{buffer:a,byteOffset:f,byteLength:s,length:c,view:new nd(a)});l<c;)h(t,l++)})),Hf&&Hf(u,id),c=u.prototype=Bf(ad)),c.constructor!==u&&kf(c,"constructor",u),od&&kf(c,od,o),l[o]=u,Nf({global:!0,forced:u!=s,sham:!rd},l),cd in u||kf(u,cd,r),cd in c||kf(c,cd,r),zf(o)}):Oh.exports=function(){},(0,Oh.exports)("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}));var md=N,gd=ce,_d=ie,bd=Math.min,wd=[].copyWithin||function(t,e){var n=md(this),r=_d(n.length),o=gd(t,r),i=gd(e,r),a=arguments.length>2?arguments[2]:void 0,s=bd((void 0===a?r:gd(a,r))-i,r-o),u=1;for(i<o&&o<i+s&&(u=-1,i+=s-1,o+=s-1);s-- >0;)i in n?n[o]=n[i]:delete n[o],o+=u,i+=u;return n},Ed=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("copyWithin",(function(t,e){return wd.call(Ed(this),t,e,arguments.length>2?arguments[2]:void 0)}));var Sd=Zr.every,Nd=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("every",(function(t){return Sd(Nd(this),t,arguments.length>1?arguments[1]:void 0)}));var Cd=Ls,Td=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("fill",(function(t){return Cd.apply(Td(this),arguments)}));var xd=rf.aTypedArrayConstructor,Od=Ec,Ad=Zr.filter,Pd=function(t,e){for(var n=Od(t,t.constructor),r=0,o=e.length,i=new(xd(n))(o);o>r;)i[r]=e[r++];return i},Ld=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("filter",(function(t){var e=Ad(Ld(this),t,arguments.length>1?arguments[1]:void 0);return Pd(this,e)}));var kd=Zr.find,jd=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("find",(function(t){return kd(jd(this),t,arguments.length>1?arguments[1]:void 0)}));var Dd=Zr.findIndex,Md=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("findIndex",(function(t){return Dd(Md(this),t,arguments.length>1?arguments[1]:void 0)}));var Rd=Zr.forEach,Id=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("forEach",(function(t){Rd(Id(this),t,arguments.length>1?arguments[1]:void 0)}));var Ud=pe.includes,Fd=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("includes",(function(t){return Ud(Fd(this),t,arguments.length>1?arguments[1]:void 0)}));var Bd=pe.indexOf,Hd=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("indexOf",(function(t){return Bd(Hd(this),t,arguments.length>1?arguments[1]:void 0)}));var Vd=n,qd=rf,Wd=Ga,zd=Sn("iterator"),Gd=Vd.Uint8Array,$d=Wd.values,Yd=Wd.keys,Xd=Wd.entries,Kd=qd.aTypedArray,Jd=qd.exportTypedArrayMethod,Zd=Gd&&Gd.prototype[zd],Qd=!!Zd&&("values"==Zd.name||null==Zd.name),tp=function(){return $d.call(Kd(this))};Jd("entries",(function(){return Xd.call(Kd(this))})),Jd("keys",(function(){return Yd.call(Kd(this))})),Jd("values",tp,!Qd),Jd(zd,tp,!Qd);var ep=rf.aTypedArray,np=[].join;(0,rf.exportTypedArrayMethod)("join",(function(t){return np.apply(ep(this),arguments)}));var rp=_,op=ne,ip=ie,ap=Du,sp=Math.min,up=[].lastIndexOf,cp=!!up&&1/[1].lastIndexOf(1,-0)<0,lp=ap("lastIndexOf"),hp=cp||!lp?function(t){if(cp)return up.apply(this,arguments)||0;var e=rp(this),n=ip(e.length),r=n-1;for(arguments.length>1&&(r=sp(r,op(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}:up,fp=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("lastIndexOf",(function(t){return hp.apply(fp(this),arguments)}));var dp=Zr.map,pp=Ec,vp=rf.aTypedArray,yp=rf.aTypedArrayConstructor;(0,rf.exportTypedArrayMethod)("map",(function(t){return dp(vp(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(yp(pp(t,t.constructor)))(e)}))}));var mp=Vr,gp=N,_p=v,bp=ie,wp=function(t){return function(e,n,r,o){mp(n);var i=gp(e),a=_p(i),s=bp(i.length),u=t?s-1:0,c=t?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=c)u in a&&(o=n(o,a[u],u,i));return o}},Ep={left:wp(!1),right:wp(!0)},Sp=Ep.left,Np=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("reduce",(function(t){return Sp(Np(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var Cp=Ep.right,Tp=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("reduceRight",(function(t){return Cp(Tp(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var xp=rf.aTypedArray,Op=rf.exportTypedArrayMethod,Ap=Math.floor;Op("reverse",(function(){for(var t,e=this,n=xp(e).length,r=Ap(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e}));var Pp=ie,Lp=pf,kp=N,jp=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("set",(function(t){jp(this);var e=Lp(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=kp(t),o=Pp(r.length),i=0;if(o+e>n)throw RangeError("Wrong length");for(;i<o;)this[e+i]=r[i++]}),o((function(){new Int8Array(1).set({})})));var Dp=Ec,Mp=rf.aTypedArray,Rp=rf.aTypedArrayConstructor,Ip=[].slice;(0,rf.exportTypedArrayMethod)("slice",(function(t,e){for(var n=Ip.call(Mp(this),t,e),r=Dp(this,this.constructor),o=0,i=n.length,a=new(Rp(r))(i);i>o;)a[o]=n[o++];return a}),o((function(){new Int8Array(1).slice()})));var Up=Zr.some,Fp=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("some",(function(t){return Up(Fp(this),t,arguments.length>1?arguments[1]:void 0)}));var Bp=rf.aTypedArray,Hp=[].sort;(0,rf.exportTypedArrayMethod)("sort",(function(t){return Hp.call(Bp(this),t)}));var Vp=ie,qp=ce,Wp=Ec,zp=rf.aTypedArray;(0,rf.exportTypedArrayMethod)("subarray",(function(t,e){var n=zp(this),r=n.length,o=qp(t,r);return new(Wp(n,n.constructor))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,Vp((void 0===e?r:qp(e,r))-o))}));var Gp=rf,$p=o,Yp=n.Int8Array,Xp=Gp.aTypedArray,Kp=Gp.exportTypedArrayMethod,Jp=[].toLocaleString,Zp=[].slice,Qp=!!Yp&&$p((function(){Jp.call(new Yp(1))}));Kp("toLocaleString",(function(){return Jp.apply(Qp?Zp.call(Xp(this)):Xp(this),arguments)}),$p((function(){return[1,2].toLocaleString()!=new Yp([1,2]).toLocaleString()}))||!$p((function(){Yp.prototype.toLocaleString.call([1,2])})));var tv=rf.exportTypedArrayMethod,ev=o,nv=n.Uint8Array,rv=nv&&nv.prototype||{},ov=[].toString,iv=[].join;ev((function(){ov.call({})}))&&(ov=function(){return iv.call(this)});var av=rv.toString!=ov;tv("toString",ov,av);var sv=Ke,uv=_,cv=[].join,lv=v!=Object,hv=Du("join",",");sv({target:"Array",proto:!0,forced:lv||!hv},{join:function(t){return cv.call(uv(this),void 0===t?",":t)}});var fv=Ke,dv=b,pv=Ze,vv=ce,yv=ie,mv=_,gv=nn,_v=Sn,bv=Ln("slice"),wv=_v("species"),Ev=[].slice,Sv=Math.max;fv({target:"Array",proto:!0,forced:!bv},{slice:function(t,e){var n,r,o,i=mv(this),a=yv(i.length),s=vv(t,a),u=vv(void 0===e?a:e,a);if(pv(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!pv(n.prototype)?dv(n)&&null===(n=n[wv])&&(n=void 0):n=void 0,n===Array||void 0===n))return Ev.call(i,s,u);for(r=new(void 0===n?Array:n)(Sv(u-s,0)),o=0;s<u;s++,o++)s in i&&gv(r,o,i[s]);return r.length=o,r}});var Nv=o,Cv=Sn("iterator"),Tv=!Nv((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Cv]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),xv=i,Ov=o,Av=cr,Pv=Se,Lv=a,kv=N,jv=v,Dv=Object.assign,Mv=Object.defineProperty,Rv=!Dv||Ov((function(){if(xv&&1!==Dv({b:1},Dv(Mv({},"a",{enumerable:!0,get:function(){Mv(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Dv({},t)[n]||Av(Dv({},e)).join("")!=r}))?function(t,e){for(var n=kv(t),r=arguments.length,o=1,i=Pv.f,a=Lv.f;r>o;)for(var s,u=jv(arguments[o++]),c=i?Av(u).concat(i(u)):Av(u),l=c.length,h=0;l>h;)s=c[h++],xv&&!a.call(u,s)||(n[s]=u[s]);return n}:Dv,Iv=W,Uv=nc,Fv=Wr,Bv=N,Hv=function(t,e,n,r){try{return r?e(Iv(n)[0],n[1]):e(n)}catch(e){throw Uv(t),e}},Vv=Ku,qv=ie,Wv=nn,zv=tc,Gv=function(t){var e,n,r,o,i,a,s=Bv(t),u="function"==typeof this?this:Array,c=arguments.length,l=c>1?arguments[1]:void 0,h=void 0!==l,f=zv(s),d=0;if(h&&(l=Fv(l,c>2?arguments[2]:void 0,2)),null==f||u==Array&&Vv(f))for(n=new u(e=qv(s.length));e>d;d++)a=h?l(s[d],d):s[d],Wv(n,d,a);else for(i=(o=f.call(s)).next,n=new u;!(r=i.call(o)).done;d++)a=h?Hv(o,l,[r.value,d],!0):r.value,Wv(n,d,a);return n.length=d,n},$v=2147483647,Yv=/[^\0-\u007E]/,Xv=/[.\u3002\uFF0E\uFF61]/g,Kv="Overflow: input needs wider integers to process",Jv=Math.floor,Zv=String.fromCharCode,Qv=function(t){return t+22+75*(t<26)},ty=function(t,e,n){var r=0;for(t=n?Jv(t/700):t>>1,t+=Jv(t/e);t>455;r+=36)t=Jv(t/35);return Jv(r+36*t/(t+38))},ey=function(t){var e,n,r=[],o=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t)).length,i=128,a=0,s=72;for(e=0;e<t.length;e++)(n=t[e])<128&&r.push(Zv(n));var u=r.length,c=u;for(u&&r.push("-");c<o;){var l=$v;for(e=0;e<t.length;e++)(n=t[e])>=i&&n<l&&(l=n);var h=c+1;if(l-i>Jv(($v-a)/h))throw RangeError(Kv);for(a+=(l-i)*h,i=l,e=0;e<t.length;e++){if((n=t[e])<i&&++a>$v)throw RangeError(Kv);if(n==i){for(var f=a,d=36;;d+=36){var p=d<=s?1:d>=s+26?26:d-s;if(f<p)break;var v=f-p,y=36-p;r.push(Zv(Qv(p+v%y))),f=Jv(v/y)}r.push(Zv(Qv(f))),s=ty(a,h,c==u),a=0,++c}}++a,++i}return r.join("")},ny=W,ry=tc,oy=Ke,iy=Zt,ay=Tv,sy=Q.exports,uy=gs,cy=Hr,ly=ma,hy=Ft,fy=_s,dy=x,py=Wr,vy=tr,yy=W,my=b,gy=Cr,_y=l,by=function(t){var e=ry(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return ny(e.call(t))},wy=tc,Ey=Sn,Sy=iy("fetch"),Ny=iy("Headers"),Cy=Ey("iterator"),Ty="URLSearchParams",xy="URLSearchParamsIterator",Oy=hy.set,Ay=hy.getterFor(Ty),Py=hy.getterFor(xy),Ly=/\+/g,ky=Array(4),jy=function(t){return ky[t-1]||(ky[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},Dy=function(t){try{return decodeURIComponent(t)}catch(e){return t}},My=function(t){var e=t.replace(Ly," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(jy(n--),Dy);return e}},Ry=/[!'()~]|%20/g,Iy={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Uy=function(t){return Iy[t]},Fy=function(t){return encodeURIComponent(t).replace(Ry,Uy)},By=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:My(r.shift()),value:My(r.join("="))}))},Hy=function(t){this.entries.length=0,By(this.entries,t)},Vy=function(t,e){if(t<e)throw TypeError("Not enough arguments")},qy=ly((function(t,e){Oy(this,{type:xy,iterator:by(Ay(t).entries),kind:e})}),"Iterator",(function(){var t=Py(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),Wy=function(){fy(this,Wy,Ty);var t,e,n,r,o,i,a,s,u,c=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(Oy(l,{type:Ty,entries:h,updateURL:function(){},updateSearchParams:Hy}),void 0!==c)if(my(c))if("function"==typeof(t=wy(c)))for(n=(e=t.call(c)).next;!(r=n.call(e)).done;){if((a=(i=(o=by(yy(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");h.push({key:a.value+"",value:s.value+""})}else for(u in c)dy(c,u)&&h.push({key:u,value:c[u]+""});else By(h,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},zy=Wy.prototype;uy(zy,{append:function(t,e){Vy(arguments.length,2);var n=Ay(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){Vy(arguments.length,1);for(var e=Ay(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){Vy(arguments.length,1);for(var e=Ay(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){Vy(arguments.length,1);for(var e=Ay(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){Vy(arguments.length,1);for(var e=Ay(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){Vy(arguments.length,1);for(var n,r=Ay(this),o=r.entries,i=!1,a=t+"",s=e+"",u=0;u<o.length;u++)(n=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=Ay(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=Ay(this).entries,r=py(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new qy(this,"keys")},values:function(){return new qy(this,"values")},entries:function(){return new qy(this,"entries")}},{enumerable:!0}),sy(zy,Cy,zy.entries),sy(zy,"toString",(function(){for(var t,e=Ay(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(Fy(t.key)+"="+Fy(t.value));return n.join("&")}),{enumerable:!0}),cy(Wy,Ty),oy({global:!0,forced:!ay},{URLSearchParams:Wy}),ay||"function"!=typeof Sy||"function"!=typeof Ny||oy({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(my(e=arguments[1])&&(n=e.body,vy(n)===Ty&&((r=e.headers?new Ny(e.headers):new Ny).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=gy(e,{body:_y(0,String(n)),headers:_y(0,r)}))),o.push(e)),Sy.apply(this,o)}});var Gy,$y={URLSearchParams:Wy,getState:Ay},Yy=Ke,Xy=i,Ky=Tv,Jy=n,Zy=dr,Qy=Q.exports,tm=_s,em=x,nm=Rv,rm=Gv,om=Ka.codeAt,im=function(t){var e,n,r=[],o=t.toLowerCase().replace(Xv,".").split(".");for(e=0;e<o.length;e++)n=o[e],r.push(Yv.test(n)?"xn--"+ey(n):n);return r.join(".")},am=Hr,sm=$y,um=Ft,cm=Jy.URL,lm=sm.URLSearchParams,hm=sm.getState,fm=um.set,dm=um.getterFor("URL"),pm=Math.floor,vm=Math.pow,ym="Invalid scheme",mm="Invalid host",gm="Invalid port",_m=/[A-Za-z]/,bm=/[\d+-.A-Za-z]/,wm=/\d/,Em=/^(0x|0X)/,Sm=/^[0-7]+$/,Nm=/^\d+$/,Cm=/^[\dA-Fa-f]+$/,Tm=/[\0\t\n\r #%/:?@[\\]]/,xm=/[\0\t\n\r #/:?@[\\]]/,Om=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Am=/[\t\n\r]/g,Pm=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return mm;if(!(n=km(e.slice(1,-1))))return mm;t.host=n}else if(Bm(t)){if(e=im(e),Tm.test(e))return mm;if(null===(n=Lm(e)))return mm;t.host=n}else{if(xm.test(e))return mm;for(n="",r=rm(e),o=0;o<r.length;o++)n+=Um(r[o],Dm);t.host=n}},Lm=function(t){var e,n,r,o,i,a,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=u[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=Em.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Nm:8==i?Sm:Cm).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=vm(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*vm(256,3-r);return s},km=function(t){var e,n,r,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,h=0,f=function(){return t.charAt(h)};if(":"==f()){if(":"!=t.charAt(1))return;h+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=n=0;n<4&&Cm.test(f());)e=16*e+parseInt(f(),16),h++,n++;if("."==f()){if(0==n)return;if(h-=n,c>6)return;for(r=0;f();){if(o=null,r>0){if(!("."==f()&&r<4))return;h++}if(!wm.test(f()))return;for(;wm.test(f());){if(i=parseInt(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;h++}u[c]=256*u[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;h++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},jm=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=pm(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},Dm={},Mm=nm({},Dm,{" ":1,'"':1,"<":1,">":1,"`":1}),Rm=nm({},Mm,{"#":1,"?":1,"{":1,"}":1}),Im=nm({},Rm,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Um=function(t,e){var n=om(t,0);return n>32&&n<127&&!em(e,t)?t:encodeURIComponent(t)},Fm={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Bm=function(t){return em(Fm,t.scheme)},Hm=function(t){return""!=t.username||""!=t.password},Vm=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},qm=function(t,e){var n;return 2==t.length&&_m.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Wm=function(t){var e;return t.length>1&&qm(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},zm=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&qm(e[0],!0)||e.pop()},Gm=function(t){return"."===t||"%2e"===t.toLowerCase()},$m={},Ym={},Xm={},Km={},Jm={},Zm={},Qm={},tg={},eg={},ng={},rg={},og={},ig={},ag={},sg={},ug={},cg={},lg={},hg={},fg={},dg={},pg=function(t,e,n,r){var o,i,a,s,u,c=n||$m,l=0,h="",f=!1,d=!1,p=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(Om,"")),e=e.replace(Am,""),o=rm(e);l<=o.length;){switch(i=o[l],c){case $m:if(!i||!_m.test(i)){if(n)return ym;c=Xm;continue}h+=i.toLowerCase(),c=Ym;break;case Ym:if(i&&(bm.test(i)||"+"==i||"-"==i||"."==i))h+=i.toLowerCase();else{if(":"!=i){if(n)return ym;h="",c=Xm,l=0;continue}if(n&&(Bm(t)!=em(Fm,h)||"file"==h&&(Hm(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(Bm(t)&&Fm[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?c=ag:Bm(t)&&r&&r.scheme==t.scheme?c=Km:Bm(t)?c=tg:"/"==o[l+1]?(c=Jm,l++):(t.cannotBeABaseURL=!0,t.path.push(""),c=hg)}break;case Xm:if(!r||r.cannotBeABaseURL&&"#"!=i)return ym;if(r.cannotBeABaseURL&&"#"==i){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,c=dg;break}c="file"==r.scheme?ag:Zm;continue;case Km:if("/"!=i||"/"!=o[l+1]){c=Zm;continue}c=eg,l++;break;case Jm:if("/"==i){c=ng;break}c=lg;continue;case Zm:if(t.scheme=r.scheme,i==Gy)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==i||"\\"==i&&Bm(t))c=Qm;else if("?"==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",c=fg;else{if("#"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),c=lg;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",c=dg}break;case Qm:if(!Bm(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,c=lg;continue}c=ng}else c=eg;break;case tg:if(c=eg,"/"!=i||"/"!=h.charAt(l+1))continue;l++;break;case eg:if("/"!=i&&"\\"!=i){c=ng;continue}break;case ng:if("@"==i){f&&(h="%40"+h),f=!0,a=rm(h);for(var v=0;v<a.length;v++){var y=a[v];if(":"!=y||p){var m=Um(y,Im);p?t.password+=m:t.username+=m}else p=!0}h=""}else if(i==Gy||"/"==i||"?"==i||"#"==i||"\\"==i&&Bm(t)){if(f&&""==h)return"Invalid authority";l-=rm(h).length+1,h="",c=rg}else h+=i;break;case rg:case og:if(n&&"file"==t.scheme){c=ug;continue}if(":"!=i||d){if(i==Gy||"/"==i||"?"==i||"#"==i||"\\"==i&&Bm(t)){if(Bm(t)&&""==h)return mm;if(n&&""==h&&(Hm(t)||null!==t.port))return;if(s=Pm(t,h))return s;if(h="",c=cg,n)return;continue}"["==i?d=!0:"]"==i&&(d=!1),h+=i}else{if(""==h)return mm;if(s=Pm(t,h))return s;if(h="",c=ig,n==og)return}break;case ig:if(!wm.test(i)){if(i==Gy||"/"==i||"?"==i||"#"==i||"\\"==i&&Bm(t)||n){if(""!=h){var g=parseInt(h,10);if(g>65535)return gm;t.port=Bm(t)&&g===Fm[t.scheme]?null:g,h=""}if(n)return;c=cg;continue}return gm}h+=i;break;case ag:if(t.scheme="file","/"==i||"\\"==i)c=sg;else{if(!r||"file"!=r.scheme){c=lg;continue}if(i==Gy)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==i)t.host=r.host,t.path=r.path.slice(),t.query="",c=fg;else{if("#"!=i){Wm(o.slice(l).join(""))||(t.host=r.host,t.path=r.path.slice(),zm(t)),c=lg;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",c=dg}}break;case sg:if("/"==i||"\\"==i){c=ug;break}r&&"file"==r.scheme&&!Wm(o.slice(l).join(""))&&(qm(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),c=lg;continue;case ug:if(i==Gy||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&qm(h))c=lg;else if(""==h){if(t.host="",n)return;c=cg}else{if(s=Pm(t,h))return s;if("localhost"==t.host&&(t.host=""),n)return;h="",c=cg}continue}h+=i;break;case cg:if(Bm(t)){if(c=lg,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=Gy&&(c=lg,"/"!=i))continue}else t.fragment="",c=dg;else t.query="",c=fg;break;case lg:if(i==Gy||"/"==i||"\\"==i&&Bm(t)||!n&&("?"==i||"#"==i)){if(".."===(u=(u=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(zm(t),"/"==i||"\\"==i&&Bm(t)||t.path.push("")):Gm(h)?"/"==i||"\\"==i&&Bm(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&qm(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(i==Gy||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",c=fg):"#"==i&&(t.fragment="",c=dg)}else h+=Um(i,Rm);break;case hg:"?"==i?(t.query="",c=fg):"#"==i?(t.fragment="",c=dg):i!=Gy&&(t.path[0]+=Um(i,Dm));break;case fg:n||"#"!=i?i!=Gy&&("'"==i&&Bm(t)?t.query+="%27":t.query+="#"==i?"%23":Um(i,Dm)):(t.fragment="",c=dg);break;case dg:i!=Gy&&(t.fragment+=Um(i,Mm))}l++}},vg=function(t){var e,n,r=tm(this,vg,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(t),a=fm(r,{type:"URL"});if(void 0!==o)if(o instanceof vg)e=dm(o);else if(n=pg(e={},String(o)))throw TypeError(n);if(n=pg(a,i,null,e))throw TypeError(n);var s=a.searchParams=new lm,u=hm(s);u.updateSearchParams(a.query),u.updateURL=function(){a.query=String(s)||null},Xy||(r.href=mg.call(r),r.origin=gg.call(r),r.protocol=_g.call(r),r.username=bg.call(r),r.password=wg.call(r),r.host=Eg.call(r),r.hostname=Sg.call(r),r.port=Ng.call(r),r.pathname=Cg.call(r),r.search=Tg.call(r),r.searchParams=xg.call(r),r.hash=Og.call(r))},yg=vg.prototype,mg=function(){var t=dm(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",Hm(t)&&(c+=n+(r?":"+r:"")+"@"),c+=jm(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},gg=function(){var t=dm(this),e=t.scheme,n=t.port;if("blob"==e)try{return new vg(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Bm(t)?e+"://"+jm(t.host)+(null!==n?":"+n:""):"null"},_g=function(){return dm(this).scheme+":"},bg=function(){return dm(this).username},wg=function(){return dm(this).password},Eg=function(){var t=dm(this),e=t.host,n=t.port;return null===e?"":null===n?jm(e):jm(e)+":"+n},Sg=function(){var t=dm(this).host;return null===t?"":jm(t)},Ng=function(){var t=dm(this).port;return null===t?"":String(t)},Cg=function(){var t=dm(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Tg=function(){var t=dm(this).query;return t?"?"+t:""},xg=function(){return dm(this).searchParams},Og=function(){var t=dm(this).fragment;return t?"#"+t:""},Ag=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(Xy&&Zy(yg,{href:Ag(mg,(function(t){var e=dm(this),n=String(t),r=pg(e,n);if(r)throw TypeError(r);hm(e.searchParams).updateSearchParams(e.query)})),origin:Ag(gg),protocol:Ag(_g,(function(t){var e=dm(this);pg(e,String(t)+":",$m)})),username:Ag(bg,(function(t){var e=dm(this),n=rm(String(t));if(!Vm(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Um(n[r],Im)}})),password:Ag(wg,(function(t){var e=dm(this),n=rm(String(t));if(!Vm(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Um(n[r],Im)}})),host:Ag(Eg,(function(t){var e=dm(this);e.cannotBeABaseURL||pg(e,String(t),rg)})),hostname:Ag(Sg,(function(t){var e=dm(this);e.cannotBeABaseURL||pg(e,String(t),og)})),port:Ag(Ng,(function(t){var e=dm(this);Vm(e)||(""==(t=String(t))?e.port=null:pg(e,t,ig))})),pathname:Ag(Cg,(function(t){var e=dm(this);e.cannotBeABaseURL||(e.path=[],pg(e,t+"",cg))})),search:Ag(Tg,(function(t){var e=dm(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",pg(e,t,fg)),hm(e.searchParams).updateSearchParams(e.query)})),searchParams:Ag(xg),hash:Ag(Og,(function(t){var e=dm(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",pg(e,t,dg)):e.fragment=null}))}),Qy(yg,"toJSON",(function(){return mg.call(this)}),{enumerable:!0}),Qy(yg,"toString",(function(){return mg.call(this)}),{enumerable:!0}),cm){var Pg=cm.createObjectURL,Lg=cm.revokeObjectURL;Pg&&Qy(vg,"createObjectURL",(function(t){return Pg.apply(cm,arguments)})),Lg&&Qy(vg,"revokeObjectURL",(function(t){return Lg.apply(cm,arguments)}))}am(vg,"URL"),Yy({global:!0,forced:!Ky,sham:!Xy},{URL:vg});var kg=W,jg=function(){var t=kg(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Dg=Q.exports,Mg=W,Rg=o,Ig=jg,Ug="toString",Fg=RegExp.prototype,Bg=Fg.toString,Hg=Rg((function(){return"/a/b"!=Bg.call({source:"a",flags:"b"})})),Vg=Bg.name!=Ug;(Hg||Vg)&&Dg(RegExp.prototype,Ug,(function(){var t=Mg(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in Fg)?Ig.call(t):n)}),{unsafe:!0});var qg={},Wg=o;function zg(t,e){return RegExp(t,e)}qg.UNSUPPORTED_Y=Wg((function(){var t=zg("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),qg.BROKEN_CARET=Wg((function(){var t=zg("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));var Gg=jg,$g=qg,Yg=ft.exports,Xg=RegExp.prototype.exec,Kg=Yg("native-string-replace",String.prototype.replace),Jg=Xg,Zg=function(){var t=/a/,e=/b*/g;return Xg.call(t,"a"),Xg.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Qg=$g.UNSUPPORTED_Y||$g.BROKEN_CARET,t_=void 0!==/()??/.exec("")[1];(Zg||t_||Qg)&&(Jg=function(t){var e,n,r,o,i=this,a=Qg&&i.sticky,s=Gg.call(i),u=i.source,c=0,l=t;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,c++),n=new RegExp("^(?:"+u+")",s)),t_&&(n=new RegExp("^"+u+"$(?!\\s)",s)),Zg&&(e=i.lastIndex),r=Xg.call(a?n:i,l),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Zg&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),t_&&r&&r.length>1&&Kg.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var e_=Jg;Ke({target:"RegExp",proto:!0,forced:/./.exec!==e_},{exec:e_});var n_=Q.exports,r_=e_,o_=o,i_=Sn,a_=Z,s_=i_("species"),u_=RegExp.prototype,c_=!o_((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l_="$0"==="a".replace(/./,"$0"),h_=i_("replace"),f_=!!/./[h_]&&""===/./[h_]("a","$0"),d_=!o_((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),p_=function(t,e,n,r){var o=i_(t),i=!o_((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!o_((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[s_]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||"replace"===t&&(!c_||!l_||f_)||"split"===t&&!d_){var s=/./[o],u=n(o,""[t],(function(t,e,n,r,o){var a=e.exec;return a===r_||a===u_.exec?i&&!o?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l_,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f_}),c=u[0],l=u[1];n_(String.prototype,t,c),n_(u_,o,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&a_(u_[o],"sham",!0)},v_=Ka.charAt,y_=function(t,e,n){return e+(n?v_(t,e).length:1)},m_=N,g_=Math.floor,__="".replace,b_=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,w_=/\$([$&'`]|\d{1,2})/g,E_=f,S_=e_,N_=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==E_(t))throw TypeError("RegExp#exec called on incompatible receiver");return S_.call(t,e)},C_=p_,T_=W,x_=ie,O_=ne,A_=y,P_=y_,L_=function(t,e,n,r,o,i){var a=n+t.length,s=r.length,u=w_;return void 0!==o&&(o=m_(o),u=b_),__.call(i,u,(function(i,u){var c;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(a);case"<":c=o[u.slice(1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var h=g_(l/10);return 0===h?i:h<=s?void 0===r[h-1]?u.charAt(1):r[h-1]+u.charAt(1):i}c=r[l-1]}return void 0===c?"":c}))},k_=N_,j_=Math.max,D_=Math.min;C_("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=A_(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var s=n(e,t,this,r);if(s.done)return s.value}var u=T_(t),c=String(this),l="function"==typeof r;l||(r=String(r));var h=u.global;if(h){var f=u.unicode;u.lastIndex=0}for(var d=[];;){var p=k_(u,c);if(null===p)break;if(d.push(p),!h)break;""===String(p[0])&&(u.lastIndex=P_(c,x_(u.lastIndex),f))}for(var v,y="",m=0,g=0;g<d.length;g++){p=d[g];for(var _=String(p[0]),b=j_(D_(O_(p.index),c.length),0),w=[],E=1;E<p.length;E++)w.push(void 0===(v=p[E])?v:String(v));var S=p.groups;if(l){var N=[_].concat(w,b,c);void 0!==S&&N.push(S);var C=String(r.apply(void 0,N))}else C=L_(_,c,b,w,S,r);b>=m&&(y+=c.slice(m,b)+C,m=b+_.length)}return y+c.slice(m)}]}));var M_=b,R_=f,I_=Sn("match"),U_=function(t){var e;return M_(t)&&(void 0!==(e=t[I_])?!!e:"RegExp"==R_(t))},F_=p_,B_=U_,H_=W,V_=y,q_=Ec,W_=y_,z_=ie,G_=N_,$_=e_,Y_=qg.UNSUPPORTED_Y,X_=[].push,K_=Math.min,J_=4294967295;F_("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(V_(this)),o=void 0===n?J_:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!B_(t))return e.call(r,t,o);for(var i,a,s,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,h=new RegExp(t.source,c+"g");(i=$_.call(h,r))&&!((a=h.lastIndex)>l&&(u.push(r.slice(l,i.index)),i.length>1&&i.index<r.length&&X_.apply(u,i.slice(1)),s=i[0].length,l=a,u.length>=o));)h.lastIndex===i.index&&h.lastIndex++;return l===r.length?!s&&h.test("")||u.push(""):u.push(r.slice(l)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=V_(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var i=n(r,t,this,o,r!==e);if(i.done)return i.value;var a=H_(t),s=String(this),u=q_(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Y_?"g":"y"),h=new u(Y_?"^(?:"+a.source+")":a,l),f=void 0===o?J_:o>>>0;if(0===f)return[];if(0===s.length)return null===G_(h,s)?[s]:[];for(var d=0,p=0,v=[];p<s.length;){h.lastIndex=Y_?0:p;var y,m=G_(h,Y_?s.slice(p):s);if(null===m||(y=K_(z_(h.lastIndex+(Y_?p:0)),s.length))===d)p=W_(s,p,c);else{if(v.push(s.slice(d,p)),v.length===f)return v;for(var g=1;g<=m.length-1;g++)if(v.push(m[g]),v.length===f)return v;p=d=y}}return v.push(s.slice(d)),v}]}),Y_);var Z_="\t\n\v\f\r                 \u2028\u2029\ufeff",Q_=y,tb="[\t\n\v\f\r                 \u2028\u2029\ufeff]",eb=RegExp("^"+tb+tb+"*"),nb=RegExp(tb+tb+"*$"),rb=function(t){return function(e){var n=String(Q_(e));return 1&t&&(n=n.replace(eb,"")),2&t&&(n=n.replace(nb,"")),n}},ob={start:rb(1),end:rb(2),trim:rb(3)},ib=o,ab=Z_,sb=ob.trim;Ke({target:"String",proto:!0,forced:function(t){return ib((function(){return!!ab[t]()||"​…᠎"!="​…᠎"[t]()||ab[t].name!==t}))}("trim")},{trim:function(){return sb(this)}});var ub=i,cb=V.f,lb=Function.prototype,hb=lb.toString,fb=/^\s*function ([^ (]*)/,db="name";ub&&!(db in lb)&&cb(lb,db,{configurable:!0,get:function(){try{return hb.call(this).match(fb)[1]}catch(t){return""}}});var pb="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==pb&&pb,vb="URLSearchParams"in pb,yb="Symbol"in pb&&"iterator"in Symbol,mb="FileReader"in pb&&"Blob"in pb&&function(){try{return new Blob,!0}catch(t){return!1}}(),gb="FormData"in pb,_b="ArrayBuffer"in pb;if(_b)var bb=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],wb=ArrayBuffer.isView||function(t){return t&&bb.indexOf(Object.prototype.toString.call(t))>-1};function Eb(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Sb(t){return"string"!=typeof t&&(t=String(t)),t}function Nb(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return yb&&(e[Symbol.iterator]=function(){return e}),e}function Cb(t){this.map={},t instanceof Cb?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function Tb(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function xb(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function Ob(t){var e=new FileReader,n=xb(e);return e.readAsArrayBuffer(t),n}function Ab(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Pb(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:mb&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:gb&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:vb&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():_b&&mb&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=Ab(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_b&&(ArrayBuffer.prototype.isPrototypeOf(t)||wb(t))?this._bodyArrayBuffer=Ab(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):vb&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},mb&&(this.blob=function(){var t=Tb(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=Tb(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Ob)}),this.text=function(){var t=Tb(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,n=xb(e);return e.readAsText(t),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},gb&&(this.formData=function(){return this.text().then(jb)}),this.json=function(){return this.text().then(JSON.parse)},this}Cb.prototype.append=function(t,e){t=Eb(t),e=Sb(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},Cb.prototype.delete=function(t){delete this.map[Eb(t)]},Cb.prototype.get=function(t){return t=Eb(t),this.has(t)?this.map[t]:null},Cb.prototype.has=function(t){return this.map.hasOwnProperty(Eb(t))},Cb.prototype.set=function(t,e){this.map[Eb(t)]=Sb(e)},Cb.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},Cb.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),Nb(t)},Cb.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),Nb(t)},Cb.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),Nb(t)},yb&&(Cb.prototype[Symbol.iterator]=Cb.prototype.entries);var Lb=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function kb(t,e){if(!(this instanceof kb))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,o=(e=e||{}).body;if(t instanceof kb){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Cb(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new Cb(e.headers)),this.method=(n=e.method||this.method||"GET",r=n.toUpperCase(),Lb.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function jb(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function Db(t,e){if(!(this instanceof Db))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new Cb(e.headers),this.url=e.url||"",this._initBody(t)}kb.prototype.clone=function(){return new kb(this,{body:this._bodyInit})},Pb.call(kb.prototype),Pb.call(Db.prototype),Db.prototype.clone=function(){return new Db(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Cb(this.headers),url:this.url})},Db.error=function(){var t=new Db(null,{status:0,statusText:""});return t.type="error",t};var Mb=[301,302,303,307,308];Db.redirect=function(t,e){if(-1===Mb.indexOf(e))throw new RangeError("Invalid status code");return new Db(null,{status:e,headers:{location:t}})};var Rb=pb.DOMException;try{new Rb}catch(t){(Rb=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack}).prototype=Object.create(Error.prototype),Rb.prototype.constructor=Rb}function Ib(t,e){return new Promise((function(n,r){var o=new kb(t,e);if(o.signal&&o.signal.aborted)return r(new Rb("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,r={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new Cb,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){n(new Db(o,r))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){r(new Rb("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&pb.location.href?pb.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(mb?i.responseType="blob":_b&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!e||"object"!==Ni(e.headers)||e.headers instanceof Cb?o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){i.setRequestHeader(t,Sb(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Ib.polyfill=!0,pb.fetch||(pb.fetch=Ib,pb.Headers=Cb,pb.Request=kb,pb.Response=Db)
/**
	@license @nocompile
	Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
	This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
	The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
	The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
	Code distributed by Google as part of the polymer project is also
	subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
	*/,function(){var e;function n(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var r="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},o="undefined"!=typeof window&&window===this?this:void 0!==t&&null!=t?t:this;function i(){i=function(){},o.Symbol||(o.Symbol=c)}function a(t,e){this.a=t,r(this,"description",{configurable:!0,writable:!0,value:e})}a.prototype.toString=function(){return this.a};var s,u,c=(s=0,function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new a("jscomp_symbol_"+(e||"")+"_"+s++,e)});function l(){i();var t=o.Symbol.iterator;t||(t=o.Symbol.iterator=o.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[t]&&r(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return function(t){return l(),(t={next:t})[o.Symbol.iterator]=function(){return this},t}(n(this))}}),l=function(){}}function h(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):{next:n(t)}}function f(t){if(!(t instanceof Array)){t=h(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}if("function"==typeof Object.setPrototypeOf)u=Object.setPrototypeOf;else{var d;t:{var p={};try{p.__proto__={Pa:!0},d=p.Pa;break t}catch(Ze){}d=!1}u=d?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var v=u;function y(){this.l=!1,this.b=null,this.Ea=void 0,this.a=1,this.Y=0,this.c=null}function m(t){if(t.l)throw new TypeError("Generator is already running");t.l=!0}function g(t,e){t.c={Sa:e,Wa:!0},t.a=t.Y}function _(t,e){return t.a=3,{value:e}}function b(t){this.a=new y,this.b=t}function w(t,e,n,r){try{var o=e.call(t.a.b,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.a.l=!1,o;var i=o.value}catch(e){return t.a.b=null,g(t.a,e),E(t)}return t.a.b=null,r.call(t.a,i),E(t)}function E(t){for(;t.a.a;)try{var e=t.b(t.a);if(e)return t.a.l=!1,{value:e.value,done:!1}}catch(e){t.a.Ea=void 0,g(t.a,e)}if(t.a.l=!1,t.a.c){if(e=t.a.c,t.a.c=null,e.Wa)throw e.Sa;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function S(t){this.next=function(e){return m(t.a),t.a.b?e=w(t,t.a.b.next,e,t.a.J):(t.a.J(e),e=E(t)),e},this.throw=function(e){return m(t.a),t.a.b?e=w(t,t.a.b.throw,e,t.a.J):(g(t.a,e),e=E(t)),e},this.return=function(e){return function(t,e){m(t.a);var n=t.a.b;return n?w(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.a.return):(t.a.return(e),E(t))}(t,e)},l(),this[Symbol.iterator]=function(){return this}}function N(t,e){return e=new S(new b(e)),v&&v(e,t.prototype),e}y.prototype.J=function(t){this.Ea=t},y.prototype.return=function(t){this.c={return:t},this.a=this.Y},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1),r=0;r<n.length;r++)if(e=n[r])for(var o=t,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];o[s]=e[s]}return t});var C=setTimeout;function T(){}function x(t){if(!(this instanceof x))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.I=0,this.za=!1,this.C=void 0,this.W=[],j(t,this)}function O(t,e){for(;3===t.I;)t=t.C;0===t.I?t.W.push(e):(t.za=!0,M((function(){var n=1===t.I?e.Ya:e.Za;if(null===n)(1===t.I?A:P)(e.va,t.C);else{try{var r=n(t.C)}catch(t){return void P(e.va,t)}A(e.va,r)}})))}function A(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof x)return t.I=3,t.C=e,void L(t);if("function"==typeof n)return void j(function(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t.I=1,t.C=e,L(t)}catch(e){P(t,e)}}function P(t,e){t.I=2,t.C=e,L(t)}function L(t){2===t.I&&0===t.W.length&&M((function(){t.za||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.C)}));for(var e=0,n=t.W.length;e<n;e++)O(t,t.W[e]);t.W=null}function k(t,e,n){this.Ya="function"==typeof t?t:null,this.Za="function"==typeof e?e:null,this.va=n}function j(t,e){var n=!1;try{t((function(t){n||(n=!0,A(e,t))}),(function(t){n||(n=!0,P(e,t))}))}catch(t){n||(n=!0,P(e,t))}}function D(t){return t&&"object"==typeof t&&t.constructor===x?t:new x((function(e){e(t)}))}x.prototype.catch=function(t){return this.then(null,t)},x.prototype.then=function(t,e){var n=new this.constructor(T);return O(this,new k(t,e,n)),n},x.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var M="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){C(t,0)};if(!window.Promise){window.Promise=x,x.prototype.then=x.prototype.then,x.all=function(t){return new x((function(e,n){function r(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(e){r(t,e)}),n)}o[t]=a,0==--i&&e(o)}catch(t){n(t)}}if(!t||void 0===t.length)return n(new TypeError("Promise.all accepts an array"));var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);for(var i=o.length,a=0;a<o.length;a++)r(a,o[a])}))},x.race=function(t){return new x((function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)D(t[r]).then(e,n)}))},x.resolve=D,x.reject=function(t){return new x((function(e,n){n(t)}))};var R=document.createTextNode(""),I=[];new MutationObserver((function(){for(var t=I.length,e=0;e<t;e++)I[e]();I.splice(0,t)})).observe(R,{characterData:!0}),M=function(t){I.push(t),R.textContent=0<R.textContent.length?"":"a"}}!function(e,n){if(!(n in e)){var r=typeof t==typeof r?window:t,o=0,i=""+Math.random(),a="__symbol@@"+i,s=e.getOwnPropertyNames,u=e.getOwnPropertyDescriptor,c=e.create,l=e.keys,h=e.freeze||e,f=e.defineProperty,d=e.defineProperties,p=u(e,"getOwnPropertyNames"),v=e.prototype,y=v.hasOwnProperty,m=v.propertyIsEnumerable,g=v.toString,_=function(t,e,n){y.call(t,a)||f(t,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[a]["@@"+e]=n},b=function(t,e){var n=c(t);return s(e).forEach((function(t){N.call(e,t)&&P(n,t,e[t])})),n},w=function(){},E=function(t){return t!=a&&!y.call(x,t)},S=function(t){return t!=a&&y.call(x,t)},N=function(t){var e=""+t;return S(e)?y.call(this,e)&&this[a]["@@"+e]:m.call(this,t)},C=function(t){return f(v,t,{enumerable:!1,configurable:!0,get:w,set:function(e){k(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),_(this,t,!0)}}),h(x[t]=f(e(t),"constructor",O))},T=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return C("__symbol:".concat(e||"",i,++o))},x=c(null),O={value:T},A=function(t){return x[t]},P=function(t,e,n){var r=""+e;if(S(r)){if(e=k,n.enumerable){var o=c(n);o.enumerable=!1}else o=n;e(t,r,o),_(t,r,!!n.enumerable)}else f(t,e,n);return t},L=function(t){return s(t).filter(S).map(A)};p.value=P,f(e,"defineProperty",p),p.value=L,f(e,n,p),p.value=function(t){return s(t).filter(E)},f(e,"getOwnPropertyNames",p),p.value=function(t,e){var n=L(e);return n.length?l(e).concat(n).forEach((function(n){N.call(e,n)&&P(t,n,e[n])})):d(t,e),t},f(e,"defineProperties",p),p.value=N,f(v,"propertyIsEnumerable",p),p.value=T,f(r,"Symbol",p),p.value=function(t){return(t="__symbol:".concat("__symbol:",t,i))in v?x[t]:C(t)},f(T,"for",p),p.value=function(t){if(E(t))throw new TypeError(t+" is not a symbol");if(y.call(x,t)&&("__symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==i))return 0<(t=t.slice(0,t.length-i.length)).length?t:void 0},f(T,"keyFor",p),p.value=function(t,e){var n=u(t,e);return n&&S(e)&&(n.enumerable=N.call(t,e)),n},f(e,"getOwnPropertyDescriptor",p),p.value=function(t,e){return 1===arguments.length||void 0===e?c(t):b(t,e)},f(e,"create",p),p.value=function(){var t=g.call(this);return"[object String]"===t&&S(this)?"[object Symbol]":t},f(v,"toString",p);try{if(!0!==c(f({},"__symbol:",{get:function(){return f(this,"__symbol:",{value:!0})["__symbol:"]}}))["__symbol:"])throw"IE11";var k=f}catch(t){k=function(t,e,n){var r=u(v,e);delete v[e],f(t,e,n),f(v,e,r)}}}}(Object,"getOwnPropertySymbols"),function(t,e){var n,r=t.defineProperty,o=t.prototype,i=o.toString;"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach((function(a){if(!(a in e))switch(r(e,a,{value:e(a)}),a){case"toStringTag":(n=t.getOwnPropertyDescriptor(o,"toString")).value=function(){var t=i.call(this),n=null!=this?this[e.toStringTag]:this;return null==n?t:"[object "+n+"]"},r(o,"toString",n)}}))}(Object,Symbol),function(t,e,n){function r(){return this}e[t]||(e[t]=function(){var e=0,n=this,o={next:function(){var t=n.length<=e;return t?{done:t}:{done:t,value:n[e++]}}};return o[t]=r,o}),n[t]||(n[t]=function(){var e=String.fromCodePoint,n=this,o=0,i=n.length,a={next:function(){var t=i<=o,r=t?"":e(n.codePointAt(o));return o+=r.length,t?{done:t}:{done:t,value:r}}};return a[t]=r,a})}(Symbol.iterator,Array.prototype,String.prototype);var U=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":U.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter((function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable}))},i(),l(),String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(i(),l(),String.prototype[Symbol.iterator]=function t(){var e,n=this;return N(t,(function(t){if(1==t.a&&(e=0),3!=t.a)return e<n.length?t=_(t,n[e]):(t.a=0,t=void 0),t;e++,t.a=2}))}),i(),l(),Set.prototype[Symbol.iterator]||(i(),l(),Set.prototype[Symbol.iterator]=function t(){var e,n,r=this;return N(t,(function(t){if(1==t.a&&(e=[],r.forEach((function(t){e.push(t)})),n=0),3!=t.a)return n<e.length?t=_(t,e[n]):(t.a=0,t=void 0),t;n++,t.a=2}))}),i(),l(),Map.prototype[Symbol.iterator]||(i(),l(),Map.prototype[Symbol.iterator]=function t(){var e,n,r=this;return N(t,(function(t){if(1==t.a&&(e=[],r.forEach((function(t,n){e.push([n,t])})),n=0),3!=t.a)return n<e.length?t=_(t,e[n]):(t.a=0,t=void 0),t;n++,t.a=2}))});var F=document.createEvent("Event");if(F.initEvent("foo",!0,!0),F.preventDefault(),!F.defaultPrevented){var B=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(B.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var H=/Trident/.test(navigator.userAgent);if(!window.Event||H&&"function"!=typeof window.Event){var V=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},V){for(var q in V)window.Event[q]=V[q];window.Event.prototype=V.prototype}}if((!window.CustomEvent||H&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||H&&"function"!=typeof window.MouseEvent){var W=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},W)for(var z in W)window.MouseEvent[z]=W[z];window.MouseEvent.prototype=W.prototype}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});var G,$,Y=Element.prototype,X=null!==(G=Object.getOwnPropertyDescriptor(Y,"attributes"))&&void 0!==G?G:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),K=null!==($=null==X?void 0:X.get)&&void 0!==$?$:function(){return this.attributes},J=Array.prototype.map;Y.hasOwnProperty("getAttributeNames")||(Y.getAttributeNames=function(){return J.call(K.call(this),(function(t){return t.name}))});var Z,Q=Element.prototype;Q.hasOwnProperty("matches")||(Q.matches=null!==(Z=Q.webkitMatchesSelector)&&void 0!==Z?Z:Q.msMatchesSelector);var tt=Node.prototype.appendChild;function et(t){(t=t.prototype).hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(n=(e=h(e)).next();!n.done;n=e.next())n=n.value,tt.call(this,"string"==typeof n?document.createTextNode(n):n)}})}et(Document),et(DocumentFragment),et(Element);var nt,rt,ot=Node.prototype.insertBefore,it=null!==(rt=null===(nt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===nt?void 0:nt.get)&&void 0!==rt?rt:function(){return this.firstChild};function at(t){(t=t.prototype).hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=it.call(this);for(var r=(e=h(e)).next();!r.done;r=e.next())r=r.value,ot.call(this,"string"==typeof r?document.createTextNode(r):r,n)}})}at(Document),at(DocumentFragment),at(Element);var st,ut,ct=Node.prototype.appendChild,lt=Node.prototype.removeChild,ht=null!==(ut=null===(st=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===st?void 0:st.get)&&void 0!==ut?ut:function(){return this.firstChild};function ft(t){(t=t.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=ht.call(this));)lt.call(this,n);for(n=(e=h(e)).next();!n.done;n=e.next())n=n.value,ct.call(this,"string"==typeof n?document.createTextNode(n):n)}})}ft(Document),ft(DocumentFragment),ft(Element);var dt,pt,vt,yt,mt=Node.prototype.insertBefore,gt=null!==(pt=null===(dt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===dt?void 0:dt.get)&&void 0!==pt?pt:function(){return this.parentNode},_t=null!==(yt=null===(vt=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===vt?void 0:vt.get)&&void 0!==yt?yt:function(){return this.nextSibling};function bt(t){(t=t.prototype).hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=gt.call(this)))for(var r=_t.call(this),o=(e=h(e)).next();!o.done;o=e.next())o=o.value,mt.call(n,"string"==typeof o?document.createTextNode(o):o,r)}})}bt(CharacterData),bt(Element);var wt,Et,St=Node.prototype.insertBefore,Nt=null!==(Et=null===(wt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===wt?void 0:wt.get)&&void 0!==Et?Et:function(){return this.parentNode};function Ct(t){(t=t.prototype).hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Nt.call(this)))for(var r=(e=h(e)).next();!r.done;r=e.next())r=r.value,St.call(n,"string"==typeof r?document.createTextNode(r):r,this)}})}Ct(CharacterData),Ct(Element);var Tt,xt,Ot=Node.prototype.removeChild,At=null!==(xt=null===(Tt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Tt?void 0:Tt.get)&&void 0!==xt?xt:function(){return this.parentNode};function Pt(t){(t=t.prototype).hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=At.call(this);t&&Ot.call(t,this)}})}Pt(CharacterData),Pt(Element);var Lt,kt,jt=Node.prototype.insertBefore,Dt=Node.prototype.removeChild,Mt=null!==(kt=null===(Lt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Lt?void 0:Lt.get)&&void 0!==kt?kt:function(){return this.parentNode};function Rt(t){(t=t.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Mt.call(this))){for(var r=(e=h(e)).next();!r.done;r=e.next())r=r.value,jt.call(n,"string"==typeof r?document.createTextNode(r):r,this);Dt.call(n,this)}}})}Rt(CharacterData),Rt(Element);var It=window.Element.prototype,Ut=window.HTMLElement.prototype,Ft=window.SVGElement.prototype;!Ut.hasOwnProperty("classList")||It.hasOwnProperty("classList")||Ft.hasOwnProperty("classList")||Object.defineProperty(It,"classList",Object.getOwnPropertyDescriptor(Ut,"classList"));var Bt=document.createElement("style");Bt.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Ht=document.querySelector("head");Ht.insertBefore(Bt,Ht.firstChild);var Vt=window;Vt.WebComponents=Vt.WebComponents||{flags:{}};var qt=document.querySelector('script[src*="webcomponents-bundle"]'),Wt=/wc-(.+)/,zt={};if(!zt.noOpts){if(location.search.slice(1).split("&").forEach((function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(Wt))&&(zt[e[1]]=t[1]||!0)})),qt)for(var Gt=0,$t=void 0;$t=qt.attributes[Gt];Gt++)"src"!==$t.name&&(zt[$t.name]=$t.value||!0);var Yt={};zt.log&&zt.log.split&&zt.log.split(",").forEach((function(t){Yt[t]=!0})),zt.log=Yt}Vt.WebComponents.flags=zt;var Xt=zt.shadydom;if(Xt){Vt.ShadyDOM=Vt.ShadyDOM||{},Vt.ShadyDOM.force=Xt;var Kt=zt.noPatch;Vt.ShadyDOM.noPatch="true"===Kt||Kt}var Jt=zt.register||zt.ce;function Zt(){}function Qt(t){return t.__shady||(t.__shady=new Zt),t.__shady}function te(t){return t&&t.__shady}Jt&&window.customElements&&(Vt.customElements.forcePolyfill=Jt),function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return v.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return y.call(t,e);default:return p.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),o=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var r;r=t.firstChild;)n.call(this,r,e);else n.call(this,t,e);return t}o=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):r.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,u=Node.prototype.removeChild,c=Node.prototype.appendChild,l=Node.prototype.replaceChild,h=DOMParser.prototype.parseFromString,f=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},d=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,v=Document.prototype.querySelectorAll,y=DocumentFragment.prototype.querySelectorAll,m=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||r}}();if(n){var g=document.implementation.createHTMLDocument("template"),_=!0,b=document.createElement("style");b.textContent="template{display:none;}";var w=document.head;w.insertBefore(b,w.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");t.U=function(e){if(!e.content&&e.namespaceURI===document.documentElement.namespaceURI){e.content=g.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(E)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.b(this,e)},_)try{N(e),C(e)}catch(t){_=!1}t.a(e.content)}};var S={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(e){Object.defineProperty(e,"innerHTML",{get:function(){return L(this)},set:function(e){var n=S[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)e="<"+n[r]+">"+e+"</"+n[r]+">";for(g.body.innerHTML=e,t.a(g);this.content.firstChild;)u.call(this.content,this.content.firstChild);if(e=g.body,n)for(r=0;r<n.length;r++)e=e.lastChild;for(;e.firstChild;)c.call(this.content,e.firstChild)},configurable:!0})},C=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(g.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();g.body.firstChild;)c.call(t,g.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};N(t.prototype),C(t.prototype),t.a=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o<i&&(r=n[o]);o++)t.U(r)},document.addEventListener("DOMContentLoaded",(function(){t.a(document)})),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.U(e),e},DOMParser.prototype.parseFromString=function(){var e=h.apply(this,arguments);return t.a(e),e},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return L(this)},set:function(e){f.set.call(this,e),t.a(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,x=/[&\u00A0<>]/g,O=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},A=(b=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),P=b("style script xmp iframe noembed noframes plaintext noscript".split(" ")),L=function(t,e){"template"===t.localName&&(t=t.content);for(var n,r="",o=e?e(t):d.get.call(t),i=0,a=o.length;i<a&&(n=o[i]);i++){t:{var s=n,u=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var l=s.localName,h="<"+l,f=s.attributes,p=0;u=f[p];p++)h+=" "+u.name+'="'+u.value.replace(T,O)+'"';h+=">",s=A[l]?h:h+L(s,c)+"</"+l+">";break t;case Node.TEXT_NODE:s=s.data,s=u&&P[u.localName]?s:s.replace(x,O);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||m){t.b=function(t,e){var n=i.call(t,!1);return this.U&&this.U(n),e&&(c.call(n.content,i.call(t.content,!0)),k(n.content,t.content)),n};var k=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=r[a],o=n[a],t&&t.U&&t.U(i),l.call(o.parentNode,j.call(i,!0),o)},j=Node.prototype.cloneNode=function(e){if(!o&&r&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=D.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?t.b(this,e):i.call(this,e);return e&&k(n,this),n},D=Document.prototype.importNode=function(n,r){if(r=r||!1,"template"===n.localName)return t.b(n,r);var o=s.call(this,n,r);if(r){k(o,n),n=e(o,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,u=0;u<n.length;u++){i=n[u],(r=a.call(document,"script")).textContent=i.textContent;for(var c,h=i.attributes,f=0;f<h.length;f++)c=h[f],r.setAttribute(c.name,c.value);l.call(i.parentNode,r,i)}}return o}}n&&(window.HTMLTemplateElement=t)}(),Zt.prototype.toJSON=function(){return{}};var ee=window.ShadyDOM||{};ee.Ua=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ne=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function re(t){return(t=te(t))&&void 0!==t.firstChild}function oe(t){return t instanceof ShadowRoot}function ie(t){return(t=(t=te(t))&&t.root)&&Wr(t)}ee.B=!!(ne&&ne.configurable&&ne.get),ee.sa=ee.force||!ee.Ua,ee.D=ee.noPatch||!1,ee.aa=ee.preferPerformance,ee.ua="on-demand"===ee.D,ee.Ia=navigator.userAgent.match("Trident");var ae=Element.prototype,se=ae.matches||ae.matchesSelector||ae.mozMatchesSelector||ae.msMatchesSelector||ae.oMatchesSelector||ae.webkitMatchesSelector,ue=document.createTextNode(""),ce=0,le=[];function he(t){le.push(t),ue.textContent=ce++}new MutationObserver((function(){for(;le.length;)try{le.shift()()}catch(t){throw ue.textContent=ce++,t}})).observe(ue,{characterData:!0});var fe=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function de(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function pe(t){for(var e=t.length-1;0<=e;e--){var n=t[e],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(t[r]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=h(t),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==e)return r;return null},t}function ve(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function ye(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function me(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function ge(t,e,n,r){for(var o in n=void 0===n?"":n,e)r&&0<=r.indexOf(o)||me(t,n+o,e[o])}function _e(t,e){for(var n in e)n in t&&me(t,n,e[n])}function be(t){var e={};return Object.getOwnPropertyNames(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e}function we(t,e){for(var n,r=Object.getOwnPropertyNames(e),o=0;o<r.length;o++)t[n=r[o]]=e[n]}function Ee(t){return t instanceof Node?t:document.createTextNode(""+t)}function Se(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(1===e.length)return Ee(e[0]);n=document.createDocumentFragment();for(var r=(e=h(e)).next();!r.done;r=e.next())n.appendChild(Ee(r.value));return n}var Ne,Ce=[];function Te(t){Ne||(Ne=!0,he(xe)),Ce.push(t)}function xe(){Ne=!1;for(var t=!!Ce.length;Ce.length;)Ce.shift()();return t}function Oe(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.ja=new Set}xe.list=Ce,Oe.prototype.flush=function(){if(this.a){this.a=!1;var t=this.takeRecords();t.length&&this.ja.forEach((function(e){e(t)}))}},Oe.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Ae=/[&\u00A0"]/g,Pe=/[&\u00A0<>]/g;function Le(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function ke(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var je=ke("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),De=ke("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Me(t,e){"template"===t.localName&&(t=t.content);for(var n="",r=e?e(t):t.childNodes,o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++){t:{var s=a,u=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var l,h="<"+(u=s.localName),f=s.attributes,d=0;l=f[d];d++)h+=" "+l.name+'="'+l.value.replace(Ae,Le)+'"';h+=">",s=je[u]?h:h+Me(s,c)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=u&&De[u.localName]?s:s.replace(Pe,Le);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var Re=ee.B,Ie={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},Ue={};function Fe(t){Ue[t]=function(e){return e["__shady_native_"+t]}}function Be(t,e){for(var n in ge(t,e,"__shady_native_"),e)Fe(n)}function He(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var r=e[n],o=Object.getOwnPropertyDescriptor(t,r);o&&(Object.defineProperty(t,"__shady_native_"+r,o),o.value?Ie[r]||(Ie[r]=o.value):Fe(r))}}var Ve=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),qe=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),We=document.implementation.createHTMLDocument("inert");function ze(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}var Ge=["firstElementChild","lastElementChild","children","childElementCount"],$e=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var Ye=be({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),Xe=be({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){return this.__shady_innerHTML=t}}),Ke=be({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(t){return this.__shady_className=t}});function Je(t){for(var e in t){var n=t[e];n&&(n.enumerable=!1)}}Je(Ye),Je(Xe),Je(Ke);var Ze,Qe=ee.B||!0===ee.D,tn=Qe?function(){}:function(t){var e=Qt(t);e.Ka||(e.Ka=!0,_e(t,Ke))},en=Qe?function(){}:function(t){var e=Qt(t);e.Ja||(e.Ja=!0,_e(t,Ye),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!ee.D||_e(t,Xe))},nn="__eventWrappers"+Date.now(),rn=(Ze=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(t){return Ze.get.call(t)}:null,on=function(){function t(){}var e=!1,n={get capture(){return e=!0,!1}};return window.addEventListener("test",t,n),window.removeEventListener("test",t,n),e}();function an(t){if(t&&"object"==typeof t)var e=!!t.capture,n=!!t.once,r=!!t.passive,o=t.O;else e=!!t,r=n=!1;return{Ga:o,capture:e,once:n,passive:r,Fa:on?t:e}}var sn={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},un={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function cn(t){return t instanceof Node?t.__shady_getRootNode():t}function ln(t,e){var n=[],r=t;for(t=cn(t);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(e||r!==t)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function hn(t,e){if(!oe)return t;t=ln(t,!0);for(var n,r,o=0,i=void 0,a=void 0;o<e.length;o++)if((r=cn(n=e[o]))!==i&&(a=t.indexOf(r),i=r),!oe(r)||-1<a)return n}function fn(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}var dn={focus:!0,blur:!0};function pn(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function vn(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var r,o=0;(r=n[o])&&(!pn(t)||t.target!==t.relatedTarget)&&(r.call(e,t),!t.__immediatePropagationStopped);o++);}function yn(t){var e=t.composedPath(),n=e.map((function(t){return hn(t,e)})),r=t.bubbles;Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return a}});var o=Event.CAPTURING_PHASE;Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=e.length-1;0<=i;i--){var a=e[i];if(o=a===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,vn(t,a,"capture"),t.ma)return}for(i=0;i<e.length;i++){var s=(a=e[i])===n[i];if((s||r)&&(o=s?Event.AT_TARGET:Event.BUBBLING_PHASE,vn(t,a,"bubble"),t.ma))return}o=0,a=null}function mn(t,e,n,r,o,i){for(var a=0;a<t.length;a++){var s=t[a],u=s.type,c=s.capture,l=s.once,h=s.passive;if(e===s.node&&n===u&&r===c&&o===l&&i===h)return a}return-1}function gn(t){return xe(),!ee.aa&&this instanceof Node&&!fe(document,this)?(t.__target||En(t,this),yn(t)):this.__shady_native_dispatchEvent(t)}function _n(t,e,n){var r=an(n),o=r.capture,i=r.once,a=r.passive,s=r.Ga;if(r=r.Fa,e){var u=typeof e;if(("function"===u||"object"===u)&&("object"!==u||e.handleEvent&&"function"==typeof e.handleEvent)){if(un[t])return this.__shady_native_addEventListener(t,e,r);var c=s||this;if(s=e[nn]){if(-1<mn(s,c,t,o,i,a))return}else e[nn]=[];s=function(r){if(i&&this.__shady_removeEventListener(t,e,n),r.__target||En(r),c!==this){var a=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return c},configurable:!0});var s=Object.getOwnPropertyDescriptor(r,"eventPhase");Object.defineProperty(r,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(r.__previousCurrentTarget=r.currentTarget,(!oe(c)&&"slot"!==c.localName||-1!=r.composedPath().indexOf(c))&&(r.composed||-1<r.composedPath().indexOf(c)))if(pn(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===c||c instanceof Window){var l="function"===u?e.call(c,r):e.handleEvent&&e.handleEvent(r);return c!==this&&(a?(Object.defineProperty(r,"currentTarget",a),a=null):delete r.currentTarget,s?(Object.defineProperty(r,"eventPhase",s),s=null):delete r.eventPhase),l}},e[nn].push({node:c,type:t,capture:o,once:i,passive:a,lb:s}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s),dn[t]||this.__shady_native_addEventListener(t,s,r)}}}function bn(t,e,n){if(e){var r=an(n);n=r.capture;var o=r.once,i=r.passive,a=r.Ga;if(r=r.Fa,un[t])return this.__shady_native_removeEventListener(t,e,r);var s=a||this;a=void 0;var u=null;try{u=e[nn]}catch(t){}u&&(-1<(o=mn(u,s,t,n,o,i))&&(a=u.splice(o,1)[0].lb,u.length||(e[nn]=void 0))),this.__shady_native_removeEventListener(t,a||e,r),a&&this.__handlers&&this.__handlers[t]&&(-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(a))&&t.splice(e,1))}}var wn=be({get composed(){return void 0===this.__composed&&(rn?this.__composed="focusin"===this.type||"focusout"===this.type||rn(this):!1!==this.isTrusted&&(this.__composed=sn[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=ln(this.__target,this.composed)),this.__composedPath},get target(){return hn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=ln(this.__relatedTarget,!0)),hn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ma=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ma=this.__immediatePropagationStopped=!0}});function En(t,e){if(e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,ee.B){if(!(e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(e);n.__shady_sourceProto=e,ge(n,wn),e.__shady_patchedProto=n}t.__proto__=e.__shady_patchedProto}else ge(t,wn)}var Sn=fn(Event),Nn=fn(CustomEvent),Cn=fn(MouseEvent);var Tn=Object.getOwnPropertyNames(Element.prototype).filter((function(t){return"on"===t.substring(0,2)})),xn=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(t){return"on"===t.substring(0,2)}));function On(t){return{set:function(e){var n=Qt(this),r=t.substring(2);n.N||(n.N={}),n.N[t]&&this.removeEventListener(r,n.N[t]),this.__shady_addEventListener(r,e),n.N[t]=e},get:function(){var e=te(this);return e&&e.N&&e.N[t]},configurable:!0}}function An(t,e){return{index:t,ba:[],ia:e}}function Pn(t,e,n,r){var o=0,i=0,a=0,s=0,u=Math.min(e-o,r-i);if(0==o&&0==i)t:{for(a=0;a<u;a++)if(t[a]!==n[a])break t;a=u}if(e==t.length&&r==n.length){s=t.length;for(var c=n.length,l=0;l<u-a&&Ln(t[--s],n[--c]);)l++;s=l}if(i+=a,r-=s,0==(e-=s)-(o+=a)&&0==r-i)return[];if(o==e){for(e=An(o,0);i<r;)e.ba.push(n[i++]);return[e]}if(i==r)return[An(o,e-o)];for(r=r-(a=i)+1,s=e-(u=o)+1,e=Array(r),c=0;c<r;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<r;c++)for(l=1;l<s;l++)if(t[u+l-1]===n[a+c-1])e[c][l]=e[c-1][l-1];else{var h=e[c-1][l]+1,f=e[c][l-1]+1;e[c][l]=h<f?h:f}for(u=e.length-1,a=e[0].length-1,r=e[u][a],t=[];0<u||0<a;)0==u?(t.push(2),a--):0==a?(t.push(3),u--):(s=e[u-1][a-1],(h=(c=e[u-1][a])<(l=e[u][a-1])?c<s?c:s:l<s?l:s)==s?(s==r?t.push(0):(t.push(1),r=s),u--,a--):h==c?(t.push(3),u--,r=c):(t.push(2),a--,r=l));for(t.reverse(),e=void 0,u=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(u.push(e),e=void 0),o++,i++;break;case 1:e||(e=An(o,0)),e.ia++,o++,e.ba.push(n[i]),i++;break;case 2:e||(e=An(o,0)),e.ia++,o++;break;case 3:e||(e=An(o,0)),e.ba.push(n[i]),i++}return e&&u.push(e),u}function Ln(t,e){return t===e}var kn=be({dispatchEvent:gn,addEventListener:_n,removeEventListener:bn}),jn=null;function Dn(){return jn||(jn=window.ShadyCSS&&window.ShadyCSS.ScopingShim),jn||null}function Mn(t,e,n){var r=Dn();return!(!r||"class"!==e)&&(r.setElementClass(t,n),!0)}function Rn(t,e){var n=Dn();n&&n.unscopeNode(t,e)}function In(t,e){var n=Dn();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)n=n&&In(t,e);return n}return t.nodeType!==Node.ELEMENT_NODE||n.currentScopeForNode(t)===e}function Un(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=Dn();return e?e.currentScopeForNode(t):""}function Fn(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&Fn(t,e)}var Bn=window.document,Hn=ee.aa,Vn=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),qn=Vn&&Vn.get;function Wn(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function zn(t){var e=te(t);if(e&&void 0!==e.la)for(e=t.__shady_firstChild;e;e=e.__shady_nextSibling)zn(e);(t=te(t))&&(t.la=void 0)}function Gn(t){var e=t;if(t&&"slot"===t.localName){var n=te(t);(n=n&&n.V)&&(e=n.length?n[0]:Gn(t.__shady_nextSibling))}return e}function $n(t,e,n){if(t=(t=te(t))&&t.Z){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=e.childNodes.length;r<o;r++)t.addedNodes.push(e.childNodes[r]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),function(t){t.a||(t.a=!0,he((function(){t.flush()})))}(t)}}var Yn=be({get parentNode(){var t=te(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=te(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=te(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=te(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=te(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(re(this)){var t=te(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=te(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:this.__shady_native_parentElement},get isConnected(){if(qn&&qn.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||fe(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(oe(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(re(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!re(this)&&ee.B){var e=this.__shady_firstChild;(e!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&Wn(this),this.__shady_native_textContent=t}else Wn(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==Bn&&t.ownerDocument!==Bn)return this.__shady_native_insertBefore(t,e),t;if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=te(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(e===t)return t;$n(this,t);var r=[],o=(n=Yr(this))?n.host.localName:Un(this),i=t.__shady_parentNode;if(i){var a=Un(t),s=!!n||!Yr(t)||Hn&&void 0!==this.__noInsertionPoint;i.__shady_removeChild(t,s)}i=!0;var u=(!Hn||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!In(t,o),c=n&&!t.__noInsertionPoint&&(!Hn||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(a=a||Un(t)),Fn(t,(function(t){if(c&&"slot"===t.localName&&r.push(t),u){var e=a;Dn()&&(e&&Rn(t,e),(e=Dn())&&e.scopeNode(t,o))}}))),r.length&&(Br(n),n.c.push.apply(n.c,f(r)),Mr(n)),re(this)&&(function(t,e,n){Nr(e,2);var r=Qt(e);if(void 0!==r.firstChild&&(r.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)Cr(t,e,r,n);else Cr(t,e,r,n)}(t,this,e),(s=te(this)).root?(i=!1,ie(this)&&Mr(s.root)):n&&"slot"===this.localName&&(i=!1,Mr(n))),i?(n=oe(this)?this.host:this,e?(e=Gn(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t),t},appendChild:function(t){if(this!=t||!oe(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==Bn)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);$n(this,null,t);var n=Yr(t),r=n&&function(t,e){if(t.a){Hr(t);var n,r=t.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var a=o[i];if(de(e,a)){o.splice(i,1);var s=t.a.indexOf(a);if(0<=s&&(t.a.splice(s,1),(s=te(a.__shady_parentNode))&&s.da&&s.da--),i--,s=(a=te(a)).V)for(var u=0;u<s.length;u++){var c=s[u],l=c.__shady_native_parentNode;l&&l.__shady_native_removeChild(c)}a.V=[],a.assignedNodes=[],s=!0}}return s}}(n,t),o=te(this);if(re(this)&&(function(t,e){var n=Qt(t);e=Qt(e),t===e.firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var r=n.nextSibling;t&&(Qt(t).nextSibling=r),r&&(Qt(r).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(t,this),ie(this))){Mr(o.root);var i=!0}if(Dn()&&!e&&n&&t.nodeType!==Node.TEXT_NODE){var a=Un(t);Fn(t,(function(t){Rn(t,a)}))}return zn(t),n&&((e="slot"===this.localName)&&(i=!0),(r||e)&&Mr(n)),i||(i=oe(this)?this.host:this,(!o.root&&"slot"!==t.localName||i===t.__shady_native_parentNode)&&i.__shady_native_removeChild(t)),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e=this.__shady_native_cloneNode(!1);if(t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.__shady_firstChild;for(var n;t;t=t.__shady_nextSibling)n=t.__shady_cloneNode(!0),e.__shady_appendChild(n)}return e},getRootNode:function(t){if(this&&this.nodeType){var e=Qt(this),n=e.la;return void 0===n&&(oe(this)?(n=this,e.la=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.la=n))),n}},contains:function(t){return de(this,t)}}),Xn=be({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&Rr(t),(t=te(this))&&t.assignedSlot||null}});function Kn(t,e,n){var r=[];return Jn(t,e,n,r),r}function Jn(t,e,n,r){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var o;if(o=t.nodeType===Node.ELEMENT_NODE){var i=e,a=n,s=r,u=i(o=t);u&&s.push(o),a&&a(u)?o=u:(Jn(o,i,a,s),o=void 0)}if(o)break}}var Zn={get firstElementChild(){var t=te(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=te(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return re(this)?pe(Array.prototype.filter.call(ye(this),(function(t){return t.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}},Qn=be((Zn.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Se.apply(null,f(e)),null)},Zn.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Se.apply(null,f(e)),this.__shady_firstChild)},Zn.replaceChildren=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(Se.apply(null,f(e)),null)},Zn)),tr=be({querySelector:function(t){return Kn(this,(function(e){return se.call(e,t)}),(function(t){return!!t}))[0]||null},querySelectorAll:function(t,e){if(e){e=Array.prototype.slice.call(this.__shady_native_querySelectorAll(t));var n=this.__shady_getRootNode();return pe(e.filter((function(t){return t.__shady_getRootNode()==n})))}return pe(Kn(this,(function(e){return se.call(e,t)})))}}),er=ee.aa&&!ee.D?we({},Qn):Qn;we(Qn,tr);var nr=be({after:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(Se.apply(null,f(e)),r)}},before:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(Se.apply(null,f(e)),this)},remove:function(){var t=this.__shady_parentNode;null!==t&&t.__shady_removeChild(this)},replaceWith:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(Se.apply(null,f(e)),r)}}}),rr=window.document;function or(t,e){if("slot"===e)ie(t=t.__shady_parentNode)&&Mr(te(t).root);else if("slot"===t.localName&&"name"===e&&(e=Yr(t))){if(e.a){Hr(e);var n=t.La,r=Vr(t);if(r!==n){var o=(n=e.b[n]).indexOf(t);0<=o&&n.splice(o,1),(n=e.b[r]||(e.b[r]=[])).push(t),1<n.length&&(e.b[r]=qr(n))}}Mr(e)}}var ir=be({get previousElementSibling(){var t=te(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=te(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==rr?this.__shady_native_setAttribute(t,e):Mn(this,t,e)||(this.__shady_native_setAttribute(t,e),or(this,t))},removeAttribute:function(t){this.ownerDocument!==rr?this.__shady_native_removeAttribute(t):Mn(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),or(this,t))}});ee.aa||Tn.forEach((function(t){ir[t]=On(t)}));var ar=be({attachShadow:function(t){if(!this)throw Error("Must provide a host.");if(!t)throw Error("Not enough arguments.");if(t.shadyUpgradeFragment&&!ee.Ia){var e=t.shadyUpgradeFragment;if(e.__proto__=ShadowRoot.prototype,Dr(e,this,t),Tr(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length){var n=e;Br(n),n.c.push.apply(n.c,f(t)),Mr(e)}e.host.__shady_native_appendChild(e)}else e=new jr(Pr,this,t);return this.__CE_shadowRoot=e},get shadowRoot(){var t=te(this);return t&&t.bb||null}});we(ir,ar);var sr=document.implementation.createHTMLDocument("inert"),ur=be({get innerHTML(){return re(this)?Me("template"===this.localName?this.content:this,ye):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{Wn(this);var e=this.localName||"div";for(e=this.namespaceURI&&this.namespaceURI!==sr.namespaceURI?sr.createElementNS(this.namespaceURI,e):sr.createElement(e),ee.B?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),cr=be({blur:function(){var t=te(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}});ee.aa||xn.forEach((function(t){cr[t]=On(t)}));var lr=be({assignedNodes:function(t){if("slot"===this.localName){var e=this.__shady_getRootNode();return e&&oe(e)&&Rr(e),(e=te(this))&&(t&&t.flatten?e.V:e.assignedNodes)||[]}},addEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)_n.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.O=this,r.__shady_addEventListener(t,e,n)}},removeEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)bn.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.O=this,r.__shady_removeEventListener(t,e,n)}}}),hr=be({getElementById:function(t){return""===t?null:Kn(this,(function(e){return e.id==t}),(function(t){return!!t}))[0]||null}}),fr=be({get activeElement(){var t=ee.B?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!oe(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=Yr(t);e&&e!==this;)e=Yr(t=e.host);return this===document?e?null:t:e===this?t:null}}),dr=window.document,pr=be({importNode:function(t,e){if(t.ownerDocument!==dr||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),vr=be({dispatchEvent:gn,addEventListener:_n.bind(window),removeEventListener:bn.bind(window)}),yr={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(yr.parentElement=Yn.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(yr.contains=Yn.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(yr.children=Qn.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(yr.innerHTML=ur.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(yr.className=ir.className);var mr={EventTarget:[kn],Node:[Yn,window.EventTarget?null:kn],Text:[Xn],Comment:[Xn],CDATASection:[Xn],ProcessingInstruction:[Xn],Element:[ir,Qn,nr,Xn,!ee.B||"innerHTML"in Element.prototype?ur:null,window.HTMLSlotElement?null:lr],HTMLElement:[cr,yr],HTMLSlotElement:[lr],DocumentFragment:[er,hr],Document:[pr,er,hr,fr],Window:[vr],CharacterData:[nr]},gr=ee.B?null:["innerHTML","textContent"];function _r(t,e,n,r){e.forEach((function(e){return t&&e&&ge(t,e,n,r)}))}function br(t){var e,n=t?null:gr;for(e in mr)_r(window[e]&&window[e].prototype,mr[e],t,n)}function wr(t){return t.__shady_protoIsPatched=!0,_r(t,mr.EventTarget),_r(t,mr.Node),_r(t,mr.Element),_r(t,mr.HTMLElement),_r(t,mr.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,_r(n,mr.EventTarget),_r(n,mr.Node),mr[t]&&_r(n,mr[t]),e.prototype.__shady_patchedProto=n}));var Er=ee.ua,Sr=ee.B;function Nr(t,e){if(Er&&!t.__shady_protoIsPatched&&!oe(t)){var n=Object.getPrototypeOf(t),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(wr(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(t,r)}Sr||(1===e?tn(t):2===e&&en(t))}function Cr(t,e,n,r){Nr(t,1),r=r||null;var o=Qt(t),i=r?Qt(r):null;o.previousSibling=r?i.previousSibling:e.__shady_lastChild,(i=te(o.previousSibling))&&(i.nextSibling=t),(i=te(o.nextSibling=r))&&(i.previousSibling=t),o.parentNode=e,r?r===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function Tr(t,e){var n=Qt(t);if(e||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,Nr(t,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=Qt(n);o.parentNode=e||t,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Nr(n,1)}}}var xr=be({addEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.O=n.O||this,this.host.__shady_addEventListener(t,e,n)},removeEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.O=n.O||this,this.host.__shady_removeEventListener(t,e,n)}});function Or(t,e){ge(t,xr,e),ge(t,fr,e),ge(t,ur,e),ge(t,Qn,e),ee.D&&!e?(ge(t,Yn,e),ge(t,hr,e)):ee.B||(ge(t,Ke),ge(t,Ye),ge(t,Xe))}var Ar,Pr={},Lr=ee.deferConnectionCallbacks&&"loading"===document.readyState;function kr(t){var e=[];do{e.unshift(t)}while(t=t.__shady_parentNode);return e}function jr(t,e,n){if(t!==Pr)throw new TypeError("Illegal constructor");this.a=null,Dr(this,e,n)}function Dr(t,e,n){if(t.host=e,t.mode=n&&n.mode,Tr(t.host),(e=Qt(t.host)).root=t,e.bb="closed"!==t.mode?t:null,(e=Qt(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,ee.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else Mr(t)}function Mr(t){t.T||(t.T=!0,Te((function(){return Rr(t)})))}function Rr(t){var e;if(e=t.T){for(var n;t;)t.T&&(n=t),oe(t=(e=t).host.__shady_getRootNode())&&(e=te(e.host))&&0<e.da||(t=void 0);e=n}(n=e)&&n._renderSelf()}function Ir(t,e,n){var r=Qt(e),o=r.oa;r.oa=null,n||(n=(t=t.b[e.__shady_slot||"__catchall"])&&t[0]),n?(Qt(n).assignedNodes.push(e),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(Qt(r.assignedSlot).ra=!0)}function Ur(t,e,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=te(o).assignedNodes;i&&i.length&&Ur(t,e,i)}else e.push(n[r])}function Fr(t,e){e.__shady_native_dispatchEvent(new Event("slotchange")),(e=te(e)).assignedSlot&&Fr(t,e.assignedSlot)}function Br(t){t.c=t.c||[],t.a=t.a||[],t.b=t.b||{}}function Hr(t){if(t.c&&t.c.length){for(var e,n=t.c,r=0;r<n.length;r++){var o=n[r];Tr(o);var i=o.__shady_parentNode;Tr(i),(i=te(i)).da=(i.da||0)+1,i=Vr(o),t.b[i]?((e=e||{})[i]=!0,t.b[i].push(o)):t.b[i]=[o],t.a.push(o)}if(e)for(var a in e)t.b[a]=qr(t.b[a]);t.c=[]}}function Vr(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.La=e}function qr(t){return t.sort((function(t,e){t=kr(t);for(var n=kr(e),r=0;r<t.length;r++){e=t[r];var o=n[r];if(e!==o)return(t=ye(e.__shady_parentNode)).indexOf(e)-t.indexOf(o)}}))}function Wr(t){return Hr(t),!(!t.a||!t.a.length)}if(jr.prototype._renderSelf=function(){var t=Lr;if(Lr=!0,this.T=!1,this.a){Hr(this);for(var e,n=0;n<this.a.length;n++){var r=te(e=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.V=[],r.Ba=o)for(r=0;r<o.length;r++){var i=te(o[r]);i.oa=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ir(this,n);for(n=0;n<this.a.length;n++){if(!(o=te(e=this.a[n])).assignedNodes.length)for(r=e.__shady_firstChild;r;r=r.__shady_nextSibling)Ir(this,r,e);if((r=(r=te(e.__shady_parentNode))&&r.root)&&(Wr(r)||r.T)&&r._renderSelf(),Ur(this,o.V,o.assignedNodes),r=o.Ba){for(i=0;i<r.length;i++)te(r[i]).oa=null;o.Ba=null,r.length>o.assignedNodes.length&&(o.ra=!0)}o.ra&&(o.ra=!1,Fr(this,e))}for(e=this.a,n=[],o=0;o<e.length;o++)(i=te(r=e[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(e=0;e<n.length;e++){for(o=(i=n[e])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var a=te(i).V,s=0;s<a.length;s++)r.push(a[s]);else r.push(i);i=ve(o),a=Pn(r,r.length,i,i.length);for(var u=s=0,c=void 0;s<a.length&&(c=a[s]);s++){for(var l=0,h=void 0;l<c.ba.length&&(h=c.ba[l]);l++)h.__shady_native_parentNode===o&&o.__shady_native_removeChild(h),i.splice(c.index+u,1);u-=c.ia}for(u=0,c=void 0;u<a.length&&(c=a[u]);u++)for(s=i[c.index],l=c.index;l<c.index+c.ia;l++)h=r[l],o.__shady_native_insertBefore(h,s),i.splice(l,0,h)}}if(!ee.preferPerformance&&!this.Aa)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)e=te(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&e.assignedSlot||this.host.__shady_native_removeChild(n);this.Aa=!0,Lr=t,Ar&&Ar()},function(t){t.__proto__=DocumentFragment.prototype,Or(t,"__shady_"),Or(t),Object.defineProperties(t,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(e){Object.defineProperty(t,e,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(e){Object.defineProperty(t,e,{get:function(){return this.host[e]},configurable:!0})}))}(jr.prototype),window.customElements&&window.customElements.define&&ee.sa&&!ee.preferPerformance){var zr=new Map;Ar=function(){var t=[];zr.forEach((function(e,n){t.push([n,e])})),zr.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Lr&&document.addEventListener("readystatechange",(function(){Lr=!1,Ar()}),{once:!0});var Gr=window.customElements.define,$r=function(t,e){var n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;Gr.call(window.customElements,t,function(t,e,n){var r=0,o="__isConnected"+r++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){Lr?zr.set(this,!0):this[o]||(this[o]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){Lr?this.isConnected||zr.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),t}(e,n,r)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=r};window.customElements.define=$r,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:$r,configurable:!0})}function Yr(t){if(oe(t=t.__shady_getRootNode()))return t}function Xr(t){this.node=t}function Kr(t){Object.defineProperty(Xr.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}(e=Xr.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},e.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},e.appendChild=function(t){return this.node.__shady_appendChild(t)},e.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},e.removeChild=function(t){return this.node.__shady_removeChild(t)},e.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},e.cloneNode=function(t){return this.node.__shady_cloneNode(t)},e.getRootNode=function(t){return this.node.__shady_getRootNode(t)},e.contains=function(t){return this.node.__shady_contains(t)},e.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},e.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},e.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},e.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},e.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},e.attachShadow=function(t){return this.node.__shady_attachShadow(t)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},e.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},e.querySelector=function(t){return this.node.__shady_querySelector(t)},e.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},e.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},e.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_append.apply(this.node,f(e))},e.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,f(e))},e.after=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_after.apply(this.node,f(e))},e.before=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_before.apply(this.node,f(e))},e.remove=function(){return this.node.__shady_remove()},e.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,f(e))},o.Object.defineProperties(Xr.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(oe(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(oe(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){return this.node.__shady_className=t}}}),Tn.forEach((function(t){return Kr(t)})),xn.forEach((function(t){return Kr(t)}));var Jr=new WeakMap;function Zr(t){if(oe(t)||t instanceof Xr)return t;var e=Jr.get(t);return e||(e=new Xr(t),Jr.set(t,e)),e}if(ee.sa){var Qr=ee.B?function(t){return t}:function(t){return en(t),tn(t),t},to={inUse:ee.sa,patch:Qr,isShadyRoot:oe,enqueue:Te,flush:xe,flushInitial:function(t){!t.Aa&&t.T&&Rr(t)},settings:ee,filterMutations:function(t,e){var n=e.getRootNode();return t.map((function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=[].slice.call(t.addedNodes).filter((function(t){return n===t.getRootNode()}))).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t})).filter((function(t){return t}))},observeChildren:function(t,e){var n=Qt(t);n.Z||(n.Z=new Oe),n.Z.ja.add(e);var r=n.Z;return{Ma:e,S:r,Na:t,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.S;e&&(e.ja.delete(t.Ma),e.ja.size||(Qt(t.Na).Z=null))},deferConnectionCallbacks:ee.deferConnectionCallbacks,preferPerformance:ee.preferPerformance,handlesDynamicScoping:!0,wrap:ee.D?Zr:Qr,wrapIfNeeded:!0===ee.D?Zr:function(t){return t},Wrapper:Xr,composedPath:function(t){return t.__composedPath||(t.__composedPath=ln(t.target,!0)),t.__composedPath},noPatch:ee.D,patchOnDemand:ee.ua,nativeMethods:Ie,nativeTree:Ue,patchElementProto:wr};window.ShadyDOM=to,function(){var t=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?He(window.EventTarget.prototype,t):(He(Node.prototype,t),He(Window.prototype,t)),Re?He(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Be(Node.prototype,{parentNode:{get:function(){return Ve.currentNode=this,Ve.parentNode()}},firstChild:{get:function(){return Ve.currentNode=this,Ve.firstChild()}},lastChild:{get:function(){return Ve.currentNode=this,Ve.lastChild()}},previousSibling:{get:function(){return Ve.currentNode=this,Ve.previousSibling()}},nextSibling:{get:function(){return Ve.currentNode=this,Ve.nextSibling()}},childNodes:{get:function(){var t=[];Ve.currentNode=this;for(var e=Ve.firstChild();e;)t.push(e),e=Ve.nextSibling();return t}},parentElement:{get:function(){return qe.currentNode=this,qe.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:ze(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),He(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),He(HTMLElement.prototype,["parentElement","contains"]),t={firstElementChild:{get:function(){return qe.currentNode=this,qe.firstChild()}},lastElementChild:{get:function(){return qe.currentNode=this,qe.lastChild()}},children:{get:function(){var t=[];qe.currentNode=this;for(var e=qe.firstChild();e;)t.push(e),e=qe.nextSibling();return pe(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Re?(He(Element.prototype,Ge),He(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),He(HTMLElement.prototype,["children","innerHTML","className"])):(Be(Element.prototype,t),Be(Element.prototype,{previousElementSibling:{get:function(){return qe.currentNode=this,qe.previousSibling()}},nextElementSibling:{get:function(){return qe.currentNode=this,qe.nextSibling()}},innerHTML:{get:function(){return Me(this,ve)},set:function(t){var e="template"===this.localName?this.content:this;ze(e);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==We.namespaceURI?We.createElementNS(this.namespaceURI,n):We.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),He(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),He(Element.prototype,$e),He(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&He(window.HTMLTemplateElement.prototype,["innerHTML"]),Re?He(DocumentFragment.prototype,Ge):Be(DocumentFragment.prototype,t),He(DocumentFragment.prototype,$e),Re?(He(Document.prototype,Ge),He(Document.prototype,["activeElement"])):Be(Document.prototype,t),He(Document.prototype,["importNode","getElementById"]),He(Document.prototype,$e)}(),br("__shady_"),Object.defineProperty(document,"_activeElement",fr.activeElement),ge(Window.prototype,vr,"__shady_"),ee.D?ee.ua&&ge(Element.prototype,ar):(br(),function(){if(!rn&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}()),function(){for(var t in dn)window.__shady_native_addEventListener(t,(function(t){t.__target||(En(t),yn(t))}),!0)}(),window.Event=Sn,window.CustomEvent=Nn,window.MouseEvent=Cn,window.ShadowRoot=jr}var eo=window.Document.prototype.createElement,no=window.Document.prototype.createElementNS,ro=window.Document.prototype.importNode,oo=window.Document.prototype.prepend,io=window.Document.prototype.append,ao=window.DocumentFragment.prototype.prepend,so=window.DocumentFragment.prototype.append,uo=window.Node.prototype.cloneNode,co=window.Node.prototype.appendChild,lo=window.Node.prototype.insertBefore,ho=window.Node.prototype.removeChild,fo=window.Node.prototype.replaceChild,po=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),vo=window.Element.prototype.attachShadow,yo=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),mo=window.Element.prototype.getAttribute,go=window.Element.prototype.setAttribute,_o=window.Element.prototype.removeAttribute,bo=window.Element.prototype.getAttributeNS,wo=window.Element.prototype.setAttributeNS,Eo=window.Element.prototype.removeAttributeNS,So=window.Element.prototype.insertAdjacentElement,No=window.Element.prototype.insertAdjacentHTML,Co=window.Element.prototype.prepend,To=window.Element.prototype.append,xo=window.Element.prototype.before,Oo=window.Element.prototype.after,Ao=window.Element.prototype.replaceWith,Po=window.Element.prototype.remove,Lo=window.HTMLElement,ko=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),jo=window.HTMLElement.prototype.insertAdjacentElement,Do=window.HTMLElement.prototype.insertAdjacentHTML,Mo=new Set;function Ro(t){var e=Mo.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return Mo.add(t)}));var Io=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function Uo(t){var e=t.isConnected;if(void 0!==e)return e;if(Io(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function Fo(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function Bo(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Ho(t,e,n){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;e(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){if(r=o.import,void 0===n&&(n=new Set),r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)Ho(r,e,n);r=Bo(t,o);continue}if("template"===i){r=Bo(t,o);continue}if(o=o.__CE_shadowRoot)for(o=o.firstChild;o;o=o.nextSibling)Ho(o,e,n)}r=r.firstChild?r.firstChild:Bo(t,r)}}function Vo(){var t=!(null==ci||!ci.noDocumentConstructionObserver),e=!(null==ci||!ci.shadyDomFastWalk);this.X=[],this.a=[],this.R=!1,this.shadyDomFastWalk=e,this.jb=!t}function qo(t,e,n,r){var o=window.ShadyDom;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else Ho(e,n,r)}function Wo(t,e){t.R&&qo(t,e,(function(e){return zo(t,e)}))}function zo(t,e){if(t.R&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.X.length;n++)t.X[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function Go(t,e){var n=[];for(qo(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state?t.connectedCallback(r):Xo(t,r)}}function $o(t,e){var n=[];for(qo(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state&&t.disconnectedCallback(r)}}function Yo(t,e,n){var r=(n=void 0===n?{}:n).kb,o=n.upgrade||function(e){return Xo(t,e)},i=[];for(qo(t,e,(function(e){if(t.R&&zo(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach((function(t){return i.add(t)})),i.delete(n)),Yo(t,n,{kb:i,upgrade:o})}}))}else i.push(e)}),r),e=0;e<i.length;e++)o(i[e])}function Xo(t,e){try{var n=e.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?ii(r,e.localName):void 0;if(o&&void 0===e.__CE_state){o.constructionStack.push(e);try{try{if(new o.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=o,o.attributeChangedCallback&&e.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}Uo(e)&&t.connectedCallback(e)}}catch(t){Jo(t)}}function Ko(t,e,n,r){var o=e.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=ii(o,n)))try{var i=new o.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(o){return Jo(o),e=null===r?eo.call(e,n):no.call(e,r,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,zo(t,e),e}return zo(t,e=null===r?eo.call(e,n):no.call(e,r,n)),e}function Jo(t){var e=t.message,n=t.sourceURL||t.fileName||"",r=t.line||t.lineNumber||0,o=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:r,colno:o,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,r),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Zo(){var t=this;this.C=void 0,this.Ca=new Promise((function(e){t.a=e}))}function Qo(t){var e=document;this.S=void 0,this.M=t,this.a=e,Yo(this.M,this.a),"loading"===this.a.readyState&&(this.S=new MutationObserver(this.b.bind(this)),this.S.observe(this.a,{childList:!0,subtree:!0}))}function ti(t){t.S&&t.S.disconnect()}function ei(t){this.fa=new Map,this.ga=new Map,this.xa=new Map,this.na=!1,this.qa=new Map,this.ea=function(t){return t()},this.P=!1,this.ha=[],this.M=t,this.ya=t.jb?new Qo(t):void 0}function ni(t,e){if(!Ro(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(ii(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.na)throw Error("A custom element is already being defined.")}function ri(t,e,n){var r;t.na=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=o[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),u=i("adoptedCallback"),c=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.na=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:u,attributeChangedCallback:r,observedAttributes:c,constructionStack:[]},t.ga.set(e,n),t.xa.set(n.constructorFunction,n),n}function oi(t){if(!1!==t.P){t.P=!1;for(var e=[],n=t.ha,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(Yo(t.M,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):t.ga.has(o)&&e.push(n)}}}),o=0;o<e.length;o++)Xo(t.M,e[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),s=0;s<a.length;s++)Xo(t.M,a[s]);(i=t.qa.get(i))&&i.resolve(void 0)}n.length=0}}function ii(t,e){var n=t.ga.get(e);if(n)return n;if(n=t.fa.get(e)){t.fa.delete(e);try{return ri(t,e,n())}catch(t){Jo(t)}}}function ai(t,e,n){function r(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&Uo(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)$o(t,i[r]);if(Uo(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Go(t,i)}}void 0!==n.prepend&&(e.prepend=r(n.prepend)),void 0!==n.append&&(e.append=r(n.append))}function si(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var r=this,o=void 0;if(Uo(this)&&(o=[],qo(t,this,(function(t){t!==r&&o.push(t)}))),n.set.call(this,e),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Yo(t,this):Wo(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,r){var o=Uo(r);return e=n.call(this,e,r),o&&$o(t,r),Uo(e)&&Go(t,r),e}}function r(e,n){function r(e,n){for(var r=[];e!==n;e=e.nextSibling)r.push(e);for(n=0;n<r.length;n++)Yo(t,r[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),r(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),r(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),r(this.nextSibling,o)}}}vo&&(Element.prototype.attachShadow=function(e){if(e=vo.call(this,e),t.R&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.X.length;n++)t.X[n](e)}return this.__CE_shadowRoot=e}),yo&&yo.get?e(Element.prototype,yo):ko&&ko.get?e(HTMLElement.prototype,ko):function(t,e){t.R=!0,t.a.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return uo.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,r=no.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<n.childNodes.length;)ho.call(n,n.childNodes[0]);for(t=e?r.content:r;0<t.childNodes.length;)co.call(n,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return go.call(this,e,n);var r=mo.call(this,e);go.call(this,e,n),n=mo.call(this,e),t.attributeChangedCallback(this,e,r,n,null)},Element.prototype.setAttributeNS=function(e,n,r){if(1!==this.__CE_state)return wo.call(this,e,n,r);var o=bo.call(this,e,n);wo.call(this,e,n,r),r=bo.call(this,e,n),t.attributeChangedCallback(this,n,o,r,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _o.call(this,e);var n=mo.call(this,e);_o.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return Eo.call(this,e,n);var r=bo.call(this,e,n);Eo.call(this,e,n);var o=bo.call(this,e,n);r!==o&&t.attributeChangedCallback(this,n,r,o,e)},jo?n(HTMLElement.prototype,jo):So&&n(Element.prototype,So),Do?r(HTMLElement.prototype,Do):No&&r(Element.prototype,No),ai(t,Element.prototype,{prepend:Co,append:To}),function(t){function e(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&Uo(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)$o(t,i[r]);if(Uo(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Go(t,i)}}var n=Element.prototype;void 0!==xo&&(n.before=e(xo)),void 0!==Oo&&(n.after=e(Oo)),void 0!==Ao&&(n.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&Uo(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=Uo(this),Ao.apply(this,n),n=0;n<o.length;n++)$o(t,o[n]);if(i)for($o(t,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&Go(t,o)}),void 0!==Po&&(n.remove=function(){var e=Uo(this);Po.call(this),e&&$o(t,this)})}(t)}Vo.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){Jo(t)}},Vo.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){Jo(t)}},Vo.prototype.attributeChangedCallback=function(t,e,n,r,o){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,r,o)}catch(t){Jo(t)}},Zo.prototype.resolve=function(t){if(this.C)throw Error("Already resolved.");this.C=t,this.a(t)},Qo.prototype.b=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||ti(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,r=0;r<n.length;r++)Yo(this.M,n[r])},(e=ei.prototype).$a=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");ni(this,t),this.fa.set(t,e),this.ha.push(t),this.P||(this.P=!0,this.ea((function(){return oi(n)})))},e.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");ni(this,t),ri(this,t,e),this.ha.push(t),this.P||(this.P=!0,this.ea((function(){return oi(n)})))},e.upgrade=function(t){Yo(this.M,t)},e.get=function(t){if(t=ii(this,t))return t.constructorFunction},e.whenDefined=function(t){if(!Ro(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.qa.get(t);if(e)return e.Ca;e=new Zo,this.qa.set(t,e);var n=this.ga.has(t)||this.fa.has(t);return t=-1===this.ha.indexOf(t),n&&t&&e.resolve(void 0),e.Ca},e.polyfillWrapFlushCallback=function(t){this.ya&&ti(this.ya);var e=this.ea;this.ea=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=ei,ei.prototype.define=ei.prototype.define,ei.prototype.upgrade=ei.prototype.upgrade,ei.prototype.get=ei.prototype.get,ei.prototype.whenDefined=ei.prototype.whenDefined,ei.prototype.polyfillDefineLazy=ei.prototype.$a,ei.prototype.polyfillWrapFlushCallback=ei.prototype.polyfillWrapFlushCallback;var ui={};var ci=window.customElements;function li(){var t=new Vo;!function(t){function e(){var e=this.constructor,n=document.__CE_registry.xa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return r=eo.call(document,n.localName),Object.setPrototypeOf(r,e.prototype),r.__CE_state=1,r.__CE_definition=n,zo(t,r),r;var o=r.length-1,i=r[o];if(i===ui)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[o]=ui,Object.setPrototypeOf(i,e.prototype),zo(t,i),i}e.prototype=Lo.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}(t),function(t){Document.prototype.createElement=function(e){return Ko(t,this,e,null)},Document.prototype.importNode=function(e,n){return e=ro.call(this,e,!!n),this.__CE_registry?Yo(t,e):Wo(t,e),e},Document.prototype.createElementNS=function(e,n){return Ko(t,this,n,e)},ai(t,Document.prototype,{prepend:oo,append:io})}(t),ai(t,DocumentFragment.prototype,{prepend:ao,append:so}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&Uo(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)$o(t,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var r=Fo(e);if(e=lo.call(this,e,n),Uo(this))for(n=0;n<r.length;n++)Go(t,r[n]);return e}return r=e instanceof Element&&Uo(e),n=lo.call(this,e,n),r&&$o(t,e),Uo(this)&&Go(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=Fo(e);if(e=co.call(this,e),Uo(this))for(var r=0;r<n.length;r++)Go(t,n[r]);return e}return n=e instanceof Element&&Uo(e),r=co.call(this,e),n&&$o(t,e),Uo(this)&&Go(t,e),r},Node.prototype.cloneNode=function(e){return e=uo.call(this,!!e),this.ownerDocument.__CE_registry?Yo(t,e):Wo(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&Uo(e),r=ho.call(this,e);return n&&$o(t,e),r},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var r=Fo(e);if(e=fo.call(this,e,n),Uo(this))for($o(t,n),n=0;n<r.length;n++)Go(t,r[n]);return e}r=e instanceof Element&&Uo(e);var o=fo.call(this,e,n),i=Uo(this);return i&&$o(t,n),r&&$o(t,e),i&&Go(t,e),o},po&&po.get?e(Node.prototype,po):function(t,e){t.R=!0,t.X.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)ho.call(this,this.firstChild);null!=t&&""!==t&&co.call(this,document.createTextNode(t))}})}))}(t),si(t),t=new ei(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function hi(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function fi(t){var e=t=t.replace(wi,"").replace(Ei,""),n=new hi;n.start=0,n.end=e.length;for(var r=n,o=0,i=e.length;o<i;o++)if("{"===e[o]){r.rules||(r.rules=[]);var a=r,s=a.rules[a.rules.length-1]||null;(r=new hi).start=o+1,r.parent=a,r.previous=s,a.rules.push(r)}else"}"===e[o]&&(r.end=o+1,r=r.parent||n);return di(n,t)}function di(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=(n=(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t}))}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(Oi," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=_i:n.match(xi)&&(t.type=gi,t.keyframesName=t.selector.split(Oi).pop()):t.type=0===n.indexOf("--")?bi:mi),n=t.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)di(i,e);return t}function pi(t,e,n){n=void 0===n?"":n;var r="";if(t.cssText||t.rules){var o,i=t.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,s=void 0;o<a&&(s=i[o]);o++)r=pi(s,e,r)}else e?e=t.cssText:e=(e=(e=t.cssText).replace(Si,"").replace(Ni,"")).replace(Ci,"").replace(Ti,""),(r=e.trim())&&(r="  "+r+"\n")}return r&&(t.selector&&(n+=t.selector+" {\n"),n+=r,t.selector&&(n+="}\n\n")),n}ci&&!ci.forcePolyfill&&"function"==typeof ci.define&&"function"==typeof ci.get||li(),window.__CE_installPolyfill=li;var vi,yi,mi=1,gi=7,_i=4,bi=1e3,wi=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Ei=/@import[^;]*;/gim,Si=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ni=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Ci=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Ti=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,xi=/^@[^\s]*keyframes/,Oi=/\s+/g,Ai=!(window.ShadyDOM&&window.ShadyDOM.inUse);function Pi(t){vi=(!t||!t.shimcssproperties)&&(Ai||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(yi=window.ShadyCSS.cssBuild);var Li=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?vi=window.ShadyCSS.nativeCss:window.ShadyCSS?(Pi(window.ShadyCSS),window.ShadyCSS=void 0):Pi(window.WebComponents&&window.WebComponents.flags);var ki=vi,ji=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Di=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Mi=/(--[\w-]+)\s*([:,;)]|$)/gi,Ri=/(animation\s*:)|(animation-name\s*:)/,Ii=/@media\s(.*)/,Ui=/\{[^}]*\}/g,Fi=new Set;function Bi(t,e){return t?("string"==typeof t&&(t=fi(t)),e&&qi(t,e),pi(t,ki)):""}function Hi(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=fi(t.textContent)),t.__cssRules||null}function Vi(t){return!!t.parent&&t.parent.type===gi}function qi(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===_i){var a=t.selector.match(Ii);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===mi?e(t):n&&i===gi?n(t):i===bi&&(o=!0),(t=t.rules)&&!o)for(o=0,i=t.length,a=void 0;o<i&&(a=t[o]);o++)qi(a,e,n,r)}}function Wi(t,e,n,r){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,Gi(o,n,r),o}var zi=null;function Gi(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),zi?t.compareDocumentPosition(zi)===Node.DOCUMENT_POSITION_PRECEDING&&(zi=t):zi=t}function $i(t,e){for(var n=0,r=t.length;e<r;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function Yi(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");var r=$i(t,n+3),o=t.substring(n+4,r);return n=t.substring(0,n),t=Yi(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function Xi(t,e){Ai?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var Ki=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function Ji(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,ca:n}}function Zi(t){for(var e=[],n="",r=0;0<=r&&r<t.length;r++)if("("===t[r]){var o=$i(t,r);n+=t.slice(r,o+1),r=o}else","===t[r]?(e.push(n),n=""):n+=t[r];return n&&e.push(n),e}function Qi(t){if(void 0!==yi)return yi;if(void 0===t.__cssBuild){var e=t.getAttribute("css-build");if(e)t.__cssBuild=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.__cssBuild=e}}return t.__cssBuild||""}function ta(t){return!(""===(t=void 0===t?"":t)||!ki)&&(Ai?"shadow"===t:"shady"===t)}function ea(){}function na(t,e,n){var r;if(e.nodeType===Node.ELEMENT_NODE&&n(e),r="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<r.length;e++)na(t,r[e],n)}function ra(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var r=t.getAttribute("class");n?r&&Xi(t,e=r.replace("style-scope","").replace(e,"")):Xi(t,(r?r+" ":"")+"style-scope "+e)}}function oa(t,e,n){na(ba,t,(function(t){ra(t,e,!0),ra(t,n)}))}function ia(t,e){na(ba,t,(function(t){ra(t,e||"",!0)}))}function aa(t,e,n,r,o){var i=ba;return""===(o=void 0===o?"":o)&&(Ai||"shady"===(void 0===r?"":r)?o=Bi(e,n):o=function(t,e,n,r,o){var i=sa(n,r);return n=n?"."+n:"",Bi(e,(function(e){e.c||(e.selector=e.w=ua(t,e,t.b,n,i),e.c=!0),o&&o(e,n,i)}))}(i,e,(t=Ji(t)).is,t.ca,n)+"\n\n"),o.trim()}function sa(t,e){return e?"[is="+t+"]":t}function ua(t,e,n,r,o){var i=Zi(e.selector);if(!Vi(e)){e=0;for(var a=i.length,s=void 0;e<a&&(s=i[e]);e++)i[e]=n.call(t,s,r,o)}return i.filter((function(t){return!!t})).join(",")}function ca(t){return t.replace(fa,(function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"}))}function la(t,e){t=t.split(/(\[.+?\])/);for(var n=[],r=0;r<t.length;r++)if(1==r%2)n.push(t[r]);else{var o=t[r];""===o&&r===t.length-1||((o=o.split(":"))[0]+=e,n.push(o.join(":")))}return n.join("")}function ha(t){":root"===t.selector&&(t.selector="html")}ea.prototype.b=function(t,e,n){var r=!1;t=t.trim();var o=fa.test(t);o&&(t=ca(t=t.replace(fa,(function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))));var i=_a.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(_a);){var r=e.index,o=$i(t,r);if(-1===o)throw Error(e.input+" selector missing ')'");e=t.slice(r,o+1),t=t.replace(e,""),n.push(e)}return{wa:t,matches:n}}(t);t=a.wa,a=a.matches}return t=(t=t.replace(va,":host $1")).replace(da,(function(t,o,i){return r||(t=function(t,e,n,r){var o=t.indexOf("::slotted");if(0<=t.indexOf(":host")?t=function(t,e){var n=t.match(ya);return(n=n&&n[2].trim()||"")?n[0].match(pa)?t.replace(ya,(function(t,n,r){return e+r})):n.split(pa)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,r):0!==o&&(t=n?la(t,n):t),n=!1,0<=o&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(ma,(function(t,e){return" > "+e})))}return{value:t,Qa:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Qa,i=t.value),o+i})),i&&(t=function(t,e){var n=t.split("");return e.reduce((function(t,e,r){return t+e+n[r+1]}),n[0])}(t,a)),o&&(t=ca(t)),t.replace(ga,(function(t,e,n,r){return'[dir="'+n+'"] '+e+r+", "+e+'[dir="'+n+'"]'+r}))},ea.prototype.c=function(t){return t.match(":host")?"":t.match("::slotted")?this.b(t,":not(.style-scope)"):la(t.trim(),":not(.style-scope)")},o.Object.defineProperties(ea.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var fa=/:(nth[-\w]+)\(([^)]+)\)/,da=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,pa=/[[.:#*]/,va=/^(::slotted)/,ya=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ma=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ga=/(.*):dir\((?:(ltr|rtl))\)(.*)/,_a=/:(?:matches|any|-(?:webkit|moz)-any)/,ba=new ea;function wa(t,e,n,r,o){this.H=t||null,this.b=e||null,this.ta=n||[],this.F=null,this.cssBuild=o||"",this.ca=r||"",this.a=this.G=this.L=null}function Ea(t){return t?t.__styleInfo:null}function Sa(t,e){return t.__styleInfo=e}function Na(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}wa.prototype.c=function(){return this.H},wa.prototype._getStyleRules=wa.prototype.c;var Ca=/:host\s*>\s*/,Ta=navigator.userAgent.match("Trident");function xa(){}function Oa(t){if(!t.v){var e={},n={};Aa(t,n)&&(e.K=n,t.rules=null),e.cssText=t.parsedCssText.replace(Ui,"").replace(ji,""),t.v=e}}function Aa(t,e){var n=t.v;if(!n){n=t.parsedCssText;for(var r;t=ji.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.K)return Object.assign(e,n.K),!0}function Pa(t,e,n){return e&&(e=0<=e.indexOf(";")?La(t,e,n):Yi(e,(function(e,r,o,i){return r?((r=Pa(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=Pa(t,n[o]||o,n)||o,e+(r||"")+i):e+i}))),e&&e.trim()||""}function La(t,e,n){e=e.split(";");for(var r,o,i=0;i<e.length;i++)if(r=e[i]){if(Di.lastIndex=0,o=Di.exec(r))r=Pa(t,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=Pa(t,a=a.trim(),n)||a,r=r.substring(0,o)+a}e[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return e.join(";")}function ka(t,e,n){var r={},o={};return qi(e,(function(e){!function(t,e,n,r){if(e.v||Oa(e),e.v.K){var o=Ji(t);t=o.is,o=o.ca,o=t?sa(t,o):"html";var i=e.parsedSelector,a=!!i.match(Ca)||"html"===o&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||s)&&(n=o,s&&(e.w||(e.w=ua(ba,e,ba.b,t?"."+t:"",o)),n=e.w||o),a&&"html"===o&&(n=e.w||e.J),r({wa:n,Xa:s,mb:a}))}}(t,e,n,(function(n){Na.call(t._element||t,n.wa)&&(n.Xa?Aa(e,r):Aa(e,o))}))}),null,!0),{cb:o,Va:r}}function ja(t,e,n,r){var o=Ji(e),i=sa(o.is,o.ca),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=Ea(e);o=s.H,s=s.cssBuild;var u=function(t,e){t=t.b;var n={};if(!Ai&&t)for(var r=0,o=t[r];r<t.length;o=t[++r]){var i=o,a=e;i.l=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.a=i.keyframesName+"-"+a,i.w=i.w||i.selector,i.selector=i.w.replace(i.keyframesName,i.a),n[o.keyframesName]=Da(o)}return n}(o,r);return aa(e,o,(function(e){var o="";if(e.v||Oa(e),e.v.cssText&&(o=La(t,e.v.cssText,n)),e.cssText=o,!Ai&&!Vi(e)&&e.cssText){var s=o=e.cssText;if(null==e.Da&&(e.Da=Ri.test(o)),e.Da)if(null==e.ka)for(var c in e.ka=[],u)o!==(s=(s=u[c])(o))&&(o=s,e.ka.push(c));else{for(c=0;c<e.ka.length;++c)o=(s=u[e.ka[c]])(o);s=o}e.cssText=s,e.w=e.w||e.selector,o="."+r,s=0;for(var l=(c=Zi(e.w)).length,h=void 0;s<l&&(h=c[s]);s++)c[s]=h.match(a)?h.replace(i,o):o+" "+h;e.selector=c.join(",")}}),s)}function Da(t){return function(e){return e.replace(t.l,t.a)}}function Ma(t,e){var n=Ra,r=Hi(t);t.textContent=Bi(r,(function(t){var r=t.cssText=t.parsedCssText;t.v&&t.v.cssText&&(r=r.replace(Si,"").replace(Ni,""),t.cssText=La(n,r,e))}))}o.Object.defineProperties(xa.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ra=new xa,Ia={};function Ua(){this.cache={}}function Fa(){}Ua.prototype.store=function(t,e,n,r){var o=this.cache[t]||[];o.push({K:e,styleElement:n,G:r}),100<o.length&&o.shift(),this.cache[t]=o};var Ba=new RegExp(ba.a+"\\s*([^\\s]*)");function Ha(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(Ba))?t[1]:""}function Va(t){var e=Ki(t).getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?Ji(t).is:""}function qa(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=o.getRootNode(),a=Ha(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===Qi(o)))ia(o,a);else if(i instanceof ShadowRoot)for((i=Va(o))!==a&&oa(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+ba.a+")"),a=0;a<o.length;a++){var s=Va(i=o[a]);s&&ra(i,s)}}}}}if(!(Ai||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Wa=new MutationObserver(qa),za=function(t){Wa.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)za(document);else{var Ga=function(){za(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ga):requestAnimationFrame((function(){if("loading"===document.readyState){var t=function(){Ga(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else Ga()}))}Fa=function(){qa(Wa.takeRecords())}}var $a={},Ya=Promise.resolve();function Xa(t){(t=$a[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function Ka(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var Ja={},Za=new Ua;function Qa(){this.Y={},this.c=document.documentElement;var t=new hi;t.rules=[],this.l=Sa(this.c,new wa(t)),this.J=!1,this.a=this.b=null}function ts(t){var e=Ji(t),n=e.is;e=e.ca;var r=Ia[n]||null,o=$a[n];if(o)return Sa(t,e=new wa(n=o._styleAst,r,o.a,e,o=Qi(o))),e}function es(t){if(!t.b&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){t.b=window.ShadyCSS.ApplyShim,t.b.invalidCallback=Xa;var e=!0}else e=!1;return function(t){!t.a&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.a=window.ShadyCSS.CustomStyleInterface,t.a.transformCallback=function(e){t.Ha(e)},t.a.validateCallback=function(){requestAnimationFrame((function(){(t.a.enqueued||t.J)&&t.flushCustomStyles()}))})}(t),e}function ns(t,e,n){var r=Ji(e).is;if(n.F){var o,i=n.F;for(o in i)null===o?e.style.removeProperty(o):e.style.setProperty(o,i[o])}!(i=$a[r])&&e!==t.c||i&&""!==Qi(i)||!i||!i._style||Ka(i)||((Ka(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(es(t),t.b&&t.b.transformRules(i._styleAst,r),i._style.textContent=aa(e,n.H),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t._validating||(t._validating=!0,Ya.then((function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t._validating=!1})))}(i)),Ai&&(t=e.shadowRoot)&&(t=t.querySelector("style"))&&(t.textContent=aa(e,n.H)),n.H=i._styleAst)}function rs(t,e){return(e=Ki(e).getRootNode().host)?Ea(e)||ts(e)?e:rs(t,e):t.c}function os(t,e,n){var r=rs(t,e),o=Ea(r),i=o.L;for(var a in r===t.c||i||(os(t,r,o),i=o.L),t=Object.create(i||null),r=ka(e,n.H,n.cssBuild),e=function(t,e){var n={},r=[];return qi(t,(function(t){t.v||Oa(t);var o=t.w||t.parsedSelector;e&&t.v.K&&o&&Na.call(e,o)&&(Aa(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<<t%32)}),null,!0),{K:n,key:r}}(o.H,e).K,Object.assign(t,r.Va,e,r.cb),e=n.F)((o=e[a])||0===o)&&(t[a]=o);for(a=Ra,e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++)t[r=e[o]]=Pa(a,t[r],t);n.L=t}(e=Qa.prototype).flush=function(){Fa()},e.Ta=function(t){return Hi(t)},e.hb=function(t){return Bi(t)},e.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},e.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!Li){Ai||Ia[e]||(Ia[e]=function(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(zi?zi.nextSibling:null)||e.firstChild),zi=t}(e)),t._prepared=!0,t.name=e,t.extends=n,$a[e]=t;var r=Qi(t),o=ta(r);n={is:e,extends:n};for(var i=[],a=t.content.querySelectorAll("style"),s=0;s<a.length;s++){var u=a[s];if(u.hasAttribute("shady-unscoped")){if(!Ai){var c=u.textContent;if(!Fi.has(c)){Fi.add(c);var l=document.createElement("style");l.setAttribute("shady-unscoped",""),l.textContent=c,document.head.appendChild(l)}u.parentNode.removeChild(u)}}else i.push(u.textContent),u.parentNode.removeChild(u)}i=i.join("").trim()+(Ja[e]||""),es(this),o||((a=!r)&&(a=Di.test(i)||ji.test(i),Di.lastIndex=0,ji.lastIndex=0),s=fi(i),a&&ki&&this.b&&this.b.transformRules(s,e),t._styleAst=s),a=[],ki||(a=function(t){var e={},n=[],r=0;for(var o in qi(t,(function(t){Oa(t),t.index=r++,t=t.v.cssText;for(var n;n=Mi.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}}),(function(t){n.push(t)})),t.b=n,t=[],e)t.push(o);return t}(t._styleAst)),a.length&&!ki||(s=Ai?t.content:null,e=Ia[e]||null,r=(r=aa(n,t._styleAst,null,r,o?i:"")).length?Wi(r,n.is,s,e):null,t._style=r),t.a=a}},e.ab=function(t,e){Ja[e]=t.join(" ")},e.prepareTemplateDom=function(t,e){if(!Li){var n=Qi(t);Ai||"shady"===n||t._domPrepared||(t._domPrepared=!0,function(t,e){na(ba,t,(function(t){ra(t,e||"")}))}(t.content,e))}},e.flushCustomStyles=function(){if(!Li){var t=es(this);if(this.a){var e=this.a.processStyles();if((t||this.a.enqueued)&&!ta(this.l.cssBuild)){if(ki){if(!this.l.cssBuild)for(t=0;t<e.length;t++){var n=this.a.getStyleForCustomStyle(e[t]);if(n&&ki&&this.b){var r=Hi(n);es(this),this.b.transformRules(r),n.textContent=Bi(r)}}}else{for(function(t,e){(e=e.map((function(e){return t.a.getStyleForCustomStyle(e)})).filter((function(t){return!!t}))).sort((function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),t.l.H.rules=e.map((function(t){return Hi(t)}))}(this,e),os(this,this.c,this.l),t=0;t<e.length;t++)(n=this.a.getStyleForCustomStyle(e[t]))&&Ma(n,this.l.L);this.J&&this.styleDocument()}this.a.enqueued=!1}}}},e.styleElement=function(t,e){if(Li){if(e){Ea(t)||Sa(t,new wa(null));var n=Ea(t);n.F=n.F||{},Object.assign(n.F,e),ns(this,t,n)}}else if(n=Ea(t)||ts(t))if(t!==this.c&&(this.J=!0),e&&(n.F=n.F||{},Object.assign(n.F,e)),ki)ns(this,t,n);else if(this.flush(),os(this,t,n),n.ta&&n.ta.length){var r;e=Ji(t).is;t:{if(r=Za.cache[e])for(var o=r.length-1;0<=o;o--){var i=r[o];e:{for(var a=n.ta,s=0;s<a.length;s++){var u=a[s];if(i.K[u]!==n.L[u]){a=!1;break e}}a=!0}if(a){r=i;break t}}r=void 0}a=r?r.styleElement:null,o=n.G,(i=r&&r.G)||(i=e+"-"+(i=this.Y[e]=(this.Y[e]||0)+1)),n.G=i,i=n.G,s=Ra,s=a?a.textContent||"":ja(s,t,n.L,i);var c=(u=Ea(t)).a;c&&!Ai&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),Ai?u.a?(u.a.textContent=s,a=u.a):s&&(a=Wi(s,i,t.shadowRoot,u.b)):a?a.parentNode||(Ta&&-1<s.indexOf("@media")&&(a.textContent=s),Gi(a,null,u.b)):s&&(a=Wi(s,i,null,u.b)),a&&(a._useCount=a._useCount||0,u.a!=a&&a._useCount++,u.a=a),i=a,Ai||(a=n.G,u=s=t.getAttribute("class")||"",o&&(u=s.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),s!==(u+=(u?" ":"")+"x-scope "+a)&&Xi(t,u)),r||Za.store(e,n.L,i,n.G)}},e.styleDocument=function(t){this.styleSubtree(this.c,t)},e.styleSubtree=function(t,e){var n=Ki(t),r=n.shadowRoot,o=t===this.c;if((r||o)&&this.styleElement(t,e),t=o?n:r)for(t=Array.from(t.querySelectorAll("*")).filter((function(t){return Ki(t).shadowRoot})),e=0;e<t.length;e++)this.styleSubtree(t[e])},e.Ha=function(t){var e=this,n=Qi(t);if(n!==this.l.cssBuild&&(this.l.cssBuild=n),!ta(n)){var r=Hi(t);qi(r,(function(t){if(Ai)ha(t);else{var r=ba;t.selector=t.parsedSelector,ha(t),t.selector=t.w=ua(r,t,r.c,void 0,void 0)}ki&&""===n&&(es(e),e.b&&e.b.transformRule(t))})),ki?t.textContent=Bi(r):this.l.H.rules.push(r)}},e.getComputedStyleValue=function(t,e){var n;return ki||(n=(Ea(t)||Ea(rs(this,t))).L[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},e.gb=function(t,e){var n,r=Ki(t).getRootNode();if(n=e?("string"==typeof e?e:String(e)).split(/\s/):[],!(e=r.host&&r.host.localName)&&(r=t.getAttribute("class"))){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===ba.a){e=r[o+1];break}}e&&n.push(ba.a,e),ki||(e=Ea(t))&&e.G&&n.push(Ra.a,e.G),Xi(t,n.join(" "))},e.Oa=function(t){return Ea(t)},e.fb=function(t,e){ra(t,e)},e.ib=function(t,e){ra(t,e,!0)},e.eb=function(t){return Va(t)},e.Ra=function(t){return Ha(t)},Qa.prototype.flush=Qa.prototype.flush,Qa.prototype.prepareTemplate=Qa.prototype.prepareTemplate,Qa.prototype.styleElement=Qa.prototype.styleElement,Qa.prototype.styleDocument=Qa.prototype.styleDocument,Qa.prototype.styleSubtree=Qa.prototype.styleSubtree,Qa.prototype.getComputedStyleValue=Qa.prototype.getComputedStyleValue,Qa.prototype.setElementClass=Qa.prototype.gb,Qa.prototype._styleInfoForNode=Qa.prototype.Oa,Qa.prototype.transformCustomStyleForDocument=Qa.prototype.Ha,Qa.prototype.getStyleAst=Qa.prototype.Ta,Qa.prototype.styleAstToString=Qa.prototype.hb,Qa.prototype.flushCustomStyles=Qa.prototype.flushCustomStyles,Qa.prototype.scopeNode=Qa.prototype.fb,Qa.prototype.unscopeNode=Qa.prototype.ib,Qa.prototype.scopeForNode=Qa.prototype.eb,Qa.prototype.currentScopeForNode=Qa.prototype.Ra,Qa.prototype.prepareAdoptedCssText=Qa.prototype.ab,Object.defineProperties(Qa.prototype,{nativeShadow:{get:function(){return Ai}},nativeCss:{get:function(){return ki}}});var is,as,ss=new Qa;window.ShadyCSS&&(is=window.ShadyCSS.ApplyShim,as=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ss,prepareTemplate:function(t,e,n){ss.flushCustomStyles(),ss.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){ss.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){ss.flushCustomStyles(),ss.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){ss.flushCustomStyles(),ss.styleSubtree(t,e)},styleElement:function(t){ss.flushCustomStyles(),ss.styleElement(t)},styleDocument:function(t){ss.flushCustomStyles(),ss.styleDocument(t)},flushCustomStyles:function(){ss.flushCustomStyles()},getComputedStyleValue:function(t,e){return ss.getComputedStyleValue(t,e)},nativeCss:ki,nativeShadow:Ai,cssBuild:yi,disableRuntime:Li},is&&(window.ShadyCSS.ApplyShim=is),as&&(window.ShadyCSS.CustomStyleInterface=as),function(t){function e(t){return""==t&&(i.call(this),this.h=!0),t.toLowerCase()}function n(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,a){var s=o||"scheme start",u=0,d="",p=!1,v=!1;t:for(;(null!=t[u-1]||0==u)&&!this.h;){var y=t[u];switch(s){case"scheme start":if(!y||!h.test(y)){if(o)break t;d="",s="no scheme";continue}d+=y.toLowerCase(),s="scheme";break;case"scheme":if(y&&f.test(y))d+=y.toLowerCase();else{if(":"!=y){if(o)break t;d="",u=0,s="no scheme";continue}if(this.g=d,d="",o)break t;void 0!==c[this.g]&&(this.A=!0),s="file"==this.g?"relative":this.A&&a&&a.g==this.g?"relative or authority":this.A?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this.o="?",s="query"):"#"==y?(this.u="#",s="fragment"):null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.pa+=n(y));break;case"no scheme":if(a&&void 0!==c[a.g]){s="relative";continue}i.call(this),this.h=!0;break;case"relative or authority":if("/"!=y||"/"!=t[u+1]){s="relative";continue}s="authority ignore slashes";break;case"relative":if(this.A=!0,"file"!=this.g&&(this.g=a.g),null==y){this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o=a.o,this.s=a.s,this.f=a.f;break t}if("/"==y||"\\"==y)s="relative slash";else if("?"==y)this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o="?",this.s=a.s,this.f=a.f,s="query";else{if("#"!=y){s=t[u+1];var m=t[u+2];("file"!=this.g||!h.test(y)||":"!=s&&"|"!=s||null!=m&&"/"!=m&&"\\"!=m&&"?"!=m&&"#"!=m)&&(this.i=a.i,this.m=a.m,this.s=a.s,this.f=a.f,this.j=a.j.slice(),this.j.pop()),s="relative path";continue}this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o=a.o,this.u="#",this.s=a.s,this.f=a.f,s="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this.g&&(this.i=a.i,this.m=a.m,this.s=a.s,this.f=a.f),s="relative path";continue}s="file"==this.g?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){s="authority ignore slashes";continue}s="authority second slash";break;case"authority second slash":if(s="authority ignore slashes","/"!=y)continue;break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){s="authority";continue}break;case"authority":if("@"==y){for(p&&(d+="%40"),p=!0,y=0;y<d.length;y++)"\t"==(m=d[y])||"\n"==m||"\r"==m||(":"==m&&null===this.f?this.f="":(m=n(m),null!==this.f?this.f+=m:this.s+=m));d=""}else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){u-=d.length,d="",s="host";continue}d+=y}break;case"file host":if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){2!=d.length||!h.test(d[0])||":"!=d[1]&&"|"!=d[1]?(0!=d.length&&(this.i=e.call(this,d),d=""),s="relative path start"):s="relative path";continue}"\t"==y||"\n"==y||"\r"==y||(d+=y);break;case"host":case"hostname":if(":"!=y||v){if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){if(this.i=e.call(this,d),d="",s="relative path start",o)break t;continue}"\t"!=y&&"\n"!=y&&"\r"!=y&&("["==y?v=!0:"]"==y&&(v=!1),d+=y)}else if(this.i=e.call(this,d),d="",s="port","hostname"==o)break t;break;case"port":if(/[0-9]/.test(y))d+=y;else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y||o){if(""!=d&&((d=parseInt(d,10))!=c[this.g]&&(this.m=d+""),d=""),o)break t;s="relative path start";continue}"\t"==y||"\n"==y||"\r"==y||(i.call(this),this.h=!0)}break;case"relative path start":if(s="relative path","/"!=y&&"\\"!=y)continue;break;case"relative path":null!=y&&"/"!=y&&"\\"!=y&&(o||"?"!=y&&"#"!=y)?"\t"!=y&&"\n"!=y&&"\r"!=y&&(d+=n(y)):((m=l[d.toLowerCase()])&&(d=m),".."==d?(this.j.pop(),"/"!=y&&"\\"!=y&&this.j.push("")):"."==d&&"/"!=y&&"\\"!=y?this.j.push(""):"."!=d&&("file"==this.g&&0==this.j.length&&2==d.length&&h.test(d[0])&&"|"==d[1]&&(d=d[0]+":"),this.j.push(d)),d="","?"==y?(this.o="?",s="query"):"#"==y&&(this.u="#",s="fragment"));break;case"query":o||"#"!=y?null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.o+=r(y)):(this.u="#",s="fragment");break;case"fragment":null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.u+=y)}u++}}function i(){this.s=this.pa=this.g="",this.f=null,this.m=this.i="",this.j=[],this.u=this.o="",this.A=this.h=!1}function a(t,e){void 0===e||e instanceof a||(e=new a(String(e))),this.a=t,i.call(this),o.call(this,this.a.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var s=!1;try{var u=new URL("b","http://a");u.pathname="c%20d",s="http://a/c%20d"===u.href}catch(t){}if(!s){var c=Object.create(null);c.ftp=21,c.file=0,c.gopher=70,c.http=80,c.https=443,c.ws=80,c.wss=443;var l=Object.create(null);l["%2e"]=".",l[".%2e"]="..",l["%2e."]="..",l["%2e%2e"]="..";var h=/[a-zA-Z]/,f=/[a-zA-Z0-9\+\-\.]/;a.prototype={toString:function(){return this.href},get href(){if(this.h)return this.a;var t="";return""==this.s&&null==this.f||(t=this.s+(null!=this.f?":"+this.f:"")+"@"),this.protocol+(this.A?"//"+t+this.host:"")+this.pathname+this.o+this.u},set href(t){i.call(this),o.call(this,t)},get protocol(){return this.g+":"},set protocol(t){this.h||o.call(this,t+":","scheme start")},get host(){return this.h?"":this.m?this.i+":"+this.m:this.i},set host(t){!this.h&&this.A&&o.call(this,t,"host")},get hostname(){return this.i},set hostname(t){!this.h&&this.A&&o.call(this,t,"hostname")},get port(){return this.m},set port(t){!this.h&&this.A&&o.call(this,t,"port")},get pathname(){return this.h?"":this.A?"/"+this.j.join("/"):this.pa},set pathname(t){!this.h&&this.A&&(this.j=[],o.call(this,t,"relative path start"))},get search(){return this.h||!this.o||"?"==this.o?"":this.o},set search(t){!this.h&&this.A&&(this.o="?","?"==t[0]&&(t=t.slice(1)),o.call(this,t,"query"))},get hash(){return this.h||!this.u||"#"==this.u?"":this.u},set hash(t){this.h||(t?(this.u="#","#"==t[0]&&(t=t.slice(1)),o.call(this,t,"fragment")):this.u="")},get origin(){var t;if(this.h||!this.g)return"";switch(this.g){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.g+"://"+t:""}};var d=t.URL;d&&(a.createObjectURL=function(t){return d.createObjectURL.apply(d,arguments)},a.revokeObjectURL=function(t){d.revokeObjectURL(t)}),t.URL=a}}(window);var us=window.customElements,cs=!1,ls=null;function hs(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),ls&&ls(),cs=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}us.polyfillWrapFlushCallback&&us.polyfillWrapFlushCallback((function(t){ls=t,cs&&t()})),"complete"!==document.readyState?(window.addEventListener("load",hs),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",hs),hs()}))):hs()}.call(t);var Ub=ob.trim,Fb=Z_,Bb=n.parseInt,Hb=/^[+-]?0[Xx]/,Vb=8!==Bb(Fb+"08")||22!==Bb(Fb+"0x16")?function(t,e){var n=Ub(String(t));return Bb(n,e>>>0||(Hb.test(n)?16:10))}:Bb;Ke({target:"Number",stat:!0,forced:Number.parseInt!=Vb},{parseInt:Vb});var qb=i,Wb=n,zb=Ve,Gb=Q.exports,$b=x,Yb=f,Xb=Sf,Kb=E,Jb=o,Zb=Cr,Qb=Qt.f,tw=r.f,ew=V.f,nw=ob.trim,rw="Number",ow=Wb.Number,iw=ow.prototype,aw=Yb(Zb(iw))==rw,sw=function(t){var e,n,r,o,i,a,s,u,c=Kb(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=nw(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((u=i.charCodeAt(s))<48||u>o)return NaN;return parseInt(i,r)}return+c};if(zb(rw,!ow(" 0o1")||!ow("0b1")||ow("+0x1"))){for(var uw,cw=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof cw&&(aw?Jb((function(){iw.valueOf.call(n)})):Yb(n)!=rw)?Xb(new ow(sw(e)),n,cw):sw(e)},lw=qb?Qb(ow):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),hw=0;lw.length>hw;hw++)$b(ow,uw=lw[hw])&&!$b(cw,uw)&&ew(cw,uw,tw(ow,uw));cw.prototype=iw,iw.constructor=cw,Gb(Wb,rw,cw)}var fw={exports:{}},dw=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),pw=Nt,vw=b,yw=x,mw=V.f,gw=dw,_w=_t("meta"),bw=0,ww=Object.isExtensible||function(){return!0},Ew=function(t){mw(t,_w,{value:{objectID:"O"+ ++bw,weakData:{}}})},Sw=fw.exports={REQUIRED:!1,fastKey:function(t,e){if(!vw(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!yw(t,_w)){if(!ww(t))return"F";if(!e)return"E";Ew(t)}return t[_w].objectID},getWeakData:function(t,e){if(!yw(t,_w)){if(!ww(t))return!0;if(!e)return!1;Ew(t)}return t[_w].weakData},onFreeze:function(t){return gw&&Sw.REQUIRED&&ww(t)&&!yw(t,_w)&&Ew(t),t}};pw[_w]=!0;var Nw=Ke,Cw=n,Tw=Ve,xw=Q.exports,Ow=fw.exports,Aw=lc,Pw=_s,Lw=b,kw=o,jw=gc,Dw=Hr,Mw=Sf,Rw=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",a=Cw[t],s=a&&a.prototype,u=a,c={},l=function(t){var e=s[t];xw(s,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!Lw(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!Lw(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!Lw(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(Tw(t,"function"!=typeof a||!(o||s.forEach&&!kw((function(){(new a).entries().next()})))))u=n.getConstructor(e,t,r,i),Ow.REQUIRED=!0;else if(Tw(t,!0)){var h=new u,f=h[i](o?{}:-0,1)!=h,d=kw((function(){h.has(1)})),p=jw((function(t){new a(t)})),v=!o&&kw((function(){for(var t=new a,e=5;e--;)t[i](e,e);return!t.has(-0)}));p||((u=e((function(e,n){Pw(e,u,t);var o=Mw(new a,e,u);return null!=n&&Aw(n,o[i],{that:o,AS_ENTRIES:r}),o}))).prototype=s,s.constructor=u),(d||v)&&(l("delete"),l("has"),r&&l("get")),(v||f)&&l(i),o&&s.clear&&delete s.clear}return c[t]=u,Nw({global:!0,forced:u!=a},c),Dw(u,t),o||n.setStrong(u,t,r),u},Iw=V.f,Uw=Cr,Fw=gs,Bw=Wr,Hw=_s,Vw=lc,qw=Ia,Ww=Ou,zw=i,Gw=fw.exports.fastKey,$w=Ft.set,Yw=Ft.getterFor,Xw={getConstructor:function(t,e,n,r){var o=t((function(t,i){Hw(t,o,e),$w(t,{type:e,index:Uw(null),first:void 0,last:void 0,size:0}),zw||(t.size=0),null!=i&&Vw(i,t[r],{that:t,AS_ENTRIES:n})})),i=Yw(e),a=function(t,e,n){var r,o,a=i(t),u=s(t,e);return u?u.value=n:(a.last=u={index:o=Gw(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=u),r&&(r.next=u),zw?a.size++:t.size++,"F"!==o&&(a.index[o]=u)),t},s=function(t,e){var n,r=i(t),o=Gw(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Fw(o.prototype,{clear:function(){for(var t=i(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,zw?t.size=0:this.size=0},delete:function(t){var e=this,n=i(e),r=s(e,t);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),zw?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=i(this),r=Bw(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),Fw(o.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),zw&&Iw(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Yw(e),i=Yw(r);qw(t,e,(function(t,e){$w(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Ww(e)}};Rw("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Xw);var Kw=gs,Jw=fw.exports.getWeakData,Zw=W,Qw=b,tE=_s,eE=lc,nE=x,rE=Ft.set,oE=Ft.getterFor,iE=Zr.find,aE=Zr.findIndex,sE=0,uE=function(t){return t.frozen||(t.frozen=new cE)},cE=function(){this.entries=[]},lE=function(t,e){return iE(t.entries,(function(t){return t[0]===e}))};cE.prototype={get:function(t){var e=lE(this,t);if(e)return e[1]},has:function(t){return!!lE(this,t)},set:function(t,e){var n=lE(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=aE(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var hE,fE={getConstructor:function(t,e,n,r){var o=t((function(t,i){tE(t,o,e),rE(t,{type:e,id:sE++,frozen:void 0}),null!=i&&eE(i,t[r],{that:t,AS_ENTRIES:n})})),i=oE(e),a=function(t,e,n){var r=i(t),o=Jw(Zw(e),!0);return!0===o?uE(r).set(e,n):o[r.id]=n,t};return Kw(o.prototype,{delete:function(t){var e=i(this);if(!Qw(t))return!1;var n=Jw(t);return!0===n?uE(e).delete(t):n&&nE(n,e.id)&&delete n[e.id]},has:function(t){var e=i(this);if(!Qw(t))return!1;var n=Jw(t);return!0===n?uE(e).has(t):n&&nE(n,e.id)}}),Kw(o.prototype,n?{get:function(t){var e=i(this);if(Qw(t)){var n=Jw(t);return!0===n?uE(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},dE=n,pE=gs,vE=fw.exports,yE=Rw,mE=fE,gE=b,_E=Ft.enforce,bE=ht,wE=!dE.ActiveXObject&&"ActiveXObject"in dE,EE=Object.isExtensible,SE=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},NE=yE("WeakMap",SE,mE);if(bE&&wE){hE=mE.getConstructor(SE,"WeakMap",!0),vE.REQUIRED=!0;var CE=NE.prototype,TE=CE.delete,xE=CE.has,OE=CE.get,AE=CE.set;pE(CE,{delete:function(t){if(gE(t)&&!EE(t)){var e=_E(this);return e.frozen||(e.frozen=new hE),TE.call(this,t)||e.frozen.delete(t)}return TE.call(this,t)},has:function(t){if(gE(t)&&!EE(t)){var e=_E(this);return e.frozen||(e.frozen=new hE),xE.call(this,t)||e.frozen.has(t)}return xE.call(this,t)},get:function(t){if(gE(t)&&!EE(t)){var e=_E(this);return e.frozen||(e.frozen=new hE),xE.call(this,t)?OE.call(this,t):e.frozen.get(t)}return OE.call(this,t)},set:function(t,e){if(gE(t)&&!EE(t)){var n=_E(this);n.frozen||(n.frozen=new hE),xE.call(this,t)?AE.call(this,t,e):n.frozen.set(t,e)}else AE.call(this,t,e);return this}})}Rw("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Xw);var PE=Gv;Ke({target:"Array",stat:!0,forced:!gc((function(t){Array.from(t)}))},{from:PE});var LE=Rv;Ke({target:"Object",stat:!0,forced:Object.assign!==LE},{assign:LE});
/**
	 * @license
	 * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
	 * This code may only be used under the BSD style license found at
	 * http://polymer.github.io/LICENSE.txt
	 * The complete set of authors may be found at
	 * http://polymer.github.io/AUTHORS.txt
	 * The complete set of contributors may be found at
	 * http://polymer.github.io/CONTRIBUTORS.txt
	 * Code distributed by Google as part of the polymer project is also
	 * subject to an additional IP rights grant found at
	 * http://polymer.github.io/PATENTS.txt
	 */
var kE="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,jE=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},DE=i,ME=n,RE=Ve,IE=Sf,UE=V.f,FE=Qt.f,BE=U_,HE=jg,VE=qg,qE=Q.exports,WE=o,zE=Ft.enforce,GE=Ou,$E=Sn("match"),YE=ME.RegExp,XE=YE.prototype,KE=/a/g,JE=/a/g,ZE=new YE(KE)!==KE,QE=VE.UNSUPPORTED_Y;if(DE&&RE("RegExp",!ZE||QE||WE((function(){return JE[$E]=!1,YE(KE)!=KE||YE(JE)==JE||"/a/i"!=YE(KE,"i")})))){for(var tS=function(t,e){var n,r=this instanceof tS,o=BE(t),i=void 0===e;if(!r&&o&&t.constructor===tS&&i)return t;ZE?o&&!i&&(t=t.source):t instanceof tS&&(i&&(e=HE.call(t)),t=t.source),QE&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var a=IE(ZE?new YE(t,e):YE(t,e),r?this:XE,tS);QE&&n&&(zE(a).sticky=!0);return a},eS=function(t){t in tS||UE(tS,t,{configurable:!0,get:function(){return YE[t]},set:function(e){YE[t]=e}})},nS=FE(YE),rS=0;nS.length>rS;)eS(nS[rS++]);XE.constructor=tS,tS.prototype=XE,qE(ME,"RegExp",tS)}GE("RegExp");
/**
	 * @license
	 * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
	 * This code may only be used under the BSD style license found at
	 * http://polymer.github.io/LICENSE.txt
	 * The complete set of authors may be found at
	 * http://polymer.github.io/AUTHORS.txt
	 * The complete set of contributors may be found at
	 * http://polymer.github.io/CONTRIBUTORS.txt
	 * Code distributed by Google as part of the polymer project is also
	 * subject to an additional IP rights grant found at
	 * http://polymer.github.io/PATENTS.txt
	 */
var oS="{{lit-".concat(String(Math.random()).slice(2),"}}"),iS="\x3c!--".concat(oS,"--\x3e"),aS=new RegExp("".concat(oS,"|").concat(iS)),sS="$lit$",uS=function t(e,n){Ti(this,t),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var h=i.nextNode();if(null!==h){if(s++,1===h.nodeType){if(h.hasAttributes()){for(var f=h.attributes,d=f.length,p=0,v=0;v<d;v++)cS(f[v].name,sS)&&p++;for(;p-- >0;){var y=c[u],m=fS.exec(y)[2],g=m.toLowerCase()+sS,_=h.getAttribute(g);h.removeAttribute(g);var b=_.split(aS);this.parts.push({type:"attribute",index:s,name:m,strings:b}),u+=b.length-1}}"TEMPLATE"===h.tagName&&(o.push(h),i.currentNode=h.content)}else if(3===h.nodeType){var w=h.data;if(w.indexOf(oS)>=0){for(var E=h.parentNode,S=w.split(aS),N=S.length-1,C=0;C<N;C++){var T=void 0,x=S[C];if(""===x)T=hS();else{var O=fS.exec(x);null!==O&&cS(O[2],sS)&&(x=x.slice(0,O.index)+O[1]+O[2].slice(0,-sS.length)+O[3]),T=document.createTextNode(x)}E.insertBefore(T,h),this.parts.push({type:"node",index:++s})}""===S[N]?(E.insertBefore(hS(),h),r.push(h)):h.data=S[N],u+=N}}else if(8===h.nodeType)if(h.data===oS){var A=h.parentNode;null!==h.previousSibling&&s!==a||(s++,A.insertBefore(hS(),h)),a=s,this.parts.push({type:"node",index:s}),null===h.nextSibling?h.data="":(r.push(h),s--),u++}else for(var P=-1;-1!==(P=h.data.indexOf(oS,P+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var L=0,k=r;L<k.length;L++){var j=k[L];j.parentNode.removeChild(j)}},cS=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},lS=function(t){return-1!==t.index},hS=function(){return document.createComment("")},fS=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,dS=133;function pS(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,dS,null,!1),i=yS(r),a=r[i],s=-1,u=0,c=[],l=null;o.nextNode();){s++;var h=o.currentNode;for(h.previousSibling===l&&(l=null),e.has(h)&&(c.push(h),null===l&&(l=h)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[i=yS(r,i)]}c.forEach((function(t){return t.parentNode.removeChild(t)}))}var vS=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,dS,null,!1);n.nextNode();)e++;return e},yS=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(lS(r))return n}return-1};
/**
	 * @license
	 * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
	 * This code may only be used under the BSD style license found at
	 * http://polymer.github.io/LICENSE.txt
	 * The complete set of authors may be found at
	 * http://polymer.github.io/AUTHORS.txt
	 * The complete set of contributors may be found at
	 * http://polymer.github.io/CONTRIBUTORS.txt
	 * Code distributed by Google as part of the polymer project is also
	 * subject to an additional IP rights grant found at
	 * http://polymer.github.io/PATENTS.txt
	 */
var mS=new WeakMap,gS=function(t){return"function"==typeof t&&mS.has(t)},_S={},bS={},wS=function(){function t(e,n,r){Ti(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}return Oi(t,[{key:"update",value:function(t){var e,n=0,r=Vi(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=Vi(this.__parts);try{for(a.s();!(i=a.n()).done;){var s=i.value;void 0!==s&&s.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=kE?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(t=r[i],lS(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(s.previousSibling),this.__parts.push(u)}else{var c;(c=this.__parts).push.apply(c,Fi(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return kE&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),ES=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),SS=" ".concat(oS," "),NS=function(){function t(e,n,r,o){Ti(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return Oi(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=fS.exec(o);e+=null===a?o+(n?SS:iS):o.substr(0,a.index)+a[1]+a[2]+sS+a[3]+oS}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==ES&&(e=ES.createHTML(e)),t.innerHTML=e,t}}]),t}(),CS=function(t){return null===t||!("object"===Ni(t)||"function"==typeof t)},TS=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},xS=function(){function t(e,n,r){Ti(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return Oi(t,[{key:"_createPart",value:function(){return new OS(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"===Ni(r))return String(r);if("string"==typeof r||!TS(r))return r}for(var o="",i=0;i<e;i++){o+=t[i];var a=n[i];if(void 0!==a){var s=a.value;if(CS(s)||!TS(s))o+="string"==typeof s?s:String(s);else{var u,c=Vi(s);try{for(c.s();!(u=c.n()).done;){var l=u.value;o+="string"==typeof l?l:String(l)}}catch(t){c.e(t)}finally{c.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),OS=function(){function t(e){Ti(this,t),this.value=void 0,this.committer=e}return Oi(t,[{key:"setValue",value:function(t){t===_S||CS(t)&&t===this.value||(this.value=t,gS(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;gS(this.value);){var t=this.value;this.value=_S,t(this)}this.value!==_S&&this.committer.commit()}}]),t}(),AS=function(){function t(e){Ti(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return Oi(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(hS()),this.endNode=t.appendChild(hS())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=hS()),t.__insert(this.endNode=hS())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=hS()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;gS(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=_S,t(this)}var e=this.__pendingValue;e!==_S&&(CS(e)?e!==this.value&&this.__commitText(e):e instanceof NS?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):TS(e)?this.__commitIterable(e):e===bS?(this.value=bS,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof wS&&this.value.template===e)this.value.update(t.values);else{var n=new wS(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,a=Vi(e);try{for(a.s();!(r=a.n()).done;){var s=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(s),n.commit(),i++}}catch(t){a.e(t)}finally{a.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;jE(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),PS=function(){function t(e,n,r){if(Ti(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return Oi(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;gS(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=_S,t(this)}if(this.__pendingValue!==_S){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=_S}}}]),t}(),LS=function(t){Ai(n,t);var e=Ri(n);function n(t,r,o){var i;return Ti(this,n),(i=e.call(this,t,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return Oi(n,[{key:"_createPart",value:function(){return new kS(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:Ii(Pi(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(xS),kS=function(t){Ai(n,t);var e=Ri(n);function n(){return Ti(this,n),e.apply(this,arguments)}return n}(OS),jS=!1;!function(){try{var t={get capture(){return jS=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var DS=function(){function t(e,n,r){var o=this;Ti(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return Oi(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;gS(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=_S,t(this)}if(this.__pendingValue!==_S){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=MS(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=_S}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),MS=function(t){return t&&(jS?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function RS(t){var e=IS.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},IS.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(oS);return void 0===(n=e.keyString.get(r))&&(n=new uS(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var IS=new Map,US=new WeakMap,FS=new(function(){function t(){Ti(this,t)}return Oi(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new LS(t,e.slice(1),n).parts:"@"===o?[new DS(t,e.slice(1),r.eventContext)]:"?"===o?[new PS(t,e.slice(1),n)]:new xS(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new AS(t)}}]),t}());
/**
	 * @license
	 * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
	 * This code may only be used under the BSD style license found at
	 * http://polymer.github.io/LICENSE.txt
	 * The complete set of authors may be found at
	 * http://polymer.github.io/AUTHORS.txt
	 * The complete set of contributors may be found at
	 * http://polymer.github.io/CONTRIBUTORS.txt
	 * Code distributed by Google as part of the polymer project is also
	 * subject to an additional IP rights grant found at
	 * http://polymer.github.io/PATENTS.txt
	 */
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var BS=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new NS(t,n,"html",FS)},HS=function(t,e){return"".concat(t,"--").concat(e)},VS=!0;void 0===window.ShadyCSS?VS=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),VS=!1);var qS=function(t){return function(e){var n=HS(e.type,t),r=IS.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},IS.set(n,r));var o=r.stringsArray.get(e.strings);if(void 0!==o)return o;var i=e.strings.join(oS);if(void 0===(o=r.keyString.get(i))){var a=e.getTemplateElement();VS&&window.ShadyCSS.prepareTemplateDom(a,t),o=new uS(e,a),r.keyString.set(i,o)}return r.stringsArray.set(e.strings,o),o}},WS=["html","svg"],zS=new Set,GS=function(t,e,n){zS.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var a=document.createElement("style"),s=0;s<i;s++){var u=o[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}!function(t){WS.forEach((function(e){var n=IS.get(HS(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),pS(t,n)}))}))}(t);var c=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,dS,null,!1),a=yS(o),s=0,u=-1;i.nextNode();){for(u++,i.currentNode===n&&(s=vS(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===u;){if(s>0){for(;-1!==a;)o[a].index+=s,a=yS(o,a);return}a=yS(o,a)}}else r.appendChild(e)}(n,a,c.firstChild):c.insertBefore(a,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var l=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)e.insertBefore(l.cloneNode(!0),e.firstChild);else if(n){c.insertBefore(a,c.firstChild);var h=new Set;h.add(a),pS(n,h)}}else window.ShadyCSS.prepareTemplateStyles(r,t)},$S=N,YS=ra,XS=Ji;Ke({target:"Object",stat:!0,forced:o((function(){YS(1)})),sham:!XS},{getPrototypeOf:function(t){return YS($S(t))}});var KS={exports:{}};!function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(t,e,n){var r=h;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=l(t,e,n);if("normal"===u.type){if(r=n.done?p:f,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h="suspendedStart",f="suspendedYield",d="executing",p="completed",v={};function y(){}function m(){}function g(){}var _={};_[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(A([])));w&&w!==n&&r.call(w,i)&&(_=w);var E=g.prototype=y.prototype=Object.create(_);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function N(t,e){function n(o,i,a,s){var u=l(t[o],t,i);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"===Ni(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(h).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function C(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return m.prototype=E.constructor=g,g.constructor=m,m.displayName=u(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,s,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},S(N.prototype),N.prototype[a]=function(){return this},t.AsyncIterator=N,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new N(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),u(E,s,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}(KS);var JS=KS.exports;
/**
	 * @license
	 * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
	 * This code may only be used under the BSD style license found at
	 * http://polymer.github.io/LICENSE.txt
	 * The complete set of authors may be found at
	 * http://polymer.github.io/AUTHORS.txt
	 * The complete set of contributors may be found at
	 * http://polymer.github.io/CONTRIBUTORS.txt
	 * Code distributed by Google as part of the polymer project is also
	 * subject to an additional IP rights grant found at
	 * http://polymer.github.io/PATENTS.txt
	 */window.JSCompiler_renameProperty=function(t,e){return t};var ZS={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},QS=function(t,e){return e!==t&&(e==e||t==t)},tN={attribute:!0,type:String,converter:ZS,reflect:!1,hasChanged:QS},eN="finalized",nN=function(t){Ai(o,t);var e,n,r=Ri(o);function o(){var t;return Ti(this,o),(t=r.call(this)).initialize(),t}return Oi(o,[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tN,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(e=JS.mark((function t(){var e;return JS.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),n=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(t){Ci(i,r,o,a,s,"next",t)}function s(t){Ci(i,r,o,a,s,"throw",t)}a(void 0)}))},function(){return n.apply(this,arguments)})},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}},{key:"_getUpdateComplete",value:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}},{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tN;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===Ni(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||tN}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(eN)||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=Vi([].concat(Fi(Object.getOwnPropertyNames(n)),Fi("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:QS;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||ZS,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||ZS.toAttribute)(t,n)}}}]),o}(Di(HTMLElement));nN.finalized=!0;var rN=Zr.filter;Ke({target:"Array",proto:!0,forced:!Ln("filter")},{filter:function(t){return rN(this,t,arguments.length>1?arguments[1]:void 0)}});
/**
	@license
	Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
	This code may only be used under the BSD style license found at
	http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
	http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
	found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
	part of the polymer project is also subject to an additional IP rights grant
	found at http://polymer.github.io/PATENTS.txt
	*/
var oN=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,iN=Symbol(),aN=function(){function t(e,n){if(Ti(this,t),n!==iN)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}return Oi(t,[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(oN?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}]),t}(),sN=function(t){if(t instanceof aN)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n            take care to ensure page security."))},uN=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+sN(n)+t[r+1]}),t[0]);return new aN(o,iN)};(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");var cN={},lN=function(t){Ai(n,t);var e=Ri(n);function n(){return Ti(this,n),e.apply(this,arguments)}return Oi(n,[{key:"initialize",value:function(){Ii(Pi(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow(this.constructor.shadowRootOptions)}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?oN?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){Ii(Pi(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,r=this.render();Ii(Pi(n.prototype),"update",this).call(this,t),r!==cN&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return cN}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!oN){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new aN(String(e),iN)}return t}))}}}]),n}(nN);lN.finalized=!0,lN.render=function(t,e,n){if(!n||"object"!==Ni(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,o=US.has(e),i=VS&&11===e.nodeType&&!!e.host,a=i&&!zS.has(r),s=a?document.createDocumentFragment():e;if(function(t,e,n){var r=US.get(e);void 0===r&&(jE(e,e.firstChild),US.set(e,r=new AS(Object.assign({templateFactory:RS},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,s,Object.assign({templateFactory:qS(r)},n)),a){var u=US.get(s);US.delete(s);var c=u.value instanceof wS?u.value.template:void 0;GS(r,s,c),jE(e,e.firstChild),e.appendChild(s),US.set(e,u)}!o&&i&&window.ShadyCSS.styleElement(e.host)},lN.shadowRootOptions={mode:"open"};var hN,fN,dN,pN,vN,yN,mN,gN,_N,bN,wN=new WeakMap,EN=(hN=function(t){return function(e){if(!(e instanceof OS)||e instanceof kS||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,o=wN.get(e);for(var i in void 0===o&&(r.cssText=n.strings.join(" "),wN.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(i),-1===i.indexOf("-")?r[i]=t[i]:r.setProperty(i,t[i])}},function(){var t=hN.apply(void 0,arguments);return mS.set(t,!0),t}),SN=uN(fN||(fN=Ui(["*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition:none !important;animation:none !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.bannerWrapper{display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;color:#222222;color:var(--auro-color-text-primary-on-light)}@media screen and (min-width: 660px){.bannerWrapper{flex-direction:row}}.item{width:100% !important}@media screen and (min-width: 660px){.item{width:auto}}@media screen and (min-width: 660px){.content{padding-right:2rem;padding-right:var(--auro-size-xl)}}.graphic{margin-bottom:2rem;margin-bottom:var(--auro-size-xl)}@media screen and (min-width: 660px){.graphic{margin-bottom:0rem;margin-bottom:var(--auro-size-none)}}::slotted(img){display:flex;max-width:100%}:host([overlay]) .content{padding-bottom:6.25rem}@media screen and (min-width: 660px){:host([overlay]) .content{padding-right:2rem;padding-right:var(--auro-size-xl);padding-bottom:0}}:host([overlay]) .graphic{display:none}@media screen and (min-width: 660px){:host([overlay]) .graphic{display:block}}:host([overlay]) .overlayContainer{position:relative;top:-1.25rem;display:flex;align-items:center;justify-content:center}:host([overlay]) .overlayBg{position:absolute;display:flex;width:7.5rem;height:7.5rem;align-items:center;justify-content:center;background:#9fabbb;background:var(--auro-color-brand-neutral-400);border-radius:50%}:host([onBackground]) .bannerWrapper{padding:2rem;padding:var(--auro-size-xl)}:host([inset]) .content{padding:2rem;padding:var(--auro-size-xl)}@media screen and (min-width: 660px){:host([inset]) .content{padding:3rem;padding:var(--auro-size-xxl)}}:host([roundedBorder]) .bannerWrapper{padding:1.5rem;padding:var(--auro-size-lg);border:1px solid rgba(0,0,0,0.15);border:1px solid var(--auro-color-border-primary-on-light);border-radius:0.5rem;border-radius:var(--auro-size-xs)}:host([row]) .bannerWrapper{flex-direction:row}:host([row]) .content{padding-left:2rem;padding-left:var(--auro-size-xl)}:host([row]) .graphic{margin-bottom:none}@media screen and (min-width: 660px){:host([flipped]) .bannerWrapper{flex-direction:row-reverse}}@media screen and (min-width: 660px){:host([flipped]) .content{padding-left:2rem;padding-left:var(--auro-size-xl)}}:host([row][flipped]) .bannerWrapper{flex-direction:row-reverse}:host([row][flipped]) .content{padding-right:2rem;padding-right:var(--auro-size-xl)}:host([row][flipped]) .graphic{margin-bottom:0}\n"])));!function(){function t(t){var e=!0,n=!1,r=null,o={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(t){return!!(t&&t!==document&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function a(t){t.classList.contains("focus-visible")||(t.classList.add("focus-visible"),t.setAttribute("data-focus-visible-added",""))}function s(t){e=!1}function u(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c)}function c(t){t.target.nodeName&&"html"===t.target.nodeName.toLowerCase()||(e=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c))}document.addEventListener("keydown",(function(n){n.metaKey||n.altKey||n.ctrlKey||(i(t.activeElement)&&a(t.activeElement),e=!0)}),!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",(function(t){"hidden"===document.visibilityState&&(n&&(e=!0),u())}),!0),u(),t.addEventListener("focus",(function(t){var n,r,s;i(t.target)&&(e||(r=(n=t.target).type,"INPUT"===(s=n.tagName)&&o[r]&&!n.readOnly||"TEXTAREA"===s&&!n.readOnly||n.isContentEditable))&&a(t.target)}),!0),t.addEventListener("blur",(function(t){var e;i(t.target)&&(t.target.classList.contains("focus-visible")||t.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout((function(){n=!1}),100),(e=t.target).hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added")))}),!0),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host?t.host.setAttribute("data-js-focus-visible",""):t.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var e;window.applyFocusVisiblePolyfill=t;try{e=new CustomEvent("focus-visible-polyfill-ready")}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(e)}"undefined"!=typeof document&&t(document)}();var NN=function(t){Ai(n,t);var e=Ri(n);function n(){var t;return Ti(this,n),(t=e.call(this)).ratio="1:1",t.overlay=!1,t.overlayBg="var(--auro-color-brand-neutral-400)",t.flipped=!1,t.onBackground=!1,t.inset=!1,t.row=!1,t}return Oi(n,[{key:"render",value:function(){var t,e;this.flipped?(t=Number.parseInt(this.ratio.split(":")[1]),e=Number.parseInt(this.ratio.split(":")[0])):(t=Number.parseInt(this.ratio.split(":")[0]),e=Number.parseInt(this.ratio.split(":")[1]));var n=t*(100/(t+e)),r=e*(100/(t+e)),o={flexBasis:"".concat(n,"%")},i={flexBasis:"".concat(r,"%")};return BS(dN||(dN=Ui([' <div class="bannerWrapper">\n        ',"\n        ","\n      </div>\n      ",""])),0===n?BS(pN||(pN=Ui([""]))):BS(vN||(vN=Ui(['<div class="item content" style=','>\n              <slot name="content"></slot>\n            </div>'])),EN(o)),0===r?BS(yN||(yN=Ui([""]))):BS(mN||(mN=Ui(['<div class="item graphic" style=','>\n              <slot name="graphic"></slot>\n            </div>'])),EN(i)),this.overlay?BS(gN||(gN=Ui([' <div class="overlayContainer">\n            <div class="overlayBg" style="background: ','">\n              <slot name="overlay"></slot>\n            </div>\n          </div>'])),this.overlayBg):BS(_N||(_N=Ui([""]))))}}],[{key:"properties",get:function(){return{onBackground:{type:Boolean,reflect:!0},inset:{type:Boolean,reflect:!0},flipped:{type:Boolean,reflect:!0},row:{type:Boolean,reflect:!0},overlay:{type:Boolean,reflect:!0},overlayBg:{type:String},ratio:{type:String}}}},{key:"styles",get:function(){return uN(bN||(bN=Ui(["\n      ","\n    "])),SN)}}]),n}(lN);customElements.get("auro-banner")||customElements.define("auro-banner",NN)}();