(()=>{var lw=Object.create;var Bl=Object.defineProperty;var fw=Object.getOwnPropertyDescriptor;var cw=Object.getOwnPropertyNames;var hw=Object.getPrototypeOf,pw=Object.prototype.hasOwnProperty;var dw=(o,t,i)=>t in o?Bl(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i;var _w=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var gw=(o,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of cw(t))!pw.call(o,s)&&s!==i&&Bl(o,s,{get:()=>t[s],enumerable:!(n=fw(t,s))||n.enumerable});return o};var Wl=(o,t,i)=>(i=o!=null?lw(hw(o)):{},gw(t||!o||!o.__esModule?Bl(i,"default",{value:o,enumerable:!0}):i,o));var ee=(o,t,i)=>dw(o,typeof t!="symbol"?t+"":t,i);var Eu=_w((Vs,$o)=>{(function(){var o,t="4.17.21",i=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",u="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",d=1,_=2,y=4,w=1,v=2,S=1,b=2,E=4,D=8,M=16,I=32,R=64,O=128,P=256,k=512,H=30,W="...",Y=800,oe=16,X=1,j=2,ce=3,ne=1/0,te=9007199254740991,Q=17976931348623157e292,he=NaN,ie=4294967295,A=ie-1,Ae=ie>>>1,Be=[["ary",O],["bind",S],["bindKey",b],["curry",D],["curryRight",M],["flip",k],["partial",I],["partialRight",R],["rearg",P]],Xe="[object Arguments]",Ie="[object Array]",Ct="[object AsyncFunction]",ct="[object Boolean]",Ge="[object Date]",qt="[object DOMException]",mt="[object Error]",Mr="[object Function]",It="[object GeneratorFunction]",Ve="[object Map]",we="[object Number]",ot="[object Null]",et="[object Object]",$t="[object Promise]",N="[object Proxy]",Lt="[object RegExp]",vt="[object Set]",vr="[object String]",We="[object Symbol]",_n="[object Undefined]",yr="[object WeakMap]",Nn="[object WeakSet]",tt="[object ArrayBuffer]",ir="[object DataView]",Ze="[object Float32Array]",sr="[object Float64Array]",Kt="[object Int8Array]",Pr="[object Int16Array]",Hn="[object Int32Array]",rt="[object Uint8Array]",ai="[object Uint8ClampedArray]",Or="[object Uint16Array]",En="[object Uint32Array]",ui=/\b__p \+= '';/g,An=/\b(__p \+=) '' \+/g,Bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ye=/&(?:amp|lt|gt|quot|#39);/g,Cn=/[&<>"']/g,Rr=RegExp(ye.source),Dr=RegExp(Cn.source),Ir=/<%-([\s\S]+?)%>/g,Wn=/<%([\s\S]+?)%>/g,zn=/<%=([\s\S]+?)%>/g,gn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oi=/^\w*$/,_e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,se=/[\\^$.*+?()[\]{}|]/g,Re=RegExp(se.source),G=/^\s+/,pe=/\s/,re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,de=/\{\n\/\* \[wrapped with (.+)\] \*/,St=/,? & /,Ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,at=/[()=,{}\[\]\/\s]/,kt=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,Ne=/^[-+]0x[0-9a-f]+$/i,kr=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,or=/^0o[0-7]+$/i,Zr=/^(?:0|[1-9]\d*)$/,Mt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ht=/($^)/,Ft=/['\n\r\u2028\u2029\\]/g,Qr="\\ud800-\\udfff",ls="\\u0300-\\u036f",Nt="\\ufe20-\\ufe2f",yt="\\u20d0-\\u20ff",Fr=ls+Nt+yt,fs="\\u2700-\\u27bf",$s="a-z\\xdf-\\xf6\\xf8-\\xff",Ri="\\xac\\xb1\\xd7\\xf7",Jr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Di="\\u2000-\\u206f",cs=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mn="A-Z\\xc0-\\xd6\\xd8-\\xde",Tc="\\ufe0e\\ufe0f",Ec=Ri+Jr+Di+cs,Mu="['\u2019]",lg="["+Qr+"]",Ac="["+Ec+"]",Zo="["+Fr+"]",Cc="\\d+",fg="["+fs+"]",Lc="["+$s+"]",Mc="[^"+Qr+Ec+Cc+fs+$s+mn+"]",Pu="\\ud83c[\\udffb-\\udfff]",cg="(?:"+Zo+"|"+Pu+")",Pc="[^"+Qr+"]",Ou="(?:\\ud83c[\\udde6-\\uddff]){2}",Ru="[\\ud800-\\udbff][\\udc00-\\udfff]",hs="["+mn+"]",Oc="\\u200d",Rc="(?:"+Lc+"|"+Mc+")",hg="(?:"+hs+"|"+Mc+")",Dc="(?:"+Mu+"(?:d|ll|m|re|s|t|ve))?",Ic="(?:"+Mu+"(?:D|LL|M|RE|S|T|VE))?",kc=cg+"?",Fc="["+Tc+"]?",pg="(?:"+Oc+"(?:"+[Pc,Ou,Ru].join("|")+")"+Fc+kc+")*",dg="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_g="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nc=Fc+kc+pg,gg="(?:"+[fg,Ou,Ru].join("|")+")"+Nc,mg="(?:"+[Pc+Zo+"?",Zo,Ou,Ru,lg].join("|")+")",vg=RegExp(Mu,"g"),yg=RegExp(Zo,"g"),Du=RegExp(Pu+"(?="+Pu+")|"+mg+Nc,"g"),bg=RegExp([hs+"?"+Lc+"+"+Dc+"(?="+[Ac,hs,"$"].join("|")+")",hg+"+"+Ic+"(?="+[Ac,hs+Rc,"$"].join("|")+")",hs+"?"+Rc+"+"+Dc,hs+"+"+Ic,_g,dg,Cc,gg].join("|"),"g"),wg=RegExp("["+Oc+Qr+Fr+Tc+"]"),xg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Sg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Tg=-1,Je={};Je[Ze]=Je[sr]=Je[Kt]=Je[Pr]=Je[Hn]=Je[rt]=Je[ai]=Je[Or]=Je[En]=!0,Je[Xe]=Je[Ie]=Je[tt]=Je[ct]=Je[ir]=Je[Ge]=Je[mt]=Je[Mr]=Je[Ve]=Je[we]=Je[et]=Je[Lt]=Je[vt]=Je[vr]=Je[yr]=!1;var $e={};$e[Xe]=$e[Ie]=$e[tt]=$e[ir]=$e[ct]=$e[Ge]=$e[Ze]=$e[sr]=$e[Kt]=$e[Pr]=$e[Hn]=$e[Ve]=$e[we]=$e[et]=$e[Lt]=$e[vt]=$e[vr]=$e[We]=$e[rt]=$e[ai]=$e[Or]=$e[En]=!0,$e[mt]=$e[Mr]=$e[yr]=!1;var Eg={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ag={"&":"&","<":"<",">":">",'"':""","'":"'"},Cg={"&":"&","<":"<",">":">",""":'"',"'":"'"},Lg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mg=parseFloat,Pg=parseInt,Hc=typeof global=="object"&&global&&global.Object===Object&&global,Og=typeof self=="object"&&self&&self.Object===Object&&self,Ht=Hc||Og||Function("return this")(),Iu=typeof Vs=="object"&&Vs&&!Vs.nodeType&&Vs,Ii=Iu&&typeof $o=="object"&&$o&&!$o.nodeType&&$o,Bc=Ii&&Ii.exports===Iu,ku=Bc&&Hc.process,jr=function(){try{var C=Ii&&Ii.require&&Ii.require("util").types;return C||ku&&ku.binding&&ku.binding("util")}catch{}}(),Wc=jr&&jr.isArrayBuffer,zc=jr&&jr.isDate,qc=jr&&jr.isMap,Uc=jr&&jr.isRegExp,Yc=jr&&jr.isSet,Xc=jr&&jr.isTypedArray;function Nr(C,B,F){switch(F.length){case 0:return C.call(B);case 1:return C.call(B,F[0]);case 2:return C.call(B,F[0],F[1]);case 3:return C.call(B,F[0],F[1],F[2])}return C.apply(B,F)}function Rg(C,B,F,K){for(var ge=-1,De=C==null?0:C.length;++ge-1}function Fu(C,B,F){for(var K=-1,ge=C==null?0:C.length;++K-1;);return F}function jc(C,B){for(var F=C.length;F--&&ps(B,C[F],0)>-1;);return F}function zg(C,B){for(var F=C.length,K=0;F--;)C[F]===B&&++K;return K}var qg=Wu(Eg),Ug=Wu(Ag);function Yg(C){return"\\"+Lg[C]}function Xg(C,B){return C==null?o:C[B]}function ds(C){return wg.test(C)}function Gg(C){return xg.test(C)}function Vg(C){for(var B,F=[];!(B=C.next()).done;)F.push(B.value);return F}function Yu(C){var B=-1,F=Array(C.size);return C.forEach(function(K,ge){F[++B]=[ge,K]}),F}function eh(C,B){return function(F){return C(B(F))}}function ci(C,B){for(var F=-1,K=C.length,ge=0,De=[];++F-1}function Im(e,r){var a=this.__data__,c=da(a,e);return c<0?(++this.size,a.push([e,r])):a[c][1]=r,this}qn.prototype.clear=Pm,qn.prototype.delete=Om,qn.prototype.get=Rm,qn.prototype.has=Dm,qn.prototype.set=Im;function Un(e){var r=-1,a=e==null?0:e.length;for(this.clear();++r=r?e:r)),e}function nn(e,r,a,c,p,m){var x,T=r&d,L=r&_,z=r&y;if(a&&(x=p?a(e,c,p,m):a(e)),x!==o)return x;if(!ut(e))return e;var q=me(e);if(q){if(x=H0(e),!T)return br(e,x)}else{var U=Qt(e),V=U==Mr||U==It;if(vi(e))return Fh(e,T);if(U==et||U==Xe||V&&!p){if(x=L||V?{}:tp(e),!T)return L?C0(e,Zm(x,e)):A0(e,hh(x,e))}else{if(!$e[U])return p?e:{};x=B0(e,U,T)}}m||(m=new yn);var J=m.get(e);if(J)return J;m.set(e,x),Pp(e)?e.forEach(function(le){x.add(nn(le,r,a,le,e,m))}):Lp(e)&&e.forEach(function(le,Le){x.set(Le,nn(le,r,a,Le,e,m))});var ue=z?L?gl:_l:L?xr:Bt,be=q?o:ue(e);return en(be||e,function(le,Le){be&&(Le=le,le=e[Le]),to(x,Le,nn(le,r,a,Le,e,m))}),x}function Qm(e){var r=Bt(e);return function(a){return ph(a,e,r)}}function ph(e,r,a){var c=a.length;if(e==null)return!c;for(e=qe(e);c--;){var p=a[c],m=r[p],x=e[p];if(x===o&&!(p in e)||!m(x))return!1}return!0}function dh(e,r,a){if(typeof e!="function")throw new tn(s);return uo(function(){e.apply(o,a)},r)}function ro(e,r,a,c){var p=-1,m=Qo,x=!0,T=e.length,L=[],z=r.length;if(!T)return L;a&&(r=it(r,Hr(a))),c?(m=Fu,x=!1):r.length>=i&&(m=Ks,x=!1,r=new Ni(r));e:for(;++pp?0:p+a),c=c===o||c>p?p:ve(c),c<0&&(c+=p),c=a>c?0:Rp(c);a0&&a(T)?r>1?Ut(T,r-1,a,c,p):fi(p,T):c||(p[p.length]=T)}return p}var Qu=qh(),mh=qh(!0);function Ln(e,r){return e&&Qu(e,r,Bt)}function Ju(e,r){return e&&mh(e,r,Bt)}function ga(e,r){return li(r,function(a){return $n(e[a])})}function Bi(e,r){r=gi(r,e);for(var a=0,c=r.length;e!=null&&ar}function e0(e,r){return e!=null&&He.call(e,r)}function t0(e,r){return e!=null&&r in qe(e)}function r0(e,r,a){return e>=Zt(r,a)&&e=120&&q.length>=120)?new Ni(x&&q):o}q=e[0];var U=-1,V=T[0];e:for(;++U-1;)T!==e&&aa.call(T,L,1),aa.call(e,L,1);return e}function Lh(e,r){for(var a=e?r.length:0,c=a-1;a--;){var p=r[a];if(a==c||p!==m){var m=p;Vn(p)?aa.call(e,p,1):ul(e,p)}}return e}function sl(e,r){return e+fa(uh()*(r-e+1))}function _0(e,r,a,c){for(var p=-1,m=Ot(la((r-e)/(a||1)),0),x=F(m);m--;)x[c?m:++p]=e,e+=a;return x}function ol(e,r){var a="";if(!e||r<1||r>te)return a;do r%2&&(a+=e),r=fa(r/2),r&&(e+=e);while(r);return a}function xe(e,r){return Sl(ip(e,r,Sr),e+"")}function g0(e){return ch(Ts(e))}function m0(e,r){var a=Ts(e);return Ca(a,Hi(r,0,a.length))}function so(e,r,a,c){if(!ut(e))return e;r=gi(r,e);for(var p=-1,m=r.length,x=m-1,T=e;T!=null&&++pp?0:p+r),a=a>p?p:a,a<0&&(a+=p),p=r>a?0:a-r>>>0,r>>>=0;for(var m=F(p);++c>>1,x=e[m];x!==null&&!Wr(x)&&(a?x<=r:x=i){var z=r?null:O0(e);if(z)return jo(z);x=!1,p=Ks,L=new Ni}else L=r?[]:T;e:for(;++c=c?e:sn(e,r,a)}var kh=um||function(e){return Ht.clearTimeout(e)};function Fh(e,r){if(r)return e.slice();var a=e.length,c=nh?nh(a):new e.constructor(a);return e.copy(c),c}function hl(e){var r=new e.constructor(e.byteLength);return new sa(r).set(new sa(e)),r}function x0(e,r){var a=r?hl(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}function S0(e){var r=new e.constructor(e.source,ze.exec(e));return r.lastIndex=e.lastIndex,r}function T0(e){return eo?qe(eo.call(e)):{}}function Nh(e,r){var a=r?hl(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}function Hh(e,r){if(e!==r){var a=e!==o,c=e===null,p=e===e,m=Wr(e),x=r!==o,T=r===null,L=r===r,z=Wr(r);if(!T&&!z&&!m&&e>r||m&&x&&L&&!T&&!z||c&&x&&L||!a&&L||!p)return 1;if(!c&&!m&&!z&&e=T)return L;var z=a[c];return L*(z=="desc"?-1:1)}}return e.index-r.index}function Bh(e,r,a,c){for(var p=-1,m=e.length,x=a.length,T=-1,L=r.length,z=Ot(m-x,0),q=F(L+z),U=!c;++T1?a[p-1]:o,x=p>2?a[2]:o;for(m=e.length>3&&typeof m=="function"?(p--,m):o,x&&ur(a[0],a[1],x)&&(m=p<3?o:m,p=1),r=qe(r);++c-1?p[m?r[x]:x]:o}}function Xh(e){return Gn(function(r){var a=r.length,c=a,p=rn.prototype.thru;for(e&&r.reverse();c--;){var m=r[c];if(typeof m!="function")throw new tn(s);if(p&&!x&&Ea(m)=="wrapper")var x=new rn([],!0)}for(c=x?c:a;++c1&&Pe.reverse(),q&&LT))return!1;var z=m.get(e),q=m.get(r);if(z&&q)return z==r&&q==e;var U=-1,V=!0,J=a&v?new Ni:o;for(m.set(e,r),m.set(r,e);++U1?"& ":"")+r[c],r=r.join(a>2?", ":" "),e.replace(re,`{ /* [wrapped with `+r+`] */ `)}function z0(e){return me(e)||qi(e)||!!(oh&&e&&e[oh])}function Vn(e,r){var a=typeof e;return r=r??te,!!r&&(a=="number"||a!="symbol"&&Zr.test(e))&&e>-1&&e%1==0&&e0){if(++r>=Y)return arguments[0]}else r=0;return e.apply(o,arguments)}}function Ca(e,r){var a=-1,c=e.length,p=c-1;for(r=r===o?c:r;++a1?e[r-1]:o;return a=typeof a=="function"?(e.pop(),a):o,gp(e,a)});function mp(e){var r=g(e);return r.__chain__=!0,r}function Jv(e,r){return r(e),e}function La(e,r){return r(e)}var jv=Gn(function(e){var r=e.length,a=r?e[0]:0,c=this.__wrapped__,p=function(m){return Zu(m,e)};return r>1||this.__actions__.length||!(c instanceof Me)||!Vn(a)?this.thru(p):(c=c.slice(a,+a+(r?1:0)),c.__actions__.push({func:La,args:[p],thisArg:o}),new rn(c,this.__chain__).thru(function(m){return r&&!m.length&&m.push(o),m}))});function e1(){return mp(this)}function t1(){return new rn(this.value(),this.__chain__)}function r1(){this.__values__===o&&(this.__values__=Op(this.value()));var e=this.__index__>=this.__values__.length,r=e?o:this.__values__[this.__index__++];return{done:e,value:r}}function n1(){return this}function i1(e){for(var r,a=this;a instanceof pa;){var c=fp(a);c.__index__=0,c.__values__=o,r?p.__wrapped__=c:r=c;var p=c;a=a.__wrapped__}return p.__wrapped__=e,r}function s1(){var e=this.__wrapped__;if(e instanceof Me){var r=e;return this.__actions__.length&&(r=new Me(this)),r=r.reverse(),r.__actions__.push({func:La,args:[Tl],thisArg:o}),new rn(r,this.__chain__)}return this.thru(Tl)}function o1(){return Dh(this.__wrapped__,this.__actions__)}var a1=ba(function(e,r,a){He.call(e,a)?++e[a]:Yn(e,a,1)});function u1(e,r,a){var c=me(e)?Gc:Jm;return a&&ur(e,r,a)&&(r=o),c(e,ae(r,3))}function l1(e,r){var a=me(e)?li:gh;return a(e,ae(r,3))}var f1=Yh(cp),c1=Yh(hp);function h1(e,r){return Ut(Ma(e,r),1)}function p1(e,r){return Ut(Ma(e,r),ne)}function d1(e,r,a){return a=a===o?1:ve(a),Ut(Ma(e,r),a)}function vp(e,r){var a=me(e)?en:di;return a(e,ae(r,3))}function yp(e,r){var a=me(e)?Dg:_h;return a(e,ae(r,3))}var _1=ba(function(e,r,a){He.call(e,a)?e[a].push(r):Yn(e,a,[r])});function g1(e,r,a,c){e=wr(e)?e:Ts(e),a=a&&!c?ve(a):0;var p=e.length;return a<0&&(a=Ot(p+a,0)),Ia(e)?a<=p&&e.indexOf(r,a)>-1:!!p&&ps(e,r,a)>-1}var m1=xe(function(e,r,a){var c=-1,p=typeof r=="function",m=wr(e)?F(e.length):[];return di(e,function(x){m[++c]=p?Nr(r,x,a):no(x,r,a)}),m}),v1=ba(function(e,r,a){Yn(e,a,r)});function Ma(e,r){var a=me(e)?it:xh;return a(e,ae(r,3))}function y1(e,r,a,c){return e==null?[]:(me(r)||(r=r==null?[]:[r]),a=c?o:a,me(a)||(a=a==null?[]:[a]),Ah(e,r,a))}var b1=ba(function(e,r,a){e[a?0:1].push(r)},function(){return[[],[]]});function w1(e,r,a){var c=me(e)?Nu:Zc,p=arguments.length<3;return c(e,ae(r,4),a,p,di)}function x1(e,r,a){var c=me(e)?Ig:Zc,p=arguments.length<3;return c(e,ae(r,4),a,p,_h)}function S1(e,r){var a=me(e)?li:gh;return a(e,Ra(ae(r,3)))}function T1(e){var r=me(e)?ch:g0;return r(e)}function E1(e,r,a){(a?ur(e,r,a):r===o)?r=1:r=ve(r);var c=me(e)?Vm:m0;return c(e,r)}function A1(e){var r=me(e)?$m:y0;return r(e)}function C1(e){if(e==null)return 0;if(wr(e))return Ia(e)?_s(e):e.length;var r=Qt(e);return r==Ve||r==vt?e.size:rl(e).length}function L1(e,r,a){var c=me(e)?Hu:b0;return a&&ur(e,r,a)&&(r=o),c(e,ae(r,3))}var M1=xe(function(e,r){if(e==null)return[];var a=r.length;return a>1&&ur(e,r[0],r[1])?r=[]:a>2&&ur(r[0],r[1],r[2])&&(r=[r[0]]),Ah(e,Ut(r,1),[])}),Pa=lm||function(){return Ht.Date.now()};function P1(e,r){if(typeof r!="function")throw new tn(s);return e=ve(e),function(){if(--e<1)return r.apply(this,arguments)}}function bp(e,r,a){return r=a?o:r,r=e&&r==null?e.length:r,Xn(e,O,o,o,o,o,r)}function wp(e,r){var a;if(typeof r!="function")throw new tn(s);return e=ve(e),function(){return--e>0&&(a=r.apply(this,arguments)),e<=1&&(r=o),a}}var Al=xe(function(e,r,a){var c=S;if(a.length){var p=ci(a,xs(Al));c|=I}return Xn(e,c,r,a,p)}),xp=xe(function(e,r,a){var c=S|b;if(a.length){var p=ci(a,xs(xp));c|=I}return Xn(r,c,e,a,p)});function Sp(e,r,a){r=a?o:r;var c=Xn(e,D,o,o,o,o,o,r);return c.placeholder=Sp.placeholder,c}function Tp(e,r,a){r=a?o:r;var c=Xn(e,M,o,o,o,o,o,r);return c.placeholder=Tp.placeholder,c}function Ep(e,r,a){var c,p,m,x,T,L,z=0,q=!1,U=!1,V=!0;if(typeof e!="function")throw new tn(s);r=an(r)||0,ut(a)&&(q=!!a.leading,U="maxWait"in a,m=U?Ot(an(a.maxWait)||0,r):m,V="trailing"in a?!!a.trailing:V);function J(wt){var wn=c,Zn=p;return c=p=o,z=wt,x=e.apply(Zn,wn),x}function ue(wt){return z=wt,T=uo(Le,r),q?J(wt):x}function be(wt){var wn=wt-L,Zn=wt-z,Yp=r-wn;return U?Zt(Yp,m-Zn):Yp}function le(wt){var wn=wt-L,Zn=wt-z;return L===o||wn>=r||wn<0||U&&Zn>=m}function Le(){var wt=Pa();if(le(wt))return Pe(wt);T=uo(Le,be(wt))}function Pe(wt){return T=o,V&&c?J(wt):(c=p=o,x)}function zr(){T!==o&&kh(T),z=0,c=L=p=T=o}function lr(){return T===o?x:Pe(Pa())}function qr(){var wt=Pa(),wn=le(wt);if(c=arguments,p=this,L=wt,wn){if(T===o)return ue(L);if(U)return kh(T),T=uo(Le,r),J(L)}return T===o&&(T=uo(Le,r)),x}return qr.cancel=zr,qr.flush=lr,qr}var O1=xe(function(e,r){return dh(e,1,r)}),R1=xe(function(e,r,a){return dh(e,an(r)||0,a)});function D1(e){return Xn(e,k)}function Oa(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new tn(s);var a=function(){var c=arguments,p=r?r.apply(this,c):c[0],m=a.cache;if(m.has(p))return m.get(p);var x=e.apply(this,c);return a.cache=m.set(p,x)||m,x};return a.cache=new(Oa.Cache||Un),a}Oa.Cache=Un;function Ra(e){if(typeof e!="function")throw new tn(s);return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function I1(e){return wp(2,e)}var k1=w0(function(e,r){r=r.length==1&&me(r[0])?it(r[0],Hr(ae())):it(Ut(r,1),Hr(ae()));var a=r.length;return xe(function(c){for(var p=-1,m=Zt(c.length,a);++p=r}),qi=yh(function(){return arguments}())?yh:function(e){return pt(e)&&He.call(e,"callee")&&!sh.call(e,"callee")},me=F.isArray,Z1=Wc?Hr(Wc):i0;function wr(e){return e!=null&&Da(e.length)&&!$n(e)}function bt(e){return pt(e)&&wr(e)}function Q1(e){return e===!0||e===!1||pt(e)&&ar(e)==ct}var vi=cm||Hl,J1=zc?Hr(zc):s0;function j1(e){return pt(e)&&e.nodeType===1&&!lo(e)}function ey(e){if(e==null)return!0;if(wr(e)&&(me(e)||typeof e=="string"||typeof e.splice=="function"||vi(e)||Ss(e)||qi(e)))return!e.length;var r=Qt(e);if(r==Ve||r==vt)return!e.size;if(ao(e))return!rl(e).length;for(var a in e)if(He.call(e,a))return!1;return!0}function ty(e,r){return io(e,r)}function ry(e,r,a){a=typeof a=="function"?a:o;var c=a?a(e,r):o;return c===o?io(e,r,o,a):!!c}function Ll(e){if(!pt(e))return!1;var r=ar(e);return r==mt||r==qt||typeof e.message=="string"&&typeof e.name=="string"&&!lo(e)}function ny(e){return typeof e=="number"&&ah(e)}function $n(e){if(!ut(e))return!1;var r=ar(e);return r==Mr||r==It||r==Ct||r==N}function Cp(e){return typeof e=="number"&&e==ve(e)}function Da(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=te}function ut(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function pt(e){return e!=null&&typeof e=="object"}var Lp=qc?Hr(qc):a0;function iy(e,r){return e===r||tl(e,r,vl(r))}function sy(e,r,a){return a=typeof a=="function"?a:o,tl(e,r,vl(r),a)}function oy(e){return Mp(e)&&e!=+e}function ay(e){if(Y0(e))throw new ge(n);return bh(e)}function uy(e){return e===null}function ly(e){return e==null}function Mp(e){return typeof e=="number"||pt(e)&&ar(e)==we}function lo(e){if(!pt(e)||ar(e)!=et)return!1;var r=oa(e);if(r===null)return!0;var a=He.call(r,"constructor")&&r.constructor;return typeof a=="function"&&a instanceof a&&ra.call(a)==sm}var Ml=Uc?Hr(Uc):u0;function fy(e){return Cp(e)&&e>=-te&&e<=te}var Pp=Yc?Hr(Yc):l0;function Ia(e){return typeof e=="string"||!me(e)&&pt(e)&&ar(e)==vr}function Wr(e){return typeof e=="symbol"||pt(e)&&ar(e)==We}var Ss=Xc?Hr(Xc):f0;function cy(e){return e===o}function hy(e){return pt(e)&&Qt(e)==yr}function py(e){return pt(e)&&ar(e)==Nn}var dy=Ta(nl),_y=Ta(function(e,r){return e<=r});function Op(e){if(!e)return[];if(wr(e))return Ia(e)?vn(e):br(e);if(Zs&&e[Zs])return Vg(e[Zs]());var r=Qt(e),a=r==Ve?Yu:r==vt?jo:Ts;return a(e)}function Kn(e){if(!e)return e===0?e:0;if(e=an(e),e===ne||e===-ne){var r=e<0?-1:1;return r*Q}return e===e?e:0}function ve(e){var r=Kn(e),a=r%1;return r===r?a?r-a:r:0}function Rp(e){return e?Hi(ve(e),0,ie):0}function an(e){if(typeof e=="number")return e;if(Wr(e))return he;if(ut(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=ut(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Qc(e);var a=kr.test(e);return a||or.test(e)?Pg(e.slice(2),a?2:8):Ne.test(e)?he:+e}function Dp(e){return Mn(e,xr(e))}function gy(e){return e?Hi(ve(e),-te,te):e===0?e:0}function ke(e){return e==null?"":Br(e)}var my=bs(function(e,r){if(ao(r)||wr(r)){Mn(r,Bt(r),e);return}for(var a in r)He.call(r,a)&&to(e,a,r[a])}),Ip=bs(function(e,r){Mn(r,xr(r),e)}),ka=bs(function(e,r,a,c){Mn(r,xr(r),e,c)}),vy=bs(function(e,r,a,c){Mn(r,Bt(r),e,c)}),yy=Gn(Zu);function by(e,r){var a=ys(e);return r==null?a:hh(a,r)}var wy=xe(function(e,r){e=qe(e);var a=-1,c=r.length,p=c>2?r[2]:o;for(p&&ur(r[0],r[1],p)&&(c=1);++a1),m}),Mn(e,gl(e),a),c&&(a=nn(a,d|_|y,R0));for(var p=r.length;p--;)ul(a,r[p]);return a});function By(e,r){return Fp(e,Ra(ae(r)))}var Wy=Gn(function(e,r){return e==null?{}:p0(e,r)});function Fp(e,r){if(e==null)return{};var a=it(gl(e),function(c){return[c]});return r=ae(r),Ch(e,a,function(c,p){return r(c,p[0])})}function zy(e,r,a){r=gi(r,e);var c=-1,p=r.length;for(p||(p=1,e=o);++cr){var c=e;e=r,r=c}if(a||e%1||r%1){var p=uh();return Zt(e+p*(r-e+Mg("1e-"+((p+"").length-1))),r)}return sl(e,r)}var Jy=ws(function(e,r,a){return r=r.toLowerCase(),e+(a?Bp(r):r)});function Bp(e){return Rl(ke(e).toLowerCase())}function Wp(e){return e=ke(e),e&&e.replace(Mt,qg).replace(yg,"")}function jy(e,r,a){e=ke(e),r=Br(r);var c=e.length;a=a===o?c:Hi(ve(a),0,c);var p=a;return a-=r.length,a>=0&&e.slice(a,p)==r}function eb(e){return e=ke(e),e&&Dr.test(e)?e.replace(Cn,Ug):e}function tb(e){return e=ke(e),e&&Re.test(e)?e.replace(se,"\\$&"):e}var rb=ws(function(e,r,a){return e+(a?"-":"")+r.toLowerCase()}),nb=ws(function(e,r,a){return e+(a?" ":"")+r.toLowerCase()}),ib=Uh("toLowerCase");function sb(e,r,a){e=ke(e),r=ve(r);var c=r?_s(e):0;if(!r||c>=r)return e;var p=(r-c)/2;return Sa(fa(p),a)+e+Sa(la(p),a)}function ob(e,r,a){e=ke(e),r=ve(r);var c=r?_s(e):0;return r&&c>>0,a?(e=ke(e),e&&(typeof r=="string"||r!=null&&!Ml(r))&&(r=Br(r),!r&&ds(e))?mi(vn(e),0,a):e.split(r,a)):[]}var pb=ws(function(e,r,a){return e+(a?" ":"")+Rl(r)});function db(e,r,a){return e=ke(e),a=a==null?0:Hi(ve(a),0,e.length),r=Br(r),e.slice(a,a+r.length)==r}function _b(e,r,a){var c=g.templateSettings;a&&ur(e,r,a)&&(r=o),e=ke(e),r=ka({},r,c,Zh);var p=ka({},r.imports,c.imports,Zh),m=Bt(p),x=Uu(p,m),T,L,z=0,q=r.interpolate||ht,U="__p += '",V=Xu((r.escape||ht).source+"|"+q.source+"|"+(q===zn?nt:ht).source+"|"+(r.evaluate||ht).source+"|$","g"),J="//# sourceURL="+(He.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Tg+"]")+` `;e.replace(V,function(le,Le,Pe,zr,lr,qr){return Pe||(Pe=zr),U+=e.slice(z,qr).replace(Ft,Yg),Le&&(T=!0,U+=`' + __e(`+Le+`) + '`),lr&&(L=!0,U+=`'; `+lr+`; __p += '`),Pe&&(U+=`' + ((__t = (`+Pe+`)) == null ? '' : __t) + '`),z=qr+le.length,le}),U+=`'; `;var ue=He.call(r,"variable")&&r.variable;if(!ue)U=`with (obj) { `+U+` } `;else if(at.test(ue))throw new ge(u);U=(L?U.replace(ui,""):U).replace(An,"$1").replace(Bn,"$1;"),U="function("+(ue||"obj")+`) { `+(ue?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(T?", __e = _.escape":"")+(L?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+U+`return __p }`;var be=qp(function(){return De(m,J+"return "+U).apply(o,x)});if(be.source=U,Ll(be))throw be;return be}function gb(e){return ke(e).toLowerCase()}function mb(e){return ke(e).toUpperCase()}function vb(e,r,a){if(e=ke(e),e&&(a||r===o))return Qc(e);if(!e||!(r=Br(r)))return e;var c=vn(e),p=vn(r),m=Jc(c,p),x=jc(c,p)+1;return mi(c,m,x).join("")}function yb(e,r,a){if(e=ke(e),e&&(a||r===o))return e.slice(0,th(e)+1);if(!e||!(r=Br(r)))return e;var c=vn(e),p=jc(c,vn(r))+1;return mi(c,0,p).join("")}function bb(e,r,a){if(e=ke(e),e&&(a||r===o))return e.replace(G,"");if(!e||!(r=Br(r)))return e;var c=vn(e),p=Jc(c,vn(r));return mi(c,p).join("")}function wb(e,r){var a=H,c=W;if(ut(r)){var p="separator"in r?r.separator:p;a="length"in r?ve(r.length):a,c="omission"in r?Br(r.omission):c}e=ke(e);var m=e.length;if(ds(e)){var x=vn(e);m=x.length}if(a>=m)return e;var T=a-_s(c);if(T<1)return c;var L=x?mi(x,0,T).join(""):e.slice(0,T);if(p===o)return L+c;if(x&&(T+=L.length-T),Ml(p)){if(e.slice(T).search(p)){var z,q=L;for(p.global||(p=Xu(p.source,ke(ze.exec(p))+"g")),p.lastIndex=0;z=p.exec(q);)var U=z.index;L=L.slice(0,U===o?T:U)}}else if(e.indexOf(Br(p),T)!=T){var V=L.lastIndexOf(p);V>-1&&(L=L.slice(0,V))}return L+c}function xb(e){return e=ke(e),e&&Rr.test(e)?e.replace(ye,Qg):e}var Sb=ws(function(e,r,a){return e+(a?" ":"")+r.toUpperCase()}),Rl=Uh("toUpperCase");function zp(e,r,a){return e=ke(e),r=a?o:r,r===o?Gg(e)?em(e):Ng(e):e.match(r)||[]}var qp=xe(function(e,r){try{return Nr(e,o,r)}catch(a){return Ll(a)?a:new ge(a)}}),Tb=Gn(function(e,r){return en(r,function(a){a=Pn(a),Yn(e,a,Al(e[a],e))}),e});function Eb(e){var r=e==null?0:e.length,a=ae();return e=r?it(e,function(c){if(typeof c[1]!="function")throw new tn(s);return[a(c[0]),c[1]]}):[],xe(function(c){for(var p=-1;++pte)return[];var a=ie,c=Zt(e,ie);r=ae(r),e-=ie;for(var p=qu(c,r);++a0||r<0)?new Me(a):(e<0?a=a.takeRight(-e):e&&(a=a.drop(e)),r!==o&&(r=ve(r),a=r<0?a.dropRight(-r):a.take(r-e)),a)},Me.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Me.prototype.toArray=function(){return this.take(ie)},Ln(Me.prototype,function(e,r){var a=/^(?:filter|find|map|reject)|While$/.test(r),c=/^(?:head|last)$/.test(r),p=g[c?"take"+(r=="last"?"Right":""):r],m=c||/^find/.test(r);p&&(g.prototype[r]=function(){var x=this.__wrapped__,T=c?[1]:arguments,L=x instanceof Me,z=T[0],q=L||me(x),U=function(Le){var Pe=p.apply(g,fi([Le],T));return c&&V?Pe[0]:Pe};q&&a&&typeof z=="function"&&z.length!=1&&(L=q=!1);var V=this.__chain__,J=!!this.__actions__.length,ue=m&&!V,be=L&&!J;if(!m&&q){x=be?x:new Me(this);var le=e.apply(x,T);return le.__actions__.push({func:La,args:[U],thisArg:o}),new rn(le,V)}return ue&&be?e.apply(this,T):(le=this.thru(U),ue?c?le.value()[0]:le.value():le)})}),en(["pop","push","shift","sort","splice","unshift"],function(e){var r=ea[e],a=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",c=/^(?:pop|shift)$/.test(e);g.prototype[e]=function(){var p=arguments;if(c&&!this.__chain__){var m=this.value();return r.apply(me(m)?m:[],p)}return this[a](function(x){return r.apply(me(x)?x:[],p)})}}),Ln(Me.prototype,function(e,r){var a=g[r];if(a){var c=a.name+"";He.call(vs,c)||(vs[c]=[]),vs[c].push({name:r,func:a})}}),vs[wa(o,b).name]=[{name:"wrapper",func:o}],Me.prototype.clone=xm,Me.prototype.reverse=Sm,Me.prototype.value=Tm,g.prototype.at=jv,g.prototype.chain=e1,g.prototype.commit=t1,g.prototype.next=r1,g.prototype.plant=i1,g.prototype.reverse=s1,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=o1,g.prototype.first=g.prototype.head,Zs&&(g.prototype[Zs]=n1),g},hi=tm();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ht._=hi,define(function(){return hi})):Ii?((Ii.exports=hi)._=hi,Iu._=hi):Ht._=hi}).call(Vs)});function Qn(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Jp(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}var Cr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},As={duration:.5,overwrite:!1,delay:0},of,Xt,st,ln=1e8,Ye=1/ln,$l=Math.PI*2,mw=$l/4,vw=0,jp=Math.sqrt,yw=Math.cos,bw=Math.sin,Rt=function(t){return typeof t=="string"},dt=function(t){return typeof t=="function"},jn=function(t){return typeof t=="number"},Xa=function(t){return typeof t>"u"},Dn=function(t){return typeof t=="object"},Ar=function(t){return t!==!1},af=function(){return typeof window<"u"},Fa=function(t){return dt(t)||Rt(t)},ed=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Jt=Array.isArray,Kl=/(?:-?\.?\d|\.)+/gi,uf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Gi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,zl=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,lf=/[+-]=-?[.\d]+/,td=/[^,'"\[\]\s]+/gi,ww=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,lt,On,Zl,ff,Yr={},Wa={},rd,nd=function(t){return(Wa=Cs(t,Yr))&&jt},Ga=function(t,i){return console.warn("Invalid property",t,"set to",i,"Missing plugin? gsap.registerPlugin()")},go=function(t,i){return!i&&console.warn(t)},id=function(t,i){return t&&(Yr[t]=i)&&Wa&&(Wa[t]=i)||Yr},mo=function(){return 0},xw={suppressEvents:!0,isStart:!0,kill:!1},Na={suppressEvents:!0,kill:!1},Sw={suppressEvents:!0},cf={},bi=[],Ql={},sd,Tr={},ql={},Xp=30,Ha=[],hf="",pf=function(t){var i=t[0],n,s;if(Dn(i)||dt(i)||(t=[t]),!(n=(i._gsap||{}).harness)){for(s=Ha.length;s--&&!Ha[s].targetTest(i););n=Ha[s]}for(s=t.length;s--;)t[s]&&(t[s]._gsap||(t[s]._gsap=new mf(t[s],n)))||t.splice(s,1);return t},wi=function(t){return t._gsap||pf(fn(t))[0]._gsap},df=function(t,i,n){return(n=t[i])&&dt(n)?t[i]():Xa(n)&&t.getAttribute&&t.getAttribute(i)||n},fr=function(t,i){return(t=t.split(",")).forEach(i)||t},_t=function(t){return Math.round(t*1e5)/1e5||0},Tt=function(t){return Math.round(t*1e7)/1e7||0},Vi=function(t,i){var n=i.charAt(0),s=parseFloat(i.substr(2));return t=parseFloat(t),n==="+"?t+s:n==="-"?t-s:n==="*"?t*s:t/s},Tw=function(t,i){for(var n=i.length,s=0;t.indexOf(i[s])<0&&++sf;)l=l._prev;return l?(i._next=l._next,l._next=i):(i._next=t[n],t[n]=i),i._next?i._next._prev=i:t[s]=i,i._prev=l,i.parent=i._dp=t,i},Va=function(t,i,n,s){n===void 0&&(n="_first"),s===void 0&&(s="_last");var u=i._prev,l=i._next;u?u._next=l:t[n]===i&&(t[n]=l),l?l._prev=u:t[s]===i&&(t[s]=u),i._next=i._prev=i.parent=null},xi=function(t,i){t.parent&&(!i||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ui=function(t,i){if(t&&(!i||i._end>t._dur||i._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Cw=function(t){for(var i=t.parent;i&&i.parent;)i._dirty=1,i.totalDuration(),i=i.parent;return t},Jl=function(t,i,n,s){return t._startAt&&(Xt?t._startAt.revert(Na):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(i,!0,s))},Lw=function o(t){return!t||t._ts&&o(t.parent)},Vp=function(t){return t._repeat?Ls(t._tTime,t=t.duration()+t._rDelay)*t:0},Ls=function(t,i){var n=Math.floor(t=Tt(t/i));return t&&n===t?n-1:n},Ua=function(t,i){return(t-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},$a=function(t){return t._end=Tt(t._start+(t._tDur/Math.abs(t._ts||t._rts||Ye)||0))},Ka=function(t,i){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=Tt(n._time-(t._ts>0?i/t._ts:((t._dirty?t.totalDuration():t._tDur)-i)/-t._ts)),$a(t),n._dirty||Ui(n,t)),t},fd=function(t,i){var n;if((i._time||!i._dur&&i._initted||i._startYe)&&i.render(n,!0)),Ui(t,i)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-Ye}},Rn=function(t,i,n,s){return i.parent&&xi(i),i._start=Tt((jn(n)?n:n||t!==lt?un(t,n,i):t._time)+i._delay),i._end=Tt(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0)),ld(t,i,"_first","_last",t._sort?"_start":0),jl(i)||(t._recent=i),s||fd(t,i),t._ts<0&&Ka(t,t._tTime),t},cd=function(t,i){return(Yr.ScrollTrigger||Ga("scrollTrigger",i))&&Yr.ScrollTrigger.create(i,t)},hd=function(t,i,n,s,u){if(bf(t,i,u),!t._initted)return 1;if(!n&&t._pt&&!Xt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&sd!==Er.frame)return bi.push(t),t._lazy=[u,s],1},Mw=function o(t){var i=t.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||o(i))},jl=function(t){var i=t.data;return i==="isFromStart"||i==="isStart"},Pw=function(t,i,n,s){var u=t.ratio,l=i<0||!i&&(!t._start&&Mw(t)&&!(!t._initted&&jl(t))||(t._ts<0||t._dp._ts<0)&&!jl(t))?0:1,f=t._rDelay,h=0,d,_,y;if(f&&t._repeat&&(h=bo(0,t._tDur,i),_=Ls(h,f),t._yoyo&&_&1&&(l=1-l),_!==Ls(t._tTime,f)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||Xt||s||t._zTime===Ye||!i&&t._zTime){if(!t._initted&&hd(t,i,s,n,h))return;for(y=t._zTime,t._zTime=i||(n?Ye:0),n||(n=i&&!y),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=h,d=t._pt;d;)d.r(l,d.d),d=d._next;i<0&&Jl(t,i,n,!0),t._onUpdate&&!n&&Ur(t,"onUpdate"),h&&t._repeat&&!n&&t.parent&&Ur(t,"onRepeat"),(i>=t._tDur||i<0)&&t.ratio===l&&(l&&xi(t,1),!n&&!Xt&&(Ur(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=i)},Ow=function(t,i,n){var s;if(n>i)for(s=t._first;s&&s._start<=n;){if(s.data==="isPause"&&s._start>i)return s;s=s._next}else for(s=t._last;s&&s._start>=n;){if(s.data==="isPause"&&s._start0&&!s&&Ka(t,t._tTime=t._tDur*f),t.parent&&$a(t),n||Ui(t.parent,t),t},$p=function(t){return t instanceof Yt?Ui(t):Ms(t,t._dur)},Rw={_start:0,endTime:mo,totalDuration:mo},un=function o(t,i,n){var s=t.labels,u=t._recent||Rw,l=t.duration()>=ln?u.endTime(!1):t._dur,f,h,d;return Rt(i)&&(isNaN(i)||i in s)?(h=i.charAt(0),d=i.substr(-1)==="%",f=i.indexOf("="),h==="<"||h===">"?(f>=0&&(i=i.replace(/=/,"")),(h==="<"?u._start:u.endTime(u._repeat>=0))+(parseFloat(i.substr(1))||0)*(d?(f<0?u:n).totalDuration()/100:1)):f<0?(i in s||(s[i]=l),s[i]):(h=parseFloat(i.charAt(f-1)+i.substr(f+1)),d&&n&&(h=h/100*(Jt(n)?n[0]:n).totalDuration()),f>1?o(t,i.substr(0,f-1),n)+h:l+h)):i==null?l:+i},po=function(t,i,n){var s=jn(i[1]),u=(s?2:1)+(t<2?0:1),l=i[u],f,h;if(s&&(l.duration=i[1]),l.parent=n,t){for(f=l,h=n;h&&!("immediateRender"in f);)f=h.vars.defaults||{},h=Ar(h.vars.inherit)&&h.parent;l.immediateRender=Ar(f.immediateRender),t<2?l.runBackwards=1:l.startAt=i[u-1]}return new xt(i[0],l,i[u+1])},Si=function(t,i){return t||t===0?i(t):i},bo=function(t,i,n){return ni?i:n},Gt=function(t,i){return!Rt(t)||!(i=ww.exec(t))?"":i[1]},Dw=function(t,i,n){return Si(n,function(s){return bo(t,i,s)})},ef=[].slice,pd=function(t,i){return t&&Dn(t)&&"length"in t&&(!i&&!t.length||t.length-1 in t&&Dn(t[0]))&&!t.nodeType&&t!==On},Iw=function(t,i,n){return n===void 0&&(n=[]),t.forEach(function(s){var u;return Rt(s)&&!i||pd(s,1)?(u=n).push.apply(u,fn(s)):n.push(s)})||n},fn=function(t,i,n){return st&&!i&&st.selector?st.selector(t):Rt(t)&&!n&&(Zl||!Ps())?ef.call((i||ff).querySelectorAll(t),0):Jt(t)?Iw(t,n):pd(t)?ef.call(t,0):t?[t]:[]},tf=function(t){return t=fn(t)[0]||go("Invalid scope")||{},function(i){var n=t.current||t.nativeElement||t;return fn(i,n.querySelectorAll?n:n===t?go("Invalid scope")||ff.createElement("div"):t)}},dd=function(t){return t.sort(function(){return .5-Math.random()})},_d=function(t){if(dt(t))return t;var i=Dn(t)?t:{each:t},n=Yi(i.ease),s=i.from||0,u=parseFloat(i.base)||0,l={},f=s>0&&s<1,h=isNaN(s)||f,d=i.axis,_=s,y=s;return Rt(s)?_=y={center:.5,edges:.5,end:1}[s]||0:!f&&h&&(_=s[0],y=s[1]),function(w,v,S){var b=(S||i).length,E=l[b],D,M,I,R,O,P,k,H,W;if(!E){if(W=i.grid==="auto"?0:(i.grid||[1,ln])[1],!W){for(k=-ln;k<(k=S[W++].getBoundingClientRect().left)&&Wk&&(k=O),Ob?b-1:d?d==="y"?b/W:W:Math.max(W,b/W))||0)*(s==="edges"?-1:1),E.b=b<0?u-b:u,E.u=Gt(i.amount||i.each)||0,n=n&&b<0?Td(n):n}return b=(E[w]-E.min)/E.max||0,Tt(E.b+(n?n(b):b)*E.v)+E.u}},rf=function(t){var i=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var s=Tt(Math.round(parseFloat(n)/t)*t*i);return(s-s%1)/i+(jn(n)?0:Gt(n))}},gd=function(t,i){var n=Jt(t),s,u;return!n&&Dn(t)&&(s=n=t.radius||ln,t.values?(t=fn(t.values),(u=!jn(t[0]))&&(s*=s)):t=rf(t.increment)),Si(i,n?dt(t)?function(l){return u=t(l),Math.abs(u-l)<=s?u:l}:function(l){for(var f=parseFloat(u?l.x:l),h=parseFloat(u?l.y:0),d=ln,_=0,y=t.length,w,v;y--;)u?(w=t[y].x-f,v=t[y].y-h,w=w*w+v*v):w=Math.abs(t[y]-f),ws?u-l:l)})},Os=function(t){for(var i=0,n="",s,u,l,f;~(s=t.indexOf("random(",i));)l=t.indexOf(")",s),f=t.charAt(s+7)==="[",u=t.substr(s+7,l-s-7).match(f?td:Kl),n+=t.substr(i,s-i)+md(f?u:+u[0],f?0:+u[1],+u[2]||1e-5),i=l+1;return n+t.substr(i,t.length-i)},yd=function(t,i,n,s,u){var l=i-t,f=s-n;return Si(u,function(h){return n+((h-t)/l*f||0)})},Ww=function o(t,i,n,s){var u=isNaN(t+i)?0:function(v){return(1-v)*t+v*i};if(!u){var l=Rt(t),f={},h,d,_,y,w;if(n===!0&&(s=1)&&(n=null),l)t={p:t},i={p:i};else if(Jt(t)&&!Jt(i)){for(_=[],y=t.length,w=y-2,d=1;d(f=Math.abs(f))&&(h=l,u=f);return h},Ur=function(t,i,n){var s=t.vars,u=s[i],l=st,f=t._ctx,h,d,_;if(u)return h=s[i+"Params"],d=s.callbackScope||t,n&&bi.length&&za(),f&&(st=f),_=h?u.apply(d,h):u.call(d),st=l,_},fo=function(t){return xi(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Xt),t.progress()<1&&Ur(t,"onInterrupt"),t},Es,bd=[],wd=function(t){if(t)if(t=!t.name&&t.default||t,af()||t.headless){var i=t.name,n=dt(t),s=i&&!n&&t.init?function(){this._props=[]}:t,u={init:mo,render:Sf,add:vf,kill:rx,modifier:tx,rawVars:0},l={targetTest:0,get:0,getSetter:Za,aliases:{},register:0};if(Ps(),t!==s){if(Tr[i])return;Xr(s,Xr(qa(t,u),l)),Cs(s.prototype,Cs(u,qa(t,l))),Tr[s.prop=i]=s,t.targetTest&&(Ha.push(s),cf[i]=1),i=(i==="css"?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}id(i,s),t.register&&t.register(jt,s,cr)}else bd.push(t)},Ue=255,co={aqua:[0,Ue,Ue],lime:[0,Ue,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ue],navy:[0,0,128],white:[Ue,Ue,Ue],olive:[128,128,0],yellow:[Ue,Ue,0],orange:[Ue,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ue,0,0],pink:[Ue,192,203],cyan:[0,Ue,Ue],transparent:[Ue,Ue,Ue,0]},Ul=function(t,i,n){return t+=t<0?1:t>1?-1:0,(t*6<1?i+(n-i)*t*6:t<.5?n:t*3<2?i+(n-i)*(2/3-t)*6:i)*Ue+.5|0},xd=function(t,i,n){var s=t?jn(t)?[t>>16,t>>8&Ue,t&Ue]:0:co.black,u,l,f,h,d,_,y,w,v,S;if(!s){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),co[t])s=co[t];else if(t.charAt(0)==="#"){if(t.length<6&&(u=t.charAt(1),l=t.charAt(2),f=t.charAt(3),t="#"+u+u+l+l+f+f+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return s=parseInt(t.substr(1,6),16),[s>>16,s>>8&Ue,s&Ue,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),s=[t>>16,t>>8&Ue,t&Ue]}else if(t.substr(0,3)==="hsl"){if(s=S=t.match(Kl),!i)h=+s[0]%360/360,d=+s[1]/100,_=+s[2]/100,l=_<=.5?_*(d+1):_+d-_*d,u=_*2-l,s.length>3&&(s[3]*=1),s[0]=Ul(h+1/3,u,l),s[1]=Ul(h,u,l),s[2]=Ul(h-1/3,u,l);else if(~t.indexOf("="))return s=t.match(uf),n&&s.length<4&&(s[3]=1),s}else s=t.match(Kl)||co.transparent;s=s.map(Number)}return i&&!S&&(u=s[0]/Ue,l=s[1]/Ue,f=s[2]/Ue,y=Math.max(u,l,f),w=Math.min(u,l,f),_=(y+w)/2,y===w?h=d=0:(v=y-w,d=_>.5?v/(2-y-w):v/(y+w),h=y===u?(l-f)/v+(lt||D<0)&&(n+=D-i),s+=D,O=s-n,I=O-l,(I>0||M)&&(P=++y.frame,w=O-y.time*1e3,y.time=O=O/1e3,l+=I+(I>=u?4:u-I),R=1),M||(h=d(b)),R)for(v=0;v=D&&v--},_listeners:f},y}(),Ps=function(){return!vo&&Er.wake()},Oe={},qw=/^[\d.\-M][\d.\-,\s]/,Uw=/["']/g,Yw=function(t){for(var i={},n=t.substr(1,t.length-3).split(":"),s=n[0],u=1,l=n.length,f,h,d;u1&&n.config?n.config.apply(null,~t.indexOf("{")?[Yw(i[1])]:Xw(t).split(",").map(ad)):Oe._CE&&qw.test(t)?Oe._CE("",t):n},Td=function(t){return function(i){return 1-t(1-i)}},Ed=function o(t,i){for(var n=t._first,s;n;)n instanceof Yt?o(n,i):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==i&&(n.timeline?o(n.timeline,i):(s=n._ease,n._ease=n._yEase,n._yEase=s,n._yoyo=i)),n=n._next},Yi=function(t,i){return t&&(dt(t)?t:Oe[t]||Gw(t))||i},$i=function(t,i,n,s){n===void 0&&(n=function(h){return 1-i(1-h)}),s===void 0&&(s=function(h){return h<.5?i(h*2)/2:1-i((1-h)*2)/2});var u={easeIn:i,easeOut:n,easeInOut:s},l;return fr(t,function(f){Oe[f]=Yr[f]=u,Oe[l=f.toLowerCase()]=n;for(var h in u)Oe[l+(h==="easeIn"?".in":h==="easeOut"?".out":".inOut")]=Oe[f+"."+h]=u[h]}),u},Ad=function(t){return function(i){return i<.5?(1-t(1-i*2))/2:.5+t((i-.5)*2)/2}},Yl=function o(t,i,n){var s=i>=1?i:1,u=(n||(t?.3:.45))/(i<1?i:1),l=u/$l*(Math.asin(1/s)||0),f=function(_){return _===1?1:s*Math.pow(2,-10*_)*bw((_-l)*u)+1},h=t==="out"?f:t==="in"?function(d){return 1-f(1-d)}:Ad(f);return u=$l/u,h.config=function(d,_){return o(t,d,_)},h},Xl=function o(t,i){i===void 0&&(i=1.70158);var n=function(l){return l?--l*l*((i+1)*l+i)+1:0},s=t==="out"?n:t==="in"?function(u){return 1-n(1-u)}:Ad(n);return s.config=function(u){return o(t,u)},s};fr("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var i=t<5?t+1:t;$i(o+",Power"+(i-1),t?function(n){return Math.pow(n,i)}:function(n){return n},function(n){return 1-Math.pow(1-n,i)},function(n){return n<.5?Math.pow(n*2,i)/2:1-Math.pow((1-n)*2,i)/2})});Oe.Linear.easeNone=Oe.none=Oe.Linear.easeIn;$i("Elastic",Yl("in"),Yl("out"),Yl());(function(o,t){var i=1/t,n=2*i,s=2.5*i,u=function(f){return f0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,Ms(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,s){if(Ps(),!arguments.length)return this._tTime;var u=this._dp;if(u&&u.smoothChildTiming&&this._ts){for(Ka(this,n),!u._dp||u.parent||fd(u,this);u&&u.parent;)u.parent._time!==u._start+(u._ts>=0?u._tTime/u._ts:(u.totalDuration()-u._tTime)/-u._ts)&&u.totalTime(u._tTime,!0),u=u.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n0||!this._tDur&&!n)&&Rn(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===Ye||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),od(this,n,s)),this},t.time=function(n,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Vp(this))%(this._dur+this._rDelay)||(n?this._dur:0),s):this._time},t.totalProgress=function(n,s){return arguments.length?this.totalTime(this.totalDuration()*n,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(n,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Vp(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,s){var u=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*u,s):this._repeat?Ls(this._tTime,u)+1:1},t.timeScale=function(n,s){if(!arguments.length)return this._rts===-Ye?0:this._rts;if(this._rts===n)return this;var u=this.parent&&this._ts?Ua(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ye?0:this._rts,this.totalTime(bo(-Math.abs(this._delay),this.totalDuration(),u),s!==!1),$a(this),Cw(this)},t.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ps(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ye&&(this._tTime-=Ye)))),this):this._ps},t.startTime=function(n){if(arguments.length){this._start=n;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&Rn(s,this,n-this._delay),this}return this._start},t.endTime=function(n){return this._start+(Ar(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var s=this.parent||this._dp;return s?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ua(s.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=Sw);var s=Xt;return Xt=n,_f(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),Xt=s,this},t.globalTime=function(n){for(var s=this,u=arguments.length?n:s.rawTime();s;)u=s._start+u/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(n):u},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,$p(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var s=this._time;return this._rDelay=n,$p(this),s?this.time(s):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,s){return this.totalTime(un(this,n),Ar(s))},t.restart=function(n,s){return this.play().totalTime(n?-this._delay:0,Ar(s)),this._dur||(this._zTime=-Ye),this},t.play=function(n,s){return n!=null&&this.seek(n,s),this.reversed(!1).paused(!1)},t.reverse=function(n,s){return n!=null&&this.seek(n||this.totalDuration(),s),this.reversed(!0).paused(!1)},t.pause=function(n,s){return n!=null&&this.seek(n,s),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Ye:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ye,this},t.isActive=function(){var n=this.parent||this._dp,s=this._start,u;return!!(!n||this._ts&&this._initted&&n.isActive()&&(u=n.rawTime(!0))>=s&&u1?(s?(l[n]=s,u&&(l[n+"Params"]=u),n==="onUpdate"&&(this._onUpdate=s)):delete l[n],this):l[n]},t.then=function(n){var s=this;return new Promise(function(u){var l=dt(n)?n:ud,f=function(){var d=s.then;s.then=null,dt(l)&&(l=l(s))&&(l.then||l===s)&&(s.then=d),u(l),s.then=d};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?f():s._prom=f})},t.kill=function(){fo(this)},o}();Xr(yo.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ye,_prom:0,_ps:!1,_rts:1});var Yt=function(o){Jp(t,o);function t(n,s){var u;return n===void 0&&(n={}),u=o.call(this,n)||this,u.labels={},u.smoothChildTiming=!!n.smoothChildTiming,u.autoRemoveChildren=!!n.autoRemoveChildren,u._sort=Ar(n.sortChildren),lt&&Rn(n.parent||lt,Qn(u),s),n.reversed&&u.reverse(),n.paused&&u.paused(!0),n.scrollTrigger&&cd(Qn(u),n.scrollTrigger),u}var i=t.prototype;return i.to=function(s,u,l){return po(0,arguments,this),this},i.from=function(s,u,l){return po(1,arguments,this),this},i.fromTo=function(s,u,l,f){return po(2,arguments,this),this},i.set=function(s,u,l){return u.duration=0,u.parent=this,ho(u).repeatDelay||(u.repeat=0),u.immediateRender=!!u.immediateRender,new xt(s,u,un(this,l),1),this},i.call=function(s,u,l){return Rn(this,xt.delayedCall(0,s,u),l)},i.staggerTo=function(s,u,l,f,h,d,_){return l.duration=u,l.stagger=l.stagger||f,l.onComplete=d,l.onCompleteParams=_,l.parent=this,new xt(s,l,un(this,h)),this},i.staggerFrom=function(s,u,l,f,h,d,_){return l.runBackwards=1,ho(l).immediateRender=Ar(l.immediateRender),this.staggerTo(s,u,l,f,h,d,_)},i.staggerFromTo=function(s,u,l,f,h,d,_,y){return f.startAt=l,ho(f).immediateRender=Ar(f.immediateRender),this.staggerTo(s,u,f,h,d,_,y)},i.render=function(s,u,l){var f=this._time,h=this._dirty?this.totalDuration():this._tDur,d=this._dur,_=s<=0?0:Tt(s),y=this._zTime<0!=s<0&&(this._initted||!d),w,v,S,b,E,D,M,I,R,O,P,k;if(this!==lt&&_>h&&s>=0&&(_=h),_!==this._tTime||l||y){if(f!==this._time&&d&&(_+=this._time-f,s+=this._time-f),w=_,R=this._start,I=this._ts,D=!I,y&&(d||(f=this._zTime),(s||!u)&&(this._zTime=s)),this._repeat){if(P=this._yoyo,E=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(E*100+s,u,l);if(w=Tt(_%E),_===h?(b=this._repeat,w=d):(O=Tt(_/E),b=~~O,b&&b===O&&(w=d,b--),w>d&&(w=d)),O=Ls(this._tTime,E),!f&&this._tTime&&O!==b&&this._tTime-O*E-this._dur<=0&&(O=b),P&&b&1&&(w=d-w,k=1),b!==O&&!this._lock){var H=P&&O&1,W=H===(P&&b&1);if(b=f&&s>=0)for(v=this._first;v;){if(S=v._next,(v._act||w>=v._start)&&v._ts&&M!==v){if(v.parent!==this)return this.render(s,u,l);if(v.render(v._ts>0?(w-v._start)*v._ts:(v._dirty?v.totalDuration():v._tDur)+(w-v._start)*v._ts,u,l),w!==this._time||!this._ts&&!D){M=0,S&&(_+=this._zTime=-Ye);break}}v=S}else{v=this._last;for(var Y=s<0?s:w;v;){if(S=v._prev,(v._act||Y<=v._end)&&v._ts&&M!==v){if(v.parent!==this)return this.render(s,u,l);if(v.render(v._ts>0?(Y-v._start)*v._ts:(v._dirty?v.totalDuration():v._tDur)+(Y-v._start)*v._ts,u,l||Xt&&_f(v)),w!==this._time||!this._ts&&!D){M=0,S&&(_+=this._zTime=Y?-Ye:Ye);break}}v=S}}if(M&&!u&&(this.pause(),M.render(w>=f?0:-Ye)._zTime=w>=f?1:-1,this._ts))return this._start=R,$a(this),this.render(s,u,l);this._onUpdate&&!u&&Ur(this,"onUpdate",!0),(_===h&&this._tTime>=this.totalDuration()||!_&&f)&&(R===this._start||Math.abs(I)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(_===h&&this._ts>0||!_&&this._ts<0)&&xi(this,1),!u&&!(s<0&&!f)&&(_||f||!h)&&(Ur(this,_===h&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom())))}return this},i.add=function(s,u){var l=this;if(jn(u)||(u=un(this,u,s)),!(s instanceof yo)){if(Jt(s))return s.forEach(function(f){return l.add(f,u)}),this;if(Rt(s))return this.addLabel(s,u);if(dt(s))s=xt.delayedCall(0,s);else return this}return this!==s?Rn(this,s,u):this},i.getChildren=function(s,u,l,f){s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),f===void 0&&(f=-ln);for(var h=[],d=this._first;d;)d._start>=f&&(d instanceof xt?u&&h.push(d):(l&&h.push(d),s&&h.push.apply(h,d.getChildren(!0,u,l)))),d=d._next;return h},i.getById=function(s){for(var u=this.getChildren(1,1,1),l=u.length;l--;)if(u[l].vars.id===s)return u[l]},i.remove=function(s){return Rt(s)?this.removeLabel(s):dt(s)?this.killTweensOf(s):(s.parent===this&&Va(this,s),s===this._recent&&(this._recent=this._last),Ui(this))},i.totalTime=function(s,u){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Tt(Er.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),o.prototype.totalTime.call(this,s,u),this._forcing=0,this):this._tTime},i.addLabel=function(s,u){return this.labels[s]=un(this,u),this},i.removeLabel=function(s){return delete this.labels[s],this},i.addPause=function(s,u,l){var f=xt.delayedCall(0,u||mo,l);return f.data="isPause",this._hasPause=1,Rn(this,f,un(this,s))},i.removePause=function(s){var u=this._first;for(s=un(this,s);u;)u._start===s&&u.data==="isPause"&&xi(u),u=u._next},i.killTweensOf=function(s,u,l){for(var f=this.getTweensOf(s,l),h=f.length;h--;)yi!==f[h]&&f[h].kill(s,u);return this},i.getTweensOf=function(s,u){for(var l=[],f=fn(s),h=this._first,d=jn(u),_;h;)h instanceof xt?Tw(h._targets,f)&&(d?(!yi||h._initted&&h._ts)&&h.globalTime(0)<=u&&h.globalTime(h.totalDuration())>u:!u||h.isActive())&&l.push(h):(_=h.getTweensOf(f,u)).length&&l.push.apply(l,_),h=h._next;return l},i.tweenTo=function(s,u){u=u||{};var l=this,f=un(l,s),h=u,d=h.startAt,_=h.onStart,y=h.onStartParams,w=h.immediateRender,v,S=xt.to(l,Xr({ease:u.ease||"none",lazy:!1,immediateRender:!1,time:f,overwrite:"auto",duration:u.duration||Math.abs((f-(d&&"time"in d?d.time:l._time))/l.timeScale())||Ye,onStart:function(){if(l.pause(),!v){var E=u.duration||Math.abs((f-(d&&"time"in d?d.time:l._time))/l.timeScale());S._dur!==E&&Ms(S,E,0,1).render(S._time,!0,!0),v=1}_&&_.apply(S,y||[])}},u));return w?S.render(0):S},i.tweenFromTo=function(s,u,l){return this.tweenTo(u,Xr({startAt:{time:un(this,s)}},l))},i.recent=function(){return this._recent},i.nextLabel=function(s){return s===void 0&&(s=this._time),Kp(this,un(this,s))},i.previousLabel=function(s){return s===void 0&&(s=this._time),Kp(this,un(this,s),1)},i.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+Ye)},i.shiftChildren=function(s,u,l){l===void 0&&(l=0);for(var f=this._first,h=this.labels,d;f;)f._start>=l&&(f._start+=s,f._end+=s),f=f._next;if(u)for(d in h)h[d]>=l&&(h[d]+=s);return Ui(this)},i.invalidate=function(s){var u=this._first;for(this._lock=0;u;)u.invalidate(s),u=u._next;return o.prototype.invalidate.call(this,s)},i.clear=function(s){s===void 0&&(s=!0);for(var u=this._first,l;u;)l=u._next,this.remove(u),u=l;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),Ui(this)},i.totalDuration=function(s){var u=0,l=this,f=l._last,h=ln,d,_,y;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-s:s));if(l._dirty){for(y=l.parent;f;)d=f._prev,f._dirty&&f.totalDuration(),_=f._start,_>h&&l._sort&&f._ts&&!l._lock?(l._lock=1,Rn(l,f,_-f._delay,1)._lock=0):h=_,_<0&&f._ts&&(u-=_,(!y&&!l._dp||y&&y.smoothChildTiming)&&(l._start+=_/l._ts,l._time-=_,l._tTime-=_),l.shiftChildren(-_,!1,-1/0),h=0),f._end>u&&f._ts&&(u=f._end),f=d;Ms(l,l===lt&&l._time>u?l._time:u,1,1),l._dirty=0}return l._tDur},t.updateRoot=function(s){if(lt._ts&&(od(lt,Ua(s,lt)),sd=Er.frame),Er.frame>=Xp){Xp+=Cr.autoSleep||120;var u=lt._first;if((!u||!u._ts)&&Cr.autoSleep&&Er._listeners.length<2){for(;u&&!u._ts;)u=u._next;u||Er.sleep()}}},t}(yo);Xr(Yt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Vw=function(t,i,n,s,u,l,f){var h=new cr(this._pt,t,i,0,1,xf,null,u),d=0,_=0,y,w,v,S,b,E,D,M;for(h.b=n,h.e=s,n+="",s+="",(D=~s.indexOf("random("))&&(s=Os(s)),l&&(M=[n,s],l(M,t,i),n=M[0],s=M[1]),w=n.match(zl)||[];y=zl.exec(s);)S=y[0],b=s.substring(d,y.index),v?v=(v+1)%5:b.substr(-5)==="rgba("&&(v=1),S!==w[_++]&&(E=parseFloat(w[_-1])||0,h._pt={_next:h._pt,p:b||_===1?b:",",s:E,c:S.charAt(1)==="="?Vi(E,S)-E:parseFloat(S)-E,m:v&&v<4?Math.round:0},d=zl.lastIndex);return h.c=d")}),R.duration();else{P={};for(H in S)H==="ease"||H==="easeEach"||Qw(H,S[H],P,S.easeEach);for(H in P)for(j=P[H].sort(function(te,Q){return te.t-Q.t}),X=0,O=0;Oh-Ye&&!_?h:sd&&(w=d)),D=this._yoyo&&S&1,D&&(R=this._yEase,w=d-w),E=Ls(this._tTime,b),w===f&&!l&&this._initted&&S===E)return this._tTime=y,this;S!==E&&(I&&this._yEase&&Ed(I,D),this.vars.repeatRefresh&&!D&&!this._lock&&w!==b&&this._initted&&(this._lock=l=1,this.render(Tt(b*S),!0).invalidate()._lock=0))}if(!this._initted){if(hd(this,_?s:w,l,u,y))return this._tTime=0,this;if(f!==this._time&&!(l&&this.vars.repeatRefresh&&S!==E))return this;if(d!==this._dur)return this.render(s,u,l)}if(this._tTime=y,this._time=w,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=M=(R||this._ease)(w/d),this._from&&(this.ratio=M=1-M),!f&&y&&!u&&!E&&(Ur(this,"onStart"),this._tTime!==y))return this;for(v=this._pt;v;)v.r(M,v.d),v=v._next;I&&I.render(s<0?s:I._dur*I._ease(w/this._dur),u,l)||this._startAt&&(this._zTime=s),this._onUpdate&&!u&&(_&&Jl(this,s,u,l),Ur(this,"onUpdate")),this._repeat&&S!==E&&this.vars.onRepeat&&!u&&this.parent&&Ur(this,"onRepeat"),(y===this._tDur||!y)&&this._tTime===y&&(_&&!this._onUpdate&&Jl(this,s,!0,!0),(s||!d)&&(y===this._tDur&&this._ts>0||!y&&this._ts<0)&&xi(this,1),!u&&!(_&&!f)&&(y||f||D)&&(Ur(this,y===h?"onComplete":"onReverseComplete",!0),this._prom&&!(y0)&&this._prom()))}return this},i.targets=function(){return this._targets},i.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),o.prototype.invalidate.call(this,s)},i.resetTo=function(s,u,l,f,h){vo||Er.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),_;return this._initted||bf(this,d),_=this._ease(d/this._dur),Kw(this,s,u,l,f,_,d,h)?this.resetTo(s,u,l,f,1):(Ka(this,0),this.parent||ld(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(s,u){if(u===void 0&&(u="all"),!s&&(!u||u==="all"))return this._lazy=this._pt=0,this.parent?fo(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Xt),this;if(this.timeline){var l=this.timeline.totalDuration();return this.timeline.killTweensOf(s,u,yi&&yi.vars.overwrite!==!0)._first||fo(this),this.parent&&l!==this.timeline.totalDuration()&&Ms(this,this._dur*this.timeline._tDur/l,0,1),this}var f=this._targets,h=s?fn(s):f,d=this._ptLookup,_=this._pt,y,w,v,S,b,E,D;if((!u||u==="all")&&Aw(f,h))return u==="all"&&(this._pt=0),fo(this);for(y=this._op=this._op||[],u!=="all"&&(Rt(u)&&(b={},fr(u,function(M){return b[M]=1}),u=b),u=Zw(f,u)),D=f.length;D--;)if(~h.indexOf(f[D])){w=d[D],u==="all"?(y[D]=u,S=w,v={}):(v=y[D]=y[D]||{},S=u);for(b in S)E=w&&w[b],E&&((!("kill"in E.d)||E.d.kill(b)===!0)&&Va(this,E,"_pt"),delete w[b]),v!=="all"&&(v[b]=1)}return this._initted&&!this._pt&&_&&fo(this),this},t.to=function(s,u){return new t(s,u,arguments[2])},t.from=function(s,u){return po(1,arguments)},t.delayedCall=function(s,u,l,f){return new t(u,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:u,onReverseComplete:u,onCompleteParams:l,onReverseCompleteParams:l,callbackScope:f})},t.fromTo=function(s,u,l){return po(2,arguments)},t.set=function(s,u){return u.duration=0,u.repeatDelay||(u.repeat=0),new t(s,u)},t.killTweensOf=function(s,u,l){return lt.killTweensOf(s,u,l)},t}(yo);Xr(xt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});fr("staggerTo,staggerFrom,staggerFromTo",function(o){xt[o]=function(){var t=new Yt,i=ef.call(arguments,0);return i.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,i)}});var wf=function(t,i,n){return t[i]=n},Md=function(t,i,n){return t[i](n)},Jw=function(t,i,n,s){return t[i](s.fp,n)},jw=function(t,i,n){return t.setAttribute(i,n)},Za=function(t,i){return dt(t[i])?Md:Xa(t[i])&&t.setAttribute?jw:wf},Pd=function(t,i){return i.set(i.t,i.p,Math.round((i.s+i.c*t)*1e6)/1e6,i)},ex=function(t,i){return i.set(i.t,i.p,!!(i.s+i.c*t),i)},xf=function(t,i){var n=i._pt,s="";if(!t&&i.b)s=i.b;else if(t===1&&i.e)s=i.e;else{for(;n;)s=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+s,n=n._next;s+=i.c}i.set(i.t,i.p,s,i)},Sf=function(t,i){for(var n=i._pt;n;)n.r(t,n.d),n=n._next},tx=function(t,i,n,s){for(var u=this._pt,l;u;)l=u._next,u.p===s&&u.modifier(t,i,n),u=l},rx=function(t){for(var i=this._pt,n,s;i;)s=i._next,i.p===t&&!i.op||i.op===t?Va(this,i,"_pt"):i.dep||(n=1),i=s;return!n},nx=function(t,i,n,s){s.mSet(t,i,s.m.call(s.tween,n,s.mt),s)},Tf=function(t){for(var i=t._pt,n,s,u,l;i;){for(n=i._next,s=u;s&&s.pr>i.pr;)s=s._next;(i._prev=s?s._prev:l)?i._prev._next=i:u=i,(i._next=s)?s._prev=i:l=i,i=n}t._pt=u},cr=function(){function o(i,n,s,u,l,f,h,d,_){this.t=n,this.s=u,this.c=l,this.p=s,this.r=f||Pd,this.d=h||this,this.set=d||wf,this.pr=_||0,this._next=i,i&&(i._prev=this)}var t=o.prototype;return t.modifier=function(n,s,u){this.mSet=this.mSet||this.set,this.set=nx,this.m=n,this.mt=u,this.tween=s},o}();fr(hf+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(o){return cf[o]=1});Yr.TweenMax=Yr.TweenLite=xt;Yr.TimelineLite=Yr.TimelineMax=Yt;lt=new Yt({sortChildren:!1,defaults:As,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Cr.stringFilter=gf;var Xi=[],Ba={},ix=[],Qp=0,sx=0,Gl=function(t){return(Ba[t]||ix).map(function(i){return i()})},sf=function(){var t=Date.now(),i=[];t-Qp>2&&(Gl("matchMediaInit"),Xi.forEach(function(n){var s=n.queries,u=n.conditions,l,f,h,d;for(f in s)l=On.matchMedia(s[f]).matches,l&&(h=1),l!==u[f]&&(u[f]=l,d=1);d&&(n.revert(),h&&i.push(n))}),Gl("matchMediaRevert"),i.forEach(function(n){return n.onMatch(n,function(s){return n.add(null,s)})}),Qp=t,Gl("matchMedia"))},Od=function(){function o(i,n){this.selector=n&&tf(n),this.data=[],this._r=[],this.isReverted=!1,this.id=sx++,i&&this.add(i)}var t=o.prototype;return t.add=function(n,s,u){dt(n)&&(u=s,s=n,n=dt);var l=this,f=function(){var d=st,_=l.selector,y;return d&&d!==l&&d.data.push(l),u&&(l.selector=tf(u)),st=l,y=s.apply(l,arguments),dt(y)&&l._r.push(y),st=d,l.selector=_,l.isReverted=!1,y};return l.last=f,n===dt?f(l,function(h){return l.add(null,h)}):n?l[n]=f:f},t.ignore=function(n){var s=st;st=null,n(this),st=s},t.getTweens=function(){var n=[];return this.data.forEach(function(s){return s instanceof o?n.push.apply(n,s.getTweens()):s instanceof xt&&!(s.parent&&s.parent.data==="nested")&&n.push(s)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,s){var u=this;if(n?function(){for(var f=u.getTweens(),h=u.data.length,d;h--;)d=u.data[h],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(_){return f.splice(f.indexOf(_),1)}));for(f.map(function(_){return{g:_._dur||_._delay||_._sat&&!_._sat.vars.immediateRender?_.globalTime(0):-1/0,t:_}}).sort(function(_,y){return y.g-_.g||-1/0}).forEach(function(_){return _.t.revert(n)}),h=u.data.length;h--;)d=u.data[h],d instanceof Yt?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof xt)&&d.revert&&d.revert(n);u._r.forEach(function(_){return _(n,u)}),u.isReverted=!0}():this.data.forEach(function(f){return f.kill&&f.kill()}),this.clear(),s)for(var l=Xi.length;l--;)Xi[l].id===this.id&&Xi.splice(l,1)},t.revert=function(n){this.kill(n||{})},o}(),ox=function(){function o(i){this.contexts=[],this.scope=i,st&&st.data.push(this)}var t=o.prototype;return t.add=function(n,s,u){Dn(n)||(n={matches:n});var l=new Od(0,u||this.scope),f=l.conditions={},h,d,_;st&&!l.selector&&(l.selector=st.selector),this.contexts.push(l),s=l.add("onMatch",s),l.queries=n;for(d in n)d==="all"?_=1:(h=On.matchMedia(n[d]),h&&(Xi.indexOf(l)<0&&Xi.push(l),(f[d]=h.matches)&&(_=1),h.addListener?h.addListener(sf):h.addEventListener("change",sf)));return _&&s(l,function(y){return l.add(null,y)}),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(s){return s.kill(n,!0)})},o}(),Ya={registerPlugin:function(){for(var t=arguments.length,i=new Array(t),n=0;n1){var s=t.map(function(_){return jt.quickSetter(_,i,n)}),u=s.length;return function(_){for(var y=u;y--;)s[y](_)}}t=t[0]||{};var l=Tr[i],f=wi(t),h=f.harness&&(f.harness.aliases||{})[i]||i,d=l?function(_){var y=new l;Es._pt=0,y.init(t,n?_+n:_,Es,0,[t]),y.render(1,y),Es._pt&&Sf(1,Es)}:f.set(t,h);return l?d:function(_){return d(t,h,n?_+n:_,f,1)}},quickTo:function(t,i,n){var s,u=jt.to(t,Xr((s={},s[i]="+=0.1",s.paused=!0,s.stagger=0,s),n||{})),l=function(h,d,_){return u.resetTo(i,h,d,_)};return l.tween=u,l},isTweening:function(t){return lt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Yi(t.ease,As.ease)),Gp(As,t||{})},config:function(t){return Gp(Cr,t||{})},registerEffect:function(t){var i=t.name,n=t.effect,s=t.plugins,u=t.defaults,l=t.extendTimeline;(s||"").split(",").forEach(function(f){return f&&!Tr[f]&&!Yr[f]&&go(i+" effect requires "+f+" plugin.")}),ql[i]=function(f,h,d){return n(fn(f),Xr(h||{},u),d)},l&&(Yt.prototype[i]=function(f,h,d){return this.add(ql[i](f,Dn(h)?h:(d=h)&&{},this),d)})},registerEase:function(t,i){Oe[t]=Yi(i)},parseEase:function(t,i){return arguments.length?Yi(t,i):Oe},getById:function(t){return lt.getById(t)},exportRoot:function(t,i){t===void 0&&(t={});var n=new Yt(t),s,u;for(n.smoothChildTiming=Ar(t.smoothChildTiming),lt.remove(n),n._dp=0,n._time=n._tTime=lt._time,s=lt._first;s;)u=s._next,(i||!(!s._dur&&s instanceof xt&&s.vars.onComplete===s._targets[0]))&&Rn(n,s,s._start-s._delay),s=u;return Rn(lt,n,0),n},context:function(t,i){return t?new Od(t,i):st},matchMedia:function(t){return new ox(t)},matchMediaRefresh:function(){return Xi.forEach(function(t){var i=t.conditions,n,s;for(s in i)i[s]&&(i[s]=!1,n=1);n&&t.revert()})||sf()},addEventListener:function(t,i){var n=Ba[t]||(Ba[t]=[]);~n.indexOf(i)||n.push(i)},removeEventListener:function(t,i){var n=Ba[t],s=n&&n.indexOf(i);s>=0&&n.splice(s,1)},utils:{wrap:Hw,wrapYoyo:Bw,distribute:_d,random:md,snap:gd,normalize:Nw,getUnit:Gt,clamp:Dw,splitColor:xd,toArray:fn,selector:tf,mapRange:yd,pipe:kw,unitize:Fw,interpolate:Ww,shuffle:dd},install:nd,effects:ql,ticker:Er,updateRoot:Yt.updateRoot,plugins:Tr,globalTimeline:lt,core:{PropTween:cr,globals:id,Tween:xt,Timeline:Yt,Animation:yo,getCache:wi,_removeLinkedListItem:Va,reverting:function(){return Xt},context:function(t){return t&&st&&(st.data.push(t),t._ctx=st),st},suppressOverwrites:function(t){return of=t}}};fr("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ya[o]=xt[o]});Er.add(Yt.updateRoot);Es=Ya.to({},{duration:0});var ax=function(t,i){for(var n=t._pt;n&&n.p!==i&&n.op!==i&&n.fp!==i;)n=n._next;return n},ux=function(t,i){var n=t._targets,s,u,l;for(s in i)for(u=n.length;u--;)l=t._ptLookup[u][s],l&&(l=l.d)&&(l._pt&&(l=ax(l,s)),l&&l.modifier&&l.modifier(i[s],t,n[u],s))},Vl=function(t,i){return{name:t,headless:1,rawVars:1,init:function(s,u,l){l._onInit=function(f){var h,d;if(Rt(u)&&(h={},fr(u,function(_){return h[_]=1}),u=h),i){h={};for(d in u)h[d]=i(u[d]);u=h}ux(f,u)}}}},jt=Ya.registerPlugin({name:"attr",init:function(t,i,n,s,u){var l,f,h;this.tween=n;for(l in i)h=t.getAttribute(l)||"",f=this.add(t,"setAttribute",(h||0)+"",i[l],s,u,0,0,l),f.op=l,f.b=h,this._props.push(l)},render:function(t,i){for(var n=i._pt;n;)Xt?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",headless:1,init:function(t,i){for(var n=i.length;n--;)this.add(t,n,t[n]||0,i[n],0,0,0,0,0,1)}},Vl("roundProps",rf),Vl("modifiers"),Vl("snap",gd))||Ya;xt.version=Yt.version=jt.version="3.13.0";rd=1;af()&&Ps();var lx=Oe.Power0,fx=Oe.Power1,cx=Oe.Power2,hx=Oe.Power3,px=Oe.Power4,dx=Oe.Linear,_x=Oe.Quad,gx=Oe.Cubic,mx=Oe.Quart,vx=Oe.Quint,yx=Oe.Strong,bx=Oe.Elastic,wx=Oe.Back,xx=Oe.SteppedEase,Sx=Oe.Bounce,Tx=Oe.Sine,Ex=Oe.Expo,Ax=Oe.Circ;var Rd,Ti,Ds,Pf,Ji,Cx,Dd,Of,Lx=function(){return typeof window<"u"},ti={},Qi=180/Math.PI,Is=Math.PI/180,Rs=Math.atan2,Id=1e8,Rf=/([A-Z])/g,Mx=/(left|right|width|margin|padding|x)/i,Px=/[\s,\(]\S/,In={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Af=function(t,i){return i.set(i.t,i.p,Math.round((i.s+i.c*t)*1e4)/1e4+i.u,i)},Ox=function(t,i){return i.set(i.t,i.p,t===1?i.e:Math.round((i.s+i.c*t)*1e4)/1e4+i.u,i)},Rx=function(t,i){return i.set(i.t,i.p,t?Math.round((i.s+i.c*t)*1e4)/1e4+i.u:i.b,i)},Dx=function(t,i){var n=i.s+i.c*t;i.set(i.t,i.p,~~(n+(n<0?-.5:.5))+i.u,i)},qd=function(t,i){return i.set(i.t,i.p,t?i.e:i.b,i)},Ud=function(t,i){return i.set(i.t,i.p,t!==1?i.b:i.e,i)},Ix=function(t,i,n){return t.style[i]=n},kx=function(t,i,n){return t.style.setProperty(i,n)},Fx=function(t,i,n){return t._gsap[i]=n},Nx=function(t,i,n){return t._gsap.scaleX=t._gsap.scaleY=n},Hx=function(t,i,n,s,u){var l=t._gsap;l.scaleX=l.scaleY=n,l.renderTransform(u,l)},Bx=function(t,i,n,s,u){var l=t._gsap;l[i]=n,l.renderTransform(u,l)},ft="transform",Lr=ft+"Origin",Wx=function o(t,i){var n=this,s=this.target,u=s.style,l=s._gsap;if(t in ti&&u){if(this.tfm=this.tfm||{},t!=="transform")t=In[t]||t,~t.indexOf(",")?t.split(",").forEach(function(f){return n.tfm[f]=ei(s,f)}):this.tfm[t]=l.x?l[t]:ei(s,t),t===Lr&&(this.tfm.zOrigin=l.zOrigin);else return In.transform.split(",").forEach(function(f){return o.call(n,f,i)});if(this.props.indexOf(ft)>=0)return;l.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Lr,i,"")),t=ft}(u||i)&&this.props.push(t,i,u[t])},Yd=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},zx=function(){var t=this.props,i=this.target,n=i.style,s=i._gsap,u,l;for(u=0;u=0?kd[l]:"")+t},Lf=function(){Lx()&&window.document&&(Rd=window,Ti=Rd.document,Ds=Ti.documentElement,Ji=Cf("div")||{style:{}},Cx=Cf("div"),ft=ks(ft),Lr=ft+"Origin",Ji.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Gd=!!ks("perspective"),Of=jt.core.reverting,Pf=1)},Fd=function(t){var i=t.ownerSVGElement,n=Cf("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=t.cloneNode(!0),u;s.style.display="block",n.appendChild(s),Ds.appendChild(n);try{u=s.getBBox()}catch{}return n.removeChild(s),Ds.removeChild(n),u},Nd=function(t,i){for(var n=i.length;n--;)if(t.hasAttribute(i[n]))return t.getAttribute(i[n])},Vd=function(t){var i,n;try{i=t.getBBox()}catch{i=Fd(t),n=1}return i&&(i.width||i.height)||n||(i=Fd(t)),i&&!i.width&&!i.x&&!i.y?{x:+Nd(t,["x","cx","x1"])||0,y:+Nd(t,["y","cy","y1"])||0,width:0,height:0}:i},$d=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Vd(t))},ji=function(t,i){if(i){var n=t.style,s;i in ti&&i!==Lr&&(i=ft),n.removeProperty?(s=i.substr(0,2),(s==="ms"||i.substr(0,6)==="webkit")&&(i="-"+i),n.removeProperty(s==="--"?i:i.replace(Rf,"-$1").toLowerCase())):n.removeAttribute(i)}},Ei=function(t,i,n,s,u,l){var f=new cr(t._pt,i,n,0,1,l?Ud:qd);return t._pt=f,f.b=s,f.e=u,t._props.push(n),f},Hd={deg:1,rad:1,turn:1},qx={grid:1,flex:1},Ai=function o(t,i,n,s){var u=parseFloat(n)||0,l=(n+"").trim().substr((u+"").length)||"px",f=Ji.style,h=Mx.test(i),d=t.tagName.toLowerCase()==="svg",_=(d?"client":"offset")+(h?"Width":"Height"),y=100,w=s==="px",v=s==="%",S,b,E,D;if(s===l||!u||Hd[s]||Hd[l])return u;if(l!=="px"&&!w&&(u=o(t,i,n,"px")),D=t.getCTM&&$d(t),(v||l==="%")&&(ti[i]||~i.indexOf("adius")))return S=D?t.getBBox()[h?"width":"height"]:t[_],_t(v?u/S*y:u/100*S);if(f[h?"width":"height"]=y+(w?l:s),b=s!=="rem"&&~i.indexOf("adius")||s==="em"&&t.appendChild&&!d?t:t.parentNode,D&&(b=(t.ownerSVGElement||{}).parentNode),(!b||b===Ti||!b.appendChild)&&(b=Ti.body),E=b._gsap,E&&v&&E.width&&h&&E.time===Er.time&&!E.uncache)return _t(u/E.width*y);if(v&&(i==="height"||i==="width")){var M=t.style[i];t.style[i]=y+s,S=t[_],M?t.style[i]=M:ji(t,i)}else(v||l==="%")&&!qx[cn(b,"display")]&&(f.position=cn(t,"position")),b===t&&(f.position="static"),b.appendChild(Ji),S=Ji[_],b.removeChild(Ji),f.position="absolute";return h&&v&&(E=wi(b),E.time=Er.time,E.width=b[_]),_t(w?S*u/y:S&&u?y/S*u:0)},ei=function(t,i,n,s){var u;return Pf||Lf(),i in In&&i!=="transform"&&(i=In[i],~i.indexOf(",")&&(i=i.split(",")[0])),ti[i]&&i!=="transform"?(u=So(t,s),u=i!=="transformOrigin"?u[i]:u.svg?u.origin:Ja(cn(t,Lr))+" "+u.zOrigin+"px"):(u=t.style[i],(!u||u==="auto"||s||~(u+"").indexOf("calc("))&&(u=Qa[i]&&Qa[i](t,i,n)||cn(t,i)||df(t,i)||(i==="opacity"?1:0))),n&&!~(u+"").trim().indexOf(" ")?Ai(t,i,u,n)+n:u},Ux=function(t,i,n,s){if(!n||n==="none"){var u=ks(i,t,1),l=u&&cn(t,u,1);l&&l!==n?(i=u,n=l):i==="borderColor"&&(n=cn(t,"borderTopColor"))}var f=new cr(this._pt,t.style,i,0,1,xf),h=0,d=0,_,y,w,v,S,b,E,D,M,I,R,O;if(f.b=n,f.e=s,n+="",s+="",s.substring(0,6)==="var(--"&&(s=cn(t,s.substring(4,s.indexOf(")")))),s==="auto"&&(b=t.style[i],t.style[i]=s,s=cn(t,i)||s,b?t.style[i]=b:ji(t,i)),_=[n,s],gf(_),n=_[0],s=_[1],w=n.match(Gi)||[],O=s.match(Gi)||[],O.length){for(;y=Gi.exec(s);)E=y[0],M=s.substring(h,y.index),S?S=(S+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(S=1),E!==(b=w[d++]||"")&&(v=parseFloat(b)||0,R=b.substr((v+"").length),E.charAt(1)==="="&&(E=Vi(v,E)+R),D=parseFloat(E),I=E.substr((D+"").length),h=Gi.lastIndex-I.length,I||(I=I||Cr.units[i]||R,h===s.length&&(s+=I,f.e+=I)),R!==I&&(v=Ai(t,i,b,I)||0),f._pt={_next:f._pt,p:M||d===1?M:",",s:v,c:D-v,m:S&&S<4||i==="zIndex"?Math.round:0});f.c=h-1;)f=u[d],ti[f]&&(h=1,f=f==="transformOrigin"?Lr:ft),ji(n,f);h&&(ji(n,ft),l&&(l.svg&&n.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",So(n,1),l.uncache=1,Yd(s)))}},Qa={clearProps:function(t,i,n,s,u){if(u.data!=="isFromStart"){var l=t._pt=new cr(t._pt,i,n,0,0,Xx);return l.u=s,l.pr=-10,l.tween=u,t._props.push(n),1}}},xo=[1,0,0,1,0,0],Kd={},Zd=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Wd=function(t){var i=cn(t,ft);return Zd(i)?xo:i.substr(7).match(uf).map(_t)},Df=function(t,i){var n=t._gsap||wi(t),s=t.style,u=Wd(t),l,f,h,d;return n.svg&&t.getAttribute("transform")?(h=t.transform.baseVal.consolidate().matrix,u=[h.a,h.b,h.c,h.d,h.e,h.f],u.join(",")==="1,0,0,1,0,0"?xo:u):(u===xo&&!t.offsetParent&&t!==Ds&&!n.svg&&(h=s.display,s.display="block",l=t.parentNode,(!l||!t.offsetParent&&!t.getBoundingClientRect().width)&&(d=1,f=t.nextElementSibling,Ds.appendChild(t)),u=Wd(t),h?s.display=h:ji(t,"display"),d&&(f?l.insertBefore(t,f):l?l.appendChild(t):Ds.removeChild(t))),i&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Mf=function(t,i,n,s,u,l){var f=t._gsap,h=u||Df(t,!0),d=f.xOrigin||0,_=f.yOrigin||0,y=f.xOffset||0,w=f.yOffset||0,v=h[0],S=h[1],b=h[2],E=h[3],D=h[4],M=h[5],I=i.split(" "),R=parseFloat(I[0])||0,O=parseFloat(I[1])||0,P,k,H,W;n?h!==xo&&(k=v*E-S*b)&&(H=R*(E/k)+O*(-b/k)+(b*M-E*D)/k,W=R*(-S/k)+O*(v/k)-(v*M-S*D)/k,R=H,O=W):(P=Vd(t),R=P.x+(~I[0].indexOf("%")?R/100*P.width:R),O=P.y+(~(I[1]||I[0]).indexOf("%")?O/100*P.height:O)),s||s!==!1&&f.smooth?(D=R-d,M=O-_,f.xOffset=y+(D*v+M*b)-D,f.yOffset=w+(D*S+M*E)-M):f.xOffset=f.yOffset=0,f.xOrigin=R,f.yOrigin=O,f.smooth=!!s,f.origin=i,f.originIsAbsolute=!!n,t.style[Lr]="0px 0px",l&&(Ei(l,f,"xOrigin",d,R),Ei(l,f,"yOrigin",_,O),Ei(l,f,"xOffset",y,f.xOffset),Ei(l,f,"yOffset",w,f.yOffset)),t.setAttribute("data-svg-origin",R+" "+O)},So=function(t,i){var n=t._gsap||new mf(t);if("x"in n&&!i&&!n.uncache)return n;var s=t.style,u=n.scaleX<0,l="px",f="deg",h=getComputedStyle(t),d=cn(t,Lr)||"0",_,y,w,v,S,b,E,D,M,I,R,O,P,k,H,W,Y,oe,X,j,ce,ne,te,Q,he,ie,A,Ae,Be,Xe,Ie,Ct;return _=y=w=b=E=D=M=I=R=0,v=S=1,n.svg=!!(t.getCTM&&$d(t)),h.translate&&((h.translate!=="none"||h.scale!=="none"||h.rotate!=="none")&&(s[ft]=(h.translate!=="none"?"translate3d("+(h.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(h.rotate!=="none"?"rotate("+h.rotate+") ":"")+(h.scale!=="none"?"scale("+h.scale.split(" ").join(",")+") ":"")+(h[ft]!=="none"?h[ft]:"")),s.scale=s.rotate=s.translate="none"),k=Df(t,n.svg),n.svg&&(n.uncache?(he=t.getBBox(),d=n.xOrigin-he.x+"px "+(n.yOrigin-he.y)+"px",Q=""):Q=!i&&t.getAttribute("data-svg-origin"),Mf(t,Q||d,!!Q||n.originIsAbsolute,n.smooth!==!1,k)),O=n.xOrigin||0,P=n.yOrigin||0,k!==xo&&(oe=k[0],X=k[1],j=k[2],ce=k[3],_=ne=k[4],y=te=k[5],k.length===6?(v=Math.sqrt(oe*oe+X*X),S=Math.sqrt(ce*ce+j*j),b=oe||X?Rs(X,oe)*Qi:0,M=j||ce?Rs(j,ce)*Qi+b:0,M&&(S*=Math.abs(Math.cos(M*Is))),n.svg&&(_-=O-(O*oe+P*j),y-=P-(O*X+P*ce))):(Ct=k[6],Xe=k[7],A=k[8],Ae=k[9],Be=k[10],Ie=k[11],_=k[12],y=k[13],w=k[14],H=Rs(Ct,Be),E=H*Qi,H&&(W=Math.cos(-H),Y=Math.sin(-H),Q=ne*W+A*Y,he=te*W+Ae*Y,ie=Ct*W+Be*Y,A=ne*-Y+A*W,Ae=te*-Y+Ae*W,Be=Ct*-Y+Be*W,Ie=Xe*-Y+Ie*W,ne=Q,te=he,Ct=ie),H=Rs(-j,Be),D=H*Qi,H&&(W=Math.cos(-H),Y=Math.sin(-H),Q=oe*W-A*Y,he=X*W-Ae*Y,ie=j*W-Be*Y,Ie=ce*Y+Ie*W,oe=Q,X=he,j=ie),H=Rs(X,oe),b=H*Qi,H&&(W=Math.cos(H),Y=Math.sin(H),Q=oe*W+X*Y,he=ne*W+te*Y,X=X*W-oe*Y,te=te*W-ne*Y,oe=Q,ne=he),E&&Math.abs(E)+Math.abs(b)>359.9&&(E=b=0,D=180-D),v=_t(Math.sqrt(oe*oe+X*X+j*j)),S=_t(Math.sqrt(te*te+Ct*Ct)),H=Rs(ne,te),M=Math.abs(H)>2e-4?H*Qi:0,R=Ie?1/(Ie<0?-Ie:Ie):0),n.svg&&(Q=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Zd(cn(t,ft)),Q&&t.setAttribute("transform",Q))),Math.abs(M)>90&&Math.abs(M)<270&&(u?(v*=-1,M+=b<=0?180:-180,b+=b<=0?180:-180):(S*=-1,M+=M<=0?180:-180)),i=i||n.uncache,n.x=_-((n.xPercent=_&&(!i&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-_)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+l,n.y=y-((n.yPercent=y&&(!i&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-y)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+l,n.z=w+l,n.scaleX=_t(v),n.scaleY=_t(S),n.rotation=_t(b)+f,n.rotationX=_t(E)+f,n.rotationY=_t(D)+f,n.skewX=M+f,n.skewY=I+f,n.transformPerspective=R+l,(n.zOrigin=parseFloat(d.split(" ")[2])||!i&&n.zOrigin||0)&&(s[Lr]=Ja(d)),n.xOffset=n.yOffset=0,n.force3D=Cr.force3D,n.renderTransform=n.svg?Vx:Gd?Qd:Gx,n.uncache=0,n},Ja=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ef=function(t,i,n){var s=Gt(i);return _t(parseFloat(i)+parseFloat(Ai(t,"x",n+"px",s)))+s},Gx=function(t,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,Qd(t,i)},Ki="0deg",wo="0px",Zi=") ",Qd=function(t,i){var n=i||this,s=n.xPercent,u=n.yPercent,l=n.x,f=n.y,h=n.z,d=n.rotation,_=n.rotationY,y=n.rotationX,w=n.skewX,v=n.skewY,S=n.scaleX,b=n.scaleY,E=n.transformPerspective,D=n.force3D,M=n.target,I=n.zOrigin,R="",O=D==="auto"&&t&&t!==1||D===!0;if(I&&(y!==Ki||_!==Ki)){var P=parseFloat(_)*Is,k=Math.sin(P),H=Math.cos(P),W;P=parseFloat(y)*Is,W=Math.cos(P),l=Ef(M,l,k*W*-I),f=Ef(M,f,-Math.sin(P)*-I),h=Ef(M,h,H*W*-I+I)}E!==wo&&(R+="perspective("+E+Zi),(s||u)&&(R+="translate("+s+"%, "+u+"%) "),(O||l!==wo||f!==wo||h!==wo)&&(R+=h!==wo||O?"translate3d("+l+", "+f+", "+h+") ":"translate("+l+", "+f+Zi),d!==Ki&&(R+="rotate("+d+Zi),_!==Ki&&(R+="rotateY("+_+Zi),y!==Ki&&(R+="rotateX("+y+Zi),(w!==Ki||v!==Ki)&&(R+="skew("+w+", "+v+Zi),(S!==1||b!==1)&&(R+="scale("+S+", "+b+Zi),M.style[ft]=R||"translate(0, 0)"},Vx=function(t,i){var n=i||this,s=n.xPercent,u=n.yPercent,l=n.x,f=n.y,h=n.rotation,d=n.skewX,_=n.skewY,y=n.scaleX,w=n.scaleY,v=n.target,S=n.xOrigin,b=n.yOrigin,E=n.xOffset,D=n.yOffset,M=n.forceCSS,I=parseFloat(l),R=parseFloat(f),O,P,k,H,W;h=parseFloat(h),d=parseFloat(d),_=parseFloat(_),_&&(_=parseFloat(_),d+=_,h+=_),h||d?(h*=Is,d*=Is,O=Math.cos(h)*y,P=Math.sin(h)*y,k=Math.sin(h-d)*-w,H=Math.cos(h-d)*w,d&&(_*=Is,W=Math.tan(d-_),W=Math.sqrt(1+W*W),k*=W,H*=W,_&&(W=Math.tan(_),W=Math.sqrt(1+W*W),O*=W,P*=W)),O=_t(O),P=_t(P),k=_t(k),H=_t(H)):(O=y,H=w,P=k=0),(I&&!~(l+"").indexOf("px")||R&&!~(f+"").indexOf("px"))&&(I=Ai(v,"x",l,"px"),R=Ai(v,"y",f,"px")),(S||b||E||D)&&(I=_t(I+S-(S*O+b*k)+E),R=_t(R+b-(S*P+b*H)+D)),(s||u)&&(W=v.getBBox(),I=_t(I+s/100*W.width),R=_t(R+u/100*W.height)),W="matrix("+O+","+P+","+k+","+H+","+I+","+R+")",v.setAttribute("transform",W),M&&(v.style[ft]=W)},$x=function(t,i,n,s,u){var l=360,f=Rt(u),h=parseFloat(u)*(f&&~u.indexOf("rad")?Qi:1),d=h-s,_=s+d+"deg",y,w;return f&&(y=u.split("_")[1],y==="short"&&(d%=l,d!==d%(l/2)&&(d+=d<0?l:-l)),y==="cw"&&d<0?d=(d+l*Id)%l-~~(d/l)*l:y==="ccw"&&d>0&&(d=(d-l*Id)%l-~~(d/l)*l)),t._pt=w=new cr(t._pt,i,n,s,d,Ox),w.e=_,w.u="deg",t._props.push(n),w},zd=function(t,i){for(var n in i)t[n]=i[n];return t},Kx=function(t,i,n){var s=zd({},n._gsap),u="perspective,force3D,transformOrigin,svgOrigin",l=n.style,f,h,d,_,y,w,v,S;s.svg?(d=n.getAttribute("transform"),n.setAttribute("transform",""),l[ft]=i,f=So(n,1),ji(n,ft),n.setAttribute("transform",d)):(d=getComputedStyle(n)[ft],l[ft]=i,f=So(n,1),l[ft]=d);for(h in ti)d=s[h],_=f[h],d!==_&&u.indexOf(h)<0&&(v=Gt(d),S=Gt(_),y=v!==S?Ai(n,h,d,S):parseFloat(d),w=parseFloat(_),t._pt=new cr(t._pt,f,h,y,w-y,Af),t._pt.u=S||0,t._props.push(h));zd(f,s)};fr("padding,margin,Width,Radius",function(o,t){var i="Top",n="Right",s="Bottom",u="Left",l=(t<3?[i,n,s,u]:[i+u,i+n,s+n,s+u]).map(function(f){return t<2?o+f:"border"+f+o});Qa[t>1?"border"+o:o]=function(f,h,d,_,y){var w,v;if(arguments.length<4)return w=l.map(function(S){return ei(f,S,d)}),v=w.join(" "),v.split(w[0]).length===5?w[0]:v;w=(_+"").split(" "),v={},l.forEach(function(S,b){return v[S]=w[b]=w[b]||w[(b-1)/2|0]}),f.init(h,v,y)}});var If={name:"css",register:Lf,targetTest:function(t){return t.style&&t.nodeType},init:function(t,i,n,s,u){var l=this._props,f=t.style,h=n.vars.startAt,d,_,y,w,v,S,b,E,D,M,I,R,O,P,k,H;Pf||Lf(),this.styles=this.styles||Xd(t),H=this.styles.props,this.tween=n;for(b in i)if(b!=="autoRound"&&(_=i[b],!(Tr[b]&&yf(b,i,n,s,t,u)))){if(v=typeof _,S=Qa[b],v==="function"&&(_=_.call(n,s,t,u),v=typeof _),v==="string"&&~_.indexOf("random(")&&(_=Os(_)),S)S(this,t,b,_,n)&&(k=1);else if(b.substr(0,2)==="--")d=(getComputedStyle(t).getPropertyValue(b)+"").trim(),_+="",Jn.lastIndex=0,Jn.test(d)||(E=Gt(d),D=Gt(_)),D?E!==D&&(d=Ai(t,b,d,D)+D):E&&(_+=E),this.add(f,"setProperty",d,_,s,u,0,0,b),l.push(b),H.push(b,0,f[b]);else if(v!=="undefined"){if(h&&b in h?(d=typeof h[b]=="function"?h[b].call(n,s,t,u):h[b],Rt(d)&&~d.indexOf("random(")&&(d=Os(d)),Gt(d+"")||d==="auto"||(d+=Cr.units[b]||Gt(ei(t,b))||""),(d+"").charAt(1)==="="&&(d=ei(t,b))):d=ei(t,b),w=parseFloat(d),M=v==="string"&&_.charAt(1)==="="&&_.substr(0,2),M&&(_=_.substr(2)),y=parseFloat(_),b in In&&(b==="autoAlpha"&&(w===1&&ei(t,"visibility")==="hidden"&&y&&(w=0),H.push("visibility",0,f.visibility),Ei(this,f,"visibility",w?"inherit":"hidden",y?"inherit":"hidden",!y)),b!=="scale"&&b!=="transform"&&(b=In[b],~b.indexOf(",")&&(b=b.split(",")[0]))),I=b in ti,I){if(this.styles.save(b),v==="string"&&_.substring(0,6)==="var(--"&&(_=cn(t,_.substring(4,_.indexOf(")"))),y=parseFloat(_)),R||(O=t._gsap,O.renderTransform&&!i.parseTransform||So(t,i.parseTransform),P=i.smoothOrigin!==!1&&O.smooth,R=this._pt=new cr(this._pt,f,ft,0,1,O.renderTransform,O,0,-1),R.dep=1),b==="scale")this._pt=new cr(this._pt,O,"scaleY",O.scaleY,(M?Vi(O.scaleY,M+y):y)-O.scaleY||0,Af),this._pt.u=0,l.push("scaleY",b),b+="X";else if(b==="transformOrigin"){H.push(Lr,0,f[Lr]),_=Yx(_),O.svg?Mf(t,_,0,P,0,this):(D=parseFloat(_.split(" ")[2])||0,D!==O.zOrigin&&Ei(this,O,"zOrigin",O.zOrigin,D),Ei(this,f,b,Ja(d),Ja(_)));continue}else if(b==="svgOrigin"){Mf(t,_,1,P,0,this);continue}else if(b in Kd){$x(this,O,b,w,M?Vi(w,M+_):_);continue}else if(b==="smoothOrigin"){Ei(this,O,"smooth",O.smooth,_);continue}else if(b==="force3D"){O[b]=_;continue}else if(b==="transform"){Kx(this,_,t);continue}}else b in f||(b=ks(b)||b);if(I||(y||y===0)&&(w||w===0)&&!Px.test(_)&&b in f)E=(d+"").substr((w+"").length),y||(y=0),D=Gt(_)||(b in Cr.units?Cr.units[b]:E),E!==D&&(w=Ai(t,b,d,D)),this._pt=new cr(this._pt,I?O:f,b,w,(M?Vi(w,M+y):y)-w,!I&&(D==="px"||b==="zIndex")&&i.autoRound!==!1?Dx:Af),this._pt.u=D||0,E!==D&&D!=="%"&&(this._pt.b=d,this._pt.r=Rx);else if(b in f)Ux.call(this,t,b,d,M?M+_:_);else if(b in t)this.add(t,b,d||t[b],M?M+_:_,s,u);else if(b!=="parseTransform"){Ga(b,_);continue}I||(b in f?H.push(b,0,f[b]):typeof t[b]=="function"?H.push(b,2,t[b]()):H.push(b,1,d||t[b])),l.push(b)}}k&&Tf(this)},render:function(t,i){if(i.tween._time||!Of())for(var n=i._pt;n;)n.r(t,n.d),n=n._next;else i.styles.revert()},get:ei,aliases:In,getSetter:function(t,i,n){var s=In[i];return s&&s.indexOf(",")<0&&(i=s),i in ti&&i!==Lr&&(t._gsap.x||ei(t,"x"))?n&&Dd===n?i==="scale"?Nx:Fx:(Dd=n||{})&&(i==="scale"?Hx:Bx):t.style&&!Xa(t.style[i])?Ix:~i.indexOf("-")?kx:Za(t,i)},core:{_removeProperty:ji,_getMatrix:Df}};jt.utils.checkPrefix=ks;jt.core.getStyleSaver=Xd;(function(o,t,i,n){var s=fr(o+","+t+","+i,function(u){ti[u]=1});fr(t,function(u){Cr.units[u]="deg",Kd[u]=1}),In[s[13]]=o+","+t,fr(n,function(u){var l=u.split(":");In[l[1]]=s[l[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");fr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){Cr.units[o]="px"});jt.registerPlugin(If);var je=jt.registerPlugin(If)||jt,ZS=je.core.Tween;function Jd(o,t){for(var i=0;ih?(u=s,s=S,f=l,l=E):n?s+=S:s=u+(S-u)/(E-f)*(l-f)},y=function(){u=s=n?0:s,f=l=0},w=function(S){var b=f,E=u,D=Ao();return(S||S===0)&&S!==s&&_(S),l===f||D-f>d?0:(s+(n?E:-E))/((n?D:l)-b)*1e3};return{update:_,reset:y,getVelocity:w}},To=function(t,i){return i&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},jd=function(t){var i=Math.max.apply(Math,t),n=Math.min.apply(Math,t);return Math.abs(i)>=Math.abs(n)?i:n},s_=function(){Eo=Vt.core.globals().ScrollTrigger,Eo&&Eo.core&&Jx()},o_=function(t){return Vt=t||n_(),!tu&&Vt&&typeof document<"u"&&document.body&&(Gr=window,Ci=document,Li=Ci.documentElement,Ns=Ci.body,t_=[Gr,Ci,Li,Ns],Qx=Vt.utils.clamp,r_=Vt.core.context||function(){},es="onpointerenter"in Ns?"pointer":"mouse",e_=gt.isTouch=Gr.matchMedia&&Gr.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Gr||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,xn=gt.eventTypes=("ontouchstart"in Li?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Li?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return i_=0},500),s_(),tu=1),tu};er.op=Et;Se.cache=0;var gt=function(){function o(i){this.init(i)}var t=o.prototype;return t.init=function(n){tu||o_(Vt)||console.warn("Please gsap.registerPlugin(Observer)"),Eo||s_();var s=n.tolerance,u=n.dragMinimum,l=n.type,f=n.target,h=n.lineHeight,d=n.debounce,_=n.preventDefault,y=n.onStop,w=n.onStopDelay,v=n.ignore,S=n.wheelSpeed,b=n.event,E=n.onDragStart,D=n.onDragEnd,M=n.onDrag,I=n.onPress,R=n.onRelease,O=n.onRight,P=n.onLeft,k=n.onUp,H=n.onDown,W=n.onChangeX,Y=n.onChangeY,oe=n.onChange,X=n.onToggleX,j=n.onToggleY,ce=n.onHover,ne=n.onHoverEnd,te=n.onMove,Q=n.ignoreCheck,he=n.isNormalizer,ie=n.onGestureStart,A=n.onGestureEnd,Ae=n.onWheel,Be=n.onEnable,Xe=n.onDisable,Ie=n.onClick,Ct=n.scrollSpeed,ct=n.capture,Ge=n.allowClicks,qt=n.lockAxis,mt=n.onLockAxis;this.target=f=dr(f)||Li,this.vars=n,v&&(v=Vt.utils.toArray(v)),s=s||1e-9,u=u||0,S=S||1,Ct=Ct||1,l=l||"wheel,touch,pointer",d=d!==!1,h||(h=parseFloat(Gr.getComputedStyle(Ns).lineHeight)||22);var Mr,It,Ve,we,ot,et,$t,N=this,Lt=0,vt=0,vr=n.passive||!_&&n.passive!==!1,We=ni(f,er),_n=ni(f,Et),yr=We(),Nn=_n(),tt=~l.indexOf("touch")&&!~l.indexOf("pointer")&&xn[0]==="pointerdown",ir=Co(f),Ze=f.ownerDocument||Ci,sr=[0,0,0],Kt=[0,0,0],Pr=0,Hn=function(){return Pr=Ao()},rt=function(se,Re){return(N.event=se)&&v&&jx(se.target,v)||Re&&tt&&se.pointerType!=="touch"||Q&&Q(se,Re)},ai=function(){N._vx.reset(),N._vy.reset(),It.pause(),y&&y(N)},Or=function(){var se=N.deltaX=jd(sr),Re=N.deltaY=jd(Kt),G=Math.abs(se)>=s,pe=Math.abs(Re)>=s;oe&&(G||pe)&&oe(N,se,Re,sr,Kt),G&&(O&&N.deltaX>0&&O(N),P&&N.deltaX<0&&P(N),W&&W(N),X&&N.deltaX<0!=Lt<0&&X(N),Lt=N.deltaX,sr[0]=sr[1]=sr[2]=0),pe&&(H&&N.deltaY>0&&H(N),k&&N.deltaY<0&&k(N),Y&&Y(N),j&&N.deltaY<0!=vt<0&&j(N),vt=N.deltaY,Kt[0]=Kt[1]=Kt[2]=0),(we||Ve)&&(te&&te(N),Ve&&(E&&Ve===1&&E(N),M&&M(N),Ve=0),we=!1),et&&!(et=!1)&&mt&&mt(N),ot&&(Ae(N),ot=!1),Mr=0},En=function(se,Re,G){sr[G]+=se,Kt[G]+=Re,N._vx.update(se),N._vy.update(Re),d?Mr||(Mr=requestAnimationFrame(Or)):Or()},ui=function(se,Re){qt&&!$t&&(N.axis=$t=Math.abs(se)>Math.abs(Re)?"x":"y",et=!0),$t!=="y"&&(sr[2]+=se,N._vx.update(se,!0)),$t!=="x"&&(Kt[2]+=Re,N._vy.update(Re,!0)),d?Mr||(Mr=requestAnimationFrame(Or)):Or()},An=function(se){if(!rt(se,1)){se=To(se,_);var Re=se.clientX,G=se.clientY,pe=Re-N.x,re=G-N.y,de=N.isDragging;N.x=Re,N.y=G,(de||(pe||re)&&(Math.abs(N.startX-Re)>=u||Math.abs(N.startY-G)>=u))&&(Ve=de?2:1,de||(N.isDragging=!0),ui(pe,re))}},Bn=N.onPress=function(_e){rt(_e,1)||_e&&_e.button||(N.axis=$t=null,It.pause(),N.isPressed=!0,_e=To(_e),Lt=vt=0,N.startX=N.x=_e.clientX,N.startY=N.y=_e.clientY,N._vx.reset(),N._vy.reset(),pr(he?f:Ze,xn[1],An,vr,!0),N.deltaX=N.deltaY=0,I&&I(N))},ye=N.onRelease=function(_e){if(!rt(_e,1)){hr(he?f:Ze,xn[1],An,!0);var se=!isNaN(N.y-N.startY),Re=N.isDragging,G=Re&&(Math.abs(N.x-N.startX)>3||Math.abs(N.y-N.startY)>3),pe=To(_e);!G&&se&&(N._vx.reset(),N._vy.reset(),_&&Ge&&Vt.delayedCall(.08,function(){if(Ao()-Pr>300&&!_e.defaultPrevented){if(_e.target.click)_e.target.click();else if(Ze.createEvent){var re=Ze.createEvent("MouseEvents");re.initMouseEvent("click",!0,!0,Gr,1,pe.screenX,pe.screenY,pe.clientX,pe.clientY,!1,!1,!1,!1,0,null),_e.target.dispatchEvent(re)}}})),N.isDragging=N.isGesturing=N.isPressed=!1,y&&Re&&!he&&It.restart(!0),Ve&&Or(),D&&Re&&D(N),R&&R(N,G)}},Cn=function(se){return se.touches&&se.touches.length>1&&(N.isGesturing=!0)&&ie(se,N.isDragging)},Rr=function(){return(N.isGesturing=!1)||A(N)},Dr=function(se){if(!rt(se)){var Re=We(),G=_n();En((Re-yr)*Ct,(G-Nn)*Ct,1),yr=Re,Nn=G,y&&It.restart(!0)}},Ir=function(se){if(!rt(se)){se=To(se,_),Ae&&(ot=!0);var Re=(se.deltaMode===1?h:se.deltaMode===2?Gr.innerHeight:1)*S;En(se.deltaX*Re,se.deltaY*Re,0),y&&!he&&It.restart(!0)}},Wn=function(se){if(!rt(se)){var Re=se.clientX,G=se.clientY,pe=Re-N.x,re=G-N.y;N.x=Re,N.y=G,we=!0,y&&It.restart(!0),(pe||re)&&ui(pe,re)}},zn=function(se){N.event=se,ce(N)},gn=function(se){N.event=se,ne(N)},Oi=function(se){return rt(se)||To(se,_)&&Ie(N)};It=N._dc=Vt.delayedCall(w||.25,ai).pause(),N.deltaX=N.deltaY=0,N._vx=nu(0,50,!0),N._vy=nu(0,50,!0),N.scrollX=We,N.scrollY=_n,N.isDragging=N.isGesturing=N.isPressed=!1,r_(this),N.enable=function(_e){return N.isEnabled||(pr(ir?Ze:f,"scroll",Ff),l.indexOf("scroll")>=0&&pr(ir?Ze:f,"scroll",Dr,vr,ct),l.indexOf("wheel")>=0&&pr(f,"wheel",Ir,vr,ct),(l.indexOf("touch")>=0&&e_||l.indexOf("pointer")>=0)&&(pr(f,xn[0],Bn,vr,ct),pr(Ze,xn[2],ye),pr(Ze,xn[3],ye),Ge&&pr(f,"click",Hn,!0,!0),Ie&&pr(f,"click",Oi),ie&&pr(Ze,"gesturestart",Cn),A&&pr(Ze,"gestureend",Rr),ce&&pr(f,es+"enter",zn),ne&&pr(f,es+"leave",gn),te&&pr(f,es+"move",Wn)),N.isEnabled=!0,N.isDragging=N.isGesturing=N.isPressed=we=Ve=!1,N._vx.reset(),N._vy.reset(),yr=We(),Nn=_n(),_e&&_e.type&&Bn(_e),Be&&Be(N)),N},N.disable=function(){N.isEnabled&&(Fs.filter(function(_e){return _e!==N&&Co(_e.target)}).length||hr(ir?Ze:f,"scroll",Ff),N.isPressed&&(N._vx.reset(),N._vy.reset(),hr(he?f:Ze,xn[1],An,!0)),hr(ir?Ze:f,"scroll",Dr,ct),hr(f,"wheel",Ir,ct),hr(f,xn[0],Bn,ct),hr(Ze,xn[2],ye),hr(Ze,xn[3],ye),hr(f,"click",Hn,!0),hr(f,"click",Oi),hr(Ze,"gesturestart",Cn),hr(Ze,"gestureend",Rr),hr(f,es+"enter",zn),hr(f,es+"leave",gn),hr(f,es+"move",Wn),N.isEnabled=N.isPressed=N.isDragging=!1,Xe&&Xe(N))},N.kill=N.revert=function(){N.disable();var _e=Fs.indexOf(N);_e>=0&&Fs.splice(_e,1),ri===N&&(ri=0)},Fs.push(N),he&&Co(f)&&(ri=N),N.enable(b)},Zx(o,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),o}();gt.version="3.13.0";gt.create=function(o){return new gt(o)};gt.register=o_;gt.getAll=function(){return Fs.slice()};gt.getById=function(o){return Fs.filter(function(t){return t.vars.id===o})[0]};n_()&&Vt.registerPlugin(gt);var Z,Ws,Ee,Ke,Kr,Fe,Qf,yu,Wo,Io,Mo,iu,tr,Su,Yf,gr,a_,u_,zs,T_,Nf,E_,_r,Xf,A_,C_,Mi,Gf,Jf,qs,jf,bu,Vf,Hf,su=1,rr=Date.now,Bf=rr(),dn=0,Po=0,l_=function(t,i,n){var s=$r(t)&&(t.substr(0,6)==="clamp("||t.indexOf("max")>-1);return n["_"+i+"Clamp"]=s,s?t.substr(6,t.length-7):t},f_=function(t,i){return i&&(!$r(t)||t.substr(0,6)!=="clamp(")?"clamp("+t+")":t},eS=function o(){return Po&&requestAnimationFrame(o)},c_=function(){return Su=1},h_=function(){return Su=0},kn=function(t){return t},Oo=function(t){return Math.round(t*1e5)/1e5||0},L_=function(){return typeof window<"u"},M_=function(){return Z||L_()&&(Z=window.gsap)&&Z.registerPlugin&&Z},os=function(t){return!!~Qf.indexOf(t)},P_=function(t){return(t==="Height"?jf:Ee["inner"+t])||Kr["client"+t]||Fe["client"+t]},O_=function(t){return ii(t,"getBoundingClientRect")||(os(t)?function(){return vu.width=Ee.innerWidth,vu.height=jf,vu}:function(){return si(t)})},tS=function(t,i,n){var s=n.d,u=n.d2,l=n.a;return(l=ii(t,"getBoundingClientRect"))?function(){return l()[s]}:function(){return(i?P_(u):t["client"+u])||0}},rS=function(t,i){return!i||~Sn.indexOf(t)?O_(t):function(){return vu}},Fn=function(t,i){var n=i.s,s=i.d2,u=i.d,l=i.a;return Math.max(0,(n="scroll"+s)&&(l=ii(t,n))?l()-O_(t)()[u]:os(t)?(Kr[n]||Fe[n])-P_(s):t[n]-t["offset"+s])},ou=function(t,i){for(var n=0;n0){for(s-=l,f=0;f=s)return n[f];return n[f-1]}else for(f=n.length,s+=l;f--;)if(n[f]<=s)return n[f];return n[0]}:function(s,u,l){l===void 0&&(l=.001);var f=i(s);return!u||Math.abs(f-s)n&&(s*=i/100),t=t.substr(0,n-1)),t=s+(t in xu?xu[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0)}return t},fu=function(t,i,n,s,u,l,f,h){var d=u.startColor,_=u.endColor,y=u.fontSize,w=u.indent,v=u.fontWeight,S=Ke.createElement("div"),b=os(n)||ii(n,"pinType")==="fixed",E=t.indexOf("scroller")!==-1,D=b?Fe:n,M=t.indexOf("start")!==-1,I=M?d:_,R="border-color:"+I+";font-size:"+y+";color:"+I+";font-weight:"+v+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return R+="position:"+((E||h)&&b?"fixed;":"absolute;"),(E||h||!b)&&(R+=(s===Et?ec:tc)+":"+(l+parseFloat(w))+"px;"),f&&(R+="box-sizing:border-box;text-align:left;width:"+f.offsetWidth+"px;"),S._isStart=M,S.setAttribute("class","gsap-marker-"+t+(i?" marker-"+i:"")),S.style.cssText=R,S.innerText=i||i===0?t+"-"+i:t,D.children[0]?D.insertBefore(S,D.children[0]):D.appendChild(S),S._offset=S["offset"+s.op.d2],_u(S,0,s,M),S},_u=function(t,i,n,s){var u={display:"block"},l=n[s?"os2":"p2"],f=n[s?"p2":"os2"];t._isFlipped=s,u[n.a+"Percent"]=s?-100:0,u[n.a]=s?"1px":0,u["border"+l+Ys]=1,u["border"+f+Ys]=0,u[n.p]=i+"px",Z.set(t,u)},Te=[],$f={},zo,__=function(){return rr()-dn>34&&(zo||(zo=requestAnimationFrame(oi)))},Bs=function(){(!_r||!_r.isPressed||_r.startX>Fe.clientWidth)&&(Se.cache++,_r?zo||(zo=requestAnimationFrame(oi)):oi(),dn||us("scrollStart"),dn=rr())},zf=function(){C_=Ee.innerWidth,A_=Ee.innerHeight},Do=function(t){Se.cache++,(t===!0||!tr&&!E_&&!Ke.fullscreenElement&&!Ke.webkitFullscreenElement&&(!Xf||C_!==Ee.innerWidth||Math.abs(Ee.innerHeight-A_)>Ee.innerHeight*.25))&&yu.restart(!0)},as={},oS=[],k_=function o(){return Wt(fe,"scrollEnd",o)||rs(!0)},us=function(t){return as[t]&&as[t].map(function(i){return i()})||oS},Vr=[],F_=function(t){for(var i=0;iu,f=s._startClamp&&s.start>=u;(l||f)&&s.setPositions(f?u-1:s.start,l?Math.max(f?u:s.start+1,u):s.end,!0)}),m_(!1),Vf=0,n.forEach(function(s){return s&&s.render&&s.render(-1)}),Se.forEach(function(s){nr(s)&&(s.smooth&&requestAnimationFrame(function(){return s.target.style.scrollBehavior="smooth"}),s.rec&&s(s.rec))}),N_(Jf,1),yu.pause(),ss++,mr=2,oi(2),Te.forEach(function(s){return nr(s.vars.onRefresh)&&s.vars.onRefresh(s)}),mr=fe.isRefreshing=!1,us("refresh")},Kf=0,gu=1,Bo,oi=function(t){if(t===2||!mr&&!bu){fe.isUpdating=!0,Bo&&Bo.update(0);var i=Te.length,n=rr(),s=n-Bf>=50,u=i&&Te[0].scroll();if(gu=Kf>u?-1:1,mr||(Kf=u),s&&(dn&&!Su&&n-dn>200&&(dn=0,us("scrollEnd")),Mo=Bf,Bf=n),gu<0){for(gr=i;gr-- >0;)Te[gr]&&Te[gr].update(0,s);gu=1}else for(gr=0;gr20),n-=n-P}if(S&&(h[S]=t||-.001,t<0&&(t=0)),l){var H=t+n,W=l._isStart;E="scroll"+s.d2,_u(l,H,s,W&&H>20||!W&&(y?Math.max(Fe[E],Kr[E]):l.parentNode[E])<=H+1),y&&(d=si(f),y&&(l.style[s.op.p]=d[s.op.p]-s.op.m-l._offset+Dt))}return v&&M&&(E=si(M),v.seek(w),D=si(M),v._caScrollDist=E[s.p]-D[s.p],t=t/v._caScrollDist*w),v&&v.seek(b),v?t:Math.round(t)},cS=/(webkit|moz|length|cssText|inset)/i,y_=function(t,i,n,s){if(t.parentNode!==i){var u=t.style,l,f;if(i===Fe){t._stOrig=u.cssText,f=pn(t);for(l in f)!+l&&!cS.test(l)&&f[l]&&typeof u[l]=="string"&&l!=="0"&&(u[l]=f[l]);u.top=n,u.left=s}else u.cssText=t._stOrig;Z.core.getCache(t).uncache=1,i.appendChild(t)}},B_=function(t,i,n){var s=i,u=s;return function(l){var f=Math.round(t());return f!==s&&f!==u&&Math.abs(f-s)>3&&Math.abs(f-u)>3&&(l=f,n&&n()),u=s,s=Math.round(l),s}},hu=function(t,i,n){var s={};s[i.p]="+="+n,Z.set(t,s)},b_=function(t,i){var n=ni(t,i),s="_scroll"+i.p2,u=function l(f,h,d,_,y){var w=l.tween,v=h.onComplete,S={};d=d||n();var b=B_(n,d,function(){w.kill(),l.tween=0});return y=_&&y||0,_=_||f-d,w&&w.kill(),h[s]=f,h.inherit=!1,h.modifiers=S,S[s]=function(){return b(d+_*w.ratio+y*w.ratio*w.ratio)},h.onUpdate=function(){Se.cache++,l.tween&&oi()},h.onComplete=function(){l.tween=0,v&&v.call(w)},w=l.tween=Z.to(t,h),w};return t[s]=n,n.wheelHandler=function(){return u.tween&&u.tween.kill()&&(u.tween=0)},zt(t,"wheel",n.wheelHandler),fe.isTouch&&zt(t,"touchmove",n.wheelHandler),u},fe=function(){function o(i,n){Ws||o.register(Z)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Gf(this),this.init(i,n)}var t=o.prototype;return t.init=function(n,s){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Po){this.update=this.refresh=this.kill=kn;return}n=p_($r(n)||Ro(n)||n.nodeType?{trigger:n}:n,lu);var u=n,l=u.onUpdate,f=u.toggleClass,h=u.id,d=u.onToggle,_=u.onRefresh,y=u.scrub,w=u.trigger,v=u.pin,S=u.pinSpacing,b=u.invalidateOnRefresh,E=u.anticipatePin,D=u.onScrubComplete,M=u.onSnapComplete,I=u.once,R=u.snap,O=u.pinReparent,P=u.pinSpacer,k=u.containerAnimation,H=u.fastScrollEnd,W=u.preventOverlaps,Y=n.horizontal||n.containerAnimation&&n.horizontal!==!1?er:Et,oe=!y&&y!==0,X=dr(n.scroller||Ee),j=Z.core.getCache(X),ce=os(X),ne=("pinType"in n?n.pinType:ii(X,"pinType")||ce&&"fixed")==="fixed",te=[n.onEnter,n.onLeave,n.onEnterBack,n.onLeaveBack],Q=oe&&n.toggleActions.split(" "),he="markers"in n?n.markers:lu.markers,ie=ce?0:parseFloat(pn(X)["border"+Y.p2+Ys])||0,A=this,Ae=n.onRefreshInit&&function(){return n.onRefreshInit(A)},Be=tS(X,ce,Y),Xe=rS(X,ce),Ie=0,Ct=0,ct=0,Ge=ni(X,Y),qt,mt,Mr,It,Ve,we,ot,et,$t,N,Lt,vt,vr,We,_n,yr,Nn,tt,ir,Ze,sr,Kt,Pr,Hn,rt,ai,Or,En,ui,An,Bn,ye,Cn,Rr,Dr,Ir,Wn,zn,gn;if(A._startClamp=A._endClamp=!1,A._dir=Y,E*=45,A.scroller=X,A.scroll=k?k.time.bind(k):Ge,It=Ge(),A.vars=n,s=s||n.animation,"refreshPriority"in n&&(T_=1,n.refreshPriority===-9999&&(Bo=A)),j.tweenScroll=j.tweenScroll||{top:b_(X,Et),left:b_(X,er)},A.tweenTo=qt=j.tweenScroll[Y.p],A.scrubDuration=function(G){Cn=Ro(G)&&G,Cn?ye?ye.duration(G):ye=Z.to(s,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Cn,paused:!0,onComplete:function(){return D&&D(A)}}):(ye&&ye.progress(1).kill(),ye=0)},s&&(s.vars.lazy=!1,s._initted&&!A.isReverted||s.vars.immediateRender!==!1&&n.immediateRender!==!1&&s.duration()&&s.render(0,!0,!0),A.animation=s.pause(),s.scrollTrigger=A,A.scrubDuration(y),An=0,h||(h=s.vars.id)),R&&((!ts(R)||R.push)&&(R={snapTo:R}),"scrollBehavior"in Fe.style&&Z.set(ce?[Fe,Kr]:X,{scrollBehavior:"auto"}),Se.forEach(function(G){return nr(G)&&G.target===(ce?Ke.scrollingElement||Kr:X)&&(G.smooth=!1)}),Mr=nr(R.snapTo)?R.snapTo:R.snapTo==="labels"?iS(s):R.snapTo==="labelsDirectional"?sS(s):R.directional!==!1?function(G,pe){return nc(R.snapTo)(G,rr()-Ct<500?0:pe.direction)}:Z.utils.snap(R.snapTo),Rr=R.duration||{min:.1,max:2},Rr=ts(Rr)?Io(Rr.min,Rr.max):Io(Rr,Rr),Dr=Z.delayedCall(R.delay||Cn/2||.1,function(){var G=Ge(),pe=rr()-Ct<500,re=qt.tween;if((pe||Math.abs(A.getVelocity())<10)&&!re&&!Su&&Ie!==G){var de=(G-we)/We,St=s&&!oe?s.totalProgress():de,Ce=pe?0:(St-Bn)/(rr()-Mo)*1e3||0,at=Z.utils.clamp(-de,1-de,Hs(Ce/2)*Ce/.185),kt=de+(R.inertia===!1?0:at),nt,ze,Ne=R,kr=Ne.onStart,Qe=Ne.onInterrupt,or=Ne.onComplete;if(nt=Mr(kt,A),Ro(nt)||(nt=kt),ze=Math.max(0,Math.round(we+nt*We)),G<=ot&&G>=we&&ze!==G){if(re&&!re._initted&&re.data<=Hs(ze-G))return;R.inertia===!1&&(at=nt-de),qt(ze,{duration:Rr(Hs(Math.max(Hs(kt-St),Hs(nt-St))*.185/Ce/.05||0)),ease:R.ease||"power3",data:Hs(ze-G),onInterrupt:function(){return Dr.restart(!0)&&Qe&&Qe(A)},onComplete:function(){A.update(),Ie=Ge(),s&&!oe&&(ye?ye.resetTo("totalProgress",nt,s._tTime/s._tDur):s.progress(nt)),An=Bn=s&&!oe?s.totalProgress():A.progress,M&&M(A),or&&or(A)}},G,at*We,ze-G-at*We),kr&&kr(A,qt.tween)}}else A.isActive&&Ie!==G&&Dr.restart(!0)}).pause()),h&&($f[h]=A),w=A.trigger=dr(w||v!==!0&&v),gn=w&&w._gsap&&w._gsap.stRevert,gn&&(gn=gn(A)),v=v===!0?w:dr(v),$r(f)&&(f={targets:w,className:f}),v&&(S===!1||S===hn||(S=!S&&v.parentNode&&v.parentNode.style&&pn(v.parentNode).display==="flex"?!1:At),A.pin=v,mt=Z.core.getCache(v),mt.spacer?_n=mt.pinState:(P&&(P=dr(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),mt.spacerIsNative=!!P,P&&(mt.spacerState=cu(P))),mt.spacer=tt=P||Ke.createElement("div"),tt.classList.add("pin-spacer"),h&&tt.classList.add("pin-spacer-"+h),mt.pinState=_n=cu(v)),n.force3D!==!1&&Z.set(v,{force3D:!0}),A.spacer=tt=mt.spacer,ui=pn(v),Hn=ui[S+Y.os2],Ze=Z.getProperty(v),sr=Z.quickSetter(v,Y.a,Dt),qf(v,tt,ui),Nn=cu(v)),he){vt=ts(he)?p_(he,d_):d_,N=fu("scroller-start",h,X,Y,vt,0),Lt=fu("scroller-end",h,X,Y,vt,0,N),ir=N["offset"+Y.op.d2];var Oi=dr(ii(X,"content")||X);et=this.markerStart=fu("start",h,Oi,Y,vt,ir,0,k),$t=this.markerEnd=fu("end",h,Oi,Y,vt,ir,0,k),k&&(zn=Z.quickSetter([et,$t],Y.a,Dt)),!ne&&!(Sn.length&&ii(X,"fixedMarkers")===!0)&&(nS(ce?Fe:X),Z.set([N,Lt],{force3D:!0}),ai=Z.quickSetter(N,Y.a,Dt),En=Z.quickSetter(Lt,Y.a,Dt))}if(k){var _e=k.vars.onUpdate,se=k.vars.onUpdateParams;k.eventCallback("onUpdate",function(){A.update(0,0,1),_e&&_e.apply(k,se||[])})}if(A.previous=function(){return Te[Te.indexOf(A)-1]},A.next=function(){return Te[Te.indexOf(A)+1]},A.revert=function(G,pe){if(!pe)return A.kill(!0);var re=G!==!1||!A.enabled,de=tr;re!==A.isReverted&&(re&&(Ir=Math.max(Ge(),A.scroll.rec||0),ct=A.progress,Wn=s&&s.progress()),et&&[et,$t,N,Lt].forEach(function(St){return St.style.display=re?"none":"block"}),re&&(tr=A,A.update(re)),v&&(!O||!A.isActive)&&(re?uS(v,tt,_n):qf(v,tt,pn(v),rt)),re||A.update(re),tr=de,A.isReverted=re)},A.refresh=function(G,pe,re,de){if(!((tr||!A.enabled)&&!pe)){if(v&&G&&dn){zt(o,"scrollEnd",k_);return}!mr&&Ae&&Ae(A),tr=A,qt.tween&&!re&&(qt.tween.kill(),qt.tween=0),ye&&ye.pause(),b&&s&&(s.revert({kill:!1}).invalidate(),s.getChildren&&s.getChildren(!0,!0,!1).forEach(function(mn){return mn.vars.immediateRender&&mn.render(0,!0,!0)})),A.isReverted||A.revert(!0,!0),A._subPinOffset=!1;var St=Be(),Ce=Xe(),at=k?k.duration():Fn(X,Y),kt=We<=.01||!We,nt=0,ze=de||0,Ne=ts(re)?re.end:n.end,kr=n.endTrigger||w,Qe=ts(re)?re.start:n.start||(n.start===0||!w?0:v?"0 0":"0 100%"),or=A.pinnedContainer=n.pinnedContainer&&dr(n.pinnedContainer,A),Zr=w&&Math.max(0,Te.indexOf(A))||0,Mt=Zr,ht,Ft,Qr,ls,Nt,yt,Fr,fs,$s,Ri,Jr,Di,cs;for(he&&ts(re)&&(Di=Z.getProperty(N,Y.p),cs=Z.getProperty(Lt,Y.p));Mt-- >0;)yt=Te[Mt],yt.end||yt.refresh(0,1)||(tr=A),Fr=yt.pin,Fr&&(Fr===w||Fr===v||Fr===or)&&!yt.isReverted&&(Ri||(Ri=[]),Ri.unshift(yt),yt.revert(!0,!0)),yt!==Te[Mt]&&(Zr--,Mt--);for(nr(Qe)&&(Qe=Qe(A)),Qe=l_(Qe,"start",A),we=v_(Qe,w,St,Y,Ge(),et,N,A,Ce,ie,ne,at,k,A._startClamp&&"_startClamp")||(v?-.001:0),nr(Ne)&&(Ne=Ne(A)),$r(Ne)&&!Ne.indexOf("+=")&&(~Ne.indexOf(" ")?Ne=($r(Qe)?Qe.split(" ")[0]:"")+Ne:(nt=du(Ne.substr(2),St),Ne=$r(Qe)?Qe:(k?Z.utils.mapRange(0,k.duration(),k.scrollTrigger.start,k.scrollTrigger.end,we):we)+nt,kr=w)),Ne=l_(Ne,"end",A),ot=Math.max(we,v_(Ne||(kr?"100% 0":at),kr,St,Y,Ge()+nt,$t,Lt,A,Ce,ie,ne,at,k,A._endClamp&&"_endClamp"))||-.001,nt=0,Mt=Zr;Mt--;)yt=Te[Mt],Fr=yt.pin,Fr&&yt.start-yt._pinPush<=we&&!k&&yt.end>0&&(ht=yt.end-(A._startClamp?Math.max(0,yt.start):yt.start),(Fr===w&&yt.start-yt._pinPush=Fn(X,Y)))ht=pn(v),ls=Y===Et,Qr=Ge(),Kt=parseFloat(Ze(Y.a))+ze,!at&&ot>1&&(Jr=(ce?Ke.scrollingElement||Kr:X).style,Jr={style:Jr,value:Jr["overflow"+Y.a.toUpperCase()]},ce&&pn(Fe)["overflow"+Y.a.toUpperCase()]!=="scroll"&&(Jr.style["overflow"+Y.a.toUpperCase()]="scroll")),qf(v,tt,ht),Nn=cu(v),Ft=si(v,!0),fs=ne&&ni(X,ls?er:Et)(),S?(rt=[S+Y.os2,We+ze+Dt],rt.t=tt,Mt=S===At?wu(v,Y)+We+ze:0,Mt&&(rt.push(Y.d,Mt+Dt),tt.style.flexBasis!=="auto"&&(tt.style.flexBasis=Mt+Dt)),Us(rt),or&&Te.forEach(function(mn){mn.pin===or&&mn.vars.pinSpacing!==!1&&(mn._subPinOffset=!0)}),ne&&Ge(Ir)):(Mt=wu(v,Y),Mt&&tt.style.flexBasis!=="auto"&&(tt.style.flexBasis=Mt+Dt)),ne&&(Nt={top:Ft.top+(ls?Qr-we:fs)+Dt,left:Ft.left+(ls?fs:Qr-we)+Dt,boxSizing:"border-box",position:"fixed"},Nt[ns]=Nt["max"+Ys]=Math.ceil(Ft.width)+Dt,Nt[is]=Nt["max"+rc]=Math.ceil(Ft.height)+Dt,Nt[hn]=Nt[hn+No]=Nt[hn+ko]=Nt[hn+Ho]=Nt[hn+Fo]="0",Nt[At]=ht[At],Nt[At+No]=ht[At+No],Nt[At+ko]=ht[At+ko],Nt[At+Ho]=ht[At+Ho],Nt[At+Fo]=ht[At+Fo],yr=fS(_n,Nt,O),mr&&Ge(0)),s?($s=s._initted,Nf(1),s.render(s.duration(),!0,!0),Pr=Ze(Y.a)-Kt+We+ze,Or=Math.abs(We-Pr)>1,ne&&Or&&yr.splice(yr.length-2,2),s.render(0,!0,!0),$s||s.invalidate(!0),s.parent||s.totalTime(s.totalTime()),Nf(0)):Pr=We,Jr&&(Jr.value?Jr.style["overflow"+Y.a.toUpperCase()]=Jr.value:Jr.style.removeProperty("overflow-"+Y.a));else if(w&&Ge()&&!k)for(Ft=w.parentNode;Ft&&Ft!==Fe;)Ft._pinOffset&&(we-=Ft._pinOffset,ot-=Ft._pinOffset),Ft=Ft.parentNode;Ri&&Ri.forEach(function(mn){return mn.revert(!1,!0)}),A.start=we,A.end=ot,It=Ve=mr?Ir:Ge(),!k&&!mr&&(It0?Te.slice(0,pe).reverse():Te.slice(pe+1);return($r(G)?re.filter(function(de){return de.vars.preventOverlaps===G}):re).filter(function(de){return A.direction>0?de.end<=we:de.start>=ot})},A.update=function(G,pe,re){if(!(k&&!re&&!G)){var de=mr===!0?Ir:A.scroll(),St=G?0:(de-we)/We,Ce=St<0?0:St>1?1:St||0,at=A.progress,kt,nt,ze,Ne,kr,Qe,or,Zr;if(pe&&(Ve=It,It=k?Ge():de,R&&(Bn=An,An=s&&!oe?s.totalProgress():Ce)),E&&v&&!tr&&!su&&dn&&(!Ce&&wede+(de-Ve)/(rr()-Mo)*E&&(Ce=.9999)),Ce!==at&&A.enabled){if(kt=A.isActive=!!Ce&&Ce<1,nt=!!at&&at<1,Qe=kt!==nt,kr=Qe||!!Ce!=!!at,A.direction=Ce>at?1:-1,A.progress=Ce,kr&&!tr&&(ze=Ce&&!at?0:Ce===1?1:at===1?2:3,oe&&(Ne=!Qe&&Q[ze+1]!=="none"&&Q[ze+1]||Q[ze],Zr=s&&(Ne==="complete"||Ne==="reset"||Ne in s))),W&&(Qe||Zr)&&(Zr||y||!s)&&(nr(W)?W(A):A.getTrailing(W).forEach(function(Qr){return Qr.endAnimation()})),oe||(ye&&!tr&&!su?(ye._dp._time-ye._start!==ye._time&&ye.render(ye._dp._time-ye._start),ye.resetTo?ye.resetTo("totalProgress",Ce,s._tTime/s._tDur):(ye.vars.totalProgress=Ce,ye.invalidate().restart())):s&&s.totalProgress(Ce,!!(tr&&(Ct||G)))),v){if(G&&S&&(tt.style[S+Y.os2]=Hn),!ne)sr(Oo(Kt+Pr*Ce));else if(kr){if(or=!G&&Ce>at&&ot+1>de&&de+1>=Fn(X,Y),O)if(!G&&(kt||or)){var Mt=si(v,!0),ht=de-we;y_(v,Fe,Mt.top+(Y===Et?ht:0)+Dt,Mt.left+(Y===Et?0:ht)+Dt)}else y_(v,tt);Us(kt||or?yr:Nn),Or&&Ce<1&&kt||sr(Kt+(Ce===1&&!or?Pr:0))}}R&&!qt.tween&&!tr&&!su&&Dr.restart(!0),f&&(Qe||I&&Ce&&(Ce<1||!Hf))&&Wo(f.targets).forEach(function(Qr){return Qr.classList[kt||I?"add":"remove"](f.className)}),l&&!oe&&!G&&l(A),kr&&!tr?(oe&&(Zr&&(Ne==="complete"?s.pause().totalProgress(1):Ne==="reset"?s.restart(!0).pause():Ne==="restart"?s.restart(!0):s[Ne]()),l&&l(A)),(Qe||!Hf)&&(d&&Qe&&Wf(A,d),te[ze]&&Wf(A,te[ze]),I&&(Ce===1?A.kill(!1,1):te[ze]=0),Qe||(ze=Ce===1?1:3,te[ze]&&Wf(A,te[ze]))),H&&!kt&&Math.abs(A.getVelocity())>(Ro(H)?H:2500)&&(Lo(A.callbackAnimation),ye?ye.progress(1):Lo(s,Ne==="reverse"?1:!Ce,1))):oe&&l&&!tr&&l(A)}if(En){var Ft=k?de/k.duration()*(k._caScrollDist||0):de;ai(Ft+(N._isFlipped?1:0)),En(Ft)}zn&&zn(-de/k.duration()*(k._caScrollDist||0))}},A.enable=function(G,pe){A.enabled||(A.enabled=!0,zt(X,"resize",Do),ce||zt(X,"scroll",Bs),Ae&&zt(o,"refreshInit",Ae),G!==!1&&(A.progress=ct=0,It=Ve=Ie=Ge()),pe!==!1&&A.refresh())},A.getTween=function(G){return G&&qt?qt.tween:ye},A.setPositions=function(G,pe,re,de){if(k){var St=k.scrollTrigger,Ce=k.duration(),at=St.end-St.start;G=St.start+at*G/Ce,pe=St.start+at*pe/Ce}A.refresh(!1,!1,{start:f_(G,re&&!!A._startClamp),end:f_(pe,re&&!!A._endClamp)},de),A.update()},A.adjustPinSpacing=function(G){if(rt&&G){var pe=rt.indexOf(Y.d)+1;rt[pe]=parseFloat(rt[pe])+G+Dt,rt[1]=parseFloat(rt[1])+G+Dt,Us(rt)}},A.disable=function(G,pe){if(A.enabled&&(G!==!1&&A.revert(!0,!0),A.enabled=A.isActive=!1,pe||ye&&ye.pause(),Ir=0,mt&&(mt.uncache=1),Ae&&Wt(o,"refreshInit",Ae),Dr&&(Dr.pause(),qt.tween&&qt.tween.kill()&&(qt.tween=0)),!ce)){for(var re=Te.length;re--;)if(Te[re].scroller===X&&Te[re]!==A)return;Wt(X,"resize",Do),ce||Wt(X,"scroll",Bs)}},A.kill=function(G,pe){A.disable(G,pe),ye&&!pe&&ye.kill(),h&&delete $f[h];var re=Te.indexOf(A);re>=0&&Te.splice(re,1),re===gr&&gu>0&&gr--,re=0,Te.forEach(function(de){return de.scroller===A.scroller&&(re=1)}),re||mr||(A.scroll.rec=0),s&&(s.scrollTrigger=null,G&&s.revert({kill:!1}),pe||s.kill()),et&&[et,$t,N,Lt].forEach(function(de){return de.parentNode&&de.parentNode.removeChild(de)}),Bo===A&&(Bo=0),v&&(mt&&(mt.uncache=1),re=0,Te.forEach(function(de){return de.pin===v&&re++}),re||(mt.spacer=0)),n.onKill&&n.onKill(A)},Te.push(A),A.enable(!1,!1),gn&&gn(A),s&&s.add&&!We){var Re=A.update;A.update=function(){A.update=Re,Se.cache++,we||ot||A.refresh()},Z.delayedCall(.01,A.update),We=.01,we=ot=0}else A.refresh();v&&aS()},o.register=function(n){return Ws||(Z=n||M_(),L_()&&window.document&&o.enable(),Ws=Po),Ws},o.defaults=function(n){if(n)for(var s in n)lu[s]=n[s];return lu},o.disable=function(n,s){Po=0,Te.forEach(function(l){return l[s?"kill":"disable"](n)}),Wt(Ee,"wheel",Bs),Wt(Ke,"scroll",Bs),clearInterval(iu),Wt(Ke,"touchcancel",kn),Wt(Fe,"touchstart",kn),au(Wt,Ke,"pointerdown,touchstart,mousedown",c_),au(Wt,Ke,"pointerup,touchend,mouseup",h_),yu.kill(),ou(Wt);for(var u=0;u0&&l.left+f0&&l.top+f=0&&Vr.splice(i,5),Vr.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Z.core.getCache(t),Gf())}}):Vr};fe.revert=function(o,t){return ic(!o,t)};fe.create=function(o,t){return new fe(o,t)};fe.refresh=function(o){return o?Do(!0):(Ws||fe.register())&&rs(!0)};fe.update=function(o){return++Se.cache&&oi(o===!0?2:0)};fe.clearScrollMemory=N_;fe.maxScroll=function(o,t){return Fn(o,t?er:Et)};fe.getScrollFunc=function(o,t){return ni(dr(o),t?er:Et)};fe.getById=function(o){return $f[o]};fe.getAll=function(){return Te.filter(function(o){return o.vars.id!=="ScrollSmoother"})};fe.isScrolling=function(){return!!dn};fe.snapDirectional=nc;fe.addEventListener=function(o,t){var i=as[o]||(as[o]=[]);~i.indexOf(t)||i.push(t)};fe.removeEventListener=function(o,t){var i=as[o],n=i&&i.indexOf(t);n>=0&&i.splice(n,1)};fe.batch=function(o,t){var i=[],n={},s=t.interval||.016,u=t.batchMax||1e9,l=function(d,_){var y=[],w=[],v=Z.delayedCall(s,function(){_(y,w),y=[],w=[]}).pause();return function(S){y.length||v.restart(!0),y.push(S.trigger),w.push(S),u<=y.length&&v.progress(1)}},f;for(f in t)n[f]=f.substr(0,2)==="on"&&nr(t[f])&&f!=="onRefreshInit"?l(f,t[f]):t[f];return nr(u)&&(u=u(),zt(fe,"refresh",function(){return u=t.batchMax()})),Wo(o).forEach(function(h){var d={};for(f in n)d[f]=n[f];d.trigger=h,i.push(fe.create(d))}),i};var w_=function(t,i,n,s){return i>s?t(s):i<0&&t(0),n>s?(s-i)/(n-i):n<0?i/(i-n):1},Uf=function o(t,i){i===!0?t.style.removeProperty("touch-action"):t.style.touchAction=i===!0?"auto":i?"pan-"+i+(gt.isTouch?" pinch-zoom":""):"none",t===Kr&&o(Fe,i)},pu={auto:1,scroll:1},hS=function(t){var i=t.event,n=t.target,s=t.axis,u=(i.changedTouches?i.changedTouches[0]:i).target,l=u._gsap||Z.core.getCache(u),f=rr(),h;if(!l._isScrollT||f-l._isScrollT>2e3){for(;u&&u!==Fe&&(u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth||!(pu[(h=pn(u)).overflowY]||pu[h.overflowX]));)u=u.parentNode;l._isScroll=u&&u!==n&&!os(u)&&(pu[(h=pn(u)).overflowY]||pu[h.overflowX]),l._isScrollT=f}(l._isScroll||s==="x")&&(i.stopPropagation(),i._gsapAllow=!0)},W_=function(t,i,n,s){return gt.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:i,onWheel:s=s&&hS,onPress:s,onDrag:s,onScroll:s,onEnable:function(){return n&&zt(Ke,gt.eventTypes[0],S_,!1,!0)},onDisable:function(){return Wt(Ke,gt.eventTypes[0],S_,!0)}})},pS=/(input|label|select|textarea)/i,x_,S_=function(t){var i=pS.test(t.target.tagName);(i||x_)&&(t._gsapAllow=!0,x_=i)},dS=function(t){ts(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var i=t,n=i.normalizeScrollX,s=i.momentum,u=i.allowNestedScroll,l=i.onRelease,f,h,d=dr(t.target)||Kr,_=Z.core.globals().ScrollSmoother,y=_&&_.get(),w=Mi&&(t.content&&dr(t.content)||y&&t.content!==!1&&!y.smooth()&&y.content()),v=ni(d,Et),S=ni(d,er),b=1,E=(gt.isTouch&&Ee.visualViewport?Ee.visualViewport.scale*Ee.visualViewport.width:Ee.outerWidth)/Ee.innerWidth,D=0,M=nr(s)?function(){return s(f)}:function(){return s||2.8},I,R,O=W_(d,t.type,!0,u),P=function(){return R=!1},k=kn,H=kn,W=function(){h=Fn(d,Et),H=Io(Mi?1:0,h),n&&(k=Io(0,Fn(d,er))),I=ss},Y=function(){w._gsap.y=Oo(parseFloat(w._gsap.y)+v.offset)+"px",w.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(w._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},oe=function(){if(R){requestAnimationFrame(P);var he=Oo(f.deltaY/2),ie=H(v.v-he);if(w&&ie!==v.v+v.offset){v.offset=ie-v.v;var A=Oo((parseFloat(w&&w._gsap.y)||0)-v.offset);w.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+A+", 0, 1)",w._gsap.y=A+"px",v.cacheID=Se.cache,oi()}return!0}v.offset&&Y(),R=!0},X,j,ce,ne,te=function(){W(),X.isActive()&&X.vars.scrollY>h&&(v()>h?X.progress(1)&&v(h):X.resetTo("scrollY",h))};return w&&Z.set(w,{y:"+=0"}),t.ignoreCheck=function(Q){return Mi&&Q.type==="touchmove"&&oe(Q)||b>1.05&&Q.type!=="touchstart"||f.isGesturing||Q.touches&&Q.touches.length>1},t.onPress=function(){R=!1;var Q=b;b=Oo((Ee.visualViewport&&Ee.visualViewport.scale||1)/E),X.pause(),Q!==b&&Uf(d,b>1.01?!0:n?!1:"x"),j=S(),ce=v(),W(),I=ss},t.onRelease=t.onGestureStart=function(Q,he){if(v.offset&&Y(),!he)ne.restart(!0);else{Se.cache++;var ie=M(),A,Ae;n&&(A=S(),Ae=A+ie*.05*-Q.velocityX/.227,ie*=w_(S,A,Ae,Fn(d,er)),X.vars.scrollX=k(Ae)),A=v(),Ae=A+ie*.05*-Q.velocityY/.227,ie*=w_(v,A,Ae,Fn(d,Et)),X.vars.scrollY=H(Ae),X.invalidate().duration(ie).play(.01),(Mi&&X.vars.scrollY>=h||A>=h-1)&&Z.to({},{onUpdate:te,duration:ie})}l&&l(Q)},t.onWheel=function(){X._ts&&X.pause(),rr()-D>1e3&&(I=0,D=rr())},t.onChange=function(Q,he,ie,A,Ae){if(ss!==I&&W(),he&&n&&S(k(A[2]===he?j+(Q.startX-Q.x):S()+he-A[1])),ie){v.offset&&Y();var Be=Ae[2]===ie,Xe=Be?ce+Q.startY-Q.y:v()+ie-Ae[1],Ie=H(Xe);Be&&Xe!==Ie&&(ce+=Ie-Xe),v(Ie)}(ie||he)&&oi()},t.onEnable=function(){Uf(d,n?!1:"x"),fe.addEventListener("refresh",te),zt(Ee,"resize",te),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=S.smooth=!1),O.enable()},t.onDisable=function(){Uf(d,!0),Wt(Ee,"resize",te),fe.removeEventListener("refresh",te),O.kill()},t.lockAxis=t.lockAxis!==!1,f=new gt(t),f.iOS=Mi,Mi&&!v()&&v(1),Mi&&Z.ticker.add(kn),ne=f._dc,X=Z.to(f,{ease:"power4",paused:!0,inherit:!1,scrollX:n?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:B_(v,v(),function(){return X.pause()})},onUpdate:oi,onComplete:ne.vars.onComplete}),f};fe.sort=function(o){if(nr(o))return Te.sort(o);var t=Ee.pageYOffset||0;return fe.getAll().forEach(function(i){return i._sortY=i.trigger?t+i.trigger.getBoundingClientRect().top:i.start+Ee.innerHeight}),Te.sort(o||function(i,n){return(i.vars.refreshPriority||0)*-1e6+(i.vars.containerAnimation?1e6:i._sortY)-((n.vars.containerAnimation?1e6:n._sortY)+(n.vars.refreshPriority||0)*-1e6)})};fe.observe=function(o){return new gt(o)};fe.normalizeScroll=function(o){if(typeof o>"u")return _r;if(o===!0&&_r)return _r.enable();if(o===!1){_r&&_r.kill(),_r=o;return}var t=o instanceof gt?o:dS(o);return _r&&_r.target===t.target&&_r.kill(),os(t.target)&&(_r=t),t};fe.core={_getVelocityProp:nu,_inputObserver:W_,_scrollers:Se,_proxies:Sn,bridge:{ss:function(){dn||us("scrollStart"),dn=rr()},ref:function(){return tr}}};M_()&&Z.registerPlugin(fe);var qo,Xs,oc,_S=()=>oc||Tn.register(window.gsap),z_=typeof Intl<"u"?new Intl.Segmenter:0,Tu=o=>typeof o=="string"?Tu(document.querySelectorAll(o)):"length"in o?Array.from(o):[o],q_=o=>Tu(o).filter(t=>t instanceof HTMLElement),ac=[],sc=function(){},gS=/\s+/g,U_=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Y_={left:0,top:0,width:0,height:0},X_=(o,t)=>{if(t){let i=new Set(o.join("").match(t)||ac),n=o.length,s,u,l,f;if(i.size)for(;--n>-1;){u=o[n];for(l of i)if(l.startsWith(u)&&l.length>u.length){for(s=0,f=u;l.startsWith(f+=o[n+ ++s])&&f.lengthwindow.getComputedStyle(o).display==="inline"&&(o.style.display="inline-block"),Gs=(o,t,i)=>t.insertBefore(typeof o=="string"?document.createTextNode(o):o,i),uc=(o,t,i)=>{let n=t[o+"sClass"]||"",{tag:s="div",aria:u="auto",propIndex:l=!1}=t,f=o==="line"?"block":"inline-block",h=n.indexOf("++")>-1,d=_=>{let y=document.createElement(s),w=i.length+1;return n&&(y.className=n+(h?" "+n+w:"")),l&&y.style.setProperty("--"+o,w+""),u!=="none"&&y.setAttribute("aria-hidden","true"),s!=="span"&&(y.style.position="relative",y.style.display=f),y.textContent=_,i.push(y),y};return h&&(n=n.replace("++","")),d.collection=i,d},mS=(o,t,i,n)=>{let s=uc("line",i,n),u=window.getComputedStyle(o).textAlign||"left";return(l,f)=>{let h=s("");for(h.style.textAlign=u,o.insertBefore(h,t[l]);l{var _;let y=Array.from(o.childNodes),w=0,{wordDelimiter:v,reduceWhiteSpace:S=!0,prepareText:b}=t,E=o.getBoundingClientRect(),D=E,M=!S&&window.getComputedStyle(o).whiteSpace.substring(0,3)==="pre",I=0,R=i.collection,O,P,k,H,W,Y,oe,X,j,ce,ne,te,Q,he,ie,A,Ae,Be;for(typeof v=="object"?(k=v.delimiter||v,P=v.replaceWith||""):P=v===""?"":v||" ",O=P!==" ";w-1?(Y=R[R.length-1],Y.appendChild(document.createTextNode(n?"":A))):(Y=i(n?"":A),Gs(Y,o,H),I&&j===1&&!oe&&Y.insertBefore(I,Y.firstChild)),n)for(ne=z_?X_([...z_.segment(A)].map(Xe=>Xe.segment),h):A.match(f)||ac,Be=0;BeD.top&&ce.left<=D.left){for(te=o.cloneNode(),Q=o.childNodes[0];Q&&Q!==Y;)he=Q,Q=Q.nextSibling,te.appendChild(he);o.parentNode.insertBefore(te,o),s&&G_(te)}D=ce}(j=W.length?" ":O&&A.slice(-1)===" "?" "+P:P,o,H)}o.removeChild(H),I=0}else H.nodeType===1&&(l&&l.indexOf(H)>-1?(R.indexOf(H.previousSibling)>-1&&R[R.length-1].appendChild(H),I=H):(V_(H,t,i,n,s,u,l,f,h,!0),I=0),s&&G_(H))},$_=class K_{constructor(t,i){this.isSplit=!1,_S(),this.elements=q_(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=i,this._split=()=>this.isSplit&&this.split(this.vars);let n=[],s,u=()=>{let l=n.length,f;for(;l--;){f=n[l];let h=f.element.offsetWidth;if(h!==f.width){f.width=h,this._split();return}}};this._data={orig:n,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(s),s=setTimeout(u,200)})},sc(this),this.split(i)}split(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let{type:i="chars,words,lines",aria:n="auto",deepSlice:s=!0,smartWrap:u,onSplit:l,autoSplit:f=!1,specialChars:h,mask:d}=this.vars,_=i.indexOf("lines")>-1,y=i.indexOf("chars")>-1,w=i.indexOf("words")>-1,v=y&&!w&&!_,S=h&&("push"in h?new RegExp("(?:"+h.join("|")+")","gu"):h),b=S?new RegExp(S.source+"|"+U_.source,"gu"):U_,E=!!t.ignore&&q_(t.ignore),{orig:D,animTime:M,obs:I}=this._data,R;return(y||w||_)&&(this.elements.forEach((O,P)=>{D[P]={element:O,html:O.innerHTML,ariaL:O.getAttribute("aria-label"),ariaH:O.getAttribute("aria-hidden")},n==="auto"?O.setAttribute("aria-label",(O.textContent||"").trim()):n==="hidden"&&O.setAttribute("aria-hidden","true");let k=[],H=[],W=[],Y=y?uc("char",t,k):null,oe=uc("word",t,H),X,j,ce,ne;if(V_(O,t,oe,Y,v,s&&(_||v),E,b,S,!1),_){let te=Tu(O.childNodes),Q=mS(O,te,t,W),he,ie=[],A=0,Ae=te.map(Xe=>Xe.nodeType===1?Xe.getBoundingClientRect():Y_),Be=Y_;for(X=0;XBe.top&&Ae[X].left<=Be.left&&(Q(A,X),A=X),Be=Ae[X]));A{var Ie;return(Ie=Xe.parentNode)==null?void 0:Ie.removeChild(Xe)})}if(!w){for(X=0;X{let P=O.cloneNode();return O.replaceWith(P),P.appendChild(O),O.className&&(P.className=O.className.replace(/(\b\w+\b)/g,"$1-mask")),P.style.overflow="clip",P}))),this.isSplit=!0,Xs&&(f?Xs.addEventListener("loadingdone",this._split):Xs.status==="loading"&&console.warn("SplitText called before fonts loaded")),(R=l&&l(this))&&R.totalTime&&(this._data.anim=M?R.totalTime(M):R),_&&f&&this.elements.forEach((O,P)=>{D[P].width=O.offsetWidth,I&&I.observe(O)}),this}revert(){var t,i;let{orig:n,anim:s,obs:u}=this._data;return u&&u.disconnect(),n.forEach(({element:l,html:f,ariaL:h,ariaH:d})=>{l.innerHTML=f,h?l.setAttribute("aria-label",h):l.removeAttribute("aria-label"),d?l.setAttribute("aria-hidden",d):l.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=n.length=this.masks.length=0,this.isSplit=!1,Xs?.removeEventListener("loadingdone",this._split),s&&(this._data.animTime=s.totalTime(),s.revert()),(i=(t=this.vars).onRevert)==null||i.call(t,this),this}static create(t,i){return new K_(t,i)}static register(t){qo=qo||t||window.gsap,qo&&(Tu=qo.utils.toArray,sc=qo.core.context||sc),!oc&&window.innerWidth>0&&(Xs=document.fonts,oc=!0)}};$_.version="3.13.0";var Tn=$_;je.registerPlugin(fe);function lc(){window.addEventListener("DOMContentLoaded",()=>{setTimeout(()=>{document.querySelectorAll('[data-animation="stagger-text-reveal"]').forEach(t=>{let i=null;i&&i.revert(),i=Tn.create(t,{type:"words",mask:"words",wordsClass:"word"}),je.timeline({scrollTrigger:{trigger:t,start:"top 70%",markers:!1}}).fromTo(i.words,{opacity:0},{opacity:1,duration:.5,ease:"power3.inOut",stagger:.01})})},250)})}function fc(){je.registerPlugin(fe),je.registerPlugin(Tn)}var vS="1.3.11";function J_(o,t,i){return Math.max(o,Math.min(t,i))}function yS(o,t,i){return(1-i)*o+i*t}function bS(o,t,i,n){return yS(o,t,1-Math.exp(-i*n))}function wS(o,t){return(o%t+t)%t}var xS=class{constructor(){ee(this,"isRunning",!1);ee(this,"value",0);ee(this,"from",0);ee(this,"to",0);ee(this,"currentTime",0);ee(this,"lerp");ee(this,"duration");ee(this,"easing");ee(this,"onUpdate")}advance(o){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=o;let i=J_(0,this.currentTime/this.duration,1);t=i>=1;let n=t?1:this.easing(i);this.value=this.from+(this.to-this.from)*n}else this.lerp?(this.value=bS(this.value,this.to,this.lerp*60,o),Math.round(this.value)===this.to&&(this.value=this.to,t=!0)):(this.value=this.to,t=!0);t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(o,t,{lerp:i,duration:n,easing:s,onStart:u,onUpdate:l}){this.from=this.value=o,this.to=t,this.lerp=i,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,u?.(),this.onUpdate=l}};function SS(o,t){let i;return function(...n){let s=this;clearTimeout(i),i=setTimeout(()=>{i=void 0,o.apply(s,n)},t)}}var TS=class{constructor(o,t,{autoResize:i=!0,debounce:n=250}={}){ee(this,"width",0);ee(this,"height",0);ee(this,"scrollHeight",0);ee(this,"scrollWidth",0);ee(this,"debouncedResize");ee(this,"wrapperResizeObserver");ee(this,"contentResizeObserver");ee(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});ee(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});ee(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=o,this.content=t,i&&(this.debouncedResize=SS(this.resize,n),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},j_=class{constructor(){ee(this,"events",{})}emit(o,...t){let i=this.events[o]||[];for(let n=0,s=i.length;n{this.events[o]=this.events[o]?.filter(i=>t!==i)}}off(o,t){this.events[o]=this.events[o]?.filter(i=>t!==i)}destroy(){this.events={}}},Z_=100/6,Pi={passive:!1},ES=class{constructor(o,t={wheelMultiplier:1,touchMultiplier:1}){ee(this,"touchStart",{x:0,y:0});ee(this,"lastDelta",{x:0,y:0});ee(this,"window",{width:0,height:0});ee(this,"emitter",new j_);ee(this,"onTouchStart",o=>{let{clientX:t,clientY:i}=o.targetTouches?o.targetTouches[0]:o;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:o})});ee(this,"onTouchMove",o=>{let{clientX:t,clientY:i}=o.targetTouches?o.targetTouches[0]:o,n=-(t-this.touchStart.x)*this.options.touchMultiplier,s=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:n,y:s},this.emitter.emit("scroll",{deltaX:n,deltaY:s,event:o})});ee(this,"onTouchEnd",o=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:o})});ee(this,"onWheel",o=>{let{deltaX:t,deltaY:i,deltaMode:n}=o,s=n===1?Z_:n===2?this.window.width:1,u=n===1?Z_:n===2?this.window.height:1;t*=s,i*=u,t*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:o})});ee(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=o,this.options=t,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Pi),this.element.addEventListener("touchstart",this.onTouchStart,Pi),this.element.addEventListener("touchmove",this.onTouchMove,Pi),this.element.addEventListener("touchend",this.onTouchEnd,Pi)}on(o,t){return this.emitter.on(o,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,Pi),this.element.removeEventListener("touchstart",this.onTouchStart,Pi),this.element.removeEventListener("touchmove",this.onTouchMove,Pi),this.element.removeEventListener("touchend",this.onTouchEnd,Pi)}},Q_=o=>Math.min(1,1.001-Math.pow(2,-10*o)),eg=class{constructor({wrapper:o=window,content:t=document.documentElement,eventsTarget:i=o,smoothWheel:n=!0,syncTouch:s=!1,syncTouchLerp:u=.075,touchInertiaExponent:l=1.7,duration:f,easing:h,lerp:d=.1,infinite:_=!1,orientation:y="vertical",gestureOrientation:w=y==="horizontal"?"both":"vertical",touchMultiplier:v=1,wheelMultiplier:S=1,autoResize:b=!0,prevent:E,virtualScroll:D,overscroll:M=!0,autoRaf:I=!1,anchors:R=!1,autoToggle:O=!1,allowNestedScroll:P=!1,__experimental__naiveDimensions:k=!1}={}){ee(this,"_isScrolling",!1);ee(this,"_isStopped",!1);ee(this,"_isLocked",!1);ee(this,"_preventNextNativeScrollEvent",!1);ee(this,"_resetVelocityTimeout",null);ee(this,"__rafID",null);ee(this,"isTouching");ee(this,"time",0);ee(this,"userData",{});ee(this,"lastVelocity",0);ee(this,"velocity",0);ee(this,"direction",0);ee(this,"options");ee(this,"targetScroll");ee(this,"animatedScroll");ee(this,"animate",new xS);ee(this,"emitter",new j_);ee(this,"dimensions");ee(this,"virtualScroll");ee(this,"onScrollEnd",o=>{o instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&o.stopPropagation()});ee(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});ee(this,"onTransitionEnd",o=>{if(o.propertyName.includes("overflow")){let t=this.isHorizontal?"overflow-x":"overflow-y",i=getComputedStyle(this.rootElement)[t];["hidden","clip"].includes(i)?this.internalStop():this.internalStart()}});ee(this,"onClick",o=>{let i=o.composedPath().find(n=>n instanceof HTMLAnchorElement&&(n.getAttribute("href")?.startsWith("#")||n.getAttribute("href")?.startsWith("/#")||n.getAttribute("href")?.startsWith("./#")));if(i){let n=i.getAttribute("href");if(n){let s=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,u=`#${n.split("#")[1]}`;["#","/#","./#","#top","/#top","./#top"].includes(n)&&(u=0),this.scrollTo(u,s)}}});ee(this,"onPointerDown",o=>{o.button===1&&this.reset()});ee(this,"onVirtualScroll",o=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(o)===!1)return;let{deltaX:t,deltaY:i,event:n}=o;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:i,event:n}),n.ctrlKey||n.lenisStopPropagation)return;let s=n.type.includes("touch"),u=n.type.includes("wheel");this.isTouching=n.type==="touchstart"||n.type==="touchmove";let l=t===0&&i===0;if(this.options.syncTouch&&s&&n.type==="touchstart"&&l&&!this.isStopped&&!this.isLocked){this.reset();return}let h=this.options.gestureOrientation==="vertical"&&i===0||this.options.gestureOrientation==="horizontal"&&t===0;if(l||h)return;let d=n.composedPath();d=d.slice(0,d.indexOf(this.rootElement));let _=this.options.prevent;if(d.find(E=>E instanceof HTMLElement&&(typeof _=="function"&&_?.(E)||E.hasAttribute?.("data-lenis-prevent")||s&&E.hasAttribute?.("data-lenis-prevent-touch")||u&&E.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(E,{deltaX:t,deltaY:i}))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&s||this.options.smoothWheel&&u)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let w=i;this.options.gestureOrientation==="both"?w=Math.abs(i)>Math.abs(t)?i:t:this.options.gestureOrientation==="horizontal"&&(w=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&i<0))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();let v=s&&this.options.syncTouch,b=s&&n.type==="touchend";b&&(w=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent)),this.scrollTo(this.targetScroll+w,{programmatic:!1,...v?{lerp:b?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});ee(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){let o=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-o,this.direction=Math.sign(this.animatedScroll-o),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});ee(this,"raf",o=>{let t=o-(this.time||o);this.time=o,this.animate.advance(t*.001),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))});window.lenisVersion=vS,(!o||o===document.documentElement)&&(o=window),typeof f=="number"&&typeof h!="function"?h=Q_:typeof h=="function"&&typeof f!="number"&&(f=1),this.options={wrapper:o,content:t,eventsTarget:i,smoothWheel:n,syncTouch:s,syncTouchLerp:u,touchInertiaExponent:l,duration:f,easing:h,lerp:d,infinite:_,gestureOrientation:w,orientation:y,touchMultiplier:v,wheelMultiplier:S,autoResize:b,prevent:E,virtualScroll:D,overscroll:M,autoRaf:I,anchors:R,autoToggle:O,allowNestedScroll:P,__experimental__naiveDimensions:k},this.dimensions=new TS(o,t,{autoResize:b}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new ES(i,{touchMultiplier:v,wheelMultiplier:S}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0}),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(o,t){return this.emitter.on(o,t)}off(o,t){return this.emitter.off(o,t)}setScroll(o){this.isHorizontal?this.options.wrapper.scrollTo({left:o,behavior:"instant"}):this.options.wrapper.scrollTo({top:o,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(o,{offset:t=0,immediate:i=!1,lock:n=!1,duration:s=this.options.duration,easing:u=this.options.easing,lerp:l=this.options.lerp,onStart:f,onComplete:h,force:d=!1,programmatic:_=!0,userData:y}={}){if(!((this.isStopped||this.isLocked)&&!d)){if(typeof o=="string"&&["top","left","start"].includes(o))o=0;else if(typeof o=="string"&&["bottom","right","end"].includes(o))o=this.limit;else{let w;if(typeof o=="string"?w=document.querySelector(o):o instanceof HTMLElement&&o?.nodeType&&(w=o),w){if(this.options.wrapper!==window){let S=this.rootElement.getBoundingClientRect();t-=this.isHorizontal?S.left:S.top}let v=w.getBoundingClientRect();o=(this.isHorizontal?v.left:v.top)+this.animatedScroll}}if(typeof o=="number"){if(o+=t,o=Math.round(o),this.options.infinite){if(_){this.targetScroll=this.animatedScroll=this.scroll;let w=o-this.animatedScroll;w>this.limit/2?o=o-this.limit:w<-this.limit/2&&(o=o+this.limit)}}else o=J_(0,o,this.limit);if(o===this.targetScroll){f?.(this),h?.(this);return}if(this.userData=y??{},i){this.animatedScroll=this.targetScroll=o,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}_||(this.targetScroll=o),typeof s=="number"&&typeof u!="function"?u=Q_:typeof u=="function"&&typeof s!="number"&&(s=1),this.animate.fromTo(this.animatedScroll,o,{duration:s,easing:u,lerp:l,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",f?.(this)},onUpdate:(w,v)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=w-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=w,this.setScroll(this.scroll),_&&(this.targetScroll=w),v||this.emit(),v&&(this.reset(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(o,{deltaX:t,deltaY:i}){let n=Date.now(),s=o._lenis??(o._lenis={}),u,l,f,h,d,_,y,w,v=this.options.gestureOrientation;if(n-(s.time??0)>2e3){s.time=Date.now();let O=window.getComputedStyle(o);s.computedStyle=O;let P=O.overflowX,k=O.overflowY;if(u=["auto","overlay","scroll"].includes(P),l=["auto","overlay","scroll"].includes(k),s.hasOverflowX=u,s.hasOverflowY=l,!u&&!l||v==="vertical"&&!l||v==="horizontal"&&!u)return!1;d=o.scrollWidth,_=o.scrollHeight,y=o.clientWidth,w=o.clientHeight,f=d>y,h=_>w,s.isScrollableX=f,s.isScrollableY=h,s.scrollWidth=d,s.scrollHeight=_,s.clientWidth=y,s.clientHeight=w}else f=s.isScrollableX,h=s.isScrollableY,u=s.hasOverflowX,l=s.hasOverflowY,d=s.scrollWidth,_=s.scrollHeight,y=s.clientWidth,w=s.clientHeight;if(!u&&!l||!f&&!h||v==="vertical"&&(!l||!h)||v==="horizontal"&&(!u||!f))return!1;let S;if(v==="horizontal")S="x";else if(v==="vertical")S="y";else{let O=t!==0,P=i!==0;O&&u&&f&&(S="x"),P&&l&&h&&(S="y")}if(!S)return!1;let b,E,D,M,I;if(S==="x")b=o.scrollLeft,E=d-y,D=t,M=u,I=f;else if(S==="y")b=o.scrollTop,E=_-w,D=i,M=l,I=h;else return!1;return(D>0?b0)&&M&&I}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){let o=this.options.wrapper;return this.isHorizontal?o.scrollX??o.scrollLeft:o.scrollY??o.scrollTop}get scroll(){return this.options.infinite?wS(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(o){this._isScrolling!==o&&(this._isScrolling=o,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(o){this._isStopped!==o&&(this._isStopped=o,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(o){this._isLocked!==o&&(this._isLocked=o,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let o="lenis";return this.options.autoToggle&&(o+=" lenis-autoToggle"),this.isStopped&&(o+=" lenis-stopped"),this.isLocked&&(o+=" lenis-locked"),this.isScrolling&&(o+=" lenis-scrolling"),this.isScrolling==="smooth"&&(o+=" lenis-smooth"),o}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function cc(){window.lenis=new eg({duration:.8,easing:o=>Math.min(1,1.001-2**(-10*o)),touchMultiplier:2,infinite:!1}),window.lenis.on("scroll",fe.update),je.ticker.add(o=>{window.lenis.raf(o*1e3)}),je.ticker.lagSmoothing(0)}var tg=0,AS=window.location.pathname==="/"?".main-nav-fixed":".main-nav";function rg(o){document.body.setAttribute("data-nav-scroll",o)}function CS(){let o=window.pageYOffset||document.documentElement.scrollTop;o>tg?rg("down"):rg("up"),tg=o<=0?0:o}function hc(){document.querySelector(AS)&&window.addEventListener("scroll",CS)}function ng(){}function pc(){let o=document.querySelectorAll("input"),t=document.querySelectorAll("textarea"),i=document.querySelectorAll("select");o.forEach(n=>{let s=n.getAttribute("name");if(s){let u=s.replace(/-/gi," ");n.setAttribute("name",u)}}),t.forEach(n=>{let s=n.getAttribute("name");if(s){let u=s.replace(/-/gi," ");n.setAttribute("name",u)}}),i.forEach(n=>{let s=n.getAttribute("name");if(s){let u=s.replace(/-/gi," ");n.setAttribute("name",u)}})}function dc(){let o=document.querySelector("#ig-preferred-pronouns"),t=o.querySelector(".embed"),i=o.querySelector("#preferred-pronouns"),n=o.querySelector(".input-group.is_pronouns"),s=n.querySelector("input"),u=o.querySelector(".input-clear-button");u.setAttribute("tabindex","-1"),s.setAttribute("tabindex","-1");let l=f=>{let{value:h}=f.target;h==="Other"&&(n.classList.add("visible"),u.removeAttribute("tabindex"),s.removeAttribute("tabindex"),t.classList.add("invisible"),s.focus())};i.addEventListener("change",l),u.addEventListener("click",()=>{s.value="",t.addEventListener("change",l),n.classList.remove("visible"),t.classList.remove("invisible"),u.setAttribute("tabindex","-1"),s.setAttribute("tabindex","-1"),i.selectedIndex=0,i.removeAttribute("data-value-is-not-empty")})}function Uo(){let t=document.querySelector("#form-content").querySelector(".section-header"),i=t.querySelector(".h2-sm"),n=t.querySelector(".hr"),s=document.querySelector("#form-intro"),u=document.querySelectorAll(".input-section");s.style.opacity="1";let l=Tn.create(s,{type:"words",mask:"words",wordsClass:"word"});je.timeline().fromTo(i,{y:"100%"},{y:"0%",duration:.6,ease:"power3.inOut",stagger:.01}).fromTo(i,{opacity:0},{opacity:1,duration:.6,ease:"power3.inOut",stagger:.01},"-=0.4").fromTo(n,{scaleX:0,transformOrigin:"top left"},{scaleX:1,duration:.6,ease:"power3.inOut"},"-=0.3").fromTo(l.words,{y:"100%"},{y:"0%",duration:.6,ease:"power3.inOut",stagger:.01},"-=0.2").fromTo(l.words,{opacity:0},{opacity:1,duration:.6,ease:"power3.inOut",stagger:.01},"-=0.9").fromTo(u,{y:40},{y:0,duration:.6,ease:"power3.inOut",stagger:.2},"-=0.4").fromTo(u,{opacity:0},{opacity:1,duration:.6,ease:"power3.inOut",stagger:.2},"-=1.0")}var Yo={};function LS(o){let i=o.target.getAttribute("data-id");o.ctrlKey||o.key!=="Tab"&&(Yo[i]>=10&&o.key==="Backspace"||Yo[i]<10&&(/[0-9.]/.test(o.key)||o.key==="Backspace")||o.preventDefault())}var MS=o=>{let t=o.target.value.replace(/\D/g,"").substring(0,10);o.target.parentElement.querySelector(".input-error").classList.remove("visible");let s=o.target.getAttribute("data-id");Yo[s]=t.length;let u=t.substring(0,3),l=t.substring(3,6),f=t.substring(6,10);t.length>6?o.target.value=`${u}-${l}-${f}`:t.length>3?o.target.value=`${u}-${l}`:t.length>0&&(o.target.value=`${u}`)};function Xo(o){o.forEach(t=>{let{elId:i}=t;Yo[i]||(Yo[i]=1);let s=document.querySelector(i).querySelector("input");s.setAttribute("data-id",i),s.addEventListener("keydown",LS),s.addEventListener("keyup",MS)})}function Go(){let t=1,i={},n={},s=document.querySelector(".input-wrapper-socials"),u=s.querySelector(".socials-add-button"),l=s.querySelector(".input-wrapper-grid.is_social"),f=()=>{document.querySelectorAll(".input-social-remove").forEach(S=>{S.classList.remove("visible"),S.setAttribute("aria-disabled","true")})},h=()=>{document.querySelectorAll(".input-social-remove").forEach(S=>{S.classList.add("visible"),S.removeAttribute("aria-disabled")})},d=()=>{t===3?(u.setAttribute("disabled","true"),u.style.opacity="0.4"):(u.removeAttribute("disabled"),u.style.opacity="1")},_=()=>{n={},i={};let S=document.querySelector(".input-wrapper-socials").querySelectorAll(".input-wrapper-grid.is_social");Array.from(S).forEach(b=>{let E=b.getAttribute("data-social-platform"),D=b.querySelector(".input.is_social_handle"),{value:M}=D;E&&(i[E]?i[E]+=1:i[E]=1,n[E]||(n[E]=[]),n[E][i[E]-1]=M,b.querySelector(".sm-handle input").setAttribute("name",`${E} Handle - ${i[E]}`))}),Object.keys(n).forEach(b=>{let E=n[b],D=document.querySelector(`.input-hidden[name="${b}"]`);D.value=E.filter(M=>M.trim().length>0).map(M=>`@${M}`).join(";")})},y=v=>{let S=v.querySelector(".sm-platform"),b=v.querySelector(".sm-handle input"),D=v.querySelector(".input-social-remove").querySelector(".input-social-remove-button");b.disabled=!0,b.addEventListener("input",()=>{_()}),S.addEventListener("change",M=>{let{value:I}=M.target;I?(i[I]?i[I]+=1:i[I]=1,b.disabled=!1,b.focus(),b.setAttribute("name",`${I} Handle - ${i[I]}`),D.setAttribute("data-social-platform",I),v.setAttribute("data-social-platform",I),I.length>0?S.setAttribute("data-value-is-not-empty","true"):S.removeAttribute("data-value-is-not-empty")):(b.value="",b.disabled=!0,b.removeAttribute("name"),D.removeAttribute("data-social-platform"),v.removeAttribute("data-social-platform")),_()}),D.addEventListener("click",()=>{t!==1&&(v.remove(),_(),t-=1,d(),t===1?f():t>1&&h())})};y(l);let w=l.cloneNode(!0);u.addEventListener("click",()=>{let v=w.cloneNode(!0);y(v),s.insertBefore(v,u),_(),t+=1,d(),t>1&&h()})}function Vo(o){let t=(n,s,u)=>{let{value:l}=n.target;l.trim().split(/\s+/).length===s&&n.key===" "&&(je.to(u,{backgroundColor:"red",color:"white",duration:.3,onComplete:()=>{je.to(u,{backgroundColor:"#f2f2f2",color:"#999",duration:.3})}}),n.preventDefault())},i=(n,s,u)=>{let l=u.querySelector(".word-count-number"),{value:f}=n.target,h=f.trim().split(/\s+/);h[0]===""&&(h=[]),h.length>s&&(n.target.value=h.slice(0,s).join(" "),h=n.target.value.trim().split(/\s+/)),l.textContent=h.length.toString()};o.forEach(n=>{let{elId:s,maxWords:u}=n,l=document.querySelector(s),f=l.querySelector("textarea"),h=l.querySelector(".word-count-wrapper");f.addEventListener("keydown",d=>{t(d,u,h)}),f.addEventListener("keyup",d=>{i(d,u,h)})})}var _c=Wl(Eu(),1);function PS(){let o=document.querySelector("#Mobile-Phone"),t=document.querySelector("#error-phone-number"),i=document.querySelector("#Nominee-Mobile-Phone"),n=document.querySelector("#error-phone-number-nominee"),s=!1,u=!1;return s=o.value.length===12,s||(t.classList.add("visible"),window.scrollTo({top:o.offsetTop})),i&&i.value.length>0?(u=i.value.length===12,u||(n.classList.add("visible"),window.scrollTo({top:i.offsetTop}))):u=!0,s&&u}function Au(o,t){let i=document.querySelector(t),n=document.querySelector("#btn-submit"),s=document.querySelector("#btn-submit-form"),u=document.querySelector(".form-loader-wrapper");new MutationObserver(f=>{f.forEach(h=>{let d=_c.default.get(h,"attributeName",""),_=_c.default.get(h,"target.style.display","");d==="style"&&_==="none"&&u.classList.remove("visible")})}).observe(i,{attributes:!0}),i.addEventListener("submit",f=>{f.preventDefault(),n.classList.add("hidden"),u.classList.add("visible"),i.classList.add("disabled"),fetch(o,{method:"POST",body:new FormData(i)}).then(()=>{}).catch(h=>console.error("Error!",h.message))}),n.addEventListener("click",()=>{PS()&&s.click()})}function Ko(){document.querySelectorAll("select").forEach(t=>{t.addEventListener("change",i=>{i.target.value.length>0?t.setAttribute("data-value-is-not-empty","true"):t.removeAttribute("data-value-is-not-empty")})})}function gc(){Ko(),dc(),Go(),Vo([{elId:"#textarea-group-1",maxWords:100},{elId:"#textarea-group-2",maxWords:200},{elId:"#textarea-group-3",maxWords:200},{elId:"#textarea-group-4",maxWords:100}]),Xo([{elId:"#mobile-phone-input-wrapper"}]),Au("https://script.google.com/macros/s/AKfycbzbdn6HX_jh4r3Gg0MNQZyUVC86ObYgpVq8YinEX9bUpQjGILnZhqjUpvhbdWZCWqSXkw/exec","#wf-form-Speaker-Application-Form"),Uo(),pc()}var ig=Wl(Eu(),1),Cu=null;function OS(){let o=document.querySelector(".hero-wrapper"),t=o.querySelector("#hero-form-buttons"),i=o.querySelector("#hero-form-block form"),n=t.querySelector("#hero-form-btn-start"),s=t.querySelector("#hero-form-btn-continue"),u=t.querySelector("#hero-form-btn-submit"),l=t.querySelector("#hero-form-btn-close"),f=o.querySelector("#hero-form-btn-close-corner"),h=o.querySelector('input[name="FNAME"]'),d=o.querySelector("#hero-input-error-fname"),_=o.querySelector('input[name="LNAME"]'),y=o.querySelector("#hero-input-error-lname"),w=o.querySelector('input[name="EMAIL"]'),v=o.querySelector("#hero-input-error-email"),S=document.querySelector("#btn-apply"),b=document.querySelector("#btn-nominate");function E(P){return!!String(P).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/i)}function D(){h.setAttribute("aria-disabled","true"),_.setAttribute("aria-disabled","true"),w.setAttribute("aria-disabled","true"),s.setAttribute("disabled","true"),u.setAttribute("disabled","true"),l.setAttribute("disabled","true")}let M="idle",I=!1;D();let R=P=>{let k={valid:!1,errorMsg:""};if(P==="fname"){let H=h.value.trim().length>0;k={valid:H,errorMsg:H?"":"First name cannot be empty"}}else if(P==="lname"){let H=_.value.trim().length>0;k={valid:H,errorMsg:H?"":"Last name cannot be empty"}}else if(P==="email"){let H=E(w.value);k={valid:H,errorMsg:H?"":"Email needs to be in proper format"}}return k},O=()=>{o.removeAttribute("data-subscribe-form-state"),o.removeAttribute("data-subscribe-form-step"),M="idle",D(),mc(),document.documentElement.classList.remove("overflow-clip"),n.removeAttribute("disabled"),S.removeAttribute("aria-disabled"),b.removeAttribute("aria-disabled")};n.addEventListener("click",()=>{document.documentElement.classList.add("overflow-clip"),f.removeAttribute("disabled"),I?(o.setAttribute("data-subscribe-form-state","success"),o.removeAttribute("data-subscribe-form-step")):(fe.killAll(),M="fname",o.setAttribute("data-subscribe-form-state","started"),o.setAttribute("data-subscribe-form-step",M),h.removeAttribute("aria-disabled"),s.removeAttribute("disabled")),n.setAttribute("disabled","true"),S.setAttribute("aria-disabled","true"),b.setAttribute("aria-disabled","true")}),s.addEventListener("click",()=>{let P=R(M);P.valid?(M==="fname"?M="lname":M==="lname"&&(M="email"),o.setAttribute("data-subscribe-form-step",M),M==="lname"?(_.focus(),y.removeAttribute("aria-disabled")):M==="email"&&(w.focus(),w.removeAttribute("aria-disabled"),s.setAttribute("disabled","true"),u.removeAttribute("disabled"))):M==="fname"?(d.textContent=P.errorMsg,d.classList.add("visible")):M==="lname"&&(y.textContent=P.errorMsg,y.classList.add("visible"))}),u.addEventListener("click",()=>{let P=R(M);P.valid?$(i).trigger("submit"):(v.textContent=P.errorMsg,v.classList.add("visible"))}),$(i).on("submit",P=>{P.preventDefault(),o.setAttribute("data-subscribe-form-state","success"),o.removeAttribute("data-subscribe-form-step"),l.removeAttribute("disabled"),I=!0}),l.addEventListener("click",O),f.addEventListener("click",O),i.addEventListener("keydown",P=>{P.key==="Escape"&&(P.preventDefault(),O()),M!=="idle"&&M!=="done"&&P.key==="Enter"&&(P.preventDefault(),s.click())}),h.addEventListener("input",()=>{d.classList.remove("visible")}),_.addEventListener("input",()=>{y.classList.remove("visible")}),w.addEventListener("input",()=>{v.classList.remove("visible")})}function RS(o){document.documentElement.classList.add("overflow-clip");let t=document.querySelector(".v2-hero-circle"),i=document.querySelector(".v2-hero-branding"),n=document.querySelector(".v2-hero-date"),s=document.querySelector(".v2-hero-overlay"),u=document.querySelector(".v2-hero-buttons"),l=document.querySelector(".v2-hero-application-btns"),f=document.querySelector(".nav-v2-inner-wrapper");je.timeline({onComplete:()=>{document.documentElement.classList.remove("overflow-clip"),o()}}).fromTo(t,{yPercent:-40,opacity:0},{yPercent:-50,opacity:1,duration:2,ease:"expo.inOut"}).fromTo(i,{scale:.5,opacity:0},{scale:1,opacity:1,duration:1.5,ease:"expo.inOut"},.5).fromTo(s,{filter:"blur(10px)",opacity:1},{filter:"blur(0px)",opacity:0,pointerEvents:"none",duration:1,ease:"power1.inOut"},1.3).fromTo([f,n,u,l],{filter:"blur(10px)",opacity:0},{filter:"blur(0px)",opacity:1,duration:1,ease:"power1.inOut",stagger:.2,onComplete:()=>{f.setAttribute("style","")}})}function mc(){fe.refresh(),fe.killAll(),window.innerWidth>478&&(IS(),kS())}function DS(){let o=ig.default.debounce(()=>{mc()},300);window.addEventListener("resize",o),mc()}function IS(){let o=document.querySelector(".v2-hero"),t=document.querySelector(".v2-hero-circle"),i=document.querySelector(".v2-hero-branding"),n=document.querySelector(".main");je.to(o,{y:-window.innerHeight,scrollTrigger:{trigger:o,start:"top top",end:"bottom top",scrub:!0,markers:!1,pin:n}}),je.to(t,{yPercent:0,scrollTrigger:{trigger:i,start:"top 20%",scrub:!0,markers:!1}})}function kS(){let o=document.querySelector(".v2-hero"),t=document.querySelector(".main"),i=t.querySelector(".h2-sm"),n=t.querySelector(".hr"),s=t.querySelector(".p-xl");Cu&&Cu.revert(),Cu=Tn.create(s,{type:"words",mask:"words",wordsClass:"word"}),je.timeline({scrollTrigger:{trigger:o,start:"bottom 70%",markers:!1}}).fromTo(i,{y:"100%"},{y:"0%",duration:.6,ease:"power3.inOut",stagger:.01}).fromTo(i,{opacity:0},{opacity:1,duration:.6,ease:"power3.inOut",stagger:.01},"-=0.4").fromTo(n,{scaleX:0,transformOrigin:"top left"},{scaleX:1,duration:.6,ease:"power3.inOut"},"-=0.3").fromTo(Cu.words,{opacity:0},{opacity:1,duration:.5,ease:"power3.inOut",stagger:.01},"-=0.5")}function sg(){RS(()=>{DS(),OS()})}var og=Wl(Eu(),1),Lu=null;function FS(){let o=document.querySelector(".hero-wrapper"),t=o.querySelector("#hero-form-buttons"),i=o.querySelector("#hero-form-block form"),n=t.querySelector("#hero-form-btn-start"),s=t.querySelector("#hero-form-btn-continue"),u=t.querySelector("#hero-form-btn-submit"),l=t.querySelector("#hero-form-btn-close"),f=o.querySelector("#hero-form-btn-close-corner"),h=o.querySelector('input[name="FNAME"]'),d=o.querySelector("#hero-input-error-fname"),_=o.querySelector('input[name="LNAME"]'),y=o.querySelector("#hero-input-error-lname"),w=o.querySelector('input[name="EMAIL"]'),v=o.querySelector("#hero-input-error-email"),S=document.querySelector("#btn-apply"),b=document.querySelector("#btn-nominate");function E(P){return!!String(P).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/i)}function D(){h.setAttribute("aria-disabled","true"),_.setAttribute("aria-disabled","true"),w.setAttribute("aria-disabled","true"),s.setAttribute("disabled","true"),u.setAttribute("disabled","true"),l.setAttribute("disabled","true")}let M="idle",I=!1;D();let R=P=>{let k={valid:!1,errorMsg:""};if(P==="fname"){let H=h.value.trim().length>0;k={valid:H,errorMsg:H?"":"First name cannot be empty"}}else if(P==="lname"){let H=_.value.trim().length>0;k={valid:H,errorMsg:H?"":"Last name cannot be empty"}}else if(P==="email"){let H=E(w.value);k={valid:H,errorMsg:H?"":"Email needs to be in proper format"}}return k},O=()=>{o.removeAttribute("data-subscribe-form-state"),o.removeAttribute("data-subscribe-form-step"),M="idle",D(),vc(),document.documentElement.classList.remove("overflow-clip"),n.removeAttribute("disabled"),S.removeAttribute("aria-disabled"),b.removeAttribute("aria-disabled")};n.addEventListener("click",()=>{document.documentElement.classList.add("overflow-clip"),f.removeAttribute("disabled"),I?(o.setAttribute("data-subscribe-form-state","success"),o.removeAttribute("data-subscribe-form-step")):(fe.killAll(),M="fname",o.setAttribute("data-subscribe-form-state","started"),o.setAttribute("data-subscribe-form-step",M),h.removeAttribute("aria-disabled"),s.removeAttribute("disabled")),n.setAttribute("disabled","true"),S.setAttribute("aria-disabled","true"),b.setAttribute("aria-disabled","true")}),s.addEventListener("click",()=>{let P=R(M);P.valid?(M==="fname"?M="lname":M==="lname"&&(M="email"),o.setAttribute("data-subscribe-form-step",M),M==="lname"?(_.focus(),y.removeAttribute("aria-disabled")):M==="email"&&(w.focus(),w.removeAttribute("aria-disabled"),s.setAttribute("disabled","true"),u.removeAttribute("disabled"))):M==="fname"?(d.textContent=P.errorMsg,d.classList.add("visible")):M==="lname"&&(y.textContent=P.errorMsg,y.classList.add("visible"))}),u.addEventListener("click",()=>{let P=R(M);P.valid?$(i).trigger("submit"):(v.textContent=P.errorMsg,v.classList.add("visible"))}),$(i).on("submit",P=>{P.preventDefault(),o.setAttribute("data-subscribe-form-state","success"),o.removeAttribute("data-subscribe-form-step"),l.removeAttribute("disabled"),I=!0}),l.addEventListener("click",O),f.addEventListener("click",O),i.addEventListener("keydown",P=>{P.key==="Escape"&&(P.preventDefault(),O()),M!=="idle"&&M!=="done"&&P.key==="Enter"&&(P.preventDefault(),s.click())}),h.addEventListener("input",()=>{d.classList.remove("visible")}),_.addEventListener("input",()=>{y.classList.remove("visible")}),w.addEventListener("input",()=>{v.classList.remove("visible")})}function NS(o){document.documentElement.classList.add("overflow-clip");let t=document.querySelector(".v2-hero-circle"),i=document.querySelector(".v2-hero-branding"),n=document.querySelector(".v2-hero-date"),s=document.querySelector(".v2-hero-overlay"),u=document.querySelector(".v2-hero-buttons"),l=document.querySelector(".v2-hero-application-btns");je.timeline({onComplete:()=>{document.documentElement.classList.remove("overflow-clip"),o()}}).fromTo(t,{yPercent:-40,opacity:0},{yPercent:-50,opacity:1,duration:2,ease:"expo.inOut"}).fromTo(i,{scale:.5,opacity:0},{scale:1,opacity:1,duration:1.5,ease:"expo.inOut"},.5).fromTo(s,{filter:"blur(10px)",opacity:1},{filter:"blur(0px)",opacity:0,pointerEvents:"none",duration:1,ease:"power1.inOut"},1.3).fromTo([n,u,l],{filter:"blur(10px)",opacity:0},{filter:"blur(0px)",opacity:1,duration:1,ease:"power1.inOut",stagger:.2})}function vc(){fe.refresh(),fe.killAll(),window.innerWidth>478&&(BS(),WS())}function HS(){let o=og.default.debounce(()=>{vc()},300);window.addEventListener("resize",o),vc()}function BS(){let o=document.querySelector(".v2-hero"),t=document.querySelector(".v2-hero-circle"),i=document.querySelector(".v2-hero-branding"),n=document.querySelector(".main"),s=document.querySelector(".main-nav-fixed");je.to(o,{y:-window.innerHeight,scrollTrigger:{trigger:o,start:"top top",end:"bottom top",scrub:!0,markers:!1,pin:n,onLeave:()=>{s.classList.add("show")},onEnterBack:()=>{s.classList.remove("show")}}}),je.to(t,{yPercent:0,scrollTrigger:{trigger:i,start:"top 20%",scrub:!0,markers:!1}})}function WS(){let o=document.querySelector(".v2-hero"),t=document.querySelector(".main"),i=t.querySelector(".h2-sm"),n=t.querySelector(".hr"),s=t.querySelector(".p-xl");Lu&&Lu.revert(),Lu=Tn.create(s,{type:"words",mask:"words",wordsClass:"word"}),je.timeline({scrollTrigger:{trigger:o,start:"bottom 70%",markers:!1}}).fromTo(i,{y:"100%"},{y:"0%",duration:.6,ease:"power3.inOut",stagger:.01}).fromTo(i,{opacity:0},{opacity:1,duration:.6,ease:"power3.inOut",stagger:.01},"-=0.4").fromTo(n,{scaleX:0,transformOrigin:"top left"},{scaleX:1,duration:.6,ease:"power3.inOut"},"-=0.3").fromTo(Lu.words,{opacity:0},{opacity:1,duration:.5,ease:"power3.inOut",stagger:.01},"-=0.5")}function yc(){NS(()=>{HS(),FS()})}function bc(){let o=document.querySelectorAll("input"),t=document.querySelectorAll("textarea"),i=document.querySelectorAll("select");o.forEach(n=>{let s=n.getAttribute("name");if(s){let u=s.replace(/-/gi," ");u=u.replace("Nominee","Nominee's"),n.setAttribute("name",u)}}),t.forEach(n=>{let s=n.getAttribute("name");if(s){let u=s.replace(/-/gi," ");n.setAttribute("name",u)}}),i.forEach(n=>{let s=n.getAttribute("name");if(s){let u=s.replace(/-/gi," ");u=u.replace("Nominee","Nominee's"),n.setAttribute("name",u)}})}function wc(){let o=document.querySelector("#ig-preferred-pronouns"),t=o.querySelector(".embed"),i=o.querySelector("#preferred-pronouns"),n=o.querySelector(".input-group.is_pronouns"),s=n.querySelector("input"),u=o.querySelector(".input-clear-button");u.setAttribute("tabindex","-1"),s.setAttribute("tabindex","-1");let l=S=>{let{value:b}=S.target;b==="Other"&&(n.classList.add("visible"),u.removeAttribute("tabindex"),s.removeAttribute("tabindex"),t.classList.add("invisible"),s.focus())};i.addEventListener("change",l),u.addEventListener("click",()=>{s.value="",t.addEventListener("change",l),n.classList.remove("visible"),t.classList.remove("invisible"),u.setAttribute("tabindex","-1"),s.setAttribute("tabindex","-1"),i.selectedIndex=0,i.removeAttribute("data-value-is-not-empty")});let f=document.querySelector("#ig-preferred-pronouns-nominee"),h=f.querySelector(".embed"),d=f.querySelector("#preferred-pronouns-nominee"),_=f.querySelector(".input-group.is_pronouns"),y=_.querySelector("input"),w=f.querySelector(".input-clear-button");w.setAttribute("tabindex","-1"),y.setAttribute("tabindex","-1");let v=S=>{let{value:b}=S.target;b==="Other"&&(_.classList.add("visible"),w.removeAttribute("tabindex"),y.removeAttribute("tabindex"),h.classList.add("invisible"),y.focus())};d.addEventListener("change",v),w.addEventListener("click",()=>{y.value="",h.addEventListener("change",v),_.classList.remove("visible"),h.classList.remove("invisible"),w.setAttribute("tabindex","-1"),y.setAttribute("tabindex","-1"),d.selectedIndex=0,d.removeAttribute("data-value-is-not-empty")})}function xc(){Ko(),wc(),Go(),Vo([{elId:"#textarea-group-1",maxWords:100},{elId:"#textarea-group-2",maxWords:200},{elId:"#textarea-group-3",maxWords:100},{elId:"#textarea-group-4",maxWords:200},{elId:"#textarea-group-5",maxWords:100}]),Xo([{elId:"#mobile-phone-input-wrapper"},{elId:"#mobile-phone-input-wrapper-2"}]),Au("https://script.google.com/macros/s/AKfycbzDMnNRZ2wBp_gGSoGp9AdfZrdr6lP_-TJnJjL0zjC_Bosur3a6Ey9S1EuCZ1HTytykbw/exec","#wf-form-Speaker-Nomination-Form"),Uo(),bc()}function ag(){}var Sc={["/"]:yc,["/about"]:ng,["/privacy-policy"]:ag,["/application"]:gc,["/nomination"]:xc,["/clarity"]:sg,["/dev/home"]:yc,["/dev/application"]:gc,["/dev/nomination"]:xc};function ug(){let t=new URL(window.location.href).pathname;typeof Sc[t]=="function"&&Sc[t]()}function zS(){fc(),cc(),hc(),ug(),lc()}zS();})(); /*! Bundled license information: lodash/lodash.js: (** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors *) gsap/gsap-core.js: (*! * GSAP 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/CSSPlugin.js: (*! * CSSPlugin 3.13.0 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/Observer.js: (*! * Observer 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/ScrollTrigger.js: (*! * ScrollTrigger 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/SplitText.js: (*! * SplitText 3.13.0 * https://gsap.com * * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license. * @author: Jack Doyle *) */