(()=>{var zc=Object.create;var Qd=Object.defineProperty,wc=Object.defineProperties,Lc=Object.getOwnPropertyDescriptor,Oc=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertyNames,Ze=Object.getOwnPropertySymbols,Dc=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable;var Ie=(t,l,d)=>l in t?Qd(t,l,{enumerable:!0,configurable:!0,writable:!0,value:d}):t[l]=d,lt=(t,l)=>{for(var d in l||(l={}))Fe.call(l,d)&&Ie(t,d,l[d]);if(Ze)for(var d of Ze(l))vc.call(l,d)&&Ie(t,d,l[d]);return t},ge=(t,l)=>wc(t,Oc(l));var g=(t,l)=>()=>(l||t((l={exports:{}}).exports,l),l.exports);var fc=(t,l,d,V)=>{if(l&&typeof l=="object"||typeof l=="function")for(let i of jc(l))!Fe.call(t,i)&&i!==d&&Qd(t,i,{get:()=>l[i],enumerable:!(V=Lc(l,i))||V.enumerable});return t};var E=(t,l,d)=>(d=t!=null?zc(Dc(t)):{},fc(l||!t||!t.__esModule?Qd(d,"default",{value:t,enumerable:!0}):d,t));var me=(t,l,d)=>new Promise((V,i)=>{var e=n=>{try{G(d.next(n))}catch(b){i(b)}},a=n=>{try{G(d.throw(n))}catch(b){i(b)}},G=n=>n.done?V(n.value):Promise.resolve(n.value).then(e,a);G((d=d.apply(t,l)).next())});var dt=g((Pm,pe)=>{var Xl=function(t){return t&&t.Math==Math&&t};pe.exports=Xl(typeof globalThis=="object"&&globalThis)||Xl(typeof window=="object"&&window)||Xl(typeof self=="object"&&self)||Xl(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var Vt=g((_m,Be)=>{Be.exports=function(t){try{return!!t()}catch(l){return!0}}});var It=g((qm,oe)=>{var Kc=Vt();oe.exports=!Kc(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var ul=g(($m,xe)=>{var Pc=Vt();xe.exports=!Pc(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")})});var rl=g((t1,Je)=>{var _c=ul(),sl=Function.prototype.call;Je.exports=_c?sl.bind(sl):function(){return sl.apply(sl,arguments)}});var he=g(Ce=>{"use strict";var Ne={}.propertyIsEnumerable,Qe=Object.getOwnPropertyDescriptor,qc=Qe&&!Ne.call({1:2},1);Ce.f=qc?function(l){var d=Qe(this,l);return!!d&&d.enumerable}:Ne});var Cd=g((d1,Xe)=>{Xe.exports=function(t,l){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:l}}});var K=g((V1,re)=>{var ue=ul(),se=Function.prototype,hd=se.call,$c=ue&&se.bind.bind(hd,hd);re.exports=ue?$c:function(t){return function(){return hd.apply(t,arguments)}}});var Et=g((i1,Te)=>{var Ye=K(),tW=Ye({}.toString),lW=Ye("".slice);Te.exports=function(t){return lW(tW(t),8,-1)}});var ke=g((e1,Se)=>{var dW=K(),VW=Vt(),iW=Et(),Xd=Object,eW=dW("".split);Se.exports=VW(function(){return!Xd("z").propertyIsEnumerable(0)})?function(t){return iW(t)=="String"?eW(t,""):Xd(t)}:Xd});var ud=g((b1,Me)=>{Me.exports=function(t){return t==null}});var yt=g((a1,He)=>{var bW=ud(),aW=TypeError;He.exports=function(t){if(bW(t))throw aW("Can't call method on "+t);return t}});var Pt=g((n1,Ae)=>{var nW=ke(),GW=yt();Ae.exports=function(t){return nW(GW(t))}});var rd=g((G1,Ee)=>{var sd=typeof document=="object"&&document.all,RW=typeof sd=="undefined"&&sd!==void 0;Ee.exports={all:sd,IS_HTMLDDA:RW}});var q=g((R1,ze)=>{var ye=rd(),cW=ye.all;ze.exports=ye.IS_HTMLDDA?function(t){return typeof t=="function"||t===cW}:function(t){return typeof t=="function"}});var mt=g((c1,Oe)=>{var we=q(),Le=rd(),WW=Le.all;Oe.exports=Le.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:we(t)||t===WW}:function(t){return typeof t=="object"?t!==null:we(t)}});var zt=g((W1,je)=>{var Yd=dt(),UW=q(),ZW=function(t){return UW(t)?t:void 0};je.exports=function(t,l){return arguments.length<2?ZW(Yd[t]):Yd[t]&&Yd[t][l]}});var ve=g((U1,De)=>{var IW=K();De.exports=IW({}.isPrototypeOf)});var Td=g((Z1,fe)=>{var FW=zt();fe.exports=FW("navigator","userAgent")||""});var lb=g((I1,tb)=>{var $e=dt(),Sd=Td(),Ke=$e.process,Pe=$e.Deno,_e=Ke&&Ke.versions||Pe&&Pe.version,qe=_e&&_e.v8,it,Yl;qe&&(it=qe.split("."),Yl=it[0]>0&&it[0]<4?1:+(it[0]+it[1]));!Yl&&Sd&&(it=Sd.match(/Edge\/(\d+)/),(!it||it[1]>=74)&&(it=Sd.match(/Chrome\/(\d+)/),it&&(Yl=+it[1])));tb.exports=Yl});var kd=g((F1,Vb)=>{var db=lb(),gW=Vt();Vb.exports=!!Object.getOwnPropertySymbols&&!gW(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&db&&db<41})});var Md=g((g1,ib)=>{var mW=kd();ib.exports=mW&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Hd=g((m1,eb)=>{var pW=zt(),BW=q(),oW=ve(),xW=Md(),JW=Object;eb.exports=xW?function(t){return typeof t=="symbol"}:function(t){var l=pW("Symbol");return BW(l)&&oW(l.prototype,JW(t))}});var ab=g((p1,bb)=>{var NW=String;bb.exports=function(t){try{return NW(t)}catch(l){return"Object"}}});var Tl=g((B1,nb)=>{var QW=q(),CW=ab(),hW=TypeError;nb.exports=function(t){if(QW(t))return t;throw hW(CW(t)+" is not a function")}});var Rb=g((o1,Gb)=>{var XW=Tl(),uW=ud();Gb.exports=function(t,l){var d=t[l];return uW(d)?void 0:XW(d)}});var Wb=g((x1,cb)=>{var Ad=rl(),Ed=q(),yd=mt(),sW=TypeError;cb.exports=function(t,l){var d,V;if(l==="string"&&Ed(d=t.toString)&&!yd(V=Ad(d,t))||Ed(d=t.valueOf)&&!yd(V=Ad(d,t))||l!=="string"&&Ed(d=t.toString)&&!yd(V=Ad(d,t)))return V;throw sW("Can't convert object to primitive value")}});var Zb=g((J1,Ub)=>{Ub.exports=!1});var Sl=g((N1,Fb)=>{var Ib=dt(),rW=Object.defineProperty;Fb.exports=function(t,l){try{rW(Ib,t,{value:l,configurable:!0,writable:!0})}catch(d){Ib[t]=l}return l}});var kl=g((Q1,mb)=>{var YW=dt(),TW=Sl(),gb="__core-js_shared__",SW=YW[gb]||TW(gb,{});mb.exports=SW});var zd=g((C1,Bb)=>{var kW=Zb(),pb=kl();(Bb.exports=function(t,l){return pb[t]||(pb[t]=l!==void 0?l:{})})("versions",[]).push({version:"3.27.1",mode:kW?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var wd=g((h1,ob)=>{var MW=yt(),HW=Object;ob.exports=function(t){return HW(MW(t))}});var pt=g((X1,xb)=>{var AW=K(),EW=wd(),yW=AW({}.hasOwnProperty);xb.exports=Object.hasOwn||function(l,d){return yW(EW(l),d)}});var Ld=g((u1,Jb)=>{var zW=K(),wW=0,LW=Math.random(),OW=zW(1 .toString);Jb.exports=function(t){return"Symbol("+(t===void 0?"":t)+")_"+OW(++wW+LW,36)}});var Bt=g((s1,Xb)=>{var jW=dt(),DW=zd(),Nb=pt(),vW=Ld(),Qb=kd(),hb=Md(),wt=DW("wks"),ut=jW.Symbol,Cb=ut&&ut.for,fW=hb?ut:ut&&ut.withoutSetter||vW;Xb.exports=function(t){if(!Nb(wt,t)||!(Qb||typeof wt[t]=="string")){var l="Symbol."+t;Qb&&Nb(ut,t)?wt[t]=ut[t]:hb&&Cb?wt[t]=Cb(l):wt[t]=fW(l)}return wt[t]}});var Yb=g((r1,rb)=>{var KW=rl(),ub=mt(),sb=Hd(),PW=Rb(),_W=Wb(),qW=Bt(),$W=TypeError,t0=qW("toPrimitive");rb.exports=function(t,l){if(!ub(t)||sb(t))return t;var d=PW(t,t0),V;if(d){if(l===void 0&&(l="default"),V=KW(d,t,l),!ub(V)||sb(V))return V;throw $W("Can't convert object to primitive value")}return l===void 0&&(l="number"),_W(t,l)}});var Od=g((Y1,Tb)=>{var l0=Yb(),d0=Hd();Tb.exports=function(t){var l=l0(t,"string");return d0(l)?l:l+""}});var Dd=g((T1,kb)=>{var V0=dt(),Sb=mt(),jd=V0.document,i0=Sb(jd)&&Sb(jd.createElement);kb.exports=function(t){return i0?jd.createElement(t):{}}});var vd=g((S1,Mb)=>{var e0=It(),b0=Vt(),a0=Dd();Mb.exports=!e0&&!b0(function(){return Object.defineProperty(a0("div"),"a",{get:function(){return 7}}).a!=7})});var fd=g(Ab=>{var n0=It(),G0=rl(),R0=he(),c0=Cd(),W0=Pt(),U0=Od(),Z0=pt(),I0=vd(),Hb=Object.getOwnPropertyDescriptor;Ab.f=n0?Hb:function(l,d){if(l=W0(l),d=U0(d),I0)try{return Hb(l,d)}catch(V){}if(Z0(l,d))return c0(!G0(R0.f,l,d),l[d])}});var Kd=g((M1,Eb)=>{var F0=It(),g0=Vt();Eb.exports=F0&&g0(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var _t=g((H1,yb)=>{var m0=mt(),p0=String,B0=TypeError;yb.exports=function(t){if(m0(t))return t;throw B0(p0(t)+" is not an object")}});var Lt=g(wb=>{var o0=It(),x0=vd(),J0=Kd(),Ml=_t(),zb=Od(),N0=TypeError,Pd=Object.defineProperty,Q0=Object.getOwnPropertyDescriptor,_d="enumerable",qd="configurable",$d="writable";wb.f=o0?J0?function(l,d,V){if(Ml(l),d=zb(d),Ml(V),typeof l=="function"&&d==="prototype"&&"value"in V&&$d in V&&!V[$d]){var i=Q0(l,d);i&&i[$d]&&(l[d]=V.value,V={configurable:qd in V?V[qd]:i[qd],enumerable:_d in V?V[_d]:i[_d],writable:!1})}return Pd(l,d,V)}:Pd:function(l,d,V){if(Ml(l),d=zb(d),Ml(V),x0)try{return Pd(l,d,V)}catch(i){}if("get"in V||"set"in V)throw N0("Accessors not supported");return"value"in V&&(l[d]=V.value),l}});var tV=g((E1,Lb)=>{var C0=It(),h0=Lt(),X0=Cd();Lb.exports=C0?function(t,l,d){return h0.f(t,l,X0(1,d))}:function(t,l,d){return t[l]=d,t}});var Db=g((y1,jb)=>{var lV=It(),u0=pt(),Ob=Function.prototype,s0=lV&&Object.getOwnPropertyDescriptor,dV=u0(Ob,"name"),r0=dV&&function(){}.name==="something",Y0=dV&&(!lV||lV&&s0(Ob,"name").configurable);jb.exports={EXISTS:dV,PROPER:r0,CONFIGURABLE:Y0}});var iV=g((z1,vb)=>{var T0=K(),S0=q(),VV=kl(),k0=T0(Function.toString);S0(VV.inspectSource)||(VV.inspectSource=function(t){return k0(t)});vb.exports=VV.inspectSource});var Pb=g((w1,Kb)=>{var M0=dt(),H0=q(),fb=M0.WeakMap;Kb.exports=H0(fb)&&/native code/.test(String(fb))});var eV=g((L1,qb)=>{var A0=zd(),E0=Ld(),_b=A0("keys");qb.exports=function(t){return _b[t]||(_b[t]=E0(t))}});var Hl=g((O1,$b)=>{$b.exports={}});var Va=g((j1,da)=>{var y0=Pb(),la=dt(),z0=mt(),w0=tV(),bV=pt(),aV=kl(),L0=eV(),O0=Hl(),ta="Object already initialized",nV=la.TypeError,j0=la.WeakMap,Al,qt,El,D0=function(t){return El(t)?qt(t):Al(t,{})},v0=function(t){return function(l){var d;if(!z0(l)||(d=qt(l)).type!==t)throw nV("Incompatible receiver, "+t+" required");return d}};y0||aV.state?(et=aV.state||(aV.state=new j0),et.get=et.get,et.has=et.has,et.set=et.set,Al=function(t,l){if(et.has(t))throw nV(ta);return l.facade=t,et.set(t,l),l},qt=function(t){return et.get(t)||{}},El=function(t){return et.has(t)}):(st=L0("state"),O0[st]=!0,Al=function(t,l){if(bV(t,st))throw nV(ta);return l.facade=t,w0(t,st,l),l},qt=function(t){return bV(t,st)?t[st]:{}},El=function(t){return bV(t,st)});var et,st;da.exports={set:Al,get:qt,has:El,enforce:D0,getterFor:v0}});var ba=g((D1,ea)=>{var f0=Vt(),K0=q(),yl=pt(),GV=It(),P0=Db().CONFIGURABLE,_0=iV(),ia=Va(),q0=ia.enforce,$0=ia.get,zl=Object.defineProperty,tU=GV&&!f0(function(){return zl(function(){},"length",{value:8}).length!==8}),lU=String(String).split("String"),dU=ea.exports=function(t,l,d){String(l).slice(0,7)==="Symbol("&&(l="["+String(l).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),d&&d.getter&&(l="get "+l),d&&d.setter&&(l="set "+l),(!yl(t,"name")||P0&&t.name!==l)&&(GV?zl(t,"name",{value:l,configurable:!0}):t.name=l),tU&&d&&yl(d,"arity")&&t.length!==d.arity&&zl(t,"length",{value:d.arity});try{d&&yl(d,"constructor")&&d.constructor?GV&&zl(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var V=q0(t);return yl(V,"source")||(V.source=lU.join(typeof l=="string"?l:"")),t};Function.prototype.toString=dU(function(){return K0(this)&&$0(this).source||_0(this)},"toString")});var na=g((v1,aa)=>{var VU=q(),iU=Lt(),eU=ba(),bU=Sl();aa.exports=function(t,l,d,V){V||(V={});var i=V.enumerable,e=V.name!==void 0?V.name:l;if(VU(d)&&eU(d,e,V),V.global)i?t[l]=d:bU(l,d);else{try{V.unsafe?t[l]&&(i=!0):delete t[l]}catch(a){}i?t[l]=d:iU.f(t,l,{value:d,enumerable:!1,configurable:!V.nonConfigurable,writable:!V.nonWritable})}return t}});var Ra=g((f1,Ga)=>{var aU=Math.ceil,nU=Math.floor;Ga.exports=Math.trunc||function(l){var d=+l;return(d>0?nU:aU)(d)}});var wl=g((K1,ca)=>{var GU=Ra();ca.exports=function(t){var l=+t;return l!==l||l===0?0:GU(l)}});var Ua=g((P1,Wa)=>{var RU=wl(),cU=Math.max,WU=Math.min;Wa.exports=function(t,l){var d=RU(t);return d<0?cU(d+l,0):WU(d,l)}});var RV=g((_1,Za)=>{var UU=wl(),ZU=Math.min;Za.exports=function(t){return t>0?ZU(UU(t),9007199254740991):0}});var Ll=g((q1,Ia)=>{var IU=RV();Ia.exports=function(t){return IU(t.length)}});var cV=g(($1,ga)=>{var FU=Pt(),gU=Ua(),mU=Ll(),Fa=function(t){return function(l,d,V){var i=FU(l),e=mU(i),a=gU(V,e),G;if(t&&d!=d){for(;e>a;)if(G=i[a++],G!=G)return!0}else for(;e>a;a++)if((t||a in i)&&i[a]===d)return t||a||0;return!t&&-1}};ga.exports={includes:Fa(!0),indexOf:Fa(!1)}});var UV=g((tp,pa)=>{var pU=K(),WV=pt(),BU=Pt(),oU=cV().indexOf,xU=Hl(),ma=pU([].push);pa.exports=function(t,l){var d=BU(t),V=0,i=[],e;for(e in d)!WV(xU,e)&&WV(d,e)&&ma(i,e);for(;l.length>V;)WV(d,e=l[V++])&&(~oU(i,e)||ma(i,e));return i}});var Ol=g((lp,Ba)=>{Ba.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var xa=g(oa=>{var JU=UV(),NU=Ol(),QU=NU.concat("length","prototype");oa.f=Object.getOwnPropertyNames||function(l){return JU(l,QU)}});var Na=g(Ja=>{Ja.f=Object.getOwnPropertySymbols});var Ca=g((ip,Qa)=>{var CU=zt(),hU=K(),XU=xa(),uU=Na(),sU=_t(),rU=hU([].concat);Qa.exports=CU("Reflect","ownKeys")||function(l){var d=XU.f(sU(l)),V=uU.f;return V?rU(d,V(l)):d}});var ua=g((ep,Xa)=>{var ha=pt(),YU=Ca(),TU=fd(),SU=Lt();Xa.exports=function(t,l,d){for(var V=YU(l),i=SU.f,e=TU.f,a=0;a<V.length;a++){var G=V[a];!ha(t,G)&&!(d&&ha(d,G))&&i(t,G,e(l,G))}}});var ra=g((bp,sa)=>{var kU=Vt(),MU=q(),HU=/#|\.prototype\./,$t=function(t,l){var d=EU[AU(t)];return d==zU?!0:d==yU?!1:MU(l)?kU(l):!!l},AU=$t.normalize=function(t){return String(t).replace(HU,".").toLowerCase()},EU=$t.data={},yU=$t.NATIVE="N",zU=$t.POLYFILL="P";sa.exports=$t});var tl=g((ap,Ya)=>{var ZV=dt(),wU=fd().f,LU=tV(),OU=na(),jU=Sl(),DU=ua(),vU=ra();Ya.exports=function(t,l){var d=t.target,V=t.global,i=t.stat,e,a,G,n,b,R;if(V?a=ZV:i?a=ZV[d]||jU(d,{}):a=(ZV[d]||{}).prototype,a)for(G in l){if(b=l[G],t.dontCallGetSet?(R=wU(a,G),n=R&&R.value):n=a[G],e=vU(V?G:d+(i?".":"#")+G,t.forced),!e&&n!==void 0){if(typeof b==typeof n)continue;DU(b,n)}(t.sham||n&&n.sham)&&LU(b,"sham",!0),OU(a,G,b,t)}}});var IV=g((np,Ta)=>{var fU=Et();Ta.exports=Array.isArray||function(l){return fU(l)=="Array"}});var ka=g((Gp,Sa)=>{var KU=TypeError,PU=9007199254740991;Sa.exports=function(t){if(t>PU)throw KU("Maximum allowed index exceeded");return t}});var Ha=g((Rp,Ma)=>{var _U=Et(),qU=K();Ma.exports=function(t){if(_U(t)==="Function")return qU(t)}});var ya=g((cp,Ea)=>{var Aa=Ha(),$U=Tl(),tZ=ul(),lZ=Aa(Aa.bind);Ea.exports=function(t,l){return $U(t),l===void 0?t:tZ?lZ(t,l):function(){return t.apply(l,arguments)}}});var La=g((Wp,wa)=>{"use strict";var dZ=IV(),VZ=Ll(),iZ=ka(),eZ=ya(),za=function(t,l,d,V,i,e,a,G){for(var n=i,b=0,R=a?eZ(a,G):!1,c,W;b<V;)b in d&&(c=R?R(d[b],b,l):d[b],e>0&&dZ(c)?(W=VZ(c),n=za(t,l,c,W,n,e-1)-1):(iZ(n+1),t[n]=c),n++),b++;return n};wa.exports=za});var Da=g((Up,ja)=>{var bZ=Bt(),aZ=bZ("toStringTag"),Oa={};Oa[aZ]="z";ja.exports=String(Oa)==="[object z]"});var FV=g((Zp,va)=>{var nZ=Da(),GZ=q(),jl=Et(),RZ=Bt(),cZ=RZ("toStringTag"),WZ=Object,UZ=jl(function(){return arguments}())=="Arguments",ZZ=function(t,l){try{return t[l]}catch(d){}};va.exports=nZ?jl:function(t){var l,d,V;return t===void 0?"Undefined":t===null?"Null":typeof(d=ZZ(l=WZ(t),cZ))=="string"?d:UZ?jl(l):(V=jl(l))=="Object"&&GZ(l.callee)?"Arguments":V}});var $a=g((Ip,qa)=>{var IZ=K(),FZ=Vt(),fa=q(),gZ=FV(),mZ=zt(),pZ=iV(),Ka=function(){},BZ=[],Pa=mZ("Reflect","construct"),gV=/^\s*(?:class|function)\b/,oZ=IZ(gV.exec),xZ=!gV.exec(Ka),ll=function(l){if(!fa(l))return!1;try{return Pa(Ka,BZ,l),!0}catch(d){return!1}},_a=function(l){if(!fa(l))return!1;switch(gZ(l)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xZ||!!oZ(gV,pZ(l))}catch(d){return!0}};_a.sham=!0;qa.exports=!Pa||FZ(function(){var t;return ll(ll.call)||!ll(Object)||!ll(function(){t=!0})||t})?_a:ll});var Vn=g((Fp,dn)=>{var tn=IV(),JZ=$a(),NZ=mt(),QZ=Bt(),CZ=QZ("species"),ln=Array;dn.exports=function(t){var l;return tn(t)&&(l=t.constructor,JZ(l)&&(l===ln||tn(l.prototype))?l=void 0:NZ(l)&&(l=l[CZ],l===null&&(l=void 0))),l===void 0?ln:l}});var bn=g((gp,en)=>{var hZ=Vn();en.exports=function(t,l){return new(hZ(t))(l===0?0:l)}});var an=g(()=>{"use strict";var XZ=tl(),uZ=La(),sZ=Tl(),rZ=wd(),YZ=Ll(),TZ=bn();XZ({target:"Array",proto:!0},{flatMap:function(l){var d=rZ(this),V=YZ(d),i;return sZ(l),i=TZ(d,0),i.length=uZ(i,d,d,V,0,1,l,arguments.length>1?arguments[1]:void 0),i}})});var Gn=g((Bp,nn)=>{var SZ=UV(),kZ=Ol();nn.exports=Object.keys||function(l){return SZ(l,kZ)}});var cn=g(Rn=>{var MZ=It(),HZ=Kd(),AZ=Lt(),EZ=_t(),yZ=Pt(),zZ=Gn();Rn.f=MZ&&!HZ?Object.defineProperties:function(l,d){EZ(l);for(var V=yZ(d),i=zZ(d),e=i.length,a=0,G;e>a;)AZ.f(l,G=i[a++],V[G]);return l}});var Un=g((xp,Wn)=>{var wZ=zt();Wn.exports=wZ("document","documentElement")});var on=g((Jp,Bn)=>{var LZ=_t(),OZ=cn(),Zn=Ol(),jZ=Hl(),DZ=Un(),vZ=Dd(),fZ=eV(),In=">",Fn="<",pV="prototype",BV="script",mn=fZ("IE_PROTO"),mV=function(){},pn=function(t){return Fn+BV+In+t+Fn+"/"+BV+In},gn=function(t){t.write(pn("")),t.close();var l=t.parentWindow.Object;return t=null,l},KZ=function(){var t=vZ("iframe"),l="java"+BV+":",d;return t.style.display="none",DZ.appendChild(t),t.src=String(l),d=t.contentWindow.document,d.open(),d.write(pn("document.F=Object")),d.close(),d.F},Dl,vl=function(){try{Dl=new ActiveXObject("htmlfile")}catch(l){}vl=typeof document!="undefined"?document.domain&&Dl?gn(Dl):KZ():gn(Dl);for(var t=Zn.length;t--;)delete vl[pV][Zn[t]];return vl()};jZ[mn]=!0;Bn.exports=Object.create||function(l,d){var V;return l!==null?(mV[pV]=LZ(l),V=new mV,mV[pV]=null,V[mn]=l):V=vl(),d===void 0?V:OZ.f(V,d)}});var JV=g((Np,xn)=>{var PZ=Bt(),_Z=on(),qZ=Lt().f,oV=PZ("unscopables"),xV=Array.prototype;xV[oV]==null&&qZ(xV,oV,{configurable:!0,value:_Z(null)});xn.exports=function(t){xV[oV][t]=!0}});var Jn=g(()=>{var $Z=JV();$Z("flatMap")});var dl=g((hp,Nn)=>{var tI=dt(),lI=K();Nn.exports=function(t,l){return lI(tI[t].prototype[l])}});var Cn=g((Xp,Qn)=>{an();Jn();var dI=dl();Qn.exports=dI("Array","flatMap")});var Xn=g((up,hn)=>{var VI=Cn();hn.exports=VI});var sn=g((sp,un)=>{var iI=Xn();un.exports=iI});var rn=g(()=>{"use strict";var eI=tl(),bI=cV().includes,aI=Vt(),nI=JV(),GI=aI(function(){return!Array(1).includes()});eI({target:"Array",proto:!0,forced:GI},{includes:function(l){return bI(this,l,arguments.length>1?arguments[1]:void 0)}});nI("includes")});var Tn=g((Tp,Yn)=>{rn();var RI=dl();Yn.exports=RI("Array","includes")});var kn=g((Sp,Sn)=>{var cI=Tn();Sn.exports=cI});var Hn=g((kp,Mn)=>{var WI=kn();Mn.exports=WI});var En=g((Mp,An)=>{var UI=mt(),ZI=Et(),II=Bt(),FI=II("match");An.exports=function(t){var l;return UI(t)&&((l=t[FI])!==void 0?!!l:ZI(t)=="RegExp")}});var zn=g((Hp,yn)=>{var gI=En(),mI=TypeError;yn.exports=function(t){if(gI(t))throw mI("The method doesn't accept regular expressions");return t}});var fl=g((Ap,wn)=>{var pI=FV(),BI=String;wn.exports=function(t){if(pI(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return BI(t)}});var On=g((Ep,Ln)=>{var oI=Bt(),xI=oI("match");Ln.exports=function(t){var l=/./;try{"/./"[t](l)}catch(d){try{return l[xI]=!1,"/./"[t](l)}catch(V){}}return!1}});var Dn=g(()=>{"use strict";var JI=tl(),NI=K(),QI=zn(),CI=yt(),jn=fl(),hI=On(),XI=NI("".indexOf);JI({target:"String",proto:!0,forced:!hI("includes")},{includes:function(l){return!!~XI(jn(CI(this)),jn(QI(l)),arguments.length>1?arguments[1]:void 0)}})});var fn=g((wp,vn)=>{Dn();var uI=dl();vn.exports=uI("String","includes")});var Pn=g((Lp,Kn)=>{var sI=fn();Kn.exports=sI});var qn=g((Op,_n)=>{var rI=Pn();_n.exports=rI});var tG=g((jp,$n)=>{"use strict";var YI=wl(),TI=fl(),SI=yt(),kI=RangeError;$n.exports=function(l){var d=TI(SI(this)),V="",i=YI(l);if(i<0||i==1/0)throw kI("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(d+=d))i&1&&(V+=d);return V}});var eG=g((Dp,iG)=>{var VG=K(),MI=RV(),lG=fl(),HI=tG(),AI=yt(),EI=VG(HI),yI=VG("".slice),zI=Math.ceil,dG=function(t){return function(l,d,V){var i=lG(AI(l)),e=MI(d),a=i.length,G=V===void 0?" ":lG(V),n,b;return e<=a||G==""?i:(n=e-a,b=EI(G,zI(n/G.length)),b.length>n&&(b=yI(b,0,n)),t?i+b:b+i)}};iG.exports={start:dG(!1),end:dG(!0)}});var aG=g((vp,bG)=>{var wI=Td();bG.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(wI)});var nG=g(()=>{"use strict";var LI=tl(),OI=eG().start,jI=aG();LI({target:"String",proto:!0,forced:jI},{padStart:function(l){return OI(this,l,arguments.length>1?arguments[1]:void 0)}})});var RG=g((Pp,GG)=>{nG();var DI=dl();GG.exports=DI("String","padStart")});var WG=g((_p,cG)=>{var vI=RG();cG.exports=vI});var ZG=g((qp,UG)=>{var fI=WG();UG.exports=fI});var oG=g((lB,XV)=>{function hV(){}hV.prototype={on:function(t,l,d){var V=this.e||(this.e={});return(V[t]||(V[t]=[])).push({fn:l,ctx:d}),this},once:function(t,l,d){var V=this;function i(){V.off(t,i),l.apply(d,arguments)}return i._=l,this.on(t,i,d)},emit:function(t){var l=[].slice.call(arguments,1),d=((this.e||(this.e={}))[t]||[]).slice(),V=0,i=d.length;for(V;V<i;V++)d[V].fn.apply(d[V].ctx,l);return this},off:function(t,l){var d=this.e||(this.e={}),V=d[t],i=[];if(V&&l)for(var e=0,a=V.length;e<a;e++)V[e].fn!==l&&V[e].fn._!==l&&i.push(V[e]);return i.length?d[t]=i:delete d[t],this}};XV.exports=hV;XV.exports.TinyEmitter=hV});var f=g((kV,MV)=>{(function(t){"use strict";var l=function(){},d=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(b){return setTimeout(b,16)};function V(){var b=this;b.reads=[],b.writes=[],b.raf=d.bind(t),l("initialized",b)}V.prototype={constructor:V,runTasks:function(b){l("run tasks");for(var R;R=b.shift();)R()},measure:function(b,R){l("measure");var c=R?b.bind(R):b;return this.reads.push(c),i(this),c},mutate:function(b,R){l("mutate");var c=R?b.bind(R):b;return this.writes.push(c),i(this),c},clear:function(b){return l("clear",b),a(this.reads,b)||a(this.writes,b)},extend:function(b){if(l("extend",b),typeof b!="object")throw new Error("expected object");var R=Object.create(this);return G(R,b),R.fastdom=this,R.initialize&&R.initialize(),R},catch:null};function i(b){b.scheduled||(b.scheduled=!0,b.raf(e.bind(null,b)),l("flush scheduled"))}function e(b){l("flush");var R=b.writes,c=b.reads,W;try{l("flushing reads",c.length),b.runTasks(c),l("flushing writes",R.length),b.runTasks(R)}catch(I){W=I}if(b.scheduled=!1,(c.length||R.length)&&i(b),W)if(l("task errored",W.message),b.catch)b.catch(W);else throw W}function a(b,R){var c=b.indexOf(R);return!!~c&&!!b.splice(c,1)}function G(b,R){for(var c in R)R.hasOwnProperty(c)&&(b[c]=R[c])}var n=t.fastdom=t.fastdom||new V;typeof MV=="object"&&(MV.exports=n)})(typeof window!="undefined"?window:typeof kV!="undefined"?kV:globalThis)});var HV=g((pB,uG)=>{uG.exports=gF;function gF(t,l,d){return l<d?t<l?l:t>d?d:t:t<d?d:t>l?l:t}});var AV=g((NB,Pl)=>{(function(){"use strict";var t=function(){function l(){}l.prototype=Object.create(null);function d(R,c){for(var W=c.length,I=0;I<W;++I)n(R,c[I])}var V={}.hasOwnProperty;function i(R,c){R[c]=!0}function e(R,c){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){R[c.toString()]=!0;return}for(var W in c)V.call(c,W)&&(R[W]=!!c[W])}var a=/\s+/;function G(R,c){for(var W=c.split(a),I=W.length,p=0;p<I;++p)R[W[p]]=!0}function n(R,c){if(c){var W=typeof c;W==="string"?G(R,c):Array.isArray(c)?d(R,c):W==="object"?e(R,c):W==="number"&&i(R,c)}}function b(){for(var R=arguments.length,c=Array(R),W=0;W<R;W++)c[W]=arguments[W];var I=new l;d(I,c);var p=[];for(var U in I)I[U]&&p.push(U);return p.join(" ")}return b}();typeof Pl!="undefined"&&Pl.exports?(t.default=t,Pl.exports=t):window.classNames=t})()});var rG=g((sG,_l)=>{(function(t){var l={browser:[[/msie ([\.\_\d]+)/,"ie"],[/trident\/.*?rv:([\.\_\d]+)/,"ie"],[/firefox\/([\.\_\d]+)/,"firefox"],[/chrome\/([\.\_\d]+)/,"chrome"],[/version\/([\.\_\d]+).*?safari/,"safari"],[/mobile safari ([\.\_\d]+)/,"safari"],[/android.*?version\/([\.\_\d]+).*?safari/,"com.android.browser"],[/crios\/([\.\_\d]+).*?safari/,"chrome"],[/opera/,"opera"],[/opera\/([\.\_\d]+)/,"opera"],[/opera ([\.\_\d]+)/,"opera"],[/opera mini.*?version\/([\.\_\d]+)/,"opera.mini"],[/opios\/([a-z\.\_\d]+)/,"opera"],[/blackberry/,"blackberry"],[/blackberry.*?version\/([\.\_\d]+)/,"blackberry"],[/bb\d+.*?version\/([\.\_\d]+)/,"blackberry"],[/rim.*?version\/([\.\_\d]+)/,"blackberry"],[/iceweasel\/([\.\_\d]+)/,"iceweasel"],[/edge\/([\.\d]+)/,"edge"]],os:[[/linux ()([a-z\.\_\d]+)/,"linux"],[/mac os x/,"macos"],[/mac os x.*?([\.\_\d]+)/,"macos"],[/os ([\.\_\d]+) like mac os/,"ios"],[/openbsd ()([a-z\.\_\d]+)/,"openbsd"],[/android/,"android"],[/android ([a-z\.\_\d]+);/,"android"],[/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/,"firefoxos"],[/windows\s*(?:nt)?\s*([\.\_\d]+)/,"windows"],[/windows phone.*?([\.\_\d]+)/,"windows.phone"],[/windows mobile/,"windows.mobile"],[/blackberry/,"blackberryos"],[/bb\d+/,"blackberryos"],[/rim.*?os\s*([\.\_\d]+)/,"blackberryos"]],device:[[/ipad/,"ipad"],[/iphone/,"iphone"],[/lumia/,"lumia"],[/htc/,"htc"],[/nexus/,"nexus"],[/galaxy nexus/,"galaxy.nexus"],[/nokia/,"nokia"],[/ gt\-/,"galaxy"],[/ sm\-/,"galaxy"],[/xbox/,"xbox"],[/(?:bb\d+)|(?:blackberry)|(?: rim )/,"blackberry"]]},d="Unknown",V=Object.keys(l);function i(){var G=this;V.forEach(function(n){G[n]={name:d,version:[],versionString:d}})}function e(G,n,b){l[n].forEach(function(R){var c=R[0],W=R[1],I=b.match(c);I&&(G[n].name=W,I[2]?(G[n].versionString=I[2],G[n].version=[]):I[1]?(G[n].versionString=I[1].replace(/_/g,"."),G[n].version=a(I[1])):(G[n].versionString=d,G[n].version=[]))})}function a(G){return G.split(/[\._]/).map(function(n){return parseInt(n)})}i.prototype.sniff=function(G){var n=this,b=typeof window!="undefined",R=b?navigator.userAgent:"",c=(G||R).toLowerCase();return V.forEach(function(W){e(n,W,c)}),this},typeof _l!="undefined"&&_l.exports?_l.exports=i:(t.Sniffr=new i,t.Sniffr.sniff(navigator.userAgent))})(sG)});var jV=g((PB,MG)=>{MG.exports=function(){var t=function(G){return typeof G=="function"},l=function(G){var n=Number(G);return isNaN(n)?0:n===0||!isFinite(n)?n:(n>0?1:-1)*Math.floor(Math.abs(n))},d=Math.pow(2,53)-1,V=function(G){var n=l(G);return Math.min(Math.max(n,0),d)},i=function(G){if(G!=null){if(["string","number","boolean","symbol"].indexOf(typeof G)>-1)return Symbol.iterator;if(typeof Symbol!="undefined"&&"iterator"in Symbol&&Symbol.iterator in G)return Symbol.iterator;if("@@iterator"in G)return"@@iterator"}},e=function(G,n){if(G!=null&&n!=null){var b=G[n];if(b==null)return;if(!t(b))throw new TypeError(b+" is not a function");return b}},a=function(G){var n=G.next(),b=!!n.done;return b?!1:n};return function(n){"use strict";var b=this,R=arguments.length>1?arguments[1]:void 0,c;if(typeof R!="undefined"){if(!t(R))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(c=arguments[2])}var W,I,p=e(n,i(n));if(p!==void 0){W=t(b)?Object(new b):[];var U=p.call(n);if(U==null)throw new TypeError("Array.from requires an array-like or iterable object");I=0;for(var Z,m;;){if(Z=a(U),!Z)return W.length=I,W;m=Z.value,R?W[I]=R.call(c,m,I):W[I]=m,I++}}else{var J=Object(n);if(n==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");var h=V(J.length);W=t(b)?Object(new b(h)):new Array(h),I=0;for(var u;I<h;)u=J[I],R?W[I]=R.call(c,u,I):W[I]=u,I++;W.length=h}return W}}()});var zG=g((io,yG)=>{var al,nl;typeof document.hidden!="undefined"?(al="hidden",nl="visibilitychange"):typeof document.mozHidden!="undefined"?(al="mozHidden",nl="mozvisibilitychange"):typeof document.msHidden!="undefined"?(al="msHidden",nl="msvisibilitychange"):typeof document.webkitHidden!="undefined"&&(al="webkitHidden",nl="webkitvisibilitychange");yG.exports={hidden:al,visibilityChange:nl}});var jG=g((Rl,fV)=>{(function(t,l){typeof Rl=="object"&&typeof fV=="object"?fV.exports=l():typeof Rl=="object"?Rl.StateMachine=l():t.StateMachine=l()})(Rl,function(){return d={},t.m=l=[function(V,i,e){"use strict";V.exports=function(a,G){for(var n,b,R=1;R<arguments.length;R++)for(b in n=arguments[R])n.hasOwnProperty(b)&&(a[b]=n[b]);return a}},function(V,i,e){"use strict";var a=e(0);V.exports={build:function(G,n){for(var b,R=n.plugins,c=0,W=R.length;c<W;c++)(b=R[c]).methods&&a(G,b.methods),b.properties&&Object.defineProperties(G,b.properties)},hook:function(G,n,b){var R,c,W,I,p=G.config.plugins,U=[G.context];for(b&&(U=U.concat(b)),R=0,c=p.length;R<c;R++)I=p[R],(W=p[R][n])&&W.apply(I,U)}}},function(V,i,e){"use strict";function a(G){if(G.length===0)return G;var n,b,R=G.split(/[_-]/);if(R.length===1&&R[0][0].toLowerCase()===R[0][0])return G;for(b=R[0].toLowerCase(),n=1;n<R.length;n++)b=b+R[n].charAt(0).toUpperCase()+R[n].substring(1).toLowerCase();return b}a.prepended=function(G,n){return G+(n=a(n))[0].toUpperCase()+n.substring(1)},V.exports=a},function(V,i,e){"use strict";var a=e(0),G=e(2);function n(b,R){b=b||{},this.options=b,this.defaults=R.defaults,this.states=[],this.transitions=[],this.map={},this.lifecycle=this.configureLifecycle(),this.init=this.configureInitTransition(b.init),this.data=this.configureData(b.data),this.methods=this.configureMethods(b.methods),this.map[this.defaults.wildcard]={},this.configureTransitions(b.transitions||[]),this.plugins=this.configurePlugins(b.plugins,R.plugin)}a(n.prototype,{addState:function(b){this.map[b]||(this.states.push(b),this.addStateLifecycleNames(b),this.map[b]={})},addStateLifecycleNames:function(b){this.lifecycle.onEnter[b]=G.prepended("onEnter",b),this.lifecycle.onLeave[b]=G.prepended("onLeave",b),this.lifecycle.on[b]=G.prepended("on",b)},addTransition:function(b){this.transitions.indexOf(b)<0&&(this.transitions.push(b),this.addTransitionLifecycleNames(b))},addTransitionLifecycleNames:function(b){this.lifecycle.onBefore[b]=G.prepended("onBefore",b),this.lifecycle.onAfter[b]=G.prepended("onAfter",b),this.lifecycle.on[b]=G.prepended("on",b)},mapTransition:function(b){var R=b.name,c=b.from,W=b.to;return this.addState(c),typeof W!="function"&&this.addState(W),this.addTransition(R),this.map[c][R]=b},configureLifecycle:function(){return{onBefore:{transition:"onBeforeTransition"},onAfter:{transition:"onAfterTransition"},onEnter:{state:"onEnterState"},onLeave:{state:"onLeaveState"},on:{transition:"onTransition"}}},configureInitTransition:function(b){return typeof b=="string"?this.mapTransition(a({},this.defaults.init,{to:b,active:!0})):typeof b=="object"?this.mapTransition(a({},this.defaults.init,b,{active:!0})):(this.addState(this.defaults.init.from),this.defaults.init)},configureData:function(b){return typeof b=="function"?b:typeof b=="object"?function(){return b}:function(){return{}}},configureMethods:function(b){return b||{}},configurePlugins:function(b,R){for(var c,W=0,I=(b=b||[]).length;W<I;W++)typeof(c=b[W])=="function"&&(b[W]=c=c()),c.configure&&c.configure(this);return b},configureTransitions:function(b){for(var R,c,W,I,p=this.defaults.wildcard,U=0;U<b.length;U++)for(c=b[U],W=Array.isArray(c.from)?c.from:[c.from||p],I=c.to||p,R=0;R<W.length;R++)this.mapTransition({name:c.name,from:W[R],to:I})},transitionFor:function(b,R){var c=this.defaults.wildcard;return this.map[b][R]||this.map[c][R]},transitionsFor:function(b){var R=this.defaults.wildcard;return Object.keys(this.map[b]).concat(Object.keys(this.map[R]))},allStates:function(){return this.states},allTransitions:function(){return this.transitions}}),V.exports=n},function(V,i,e){var a=e(0),G=e(6),n=e(1),b=[null,[]];function R(c,W){this.context=c,this.config=W,this.state=W.init.from,this.observers=[c]}a(R.prototype,{init:function(c){if(a(this.context,this.config.data.apply(this.context,c)),n.hook(this,"init"),this.config.init.active)return this.fire(this.config.init.name,[])},is:function(c){return Array.isArray(c)?0<=c.indexOf(this.state):this.state===c},isPending:function(){return this.pending},can:function(c){return!this.isPending()&&!!this.seek(c)},cannot:function(c){return!this.can(c)},allStates:function(){return this.config.allStates()},allTransitions:function(){return this.config.allTransitions()},transitions:function(){return this.config.transitionsFor(this.state)},seek:function(p,W){var I=this.config.defaults.wildcard,p=this.config.transitionFor(this.state,p),p=p&&p.to;return typeof p=="function"?p.apply(this.context,W):p===I?this.state:p},fire:function(c,W){return this.transit(c,this.state,this.seek(c,W),W)},transit:function(c,W,I,p){var U=this.config.lifecycle,Z=this.config.options.observeUnchangedState||W!==I;return I?this.isPending()?this.context.onPendingTransition(c,W,I):(this.config.addState(I),this.beginTransit(),p.unshift({transition:c,from:W,to:I,fsm:this.context}),this.observeEvents([this.observersForEvent(U.onBefore.transition),this.observersForEvent(U.onBefore[c]),Z?this.observersForEvent(U.onLeave.state):b,Z?this.observersForEvent(U.onLeave[W]):b,this.observersForEvent(U.on.transition),Z?["doTransit",[this]]:b,Z?this.observersForEvent(U.onEnter.state):b,Z?this.observersForEvent(U.onEnter[I]):b,Z?this.observersForEvent(U.on[I]):b,this.observersForEvent(U.onAfter.transition),this.observersForEvent(U.onAfter[c]),this.observersForEvent(U.on[c])],p)):this.context.onInvalidTransition(c,W,I)},beginTransit:function(){this.pending=!0},endTransit:function(c){return this.pending=!1,c},failTransit:function(c){throw this.pending=!1,c},doTransit:function(c){this.state=c.to},observe:function(c){var W;c.length===2?((W={})[c[0]]=c[1],this.observers.push(W)):this.observers.push(c[0])},observersForEvent:function(c){for(var W,I=0,p=this.observers.length,U=[];I<p;I++)(W=this.observers[I])[c]&&U.push(W);return[c,U,!0]},observeEvents:function(c,W,I,p){if(c.length===0)return this.endTransit(p===void 0||p);var U=c[0][0],Z=c[0][1],m=c[0][2];return(W[0].event=U)&&m&&U!==I&&n.hook(this,"lifecycle",W),Z.length===0?(c.shift(),this.observeEvents(c,W,U,p)):(Z=Z.shift(),Z=Z[U].apply(Z,W),Z&&typeof Z.then=="function"?Z.then(this.observeEvents.bind(this,c,W,U)).catch(this.failTransit.bind(this)):Z===!1?this.endTransit(!1):this.observeEvents(c,W,U,Z))},onInvalidTransition:function(c,W,I){throw new G("transition is invalid in current state",c,W,I,this.state)},onPendingTransition:function(c,W,I){throw new G("transition is invalid while previous transition is still in progress",c,W,I,this.state)}}),V.exports=R},function(V,i,e){"use strict";var a=e(0),G=e(2),n=e(1),b=e(3),R=e(4),c={is:function(Z){return this._fsm.is(Z)},can:function(Z){return this._fsm.can(Z)},cannot:function(Z){return this._fsm.cannot(Z)},observe:function(){return this._fsm.observe(arguments)},transitions:function(){return this._fsm.transitions()},allTransitions:function(){return this._fsm.allTransitions()},allStates:function(){return this._fsm.allStates()},onInvalidTransition:function(Z,m,J){return this._fsm.onInvalidTransition(Z,m,J)},onPendingTransition:function(Z,m,J){return this._fsm.onPendingTransition(Z,m,J)}},W={state:{configurable:!1,enumerable:!0,get:function(){return this._fsm.state},set:function(Z){throw Error("use transitions to change state")}}};function I(Z){return p(this||{},Z)}function p(Z,m){return U(Z,new b(m,I)),Z._fsm(),Z}function U(Z,m){if(typeof Z!="object"||Array.isArray(Z))throw Error("StateMachine can only be applied to objects");n.build(Z,m),Object.defineProperties(Z,W),a(Z,c),a(Z,m.methods),m.allTransitions().forEach(function(J){Z[G(J)]=function(){return this._fsm.fire(J,[].slice.call(arguments))}}),Z._fsm=function(){this._fsm=new R(this,m),this._fsm.init(arguments)}}I.version="3.0.1",I.factory=function(){var Z,m=typeof arguments[0]=="function"?(Z=arguments[0],arguments[1]||{}):(Z=function(){this._fsm.apply(this,arguments)},arguments[0]||{}),m=new b(m,I);return U(Z.prototype,m),Z.prototype._fsm.config=m,Z},I.apply=p,I.defaults={wildcard:"*",init:{name:"init",from:"none"}},V.exports=I},function(V,i,e){"use strict";V.exports=function(a,G,n,b,R){this.message=a,this.transition=G,this.from=n,this.to=b,this.current=R}}],t.c=d,t.i=function(V){return V},t.d=function(V,i,e){t.o(V,i)||Object.defineProperty(V,i,{configurable:!1,enumerable:!0,get:e})},t.n=function(V){var i=V&&V.__esModule?function(){return V.default}:function(){return V};return t.d(i,"a",i),i},t.o=function(V,i){return Object.prototype.hasOwnProperty.call(V,i)},t.p="",t(t.s=5);function t(V){if(d[V])return d[V].exports;var i=d[V]={i:V,l:!1,exports:{}};return l[V].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var l,d})});var QR=g((NR,Bd)=>{(function(t,l){typeof Bd=="object"&&Bd.exports?Bd.exports=l():function d(){document&&document.body?t.zenscroll=l():setTimeout(d,9)}()})(NR,function(){"use strict";var t=function(n){return n&&"getComputedStyle"in window&&window.getComputedStyle(n)["scroll-behavior"]==="smooth"};if(typeof window=="undefined"||!("document"in window))return{};var l=function(n,b,R){b=b||999,!R&&R!==0&&(R=9);var c,W=function(u){c=u},I=function(){clearTimeout(c),W(0)},p=function(u){return Math.max(0,n.getTopOf(u)-R)},U=function(u,x,F){if(I(),x===0||x&&x<0||t(n.body))n.toY(u),F&&F();else{var Y=n.getY(),X=Math.max(0,u)-Y,S=new Date().getTime();x=x||Math.min(Math.abs(X),b),function Q(){W(setTimeout(function(){var o=Math.min(1,(new Date().getTime()-S)/x),N=Math.max(0,Math.floor(Y+X*(o<.5?2*o*o:o*(4-o*2)-1)));n.toY(N),o<1&&n.getHeight()+N<n.body.scrollHeight?Q():(setTimeout(I,99),F&&F())},9))}()}},Z=function(u,x,F){U(p(u),x,F)},m=function(u,x,F){var Y=u.getBoundingClientRect().height,X=n.getTopOf(u)+Y,S=n.getHeight(),Q=n.getY(),o=Q+S;p(u)<Q||Y+R>S?Z(u,x,F):X+R>o?U(X-S+R,x,F):F&&F()},J=function(u,x,F,Y){U(Math.max(0,n.getTopOf(u)-n.getHeight()/2+(F||u.getBoundingClientRect().height/2)),x,Y)},h=function(u,x){return(u===0||u)&&(b=u),(x===0||x)&&(R=x),{defaultDuration:b,edgeOffset:R}};return{setup:h,to:Z,toY:U,intoView:m,center:J,stop:I,moving:function(){return!!c},getY:n.getY,getTopOf:n.getTopOf}},d=document.documentElement,V=function(){return window.scrollY||d.scrollTop},i=l({body:document.scrollingElement||document.body,toY:function(n){window.scrollTo(0,n)},getY:V,getHeight:function(){return window.innerHeight||d.clientHeight},getTopOf:function(n){return n.getBoundingClientRect().top+V()-d.offsetTop}});if(i.createScroller=function(n,b,R){return l({body:n,toY:function(c){n.scrollTop=c},getY:function(){return n.scrollTop},getHeight:function(){return Math.min(n.clientHeight,window.innerHeight||d.clientHeight)},getTopOf:function(c){return c.offsetTop}},b,R)},"addEventListener"in window&&!window.noZensmooth&&!t(document.body)){var e="history"in window&&"pushState"in history,a=e&&"scrollRestoration"in history;a&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){a&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(n){n.state&&"zenscrollY"in n.state&&i.toY(n.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var n=i.setup().edgeOffset;if(n){var b=document.getElementById(window.location.href.split("#")[1]);if(b){var R=Math.max(0,i.getTopOf(b)-n),c=i.getY()-R;0<=c&&c<9&&window.scrollTo(0,R)}}},9)},!1);var G=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(n){for(var b=n.target;b&&b.tagName!=="A";)b=b.parentNode;if(!(!b||n.which!==1||n.shiftKey||n.metaKey||n.ctrlKey||n.altKey)){if(a){var R=history.state&&typeof history.state=="object"?history.state:{};R.zenscrollY=i.getY();try{history.replaceState(R,"")}catch(Z){}}var c=b.getAttribute("href")||"";if(c.indexOf("#")===0&&!G.test(b.className)){var W=0,I=document.getElementById(c.substring(1));if(c!=="#"){if(!I)return;W=i.getTopOf(I)}n.preventDefault();var p=function(){window.location=c},U=i.setup().edgeOffset;U&&(W=Math.max(0,W-U),e&&(p=function(){history.pushState({},"",c)})),i.toY(W,null,p)}}},!1)}return i})});var Yi=g((XN,YR)=>{"use strict";var wg=YR.exports={};wg.forEach=function(t,l){for(var d=0;d<t.length;d++){var V=l(t[d]);if(V)return V}}});var SR=g((uN,TR)=>{"use strict";TR.exports=function(t){var l=t.stateHandler.getState;function d(a){var G=l(a);return G&&!!G.isDetectable}function V(a){l(a).isDetectable=!0}function i(a){return!!l(a).busy}function e(a,G){l(a).busy=!!G}return{isDetectable:d,markAsDetectable:V,isBusy:i,markBusy:e}}});var MR=g((sN,kR)=>{"use strict";kR.exports=function(t){var l={};function d(a){var G=t.get(a);return G===void 0?[]:l[G]||[]}function V(a,G){var n=t.get(a);l[n]||(l[n]=[]),l[n].push(G)}function i(a,G){for(var n=d(a),b=0,R=n.length;b<R;++b)if(n[b]===G){n.splice(b,1);break}}function e(a){var G=d(a);G&&(G.length=0)}return{get:d,add:V,removeListener:i,removeAllListeners:e}}});var AR=g((rN,HR)=>{"use strict";HR.exports=function(){var t=1;function l(){return t++}return{generate:l}}});var yR=g((YN,ER)=>{"use strict";ER.exports=function(t){var l=t.idGenerator,d=t.stateHandler.getState;function V(e){var a=d(e);return a&&a.id!==void 0?a.id:null}function i(e){var a=d(e);if(!a)throw new Error("setId required the element to have a resize detection state.");var G=l.generate();return a.id=G,G}return{get:V,set:i}}});var wR=g((TN,zR)=>{"use strict";zR.exports=function(t){function l(){}var d={log:l,warn:l,error:l};if(!t&&window.console){var V=function(i,e){i[e]=function(){var G=console[e];if(G.apply)G.apply(console,arguments);else for(var n=0;n<arguments.length;n++)G(arguments[n])}};V(d,"log"),V(d,"warn"),V(d,"error")}return d}});var Ti=g((SN,OR)=>{"use strict";var LR=OR.exports={};LR.isIE=function(t){function l(){var V=navigator.userAgent.toLowerCase();return V.indexOf("msie")!==-1||V.indexOf("trident")!==-1||V.indexOf(" edge/")!==-1}if(!l())return!1;if(!t)return!0;var d=function(){var V,i=3,e=document.createElement("div"),a=e.getElementsByTagName("i");do e.innerHTML="<!--[if gt IE "+ ++i+"]><i></i><![endif]-->";while(a[0]);return i>4?i:V}();return t===d};LR.isLegacyOpera=function(){return!!window.opera}});var DR=g((kN,jR)=>{"use strict";var Lg=jR.exports={};Lg.getOption=Og;function Og(t,l,d){var V=t[l];return V==null&&d!==void 0?d:V}});var PR=g((MN,KR)=>{"use strict";var vR=DR();KR.exports=function(l){l=l||{};var d=l.reporter,V=vR.getOption(l,"async",!0),i=vR.getOption(l,"auto",!0);i&&!V&&(d&&d.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),V=!0);var e=fR(),a,G=!1;function n(U,Z){!G&&i&&V&&e.size()===0&&c(),e.add(U,Z)}function b(){for(G=!0;e.size();){var U=e;e=fR(),U.process()}G=!1}function R(U){G||(U===void 0&&(U=V),a&&(I(a),a=null),U?c():b())}function c(){a=p(b)}function W(){e={},batchSize=0,topLevel=0,bottomLevel=0}function I(U){var Z=clearTimeout;return Z(U)}function p(U){var Z=function(m){return setTimeout(m,0)};return Z(U)}return{add:n,force:R}};function fR(){var t={},l=0,d=0,V=0;function i(G,n){n||(n=G,G=0),G>d?d=G:G<V&&(V=G),t[G]||(t[G]=[]),t[G].push(n),l++}function e(){for(var G=V;G<=d;G++)for(var n=t[G],b=0;b<n.length;b++){var R=n[b];R()}}function a(){return l}return{add:i,process:e,size:a}}});var $R=g((HN,qR)=>{"use strict";var Si="_erd";function jg(t){return t[Si]={},_R(t)}function _R(t){return t[Si]}function Dg(t){delete t[Si]}qR.exports={initState:jg,getState:_R,cleanState:Dg}});var lc=g((AN,tc)=>{"use strict";var Bl=Ti();tc.exports=function(t){t=t||{};var l=t.reporter,d=t.batchProcessor,V=t.stateHandler.getState;if(!l)throw new Error("Missing required dependency: reporter.");function i(b,R){function c(){R(b)}if(Bl.isIE(8))V(b).object={proxy:c},b.attachEvent("onresize",c);else{var W=G(b);if(!W)throw new Error("Element is not detectable by this strategy.");W.contentDocument.defaultView.addEventListener("resize",c)}}function e(b){var R=t.important?" !important; ":"; ";return(b.join(R)+R).trim()}function a(b,R,c){c||(c=R,R=b,b=null),b=b||{};var W=b.debug;function I(p,U){var Z=e(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),m=!1,J=window.getComputedStyle(p),h=p.offsetWidth,u=p.offsetHeight;V(p).startSize={width:h,height:u};function x(){function F(){if(J.position==="static"){p.style.setProperty("position","relative",b.important?"important":"");var S=function(Q,o,N,C){function k(P){return P.replace(/[^-\d\.]/g,"")}var r=N[C];r!=="auto"&&k(r)!=="0"&&(Q.warn("An element that is positioned static has style."+C+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+C+" will be set to 0. Element: ",o),o.style.setProperty(C,"0",b.important?"important":""))};S(l,p,J,"top"),S(l,p,J,"right"),S(l,p,J,"bottom"),S(l,p,J,"left")}}function Y(){m||F();function S(o,N){if(!o.contentDocument){var C=V(o);C.checkForObjectDocumentTimeoutId&&window.clearTimeout(C.checkForObjectDocumentTimeoutId),C.checkForObjectDocumentTimeoutId=setTimeout(function(){C.checkForObjectDocumentTimeoutId=0,S(o,N)},100);return}N(o.contentDocument)}var Q=this;S(Q,function(N){U(p)})}J.position!==""&&(F(J),m=!0);var X=document.createElement("object");X.style.cssText=Z,X.tabIndex=-1,X.type="text/html",X.setAttribute("aria-hidden","true"),X.onload=Y,Bl.isIE()||(X.data="about:blank"),V(p)&&(p.appendChild(X),V(p).object=X,Bl.isIE()&&(X.data="about:blank"))}d?d.add(x):x()}Bl.isIE(8)?c(R):I(R,c)}function G(b){return V(b).object}function n(b){if(V(b)){var R=G(b);R&&(Bl.isIE(8)?b.detachEvent("onresize",R.proxy):b.removeChild(R),V(b).checkForObjectDocumentTimeoutId&&window.clearTimeout(V(b).checkForObjectDocumentTimeoutId),delete V(b).object)}}return{makeDetectable:a,addListener:i,uninstall:n}}});var Vc=g((EN,dc)=>{"use strict";var vg=Yi().forEach;dc.exports=function(t){t=t||{};var l=t.reporter,d=t.batchProcessor,V=t.stateHandler.getState,i=t.stateHandler.hasState,e=t.idHandler;if(!d)throw new Error("Missing required dependency: batchProcessor");if(!l)throw new Error("Missing required dependency: reporter.");var a=c(),G="erd_scroll_detection_scrollbar_style",n="erd_scroll_detection_container";function b(x){W(x,G,n)}b(window.document);function R(x){var F=t.important?" !important; ":"; ";return(x.join(F)+F).trim()}function c(){var x=500,F=500,Y=document.createElement("div");Y.style.cssText=R(["position: absolute","width: "+x*2+"px","height: "+F*2+"px","visibility: hidden","margin: 0","padding: 0"]);var X=document.createElement("div");X.style.cssText=R(["position: absolute","width: "+x+"px","height: "+F+"px","overflow: scroll","visibility: none","top: "+-x*3+"px","left: "+-F*3+"px","visibility: hidden","margin: 0","padding: 0"]),X.appendChild(Y),document.body.insertBefore(X,document.body.firstChild);var S=x-X.clientWidth,Q=F-X.clientHeight;return document.body.removeChild(X),{width:S,height:Q}}function W(x,F,Y){function X(N,C){C=C||function(r){x.head.appendChild(r)};var k=x.createElement("style");return k.innerHTML=N,k.id=F,C(k),k}if(!x.getElementById(F)){var S=Y+"_animation",Q=Y+"_animation_active",o=`/* Created by the element-resize-detector library. */
`;o+="."+Y+" > div::-webkit-scrollbar { "+R(["display: none"])+` }

`,o+="."+Q+" { "+R(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+S,"animation-name: "+S])+` }
`,o+="@-webkit-keyframes "+S+` { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
`,o+="@keyframes "+S+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",X(o)}}function I(x){x.className+=" "+n+"_animation_active"}function p(x,F,Y){if(x.addEventListener)x.addEventListener(F,Y);else if(x.attachEvent)x.attachEvent("on"+F,Y);else return l.error("[scroll] Don't know how to add event listeners.")}function U(x,F,Y){if(x.removeEventListener)x.removeEventListener(F,Y);else if(x.detachEvent)x.detachEvent("on"+F,Y);else return l.error("[scroll] Don't know how to remove event listeners.")}function Z(x){return V(x).container.childNodes[0].childNodes[0].childNodes[0]}function m(x){return V(x).container.childNodes[0].childNodes[0].childNodes[1]}function J(x,F){var Y=V(x).listeners;if(!Y.push)throw new Error("Cannot add listener to an element that is not detectable.");V(x).listeners.push(F)}function h(x,F,Y){Y||(Y=F,F=x,x=null),x=x||{};function X(){if(x.debug){var s=Array.prototype.slice.call(arguments);if(s.unshift(e.get(F),"Scroll: "),l.log.apply)l.log.apply(null,s);else for(var M=0;M<s.length;M++)l.log(s[M])}}function S(s){function M(y){var nt=y.getRootNode&&y.getRootNode().contains(y);return y===y.ownerDocument.body||y.ownerDocument.body.contains(y)||nt}return!M(s)||window.getComputedStyle(s)===null}function Q(s){var M=V(s).container.childNodes[0],y=window.getComputedStyle(M);return!y.width||y.width.indexOf("px")===-1}function o(){var s=window.getComputedStyle(F),M={};return M.position=s.position,M.width=F.offsetWidth,M.height=F.offsetHeight,M.top=s.top,M.right=s.right,M.bottom=s.bottom,M.left=s.left,M.widthCSS=s.width,M.heightCSS=s.height,M}function N(){var s=o();V(F).startSize={width:s.width,height:s.height},X("Element start size",V(F).startSize)}function C(){V(F).listeners=[]}function k(){if(X("storeStyle invoked."),!V(F)){X("Aborting because element has been uninstalled");return}var s=o();V(F).style=s}function r(s,M,y){V(s).lastWidth=M,V(s).lastHeight=y}function P(s){return Z(s).childNodes[0]}function Jl(){return 2*a.width+1}function Nl(){return 2*a.height+1}function Ql(s){return s+10+Jl()}function be(s){return s+10+Nl()}function Yc(s){return s*2+Jl()}function Tc(s){return s*2+Nl()}function ae(s,M,y){var nt=Z(s),Ct=m(s),kt=Ql(M),Mt=be(y),_=Yc(M),A=Tc(y);nt.scrollLeft=kt,nt.scrollTop=Mt,Ct.scrollLeft=_,Ct.scrollTop=A}function ne(){var s=V(F).container;if(!s){s=document.createElement("div"),s.className=n,s.style.cssText=R(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),V(F).container=s,I(s),F.appendChild(s);var M=function(){V(F).onRendered&&V(F).onRendered()};p(s,"animationstart",M),V(F).onAnimationStart=M}return s}function Sc(){function s(){var L=V(F).style;if(L.position==="static"){F.style.setProperty("position","relative",x.important?"important":"");var Zt=function(At,Xt,Ac,hl){function Ec(yc){return yc.replace(/[^-\d\.]/g,"")}var Nd=Ac[hl];Nd!=="auto"&&Ec(Nd)!=="0"&&(At.warn("An element that is positioned static has style."+hl+"="+Nd+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+hl+" will be set to 0. Element: ",Xt),Xt.style[hl]=0)};Zt(l,F,L,"top"),Zt(l,F,L,"right"),Zt(l,F,L,"bottom"),Zt(l,F,L,"left")}}function M(L,Zt,At,Xt){return L=L?L+"px":"0",Zt=Zt?Zt+"px":"0",At=At?At+"px":"0",Xt=Xt?Xt+"px":"0",["left: "+L,"top: "+Zt,"right: "+Xt,"bottom: "+At]}if(X("Injecting elements"),!V(F)){X("Aborting because element has been uninstalled");return}s();var y=V(F).container;y||(y=ne());var nt=a.width,Ct=a.height,kt=R(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),Mt=R(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(M(-(1+nt),-(1+Ct),-Ct,-nt))),_=R(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),A=R(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),$=R(["position: absolute","left: 0","top: 0"]),ht=R(["position: absolute","width: 200%","height: 200%"]),Wt=document.createElement("div"),Ut=document.createElement("div"),Ht=document.createElement("div"),Re=document.createElement("div"),Cl=document.createElement("div"),ce=document.createElement("div");Wt.dir="ltr",Wt.style.cssText=kt,Wt.className=n,Ut.className=n,Ut.style.cssText=Mt,Ht.style.cssText=_,Re.style.cssText=$,Cl.style.cssText=A,ce.style.cssText=ht,Ht.appendChild(Re),Cl.appendChild(ce),Ut.appendChild(Ht),Ut.appendChild(Cl),Wt.appendChild(Ut),y.appendChild(Wt);function We(){var L=V(F);L&&L.onExpand?L.onExpand():X("Aborting expand scroll handler: element has been uninstalled")}function Ue(){var L=V(F);L&&L.onShrink?L.onShrink():X("Aborting shrink scroll handler: element has been uninstalled")}p(Ht,"scroll",We),p(Cl,"scroll",Ue),V(F).onExpandScroll=We,V(F).onShrinkScroll=Ue}function kc(){function s(_,A,$){var ht=P(_),Wt=Ql(A),Ut=be($);ht.style.setProperty("width",Wt+"px",x.important?"important":""),ht.style.setProperty("height",Ut+"px",x.important?"important":"")}function M(_){var A=F.offsetWidth,$=F.offsetHeight,ht=A!==V(F).lastWidth||$!==V(F).lastHeight;X("Storing current size",A,$),r(F,A,$),d.add(0,function(){if(ht){if(!V(F)){X("Aborting because element has been uninstalled");return}if(!y()){X("Aborting because element container has not been initialized");return}if(x.debug){var Ut=F.offsetWidth,Ht=F.offsetHeight;(Ut!==A||Ht!==$)&&l.warn(e.get(F),"Scroll: Size changed before updating detector elements.")}s(F,A,$)}}),d.add(1,function(){if(!V(F)){X("Aborting because element has been uninstalled");return}if(!y()){X("Aborting because element container has not been initialized");return}ae(F,A,$)}),ht&&_&&d.add(2,function(){if(!V(F)){X("Aborting because element has been uninstalled");return}if(!y()){X("Aborting because element container has not been initialized");return}_()})}function y(){return!!V(F).container}function nt(){function _(){return V(F).lastNotifiedWidth===void 0}X("notifyListenersIfNeeded invoked");var A=V(F);if(_()&&A.lastWidth===A.startSize.width&&A.lastHeight===A.startSize.height)return X("Not notifying: Size is the same as the start size, and there has been no notification yet.");if(A.lastWidth===A.lastNotifiedWidth&&A.lastHeight===A.lastNotifiedHeight)return X("Not notifying: Size already notified");X("Current size not notified, notifying..."),A.lastNotifiedWidth=A.lastWidth,A.lastNotifiedHeight=A.lastHeight,vg(V(F).listeners,function($){$(F)})}function Ct(){if(X("startanimation triggered."),Q(F)){X("Ignoring since element is still unrendered...");return}X("Element rendered.");var _=Z(F),A=m(F);(_.scrollLeft===0||_.scrollTop===0||A.scrollLeft===0||A.scrollTop===0)&&(X("Scrollbars out of sync. Updating detector elements..."),M(nt))}function kt(){if(X("Scroll detected."),Q(F)){X("Scroll event fired while unrendered. Ignoring...");return}M(nt)}if(X("registerListenersAndPositionElements invoked."),!V(F)){X("Aborting because element has been uninstalled");return}V(F).onRendered=Ct,V(F).onExpand=kt,V(F).onShrink=kt;var Mt=V(F).style;s(F,Mt.width,Mt.height)}function Mc(){if(X("finalizeDomMutation invoked."),!V(F)){X("Aborting because element has been uninstalled");return}var s=V(F).style;r(F,s.width,s.height),ae(F,s.width,s.height)}function Hc(){Y(F)}function Ge(){X("Installing..."),C(),N(),d.add(0,k),d.add(1,Sc),d.add(2,kc),d.add(3,Mc),d.add(4,Hc)}X("Making detectable..."),S(F)?(X("Element is detached"),ne(),X("Waiting until element is attached..."),V(F).onRendered=function(){X("Element is now attached"),Ge()}):Ge()}function u(x){var F=V(x);F&&(F.onExpandScroll&&U(Z(x),"scroll",F.onExpandScroll),F.onShrinkScroll&&U(m(x),"scroll",F.onShrinkScroll),F.onAnimationStart&&U(F.container,"animationstart",F.onAnimationStart),F.container&&x.removeChild(F.container))}return{makeDetectable:h,addListener:J,uninstall:u,initDocument:b}}});var Gc=g((yN,nc)=>{"use strict";var ol=Yi().forEach,fg=SR(),Kg=MR(),Pg=AR(),_g=yR(),qg=wR(),ic=Ti(),$g=PR(),Nt=$R(),tm=lc(),lm=Vc();function ec(t){return Array.isArray(t)||t.length!==void 0}function bc(t){if(Array.isArray(t))return t;var l=[];return ol(t,function(d){l.push(d)}),l}function ac(t){return t&&t.nodeType===1}nc.exports=function(t){t=t||{};var l;if(t.idHandler)l={get:function(J){return t.idHandler.get(J,!0)},set:t.idHandler.set};else{var d=Pg(),V=_g({idGenerator:d,stateHandler:Nt});l=V}var i=t.reporter;if(!i){var e=i===!1;i=qg(e)}var a=Qt(t,"batchProcessor",$g({reporter:i})),G={};G.callOnAdd=!!Qt(t,"callOnAdd",!0),G.debug=!!Qt(t,"debug",!1);var n=Kg(l),b=fg({stateHandler:Nt}),R,c=Qt(t,"strategy","object"),W=Qt(t,"important",!1),I={reporter:i,batchProcessor:a,stateHandler:Nt,idHandler:l,important:W};if(c==="scroll"&&(ic.isLegacyOpera()?(i.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),c="object"):ic.isIE(9)&&(i.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),c="object")),c==="scroll")R=lm(I);else if(c==="object")R=tm(I);else throw new Error("Invalid strategy name: "+c);var p={};function U(J,h,u){function x(o){var N=n.get(o);ol(N,function(k){k(o)})}function F(o,N,C){n.add(N,C),o&&C(N)}if(u||(u=h,h=J,J={}),!h)throw new Error("At least one element required.");if(!u)throw new Error("Listener required.");if(ac(h))h=[h];else if(ec(h))h=bc(h);else return i.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");var Y=0,X=Qt(J,"callOnAdd",G.callOnAdd),S=Qt(J,"onReady",function(){}),Q=Qt(J,"debug",G.debug);ol(h,function(N){Nt.getState(N)||(Nt.initState(N),l.set(N));var C=l.get(N);if(Q&&i.log("Attaching listener to element",C,N),!b.isDetectable(N)){if(Q&&i.log(C,"Not detectable."),b.isBusy(N)){Q&&i.log(C,"System busy making it detectable"),F(X,N,u),p[C]=p[C]||[],p[C].push(function(){Y++,Y===h.length&&S()});return}return Q&&i.log(C,"Making detectable..."),b.markBusy(N,!0),R.makeDetectable({debug:Q,important:W},N,function(r){if(Q&&i.log(C,"onElementDetectable"),Nt.getState(r)){b.markAsDetectable(r),b.markBusy(r,!1),R.addListener(r,x),F(X,r,u);var P=Nt.getState(r);if(P&&P.startSize){var Jl=r.offsetWidth,Nl=r.offsetHeight;(P.startSize.width!==Jl||P.startSize.height!==Nl)&&x(r)}p[C]&&ol(p[C],function(Ql){Ql()})}else Q&&i.log(C,"Element uninstalled before being detectable.");delete p[C],Y++,Y===h.length&&S()})}Q&&i.log(C,"Already detecable, adding listener."),F(X,N,u),Y++}),Y===h.length&&S()}function Z(J){if(!J)return i.error("At least one element is required.");if(ac(J))J=[J];else if(ec(J))J=bc(J);else return i.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");ol(J,function(h){n.removeAllListeners(h),R.uninstall(h),Nt.cleanState(h)})}function m(J){R.initDocument&&R.initDocument(J)}return{listenTo:U,removeListener:n.removeListener,removeAllListeners:n.removeAllListeners,uninstall:Z,initDocument:m}};function Qt(t,l,d){var V=t[l];return V==null&&d!==void 0?d:V}});var xC=E(sn()),JC=E(Hn()),NC=E(qn()),QC=E(ZG());var j=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},v={searchParams:"URLSearchParams"in j,iterable:"Symbol"in j&&"iterator"in Symbol,blob:"FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in j,arrayBuffer:"ArrayBuffer"in j};function KI(t){return t&&DataView.prototype.isPrototypeOf(t)}v.arrayBuffer&&(IG=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],gG=ArrayBuffer.isView||function(t){return t&&IG.indexOf(Object.prototype.toString.call(t))>-1});var IG,gG;function Ot(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function QV(t){return typeof t!="string"&&(t=String(t)),t}function CV(t){var l={next:function(){var d=t.shift();return{done:d===void 0,value:d}}};return v.iterable&&(l[Symbol.iterator]=function(){return l}),l}function z(t){this.map={},t instanceof z?t.forEach(function(l,d){this.append(d,l)},this):Array.isArray(t)?t.forEach(function(l){if(l.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+l.length);this.append(l[0],l[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(l){this.append(l,t[l])},this)}z.prototype.append=function(t,l){t=Ot(t),l=QV(l);var d=this.map[t];this.map[t]=d?d+", "+l:l};z.prototype.delete=function(t){delete this.map[Ot(t)]};z.prototype.get=function(t){return t=Ot(t),this.has(t)?this.map[t]:null};z.prototype.has=function(t){return this.map.hasOwnProperty(Ot(t))};z.prototype.set=function(t,l){this.map[Ot(t)]=QV(l)};z.prototype.forEach=function(t,l){for(var d in this.map)this.map.hasOwnProperty(d)&&t.call(l,this.map[d],d,this)};z.prototype.keys=function(){var t=[];return this.forEach(function(l,d){t.push(d)}),CV(t)};z.prototype.values=function(){var t=[];return this.forEach(function(l){t.push(l)}),CV(t)};z.prototype.entries=function(){var t=[];return this.forEach(function(l,d){t.push([d,l])}),CV(t)};v.iterable&&(z.prototype[Symbol.iterator]=z.prototype.entries);function NV(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function mG(t){return new Promise(function(l,d){t.onload=function(){l(t.result)},t.onerror=function(){d(t.error)}})}function PI(t){var l=new FileReader,d=mG(l);return l.readAsArrayBuffer(t),d}function _I(t){var l=new FileReader,d=mG(l),V=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=V?V[1]:"utf-8";return l.readAsText(t,i),d}function qI(t){for(var l=new Uint8Array(t),d=new Array(l.length),V=0;V<l.length;V++)d[V]=String.fromCharCode(l[V]);return d.join("")}function FG(t){if(t.slice)return t.slice(0);var l=new Uint8Array(t.byteLength);return l.set(new Uint8Array(t)),l.buffer}function pG(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:v.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:v.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:v.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():v.arrayBuffer&&v.blob&&KI(t)?(this._bodyArrayBuffer=FG(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):v.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||gG(t))?this._bodyArrayBuffer=FG(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var t=NV(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=NV(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))}else{if(v.blob)return this.blob().then(PI);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=NV(this);if(t)return t;if(this._bodyBlob)return _I(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(qI(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(lF)}),this.json=function(){return this.text().then(JSON.parse)},this}var $I=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function tF(t){var l=t.toUpperCase();return $I.indexOf(l)>-1?l:t}function Yt(t,l){if(!(this instanceof Yt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');l=l||{};var d=l.body;if(t instanceof Yt){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,l.headers||(this.headers=new z(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!d&&t._bodyInit!=null&&(d=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=l.credentials||this.credentials||"same-origin",(l.headers||!this.headers)&&(this.headers=new z(l.headers)),this.method=tF(l.method||this.method||"GET"),this.mode=l.mode||this.mode||null,this.signal=l.signal||this.signal||function(){if("AbortController"in j){var e=new AbortController;return e.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&d)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(d),(this.method==="GET"||this.method==="HEAD")&&(l.cache==="no-store"||l.cache==="no-cache")){var V=/([?&])_=[^&]*/;if(V.test(this.url))this.url=this.url.replace(V,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Yt.prototype.clone=function(){return new Yt(this,{body:this._bodyInit})};function lF(t){var l=new FormData;return t.trim().split("&").forEach(function(d){if(d){var V=d.split("="),i=V.shift().replace(/\+/g," "),e=V.join("=").replace(/\+/g," ");l.append(decodeURIComponent(i),decodeURIComponent(e))}}),l}function dF(t){var l=new z,d=t.replace(/\r?\n[\t ]+/g," ");return d.split("\r").map(function(V){return V.indexOf(`
`)===0?V.substr(1,V.length):V}).forEach(function(V){var i=V.split(":"),e=i.shift().trim();if(e){var a=i.join(":").trim();try{l.append(e,a)}catch(G){console.warn("Response "+G.message)}}}),l}pG.call(Yt.prototype);function Gt(t,l){if(!(this instanceof Gt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(l||(l={}),this.type="default",this.status=l.status===void 0?200:l.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=l.statusText===void 0?"":""+l.statusText,this.headers=new z(l.headers),this.url=l.url||"",this._initBody(t)}pG.call(Gt.prototype);Gt.prototype.clone=function(){return new Gt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new z(this.headers),url:this.url})};Gt.error=function(){var t=new Gt(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var VF=[301,302,303,307,308];Gt.redirect=function(t,l){if(VF.indexOf(l)===-1)throw new RangeError("Invalid status code");return new Gt(null,{status:l,headers:{location:t}})};var rt=j.DOMException;try{new rt}catch(t){rt=function(l,d){this.message=l,this.name=d;var V=Error(l);this.stack=V.stack},rt.prototype=Object.create(Error.prototype),rt.prototype.constructor=rt}function BG(t,l){return new Promise(function(d,V){var i=new Yt(t,l);if(i.signal&&i.signal.aborted)return V(new rt("Aborted","AbortError"));var e=new XMLHttpRequest;function a(){e.abort()}e.onload=function(){var b={statusText:e.statusText,headers:dF(e.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(e.status<200||e.status>599)?b.status=200:b.status=e.status,b.url="responseURL"in e?e.responseURL:b.headers.get("X-Request-URL");var R="response"in e?e.response:e.responseText;setTimeout(function(){d(new Gt(R,b))},0)},e.onerror=function(){setTimeout(function(){V(new TypeError("Network request failed"))},0)},e.ontimeout=function(){setTimeout(function(){V(new TypeError("Network request timed out"))},0)},e.onabort=function(){setTimeout(function(){V(new rt("Aborted","AbortError"))},0)};function G(b){try{return b===""&&j.location.href?j.location.href:b}catch(R){return b}}if(e.open(i.method,G(i.url),!0),i.credentials==="include"?e.withCredentials=!0:i.credentials==="omit"&&(e.withCredentials=!1),"responseType"in e&&(v.blob?e.responseType="blob":v.arrayBuffer&&(e.responseType="arraybuffer")),l&&typeof l.headers=="object"&&!(l.headers instanceof z||j.Headers&&l.headers instanceof j.Headers)){var n=[];Object.getOwnPropertyNames(l.headers).forEach(function(b){n.push(Ot(b)),e.setRequestHeader(b,QV(l.headers[b]))}),i.headers.forEach(function(b,R){n.indexOf(R)===-1&&e.setRequestHeader(R,b)})}else i.headers.forEach(function(b,R){e.setRequestHeader(R,b)});i.signal&&(i.signal.addEventListener("abort",a),e.onreadystatechange=function(){e.readyState===4&&i.signal.removeEventListener("abort",a)}),e.send(typeof i._bodyInit=="undefined"?null:i._bodyInit)})}BG.polyfill=!0;j.fetch||(j.fetch=BG,j.Headers=z,j.Request=Yt,j.Response=Gt);var hG=E(oG());function B(t,l=null){let V=iF(l).querySelectorAll(t);return Array.from(V)}function w(t,l=null){let d=B(t,l);return d.length===0?!1:d[0]}function iF(t){return t||(window.__shadowRoot?window.__shadowRoot.querySelector("article"):document)}(function(t,l){"use strict";var d=/Edge\/\d+/i.test(navigator.userAgent);if(!d&&"IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype){"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var V=[];function i(U){this.time=U.time,this.target=U.target,this.rootBounds=U.rootBounds,this.boundingClientRect=U.boundingClientRect,this.intersectionRect=U.intersectionRect||W(),this.isIntersecting=!!U.intersectionRect;var Z=this.boundingClientRect,m=Z.width*Z.height,J=this.intersectionRect,h=J.width*J.height;m?this.intersectionRatio=h/m:this.intersectionRatio=this.isIntersecting?1:0}function e(U,Z){var m=Z||{};if(typeof U!="function")throw new Error("callback must be a function");if(m.root&&m.root.nodeType!=1)throw new Error("root must be an Element");this._checkForIntersections=G(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=U,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(m.rootMargin),this.thresholds=this._initThresholds(m.threshold),this.root=m.root||null,this.rootMargin=this._rootMarginValues.map(function(J){return J.value+J.unit}).join(" ")}e.prototype.THROTTLE_TIMEOUT=100,e.prototype.POLL_INTERVAL=null,e.prototype.USE_MUTATION_OBSERVER=!0,e.prototype.observe=function(U){var Z=this._observationTargets.some(function(m){return m.element==U});if(!Z){if(!(U&&U.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:U,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},e.prototype.unobserve=function(U){this._observationTargets=this._observationTargets.filter(function(Z){return Z.element!=U}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},e.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},e.prototype.takeRecords=function(){var U=this._queuedEntries.slice();return this._queuedEntries=[],U},e.prototype._initThresholds=function(U){var Z=U||[0];return Array.isArray(Z)||(Z=[Z]),Z.sort().filter(function(m,J,h){if(typeof m!="number"||isNaN(m)||m<0||m>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return m!==h[J-1]})},e.prototype._parseRootMargin=function(U){var Z=U||"0px",m=Z.split(/\s+/).map(function(J){var h=/^(-?\d*\.?\d+)(px|%)$/.exec(J);if(!h)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(h[1]),unit:h[2]}});return m[1]=m[1]||m[0],m[2]=m[2]||m[0],m[3]=m[3]||m[1],m},e.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(t,"resize",this._checkForIntersections,!0),n(l,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(l,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},e.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,b(t,"resize",this._checkForIntersections,!0),b(l,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},e.prototype._checkForIntersections=function(){var U=this._rootIsInDom(),Z=U?this._getRootRect():W();this._observationTargets.forEach(function(m){var J=m.element,h=c(J),u=this._rootContainsTarget(J),x=m.entry,F=U&&u&&this._computeTargetAndRootIntersection(J,Z),Y=m.entry=new i({time:a(),target:J,boundingClientRect:h,rootBounds:Z,intersectionRect:F});x?U&&u?this._hasCrossedThreshold(x,Y)&&this._queuedEntries.push(Y):x&&x.isIntersecting&&this._queuedEntries.push(Y):this._queuedEntries.push(Y)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},e.prototype._computeTargetAndRootIntersection=function(U,Z){if(t.getComputedStyle(U).display!="none"){for(var m=c(U),J=m,h=p(U),u=!1;!u;){var x=null,F=h.nodeType==1?t.getComputedStyle(h):{};if(F.display=="none")return;if(h==this.root||h==l?(u=!0,x=Z):h!=l.body&&h!=l.documentElement&&F.overflow!="visible"&&(x=c(h)),x&&(J=R(x,J),!J))break;h=p(h)}return J}},e.prototype._getRootRect=function(){var U;if(this.root)U=c(this.root);else{var Z=l.documentElement,m=l.body;U={top:0,left:0,right:Z.clientWidth||m.clientWidth,width:Z.clientWidth||m.clientWidth,bottom:Z.clientHeight||m.clientHeight,height:Z.clientHeight||m.clientHeight}}return this._expandRectByRootMargin(U)},e.prototype._expandRectByRootMargin=function(U){var Z=this._rootMarginValues.map(function(J,h){return J.unit=="px"?J.value:J.value*(h%2?U.width:U.height)/100}),m={top:U.top-Z[0],right:U.right+Z[1],bottom:U.bottom+Z[2],left:U.left-Z[3]};return m.width=m.right-m.left,m.height=m.bottom-m.top,m},e.prototype._hasCrossedThreshold=function(U,Z){var m=U&&U.isIntersecting?U.intersectionRatio||0:-1,J=Z.isIntersecting?Z.intersectionRatio||0:-1;if(m!==J)for(var h=0;h<this.thresholds.length;h++){var u=this.thresholds[h];if(u==m||u==J||u<m!=u<J)return!0}},e.prototype._rootIsInDom=function(){return!this.root||I(l,this.root)},e.prototype._rootContainsTarget=function(U){return I(this.root||l,U)},e.prototype._registerInstance=function(){V.indexOf(this)<0&&V.push(this)},e.prototype._unregisterInstance=function(){var U=V.indexOf(this);U!=-1&&V.splice(U,1)};function a(){return t.performance&&performance.now&&performance.now()}function G(U,Z){var m=null;return function(){m||(m=setTimeout(function(){U(),m=null},Z))}}function n(U,Z,m,J){typeof U.addEventListener=="function"?U.addEventListener(Z,m,J||!1):typeof U.attachEvent=="function"&&U.attachEvent("on"+Z,m)}function b(U,Z,m,J){typeof U.removeEventListener=="function"?U.removeEventListener(Z,m,J||!1):typeof U.detatchEvent=="function"&&U.detatchEvent("on"+Z,m)}function R(U,Z){var m=Math.max(U.top,Z.top),J=Math.min(U.bottom,Z.bottom),h=Math.max(U.left,Z.left),u=Math.min(U.right,Z.right),x=u-h,F=J-m;return x>=0&&F>=0&&{top:m,bottom:J,left:h,right:u,width:x,height:F}}function c(U){var Z;try{Z=U.getBoundingClientRect()}catch(m){}return Z?(Z.width&&Z.height||(Z={top:Z.top,right:Z.right,bottom:Z.bottom,left:Z.left,width:Z.right-Z.left,height:Z.bottom-Z.top}),Z):W()}function W(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function I(U,Z){for(var m=Z;m;){if(m==U)return!0;m=p(m)}return!1}function p(U){var Z=U.parentNode;return Z&&Z.nodeType==11&&Z.host?Z.host:Z}t.IntersectionObserver=e,t.IntersectionObserverEntry=i})(window,document);window.hasOwnProperty("Shorthand")||(window.Shorthand={});window.Shorthand.lazyloadTriggerMargin=window.Shorthand.lazyloadTriggerMargin||"500%";var uV=window.innerHeight||window.screen.height,eF={"nearly visible":"100%","on visibile":"0%","partially visible":"-10%","mostly visible":"-40% 0% -40% 0%","fully visible":"0px",lazyload:window.Shorthand.lazyloadTriggerMargin,"lazyload 3D models":`${uV*2}px`,"unload 3D models":`${uV*2+100}px`,"lazy download 3D models":`${uV*5}px`},bF={"nearly visible":[0,.001],lazyload:[0,.001],"on visibile":[0,.001],"mostly visible":[0,.001],"fully visible":.99,"lazyload 3D models":[0,.001],"lazy download 3D models":[0,.001],"unload 3D models":[0,.001],"partially visible":0},xG=[],JG=[];function Rt(t){return t.intersectionRatio>=1e-5}function NG(t,l=null){let d=xG.find(V=>V.triggerPoint===t&&V.root===l);if(!d){let V={rootMargin:eF[t],threshold:bF[t],root:l},i=new IntersectionObserver(e=>{aF(e,t,l)},V);return xG.push({instance:i,triggerPoint:t,root:l}),i}return d.instance}function aF(t,l,d=null){t.forEach(V=>{QG(V.target,l,d).callbacks.forEach(e=>e(V))})}function nF(t,l,d=null){let V={target:t,triggerPoint:l,callbacks:[],root:d};return JG.push(V),V}function QG(t,l,d=null){return JG.find(V=>V.target===t&&V.triggerPoint===l&&V.root===d)}function jt(t,l={}){let d=l.triggerPoint||"on visibile",V=l.root||null;NG(d,V).unobserve(t)}function bt(t,l,d={}){let V=d.triggerPoint||"on visibile",i=d.root||null,e=NG(V),a=QG(t,V,i);a||(a=nF(t,V,i)),a.callbacks.push(l),e.observe(t)}var GF=5,RF=1e3;function cF(t,l){let d={isTracking:!1,trackingStartAt:0,cumulativeLingerTime:0};bt(t,V=>{if(Rt(V)&&!d.isTracking)d.isTracking=!0,d.trackingStartAt=Date.now();else if(d.isTracking){d.isTracking=!1;let i=Math.round((Date.now()-d.trackingStartAt)/RF);if(i<GF)return;d.cumulativeLingerTime+=i,l(i)}})}function WF(t){let l=/\bTheme-(\w+Section)\b/,d=t.match(l);return d!==null?d[1]:"UnknownTypeSection"}function sV(t,l){t.forEach((d,V)=>{let i=WF(d.className),e=V.toString().padStart(3,"0")+" "+d.id;cF(d,G=>{l(i,"linger-seconds",e,G)})})}function UF(...t){}function Kl(...t){(window.ga||UF)(...t)}function rV(t){t.on("logEvent",function(...l){Kl("send","event",...l),Kl("shorthand.send","event",...l)}),t.on("logSocial",(...l)=>{Kl("send","social",...l),Kl("shorthand.send","social",...l)})}function ZF(t){return t.hasAttribute("data-social-share")?{type:"social",network:t.getAttribute("data-social-share"),target:window.location.href}:t.hasAttribute("data-story-nav-item")?{type:"nav-link",target:t.href}:{type:"link",target:t.href,element:t}}function IF(t){let l=ZF(t);l.type==="social"?CG(l.network,"share",l.target):Ft(l.type,"click",l.target)}function YV(){B("a").forEach(l=>l.addEventListener("click",()=>IF(l)))}var TV=new hG.default;function Ft(...t){TV.emit("logEvent",...t)}function CG(...t){TV.emit("logSocial",...t)}function SV(){let t=B(".Theme-Section");rV(TV),sV(t,Ft),YV()}var kG=E(f());var FF={textPerLine:!1,textFade:"none",textZoom:"none",textBlur:"none",backgroundFade:"none",backgroundZoom:"none",backgroundBlur:"none",backgroundGrayscale:"none",hasEffects:!1};function XG(t,l=FF){try{return lt(lt({},l),JSON.parse(window.atob(t.getAttribute("data-effects"))))}catch(d){return lt({},l)}}var wV=E(HV());var ql=E(f());var TG=E(AV());function gt(t,l,d,V){function i(){t.removeEventListener(l,e,V)}function e(){return i(),d.apply(this,arguments)}return t.addEventListener(l,e,V),i}var mF=rG(),YG=["android","ios","firefoxos","windows.phone","windows.mobile","blackberryos"],pF={hasTouch:!1},EV=null;function D(){if(EV===null){let t=new mF;t.sniff(navigator.userAgent),EV={isMobile:YG.includes(t.os.name),isDesktop:!YG.includes(t.os.name),isTablet:!1,isiPhone:t.device.name==="iphone",isiPad:t.device.name==="ipad",isAndroid:t.os.name==="android",isiOS:t.os.name==="ios",isiOS10:t.os.name==="ios"&&t.os.version[0]===10,isMac:t.os.name==="macos",isWindows:t.os.name==="windows",isIE:t.browser.name==="ie",isEdge:t.browser.name==="edge",isChrome:t.browser.name==="chrome",isSafari:t.browser.name==="safari",isFirefox:t.browser.name==="firefox",isOpera:t.browser.name==="opera",isBot:/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent),isCypress:window.Cypress}}return EV}function BF(t){let l=D(),d=Object.keys(l).reduce((V,i)=>(V[`DeviceDetect--${i}`]=l[i],V),{});t.className=(0,TG.default)(t.className,d)}function yV(t=document.documentElement){var l;BF(((l=window.__shadowRoot)==null?void 0:l.querySelector("article"))||t),oF()}function oF(){gt(document.documentElement,"touchstart",()=>{pF.hasTouch=!0,document.documentElement.classList.add("DeviceDetect--isTouch")})}function zV(){let{isIE:t,isEdge:l}=D();if(!t&&!l)return;let d={tallTOMs:[]};ql.default.measure(()=>{B(".DisplayContainerHeight--flex").forEach(i=>{d.tallTOMs.push(i)});function V(){xF(d)}V(),window.addEventListener("resize",V,{passive:!0})})}function xF(t){t.tallTOMs.forEach(l=>{ql.default.measure(()=>{let d=l.querySelector(".FullSize--child"),V=l.querySelector(".DisplayContainer--heightBasis").getBoundingClientRect().height+200,i=V+"px",e=i;if(V<T.getHeight()){l.style.setProperty("height",i);return}l.classList.contains("SplitLayout")&&T.getWidth()<=960&&(i=`calc(${V} + 50vh)`,e="50vh"),ql.default.mutate(()=>{l.style.setProperty("height",i),d.style.setProperty("height",e),B(".FullSize--fixedChild",d).forEach(a=>{a.style.setProperty("height",e)}),d.style.setProperty("clip-path",`polygon(0 0, 0 ${e}, 100% ${e}, 100% 0)`)})})})}var Vl=class{constructor(l={}){this.cache={width:0,height:0,top:0,bottom:0};l.measuringElement?this.measuringElement=l.measuringElement:this.ensureMeasuringElement(),window.addEventListener("resize",this.refresh.bind(this),{passive:!0}),this.refresh()}ensureMeasuringElement(){let l=this.measuringElement=document.createElement("div");l.style.width="100%",l.style.height="100vh",l.style.visibility="hidden",l.style.pointerEvents="none",l.style.opacity="0",l.style.position="absolute",l.style.top="0",l.setAttribute("id","viewport-height-element"),document.body.appendChild(l)}refresh(){let l=this.measuringElement.getBoundingClientRect();this.cache.width=l.width,this.cache.height=l.height,this.cache.top=0,this.cache.bottom=0}getCache(){return this.cache}};function td(t=new Vl){window.Shorthand.displayContainer=t,zV()}var $l={getOrientation(){return window.Shorthand.displayContainer?$l.getWidth()>$l.getHeight()?"landscape":"portrait":window.innerWidth>window.innerHeight?"landscape":"portrait"},getHeight(){return window.Shorthand.displayContainer.getCache().height},getWidth(){return window.Shorthand.displayContainer.getCache().width},getTop(){return window.Shorthand.displayContainer.getCache().top},getBottom(){return window.Shorthand.displayContainer.getCache().bottom},getVhUnitsInPixels(t){return $l.getHeight()*(t/100)},getDisplayContainer(){return window.Shorthand.displayContainer}},T=$l;var il;function ld(t,l=0,d=1){var W,I;let{top:V,height:i}=t.getBoundingClientRect();il===null&&(il=w(".Header[role=banner]"));let e=(W=il==null?void 0:il.offsetHeight)!=null?W:0,a=1,G=/scale\((.*)\)/.exec((I=t.style.getPropertyValue("transform"))!=null?I:"");G&&(a=parseFloat(G[1]));let n=V+(i-i/a)/2,b=-i/a+e,c=T.getHeight()-b;return t.className.includes("Theme-BackgroundMedia")&&i<T.getHeight()*.6&&(d*=.5),{threshold:(0,wV.default)(T.getHeight()*.6/c,l,d),percent:(0,wV.default)(1-(n-b)/c,0,1)}}function el(t,l,d=3){return t<l?Math.pow(t/l,d):t>1-l?Math.pow(1-(t-(1-l))/l,d):1}var LV=[];function ot(){LV.forEach(t=>t())}function OV(){let t=!!w("#editor-viewport");t&&(document.removeEventListener("focus",ot,!0),document.addEventListener("focus",ot,!0),document.removeEventListener("blur",ot,!0),document.addEventListener("blur",ot,!0));let l=t?document.querySelector("#editor-viewport"):window;l.removeEventListener("scroll",ot),l.addEventListener("scroll",ot,{passive:!0}),LV=[],kG.default.mutate(()=>{B("[data-effects]").forEach(d=>{let V=XG(d),e=B(t?".Theme-Layer-background-viewport:not(.Theme-Layer-background-viewport-cyclops)":".Theme-BackgroundMedia:not(.Theme-BackgroundModel)",d),a=B(".Theme-Layer-TextBlock-Inner",d);if(!V.hasEffects){t&&ot();return}e.forEach(n=>{let b=B("video",n);b.length===0&&(b=B("img",n).filter(R=>R.className.indexOf("InstantImage__img")===-1)),V.needsBackgroundClone&&B("picture",n).forEach((R,c)=>{c!==0&&(R.style.setProperty("position","absolute"),R.style.setProperty("top","0"))}),b.forEach((R,c)=>{R.style.setProperty("transition","none"),R.tagName.toLowerCase()==="img"&&c===0&&SG(R,V,0),R.style.setProperty("transform","scale(1)"),R.style.setProperty("opacity","1")})}),a.forEach(n=>{JF(n)&&(n.classList.remove("Layout__flex--xleft"),n.classList.remove("Layout__flex--xright"),n.classList.add("Layout__flex--xcenter")),n.parentElement.parentElement.style.setProperty("overflow","visible");let b=n.className.indexOf("Layout__flex--xright")>-1;n.className.indexOf("Layout__flex--xleft")>-1?n.style.setProperty("transform-origin","0% 0%"):b?n.style.setProperty("transform-origin","100% 0%"):n.style.removeProperty("transform-origin");let c=t?B(".NodeContent"):[].slice.call(n.firstElementChild.firstElementChild.children);(V.textPerLine?c:[n]).forEach(I=>{let p=[];V.textZoom!=="none"&&navigator.maxTouchPoints>0&&p.push("transform"),V.textBlur!=="none"&&p.push("filter"),p.length>0&&I.style.setProperty("will-change",p.join(", "))})});function G(){let n=ld(d).percent;n<=0||n>=1||(e.forEach(b=>{let R=B("video",b);R.length===0&&(R=B("img",b).filter(I=>I.className.indexOf("InstantImage__img")===-1));let{percent:c,threshold:W}=ld(b,0,.5);R.forEach((I,p)=>{I.parentElement.style.setProperty("overflow","hidden"),V.backgroundZoom==="in"?I.style.setProperty("transform",`scale(${1+.4*c})`):V.backgroundZoom==="out"&&I.style.setProperty("transform",`scale(${1.4-.4*c})`);let U=1;V.backgroundFade!=="none"&&(["in","both"].includes(V.backgroundFade)&&c<.5||["out","both"].includes(V.backgroundFade)&&c>.5?U=el(c,W,2):U=1,I.style.setProperty("opacity",`${U}`)),I.tagName.toLowerCase()==="img"&&(p===0?SG(I,V,c):(U*=el(c,W),I.style.setProperty("opacity",`${U}`)))})}),a.forEach(b=>{let R=t?B(".NodeContent",b):[].slice.call(b.firstElementChild.firstElementChild.children);if(t&&NF(V.textPerLine,b,R),t&&b.contains(document.activeElement))return;(V.textPerLine?R:[b]).forEach(W=>{let{percent:I,threshold:p}=ld(W,0,.2);V.textZoom==="in"?W.style.setProperty("transform",`scale(${.7+.3*I})`):V.textZoom==="out"&&W.style.setProperty("transform",`scale(${1-.3*I})`);let U=[];(["in","both"].includes(V.textBlur)&&I<.5||["out","both"].includes(V.textBlur)&&I>.5)&&U.push(`blur(${(20*(1-el(I,p,2))).toFixed(2)}px)`);let Z=U.join(" ");W.style.getPropertyValue("filter")!==Z&&W.style.setProperty("filter",Z);let m=1;["in","both"].includes(V.textFade)&&I<.5||["out","both"].includes(V.textFade)&&I>.5?m*=el(I,p):m=1,W.style.setProperty("opacity",`${m}`)})}))}LV.push(G)})}),setTimeout(ot,500)}function SG(t,l,d){let V=[];d<.5?(["in","both"].includes(l.backgroundBlur)&&V.push("blur(20px)"),["in","both"].includes(l.backgroundGrayscale)&&V.push("grayscale(100%)")):(["out","both"].includes(l.backgroundBlur)&&V.push("blur(20px)"),["out","both"].includes(l.backgroundGrayscale)&&V.push("grayscale(100%)"));let i=V.join(" ");t.style.getPropertyValue("filter")!==i&&t.style.setProperty("filter",i)}function JF(t){let l=t;for(;l&&!l.classList.contains("Theme-Section");)l.parentNode?l=l.parentNode:console.error("Could not find the parent Theme-section");return l.classList.contains("SplitLayout")}function NF(t,l,d){(t||l.contains(document.activeElement))&&(l.style.removeProperty("transform"),l.style.removeProperty("filter"),l.style.removeProperty("opacity")),(!t||l.contains(document.activeElement))&&d.forEach(V=>{V.style.removeProperty("transform"),V.style.removeProperty("filter"),V.style.removeProperty("opacity")})}var _G=E(jV());function DV(){B("[data-lazyload-container][data-lazyload-trigger]").map(l=>({pictures:B("[data-lazyload-item] picture",l),container:l,trigger:l})).forEach(bl)}function QF(t,l){t.forEach(d=>AG(d,()=>EG(l)))}function bl({pictures:t,container:l,trigger:d}){let V=!1,i=()=>{V||(jt(l),V=!0)},e=G=>{Rt(G)&&(t.forEach(n=>AG(n,()=>EG(l))),i())},a=()=>{QF(t,l)};return window.addEventListener("beforeprint",a),bt(d,e,{triggerPoint:"lazyload"}),i}function AG(t,l){let d=w("img",t),V=B("source",t);d&&(d.addEventListener("load",l),HG(d),V.forEach(HG))}function HG(t){Object.entries({"data-src":"src","data-srcset":"srcset"}).forEach(([d,V])=>{let i=t.getAttribute(d);i&&(t.removeAttribute(d),t.setAttribute(V,i))})}function EG(t){t.classList.remove("Lazyload--isLoading"),t.classList.add("Lazyload--isLoaded")}var vV=E(zG()),CF={isHidden(){var t;return document[(t=vV.default)==null?void 0:t.hidden]},addVisibilityChangeListener(t){return document.addEventListener(vV.default.visibilityChange,t)}},Tt=CF;var hF=window.setTimeout,XF=window.clearTimeout,wG=0,uF=t=>{let l=Date.now(),d=Math.max(0,16-(l-wG)),V=hF(()=>t(l+d),d);return wG=l+d,V},sF=t=>XF(t),Vd=window.requestAnimationFrame?window.requestAnimationFrame.bind(window):uF,bo=window.requestAnimationFrame?window.cancelAnimationFrame.bind(window):sF;var Gl=[],id=!1;function rF(t){Gl.forEach(l=>l(t))}function OG(t){rF(t),id&&Vd(OG)}var LG=!1;function ed(){id||(LG||(Tt.addVisibilityChangeListener(()=>{Tt.isHidden()?YF():ed()}),LG=!0),!Tt.isHidden()&&(id=!0,Vd(OG)))}function YF(){id=!1}function tt(t){Gl.indexOf(t)===-1&&Gl.push(t),ed()}function xt(t){let l=Gl.indexOf(t);l!==-1&&Gl.splice(l,1)}var KG=E(jG());var cl=E(f());(function(){"use strict";if(typeof window!="undefined"){var t=window.navigator.userAgent.match(/Edge\/(\d{2})\./),l=t?parseInt(t[1],10):null,d=!!l&&16<=l&&l<=18;if(!("objectFit"in document.documentElement.style)||d){var V=function(a,G,n){var b,R,c,W,I;if((n=n.split(" ")).length<2&&(n[1]=n[0]),a==="x")b=n[0],R=n[1],c="left",W="right",I=G.clientWidth;else{if(a!=="y")return;b=n[1],R=n[0],c="top",W="bottom",I=G.clientHeight}if(b!==c&&R!==c){if(b!==W&&R!==W)return b==="center"||b==="50%"?(G.style[c]="50%",void(G.style["margin-"+c]=I/-2+"px")):void(0<=b.indexOf("%")?(b=parseInt(b,10))<50?(G.style[c]=b+"%",G.style["margin-"+c]=I*(b/-100)+"px"):(b=100-b,G.style[W]=b+"%",G.style["margin-"+W]=I*(b/-100)+"px"):G.style[c]=b);G.style[W]="0"}else G.style[c]="0"},i=function(a){var G=a.dataset?a.dataset.objectFit:a.getAttribute("data-object-fit"),n=a.dataset?a.dataset.objectPosition:a.getAttribute("data-object-position");G=G||"cover",n=n||"50% 50%";var b=a.parentNode;return function(R){var c=window.getComputedStyle(R,null),W=c.getPropertyValue("position"),I=c.getPropertyValue("overflow"),p=c.getPropertyValue("display");W&&W!=="static"||(R.style.position="relative"),I!=="hidden"&&(R.style.overflow="hidden"),p&&p!=="inline"||(R.style.display="block"),R.clientHeight===0&&(R.style.height="100%"),R.className.indexOf("object-fit-polyfill")===-1&&(R.className=R.className+" object-fit-polyfill")}(b),function(R){var c=window.getComputedStyle(R,null),W={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var I in W)c.getPropertyValue(I)!==W[I]&&(R.style[I]=W[I])}(a),a.style.position="absolute",a.style.width="auto",a.style.height="auto",G==="scale-down"&&(G=a.clientWidth<b.clientWidth&&a.clientHeight<b.clientHeight?"none":"contain"),G==="none"?(V("x",a,n),void V("y",a,n)):G==="fill"?(a.style.width="100%",a.style.height="100%",V("x",a,n),void V("y",a,n)):(a.style.height="100%",void(G==="cover"&&a.clientWidth>b.clientWidth||G==="contain"&&a.clientWidth<b.clientWidth?(a.style.top="0",a.style.marginTop="0",V("x",a,n)):(a.style.width="100%",a.style.height="auto",a.style.left="0",a.style.marginLeft="0",V("y",a,n))))},e=function(a){if(a===void 0||a instanceof Event)a=document.querySelectorAll("[data-object-fit]");else if(a&&a.nodeName)a=[a];else{if(typeof a!="object"||!a.length||!a[0].nodeName)return!1;a=a}for(var G=0;G<a.length;G++)if(a[G].nodeName){var n=a[G].nodeName.toLowerCase();if(n==="img"){if(d)continue;a[G].complete?i(a[G]):a[G].addEventListener("load",function(){i(this)})}else n==="video"?0<a[G].readyState?i(a[G]):a[G].addEventListener("loadedmetadata",function(){i(this)}):i(a[G])}return!0};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e(),window.addEventListener("resize",e),window.objectFitPolyfill=e}else window.objectFitPolyfill=function(){return!1}}})();function DG(){if(!window)return!1;let t=document.querySelector(".ObjectFit--cover");if(!t)return!1;let d=window.getComputedStyle(t).objectFit,V=D().isEdge;return(d?/^(contain|cover|fill)$/.test(d):!1)&&!V}function Wl(){cl.default.measure(()=>{let t=T.getOrientation();cl.default.mutate(()=>{let l=B(".ObjectFit--cover");l.forEach(d=>{d.dataset.objectFit="cover";let V=d.tagName==="IMG"?d.parentElement:d;V.hasAttribute(`data-${t}-focal`)&&(d.dataset.objectPosition=V.dataset[`${t}Focal`])}),KV(l)})})}function KV(t){window.objectFitPolyfill(t),TF(t)}function TF(t){let{isIE:l,isEdge:d}=D();!l&&!d||t.forEach(V=>bd(V))}function bd(t){let{isIE:l,isEdge:d}=D();!l&&!d||t.className.indexOf("FullSize__fixedChild")!==-1&&cl.default.measure(()=>{let V=window.innerWidth>window.innerHeight?"landscape":"portrait",i=vG(t);if(i==="none")return;let e=parseFloat(window.getComputedStyle(t.parentElement).getPropertyValue("width"));if(d){t.style.setProperty("width",`${V==="landscape"?e+"px":"100%"}`);return}if(V==="portrait"){t.style.removeProperty("transform");return}let a="play"in t?{width:t.videoWidth,height:t.videoHeight}:{width:t.naturalWidth,height:t.naturalHeight};if(a.width<1){setTimeout(()=>bd(t),100);return}let G=a.width>a.height;cl.default.mutate(()=>{if(G)i==="media-left"?t.style.getPropertyValue("left")==="50%"?t.style.setProperty("transform",`translateX(-${e*.5}px)`):["","0px"].includes(t.style.getPropertyValue("margin-left"))?t.style.setProperty("transform",`translateX(-${e*.75}px)`):t.style.setProperty("transform",`translateX(-${e*.25}px)`):t.style.getPropertyValue("left")==="50%"?t.style.setProperty("transform",`translateX(${e*.5}px)`):["","0px"].includes(t.style.getPropertyValue("margin-left"))?t.style.setProperty("transform",`translateX(${e*.25}px)`):t.style.setProperty("transform",`translateX(${e*.75}px)`);else{let[n,b]=t.dataset["object-position"].split(" ").map(W=>parseInt(W,10)),R=t.style.getPropertyValue("margin-left")&&t.style.getPropertyValue("margin-left")!=="0px",c=t.style.getPropertyValue("margin-right")&&t.style.getPropertyValue("margin-right")!=="0px";if(i==="media-right"){if(n===50?t.style.setProperty("transform",`scale(0.5) translate(${e}px, 0%)`):b<50?t.style.setProperty("transform",`scale(0.5) translate(${e}px, -${50-b}%)`):t.style.setProperty("transform",`scale(0.5) translate(${e}px, ${b-50}%)`),R){t.style.setProperty("transform",`translateX(${e-Math.abs(parseFloat(t.style.getPropertyValue("margin-left")))}px)`);return}if(c){t.style.setProperty("transform",`translateX(${Math.abs(parseFloat(t.style.getPropertyValue("margin-right")))}px)`);return}}else{if(b===50?t.style.setProperty("transform",`scale(0.5) translate(-${e}px, 0%)`):b<50?t.style.setProperty("transform",`scale(0.5) translate(-${e}px, -${50-b}%)`):t.style.setProperty("transform",`scale(0.5) translate(-${e}px, ${b-50}%)`),R){t.style.setProperty("transform",`translateX(-${Math.abs(parseFloat(t.style.getPropertyValue("margin-left")))}px)`);return}if(c){t.style.setProperty("transform",`translateX(-${e-Math.abs(parseFloat(t.style.getPropertyValue("margin-right")))}px)`);return}}}})})}function vG(t){var l;return((l=t.id)==null?void 0:l.indexOf("section-"))===0?t.className.indexOf("SplitLayout--rowReverse")>-1?"media-left":t.className.indexOf("SplitLayout")>-1?"media-right":"none":vG(t.parentElement)}function Ul(){window.addEventListener("resize",()=>Wl(),{passive:!0}),Wl()}function fG(t){let l=t.getBoundingClientRect(),d=-l.top,V=Math.max(1,l.height-document.documentElement.clientHeight),i=d/V;return{percentage:i,scrollingIn:i<0,scrollingOut:i>1}}var ad=KG.default.factory({init:"ready",transitions:[{name:"prime",from:"ready",to:"primed"},{name:"startTransition",from:"primed",to:"transitioning"},{name:"activate",from:"transitioning",to:"active"},{name:"linger",from:"active",to:"lingering"},{name:"complete",from:["active","lingering"],to:"completed"},{name:"activate",from:["completed","lingering"],to:"active"},{name:"reverseTransition",from:"active",to:"transitioning"},{name:"reset",from:"transitioning",to:"ready"}],methods:{onPrimed(){let{item:t,classNames:l}=this;t.itemEl.classList.add(l.prime),this.onItemShown&&this.onItemShown(t)},onStartTransition(){let{item:t,classNames:l}=this;gt(t.itemEl,"transitionend",()=>this.activate()),requestAnimationFrame(()=>t.itemEl.classList.add(l.active)),Wl()},onReverseTransition(){let{item:t,classNames:l}=this;gt(t.itemEl,"transitionend",()=>this.reset()),t.itemEl.classList.remove(l.active)},onReset(){let{item:t,classNames:l}=this;t.itemEl.classList.remove(l.prime),t.itemEl.classList.remove(l.active)},onActive(){let{item:t,classNames:l}=this;[l.prime,l.active].forEach(d=>t.itemEl.classList.add(d)),this.onItemShown&&this.onItemShown(t),Wl()},onCompleted(){let{item:t,classNames:l}=this;t.itemEl.classList.remove(l.prime),t.itemEl.classList.remove(l.active)},requestReady(){this.is("ready")||this.is("active")&&this.reverseTransition()},requestActive(){this.is("ready")&&this.prime(),this.is("primed")&&this.startTransition(),(this.is("completed")||this.is("lingering"))&&this.activate()},requestComplete(){let t=this.shouldLinger(this.item),l=this.can("linger"),d=!t,V=this.can("complete");t&&l?this.linger():d&&V&&this.complete()},isActive(){return this.is("active")}},data(t){return t}});function nd(t){if(t.isRendering)return;t.isRendering=!0;let l=fG(t.scrollContainer);t.items.forEach(d=>{let V=SF(l,d.data);if(!V)return;let i=t.machines.get(d);({ready:i.requestReady,active:i.requestActive,complete:i.requestComplete})[V].call(i)}),t.isRendering=!1}function SF(t,l){let d=t.scrollingIn&&l.showDuringScrollIn,V=t.scrollingOut&&l.showDuringScrollOut,i=kF(t.percentage,l.start,l.end);if(d||V||i)return"active";if(t.percentage<l.start)return"ready";if(t.percentage>l.end)return"complete"}function kF(t,l,d){return t>=l&&t<d}var _V={instances:new Map,isRunning:!1},PV=new WeakMap;function MF(t){let l=_V.instances;return l.has(t)||l.set(t,{scrollContainer:t.parentElement,items:[],isRendering:!1,machines:new WeakMap}),l.get(t)}function HF(t,l,d){let V=1/d.length,i=l*V,e=i+V,a=l===0,G=l===d.length-1;return{itemEl:t,index:l,data:{start:i,end:e,showDuringScrollIn:a,showDuringScrollOut:G}}}function AF(){document.querySelectorAll(".Theme-BackgroundScrollmationSection").forEach(l=>{let d=l.querySelectorAll(".MediaRenderer__fixedCaption--icon"),V=l.querySelector(".MediaRenderer__Scrollmation-portrait--Caption"),i=l.querySelectorAll(".btn-close-caption-scrollmation");function e(){V.removeAttribute("style")}function a(){V.style.display="none"}d.forEach(G=>G.addEventListener("click",e)),i.forEach(G=>G.addEventListener("click",a))})}function qV(){let t=B("[data-background-scrollmation]");AF(),t.forEach(l=>EF(l,{doLazyload:!0})),["resize","orientationchange"].forEach(l=>window.addEventListener(l,qG,{passive:!0}))}function EF(t,l,d){let V=B("[data-background-scrollmation-item]",t);if(V.length===0)return()=>{};let i=V.map(HF),e=MF(t);e.items=i.reduce((G,n)=>{let b=e.items.find(R=>R.itemEl===n.itemEl);return b&&(b.data=n.data),[...G,b||n]},[]),e.items.map(G=>l.doLazyload?yF(G,t.parentElement):G).filter(G=>!e.machines.get(G)).forEach(G=>e.machines.set(G,new ad({item:G,classNames:{prime:"BackgroundScrollmationItem--isPrimed",active:"BackgroundScrollmationItem--isActive"},onItemShown(n){d&&d(n,e.items.indexOf(n))},shouldLinger(n){return!e.items.filter(W=>W!==n).map(W=>e.machines.get(W)).some(W=>W.isActive())}})));function a(){let G=t.parentElement.getBoundingClientRect();G.bottom<T.getTop()+T.getHeight()?t.setAttribute("data-attach","after"):G.top<T.getTop()?t.setAttribute("data-attach","during"):t.setAttribute("data-attach","before")}return document.getElementById("editor-viewport")||document.addEventListener("scroll",a,{passive:!0}),l.doLazyload&&qG(),tt(PG),()=>{xt(PG),document.getElementById("editor-viewport")||document.removeEventListener("scroll",a)}}function yF(t,l){if(!PV.get(t.itemEl)){let V=document.createElement("div");V.classList.add("BackgroundScrollmation__lazyloadTriggerElement"),V.setAttribute("data-item-index",String(t.index)),PV.set(t.itemEl,V),l.appendChild(V);let i={pictures:B("picture",t.itemEl),container:t.itemEl.querySelector("[data-lazyload-container]"),trigger:V};bl(i)}return t}function qG(){(0,_G.default)(_V.instances.values()).map(t=>t.items).map(t=>t.map(l=>{let d=PV.get(l.itemEl);Object.assign(d.style,{position:"absolute",top:`${l.data.start*100}%`})}))}function PG(){_V.instances.forEach(t=>nd(t))}td();function li(t,l){Jt.length===0&&zF();let d=Jt.find(V=>V.element===t);d?d.listeners.find(V=>V===l)||d.listeners.push(l):Jt.push({element:t,lastVisible:!1,listeners:[l]})}function di(t,l){let d=Jt.findIndex(V=>V.element===t);if(d!==-1){let V=Jt[d];V.listeners=V.listeners.filter(i=>i!==l),V.listeners.length===0&&(Jt.splice(d,1),Jt.length===0&&wF())}}var Jt=[],Gd,$V=0,Zl=null;function zF(){let t=document.querySelector("#editor-viewport");t?(Gd=t,$V=t.getBoundingClientRect().top,Zl=new ResizeObserver(Il),Zl.observe(t,{box:"content-box"})):(Gd=window,$V=0,window.addEventListener("resize",Il,{passive:!0})),Gd.addEventListener("scroll",Il,{passive:!0}),tt($G)}function wF(){Gd.removeEventListener("scroll",Il),Zl?(Zl.disconnect(),Zl=null):window.removeEventListener("resize",Il),xt($G)}var ti=!1;function Il(){ti=!0}function $G(){ti&&(ti=!1,LF())}function LF(){Jt.forEach(t=>{let{top:l,isVisible:d,scrollPercent:V,elementHeight:i,viewportHeight:e}=Rd(t.element),a=d===t.lastVisible?"scroll":d?"enter":"leave";if(d||a==="leave"){let G={element:t.element,type:a,top:l,scrollPercent:V,elementHeight:i,viewportHeight:e};t.listeners.forEach(n=>n(G)),t.lastVisible=d}})}function Rd(t){let{top:l,height:d}=t.getBoundingClientRect(),V=T.getHeight(),i=V+d,e=l-$V,a=1-(d+e)/i;return{top:e,isVisible:a>=0&&a<=1,scrollPercent:a,elementHeight:d,viewportHeight:V}}function tR(){let t={};return{on(l,d){if(t[l])t[l].push(d);else return t[l]=[d],!0},off(l,d){if(t[l]){let V=t[l].indexOf(d);if(V!==-1){if(t[l].length===1)return delete t[l],!0;t[l].splice(V,1)}}return!1},emit(l,...d){var V;(V=t[l])==null||V.forEach(i=>i(...d))},hasListener(l){return l in t}}}function lR(t){return["enter","leave","scroll"].includes(t)}var cd=class extends HTMLElement{constructor(){super(...arguments);this.internalEvents=tR();this.scrollListenerCount=0;this.observer=new MutationObserver(()=>{this.internalEvents.emit("content")});this.scrollListener=d=>{switch(d.type){case"enter":this.internalEvents.emit("enter"),this.internalEvents.emit("scroll",d);break;case"leave":this.internalEvents.emit("leave");break;case"scroll":this.internalEvents.emit("scroll",d);break}}}connectedCallback(){if(this.internalEvents.emit("connected"),this.internalEvents.hasListener("content")&&(this.observer.observe(this,{childList:!0,subtree:!0}),this.hasChildNodes()&&this.internalEvents.emit("content")),this.scrollListenerCount>0){this.scrolledParent=dR(this),li(this.scrolledParent,this.scrollListener);let d=Rd(this.scrolledParent);d.scrollPercent<0||d.scrollPercent>1?this.internalEvents.emit("leave"):(this.internalEvents.emit("enter"),this.internalEvents.emit("scroll",lt({element:this.scrolledParent,type:"enter"},d)))}}getScrollPosition(){return Rd(this.scrolledParent)}disconnectedCallback(){this.scrollListenerCount>0&&(di(this.scrolledParent,this.scrollListener),this.internalEvents.emit("leave")),this.internalEvents.hasListener("content")&&this.observer.disconnect(),this.internalEvents.emit("disconnected")}on(d,V){this.internalEvents.on(d,V)&&(lR(d)?(this.isConnected&&this.scrollListenerCount===0&&(this.scrolledParent=dR(this),li(this.scrolledParent,this.scrollListener)),this.scrollListenerCount++):d==="content"&&this.isConnected&&this.observer.observe(this,{childList:!0,subtree:!0}))}off(d,V){this.internalEvents.off(d,V)&&(lR(d)?(this.scrollListenerCount--,this.isConnected&&this.scrollListenerCount===0&&di(this.scrolledParent,this.scrollListener)):d==="content"&&this.isConnected&&this.observer.disconnect())}};function dR(t){let l=t;for(;l.parentElement;){let d=getComputedStyle(l);if(d.position!=="sticky"&&d.display!=="inline")return l;l=l.parentElement}return l}var OF={fadeInThreshold:.7,fadeOutThreshold:.15,hideWhenOutOfBounds:!0};function VR(t,l,d,V,i=OF){let e=d/(d+V),a=e*i.fadeInThreshold*.5-e,G=1-e;if(a>l||l>=G)return[];let n=t.filter(c=>c.transitionPercentage).sort((c,W)=>W.transitionPercentage-c.transitionPercentage);if(n.length===0)return[];let b=n[0],R=n[1];if(b.transitionPercentage<i.fadeInThreshold)return[];if(R){let c=R.transitionPercentage>i.fadeInThreshold,W=R.transitionPercentage>i.fadeOutThreshold;if(c)return[R];if(W)return[b,R]}return[b]}var Vi=E(HV()),ii=E(f());function ei(t){var i;let l=B(".Theme-Layer-BodyText",t.parentElement);((i=document.getElementById("editor-viewport"))!=null?i:document).addEventListener("scroll",V,{passive:!0});function V(){l.forEach(e=>{ii.default.measure(()=>{let{top:a,bottom:G}=e.getBoundingClientRect(),n=window.innerHeight,b=n*.3,R=a<n&&a>n-b,c=G<b&&G>0;ii.default.mutate(()=>{if(R){let W=(0,Vi.default)((n-a)/b,0,1);e.style.setProperty("opacity",W.toString())}else if(c){let W=(0,Vi.default)(G/b,0,1);e.style.setProperty("opacity",W.toString())}else G<0||a>n?e.style.setProperty("opacity","0"):e.style.setProperty("opacity","1")})})})}}function iR(t){return t?t.split(";").map(d=>{let V=d.trim().split(/\s+/);if(V.length<2)return{name:V[0]||"none",speed:1};{let i=parseFloat(V[0]);return{name:V[1],speed:isNaN(i)?1:i}}}):[]}function eR(t,l,d,V){var R,c,W;let i=d+V,e=d*.4,a=d/i,G=-e/i,n=[{name:"none",start:G,end:G+a}],b=d;for(let I=0;I<l.length-1;I++){b+=l[I];let p=((c=(R=t[I])==null?void 0:R.speed)!=null?c:1)*a,U=(b-e)/i;n.push({name:((W=t[I])==null?void 0:W.name)||"none",start:U,end:U+p})}return n}function bR(t,l){return t.map((d,V)=>{if(V!==0&&l<d.start||V+1<t.length&&l>t[V+1].end)return{index:V,display:"none"};{let i=d.end-d.start,e=l-d.start,a=Math.min(e/i,1),G=jF(d,V,a);return G.opacity===0?{display:"none",index:V}:G}})}function jF(t,l,d){let V={display:"block",transitionPercentage:d,index:l,clipPath:"none",opacity:1},i=0,e=0,a=0,G=0;return t.name.split(",").forEach(b=>{switch(b){case"fade":V.opacity=d;break;case"up":i=(1-d)*100;break;case"right":e=(1-d)*100;break;case"down":a=(1-d)*100;break;case"left":G=(1-d)*100;break}}),(i||e||a||G)&&(V.clipPath=`inset(${i}% ${e}% ${a}% ${G}%)`),V}var DF=`
<style type="text/css">
.PositionSticky {
  position: -webkit-sticky; /* Safari 12 and earlier */
  top: 0px;
  position: sticky;
}
</style>
<div class="PositionSticky" style="width: 100%; height: 100vh; overflow: hidden">
 <div style="width: 100%; height: 100vh; overflow: hidden; top: 0px; isolation: isolate">
 <slot></slot>
 </div>
 <slot name="caption"></slot>
</div>
<slot name="foreground"></slot>`,Wd=class extends cd{constructor(){super();this.textHeights=[];this.isTextBlockConnected=!1;let d=this.attachShadow({mode:"open"});d.innerHTML=DF,this.slotElements=Array.from(d.querySelectorAll("slot")),window.ResizeObserver&&(this.textObserver=new ResizeObserver(()=>{this.textBlockElement&&(this.textHeights=aR(this.textBlockElement))})),this.slotElements[0].addEventListener("slotchange",()=>{this.updateScene(this.getScrollPosition())}),this.slotElements[1].addEventListener("slotchange",()=>{this.captionElement=this.slotElements[1].assignedElements()[0];let V=this.getScrollPosition();this.captionElement&&V.isVisible&&(this.captionElement.style.display="block",this.updateScene(V))}),this.slotElements[2].addEventListener("slotchange",()=>{this.disconnectTextBlockElement(),this.textBlockElement=this.slotElements[2].assignedElements()[0],this.connectTextBlockElement(),this.updateScene(this.getScrollPosition())}),this.on("connected",()=>{ei(this),this.readTransitions(),this.connectTextBlockElement()}),this.on("disconnected",()=>{this.disconnectTextBlockElement()}),this.on("enter",()=>{this.captionElement&&(this.captionElement.style.display="block")}),this.on("scroll",V=>{this.updateScene(V)}),this.on("leave",()=>{this.captionElement&&(this.captionElement.style.display="none")})}connectTextBlockElement(){var d;this.isConnected&&this.textBlockElement&&!this.isTextBlockConnected&&(this.textHeights=aR(this.textBlockElement),(d=this.textObserver)==null||d.observe(this.textBlockElement),this.isTextBlockConnected=!0)}disconnectTextBlockElement(){var d;this.textBlockElement&&this.isTextBlockConnected&&(this.textHeights=[],(d=this.textObserver)==null||d.observe(this.textBlockElement),this.isTextBlockConnected=!1)}readTransitions(){this.transitions=iR(this.getAttribute("data-transitions"))}updateScene({scrollPercent:d,viewportHeight:V,elementHeight:i}){if(this.textHeights.length===0)return;let e=eR(this.transitions,this.textHeights,V,i),a=bR(e,d),G=VR(a,d,V,i),n=this.slotElements[0].assignedElements();PF(this.captionElement,n,G),a.forEach((b,R)=>vF(n[R],b))}attributeChangedCallback(){this.isConnected&&(this.readTransitions(),this.updateScene(this.getScrollPosition()))}};Wd.observedAttributes=["data-transitions"];function aR(t){return Array.from(t.children).map(l=>l.getBoundingClientRect().height)}function vF(t,l){var d;t instanceof HTMLElement&&(t.style.display!==l.display&&(l.display==="none"?fF(t):KF(t),t.style.display=l.display),t.style.opacity=(d=l.opacity)==null?void 0:d.toString(),t.style.clipPath=l.clipPath,t.style.zIndex=l.index.toString())}function fF(t){t.querySelectorAll("video").forEach(l=>{l.autoplay&&(l.autoplay=!1);try{l.pause()}catch(d){}})}function KF(t){t.querySelectorAll("video").forEach(l=>{if(l.src)try{l.play().catch(()=>{})}catch(d){}else l.autoplay=!0})}function PF(t,l,d){if(t){let V=t.querySelector("[data-mediarenderer-caption-container]")||t,i=d.map(e=>l[e.index].querySelector(".Theme-OverlayedCaption"));d.length===0||i.some(e=>!e)?t.style.opacity="0":(t.style.opacity="1",d.length===2?V.style.opacity="0":(V.style.opacity="1",V.innerHTML=i[0].innerHTML))}}function _F(t="sh-background-transition"){customElements.get(t)||customElements.define(t,Wd)}_F();function nR(t,l,d){var V,i,e;l===void 0&&(l=50),d===void 0&&(d={});var a=(V=d.isImmediate)!=null&&V,G=(i=d.callback)!=null&&i,n=d.maxWait,b=Date.now(),R=[];function c(){if(n!==void 0){var I=Date.now()-b;if(I+l>=n)return n-I}return l}var W=function(){var I=[].slice.call(arguments),p=this;return new Promise(function(U,Z){var m=a&&e===void 0;if(e!==void 0&&clearTimeout(e),e=setTimeout(function(){if(e=void 0,b=Date.now(),!a){var h=t.apply(p,I);G&&G(h),R.forEach(function(u){return(0,u.resolve)(h)}),R=[]}},c()),m){var J=t.apply(p,I);return G&&G(J),U(J)}R.push({resolve:U,reject:Z})})};return W.cancel=function(I){e!==void 0&&clearTimeout(e),R.forEach(function(p){return(0,p.reject)(I)}),R=[]},W}var GR=E(AV());function Ud(t){let l={"InstantImage--isLoading":!1,"InstantImage--isLoaded":!0};t.className=(0,GR.default)(t.className,l)}var{isSafari:RR}=D();function St(t,l){let d=Array.from(t.querySelectorAll("source")),V;return RR&&(V=d.find(i=>i.type==="video/mp4"&&i.hasAttribute(`data-${l}`))),V||(V=d.find(i=>t.canPlayType(i.type)&&i.hasAttribute(`data-${l}`)&&(!RR||i.type==="video/mp4"))),V?[qF(V.getAttribute(`data-${l}`)),V.type]:[void 0,void 0]}function qF(t){let l=document.createElement("a");return l.href=t,l.href}function ct(t,l){l.classList.remove("video-stopped","video-paused","video-playing","video-loading","video-error"),l.classList.add(t)}function $F(t){let l=()=>{t.style.opacity="1"};["loadeddata","playing","canplaythrough"].forEach(V=>gt(t,V,l))}function tg(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2}function bi(t,l={canControl:!0},d){let V=T.getHeight()>T.getWidth(),i=tg(t),[e]=St(t,V?"portrait":"landscape");e&&t.src!==e&&(t.src=e,t.load(),l.canControl&&i&&Zd(t,d))}function ai(){let{isSafari:t}=D();B("[data-background-video]").forEach(i=>{let e=i.querySelector("[data-video]"),a=i.querySelector("img");if(!e)return;t&&e.className.includes("FullSize__fixedChild")&&e.addEventListener("canplay",()=>{e.className=e.className.replace("FullSize__fixedChild","FullSize__fixedChild--Safari")});let G=e.autoplay;if(e.muted=!0,e.defaultMuted=!0,$F(e),e.readyState>=2?Ud(i):(e.addEventListener("loadeddata",()=>Ud(i)),e.addEventListener("error",()=>Ud(i))),G){bt(i,R=>{bi(e,{canControl:!1},a),bd(e),Rt(R)?Zd(e,a):e.pause()},{triggerPoint:"on visibile"});let{top:b}=i.getBoundingClientRect();b<T.getHeight()*2&&(Zd(e,a),setTimeout(()=>{e.readyState<2&&e.paused&&(e.load(),Zd(e,a))},1e3))}else bi(e,{canControl:!1},a)});let d=B("[data-background-video] [data-video]"),V=nR(i=>d.forEach(e=>{var a;bi(e,{canControl:!0},(a=e.parentElement)==null?void 0:a.querySelector("img"))}),100);["resize","orientationchange"].forEach(i=>{window.addEventListener(i,V,{passive:!0})})}function Zd(t,l){try{t.pause(),t.style.visibility="hidden",l.style.visibility="visible"}catch(V){}let d=t.play();typeof d!="undefined"&&(t.style.visibility="visible",l.style.visibility="hidden",d.then(()=>{t.style.visibility="visible",l.style.visibility="hidden"}).catch(()=>{t.play().catch(V=>{t.pause(),t.style.visibility="hidden",l.style.visibility="visible"})}))}var UR=E(jV());var ni=E(f());function Gi(t,l){ni.default.measure(()=>{let d=window.innerWidth,i=l.reduce((e,a)=>e.clientHeight>a.clientHeight?e:a,l[0]).clientHeight;ni.default.mutate(()=>{t.style.height=d>=900?`${i}px`:null})})}var gl=E(f());var Fl={items:[],lastSizes:new WeakMap},lg=250;function cR(){let t=Vg(document.documentElement);t.length!==0&&(Fl.items=t,tt(dg))}function dg(){Fl.items.forEach(t=>eg(t))}function Vg(t){return B("[data-card-canvas-item]",t).map(ig)}function ig(t){return{el:t,img:B("img",t),caption:t.querySelector(".CardCanvasItem__caption"),heightReferenceEl:t.parentElement.querySelector("[data-card-canvas-height-reference]")}}function eg(t){bg(t).then(()=>ag(t)).catch(()=>{})}function bg(t){return new Promise((l,d)=>{gl.default.measure(()=>{if(getComputedStyle(t.el).getPropertyValue("display")==="none")return d();let i=window.innerWidth,e=t.heightReferenceEl.clientHeight,a=t.caption?t.caption.clientHeight:0,G=Fl.lastSizes.has(t)?Fl.lastSizes.get(t):{width:0,height:0,captionHeight:0};if(i===G.width&&e===G.height&&a===G.captionHeight)return d();G.width=i,G.height=e,G.captionHeight=a,Fl.lastSizes.set(t,G);let n=e-a;gl.default.mutate(()=>{t.img.forEach(b=>b.style.maxHeight=i>=900?`${n}px`:null),l()})})})}function ag(t){return new Promise(l=>{if(!t.caption)return l();function d(V,i){gl.default.mutate(()=>{let e=ng(i,{width:V.naturalWidth,height:V.naturalHeight}),a=Math.max(e.width,lg);t.caption.style.maxWidth=`${a}px`,l()})}gl.default.measure(()=>{let V=t.el.querySelector("picture img");if(!V)return;let i=V.getBoundingClientRect();V.naturalWidth>0?d(V,i):V.addEventListener("load",()=>d(V,i))})})}function ng(t,l){let d=l.width/t.width,V=l.height/t.height,i=Math.max(d,V);return{width:l.width/i,height:l.height/i}}var ci={instances:new Map,isRunning:!1},Ri=new WeakMap;function Gg(t){let l=ci.instances;return l.has(t)||l.set(t,{scrollContainer:t.parentElement,items:[],isRendering:!1,machines:new WeakMap}),l.get(t)}function Rg(t,l,d){let V=1/d.length,i=l*V,e=i+V,a=l===0,G=l===d.length-1;return{itemEl:t,index:l,data:{start:i,end:e,showDuringScrollIn:a,showDuringScrollOut:G}}}function Wi(){cR(),B("[data-card-canvas]").forEach(l=>cg(l,{doLazyload:!0})),["resize","orientationchange"].forEach(l=>window.addEventListener(l,ZR,{passive:!0}))}function cg(t,l,d){let V=B("[data-card-canvas-item]",t);if(V.length===0)return;let i=V.map(Rg),e=Gg(t);return e.items=i.reduce((a,G)=>{let n=e.items.find(b=>b.itemEl===G.itemEl);return n&&(n.data=G.data),[...a,n||G]},[]),e.items.map(a=>l.doLazyload?Wg(a,t.parentElement):a).filter(a=>!e.machines.get(a)).forEach(a=>e.machines.set(a,new ad({item:a,classNames:{prime:"CardCanvasItem--isPrimed",active:"CardCanvasItem--isActive"},onItemShown(G){d&&d(G,e.items.indexOf(G))},shouldLinger(G){return!e.items.filter(c=>c!==G).map(c=>e.machines.get(c)).some(c=>c.isActive())}}))),l.doLazyload&&ZR(),tt(WR),()=>xt(WR)}function Wg(t,l){if(!Ri.get(t.itemEl)){let V=document.createElement("div");V.classList.add("BackgroundScrollmation__lazyloadTriggerElement"),V.setAttribute("data-item-index",String(t.index)),Ri.set(t.itemEl,V),l.appendChild(V);let i={pictures:B("picture",t.itemEl),container:t.itemEl.querySelector("[data-lazyload-container]"),trigger:V};bl(i)}return t}function ZR(){(0,UR.default)(ci.instances.values()).map(t=>t.items).map(t=>t.map(l=>{let d=Ri.get(l.itemEl);Object.assign(d.style,{position:"absolute",top:`${l.data.start*100}%`})}))}function Ug(t,l){nd(t),Gi(l,t.items.map(d=>d.itemEl))}function WR(){ci.instances.forEach(Ug)}function Ui(){}var Zi=Symbol("hidden"),Ii=Symbol("visible");function Zg(t,l,d){let V=d.find(([e])=>e===t),i=V?V[1]:!1;return(!i||i!==l)&&t(l),d.filter(([e])=>e!==t).concat([[t,l]])}function Ig(t){let{lastCalls:l}=t;Id.forEach(d=>{let i=t.isPageHidden||!t.visibleElements.has(d.element)?Zi:Ii;l=Zg(d.cb,i,l)}),t.lastCalls=l}function Fg(t,l){return t.add(l)}function gg(t,l){return t.delete(l),t}function mg(){Tt.addVisibilityChangeListener(()=>{let t={isPageHidden:IR()};gR(t)})}function IR(){return Tt.isHidden()}var Id=[],Fd={isPageHidden:IR(),visibleElements:new Set,lastCalls:[]};function FR(t,l,d="nearly visible"){Id.push({cb:l,element:t});let V={triggerPoint:d};return bt(t,e=>{let{visibleElements:a}=Fd,G=Rt(e)?Fg(a,t):gg(a,t);gR({visibleElements:G})},V),()=>{jt(t,V);let e=Id.findIndex(a=>a.element===t&&a.cb===l);Id.splice(e,1)}}function gR(t){Fd=lt(lt({},Fd),t),Ig(Fd)}function Fi(){mg()}var gi=E(f());function mi(){window.addEventListener("resize",()=>mR(),{passive:!0}),mR()}function mR(){gi.default.measure(()=>{let t=T.getOrientation();gi.default.mutate(()=>{B("[data-landscape-focal]").forEach(l=>{let d=l.dataset[`${t}Focal`];if(d){let V=l.tagName==="PICTURE"?l.querySelector("img"):l;V==null||V.style.setProperty("object-position",d)}})})})}var O=null,ml=!1;function pi(){pg(),B("[data-footnote]").forEach(t=>og(t))}function pg(){let t=w(".Theme-Story");t&&(!O||!w(".Theme-Footnote",t))&&(O=document.createElement("div"),O.classList.add("Theme-Footnote"),O.setAttribute("role","tooltip"),O.setAttribute("aria-live","polite"),O.setAttribute("aria-atomic","true"),t.appendChild(O))}function pR(){return w("#editor-viewport")||document}function Bg(){let t=w(".Theme-Header");if(!t)return 0;let l=getComputedStyle(t).height,d=parseInt(l,10),V=w(".Navigation__itemList"),i=V&&window.innerWidth>=1100&&V.childNodes.length?36:0,e=w(".navbar-editor");return(e?parseInt(getComputedStyle(e).height,10):0)+d+i}function og(t){t.addEventListener("mouseover",()=>gd(t)),t.addEventListener("touchstart",()=>gd(t)),t.addEventListener("focus",()=>{setTimeout(()=>gd(t),100)}),t.addEventListener("keydown",l=>{switch(l.key){case"Enter":ml?Bi():gd(t);break;case"ArrowUp":ml&&(l.preventDefault(),O.firstElementChild.scrollBy(0,-20));break;case"ArrowDown":ml&&(l.preventDefault(),O.firstElementChild.scrollBy(0,20));break}})}function gd(t){let l=t.getBoundingClientRect();O.style.display="block",O.innerHTML=decodeURIComponent(t.getAttribute("data-footnote"));let d=O.getBoundingClientRect(),V=l.top<Bg()+d.height,i=V?l.bottom+5:l.top-d.height-5,e=l.left+l.width/2;e-d.width/2<0?e=d.width/2+2:e+d.width/2>window.innerWidth&&(e=window.innerWidth-d.width/2-2),O.style.top=`${i}px`,O.style.left=`${e}px`,O.classList.remove("Theme-Position-Top"),O.classList.remove("Theme-Position-Bottom"),O.classList.add(V?"Theme-Position-Top":"Theme-Position-Bottom"),document.addEventListener("mouseover",md),document.addEventListener("touchstart",md),pR().addEventListener("scroll",BR),ml=!0}function Bi(){ml=!1,O.style.display="",document.removeEventListener("mouseover",md),document.removeEventListener("touchstart",md),pR().removeEventListener("scroll",BR)}function BR(){Bi()}function md(t){let l=t.target;!l.closest(".Theme-Layer-BodyText-Highlight")&&!l.closest(".Theme-Footnote")&&Bi()}var oi=E(f());var oR="HideOffscreen__media--onscreen";function xg(t){oi.default.mutate(()=>{t.forEach(l=>l.classList.remove(oR))})}function Jg(t){oi.default.mutate(()=>{t.forEach(l=>{l.classList.add(oR),KV([l])})})}function xi(){B(".HideOffscreen--container").map(t=>({container:t,children:B(".HideOffscreen__media",t)})).filter(t=>t.children&&t.children.length>0).forEach(t=>{FR(t.container,l=>{switch(l){case Ii:Jg(t.children);break;case Zi:xg(t.children);break}},"on visibile")})}function Ji(){}function Ng(){let t=document.createElement("div");return t.style.display="flex",t.style.display==="flex"}function Ni(){Ng()||document.documentElement.classList.add("Layout--flexboxUnsupported")}function Qi(){Ni()}var JR=E(f());function pd(t,l){let d=t.querySelector(".carousel-inner"),V=t.querySelector(".carousel-container"),i=t.querySelector(".carousel-image-Small"),e=t.querySelector(".carousel-captions"),a=t.querySelector("#carousel-next-btn"),G=t.querySelector("#carousel-prev-btn"),n=Array.from(d.querySelectorAll(".carousel-cell-item")),b=[],R=0;function c(Q,o,N){Q.style.transition=o,Q.style.transform=N}let W;document.querySelector(".Theme-Story").dir==="rtl"&&(W=!0);function p(Q,o){let N;return Q instanceof HTMLImageElement?N=Q.naturalWidth/Q.naturalHeight:Q instanceof HTMLVideoElement&&(N=Q.videoWidth/Q.videoHeight),o*N}function U(Q,o){let N=window.innerWidth,C=i?d.clientHeight-60:d.clientHeight,k=()=>{let P=p(Q,C);b[parseInt(o.dataset.index)]=P,N<900&&!i?(o.style.width="92vw",o.style.height="100%",o.classList.add("active","carousel-mobile-media")):(o.classList.remove("carousel-mobile-media"),o.style.width=`${P}px`,o.style.height=`${C}px`)};function r(){k(),l?Z():(c(d,"transform 0.5s ease","translateX(0px)"),c(e,"transform 0.5s ease","translateX(0px)")),m()}Q instanceof HTMLImageElement?Q.complete?r():Q.addEventListener("load",r):Q instanceof HTMLVideoElement&&(Q.readyState>=3?r():Q.addEventListener("loadeddata",r)),m()}function Z(){let Q=window.innerWidth;if(d)if(Q<900&&!i)c(d,"none",`translateX(${R*92}vw)`),c(e,"none",`translateX(${R*92}vw)`);else{let o=t.querySelector(".carousel-container").offsetWidth/2-b[R]/2;c(d,"none",`translateX(${W?-o:o}px)`),c(e,"none",`translateX(${W?-(o+15*R):o+15*R}px)`)}}function m(){let Q=t.querySelectorAll("[data-media-long-captions]"),o=window.innerWidth,N=Array.from(Q).every(C=>C.textContent.trim()==="");n.forEach((C,k)=>{let r=Q[k];o<900&&!i?(r.classList.add("mobile-caption"),r.style.width="92vw",r.classList.remove("carousel-center-caption")):l?(r.classList.add("carousel-center-caption"),r.classList.remove("mobile-caption"),r.style.width=`${b[k]}px`):(r.classList.remove("mobile-caption"),r.classList.remove("carousel-center-caption"),r.style.width="92vw"),k!==R&&!N?(C.classList.add("non-active-fade-out"),r.classList.add("fade-out-caption","hide-caption"),r.classList.remove("active-caption")):(C.classList.add("active"),C.classList.remove("non-active-fade-out"),r.classList.add("active-caption"),r.classList.remove("fade-out-caption","hide-caption"))}),a.style.display=W?R===0?"none":"block":R===n.length-1?"none":"block",G.style.display=W?R===n.length-1?"none":"block":R===0?"none":"block"}function J(){n.forEach((N,C)=>{N.dataset.index=String(C);let k=N.querySelector("img"),r=N.querySelector("video");r&&!r.paused&&(r.style.visibility="visible"),U(k,N)}),R=0;let Q=b.reduce((N,C)=>N+C,0),o=t.querySelector(".MediaGallery_carousel");b[R]<o.clientWidth-20&&!W?o.classList.add("fade-at-end"):o.classList.remove("fade-at-end"),Q<window.innerWidth?(o.classList.add("center-carousel"),e.style.display="none",G.style.display="none",a.style.display="none",o.classList.remove("fade-at-end"),c(d,"transform 0.5s ease","translateX(0px)"),n.forEach(N=>{N.classList.add("active"),e.classList.add("active-caption"),N.classList.remove("non-active-fade-out"),e.classList.remove("non-active-fade-out")})):(e.style.display="flex",o.classList.remove("center-carousel"),m())}function h(){return 15/window.innerWidth*100}function u(Q){let o=(R+(Q==="next"?1:-1)+b.length)%b.length,N=b[o],C=b.slice(0,o).reduce((r,P)=>r+P+15,0);if(window.innerWidth<900&&!i)c(d,"transform 0.5s ease",`translateX(${W?o*92+h()*o:-(o*92+h()*o)}vw)`),c(e,"transform 0.5s ease",`translateX(${W?o*92+h()*o:-(o*92+h()*o)}vw)`);else if(l){let r=t.querySelector(".carousel-container").offsetWidth/2-N/2-C;c(d,"transform 0.5s ease",`translateX(${W?-r:r}px)`),c(e,"transform 0.5s ease",`translateX(${W?-r:r+15*o}px)`)}else c(d,"transform 0.5s ease",`translateX(${W?C:-C}px)`),c(e,"transform 0.5s ease",`translateX(${W?o*92:-o*92}vw)`);R=o,m()}a.addEventListener("click",()=>u(W?"prev":"next")),G.addEventListener("click",()=>u(W?"next":"prev"));function x(Q){return{x:Q.touches[0].clientX,y:Q.touches[0].clientY}}let F=null,Y=-1;V.addEventListener("touchstart",Q=>{F=x(Q),Y=F.x},{passive:!0}),V.addEventListener("touchmove",Q=>{let o=x(Q),N=o.x-F.x,C=o.y-F.y;Math.abs(N)>Math.abs(C)&&Q.cancelable&&Q.preventDefault()}),V.addEventListener("touchend",Q=>{if(Y===-1)return;let o=Q.changedTouches[0].clientX-Y,N=window.innerWidth*.1;o<-N&&R<b.length-1?u("next"):o>N&&R>0&&u("prev"),Y=-1},{passive:!0});function X(){return me(this,null,function*(){let Q=n.map(o=>{let N=o.querySelector("img"),C=o.querySelector("video");return{img:N,video:C}});yield Promise.all(Q.map(({img:o,video:N})=>new Promise(C=>{o?o.complete?C():(o.addEventListener("load",()=>C()),o.src=o.src):N&&(N.readyState>=3?C():(N.addEventListener("loadeddata",()=>C()),N.src=N.src))}))),J()})}window.addEventListener("DOMContentLoaded",X);let S=window.innerHeight;window.addEventListener("resize",()=>{let Q=window.innerHeight;Math.abs(Q-S)>100&&(J(),S=Q)})}var at=class t{constructor(l){this.element=l,this.counter=l.querySelector("[aria-live]"),this.element.parentElement.removeChild(this.element),document.body.appendChild(this.element),this.currentMediaIndex=0,this.media=B("[data-media-gallery-index]",this.element),this.element.addEventListener("click",()=>{this.close()}),B("img, .Videoplayer, .Theme-Caption",this.element).forEach(a=>{a.addEventListener("click",G=>G.stopPropagation())});let d=w('[data-action="previous"]',this.element);d&&d.addEventListener("click",a=>{a.stopPropagation(),this.prev()});let V=w('[data-action="next"]',this.element);V&&V.addEventListener("click",a=>{a.stopPropagation(),this.next()}),w('[data-action="close"]',this.element).addEventListener("click",a=>{a.stopPropagation(),this.close()}),this.element.addEventListener("touchmove",a=>a.preventDefault());let e=-1;B("img, .Videoplayer",this.element).forEach(a=>{a.addEventListener("touchstart",G=>{e=G.touches[0].clientX}),a.addEventListener("touchend",G=>{let n=G.changedTouches[0].clientX-e,b=window.innerWidth*.1;n<-b?this.next():n>b&&this.prev(),e=-1})})}getFocusable(){let l=B("*[data-action]",this.element),d=w(`[data-media-gallery-index="${this.currentMediaIndex}"].active [tabindex]`,this.element);return l.concat(d).filter(V=>V)}open(l,d){var V;(V=t.current)==null||V.close(!1),B("video",this.element).forEach(i=>i.setAttribute("playsinline","true")),B([".DeviceDetect--isEdge .MediaGallery--lightbox .plyr__progress--seek",".DeviceDetect--isIE .MediaGallery--lightbox .plyr__progress--seek"].join(",")).forEach(i=>{i.style.setProperty("width","0"),setTimeout(()=>i.style.removeProperty("width"),100)}),this.goToIndex(l),this.element.classList.add("MediaGallery--lightbox--open"),t.current=this,document.body.classList.add("Body--hasLightbox"),this.getFocusable()[1].focus(),this.onClose=d}close(l=!0){this.element.classList.remove("MediaGallery--lightbox--open"),document.body.classList.remove("Body--hasLightbox"),B("video",this.element).forEach(d=>d.pause()),l&&typeof this.onClose=="function"&&this.onClose(),t.current=null}prev(){let l=this.currentMediaIndex===0?this.media.length-1:this.currentMediaIndex-1;this.goToIndex(l)}next(){let l=this.currentMediaIndex===this.media.length-1?0:this.currentMediaIndex+1;this.goToIndex(l)}goToIndex(l){this.media[this.currentMediaIndex].classList.remove("active"),B("video",this.element).forEach(V=>V.pause()),this.currentMediaIndex=l,w(`[data-media-gallery-index="${this.currentMediaIndex}"]`,this.element).classList.add("active"),this.counter.innerText=`Item ${l+1} of ${this.media.length}`}};function Ci(){let t={};B("[data-media-gallery-lightbox]").forEach(d=>{let V=d.getAttribute("data-media-gallery-lightbox");t[V]=new at(d)}),B("[data-media-gallery]").forEach(d=>{let V=d.getAttribute("data-media-gallery");B("[data-cell-index]",d).forEach(i=>{i.addEventListener("click",()=>l(V,i)),i.addEventListener("keydown",e=>{at.current||e.code==="Enter"&&(e.preventDefault(),e.stopPropagation(),l(V,i))})})}),window.removeEventListener("keydown",xR),window.addEventListener("keydown",xR);function l(d,V){let i=parseInt(V.getAttribute("data-cell-index"),10);Qg(),t[d].open(i,()=>{Cg(),V.focus()})}}function xR(t){if(at.current&&T.getHeight()!==window.screen.height)switch(t.code){case"Tab":let l=at.current.getFocusable(),d=l[0],V=l[l.length-1];!l.includes(document.activeElement)||!t.shiftKey&&document.activeElement===V?(t.preventDefault(),t.stopPropagation(),d.focus()):t.shiftKey&&document.activeElement===d&&(t.preventDefault(),t.stopPropagation(),V.focus());break;case"Enter":document.activeElement.className.includes("plyr")&&(t.preventDefault(),t.stopPropagation(),document.activeElement.querySelector('[data-plyr="fullscreen"]').click());break;case"ArrowRight":t.preventDefault(),t.stopPropagation(),document.activeElement.className.includes("plyr")||at.current.next();break;case"ArrowLeft":t.preventDefault(),t.stopPropagation(),document.activeElement.className.includes("plyr")||at.current.prev();break;case"Escape":t.preventDefault(),t.stopPropagation(),at.current.close();break}}function Qg(){B("[data-media-gallery] video").forEach(t=>t.pause())}function Cg(){B("[data-media-gallery] video").forEach(t=>{JR.default.measure(()=>{let l=t.getBoundingClientRect();l.top<T.getHeight()&&l.bottom>0&&t.play()})})}B("[data-media-carousel]").forEach(t=>{pd(t,!1)});B("[data-media-center-carouse]").forEach(t=>{pd(t,!0)});function hi(){let{isIE:t,isEdge:l}=D();(t||l)&&(window.addEventListener("mousewheel",d=>{let{wheelDelta:V,wheelDeltaY:i}=d;d.preventDefault(),pl(1-(i||V))}),document.body.addEventListener("keydown",d=>{switch(d.key){case"PageUp":d.preventDefault(),pl(window.innerHeight*-.8);break;case"PageDown":d.preventDefault(),pl(window.innerHeight*.8);break;case"ArrowUp":d.preventDefault(),pl(-120);break;case"ArrowDown":d.preventDefault(),pl(120);break;default:return}}))}function pl(t,l=100){let d=10,V=t/d,i=setInterval(()=>{window.scrollTo(0,Math.round(window.pageYOffset+V)),d>0?d--:clearInterval(i)},l/d)}var XR=E(QR());var Xi=E(f());var hR="Theme-ActiveNavigationBarItem";function hg(t){return t.reduce((l,d)=>{let V=d.getAttribute("href");if(V.indexOf("#")!==0)return l;let i=V.replace(/^#/,"");try{let e=document.getElementById(i);e||console.warn(`navigation: Couldn't locate target via nav item id '${i}'.`),l.push({target:e,navItem:d})}catch(e){console.warn(`navigation: Bad target via nav item selector ${i}.`)}return l},[])}function Xg(t){t.forEach(ug)}function ug(t){t.parentElement.classList.remove(hR)}function sg(t){t.parentElement.classList.add(hR)}function rg(t){let l=T.getHeight()/2;return t.find(d=>{let V=d.target.getBoundingClientRect(),i=d.target.className.match(/\bTheme-TitleSection\b/)!==null;return V.top<l&&(i||V.bottom>l)})}var CR={lastMostVisible:!1};function Yg(t){Xi.default.measure(()=>{let l=rg(t.slice().reverse());CR.lastMostVisible!==l&&Xi.default.mutate(()=>{Xg(t.map(d=>d.navItem)),l&&sg(l.navItem),CR.lastMostVisible=l})})}function ui(t){let l=hg(t);if(l.length===0)return;let d=()=>Yg(l);["scroll","resize"].forEach(V=>window.addEventListener(V,d)),setTimeout(d,1e3),d()}function si(){let t=B(".Navigation"),l=B(".Navigation__hamburger");if(!t.length||!l.length)return;let d=t[0],V=l[0],i=B(".Navigation__item",d);if(i.length===0){V.classList.add("hidden");return}Tg(V,d),kg(i,d,V),Sg(V)}function Tg(t,l){function d(i){return e=>{e.key==="Tab"&&!e.shiftKey&&(e.preventDefault(),i.focus())}}function V(i){return e=>{e.key==="Tab"&&e.shiftKey&&(e.preventDefault(),i.focus())}}t.addEventListener("click",i=>{i.preventDefault(),l.classList.toggle("Navigation--isActive");let e=l.classList.contains("Navigation--isActive"),a=e?"true":"false";t.setAttribute("aria-expanded",a);let G=B("nav.Theme-NavigationBar a"),n=G.at(0),b=G.at(-1),R=n?V(b):null,c=b?d(n):null;function W(){l.classList.remove("Navigation--isActive"),t.setAttribute("aria-expanded","false"),t.focus(),n==null||n.removeEventListener("keydown",R),b==null||b.removeEventListener("keydown",c)}function I(U){!U.target.closest(".Navigation__hamburger")&&!l.contains(U.target)&&W()}function p(U){U.key==="Escape"&&W()}e?(n==null||n.focus(),n==null||n.addEventListener("keydown",R),b==null||b.addEventListener("keydown",c),document.addEventListener("click",I),document.addEventListener("keydown",p)):(n==null||n.removeEventListener("keydown",R),b==null||b.removeEventListener("keydown",c),document.removeEventListener("click",I),document.removeEventListener("keydown",p),t.focus())})}function Sg(t){t.classList.remove("Navigation__hamburger--initializing")}function kg(t,l,d){let V=()=>{l.classList.remove("Navigation--isActive"),d.setAttribute("aria-expanded","false")};t.forEach(i=>i.addEventListener("click",V))}var Mg="[data-story-nav-item]",Hg=-2;function Ag(){return B("[data-fixed-story-element]").reduce((l,d)=>l+d.getBoundingClientRect().height,Hg)}function ri(t=Mg){let l=B(t);ui(l),si();let d=Ag();XR.default.setup(500,d)}var ki=E(f());var Eg={clientWidth:["padding-left","padding-right","border-left-width","border-right-width"],clientHeight:["padding-top","padding-bottom","border-top-width","border-bottom-width"]};function uR(t){return rR(t,"clientWidth")}function sR(t){return rR(t,"clientHeight")}function yg(t,l){switch(l){case"clientWidth":return t.clientWidth;case"clientHeight":return t.clientHeight}}function rR(t,l){let d=Eg[l];try{let V=window.getComputedStyle(t),i=d.reduce((e,a)=>{let G=V.getPropertyValue(a);return e+zg(G)},0);return yg(t,l)-i}catch(V){throw new Error(`Couldn't get styles for element ${t} in getInnerDimension`)}}function zg(t){return parseInt(t,10)}var dm=Gc(),Rc={elements:[]},Vm=dm();function Hi(t){let{elements:l}=Rc;if(l.findIndex(V=>V.element===t)>-1)return;let d={element:t,onResize(){Mi(t)}};l.push(d),Mi(t,!0),Vm.listenTo(d.element.parentElement,d.onResize),od()}function im(){let{elements:t}=Rc;t.forEach(l=>Mi(l.element))}function Mi(t,l=!1){ki.default.measure(()=>{let d=t.parentNode,V=d?uR(d):-1,i=t.clientWidth;(V!==i||l)&&ki.default.mutate(()=>{t.style.width=`${V}px`})})}function od(){let t=document.getElementsByClassName("ParentWidth");Array.prototype.forEach.call(t,Hi),im()}var xd=E(f());var cc=!1;function Ei(t){t&&(Dt.getTopOffset=t),B("[data-scrollymoly]").forEach(em),window.addEventListener("orientationchange",()=>Ai()),cc||(cc=!0,window.addEventListener("resize",am),tt(Ai))}var Dt={moles:[],getTopOffset(t){return document.documentElement?t.getBoundingClientRect().top+document.documentElement.scrollTop:(console.error("Document element is not available."),0)}};function em(t){let l=t.getAttribute("data-scrollymoly");try{let d=JSON.parse(l).map(e=>ge(lt({},e),{offset:Number.isFinite(e.offset)?e.offset:0})),V=t.closest("[data-scrollymoly-basis]"),i=Dt.getTopOffset(V);bm({element:t,basisEl:V,effects:d,topOffset:i,state:{}})}catch(d){console.error(d)}}function bm(t){Dt.moles.push(t),Ai()}function Ai(){Dt.moles.map(nm)}function am(){Dt.moles.forEach(t=>{t.topOffset=Dt.getTopOffset(t.basisEl)})}function nm(t){return new Promise((l,d)=>{xd.default.measure(()=>{t.effects.forEach(V=>{V.kind in Uc?Uc[V.kind](t,V,l):(console.error(`Unknown effect type '${V.kind}'`),l())})})})}function Wc(t,l,d){let V=l.firstElementChild.getBoundingClientRect(),i=t.kind==="fadeIn"?V.top:V.bottom,e=T.getHeight()*t.end,a=e+Math.min(V.height,T.getHeight()*t.start),G=i>a?1:(i-e)/(a-e);return Math.round(G*100)/100}var Uc={fadeOut(t,l,d){let V=Wc(l,t.basisEl,t.topOffset),i=Math.max(0,Math.min(1,V));if(t.state.lastOpacity===i)return d();xd.default.mutate(()=>{t.state.lastOpacity=i,t.element.style.opacity=i.toString(),d()})},fadeIn(t,l,d){let V=Wc(l,t.basisEl,t.topOffset),i=Math.max(0,Math.min(1,1-V));if(t.state.lastOpacity===i)return d();xd.default.mutate(()=>{t.state.lastOpacity=i,t.element.style.opacity=i.toString(),d()})}};var Zc={facebook:{networkName:"Facebook",shareAction:"Share",popupWidth:600,popupHeight:420},twitter:{networkName:"Twitter",shareAction:"Tweet",popupWidth:600,popupHeight:250},linkedin:{networkName:"LinkedIn",shareAction:"Share",popupWidth:600,popupHeight:250}};function Gm(t,l){let d=Math.round(T.getWidth()/2-l.popupWidth/2),V=0;T.getHeight()>l.popupHeight&&(V=Math.round(T.getHeight()/3-l.popupHeight/2));let i={left:d,top:V,width:l.popupWidth,height:l.popupHeight,personalbar:0,toolbar:0,scrollbars:1,resizable:1},e=Object.keys(i).map(n=>`${n}=${i[n]}`).join(","),a="social-widget-"+l.networkName.replace(/\s+/,"-"),G=window.open(t,a,e);G?G.focus():location.href=t}function Rm(t){t.preventDefault();let l=t.currentTarget,d=l.getAttribute("data-social-share"),V=Zc[d],i=l.href;Gm(i,V)}function cm(t){let l=t.getAttribute("data-social-share");l in Zc?t.addEventListener("click",Rm,{passive:!1}):console.error(`Social Share button of type ${l} is not supported.`)}function yi(t="[data-social-share]"){B(t).forEach(cm)}var vt={};function ft(t,l){return()=>{vt.pause&&vt.instance!==l&&vt.pause(),vt.pause=()=>{delete vt.pause,t()},vt.instance=l}}var Wm="https://w.soundcloud.com/player/api.js",Um=!1,Zm="SoundCloudPlayer--initializing";function Im(t){if(Um)return t();let l=document.createElement("script");l.type="text/javascript",l.async=!0,l.addEventListener("load",t),l.src=Wm;let d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(l,d)}function Fm(t){let l=t.getAttribute("data-src"),d=t.getAttribute("data-height"),V=mm({src:l,height:d});V.addEventListener("load",()=>{Im(()=>{t.classList.remove(Zm);let i=new SC.Widget(V);gm(i,V)})}),t.appendChild(V)}function gm(t,l){let d=t.pause.bind(t);t.bind(SC.Widget.Events.READY,()=>{t.bind(SC.Widget.Events.PLAY,ft(d,l))})}function mm(t){let l=document.createElement("iframe"),d={width:"100%",scrolling:"no",frameborder:"no",src:t.src,height:t.height};return Object.keys(d).forEach(V=>l.setAttribute(V,d[V])),l}function zi(){let t=B("[data-soundcloud]");window.addEventListener("load",()=>{setTimeout(()=>t.forEach(Fm),100)})}function wi(){B(".SplitLayout").forEach(pm)}function pm(t){let l=B(".FullSize__fixedChild.ObjectFit--cover",t);DG()&&l.forEach(Hi)}var Li=E(f());function Bm(t){let l=B("[data-stacked-content-fill]",t),d=B("[data-stacked-content-basis]",t),V=()=>om(t,l,d);return V(),tt(V),()=>xt(V)}function om(t,l,d){l.length!==0&&Li.default.measure(()=>{let V=sR(t);if(!V)return;let i=d.reduce((a,G)=>a+G.clientHeight,0),e=(V-i)/l.length;Li.default.mutate(()=>{l.forEach(a=>a.style.maxHeight=`${e}px`)})})}function Oi(){return B("[data-stacked-content]").map(Bm)}function xm(t,l){let d=`https://views.unsplash.com/v?app_id=${t}&photo_id=${l}`;fetch(d).catch(V=>console.log(V))}function ji(){B("[data-unsplash-ids]").forEach(t=>{let l=t.getAttribute("data-unsplash-ids"),d=t.getAttribute("data-unsplash-app");xm(d,l)})}var Di=class extends Error{constructor(d){super(d.statusText);this.response=d}};function Ic(t){if(t.status>=200&&t.status<300)return t;let l=new Di(t);throw l.response=t,l}function Fc(t,l,d){let V=t.headers.get("content-type");if(V&&V.includes(l))return t;throw new TypeError(d)}function vi(t,l,d){fetch(t).then(Ic).then(V=>Fc(V,"application/json","Incorrect data for Gallery")).then(V=>V.json()).then(V=>{let i=V.items.filter(a=>a.url.replace(/index\.html$/,"")!==window.location.href.replace(/index\.html$/,"")).map(a=>{let G=l==="tiles"?'class="ObjectFit--cover"':"",n=a.mediaSrc?`<img alt="" src="${a.mediaSrc}" ${G}>`:"",b=a.openInNewWindow?'target="_blank"':"",R=a.isNoFollow?'rel="nofollow"':"";return`
              <li class="Theme-Layer-Gallery-Item" style="overflow:hidden">
                <a href="${a.url?a.url:"/"}" ${b} ${R}>
                  <div class="Theme-Layer-Gallery-Item-Media">
                  ${n}
                  </div>
                  <div class="Theme-Layer-Gallery-Item-Text">
                    <h4 class="Theme-Layer-Gallery-Item-Title">${a.title?a.title:""}</h4>
                    <div class="Theme-Layer-Gallery-Item-Description">${a.description?a.description:""}</div>
                  </div>
                </a>
              </li>
            `}).join(""),e=`
          <h3 class="Layout Theme-Layer-Gallery-Heading">${V.title?V.title:""}</h3>
          <ul class="Layout Theme-Layer-Gallery-List">${i}</ul>
        `;return d?d(e):e}).catch(V=>{console.log("Gallery was unable to parse external data",V)})}var Jm="GalleryRenderer--initializing";function Nm(t){let l=t.getAttribute("data-url"),d=t.getAttribute("data-mode");vi(l,d,V=>{t.innerHTML=V,t.classList.remove(Jm),Ul()})}function fi(){B("[data-galleryrenderer]").forEach(Nm)}function Ki(){}var Qm=E(f());function gc(t,l,d){return d!==void 0?Cm(t,l,d):t.classList.toggle(l)}function Cm(t,l,d){let V=t.className.split(/\s+/),i=V.includes(l),e=d&&!i?[...V,l]:!d&&i?V.filter(a=>a!==l):V;t.className=e.join(" ")}var hm={mainSelector:".TransitionIn--fade",fadeInClass:"TransitionIn--fadeIn"};function Pi(t=hm){B(t.mainSelector).forEach(d=>{Xm(d,{fadeInClass:t.fadeInClass})})}function Xm(t,l){let d=V=>{let i=V.rootBounds?V.rootBounds.top:0;V.boundingClientRect.top<i&&!V.isIntersecting||um(t,l.fadeInClass,Rt(V))};return t.classList.add(l.fadeInClass),bt(t,d,{triggerPoint:"mostly visible"}),()=>jt(t)}function um(t,l,d){gc(t,l,d)}function _i(){Pi()}var qi=t=>`${t}px`;function mc(t){let{width:l,height:d,top:V}=t.getBoundingClientRect();Object.assign(t.style,{position:"fixed",top:qi(V),width:qi(l),height:qi(d),overflowY:"scroll"})}function pc(t){let l=parseInt(t.style.top,10);Object.assign(t.style,{position:"",top:"",width:"",height:"",overflowY:""}),window.scrollTo(0,-l)}function oc(){return T.getWidth()<900?"portrait":"landscape"}var $i=[],xl;function xc(){return xl||(xl=oc()),xl}function Jc(t){$i.length===0&&sm(),$i.push(t)}function Bc(){let t=oc();t!==xl&&(xl=t,$i.forEach(l=>l(t)))}function sm(){window.addEventListener("resize",Bc,{passive:!0}),window.addEventListener("orientationchange",Bc,{passive:!0})}var Kt="AutoplayReplayButton",rm={unmuteAndReplay:"Unmute & Replay Video",replay:"Replay Video"},H={nowPlaying:[],nowPaused:[],volumeHasBeenInteractedWith:!1,firstVideoWithVolumeInteraction:null,scrollListenerIsActive:!1,videoClosestToCenterY:null},Nc=new IntersectionObserver(Tm,{root:null,rootMargin:"0px",threshold:.1});function le(t){Nc.unobserve(t)}function de(t){Nc.observe(t)}function Qc(t,l,d){t.dataset.autoplay="true",t.dataset.id=l,t.preload="auto",t.defaultMuted=!0,t.muted=!0,t.classList.remove("video-play");let[V]=St(t,d);t.src=V,t.load()}function Cc(t,l,d){if(t.controls=!0,t.addEventListener("volumechange",hc),d){let V=document.createElement("button");V.textContent=rm[d],V.classList.add(Kt),l.append(V),l.addEventListener("click",({target:i})=>{i.classList.contains(Kt)&&Ym(t)})}}function Ym(t){t.currentTime=0,t.muted=!1,t.play()}function hc({target:t}){if(H.volumeHasBeenInteractedWith)t.dataset.id!==H.firstVideoWithVolumeInteraction&&(H.firstVideoWithVolumeInteraction=null,document.querySelectorAll("video[data-controls=true]").forEach(d=>d.removeEventListener("volumechange",hc)));else{H.volumeHasBeenInteractedWith=!0,H.firstVideoWithVolumeInteraction=t.dataset.id,document.querySelectorAll(`.${Kt}`).forEach(d=>d.remove());let l=document.querySelectorAll("video[data-controls=true]");Sm(l)}Ve()}function Tm(t){for(let l of t){let{target:d,isIntersecting:V}=l,i=d.querySelector("video"),e=i.dataset.id,a=i.closest("[data-videoplayer]");V?i.play().then(()=>ct("video-playing",a)).catch(G=>{let n=a.querySelector(`.${Kt}`);n&&n.remove(),console.error("Playback of video failed: ",G)}):(H.nowPlaying.includes(e)&&(H.nowPlaying=H.nowPlaying.filter(G=>G!==e)),i.pause())}}function Xc(t,l,d){let V=t.dataset.id;d&&(H.nowPlaying.push(V),Ve(),H.nowPaused.includes(V)&&(de(l),H.nowPaused=H.nowPaused.filter(i=>i!==V)))}function uc(t,l){let d=t.dataset.id;H.nowPlaying.includes(d)&&(le(l),H.nowPaused.push(d),H.nowPlaying=H.nowPlaying.filter(V=>V!==d)),Ve()}function Ve(){if(H.volumeHasBeenInteractedWith)if(H.nowPlaying.length>1){if(!H.scrollListenerIsActive)if(document.addEventListener("scroll",te),H.scrollListenerIsActive=!0,H.firstVideoWithVolumeInteraction){let t=document.querySelector(`[data-id="${H.firstVideoWithVolumeInteraction}"]`);sc(t)}else te()}else document.removeEventListener("scroll",te),H.scrollListenerIsActive=!1,H.videoClosestToCenterY=null}function sc(t){rc(t);for(let l of H.nowPlaying)if(l!==t.dataset.id){let d=document.querySelector(`[data-id="${l}"]`);d.muted=!0}}function Sm(t){t.forEach(l=>rc(l))}function rc(t){t.muted=!1}function te(){let t=null,l=null;for(let d=0;d<H.nowPlaying.length;d++){let V=document.querySelector(`[data-id="${H.nowPlaying[d]}"]`),i=km(V);(t===null||i<=l)&&(t=H.nowPlaying[d],l=i)}if(H.videoClosestToCenterY!==t){H.videoClosestToCenterY=t;let d=document.querySelector(`[data-id="${H.videoClosestToCenterY}"]`);sc(d)}}function km(t){let l=Hm(),d=Mm(t);return Math.abs(l-d)}function Mm(t){let{top:l,bottom:d}=t.getBoundingClientRect();return(l+d)/2}function Hm(){return window.innerHeight/2}var Am="[data-videoplayer-youtube]",Em='[data-projection="360"]',ym="__YOUTUBE_API_SCRIPT__",Jd={whenApiReady:!1,players:[]};function zm(t){B('script[src="//www.youtube.com/player_api"]').length>0||(Jd.whenApiReady||(Jd.whenApiReady=new Promise((l,d)=>{window.onYouTubeIframeAPIReady=()=>l();let V=document.createElement("script");V.src="//www.youtube.com/player_api",V.id=ym,V.async=!0;let i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(V,i)})),Jd.whenApiReady.then(t))}function wm(t){return{[YT.PlayerState.PLAYING]:"play",[YT.PlayerState.PAUSED]:"pause",[YT.PlayerState.ENDED]:"end"}[t.data]}function Lm(t){let l=t.getAttribute("data-video-id");return new YT.Player(t,{videoId:l,playerVars:{rel:0},events:{onStateChange(V){if(V.data===YT.PlayerState.PLAYING){let e=V.target,a=e.pauseVideo.bind(e);ft(a,e.getIframe())()}let i=wm(V);i&&Om(i,V.target)}}})}function Om(t,l){let d=l.getVideoData(),V=`${d.title} (${d.video_id})`;Ft("Videos",t,V)}function jm(t){t.forEach(l=>{let d=l.getAttribute("data-video-id"),V=l.parentElement,i=document.createElement("div"),e=document.createElement("a");l.removeAttribute("data-videoplayer-youtube"),V.style.backgroundImage="url('https://img.youtube.com/vi/"+d+"/maxresdefault.jpg')",V.style.backgroundSize="cover",e.setAttribute("href","http://www.youtube.com/watch?v="+d),e.setAttribute("target","_blank"),e.className="Theme-360Video-Link",V.parentNode.insertBefore(e,V),e.appendChild(V),e.appendChild(i),i.innerText="Tap to view 360 video",i.className="Theme-360Video-Button"})}function ie(t=Am,l=Em){let d=B(l);D().isiOS&&jm(d);let V=B(t);V.length!==0&&zm(()=>{Jd.players=V.map(Lm)})}var{isSafari:Dm}=D(),vm=`<svg xmlns="http://www.w3.org/2000/svg">
  <symbol id="video-play-icon" viewBox="0 0 18 18"><path d="M15.562 8.1L3.87.225C3.052-.337 2 .225 2 1.125v15.75c0 .9 1.052 1.462 1.87.9L15.563 9.9c.584-.45.584-1.35 0-1.8z"/></symbol>
  <symbol id="video-error-icon" viewBox="0 0 24 24"><path d="M21.171,15.398l-5.912-9.854C14.483,4.251,13.296,3.511,12,3.511s-2.483,0.74-3.259,2.031l-5.912,9.856  c-0.786,1.309-0.872,2.705-0.235,3.83C3.23,20.354,4.472,21,6,21h12c1.528,0,2.77-0.646,3.406-1.771  C22.043,18.104,21.957,16.708,21.171,15.398z M12,17.549c-0.854,0-1.55-0.695-1.55-1.549c0-0.855,0.695-1.551,1.55-1.551  s1.55,0.696,1.55,1.551C13.55,16.854,12.854,17.549,12,17.549z M13.633,10.125c-0.011,0.031-1.401,3.468-1.401,3.468  c-0.038,0.094-0.13,0.156-0.231,0.156s-0.193-0.062-0.231-0.156l-1.391-3.438C10.289,9.922,10.25,9.712,10.25,9.5  c0-0.965,0.785-1.75,1.75-1.75s1.75,0.785,1.75,1.75C13.75,9.712,13.711,9.922,13.633,10.125z"/></symbol>
 </svg>`;function fm(t,l,d){let V=!0,i=!1,e=null,a=null,G=null,n=d,{dataset:{autoplay:b,controls:R,replayButton:c,id:W},loop:I}=l,p=b==="true",U=R==="true",Z=p?U:l.controls;p&&(Qc(l,W,d),U?Cc(l,t,c):(l.controls=!1,t.style.pointerEvents="none"),I||l.addEventListener("ended",()=>le(t)),de(t)),J(d),l.controls=!1;function m(){V&&(V=!1,ct("video-stopped",t),t.removeAttribute("data-lazyload-video"))}function J(N){let C=l.getAttribute(`data-${N}-poster`);if(C&&C!==l.poster){let r=function(){G===k&&(l.poster=C,m())},k=document.createElement("img");k.addEventListener("load",r),k.addEventListener("error",r),k.src=C,G=k}else m()}function h(N){if(n=N,l.src){let[C]=St(l,N);C&&C!==l.src&&(i&&(l.pause(),i=!1),Y(),V||ct("video-stopped",t),l.src=C)}J(N)}function u(){e===null&&(e=document.createElement("div"),e.className="Lazyload__spinner Theme-Lazyload-Spinner",t.appendChild(e))}function x(){return e!==null?(e.remove(),e=null,!0):!1}function F(){if(a===null){a=document.createElement("div"),a.className="video-error-container",a.innerHTML='<div class="video-error-block"><svg><use xlink:href="#video-error-icon"/></svg><span>THERE WAS AN ERROR LOADING THIS VIDEO</span></div>',t.appendChild(a);let N=t.querySelector(`.${Kt}`);N&&N.remove()}}function Y(){return a!==null?(a.remove(),a=null,!0):!1}function X(){if(l.readyState===0){if(e===null){u(),ct("video-loading",t);let[N,C]=St(l,n);if(Dm){let k=function(){l.removeEventListener("canplay",k),C!=="video/mp4"?setTimeout(()=>{l.play()},1e3):l.play()};l.addEventListener("canplay",k),l.src=N,l.load()}else l.autoplay=!0,l.src=N}}else l.play().catch()}function S(N){i||(N.preventDefault(),X(),t.removeEventListener("click",S))}l.addEventListener("play",()=>{p&&Xc(l,t,U)}),l.addEventListener("error",()=>{x()&&(F(),ct("video-error",t))}),l.addEventListener("pause",()=>{ct("video-paused",t),i=!1,uc(l,t),Ft("Videos","pause",l.currentSrc)}),l.addEventListener("playing",()=>{Y(),x(),ct("video-playing",t),p||ft(l.pause.bind(l),l)(),i=!0,l.controls=Z,Ft("Videos","play",l.currentSrc)}),l.addEventListener("ended",()=>{ct("video-paused",t),i=!1,Ft("Videos","ended",l.currentSrc)}),t.addEventListener("click",S);let Q=document.documentElement,o=t.closest("[class*='Layer--']");l.addEventListener("fullscreenchange",()=>{document.fullscreenElement===null?(pc(Q),o.classList.remove("Levels--god")):(mc(Q),o.classList.add("Levels--god"))}),Jc(h)}function ee(t={}){if(t.body&&!t.iconUrl){let i=new DOMParser().parseFromString(vm,"image/svg+xml"),e=document.createElement("div");e.style.display="none",e.id="__PLYR_SVGICON_CONTAINER__",e.appendChild(i.childNodes[0]),t.body.appendChild(e)}let l=B("[data-videoplayer]"),d=xc();l.forEach(V=>{let i=V.querySelector("[data-videoplayer-media]");i&&fm(V,i,d)}),ie()}Ui();yV();td();Qi();DV();Ul();Oi();ed();Fi();Ki();mi();_i();xi();ri();Ji();zi();od();ee({body:document.body});ai();yi();SV();fi();Wi();qV();Ei();wi();Ci();pi();OV();hi();ji();})();
/*! Bundled license information:

classnames/dedupe.js:
  (*!
  	Copyright (c) 2018 Jed Watson.
  	Licensed under the MIT License (MIT), see
  	http://jedwatson.github.io/classnames
  *)
*/
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3644208e-0636-5a2f-b29f-04c6209382d5")}catch(e){}}();
//# sourceMappingURL=story.363071.min.js.map
//# debugId=3644208e-0636-5a2f-b29f-04c6209382d5
