PageSourceSearch

https://corelio.ai/_next/static/chunks/page-CFQ3mBUt.js

js corelio.ai collected 2026-10-05 13:44:26 UTC 162,038 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t,r as n}from"./framework-BaE7mD_r.js";import{AskCorelio as r}from"./AskCorelio-j8vxLwnQ.js";import{r as i,t as a}from"./consent-DfRL_M8J.js";import o from"./link-53yFsuke.js";var s=e(n(),1),c=`corelio_telemetry_session`,l;function u(){try{let e=sessionStorage.getItem(c);if(e&&/^[0-9a-f-]{36}$/i.test(e))return l=e;let t=l??=crypto.randomUUID();return sessionStorage.setItem(c,t),t}catch{return l??=crypto.randomUUID()}}function d(e,t={},n=!1){if(!i())return;let r=JSON.stringify({eventName:e,sessionId:u(),path:window.location.pathname,properties:t});n&&navigator.sendBeacon&&navigator.sendBeacon(`/api/events`,new Blob([r],{type:`application/json`}))||fetch(`/api/events`,{method:`POST`,headers:{"content-type":`application/json`},body:r,keepalive:!0}).catch(()=>void 0)}function f(){return(0,s.useEffect)(()=>{let e,t=()=>{if(!i()){e?.(),e=void 0;return}if(e)return;d(`page_view`,{referrer_type:document.referrer?new URL(document.referrer).origin===location.origin?`internal`:`external`:`direct`});let t=new Set,n=new Map,r=new IntersectionObserver(e=>{let r=Date.now();e.forEach(e=>{let i=e.target.dataset.telemetrySection;if(i)if(e.isIntersecting)n.set(i,r),t.has(i)||(t.add(i),d(`section_view`,{section:i}));else{let e=n.get(i);if(e){let t=r-e;t>=1e3&&d(`section_attention`,{section:i,duration_ms:t}),n.delete(i)}}})},{threshold:.55});document.querySelectorAll(`[data-telemetry-section]`).forEach(e=>r.observe(e));let a=new Set,o=()=>{let e=document.documentElement.scrollHeight-window.innerHeight;if(e<=0)return;let t=Math.round(window.scrollY/e*100);[25,50,75,90].forEach(e=>{t>=e&&!a.has(e)&&(a.add(e),d(`scroll_depth`,{depth:e}))})},s=()=>{let e=Date.now();n.forEach((t,n)=>{let r=e-t;r>=1e3&&d(`section_attention`,{section:n,duration_ms:r},!0)}),n.clear()};window.addEventListener(`scroll`,o,{passive:!0}),window.addEventListener(`pagehide`,s),e=()=>{s(),r.disconnect(),window.removeEventListener(`scroll`,o),window.removeEventListener(`pagehide`,s)}};return t(),window.addEventListener(a,t),()=>{window.removeEventListener(a,t),e?.()}},[]),null}function p(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var h={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},g={duration:.5,overwrite:!1,delay:0},_,v,y,b=1e8,x=1/b,S=Math.PI*2,C=S/4,w=0,T=Math.sqrt,E=Math.cos,D=Math.sin,O=function(e){return typeof e==`string`},k=function(e){return typeof e==`function`},A=function(e){return typeof e==`number`},j=function(e){return e===void 0},M=function(e){return typeof e==`object`},N=function(e){return e!==!1},P=function(){return!0},ee=function(e){return k(e)||O(e)},te=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},F=Array.isArray,ne=/random\([^)]+\)/g,re=/,\s*/g,ie=/(?:-?\.?\d|\.)+/gi,ae=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,oe=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,I=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,se=/[+-]=-?[.\d]+/,ce=/[^,'"\[\]\s]+/gi,le=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,L,R,ue,z,de={},B={},fe,pe=function(e){return(B=ze(e,de))&&ir},V=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},me=function(e,t){return!t&&console.warn(e)},he=function(e,t){return e&&(de[e]=t)&&B&&(B[e]=t)||de},ge=function(){return 0},_e={suppressEvents:!0,isStart:!0,kill:!1},H={suppressEvents:!0,kill:!1},ve={suppressEvents:!0},U={},ye=[],be={},xe,Se={},Ce={},we=30,Te=[],Ee=``,De=function(e){var t=e[0],n,r;if(M(t)||k(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Te.length;r--&&!Te[r].targetTest(t););n=Te[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new mn(e[r],n)))||e.splice(r,1);return e},Oe=function(e){return e._gsap||De(St(e))[0]._gsap},W=function(e,t,n){return(n=e[t])&&k(n)?e[t]():j(n)&&e.getAttribute&&e.getAttribute(t)||n},ke=function(e,t){return(e=e.split(`,`)).forEach(t)||e},G=function(e){return Math.round(e*1e5)/1e5||0},K=function(e){return Math.round(e*1e7)/1e7||0},Ae=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},je=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Me=function(){var e=ye.length,t=ye.slice(0),n,r;for(be={},ye.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Ne=function(e){return!!(e._initted||e._startAt||e.add)},Pe=function(e,t,n,r){ye.length&&!v&&Me(),e.render(t,n,r||!!(v&&t<0&&Ne(e))),ye.length&&!v&&Me()},Fe=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(ce).length<2?t:O(e)?e.trim():e},Ie=function(e){return e}
vendor: 3,384 bytes, line 1
1,Le=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Re=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},ze=function(e,t){for(var n in t)e[n]=t[n];return e},Be=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=M(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Ve=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},He=function(e){var t=e.parent||L,n=e.keyframes?Re(F(e.keyframes)):Le;if(N(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Ue=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},We=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},Ge=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Ke=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qe=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Je=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ye=function(e,t,n,r){return e._startAt&&(v?e._startAt.revert(H):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Xe=function e(t){return!t||t._ts&&e(t.parent)},Ze=function(e){return e._repeat?Qe(e._tTime,e=e.duration()+e._rDelay)*e:0},Qe=function(e,t){var n=Math.floor(e=K(e/t));return e&&n===e?n-1:n},$e=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},et=function(e){return e._end=K(e._start+(e._tDur/Math.abs(e._ts||e._rts||x)||0))},tt=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=K(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),et(e),n._dirty||qe(n,e)),e},nt=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=$e(e.rawTime(),t),(!t._dur||gt(0,t.totalDuration(),n)-t._tTime>x)&&t.render(n,!0)),qe(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-x}},rt=function(e,t,n,r){return t.parent&&Ke(t),t._start=K((A(n)?n:n||e!==L?pt(e,n,t):e._time)+t._delay),t._end=K(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),We(e,t,`_first`,`_last`,e._sort?`_start`:0),st(t)||(e._recent=t),r||nt(e,t),e._ts<0&&tt(e,e._tTime),e},it=function(e,t){return(de.ScrollTrigger||V(`scrollTrigger`,t))&&de.ScrollTrigger.create(t,e)},at=function(e,t,n,r,i){if(Cn(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!v&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&xe!==en.frame)return ye.push(e),e._lazy=[i,r],1},ot=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},st=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},ct=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&ot(e)&&!(!e._initted&&st(e))||(e._ts<0||e._dp._ts<0)&&!st(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=gt(0,e._tDur,t),l=Qe(s,o),e._yoyo&&l&1&&(a=1-a),l!==Qe(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 34,615 bytes, line 1
1date())),a!==i||v||r||e._zTime===x||!t&&e._zTime){if(!e._initted&&at(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?x:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Ye(e,t,n,!0),e._onUpdate&&!n&&zt(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&zt(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Ke(e,1),!n&&!v&&(zt(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},lt=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},ut=function(e,t,n,r){var i=e._repeat,a=K(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:K(a*(i+1)+e._rDelay*i):a,o>0&&!r&&tt(e,e._tTime=e._tDur*o),e.parent&&et(e),n||qe(e.parent,e),e},dt=function(e){return e instanceof gn?qe(e):ut(e,e._dur)},ft={_start:0,endTime:ge,totalDuration:ge},pt=function e(t,n,r){var i=t.labels,a=t._recent||ft,o=t.duration()>=b?a.endTime(!1):t._dur,s,c,l;return O(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(F(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},mt=function(e,t,n){var r=A(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=N(s.vars.inherit)&&s.parent;a.immediateRender=N(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new An(t[0],a,t[i+1])},ht=function(e,t){return e||e===0?t(e):t},gt=function(e,t,n){return n<e?e:n>t?t:n},_t=function(e,t){return!O(e)||!(t=le.exec(e))?``:t[1]},vt=function(e,t,n){return ht(n,function(n){return gt(e,t,n)})},yt=[].slice,bt=function(e,t){return e&&M(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&M(e[0]))&&!e.nodeType&&e!==R},xt=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return O(e)&&!t||bt(e,1)?(r=n).push.apply(r,St(e)):n.push(e)})||n},St=function(e,t,n){return y&&!t&&y.selector?y.selector(e):O(e)&&!n&&(ue||!tn())?yt.call((t||z).querySelectorAll(e),0):F(e)?xt(e,n):bt(e)?yt.call(e,0):e?[e]:[]},Ct=function(e){return e=St(e)[0]||me(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return St(t,n.querySelectorAll?n:n===e?me(`Invalid scope`)||z.createElement(`div`):e)}},wt=function(e){return e.sort(function(){return .5-Math.random()})},Tt=function(e){if(k(e))return e;var t=M(e)?e:{each:e},n=ln(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return O(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,x,S,C;if(!p){if(C=t.grid===`auto`?0:(t.grid||[1,b])[1],!C){for(x=-b;x<(x=d[C++].getBoundingClientRect().left)&&C<f;);C<f&&C--}for(p=a[f]=[],m=s?Math.min(C,f)*l-.5:r%C,h=C===b?0:s?f*u/C-.5:r/C|0,x=0,S=b,y=0;y<f;y++)g=y%C-m,_=h-(y/C|0),p[y]=v=c?Math.abs(c===`y`?_:g):T(g*g+_*_),v>x&&(x=v),v<S&&(S=v);r===`random`&&wt(p),p.max=x-S,p.min=S,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(C>f?f-1:c?c===`y`?f/C:C:Math.max(C,f/C))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=_t(t.amount||t.each)||0,n=n&&f<0?cn(n):n}return f=(p[e]-p.min)/p.max||0,K(p.b+(n?n(f):f)*p.v)+p.u}},Et=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=K(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(A(n)?0:_t(n))}},Dt=function(e,t){var n=F(e),r,i;return!n&&M(e)&&(r=n=e.radius||b,e.values?(e=St(e.values),(i=!A(e[0]))&&(r*=r)):e=Et(e.increment)),ht(t,n?k(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=b,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||A(t)?s:s+_t(t)}:Et(e))},Ot=function(e,t,n,r){return ht(F(e)?!t:n===!0?!!(n=0):!r,function(){return F(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},kt=function(){var e=[...arguments];return function(t){return e.reduce(function(e,t){return t(e)},t)}},At=function(e,t){return function(n){return e(parseFloat(n))+(t||_t(n))}},jt=function(e,t,n){return It(e,t,0,1,n)},Mt=function(e,t,n){return ht(n,function(n){return e[~~t(n)]})},Nt=function e(t,n,r){var i=n-t;return F(t)?Mt(t,e(0,t.length),n):ht(r,function(e){return(i+(e-t)%i)%i+t})},Pt=function e(t,n,r){var i=n-t,a=i*2;return F(t)?Mt(t,e(0,t.length-1),n):ht(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},Ft=function(e){return e.replace(ne,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(re);return Ot(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},It=function(e,t,n,r,i){var a=t-e,o=r-n;return ht(i,function(t){return n+((t-e)/a*o||0)})},Lt=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=O(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(F(t)&&!F(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=ze(F(t)?[]:{},t));if(!u){for(c in n)vn.call(s,t,c,`get`,n[c]);a=function(e){return zn(e,s)||(o?t.p:t)}}}return ht(r,a)},Rt=function(e,t,n){var r=e.labels,i=b,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},zt=function(e,t,n){var r=e.vars,i=r[t],a=y,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&ye.length&&Me(),o&&(y=o),l=s?i.apply(c,s):i.call(c),y=a,l},Bt=function(e){return Ke(e),e.scrollTrigger&&e.scrollTrigger.kill(!!v),e.progress()<1&&zt(e,`onInterrupt`),e},Vt,Ht=[],Ut=function(e){if(e)if(e=!e.name&&e.default||e,P()||e.headless){var t=e.name,n=k(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:ge,render:zn,add:vn,kill:Vn,modifier:Bn,rawVars:0},a={targetTest:0,get:0,getSetter:Fn,aliases:{},register:0};if(tn(),e!==r){if(Se[t])return;Le(r,Le(Ve(e,i),a)),ze(r.prototype,ze(i,Ve(e,a))),Se[r.prop=t]=r,e.targetTest&&(Te.push(r),U[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}he(t,r),e.register&&e.register(ir,r,Wn)}else Ht.push(e)},Wt=255,Gt={aqua:[0,Wt,Wt],lime:[0,Wt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Wt],navy:[0,0,128],white:[Wt,Wt,Wt],olive:[128,128,0],yellow:[Wt,Wt,0],orange:[Wt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Wt,0,0],pink:[Wt,192,203],cyan:[0,Wt,Wt],transparent:[Wt,Wt,Wt,0]},Kt=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*Wt+.5|0},qt=function(e,t,n){var r=e?A(e)?[e>>16,e>>8&Wt,e&Wt]:0:Gt.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Gt[e])r=Gt[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&Wt,r&Wt,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&Wt,e&Wt]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(ie),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=Kt(s+1/3,i,a),r[1]=Kt(s,i,a),r[2]=Kt(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(ae),n&&r.length<4&&(r[3]=1),r}else r=e.match(ie)||Gt.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/Wt,a=r[1]/Wt,o=r[2]/Wt,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Jt=function(e){var t=[],n=[],r=-1;return e.split(Xt).forEach(function(e){var i=e.match(oe)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Yt=function(e,t,n){var r=``,i=(e+r).match(Xt),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=qt(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Jt(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(Xt,`1`).split(oe),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(Xt),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Xt=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Gt)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),Zt=/hsl[a]?\(/,Qt=function(e){var t=e.join(` `),n;if(Xt.lastIndex=0,Xt.test(t))return n=Zt.test(t),e[1]=Yt(e[1],n),e[0]=Yt(e[0],n,Jt(e[1])),!0},$t,en=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){fe&&(!ue&&P()&&(R=ue=window,z=R.document||{},de.gsap=ir,(R.gsapVersions||=[]).push(ir.version),pe(B||R.GreenSockGlobals||!R.gsap&&R||{}),Ht.forEach(Ut)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},$t=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),$t=0,l=ge},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),tn(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),tn=function(){return!$t&&en.wake()},q={},nn=/^[\d.\-M][\d.\-,\s]/,rn=/["']/g,an=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(rn,``).trim():+c,r=s.substr(o+1).trim();return t},on=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},sn=function(e){var t=(e+``).split(`(`),n=q[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[an(t[1])]:on(e).split(`,`).map(Fe)):q._CE&&nn.test(e)?q._CE(``,e):n},cn=function(e){return function(t){return 1-e(1-t)}},ln=function(e,t){return e&&(k(e)?e:q[e]||sn(e))||t},un=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return ke(e,function(e){for(var t in q[e]=de[e]=i,q[a=e.toLowerCase()]=n,i)q[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=q[e+`.`+t]=i[t]}),i},dn=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},fn=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/S*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*D((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:dn(s);return a=S/a,c.config=function(n,r){return e(t,n,r)},c},pn=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:dn(r);return i.config=function(n){return e(t,n)},i};ke(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;un(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),q.Linear.easeNone=q.none=q.Linear.easeIn,un(`Elastic`,fn(`in`),fn(`out`),fn()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};un(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),un(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),un(`Circ`,function(e){return-(T(1-e*e)-1)}),un(`Sine`,function(e){return e===1?1:-E(e*C)+1}),un(`Back`,pn(`in`),pn(`out`),pn()),q.SteppedEase=q.steps=de.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-x;return function(e){return((r*gt(0,a,e)|0)+i)*n}}},g.ease=q[`quad.out`],ke(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return Ee+=e+`,`+e+`Params,`});var mn=function(e,t){this.id=w++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:W,this.set=t?t.getSetter:Fn},hn=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,ut(this,+e.duration,1,1),this.data=e.data,y&&(this._ctx=y,y.data.push(this)),$t||en.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,ut(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(tn(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(tt(this,e),!n._dp||n.parent||nt(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&rt(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===x||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Pe(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ze(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Ze(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Qe(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-x?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?$e(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-x?0:this._rts,this.totalTime(gt(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),et(this),Je(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(tn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==x&&(this._tTime-=x)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=K(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&rt(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(N(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?$e(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=ve);var t=v;return v=e,Ne(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),v=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,dt(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,dt(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(pt(this,e),N(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,N(t)),this._dur||(this._zTime=-x),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-x:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-x,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-x)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=k(e)?e:Ie,a=function(){var e=t.then;t.then=null,n&&n(),k(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){Bt(this)},e}();Le(hn.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:-x,_prom:0,_ps:!1,_rts:1});var gn=function(e){m(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=N(t.sortChildren),L&&rt(t.parent||L,p(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&it(p(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return mt(0,arguments,this),this},n.from=function(e,t,n){return mt(1,arguments,this),this},n.fromTo=function(e,t,n,r){return mt(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,He(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new An(e,t,pt(this,n),1),this},n.call=function(e,t,n){return rt(this,An.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new An(e,n,pt(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,He(n).immediateRender=N(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,He(r).immediateRender=N(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:K(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,y,b;if(this!==L&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(y=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=K(o%f),o===i?(d=this._repeat,c=a):(_=K(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=Qe(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),y&&d&1&&(c=a-c,b=1),d!==_&&!this._lock){var S=y&&_&1,C=S===(y&&d&1);if(d<_&&(S=!S),r=S?0:o%a?a:o,this._lock=1,this.render(r||(b?0:K(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&zt(this,`onRepeat`),this.vars.repeatRefresh&&!b&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,C&&(this._lock=2,r=S?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!b&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=lt(this,K(r),K(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(zt(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-x);break}}l=u}else{l=this._last;for(var w=e<0?e:c;l;){if(u=l._prev,(l._act||w<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(w-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(w-l._start)*l._ts,t,n||v&&Ne(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=w?-x:x);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-x)._zTime=c>=r?1:-1,this._ts))return this._start=g,et(this),this.render(e,t,n);this._onUpdate&&!t&&zt(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&Ke(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(zt(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(A(t)||(t=pt(this,t,e)),!(e instanceof hn)){if(F(e))return e.forEach(function(e){return n.add(e,t)}),this;if(O(e))return this.addLabel(e,t);if(k(e))e=An.delayedCall(0,e);else return this}return this===e?this:rt(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-b);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof An?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return O(e)?this.removeLabel(e):k(e)?this.killTweensOf(e):(e.parent===this&&Ge(this,e),e===this._recent&&(this._recent=this._last),qe(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=K(en.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=pt(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=An.delayedCall(0,t||ge,n);return r.data=`isPause`,this._hasPause=1,rt(this,r,pt(this,e))},n.removePause=function(e){var t=this._first;for(e=pt(this,e);t;)t._start===e&&t.data===`isPause`&&Ke(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)xn!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=St(e),i=this._first,a=A(t),o;i;)i instanceof An?je(i._targets,r)&&(a?(!xn||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=pt(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=An.to(n,Le({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||x,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&ut(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Le({startAt:{time:pt(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Rt(this,pt(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Rt(this,pt(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+x)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=K(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return qe(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),qe(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=b,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,rt(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=K(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;ut(n,n===L&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(L._ts&&(Pe(L,$e(e,L)),xe=en.frame),en.frame>=we){we+=h.autoSleep||120;var t=L._first;if((!t||!t._ts)&&h.autoSleep&&en._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||en.sleep()}}},t}(hn);Le(gn.prototype,{_lock:0,_hasPause:0,_forcing:0});var _n=function(e,t,n,r,i,a,o){var s=new Wn(this._pt,e,t,0,1,Rn,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=Ft(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(I)||[];u=I.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?Ae(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=I.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(se.test(r)||g)&&(s.e=0),this._pt=s,s},vn=function(e,t,n,r,i,a,o,s,c,l){k(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?k(u)?c?e[t.indexOf(`set`)||!k(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=k(u)?c?Nn:Mn:jn,p;if(O(r)&&(~r.indexOf(`random(`)&&(r=Ft(r)),r.charAt(1)===`=`&&(p=Ae(d,r)+(_t(d)||0),(p||p===0)&&(r=p))),!l||d!==r||Sn)return!isNaN(d*r)&&r!==``?(p=new Wn(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Ln:In,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&V(t,r),_n.call(this,e,t,d,r,f,s||h.stringFilter,c))},yn=function(e,t,n,r,i){if(k(e)&&(e=Dn(e,i,t,n,r)),!M(e)||e.style&&e.nodeType||F(e)||te(e))return O(e)?Dn(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=Dn(e[o],i,t,n,r);return a},bn=function(e,t,n,r,i,a){var o,s,c,l;if(Se[e]&&(o=new Se[e]).init(i,o.rawVars?t[e]:yn(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Wn(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Vt))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},xn,Sn,Cn=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,y=t._targets,S=t.parent,C=S&&S.data===`nested`?S.vars.targets:y,w=t._overwrite===`auto`&&!_,T=t.timeline,E=i.easeReverse||d,D,O,k,A,j,M,P,ee,te,F,ne,re,ie;if(T&&(!f||!a)&&(a=`none`),t._ease=ln(a,g.ease),t._rEase=E&&(ln(E)||t._ease),t._from=!T&&!!i.runBackwards,t._from&&(t.ratio=1),!T||f&&!i.stagger){if(ee=y[0]?Oe(y[0]).harness:0,re=ee&&i[ee.prop],D=Ve(i,U),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?H:_e),h._lazy=0),o){if(Ke(t._startAt=An.set(y,Le({data:`isStart`,overwrite:!1,parent:S,immediateRender:!0,lazy:!h&&N(c),startAt:null,delay:0,onUpdate:l&&function(){return zt(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(v||!s&&!p)&&t._startAt.revert(H),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),k=Le({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&N(c),immediateRender:s,stagger:0,parent:S},D),re&&(k[ee.prop]=re),Ke(t._startAt=An.set(y,k)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(v?t._startAt.revert(H):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,x,x);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&N(c)||c&&!m,O=0;O<y.length;O++){if(j=y[O],P=j._gsap||De(y)[O]._gsap,t._ptLookup[O]=F={},be[P.id]&&ye.length&&Me(),ne=C===y?O:C.indexOf(j),ee&&(te=new ee).init(j,re||D,t,ne,C)!==!1&&(t._pt=A=new Wn(t._pt,j,te.name,0,1,te.render,te,0,te.priority),te._props.forEach(function(e){F[e]=A}),te.priority&&(M=1)),!ee||re)for(k in D)Se[k]&&(te=bn(k,D,t,ne,j,C))?te.priority&&(M=1):F[k]=A=vn.call(t,j,k,`get`,D[k],ne,C,0,i.stringFilter);t._op&&t._op[O]&&t.kill(j,t._op[O]),w&&t._pt&&(xn=t,L.killTweensOf(j,F,t.globalTime(n)),ie=!t.parent,xn=0),t._pt&&c&&(be[P.id]=1)}M&&Un(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ie,f&&n<=0&&T.render(b,!0,!0)},wn=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return Sn=1,e.vars[t]=`+=0`,Cn(e,o),Sn=0,s?me(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=G(n)+_t(u.e),u.b&&=l.s+_t(u.b)},Tn=function(e,t){var n=e[0]?Oe(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=ze({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},En=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(F(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},Dn=function(e,t,n,r,i){return k(e)?e.call(t,n,r,i):O(e)&&~e.indexOf(`random(`)?Ft(e):e},On=Ee+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,kn={};ke(On+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return kn[e]=1});var An=function(e){m(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:He(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,m=o.defaults,g=o.scrollTrigger,v=n.parent||L,y=(F(t)||te(t)?A(t[0]):`length`in n)?[t]:St(t),b,S,C,w,T,E,D,O;if(a._targets=y.length?De(y):me(`GSAP target `+t+` not found. https://gsap.com`,!h.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||ee(s)||ee(c)){n=a.vars;var k=n.easeReverse||n.yoyoEase;if(b=a.timeline=new gn({data:`nested`,defaults:m||{},targets:v&&v.data===`nested`?v.vars.targets:y}),b.kill(),b.parent=b._dp=p(a),b._start=0,u||ee(s)||ee(c)){if(w=y.length,D=u&&Tt(u),M(u))for(T in u)~On.indexOf(T)&&(O||={},O[T]=u[T]);for(S=0;S<w;S++)C=Ve(n,kn),C.stagger=0,k&&(C.easeReverse=k),O&&ze(C,O),E=y[S],C.duration=+Dn(s,p(a),S,E,y),C.delay=(+Dn(c,p(a),S,E,y)||0)-a._delay,!u&&w===1&&C.delay&&(a._delay=c=C.delay,a._start+=c,C.delay=0),b.to(E,C,D?D(S,E,y):0),b._ease=q.none;b.duration()?s=c=0:a.timeline=0}else if(f){He(Le(b.vars.defaults,{ease:`none`})),b._ease=ln(f.ease||n.ease||`none`);var j=0,P,ne,re;if(F(f))f.forEach(function(e){return b.to(y,e,`>`)}),b.duration();else{for(T in C={},f)T===`ease`||T===`easeEach`||En(T,f[T],C,f.easeEach);for(T in C)for(P=C[T].sort(function(e,t){return e.t-t.t}),j=0,S=0;S<P.length;S++)ne=P[S],re={ease:ne.e,duration:(ne.t-(S?P[S-1].t:0))/100*s},re[T]=ne.v,b.to(y,re,j),j+=re.duration;b.duration()<s&&b.to({},{duration:s-b.duration()})}}s||a.duration(s=b.duration())}else a.timeline=0;return d===!0&&!_&&(xn=p(a),L.killTweensOf(y),xn=0),rt(v,p(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===K(v._time)&&N(l)&&Xe(p(a))&&v.data!==`nested`)&&(a._tTime=-x,a.render(Math.max(0,-c)||0)),g&&it(p(a),g),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-x&&!o?i:e<x?0:e,c,l,u,d,f,p,m,h;if(!a)ct(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=K(s%d),s===i?(u=this._repeat,c=a):(f=K(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=Qe(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(K(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(at(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(zt(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&Ye(this,e,t,n),zt(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&zt(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Ye(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Ke(this,1),!t&&!(o&&!r)&&(s||r||p)&&(zt(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){$t||en.wake(),this._ts||this.play();
vendor: 5,049 bytes, line 1
1var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||Cn(this,a),o=this._ease(a/this._dur),wn(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(tt(this,0),this.parent||We(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?Bt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!v),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,xn&&xn.vars.overwrite!==!0)._first||Bt(this),this.parent&&n!==this.timeline.totalDuration()&&ut(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?St(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Ue(r,i))return t===`all`&&(this._pt=0),Bt(this);for(s=this._op=this._op||[],t!==`all`&&(O(t)&&(d={},ke(t,function(e){return d[e]=1}),t=d),t=Tn(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&Ge(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&Bt(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return mt(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return mt(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return L.killTweensOf(e,t,n)},t}(hn);Le(An.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ke(`staggerTo,staggerFrom,staggerFromTo`,function(e){An[e]=function(){var t=new gn,n=yt.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var jn=function(e,t,n){return e[t]=n},Mn=function(e,t,n){return e[t](n)},Nn=function(e,t,n,r){return e[t](r.fp,n)},Pn=function(e,t,n){return e.setAttribute(t,n)},Fn=function(e,t){return k(e[t])?Mn:j(e[t])&&e.setAttribute?Pn:jn},In=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Ln=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Rn=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},zn=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Bn=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},Vn=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Ge(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Hn=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Un=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Wn=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||In,this.d=o||this,this.set=s||jn,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Hn,this.m=e,this.mt=n,this.tween=t},e}();ke(Ee+`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,easeReverse`,function(e){return U[e]=1}),de.TweenMax=de.TweenLite=An,de.TimelineLite=de.TimelineMax=gn,L=new gn({sortChildren:!1,defaults:g,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),h.stringFilter=Qt;var Gn=[],Kn={},qn=[],Jn=0,Yn=0,Xn=function(e){return(Kn[e]||qn).map(function(e){return e()})},Zn=function(){var e=Date.now(),t=[];e-Jn>2&&(Xn(`matchMediaInit`),Gn.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=R.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Xn(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Jn=e,Xn(`matchMedia`))},Qn=function(){function e(e,t){this.selector=t&&Ct(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Yn++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){k(e)&&(n=t,t=e,e=k);var r=this,i=function(){var e=y,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=Ct(n)),y=r,a=t.apply(r,arguments),k(a)&&r._r.push(a),y=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===k?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=y;y=null,e(this),y=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof An&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEac
1h(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof gn?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof An)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=Gn.length;r--;)Gn[r].id===this.id&&Gn.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),$n=function(){function e(e){this.contexts=[],this.scope=e,y&&y.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){M(e)||(e={matches:e});var r=new Qn(0,n||this.scope),i=r.conditions={},a,o,s;for(o in y&&!r.selector&&(r.selector=y.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=R.matchMedia(e[o]),a&&(Gn.indexOf(r)<0&&Gn.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Zn):a.addEventListener(`change`,Zn)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})}
vendor: 8,702 bytes, line 1
1,t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),er={registerPlugin:function(){[...arguments].forEach(function(e){return Ut(e)})},timeline:function(e){return new gn(e)},getTweensOf:function(e,t){return L.getTweensOf(e,t)},getProperty:function(e,t,n,r){O(e)&&(e=St(e)[0]);var i=Oe(e||{}).get,a=n?Ie:Fe;return n===`native`&&(n=``),e&&(t?a((Se[t]&&Se[t].get||i)(e,t,n,r)):function(t,n,r){return a((Se[t]&&Se[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=St(e),e.length>1){var r=e.map(function(e){return ir.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Se[t],o=Oe(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Vt._pt=0,r.init(e,n?t+n:t,Vt,0,[e]),r.render(1,r),Vt._pt&&zn(1,Vt)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=ir.to(e,Le((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return L.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ln(e.ease,g.ease)),Be(g,e||{})},config:function(e){return Be(h,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Se[e]&&!de[e]&&me(t+` effect requires `+e+` plugin.`)}),Ce[t]=function(e,t,r){return n(St(e),Le(t||{},i),r)},a&&(gn.prototype[t]=function(e,n,r){return this.add(Ce[t](e,M(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){q[e]=ln(t)},parseEase:function(e,t){return arguments.length?ln(e,t):q},getById:function(e){return L.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new gn(e),r,i;for(n.smoothChildTiming=N(e.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,(t||!(!r._dur&&r instanceof An&&r.vars.onComplete===r._targets[0]))&&rt(n,r,r._start-r._delay),r=i;return rt(L,n,0),n},context:function(e,t){return e?new Qn(e,t):y},matchMedia:function(e){return new $n(e)},matchMediaRefresh:function(){return Gn.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Zn()},addEventListener:function(e,t){var n=Kn[e]||(Kn[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Kn[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:Nt,wrapYoyo:Pt,distribute:Tt,random:Ot,snap:Dt,normalize:jt,getUnit:_t,clamp:vt,splitColor:qt,toArray:St,selector:Ct,mapRange:It,pipe:kt,unitize:At,interpolate:Lt,shuffle:wt},install:pe,effects:Ce,ticker:en,updateRoot:gn.updateRoot,plugins:Se,globalTimeline:L,core:{PropTween:Wn,globals:he,Tween:An,Timeline:gn,Animation:hn,getCache:Oe,_removeLinkedListItem:Ge,reverting:function(){return v},context:function(e){return e&&y&&(y.data.push(e),e._ctx=y),y},suppressOverwrites:function(e){return _=e}}};ke(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return er[e]=An[e]}),en.add(gn.updateRoot),Vt=er.to({},{duration:0});var tr=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},nr=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=tr(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},rr=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(O(n)&&(r={},ke(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}nr(e,n)}}}},ir=er.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)v?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},rr(`roundProps`,Et),rr(`modifiers`),rr(`snap`,Dt))||er;An.version=gn.version=ir.version=`3.15.0`,fe=1,P()&&tn(),q.Power0,q.Power1,q.Power2,q.Power3,q.Power4,q.Linear,q.Quad,q.Cubic,q.Quart,q.Quint,q.Strong,q.Elastic,q.Back,q.SteppedEase,q.Bounce,q.Sine,q.Expo,q.Circ;var ar,or,sr,cr,lr,ur,dr,fr=function(){return!0},pr={},mr=180/Math.PI,hr=Math.PI/180,gr=Math.atan2,_r=1e8,vr=/([A-Z])/g,yr=/(left|right|width|margin|padding|x)/i,br=/[\s,\(]\S/,xr={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},Sr=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Cr=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},wr=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Tr=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Er=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Dr=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Or=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},kr=function(e,t,n){return e.style[t]=n},Ar=function(e,t,n){return e.style.setProperty(t,n)},jr=function(e,t,n){return e._gsap[t]=n},Mr=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Nr=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},Pr=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},Fr=`transform`,Ir=Fr+`Origin`,Lr=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in pr&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=xr[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=ni(i,e)}):this.tfm[t]=o.x?o[t]:ni(i,t),t===Ir&&(this.tfm.zOrigin=o.zOrigin);else return xr.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(Fr)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Ir,n,``)),t=Fr}(a||n)&&this.props.push(t,n,a[t])},Rr=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},zr=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(vr,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=dr(),(!i||!i.isStart)&&!n[Fr]&&(Rr(n),r.zOrigin&&n[Ir]&&(n[Ir]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Br=function(e,t){var n={target:e,props:[],revert:zr,save:Lr};return e._gsap||ir.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Vr,Hr=function(e,t){var n=or.createElementNS?or.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):or.createElement(e);return n&&n.style?n:or.createElement(e)},Ur=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(vr,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Gr(n)||n,1)||``},Wr=`O,Moz,ms,Ms,Webkit`.split(`,`),Gr=function(e,t,n){var r=(t||lr).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Wr[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?Wr[i]:``)+e},Kr=function(){fr()&&window.document&&(ar=window,or=ar.document,sr=or.documentElement,lr=Hr(`div`)||{style:{}},Hr(`div`),Fr=Gr(Fr),Ir=Fr+`Origin`,lr.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Vr=!!Gr(`perspective`),dr=ir.core.reverting,cr=1)},qr=function(e){var t=e.ownerSVGElement,n=Hr(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),sr.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),sr.removeChild(n),i},Jr=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Yr=function(e){var t,n;try{t=e.getBBox()}catch{t=qr(e),n=1}return t&&(t.width||t.height)||n||(t=qr(e)),t&&!t.width&&!t.x&&!t.y?{x:+Jr(e,[`x`,`cx`,`x1`])||0,y:+Jr(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Xr=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Yr(e))},Zr=function(e,t){if(t){var n=e.style,r;t in pr&&t!==Ir&&(t=Fr),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(vr,`-$1`).toLowerCase())):n.removeAttribute(t)}},Qr=function(e,t,n,r,i,a){var o=new Wn(e._pt,t,n,0,1,a?Or:Dr);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},$r={deg:1,rad:1,turn:1},ei={grid:1,flex:1},ti=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=lr.style,c=yr.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||$r[i]||$r[o])return a;
vendor: 4,917 bytes, line 1
1if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Xr(t),(p||o===`%`)&&(pr[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],G(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===or||!h.appendChild)&&(h=or.body),g=h._gsap,g&&p&&g.width&&c&&g.time===en.time&&!g.uncache)return G(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:Zr(t,n)}else (p||o===`%`)&&!ei[Ur(h,`display`)]&&(s.position=Ur(t,`position`)),h===t&&(s.position=`static`),h.appendChild(lr),m=lr[u],h.removeChild(lr),s.position=`absolute`;return c&&p&&(g=Oe(h),g.time=en.time,g.width=h[u]),G(f?m*a/d:m&&a?d/m*a:0)},ni=function(e,t,n,r){var i;return cr||Kr(),t in xr&&t!==`transform`&&(t=xr[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),pr[t]&&t!==`transform`?(i=mi(e,r),i=t===`transformOrigin`?i.svg?i.origin:hi(Ur(e,Ir))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=si[t]&&si[t](e,t,n)||Ur(e,t)||W(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?ti(e,t,i,n)+n:i},ri=function(e,t,n,r){if(!n||n===`none`){var i=Gr(t,e,1),a=i&&Ur(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Ur(e,`borderTopColor`))}var o=new Wn(this._pt,e.style,t,0,1,Rn),s=0,c=0,l,u,d,f,p,m,g,_,v,y,b,x;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Ur(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Ur(e,t)||r,m?e.style[t]=m:Zr(e,t)),l=[n,r],Qt(l),n=l[0],r=l[1],d=n.match(oe)||[],x=r.match(oe)||[],x.length){for(;u=oe.exec(r);)g=u[0],v=r.substring(s,u.index),p?p=(p+1)%5:(v.substr(-5)===`rgba(`||v.substr(-5)===`hsla(`)&&(p=1),g!==(m=d[c++]||``)&&(f=parseFloat(m)||0,b=m.substr((f+``).length),g.charAt(1)===`=`&&(g=Ae(f,g)+b),_=parseFloat(g),y=g.substr((_+``).length),s=oe.lastIndex-y.length,y||(y=y||h.units[t]||b,s===r.length&&(r+=y,o.e+=y)),b!==y&&(f=ti(e,t,m,y)||0),o._pt={_next:o._pt,p:v||c===1?v:`,`,s:f,c:_-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?Or:Dr;return se.test(r)&&(o.e=0),this._pt=o,o},ii={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},ai=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=ii[n]||n,t[1]=ii[r]||r,t.join(` `)},oi=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],pr[o]&&(s=1,o=o===`transformOrigin`?Ir:Fr),Zr(n,o);s&&(Zr(n,Fr),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,mi(n,1),a.uncache=1,Rr(r)))}},si={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Wn(e._pt,t,n,0,0,oi);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},ci=[1,0,0,1,0,0],li={},ui=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},di=function(e){var t=Ur(e,Fr);return ui(t)?ci:t.substr(7).match(ae).map(G)},fi=function(e,t){var n=e._gsap||Oe(e),r=e.style,i=di(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?ci:i):(i===ci&&!e.offsetParent&&e!==sr&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,sr.appendChild(e)),i=di(e),s?r.display=s:Zr(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):sr.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},pi=function(e,t,n,r,i,a){var o=e._gsap,s=i||fi(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==ci&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Yr(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Ir]=`0px 0px`,a&&(Qr(a,o,`xOrigin`,c,y),Qr(a,o,`yOrigin`,l,b),Qr(a,o,`xOffset`,u,o.xOffset),Qr(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},mi=function(e,t){var n=e._gsap||new mn(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Ur(e,Ir)||`0`,l=u=d=m=g=_=v=y=b=0,u,d,f=p=1,p,m,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,ee,te,F,ne,re,ie,ae;return n.svg=!!(e.getCTM&&Xr(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[Fr]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`
1none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[Fr]===`none`?``:s[Fr])),r.scale=r.rotate=r.translate=`none`),C=fi(e,n.svg),n.svg&&(n.uncache?(P=e.getBBox(),c=n.xOrigin-P.x+`px `+(n.yOrigin-P.y)+`px`,N=``):N=!t&&e.getAttribute(`data-svg-origin`),pi(e,N||c,!!N||n.originIsAbsolute,n.smooth!==!1,C)),x=n.xOrigin||0,S=n.yOrigin||0,C!==ci&&(D=C[0],O=C[1],k=C[2],A=C[3],l=j=C[4],u=M=C[5],C.length===6?(f=Math.sqrt(D*D+O*O),p=Math.sqrt(A*A+k*k),m=D||O?gr(O,D)*mr:0,v=k||A?gr(k,A)*mr+m:0,v&&(p*=Math.abs(Math.cos(v*hr))),n.svg&&(l-=x-(x*D+S*k),u-=S-(x*O+S*A))):(ae=C[6],re=C[7],te=C[8],F=C[9],ne=C[10],ie=C[11],l=C[12],u=C[13],d=C[14],w=gr(ae,ne),g=w*mr,w&&(T=Math.cos(-w),E=Math.sin(-w),N=j*T+te*E,P=M*T+F*E,ee=ae*T+ne*E,te=j*-E+te*T,F=M*-E+F*T,ne=ae*-E+ne*T,ie=re*-E+ie*T,j=N,M=P,ae=ee),w=gr(-k,ne),_=w*mr,w&&(T=Math.cos(-w),E=Math.sin(-w),N=D*T-te*E,P=O*T-F*E,ee=k*T-ne*E,ie=A*E+ie*T,D=N,O=P,k=ee),w=gr(O,D),m=w*mr,w&&(T=Math.cos(w),E=Math.sin(w),N=D*T+O*E,P=j*T+M*E,O=O*T-D*E,M=M*T-j*E,D=N,j=P),g&&Math.abs(g)+Math.abs(m)>359.9&&(g=m=0,_=180-_),f=G(Math.sqrt(D*D+O*O+k*k)),p=G(Math.sqrt(M*M+ae*ae)),w=gr(j,M),v=Math.abs(w)>2e-4?w*mr:0,b=ie?1/(ie<0?-ie:ie):0),n.svg&&(N=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!ui(Ur(e,Fr)),N&&e.setAttribute(`transform`,N))),Math.abs(v)>90&&Math.abs(v)<270&&(i?(f*=-1,v+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=G(f),n.scaleY=G(p),n.rotation=G(m)+o,n.rotationX=G(g)+o,n.rotationY=G(_)+o,n.skewX=v+o,n.skewY=y+o,n.transformPerspective=b+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Ir]=hi(c)),n.xOffset=n.yOffset=0,n.force3D=h.force3D,n.renderTransform=n.svg?Si:Vr?xi:_i,n.uncache=0,n},hi=function(e){return(e=e.split(` `))[0]+` `+e[1]},gi=function(e,t,n){var r=_t(t);return G(parseFloat(t)+parseFloat(ti(e,`x`,n+`px`,r)))+r},_i=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,xi(e,t)},vi=`0deg`,yi=`0px`,bi=`) `,xi=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==vi||l!==vi)){var x=parseFloat(l)*hr,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*hr,w=Math.cos(x),a=gi(_,a,S*w*-v),o=gi(_,o,-Math.sin(x)*-v),s=gi(_,s,C*w*-v+v)}h!==yi&&(y+=`perspective(`+h+bi),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==yi||o!==yi||s!==yi)&&(y+=s!==yi||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+bi),c!==vi&&(y+=`rotate(`+c+bi),l!==vi&&(y+=`rotateY(`+l+bi),u!==vi&&(y+=`rotateX(`+u+bi),(d!==vi||f!==vi)&&(y+=`skew(`+d+`, `+f+bi),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+bi),_.style[Fr]=y||`translate(0, 0)`},Si=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;
vendor: 7,255 bytes, line 1
1s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=hr,c*=hr,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=hr,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=G(b),x=G(x),S=G(S),C=G(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=ti(f,`x`,a,`px`),y=ti(f,`y`,o,`px`)),(p||m||h||g)&&(v=G(v+p-(p*b+m*S)+h),y=G(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=G(v+r/100*w.width),y=G(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[Fr]=w)},Ci=function(e,t,n,r,i){var a=360,o=O(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?mr:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*_r)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*_r)%a-~~(s/a)*a)),e._pt=u=new Wn(e._pt,t,n,r,s,Cr),u.e=c,u.u=`deg`,e._props.push(n),u},wi=function(e,t){for(var n in t)e[n]=t[n];return e},Ti=function(e,t,n){var r=wi({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[Fr]=t,o=mi(n,1),Zr(n,Fr),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[Fr],a[Fr]=t,o=mi(n,1),a[Fr]=c),pr)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=_t(c),p=_t(l),u=f===p?parseFloat(c):ti(n,s,c,p),d=parseFloat(l),e._pt=new Wn(e._pt,o,s,u,d-u,Sr),e._pt.u=p||0,e._props.push(s));wi(o,r)};ke(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});si[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return ni(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var Ei={name:`css`,register:Kr,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,g,_,v,y,b,x,S,C,w,T;for(m in cr||Kr(),this.styles=this.styles||Br(e),w=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Se[m]&&bn(m,t,n,r,e,i)))){if(f=typeof l,p=si[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=Ft(l)),p)p(this,e,m,l,n)&&(C=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Xt.lastIndex=0,Xt.test(c)||(g=_t(c),_=_t(l),_?g!==_&&(c=ti(e,m,c,_)+_):g&&(l+=g)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),w.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],O(c)&&~c.indexOf(`random(`)&&(c=Ft(c)),_t(c+``)||c===`auto`||(c+=h.units[m]||_t(ni(e,m))||``),(c+``).charAt(1)===`=`&&(c=ni(e,m))):c=ni(e,m),d=parseFloat(c),v=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),v&&(l=l.substr(2)),u=parseFloat(l),m in xr&&(m===`autoAlpha`&&(d===1&&ni(e,`visibility`)===`hidden`&&u&&(d=0),w.push(`visibility`,0,o.visibility),Qr(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=xr[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),y=m in pr,y){if(this.styles.save(m),T=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Ur(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var E=e.style.perspective;e.style.perspective=l,l=Ur(e,`perspective`),E?e.style.perspective=E:Zr(e,`perspective`)}u=parseFloat(l)}if(b||(x=e._gsap,x.renderTransform&&!t.parseTransform||mi(e,t.parseTransform),S=t.smoothOrigin!==!1&&x.smooth,b=this._pt=new Wn(this._pt,o,Fr,0,1,x.renderTransform,x,0,-1),b.dep=1),m===`scale`)this._pt=new Wn(this._pt,x,`scaleY`,x.scaleY,(v?Ae(x.scaleY,v+u):u)-x.scaleY||0,Sr),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){w.push(Ir,0,o[Ir]),l=ai(l),x.svg?pi(e,l,0,S,0,this):(_=parseFloat(l.split(` `)[2])||0,_!==x.zOrigin&&Qr(this,x,`zOrigin`,x.zOrigin,_),Qr(this,o,m,hi(c),hi(l)));continue}else if(m===`svgOrigin`){pi(e,l,1,S,0,this);continue}else if(m in li){Ci(this,x,m,d,v?Ae(d,v+l):l);continue}else if(m===`smoothOrigin`){Qr(this,x,`smooth`,x.smooth,l);continue}else if(m===`force3D`){x[m]=l;continue}else if(m===`transform`){Ti(this,l,e);continue}}else m in o||(m=Gr(m)||m);if(y||(u||u===0)&&(d||d===0)&&!br.test(l)&&m in o)g=(c+``).substr((d+``).length),u||=0,_=_t(l)||(m in h.units?h.units[m]:g),g!==_&&(d=ti(e,m,c,_)),this._pt=new Wn(this._pt,y?x:o,m,d,(v?Ae(d,v+u):u)-d,!y&&(_===`px`||m===`zIndex`)&&t.autoRound!==!1?Er:Sr),this._pt.u=_||0,y&&T!==l?(this._pt.b=c,this._pt.e=T,this._pt.r=Tr):g!==_&&_!==`%`&&(this._pt.b=c,this._pt.r=wr);else if(m in o)ri.call(this,e,m,c,v?v+l:l);else if(m in e)this.add(e,m,c||e[m],v?v+l:l,r,i);else if(m!==`parseTransform`){V(m,l);continue}y||(m in o?w.push(m,0,o[m]):typeof e[m]==`function`?w.push(m,2,e[m]()):w.push(m,1,c||e[m])),a.push(m)}}C&&Un(this)},render:function(e,t){if(t.tween._time||!dr())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:ni,aliases:xr,getSetter:function(e,t,n){var r=xr[t];return r&&r.indexOf(`,`)<0&&(t=r),t in pr&&t!==Ir&&(e._gsap.x||ni(e,`x`))?n&&ur===n?t===`scale`?Mr:jr:(ur=n||{})&&(t===`scale`?Nr:Pr):e.style&&!j(e.style[t])?kr:~t.indexOf(`-`)?Ar:Fn(e,t)},core:{_removeProperty:Zr,_getMatrix:fi}};ir.utils.checkPrefix=Gr,ir.core.getStyleSaver=Br,(function(e,t,n,r){var i=ke(e+`,`+t+`,`+n,function(e){pr[e]=1});ke(t,function(e){h.units[e]=`deg`,li[e]=1}),xr[i[13]]=e+`,`+t,ke(r,function(e){var t=e.split(`:`);xr[t[1]]=i[t[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`),ke(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){h.units[e]=`px`}),ir.registerPlugin(Ei);var Di=ir.registerPlugin(Ei)||ir;Di.core.Tween;function Oi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ki(e,t,n){return t&&Oi(e.prototype,t),n&&Oi(e,n),e}var Ai,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri,zi,Bi,Vi,Hi,Ui=function(){return Ai||(Ai=window.gsap)&&Ai.registerPlugin&&Ai},Wi=1,Gi=[],J=[],Ki=[],qi=Date.now,Ji=function(e,t){return t},Yi=function(){var e=Ri.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,J),r.push.apply(r,Ki),J=n,Ki=r,Ji=function(e,n){return t[e](n)}},Xi=function(e,t){return~Ki.indexOf(e)&&Ki[Ki.indexOf(e)+1][t]},Zi=function(e){return!!~zi.indexOf(e)},Qi=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:r!==!1,capture:!!i})},$i=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},ea=`scrollLeft`,ta=`scrollTop`,na=function(){return Bi&&Bi.isPressed||J.cache++},ra=function(e,t){var n=function n(r){if(r||r===0){Wi&&(Mi.history.scrollRestoration=`manual`);var i=Bi&&Bi.isPressed;r=n.v=Math.round(r)||(Bi&&Bi.iOS?1:0),e(r),n.cacheID=J.cache,i&&Ji(`ss`,r)}else (t||J.cache!==n.cacheID||Ji(`ref`))&&(n.cacheID=J.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},ia={s:ea,p:`left`,p2:`Left`,os:`right`,os2:`Right`,d:`width`,d2:`W
1idth`,a:`x`,sc:ra(function(e){return arguments.length?Mi.scrollTo(e,aa.sc()):Mi.pageXOffset||Ni[ea]||Pi[ea]||Fi[ea]||0})},aa={s:ta,p:`top`,p2:`Top`,os:`bottom`,os2:`Bottom`,d:`height`,d2:`Height`,a:`y`,op:ia,sc:ra(function(e){return arguments.length?Mi.scrollTo(ia.sc(),e):Mi.pageYOffset||Ni[ta]||Pi[ta]||Fi[ta]||0})},oa=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ai.utils.toArray)(e)[0]||(typeof e==`string`&&Ai.config().nullTargetWarn!==!1?console.warn(`Element not found:`,e):null)},sa=function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1},ca=function(e,t){var n=t.s,r=t.sc;Zi(e)&&(e=Ni.scrollingElement||Pi);var i=J.indexOf(e),a=r===aa.sc?1:2;!~i&&(i=J.push(e)-1),J[i+a]||Qi(e,`scroll`,na);var o=J[i+a],s=o||(J[i+a]=ra(Xi(e,n),!0)||(Zi(e)?r:ra(function(t){return arguments.length?e[n]=t:e[n]})));return s.target=e,o||(s.smooth=Ai.getProperty(e,`scrollBehavior`)===`smooth`),s},la=function(e,t,n){var r=e,i=e,a=qi(),o=a,s=t||50,c=Math.max(500,s*3),l=function(e,t){var c=qi();t||c-a>s?(i=r,r=e,o=a,a=c):n?r+=e:r=i+(e-i)/(c-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,s=i,u=qi();return(e||e===0)&&e!==r&&l(e),a===o||u-o>c?0:(r+(n?s:-s))/((n?u:a)-t)*1e3}}},ua=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},da=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},fa=function(){Ri=Ai.core.globals().ScrollTrigger,Ri&&Ri.core&&Yi()},pa=function(e){return Ai=e||Ui(),!ji&&Ai&&typeof document<`u`&&document.body&&(Mi=window,Ni=document,Pi=Ni.documentElement,Fi=Ni.body,zi=[Mi,Ni,Pi,Fi],Ai.utils.clamp,Hi=Ai.core.context||function(){},Li=`onpointerenter`in Fi?`pointer`:`mouse`,Ii=ma.isTouch=Mi.matchMedia&&Mi.matchMedia(`(hover: none), (pointer: coarse)`).matches?1:`ontouchstart`in Mi||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Vi=ma.eventTypes=(`ontouchstart`in Pi?`touchstart,touchmove,touchcancel,touchend`:`onpointerdown`in Pi?`pointerdown,pointermove,pointercancel,pointerup`:`mousedown,mousemove,mouseup,mouseup`).split(`,`),setTimeout(function(){return Wi=0},500),ji=1),Ri||fa(),ji};ia.op=aa,J.cache=0;var ma=function(){function e(e){this.init(e)}var t=e.prototype;return t.init=function(e){ji||pa(Ai)||console.warn(`Please gsap.registerPlugin(Observer)`),Ri||fa();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,o=e.debounce,s=e.preventDefault,c=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,p=e.onDragStart,m=e.onDragEnd,h=e.onDrag,g=e.onPress,_=e.onRelease,v=e.onRight,y=e.onLeft,b=e.onUp,x=e.onDown,S=e.onChangeX,C=e.onChangeY,w=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,O=e.onHoverEnd,k=e.onMove,A=e.ignoreCheck,j=e.isNormalizer,M=e.onGestureStart,N=e.onGestureEnd,P=e.onWheel,ee=e.onEnable,te=e.onDisable,F=e.onClick,ne=e.scrollSpeed,re=e.capture,ie=e.allowClicks,ae=e.lockAxis,oe=e.onLockAxis;this.target=i=oa(i)||Pi,this.vars=e,u&&=Ai.utils.toArray(u),t||=1e-9,n||=0,d||=1,ne||=1,r||=`wheel,touch,pointer`,o=o!==!1,a||=parseFloat(Mi.getComputedStyle(Fi).lineHeight)||22;var I,se,ce,le,L,R,ue,z=this,de=0,B=0,fe=e.passive||!s&&e.passive!==!1,pe=ca(i,ia),V=ca(i,aa),me=pe(),he=V(),ge=~r.indexOf(`touch`)&&!~r.indexOf(`pointer`)&&Vi[0]===`pointerdown`,_e=Zi(i),H=i.ownerDocument||Ni,ve=[0,0,0],U=[0,0,0],ye=0,be=function(){return ye=qi()},xe=function(e,t){return(z.event=e)&&u&&sa(e.target,u)||t&&ge&&e.pointerType!==`touch`||A&&A(e,t)},Se=function(){z._vx.reset(),z._vy.reset(),se.pause(),c&&c(z)},Ce=function(){var e=z.deltaX=da(ve),n=z.deltaY=da(U),r=Math.abs(e)>=t,i=Math.abs(n)>=t;w&&(r||i)&&w(z,e,n,ve,U),r&&(v&&z.deltaX>0&&v(z),y&&z.deltaX<0&&y(z),S&&S(z),T&&z.deltaX<0!=de<0&&T(z),de=z.deltaX,ve[0]=ve[1]=ve[2]=0),i&&(x&&z.deltaY>0&&x(z),b&&z.deltaY<0&&b(z),C&&C(z),E&&z.deltaY<0!=B<0&&E(z),B=z.deltaY,U[0]=U[1]=U[2]=0),(le||ce)&&(k&&k(z),ce&&=(p&&ce===1&&p(z),h&&h(z),0),le=!1),R&&!(R=!1)&&oe&&oe(z),L&&=(P(z),!1),I=0},we=function(e,t,n){ve[n]+=e,U[n]+=t,z._vx.update(e),z._vy.update(t),o?I||=requestAnimationFrame(Ce):Ce()},Te=function(e,t){ae&&!ue&&(z.axis=ue=Math.abs(e)>Math.abs(t)?`x`:`y`,R=!0),ue!==`y`&&(ve[2]+=e,z._vx.update(e,!0)),ue!==`x`&&(U[2]+=t,z._vy.update(t,!0)),o?I||=requestAnimationFrame(Ce):Ce()},Ee=function(e){if(!xe(e,1)){e=ua(e,s);var t=e.clientX,r=e.clientY,i=t-z.x,a=r-z.y,o=z.isDragging;z.x=t,z.y=r,(o||(i||a)&&(Math.abs(z.startX-t)>=n||Math.abs(z.startY-r)>=n))&&(ce||=o?2:1,o||(z.isDragging=!0),Te(i,a))}},De=z.onPress=function(e){xe(e,1)||e&&e.button||(z.axis=ue=null,se.pause(),z.isPressed=!0,e=ua(e),de=B=0,z.startX=z.x=e.clientX,z.startY=z.y=e.clientY,z._vx.reset(),z._vy.reset(),Qi(j?i:H,Vi[1],Ee,fe,!0),z.deltaX=z.deltaY=0,g&&g(z))},Oe=z.onRelease=function(e){if(!xe(e,1)){$i(j?i:H,Vi[1],Ee,!0);var t=!isNaN(z.y-z.startY),n=z.isDragging,r=n&&(Math.abs(z.x-z.startX)>3||Math.abs(z.y-z.startY)>3),a=ua(e);!r&&t&&(z._vx.reset(),z._vy.reset(),s&&ie&&Ai.delayedCall(.08,function(){if(qi()-ye>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(H.createEvent){var t=H.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,Mi,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),z.isDragging=z.isGesturing=z.isPressed=!1,c&&n&&!j&&se.restart(!0),ce&&Ce(),m&&n&&m(z),_&&_(z,r)}},W=function(e){return e.touches&&e.touches.length>1&&(z.isGesturing=!0)&&M(e,z.isDragging)},ke=function(){return(z.isGesturing=!1)||N(z)},G=function(e){if(!xe(e)){var t=pe(),n=V();we((t-me)*ne,(n-he)*ne,1),me=t,he=n,c&&se.restart(!0)}},K=function(e){if(!xe(e)){e=ua(e,s),P&&(L=!0);var t=(e.deltaMode===1?a:e.deltaMode===2?Mi.innerHeight:1)*d;we(e.deltaX*t,e.deltaY*t,0),c&&!j&&se.restart(!0)}},Ae=function(e){if(!xe(e)){var t=e.clientX,n=e.clientY,r=t-z.x,i=n-z.y;z.x=t,z.y=n,le=!0,c&&se.restart(!0),(r||i)&&Te(r,i)}},je=function(e){z.event=e,D(z)},Me=function(e){z.event=e,O(z)},Ne=function(e){return xe(e)||ua(e,s)&&F(z)};se=z._dc=Ai.delayedCall(l||.25,Se).pause(),z.deltaX=z.deltaY=0,z._vx=la(0,50,!0),z._vy=la(0,50,!0),z.scrollX=pe,z.scrollY=V,z.isDragging=z.isGesturing=z.isPressed=!1,Hi(this),z.enable=function(e){return z.isEnabled||(Qi(_e?H:i,`scroll`,na),r.indexOf(`scroll`)>=0&&Qi(_e?H:i,`scroll`,G,fe,re),r.indexOf(`wheel`)>=0&&Qi(i,`wheel`,K,fe,re),(r.indexOf(`touch`)>=0&&Ii||r.indexOf(`pointer`)>=0)&&(Qi(i,Vi[0],De,fe,re),Qi(H,Vi[2],Oe),Qi(H,Vi[3],Oe),ie&&Qi(i,`click`,be,!0,!0),F&&Qi(i,`click`,Ne),M&&Qi(H,`gesturestart`,W),N&&Qi(H,`gestureend`,ke),D&&Qi(i,Li+`enter`,je),O&&Qi(i,Li+`leave`,Me),k&&Qi(i,Li+`move`,Ae)),z.isEnabled=!0,z.isDragging=z.isGesturing=z.isPressed=le=ce=!1,z._vx.reset(),z._vy.reset(),me=pe(),he=V(),e&&e.type&&De(e),ee&&ee(z)),z},z.disable=function(){z.isEnabled&&(Gi.filter(function(e){return e!==z&&Zi(e.target)}).length||$i(_e?H:i,`scroll`,na),z.isPressed&&(z._vx.reset(),z._vy.reset(),$i(j?i:H,Vi[1],Ee,!0)),$i(_e?H:i,`scroll`,G,re),$i(i,`wheel`,K,re),$i(i,Vi[0],De,re),$i(H,Vi[2],Oe),$i(H,Vi[3],Oe),$i(i,`click`,be,!0),$i(i,`click`,Ne),$i(H,`gesturestart`,W),$i(H,`gestureend`,ke),$i(i,Li+`enter`,je),$i(i,Li+`leave`,Me),$i(i,Li+`move`,Ae),z.isEnabled=z.isPressed=z.isDragging=!1,te&&te(z))},z.kill=z.revert=function(){z.disable();var e=Gi.indexOf(z);e>=0&&Gi.splice(e,1),Bi===z&&(Bi=0)},Gi.push(z),j&&Zi(i)&&(Bi=z),z.enable(f)},ki(e,[{key:`velocityX`,get:function(){return this._vx.getVelocity()}},{key:`velocityY`,get:function(){return this._vy.getVelocity()}}]),e}();ma.version=`3.15.0`,ma.create=function(e){return new ma(e)},ma.register=pa,ma.getAll=function(){return Gi.slice()},ma.getById=function(e){return Gi.filter(function(t){return t.vars.id===e})[0]},Ui()&&Ai.registerPlugin(ma);var Y,ha,X,ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa,Ia,La,Ra,za,Ba,Va,Ha,Ua,Wa,Ga,Ka,qa=1,Ja=Date.now,Ya=Ja(),Xa=0,Za=0,Qa=function(e,t,n){var r=ho(e)&&(e.substr(0,6)===`clamp(`||e.indexOf(`max`)>-1);return n[`_`+t+`Clamp`]=r,r?e.substr(6,e.length-7):e},$a=function(e,t){return t&&(!ho(e)||e.substr(0,6)!==`clamp(`)?`clamp(`+e+`)`:e},eo=function e(){return Za&&requestAnimationFrame(e)},to=function(){return Ea=1},no=function(){return Ea=0},ro=function(e){return e},io=function(e){return Math.round(e*1e5)/1e5||0},ao=function(){return!0},oo=function(){return Y||ao()&&(Y=window.gsap)&&Y.registerPlugin&&Y},so=function(e){return!!~ya.indexOf(e)},co=function(e){return(e===`Height`?Ua:X[`inner`+e])||_a[`client`+e]||va[`client`+e]},lo=function(e){return Xi(e,`getBoundingClientRect`)||(so(e)?function(){return Is.width=X.innerWidth,Is.height=Ua,Is}:function(){return Bo(e)})},uo=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=Xi(e,`getBoundingClientRect`))?function(){return a()[r]}:function(){return(t?co(i):e[`client`+i])||0}},fo=function(e,t){return!t||~Ki.indexOf(e)?lo(e):function(){return Is}},po=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n=`scroll`+r)&&(a=Xi(e,n))?a()-lo(e)()[i]:so(e)?(_a[n]||va[n])-co(r):e[n]-e[`offset`+r])},mo=function(e,t){for(var n=0;n<ja.length;n+=3)(!t||~t.indexOf(ja[n+1]))&&e(ja[n],ja[n+1],ja[n+2])},ho=function(e){return typeof e==`string`},go=function(e){return typeof e==`function`},_o=function(e){return typeof e==`number`},vo=function(e){return typeof e==`object`},yo=function(e,t,n){return e&&e.progress(+!t)&&n&&e.pause()},bo=function(e,t,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);
vendor: 10,212 bytes, line 1
1r&&r.totalTime&&(e.callbackAnimation=r)}},xo=Math.abs,So=`left`,Co=`top`,wo=`right`,To=`bottom`,Eo=`width`,Do=`height`,Oo=`Right`,ko=`Left`,Ao=`Top`,jo=`Bottom`,Mo=`padding`,No=`margin`,Po=`Width`,Fo=`Height`,Io=`px`,Lo=function(e){return X.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},Ro=function(e){var t=Lo(e).position;e.style.position=t===`absolute`||t===`fixed`?t:`relative`},zo=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Bo=function(e,t){var n=t&&Lo(e)[Da]!==`matrix(1, 0, 0, 1, 0, 0)`&&Y.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),r},Vo=function(e,t){var n=t.d2;return e[`offset`+n]||e[`client`+n]||0},Ho=function(e){var t=[],n=e.labels,r=e.duration(),i;for(i in n)t.push(n[i]/r);return t},Uo=function(e){return function(t){return Y.utils.snap(Ho(e),t)}},Wo=function(e){var t=Y.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,r,i){i===void 0&&(i=.001);var a;if(!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}else for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){i===void 0&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0==r<0?a:t(r<0?n-e:n+e)}},Go=function(e){return function(t,n){return Wo(Ho(e))(t,n.direction)}},Ko=function(e,t,n,r){return n.split(`,`).forEach(function(n){return e(t,n,r)})},qo=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},Jo=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},Yo=function(e,t,n){n&&=n.wheelHandler,n&&(e(t,`wheel`,n),e(t,`touchmove`,n))},Xo={startColor:`green`,endColor:`red`,indent:0,fontSize:`16px`,fontWeight:`normal`},Zo={toggleActions:`play`,anticipatePin:0},Qo={top:0,left:0,center:.5,bottom:1,right:1},$o=function(e,t){if(ho(e)){var n=e.indexOf(`=`),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf(`%`)>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Qo?Qo[e]*t:~e.indexOf(`%`)?parseFloat(e)*t/100:parseFloat(e)||0)}return e},es=function(e,t,n,r,i,a,o,s){var c=i.startColor,l=i.endColor,u=i.fontSize,d=i.indent,f=i.fontWeight,p=ga.createElement(`div`),m=so(n)||Xi(n,`pinType`)===`fixed`,h=e.indexOf(`scroller`)!==-1,g=m?va:n.tagName===`IFRAME`?n.contentDocument.body:n,_=e.indexOf(`start`)!==-1,v=_?c:l,y=`border-color:`+v+`;font-size:`+u+`;color:`+v+`;font-weight:`+f+`;pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;`;return y+=`position:`+((h||s)&&m?`fixed;`:`absolute;`),(h||s||!m)&&(y+=(r===aa?wo:To)+`:`+(a+parseFloat(d))+`px;`),o&&(y+=`box-sizing:border-box;text-align:left;width:`+o.offsetWidth+`px;`),p._isStart=_,p.setAttribute(`class`,`gsap-marker-`+e+(t?` marker-`+t:``)),p.style.cssText=y,p.innerText=t||t===0?e+`-`+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p[`offset`+r.op.d2],ts(p,0,r,_),p},ts=function(e,t,n,r){var i={display:`block`},a=n[r?`os2`:`p2`],o=n[r?`p2`:`os2`];e._isFlipped=r,i[n.a+`Percent`]=r?-100:0,i[n.a]=r?`1px`:0,i[`border`+a+Po]=1,i[`border`+o+Po]=0,i[n.p]=t+`px`,Y.set(e,i)},Z=[],ns={},rs,is=function(){return Ja()-Xa>34&&(rs||=requestAnimationFrame(Ds))},as=function(){(!Fa||!Fa.isPressed||Fa.startX>va.clientWidth)&&(J.cache++,Fa?rs||=requestAnimationFrame(Ds):Ds(),Xa||ds(`scrollStart`),Xa=Ja())},os=function(){Ra=X.innerWidth,La=X.innerHeight},ss=function(e){J.cache++,(e===!0||!Ta&&!Pa&&!ga.fullscreenElement&&!ga.webkitFullscreenElement&&(!Ia||Ra!==X.innerWidth||Math.abs(X.innerHeight-La)>X.innerHeight*.25))&&ba.restart(!0)},cs={},ls=[],us=function e(){return Jo(Q,`scrollEnd`,e)||Cs(!0)},ds=function(e){return cs[e]&&cs[e].map(function(e){return e()})||ls},fs=[],ps=function(e){for(var t=0;t<fs.length;t+=5)(!e||fs[t+4]&&fs[t+4].query===e)&&(fs[t].style.cssText=fs[t+1],fs[t].getBBox&&fs[t].setAttribute(`transform`,fs[t+2]||``),fs[t+3].uncache=1)},ms=function(){return J.forEach(function(e){return go(e)&&++e.cacheID&&(e.rec=e())})},hs=function(e,t){var n;for(Oa=0;Oa<Z.length;Oa++)n=Z[Oa],n&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));Wa=!0,t&&ps(t),t||ds(`revert`)},gs=function(e,t){J.cache++,(t||!_s)&&J.forEach(function(e){return go(e)&&e.cacheID++&&(e.rec=0)}),ho(e)&&(X.history.scrollRestoration=Va=e)},_s,vs=0,ys,bs=function(){if(ys!==vs){var e=ys=vs;requestAnimationFrame(function(){return e===vs&&Cs(!0)})}},xs=function(){va.appendChild(Ha),Ua=!Fa&&Ha.offsetHeight||X.innerHeight,va.removeChild(Ha)},Ss=function(e){return xa(`.gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end`).forEach(function(t){return t.style.display=e?`none`:`block`})},Cs=function(e,t){if(_a=ga.documentElement,va=ga.body,ya=[X,ga,_a,va],Xa&&!e&&!Wa){qo(Q,`scrollEnd`,us);return}xs(),_s=Q.isRefreshing=!0,Wa||ms();var n=ds(`refreshInit`);Ma&&Q.sort(),t||hs(),J.forEach(function(e){go(e)&&(e.smooth&&(e.target.style.scrollBehavior=`auto`),e(0))}),Z.slice(0).forEach(function(e){return e.refresh()}),Wa=!1,Z.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?`offsetWidth`:`offsetHeight`,n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),Ga=1,Ss(!0),Z.forEach(function(e){var t=po(e.scroller,e._dir),n=e.vars.end===`max`||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),Ss(!1),Ga=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),J.forEach(function(e){go(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior=`smooth`}),e.rec&&e(e.rec))}),gs(Va,1),ba.pause(),vs++,_s=2,Ds(2),Z.forEach(function(e){return go(e.vars.onRefresh)&&e.vars.onRefresh(e)}),_s=Q.isRefreshing=!1,ds(`refresh`)},ws=0,Ts=1,Es,Ds=function(e){if(e===2||!_s&&!Wa){Q.isUpdating=!0,Es&&Es.update(0);var t=Z.length,n=Ja(),r=n-Ya>=50,i=t&&Z[0].scroll();if(Ts=ws>i?-1:1,_s||(ws=i),r&&(Xa&&!Ea&&n-Xa>200&&(Xa=0,ds(`scrollEnd`)),Ca=Ya,Ya=n),Ts<0){for(Oa=t;Oa-- >0;)Z[Oa]&&Z[Oa].update(0,r);Ts=1}else for(Oa=0;Oa<t;Oa++)Z[Oa]&&Z[Oa].update(0,r);Q.isUpdating=!1}rs=0},Os=[So,Co,To,wo,No+jo,No+Oo,No+Ao,No+ko,`display`,`flexShrink`,`float`,`zIndex`,`gridColumnStart`,`gridColumnEnd`,`gridRowStart`,`gridRowEnd`,`gridArea`,`justifySelf`,`alignSelf`,`placeSelf`,`order`],ks=Os.concat([Eo,Do,`boxSizing`,`max`+Po,`max`+Fo,`position`,No,Mo,Mo+Ao,Mo+Oo,Mo+jo,Mo+ko]),As=function(e,t,n){Ns(n);var r=e._gsap;if(r.spacerIsNative)Ns(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},js=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i=Os.length,a=t.style,o=e.style,s;i--;)s=Os[i],a[s]=n[s];a.position=n.position===`absolute`?`absolute`:`relative`,n.display===`inline`&&(a.display=`inline-block`),o[To]=o[wo]=`auto`,a.flexBasis=n.flexBasis||`auto`,a.overflow=`visible`,a.boxSizing=`border-box`,a[Eo]=Vo(e,ia)+Io,a[Do]=Vo(e,aa)+Io,a[Mo]=o[No]=o[Co]=o[So]=`0`,Ns(r),o[Eo]=o[`max`+Po]=n[Eo],o[Do]=o[`max`+Fo]=n[Do],o[Mo]=n[Mo],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ms=/([A-Z])/g,Ns=function(e){if(e){var t=e.t.style,n=e.length,r=0,i,a;for((e.t._gsap||Y.core.getCache(e.t)).uncache=1;r<n;r+=2)a=e[r+1],i=e[r],a?t[i]=a:t[i]&&t.removeProperty(i.replace(Ms,`-$1`).toLowerCase())}},Ps=function(e){for(var t=ks.length,n=e.style,r=[],i=0;i<t;i++)r.push(ks[i],n[ks[i]]);return r.t=e,r},Fs=function(e,t,n){for(var r=[],i=e.length,a=n?8:0,o;a<i;a+=2)o=e[a],r.push(o,o in t?t[o]:e[a+1]);return r.t=e.t,r},Is={left:0,top:0},Ls=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p){go(e)&&(e=e(s)),ho(e)&&e.substr(0,3)===`max`&&(e=d+(e.charAt(4)===`=`?$o(`0`+e.substr(3),n):0));var m=f?f.time():0,h,g,_;if(f&&f.seek(0),isNaN(e)||(e=+e),_o(e))f&&(e=Y.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),o&&ts(o,n,r,!0);else{go(t)&&(t=t(s));var v=(e||`0`).split(` `),y,b,x,S;_=oa(t,s)||va,y=Bo(_)||{},(!y||!y.left&&!y.top)&&Lo(_).display===`none`&&(S=_.style.display,_.style.display=`block`,y=Bo(_),S?_.style.display=S:_.style.removeProperty(`display`)),b=$o(v[0],y[r.d]),x=$o(v[1]||`0`,n),e=y[r.p]-c[r.p]-l+b+i-x,o&&ts(o,x,r,n-x<20||o._isStart&&x>20),n-=n-x}if(p&&(s[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,w=a._isStart;h=`scroll`+r.d2,ts(a,C,r,w&&C>20||!w&&(u?Math.max(va[h],_a[h]):a.parentNode[h])<=C+1),u&&(c=Bo(o),u&&(a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+Io))}return f&&_&&(h=Bo(_),f.seek(d),g=Bo(_),f._caScrollDist=h[r.p]-g[r.p],e=e/f._caScrollDist*d),f&&f.seek(m),f?e:Math.round(e)},Rs=/(webkit|moz|length|cssText|inset)/i,zs=function(e,t,n,r){if(e.parentNode!==t){var i=e.style,a,o;if(t===va){for(a in e._stOrig=i.cssText,o=Lo(e),o)!+a&&!Rs.test(a)&&o[a]&&typeof i[a]==`string`&&a!==`0`&&(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;Y.core.getCache(e).uncache=1,t.appendChild(e)}},Bs=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=Math.round(t),r}},Vs=function(e,t,n){var r={};r[t.p]=`+=`+n,Y.set(e,r)},Hs=function(e,t){var n=ca(e,t),r=`_scroll`+t.p2,i=function t(i,a,o,s,c){var l=t.tween,u=a.onComplete,d={};o||=n();var f=Bs(n,o,function(){l.kill(),t.tween=0});return c=s&&c||0,s||=i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=d,d[r]=function(){return f(o+s*l.ratio+c*l.ratio*l.ratio)},a.onUpdate=function(){J.cache++,t.tween&&Ds()},a.onComplete=function(){t.tween=0,u&&u.call(l)},l=t.tween=Y.to(e,a),l};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},qo(e,`wheel`,n.wheelHandler),Q.isTouch&&qo(e,`touchmove`,n.wheelHandler),i},Q=function(){function e(t,n){ha||e.register(Y)||console.warn(`Please gsap.registerPlugin(ScrollTrigger)`),Ba(this),this.init(t,n)}var t=e.prototype;return t.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Za){this.update=this.refresh=this.kill=ro;return}t=zo(ho(t)||_o(t)||t.nodeType?{trigger:t}:t,Zo);var r=t,i=r.onUpdate,a=r.toggleClass,o=r.id,s=r.onToggle,c=r.onRefresh,l=r.scrub,u=r.trigger,d=r.pin,f=r.pinSpacing,p=r.invali
vendor: 6,729 bytes, line 1
1dateOnRefresh,m=r.anticipatePin,h=r.onScrubComplete,g=r.onSnapComplete,_=r.once,v=r.snap,y=r.pinReparent,b=r.pinSpacer,x=r.containerAnimation,S=r.fastScrollEnd,C=r.preventOverlaps,w=t.horizontal||t.containerAnimation&&t.horizontal!==!1?ia:aa,T=!l&&l!==0,E=oa(t.scroller||X),D=Y.core.getCache(E),O=so(E),k=(`pinType`in t?t.pinType:Xi(E,`pinType`)||O&&`fixed`)===`fixed`,A=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=T&&t.toggleActions.split(` `),M=`markers`in t?t.markers:Zo.markers,N=O?0:parseFloat(Lo(E)[`border`+w.p2+Po])||0,P=this,ee=t.onRefreshInit&&function(){return t.onRefreshInit(P)},te=uo(E,O,w),F=fo(E,O),ne=0,re=0,ie=0,ae=ca(E,w),oe,I,se,ce,le,L,R,ue,z,de,B,fe,pe,V,me,he,ge,_e,H,ve,U,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,W,ke,G,K,Ae,je,Me,Ne;if(P._startClamp=P._endClamp=!1,P._dir=w,m*=45,P.scroller=E,P.scroll=x?x.time.bind(x):ae,ce=ae(),P.vars=t,n||=t.animation,`refreshPriority`in t&&(Ma=1,t.refreshPriority===-9999&&(Es=P)),D.tweenScroll=D.tweenScroll||{top:Hs(E,aa),left:Hs(E,ia)},P.tweenTo=oe=D.tweenScroll[w.p],P.scrubDuration=function(e){ke=_o(e)&&e,ke?W?W.duration(e):W=Y.to(n,{ease:`expo`,totalProgress:`+=0`,inherit:!1,duration:ke,paused:!0,onComplete:function(){return h&&h(P)}}):(W&&W.progress(1).kill(),W=0)},n&&(n.vars.lazy=!1,n._initted&&!P.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),P.animation=n.pause(),n.scrollTrigger=P,P.scrubDuration(l),De=0,o||=n.vars.id),v&&((!vo(v)||v.push)&&(v={snapTo:v}),`scrollBehavior`in va.style&&Y.set(O?[va,_a]:E,{scrollBehavior:`auto`}),J.forEach(function(e){return go(e)&&e.target===(O?ga.scrollingElement||_a:E)&&(e.smooth=!1)}),se=go(v.snapTo)?v.snapTo:v.snapTo===`labels`?Uo(n):v.snapTo===`labelsDirectional`?Go(n):v.directional===!1?Y.utils.snap(v.snapTo):function(e,t){return Wo(v.snapTo)(e,Ja()-re<500?0:t.direction)},G=v.duration||{min:.1,max:2},G=vo(G)?Sa(G.min,G.max):Sa(G,G),K=Y.delayedCall(v.delay||ke/2||.1,function(){var e=ae(),t=Ja()-re<500,r=oe.tween;if((t||Math.abs(P.getVelocity())<10)&&!r&&!Ea&&ne!==e){var i=(e-L)/V,a=n&&!T?n.totalProgress():i,o=t?0:(a-Oe)/(Ja()-Ca)*1e3||0,s=Y.utils.clamp(-i,1-i,xo(o/2)*o/.185),c=i+(v.inertia===!1?0:s),l,u,d=v,f=d.onStart,p=d.onInterrupt,m=d.onComplete;if(l=se(c,P),_o(l)||(l=c),u=Math.max(0,Math.round(L+l*V)),e<=R&&e>=L&&u!==e){if(r&&!r._initted&&r.data<=xo(u-e))return;v.inertia===!1&&(s=l-i),oe(u,{duration:G(xo(Math.max(xo(c-a),xo(l-a))*.185/o/.05||0)),ease:v.ease||`power3`,data:xo(u-e),onInterrupt:function(){return K.restart(!0)&&p&&bo(P,p)},onComplete:function(){P.update(),ne=ae(),n&&!T&&(W?W.resetTo(`totalProgress`,l,n._tTime/n._tDur):n.progress(l)),De=Oe=n&&!T?n.totalProgress():P.progress,g&&g(P),m&&bo(P,m)}},e,s*V,u-e-s*V),f&&bo(P,f,oe.tween)}}else P.isActive&&ne!==e&&K.restart(!0)}).pause()),o&&(ns[o]=P),u=P.trigger=oa(u||d!==!0&&d),Ne=u&&u._gsap&&u._gsap.stRevert,Ne&&=Ne(P),d=d===!0?u:oa(d),ho(a)&&(a={targets:u,className:a}),d&&(f===!1||f===No||(f=!f&&d.parentNode&&d.parentNode.style&&Lo(d.parentNode).display===`flex`?!1:Mo),P.pin=d,I=Y.core.getCache(d),I.spacer?me=I.pinState:(b&&(b=oa(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),I.spacerIsNative=!!b,b&&(I.spacerState=Ps(b))),I.spacer=_e=b||ga.createElement(`div`),_e.classList.add(`pin-spacer`),o&&_e.classList.add(`pin-spacer-`+o),I.pinState=me=Ps(d)),t.force3D!==!1&&Y.set(d,{force3D:!0}),P.spacer=_e=I.spacer,Ee=Lo(d),xe=Ee[f+w.os2],ve=Y.getProperty(d),U=Y.quickSetter(d,w.a,Io),js(d,_e,Ee),ge=Ps(d)),M){fe=vo(M)?zo(M,Xo):Xo,de=es(`scroller-start`,o,E,w,fe,0),B=es(`scroller-end`,o,E,w,fe,0,de),H=de[`offset`+w.op.d2];var Pe=oa(Xi(E,`content`)||E);ue=this.markerStart=es(`start`,o,Pe,w,fe,H,0,x),z=this.markerEnd=es(`end`,o,Pe,w,fe,H,0,x),x&&(Me=Y.quickSetter([ue,z],w.a,Io)),!k&&!(Ki.length&&Xi(E,`fixedMarkers`)===!0)&&(Ro(O?va:E),Y.set([de,B],{force3D:!0}),Ce=Y.quickSetter(de,w.a,Io),Te=Y.quickSetter(B,w.a,Io))}if(x){var Fe=x.vars.onUpdate,Ie=x.vars.onUpdateParams;x.eventCallback(`onUpdate`,function(){P.update(0,0,1),Fe&&Fe.apply(x,Ie||[])})}if(P.previous=function(){return Z[Z.indexOf(P)-1]},P.next=function(){return Z[Z.indexOf(P)+1]},P.revert=function(e,t){if(!t)return P.kill(!0);var r=e!==!1||!P.enabled,i=Ta;r!==P.isReverted&&(r&&(Ae=Math.max(ae(),P.scroll.rec||0),ie=P.progress,je=n&&n.progress()),ue&&[ue,z,de,B].forEach(function(e){return e.style.display=r?`none`:`block`}),r&&(Ta=P,P.update(r)),d&&(!y||!P.isActive)&&(r?As(d,_e,me):js(d,_e,Lo(d),Se)),r||P.update(r),Ta=i,P.isReverted=r)},P.refresh=function(r,i,a,o){if(!((Ta||!P.enabled)&&!i)){if(d&&r&&Xa){qo(e,`scrollEnd`,us);return}!_s&&ee&&ee(P),Ta=P,oe.tween&&!a&&(oe.tween.kill(),oe.tween=0),W&&W.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),P.isReverted||P.revert(!0,!0),P._subPinOffset=!1;var s=te(),l=F(),m=x?x.duration():po(E,w),h=V<=.01||!V,g=0,_=o||0,v=vo(a)?a.end:t.end,b=t.endTrigger||u,S=vo(a)?a.start:t.start||(t.start===0||!u?0:d?`0 0`:`0 100%`),C=P.pinnedContainer=t.pinnedContainer&&oa(t.pinnedContainer,P),D=u&&Math.max(0,Z.indexOf(P))||0,A=D,j,I,se,fe,H,U,xe,Ce,Te,Ee,De,Oe,ke;for(M&&vo(a)&&(Oe=Y.getProperty(de,w.p),ke=Y.getProperty(B,w.p));A-- >0;)U=Z[A],U.end||U.refresh(0,1)||(Ta=P),xe=U.pin,xe&&(xe===u||xe===d||xe===C)&&!U.isReverted&&(Ee||=[],Ee.unshift(U),U.revert(!0,!0)),U!==Z[A]&&(D--,A--);for(go(S)&&(S=S(P)),S=Qa(S,`start`,P),L=Ls(S,u,s,w,ae(),ue,de,P,l,N,k,m,x,P._startClamp&&`_startClamp`)||(d?-.001:0),go(v)&&(v=v(P)),ho(v)&&!v.indexOf(`+=`)&&(~v.indexOf(` `)?v=(ho(S)?S.split(` `)[0]:``)+v:(g=$o(v.substr(2),s),v=ho(S)?S:(x?Y.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,L):L)+g,b=u)),v=Qa(v,`end`,P),R=Math.max(L,Ls(v||(b?`100% 0`:m),b,s,w,ae()+g,z,B,P,l,N,k,m,x,P._endClamp&&`_endClamp`))||-.001,g=0,A=D;A--;)U=Z[A]||{},xe=U.pin,xe&&U.start-U._pinPush<=L&&!x&&U.end>0&&(j=U.end-(P._startClamp?Math.max(0,U.start):U.start),(xe===u&&U.start-U._pinPush<L||xe===C)&&isNaN(S)&&(g+=j*(1-U.progress)),xe===d&&(_+=j));if(L+=g,R+=g,P._startClamp&&(P._startClamp+=g),P._endClamp&&!_s&&(P._endClamp=R||-.001,R=Math.min(R,po(E,w))),V=R-L||(L-=.01)&&.001,h&&(ie=Y.utils.clamp(0,1,Y.utils.normalize(L,R,Ae))),P._pinPush=_,ue&&g&&(j={},j[w.a]=`+=`+g,C&&(j[w.p]=`-=`+ae()),Y.set([ue,z],j)),d&&!(Ga&&P.end>=po(E,w)))j=Lo(d),fe=w===aa,se=ae(),ye=parseFloat(ve(w.a))+_,!m&&R>1&&(De=(O?ga.scrollingElement||_a:E).style,De={style:De,value:De[`overflow`+w.a.toUpperCase()]},O&&Lo(va)[`overflow`+w.a.toUpperCase()]!==`scroll`&&(De.style[`overflow`+w.a.toUpperCase()]=`scroll`)),js(d,_e,j),ge=Ps(d),I=Bo(d,!0),Ce=k&&ca(E,fe?ia:aa)(),f?(Se=[f+w.os2,V+_+Io],Se.t=_e,A=f===Mo?Vo(d,w)+V+_:0,A&&(Se.push(w.d,A
vendor: 4,443 bytes, line 1
1+Io),_e.style.flexBasis!==`auto`&&(_e.style.flexBasis=A+Io)),Ns(Se),C&&Z.forEach(function(e){e.pin===C&&e.vars.pinSpacing!==!1&&(e._subPinOffset=!0)}),k&&ae(Ae)):(A=Vo(d,w),A&&_e.style.flexBasis!==`auto`&&(_e.style.flexBasis=A+Io)),k&&(H={top:I.top+(fe?se-L:Ce)+Io,left:I.left+(fe?Ce:se-L)+Io,boxSizing:`border-box`,position:`fixed`},H[Eo]=H[`max`+Po]=Math.ceil(I.width)+Io,H[Do]=H[`max`+Fo]=Math.ceil(I.height)+Io,H[No]=H[No+Ao]=H[No+Oo]=H[No+jo]=H[No+ko]=`0`,H[Mo]=j[Mo],H[Mo+Ao]=j[Mo+Ao],H[Mo+Oo]=j[Mo+Oo],H[Mo+jo]=j[Mo+jo],H[Mo+ko]=j[Mo+ko],he=Fs(me,H,y),_s&&ae(0)),n?(Te=n._initted,Na(1),n.render(n.duration(),!0,!0),be=ve(w.a)-ye+V+_,we=Math.abs(V-be)>1,k&&we&&he.splice(he.length-2,2),n.render(0,!0,!0),Te||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Na(0)):be=V,De&&(De.value?De.style[`overflow`+w.a.toUpperCase()]=De.value:De.style.removeProperty(`overflow-`+w.a));else if(u&&ae()&&!x)for(I=u.parentNode;I&&I!==va;)I._pinOffset&&(L-=I._pinOffset,R-=I._pinOffset),I=I.parentNode;Ee&&Ee.forEach(function(e){return e.revert(!1,!0)}),P.start=L,P.end=R,ce=le=_s?Ae:ae(),!x&&!_s&&(ce<Ae&&ae(Ae),P.scroll.rec=0),P.revert(!1,!0),re=Ja(),K&&(ne=-1,K.restart(!0)),Ta=0,n&&T&&(n._initted||je)&&n.progress()!==je&&n.progress(je||0,!0).render(n.time(),!0,!0),(h||ie!==P.progress||x||p||n&&!n._initted)&&(n&&!T&&(n._initted||ie||n.vars.immediateRender!==!1)&&n.totalProgress(x&&L<-.001&&!ie?Y.utils.normalize(L,R,0):ie,!0),P.progress=h||(ce-L)/V===ie?0:ie),d&&f&&(_e._pinOffset=Math.round(P.progress*be)),W&&W.invalidate(),isNaN(Oe)||(Oe-=Y.getProperty(de,w.p),ke-=Y.getProperty(B,w.p),Vs(de,w,Oe),Vs(ue,w,Oe-(o||0)),Vs(B,w,ke),Vs(z,w,ke-(o||0))),h&&!_s&&P.update(),c&&!_s&&!pe&&(pe=!0,c(P),pe=!1)}},P.getVelocity=function(){return(ae()-le)/(Ja()-Ca)*1e3||0},P.endAnimation=function(){yo(P.callbackAnimation),n&&(W?W.progress(1):n.paused()?T||yo(n,P.direction<0,1):yo(n,n.reversed()))},P.labelToScroll=function(e){return n&&n.labels&&(L||P.refresh()||L)+n.labels[e]/n.duration()*V||0},P.getTrailing=function(e){var t=Z.indexOf(P),n=P.direction>0?Z.slice(0,t).reverse():Z.slice(t+1);return(ho(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return P.direction>0?e.end<=L:e.start>=R})},P.update=function(e,t,r){if(!(x&&!r&&!e)){var o=_s===!0?Ae:P.scroll(),c=e?0:(o-L)/V,u=c<0?0:c>1?1:c||0,p=P.progress,h,g,b,D,O,M,N,ee;if(t&&(le=ce,ce=x?ae():o,v&&(Oe=De,De=n&&!T?n.totalProgress():u)),m&&d&&!Ta&&!qa&&Xa&&(!u&&L<o+(o-le)/(Ja()-Ca)*m?u=1e-4:u===1&&R>o+(o-le)/(Ja()-Ca)*m&&(u=.9999)),u!==p&&P.enabled){if(h=P.isActive=!!u&&u<1,g=!!p&&p<1,M=h!==g,O=M||!!u!=!!p,P.direction=u>p?1:-1,P.progress=u,O&&!Ta&&(b=u&&!p?0:u===1?1:p===1?2:3,T&&(D=!M&&j[b+1]!==`none`&&j[b+1]||j[b],ee=n&&(D===`complete`||D===`reset`||D in n))),C&&(M||ee)&&(ee||l||!n)&&(go(C)?C(P):P.getTrailing(C).forEach(function(e){return e.endAnimation()})),T||(W&&!Ta&&!qa?(W._dp._time-W._start!==W._time&&W.render(W._dp._time-W._start),W.resetTo?W.resetTo(`totalProgress`,u,n._tTime/n._tDur):(W.vars.totalProgress=u,W.invalidate().restart())):n&&n.totalProgress(u,!!(Ta&&(re||e)))),d){if(e&&f&&(_e.style[f+w.os2]=xe),!k)U(io(ye+be*u));else if(O){if(N=!e&&u>p&&R+1>o&&o+1>=po(E,w),y)if(!e&&(h||N)){var te=Bo(d,!0),F=o-L;zs(d,va,te.top+(w===aa?F:0)+Io,te.left+(w===aa?0:F)+Io)}else zs(d,_e);Ns(h||N?he:ge),we&&u<1&&h||U(ye+(u===1&&!N?be:0))}}v&&!oe.tween&&!Ta&&!qa&&K.restart(!0),a&&(M||_&&u&&(u<1||!Ka))&&xa(a.targets).forEach(function(e){return e.classList[h||_?`add`:`remove`](a.className)}),i&&!T&&!e&&i(P),O&&!Ta?(T&&(ee&&(D===`complete`?n.pause().totalProgress(1):D===`reset`?n.restart(!0).pause():D===`restart`?n.restart(!0):n[D]()),i&&i(P)),(M||!Ka)&&(s&&M&&bo(P,s),A[b]&&bo(P,A[b]),_&&(u===1?P.kill(!1,1):A[b]=0),M||(b=u===1?1:3,A[b]&&bo(P,A[b]))),S&&!h&&Math.abs(P.getVelocity())>(_o(S)?S:2500)&&(yo(P.callbackAnimation),W?W.progress(1):yo(n,D===`reverse`?1:!u,1))):T&&i&&!Ta&&i(P)}if(Te){var ne=x?o/x.duration()*(x._caScrollDist||0):o;Ce(ne+ +!!de._isFlipped),Te(ne)}Me&&Me(-o/x.duration()*(x._caScrollDist||0))}},P.enable=function(t,n){P.enabled||(P.enabled=!0,qo(E,`resize`,ss),O||qo(E,`scroll`,as),ee&&qo(e,`refreshInit`,ee),t!==!1&&(P.progress=ie=0,ce=le=ne=ae()),n!==!1&&P.refresh())},P.getTween=function(e){return e&&oe?oe.tween:W},P.setPositions=function(e,t,n,r){if(x){var i=x.scrollTrigger,a=x.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}P.refresh(!1,!1,{start:$a(e,n&&!!P._startClamp),end:$a(t,n&&!!P._endClamp)}
vendor: 4,701 bytes, line 1
1,r),P.update()},P.adjustPinSpacing=function(e){if(Se&&e){var t=Se.indexOf(w.d)+1;Se[t]=parseFloat(Se[t])+e+Io,Se[1]=parseFloat(Se[1])+e+Io,Ns(Se)}},P.disable=function(t,n){if(t!==!1&&P.revert(!0,!0),P.enabled&&(P.enabled=P.isActive=!1,n||W&&W.pause(),Ae=0,I&&(I.uncache=1),ee&&Jo(e,`refreshInit`,ee),K&&(K.pause(),oe.tween&&oe.tween.kill()&&(oe.tween=0)),!O)){for(var r=Z.length;r--;)if(Z[r].scroller===E&&Z[r]!==P)return;Jo(E,`resize`,ss),O||Jo(E,`scroll`,as)}},P.kill=function(e,r){P.disable(e,r),W&&!r&&W.kill(),o&&delete ns[o];var i=Z.indexOf(P);i>=0&&Z.splice(i,1),i===Oa&&Ts>0&&Oa--,i=0,Z.forEach(function(e){return e.scroller===P.scroller&&(i=1)}),i||_s||(P.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),ue&&[ue,z,de,B].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),Es===P&&(Es=0),d&&(I&&(I.uncache=1),i=0,Z.forEach(function(e){return e.pin===d&&i++}),i||(I.spacer=0)),t.onKill&&t.onKill(P)},Z.push(P),P.enable(!1,!1),Ne&&Ne(P),n&&n.add&&!V){var Le=P.update;P.update=function(){P.update=Le,J.cache++,L||R||P.refresh()},Y.delayedCall(.01,P.update),V=.01,L=R=0}else P.refresh();d&&bs()},e.register=function(t){return ha||=(Y=t||oo(),ao()&&window.document&&e.enable(),Za),ha},e.defaults=function(e){if(e)for(var t in e)Zo[t]=e[t];return Zo},e.disable=function(e,t){Za=0,Z.forEach(function(n){return n[t?`kill`:`disable`](e)}),Jo(X,`wheel`,as),Jo(ga,`scroll`,as),clearInterval(wa),Jo(ga,`touchcancel`,ro),Jo(va,`touchstart`,ro),Ko(Jo,ga,`pointerdown,touchstart,mousedown`,to),Ko(Jo,ga,`pointerup,touchend,mouseup`,no),ba.kill(),mo(Jo);for(var n=0;n<J.length;n+=3)Yo(Jo,J[n],J[n+1]),Yo(Jo,J[n],J[n+2])},e.enable=function(){if(X=window,ga=document,_a=ga.documentElement,va=ga.body,Y)if(xa=Y.utils.toArray,Sa=Y.utils.clamp,Ba=Y.core.context||ro,Na=Y.core.suppressOverwrites||ro,Va=X.history.scrollRestoration||`auto`,ws=X.pageYOffset||0,Y.core.globals(`ScrollTrigger`,e),va){Za=1,Ha=document.createElement(`div`),Ha.style.height=`100vh`,Ha.style.position=`absolute`,xs(),eo(),ma.register(Y),e.isTouch=ma.isTouch,za=ma.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ia=ma.isTouch===1,qo(X,`wheel`,as),ya=[X,ga,_a,va],Y.matchMedia?(e.matchMedia=function(e){var t=Y.matchMedia(),n;for(n in e)t.add(n,e[n]);return t},Y.addEventListener(`matchMediaInit`,function(){ms(),hs()}),Y.addEventListener(`matchMediaRevert`,function(){return ps()}),Y.addEventListener(`matchMedia`,function(){Cs(0,1),ds(`matchMedia`)}),Y.matchMedia().add(`(orientation: portrait)`,function(){return os(),os})):console.warn(`Requires GSAP 3.11.0 or later`),os(),qo(ga,`scroll`,as);var t=va.hasAttribute(`style`),n=va.style,r=n.borderTopStyle,i=Y.core.Animation.prototype,a,o;for(i.revert||Object.defineProperty(i,`revert`,{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle=`solid`,a=Bo(va),aa.m=Math.round(a.top+aa.sc())||0,ia.m=Math.round(a.left+ia.sc())||0,r?n.borderTopStyle=r:n.removeProperty(`border-top-style`),t||(va.setAttribute(`style`,``),va.removeAttribute(`style`)),wa=setInterval(is,250),Y.delayedCall(.5,function(){return qa=0}),qo(ga,`touchcancel`,ro),qo(va,`touchstart`,ro),Ko(qo,ga,`pointerdown,touchstart,mousedown`,to),Ko(qo,ga,`pointerup,touchend,mouseup`,no),Da=Y.utils.checkPrefix(`transform`),ks.push(Da),ha=Ja(),ba=Y.delayedCall(.2,Cs).pause(),ja=[ga,`visibilitychange`,function(){var e=X.innerWidth,t=X.innerHeight;ga.hidden?(ka=e,Aa=t):(ka!==e||Aa!==t)&&ss()},ga,`DOMContentLoaded`,Cs,X,`load`,Cs,X,`resize`,ss],mo(qo),Z.forEach(function(e){return e.enable(0,1)}),o=0;o<J.length;o+=3)Yo(Jo,J[o],J[o+1]),Yo(Jo,J[o],J[o+2])}else ga&&ga.addEventListener(`DOMContentLoaded`,function t(){e.enable(),ga.removeEventListener(`DOMContentLoaded`,t)})},e.config=function(t){`limitCallbacks`in t&&(Ka=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(wa)||(wa=n)&&setInterval(is,n),`ignoreMobileResize`in t&&(Ia=e.isTouch===1&&t.ignoreMobileResize),`autoRefreshEvents`in t&&(mo(Jo)||mo(qo,t.autoRefreshEvents||`none`),Pa=(t.autoRefreshEvents+``).indexOf(`resize`)===-1)},e.scrollerProxy=function(e,t){var n=oa(e),r=J.indexOf(n),i=so(n);~r&&J.splice(r,i?6:2),t&&(i?Ki.unshift(X,t,va,t,_a,t):Ki.unshift(n,t))},e.clearMatchMedia=function(e){Z.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,n){var r=(ho(e)?oa(e):e).getBoundingClientRect(),i=r[n?Eo:Do]*t||0;return n?r.right-i>0&&r.left+i<X.innerWidth:r.bottom-i>0&&r.top+i<X.innerHeight},e.positionInViewport=function(e,t,n){ho(e)&&(e=oa(e));var r=e.getBoundingClientRect(),i=r[n?Eo:Do],a=t==null?i/2:t in Qo?Qo[t]*i:~t.indexOf(`%`)?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/X.innerWidth:(r.top+a)/X.innerHeight}
vendor: 4,225 bytes, line 1
1,e.killAll=function(e){if(Z.slice(0).forEach(function(e){return e.vars.id!==`ScrollSmoother`&&e.kill()}),e!==!0){var t=cs.killAll||[];cs={},t.forEach(function(e){return e()})}},e}();Q.version=`3.15.0`,Q.saveStyles=function(e){return e?xa(e).forEach(function(e){if(e&&e.style){var t=fs.indexOf(e);t>=0&&fs.splice(t,5),fs.push(e,e.style.cssText,e.getBBox&&e.getAttribute(`transform`),Y.core.getCache(e),Ba())}}):fs},Q.revert=function(e,t){return hs(!e,t)},Q.create=function(e,t){return new Q(e,t)},Q.refresh=function(e){return e?ss(!0):(ha||Q.register())&&Cs(!0)},Q.update=function(e){return++J.cache&&Ds(e===!0?2:0)},Q.clearScrollMemory=gs,Q.maxScroll=function(e,t){return po(e,t?ia:aa)},Q.getScrollFunc=function(e,t){return ca(oa(e),t?ia:aa)},Q.getById=function(e){return ns[e]},Q.getAll=function(){return Z.filter(function(e){return e.vars.id!==`ScrollSmoother`})},Q.isScrolling=function(){return!!Xa},Q.snapDirectional=Wo,Q.addEventListener=function(e,t){var n=cs[e]||(cs[e]=[]);~n.indexOf(t)||n.push(t)},Q.removeEventListener=function(e,t){var n=cs[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Q.batch=function(e,t){var n=[],r={},i=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var n=[],r=[],o=Y.delayedCall(i,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),a<=n.length&&o.progress(1)}},s;for(s in t)r[s]=s.substr(0,2)===`on`&&go(t[s])&&s!==`onRefreshInit`?o(s,t[s]):t[s];return go(a)&&(a=a(),qo(Q,`refresh`,function(){return a=t.batchMax()})),xa(e).forEach(function(e){var t={};for(s in r)t[s]=r[s];t.trigger=e,n.push(Q.create(t))}),n};var Us=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},Ws=function e(t,n){n===!0?t.style.removeProperty(`touch-action`):t.style.touchAction=n===!0?`auto`:n?`pan-`+n+(ma.isTouch?` pinch-zoom`:``):`none`,t===_a&&e(va,n)},Gs={auto:1,scroll:1},Ks=function(e){var t=e.event,n=e.target,r=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,a=i._gsap||Y.core.getCache(i),o=Ja(),s;if(!a._isScrollT||o-a._isScrollT>2e3){for(;i&&i!==va&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Gs[(s=Lo(i)).overflowY]||Gs[s.overflowX]));)i=i.parentNode;a._isScroll=i&&i!==n&&!so(i)&&(Gs[(s=Lo(i)).overflowY]||Gs[s.overflowX]),a._isScrollT=o}(a._isScroll||r===`x`)&&(t.stopPropagation(),t._gsapAllow=!0)},qs=function(e,t,n,r){return ma.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r&&=Ks,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&qo(ga,ma.eventTypes[0],Xs,!1,!0)},onDisable:function(){return Jo(ga,ma.eventTypes[0],Xs,!0)}})},Js=/(input|label|select|textarea)/i,Ys,Xs=function(e){var t=Js.test(e.target.tagName);(t||Ys)&&(e._gsapAllow=!0,Ys=t)},Zs=function(e){vo(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||=`wheel,touch`,e.debounce=!!e.debounce,e.id=e.id||`normalizer`;var t=e,n=t.normalizeScrollX,r=t.momentum,i=t.allowNestedScroll,a=t.onRelease,o,s,c=oa(e.target)||_a,l=Y.core.globals().ScrollSmoother,u=l&&l.get(),d=za&&(e.content&&oa(e.content)||u&&e.content!==!1&&!u.smooth()&&u.content()),f=ca(c,aa),p=ca(c,ia),m=1,h=(ma.isTouch&&X.visualViewport?X.visualViewport.scale*X.visualViewport.width:X.outerWidth)/X.innerWidth,g=0,_=go(r)?function(){return r(o)}:function(){return r||2.8},v,y,b=qs(c,e.type,!0,i),x=function(){return y=!1},S=ro,C=ro,w=function(){s=po(c,aa),C=Sa(+!!za,s),n&&(S=Sa(0,po(c,ia))),v=vs},T=function(){d._gsap.y=io(parseFloat(d._gsap.y)+f.offset)+`px`,d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+parseFloat(d._gsap.y)+`, 0, 1)`,f.offset=f.cacheID=0},E=function(){if(y){requestAnimationFrame(x);var e=io(o.deltaY/2),t=C(f.v-e);if(d&&t!==f.v+f.offset){f.offset=t-f.v;var n=io((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+n+`, 0, 1)`,d._gsap.y=n+`px`,f.cacheID=J.cache,Ds()}return!0}f.offset&&T(),y=!0},D,O,k,A,j=function(){w(),D.isActive()&&D.vars.scrollY>s&&(f()>s?D.progress(1)&&f(s):D.resetTo(`scrollY`,s))};return d&&Y.set(d,{y:`+=0`}),e.ignoreCheck=function(e){return za&&e.type===`touchmove`&&E(e)||m>1.05&&e.type!==`touchstart`||o.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){y=!1;var e=m;
1m=io((X.visualViewport&&X.visualViewport.scale||1)/h),D.pause(),e!==m&&Ws(c,m>1.01?!0:n?!1:`x`),O=p(),k=f(),w(),v=vs},e.onRelease=e.onGestureStart=function(e,t){if(f.offset&&T(),!t)A.restart(!0);else{J.cache++;var r=_(),i,o;n&&(i=p(),o=i+r*.05*-e.velocityX/.227,r*=Us(p,i,o,po(c,ia)),D.vars.scrollX=S(o)),i=f(),o=i+r*.05*-e.velocityY/.227,r*=Us(f,i,o,po(c,aa)),D.vars.scrollY=C(o),D.invalidate().duration(r).play(.01),(za&&D.vars.scrollY>=s||i>=s-1)&&Y.to({},{onUpdate:j,duration:r})}a&&a(e)},e.onWheel=function(){D._ts&&D.pause(),Ja()-g>1e3&&(v=0,g=Ja())},e.onChange=function(e,t,r,i,a){if(vs!==v&&w(),t&&n&&p(S(i[2]===t?O+(e.startX-e.x):p()+t-i[1])),r){f.offset&&T();var o=a[2]===r,s=o?k+e.startY-e.y:f()+r-a[1],c=C(s);o&&s!==c&&(k+=c-s),f(c)}(r||t)&&Ds()},e.onEnable=function(){Ws(c,n?!1:`x`),Q.addEventListener(`refresh`,j),qo(X,`resize`,j),f.smooth&&=(f.target.style.scrollBehavior=`auto`,p.smooth=!1),b.enable()},e.onDisable=function(){Ws(c,!0),Jo(X,`resize`,j),Q.removeEventListener(`refresh`,j),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new ma(e),o.iOS=za,za&&!f()&&f(1),za&&Y.ticker.add(ro),A=o._dc,D=Y.to(o,{ease:`power4`,paused:!0,inherit:!1,scrollX:n?`+=0.1`:`+=0`,scrollY:`+=0.1`,modifiers:{scrollY:Bs(f,f(),function(){return D.pause()})},onUpdate:Ds,onComplete:A.vars.onComplete}),o};Q.sort=function(e){if(go(e))return Z.sort(e);var t=X.pageYOffset||0;return Q.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+X.innerHeight}),Z.sort(e||function(e,t){return(e.vars.refreshPriority||0)*-1e6+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})},Q.observe=function(e){return new ma(e)},Q.normalizeScroll=function(e){if(e===void 0)return Fa;if(e===!0&&Fa)return Fa.enable();if(e===!1){Fa&&Fa.kill(),Fa=e;return}var t=e instanceof ma?e:Zs(e);return Fa&&Fa.target===t.target&&Fa.kill(),so(t.target)&&(Fa=t),t},Q.core={_getVelocityProp:la,_inputObserver:qs,_scrollers:J,_proxies:Ki,bridge:{ss:function(){Xa||ds(`scrollStart`),Xa=Ja()},ref:function(){return Ta}}},oo()&&Y.registerPlugin(Q);var $=t(),Qs=[{id:`hero`,chapter:`The owned intelligence system`,title:(0,$.jsxs)($.Fragment,{children:[`Your business. `,(0,$.jsx)(`em`,{children:`Running on its own intelligence.`})]}),body:`One private architecture for your data, agents and operations.`,primary:!0},{id:`sovereign-core`,chapter:`Own the foundation`,title:(0,$.jsxs)($.Fragment,{children:[`Your intelligence lives on `,(0,$.jsx)(`em`,{children:`infrastructure you control.`})]}),body:`A governed VPS becomes the private core for your data, models, memory and business logic.`},{id:`agent-operations`,chapter:`Orchestrate the work`,title:(0,$.jsxs)($.Fragment,{children:[`Specialist agents move through `,(0,$.jsx)(`em`,{children:`one operating system.`})]}),body:`Research, operations, sales and intelligence run as coordinated workflows.`},{id:`intelligent-growth`,chapter:`Compound the outcome`,title:(0,$.jsxs)($.Fragment,{children:[`Every signal sharpens `,(0,$.jsx)(`em`,{children:`the next decision.`})]}),body:`Demand, behavior and revenue evidence continuously improve the path from visitor to customer.`}];function $s({ctaLabel:e,journey:t}){let n=(0,s.useRef)(null),r=(0,s.useRef)(null),i=(0,s.useRef)(0),a=(0,s.useRef)(0),[o,c]=(0,s.useState)(!1),[l,u]=(0,s.useState)(!1),[f,p]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=r.current;if(!e)return;let t=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=window.matchMedia(`(max-width: 700px)`),i=null,a=null,o=()=>{if(i?.abort(),e.pause(),e.removeAttribute(`src`),a&&URL.revokeObjectURL(a),a=null,c(!1),t.matches){p(!1),e.load();return}p(!0);let r=new AbortController;i=r;let o=n.matches?`/world/corelio-hero-mobile.mp4`:`/world/corelio-hero-desktop.mp4`;fetch(o,{signal:r.signal}).then(e=>{if(!e.ok)throw Error(`Film request failed: ${e.status}`);return e.blob()}).then(t=>{r.signal.aborted||(a=URL.createObjectURL(t),e.src=a,e.load())}).catch(()=>{r.signal.aborted||(u(!0),p(!1))})};return o(),n.addEventListener(`change`,o),t.addEventListener(`change`,o),()=>{i?.abort(),n.removeEventListener(`change`,o),t.removeEventListener(`change`,o),e.pause(),e.removeAttribute(`src`),e.load(),a&&URL.revokeObjectURL(a)}},[]),(0,s.useEffect)(()=>{let e=n.current;if(!e)return;Di.registerPlugin(Q);let t=Di.matchMedia();return t.add({motion:`(prefers-reduced-motion: no-preference)`,mobile:`(max-width: 700px)`},t=>{if(!t.conditions?.motion)return;let n=0,o=!1,s=!!t.conditions.mobile;e.classList.add(`film-enhanced`);let c=Di.context(()=>{let t=Di.utils.toArray(`.film-card`),r=Di.utils.toArray(`.film-marker`);Di.set(t,{autoAlpha:0,y:34,filter:`blur(7px)`}),Di.set(t[0],{autoAlpha:1,y:0,filter:`blur(0px)`}),r[0]?.classList.add(`active`),t.forEach((e,t)=>{e.inert=t!==0});let a=Di.timeline({scrollTrigger:{trigger:e,start:`top top`,end:`bottom bottom`,scrub:.75,invalidateOnRefresh:!0,onUpdate:({progress:a})=>{i.current=a;let s=Math.min(Qs.length-1,Math.max(0,Math.floor(a*4.62-.12)));e.dataset.chapter=Qs[s].id,r.forEach((e,t)=>e.classList.toggle(`active`,t===s)),t.forEach((e,t)=>{e.inert=t!==s}),o||(o=!0,n=window.requestAnimationFrame(l))}}});
1Qs.slice(1).forEach((e,n)=>{let r=n+1;a.to(t[n],{autoAlpha:0,y:-18,filter:`blur(5px)`,duration:.45,ease:`power2.in`},r).fromTo(t[r],{autoAlpha:0,y:34,filter:`blur(7px)`},{autoAlpha:1,y:0,filter:`blur(0px)`,duration:.7,ease:`power3.out`},r+.12)}),a.to({},{duration:.8},3.82)},e);function l(){if(!e||!Q.isInViewport(e)||document.hidden){o=!1;return}let t=r.current,c=i.current,u=a.current,d=Math.abs(c-u)<5e-4?c:u+(c-u)*(s?.2:.14);if(a.current=d,t&&Number.isFinite(t.duration)&&t.duration>0&&!t.seeking){let e=Math.max(0,t.duration-1/30),n=Math.min(e,d*e);Math.abs(t.currentTime-n)>(s?1/45:1/60)&&(t.currentTime=n)}Math.abs(c-d)>=5e-4||t?.seeking?n=window.requestAnimationFrame(l):o=!1}return()=>{window.cancelAnimationFrame(n),c.revert(),e.classList.remove(`film-enhanced`),e.querySelectorAll(`.film-card`).forEach(e=>{e.inert=!1,[`opacity`,`visibility`,`transform`,`filter`].forEach(t=>e.style.removeProperty(t))})}}),()=>t.revert()},[]),(0,s.useEffect)(()=>{let e=r.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let t=!1,n=()=>{if(t||e.readyState<HTMLMediaElement.HAVE_METADATA)return;let n=e.currentTime;e.play().then(()=>{e.pause(),e.currentTime=n,t=!0}).catch(()=>void 0)};return window.addEventListener(`pointerdown`,n,{passive:!0}),window.addEventListener(`touchstart`,n,{passive:!0}),()=>{window.removeEventListener(`pointerdown`,n),window.removeEventListener(`touchstart`,n)}},[]),(0,$.jsx)(`section`,{className:`cinematic-experience`,id:`top`,ref:n,"aria-label":`The Corelio owned intelligence journey`,"data-telemetry-section":`cinematic-world`,children:(0,$.jsxs)(`div`,{className:`film-stage`,children:[(0,$.jsxs)(`picture`,{className:`film-poster`,children:[(0,$.jsx)(`source`,{media:`(max-width: 700px)`,srcSet:`/world/01-fragmented-mobile.webp`}),(0,$.jsx)(`img`,{src:`/world/01-fragmented-desktop.webp`,alt:``})]}),(0,$.jsx)(`video`,{ref:r,className:`film-canvas ${o?`ready`:``}`,muted:!0,playsInline:!0,preload:`auto`,poster:`/world/01-fragmented-desktop.webp`,onLoadedMetadata:e=>{let t=e.currentTarget;t.pause(),t.currentTime=Math.min(Math.max(0,t.duration-1/30),Math.max(.04,i.current*(t.duration-1/30))),u(!1),p(!1)},onSeeked:()=>c(!0),onError:()=>{u(!0),c(!1),p(!1)}}),(0,$.jsx)(`div`,{className:`film-scrim`,"aria-hidden":`true`}),(0,$.jsxs)(`div`,{className:`film-interface shell`,children:[(0,$.jsx)(`div`,{className:`film-card-stack`,children:Qs.map(n=>{let r=n.primary&&t?{...n,chapter:t.hero.chapter,title:(0,$.jsxs)($.Fragment,{children:[t.hero.titleLead,` `,(0,$.jsx)(`em`,{children:t.hero.titleEmphasis})]}),body:t.hero.body}:n;return(0,$.jsxs)(`article`,{className:`film-card film-card-${n.id} ${n.primary?`film-card-primary`:``}`,"data-telemetry-section":n.primary?`hero`:void 0,children:[n.primary?(0,$.jsx)(`h1`,{children:r.title}):(0,$.jsx)(`h2`,{children:r.title}),(0,$.jsx)(`p`,{className:`film-body`,children:r.body}),n.primary&&(0,$.jsxs)(`div`,{className:`film-actions`,children:[(0,$.jsx)(`a`,{className:`film-cta`,href:`#design`,onClick:()=>d(`cta_click`,{cta:`design_architecture`,location:`hero`}),children:e}),(0,$.jsx)(`a`,{className:`film-link`,href:`#architecture`,children:`Explore the architecture`})]}),n.id===`intelligent-growth`&&(0,$.jsx)(`a`,{className:`film-cta`,href:`#design`,children:`Design your architecture`})]},n.id)})}),(0,$.jsx)(`div`,{className:`film-markers`,"aria-label":`Film chapters`,children:Qs.map((e,t)=>(0,$.jsxs)(`span`,{className:`film-marker`,children:[(0,$.jsx)(`b`,{children:String(t+1).padStart(2,`0`)}),e.chapter]},e.id))}),(0,$.jsx)(`p`,{className:`sr-only`,"aria-live":`polite`,children:l?`Cinematic film unavailable. Showing a still image.`:f?`Preparing scroll-controlled film.`:`Scroll controls the cinematic film.`})]})]})})}var ec=[{title:`Your business tools`,summary:`CRM · email · finance · files`,detail:`Keep the specialist tools that earn their place. Connect the business context they hold through scoped integrations—not another layer of manual copying.`,boundary:`Connect only the access each workflow needs.`},{title:`Your private VPS`,summary:`Data · knowledge · memory`,detail:`An owned, governed foun
1dation brings operational context together. Your information model, access rules and business logic shape the system.`,boundary:`Credentials remain outside agent-readable context.`},{title:`Specialist agents`,summary:`Research · operations · sales`,detail:`Purpose-built agents work from controlled context and coordinate bounded workflows. Each role has a defined task, permitted actions and a measurable outcome.`,boundary:`Agent authority is explicit, not unrestricted.`},{title:`Your control centre`,summary:`Visibility · decisions · recovery`,detail:`See what ran, why it ran and what happened next. Controls, evidence and retained recovery keep the architecture accountable as it evolves.`,boundary:`Changes require verification and recoverable predecessors.`}];function tc(){let[e,t]=(0,s.useState)(1),n=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=n.current;if(!e)return;e.classList.add(`enhanced`);let t=new IntersectionObserver(([t])=>{e.classList.toggle(`in-view`,t.isIntersecting)},{threshold:.15});return t.observe(e),()=>{t.disconnect(),e.classList.remove(`enhanced`)}},[]),(0,$.jsxs)(`div`,{className:`architecture-map`,ref:n,children:[(0,$.jsxs)(`div`,{className:`architecture-map-header`,children:[(0,$.jsx)(`p`,{children:`From scattered context to coordinated work.`}),(0,$.jsx)(`span`,{children:`Illustrative architecture`})]}),(0,$.jsx)(`ol`,{className:`architecture-path`,"aria-label":`Architecture flow`,children:ec.map((n,r)=>(0,$.jsx)(`li`,{className:e===r?`is-selected`:``,children:(0,$.jsxs)(`button`,{type:`button`,"aria-expanded":e===r,"aria-controls":`architecture-detail-${r}`,onClick:()=>t(r),children:[(0,$.jsxs)(`span`,{className:`architecture-step-number`,children:[`0`,r+1]}),(0,$.jsx)(`strong`,{children:n.title}),(0,$.jsx)(`span`,{children:n.summary})]})},n.title))}),(0,$.jsx)(`div`,{className:`architecture-details`,children:ec.map((t,n)=>(0,$.jsxs)(`section`,{id:`architecture-detail-${n}`,className:e===n?`is-selected`:``,"aria-label":t.title,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h3`,{children:t.title}),(0,$.jsx)(`p`,{children:t.detail})]}),(0,$.jsx)(`p`,{className:`architecture-boundary`,children:t.boundary})]},t.title))}),(0,$.jsxs)(`p`,{className:`architecture-map-foot`,children:[`Your infrastructure. Your data. Your leverage. `,(0,$.jsx)(`span`,{children:`Designed around your business, not a generic package.`})]})]})}var nc=[{minutes:20,label:`Architecture conversation`,url:`https://cal.com/corelio.ai/20-min-meeting`},{minutes:15,label:`Quick fit conversation`,url:`https://cal.com/corelio.ai/15min`}];function rc(){let e=(0,s.useRef)(null),[t,n]=(0,s.useState)(null);function r(){e.current?.close(),n(null)}return(0,$.jsxs)(`div`,{className:`meeting-booking`,children:[(0,$.jsx)(`div`,{className:`meeting-options`,children:nc.map(t=>(0,$.jsxs)(`button`,{type:`button`,className:t.minutes===20?`button primary`:`button secondary`,onClick:()=>{n(t),e.current?.showModal()},children:[t.label,` `,(0,$.jsxs)(`span`,{children:[`· `,t.minutes,` min`]})]},t.minutes))}),(0,$.jsx)(`p`,{className:`booking-context`,children:`The calendar loads from Cal.com only when opened. Download your brief to bring to the meeting; submit the contact form to save your assessment with Corelio. No assessment or contact details are forwarded in the booking URL.`}),(0,$.jsxs)(`dialog`,{ref:e,className:`booking-dialog`,"aria-labelledby":`booking-title`,onCancel:r,onClose:()=>n(null),children:[(0,$.jsxs)(`header`,{children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{children:`CORELIO / NEXT CONVERSATION`}),(0,$.jsxs)(`h3`,{id:`booking-title`,children:[t?.label,` · `,t?.minutes,` minutes`]})]}),(0,$.jsx)(`button`,{type:`button`,className:`booking-close`,onClick:r,children:`Close calendar`})]}),t&&(0,$.jsx)(`iframe`,{title:`Book a ${t.minutes}-minute Corelio meeting`,src:`${t.url}?embed=true&layout=month_view`,referrerPolicy:`no-referrer`},t.url),(0,$.jsxs)(`p`,{children:[`If the calendar doesn’t load, `,(0,$.jsx)(`a`,{href:t?.url||nc[0].url,target:`_blank`,rel:`noopener noreferrer`,children:`open it directly on Cal.com`}),`. Your booking is confirmed by Cal.com, not by opening this window.`]})]}),(0,$.jsxs)(`noscript`,{children:[(0,$.jsx)(`a`,{href:nc[0].url,children:`Book a 20-minute architecture conversation`}),` · `,(0,$.jsx)(`a`,{href:nc[1].url,children:`Book a 15-minute fit conversation`})]})]})}function ic({size:e,toolCount:t,priority:n,timeline:r}){let i=e===`1–10`?`3–5`:e===`11–50`?`5–8`:e===`51–200`?`8–12`:`12+`,a={"Automate operations":`an operations command layer and workflow agents`,"Unify business data":`a governed data spine and decision intelligence`,"Deploy private AI":`a private model gateway, knowledge layer and specialist agents`,"Replace scattered SaaS":`a consolidated control centre with owned automations`},o=Math.min(96,48+(e===`1–10`?4:e===`11–50`?13:e===`51–200`?18:15)+(t===`1–5`?4:t===`6–15`?11:16)+(r===`Now`?14:r===`This quarter`?10:4)),s=o>=82?`Strong architecture fit`:o>=68?`Good architecture fit`:`Emerging architecture fit`,c=t===`16+`?`Consolidation-first`:n===`Deploy private AI`?`Private AI-first`:`Workflow-first`;return{workerCount:i,focus:a[n],score:o,fit:s,phase:c,highIntent:o>=82&&r!==`Exploring`}}var ac={"Automate operations":{title:`One repeatable handoff`,why:`A bounded process lets you test execution and exception handling before expanding automation.`,next:`Map its trigger, inputs, owner, exceptions and success condition.`},"Unify business data":{title:`One operational question`,why:`A shared context layer is useful when it answers a decision your team already needs to make.`,next:`Identify the source systems, access permissions and definition of a trustworthy answer.`},"Deploy private AI":{title:`One controlled knowledge workflow`,why:`A defined use case exposes the privacy, retrieval and access requirements before choosing a broader stack.`,next:`Review approved knowledge sources, user roles, model boundaries and evaluation examples.`},"Replace scattered SaaS":{title:`One duplicated workflow`,why:`Consolidate a specific duplication first, while preserving specialist tools that still earn their place.`,next:`Map which tools own the data, which handoffs repeat and what must remain unchanged.`}};function oc(e,t=``,n=``){let r=ic(e),i=ac[e.priority];return`# Corelio initial architecture direction\n\nReadiness: ${r.fit}\nHeuristic estimate: ${r.score}/100 (not a validated probability or final design)\nCompany size: ${e.size}\nActive tools: ${e.toolCount}\nPriority: ${e.priority}\nTiming: ${e.timeline}\nIndustry: ${n||`Not specified`}\nWorkflow context: ${t||`To be identified during review`}\n\n## Recommended starting point\n${i.title}\n${i.why}
1\n\n## What Corelio would assess next\n${i.next}\n\n## Unknowns\nSystem access, process ownership, risk profile, delivery scope and commercial terms need review.\n\n## Architecture direction\n${r.focus}\n${r.phase}\n\n## Protected boundaries\nCredentials remain outside agent-readable evidence. Changes require independent verification and retained recovery.\n\nThis is an answer-derived initial direction, not a binding design or guaranteed outcome.`}var sc={control:{id:`control`,hero:{chapter:`The owned intelligence system`,titleLead:`Your business.`,titleEmphasis:`Running on its own intelligence.`,body:`One private architecture for your data, agents and operations.`,ctaLabel:`Design my architecture`},bridge:{titleLead:`Stop renting disconnected tools.`,titleEmphasis:`Start owning the system.`,body:`Most businesses have accumulated software. Corelio gives you architecture: one private environment where data, intelligence and execution finally work together.`}},operations:{id:`operations`,hero:{chapter:`The autonomous operations system`,titleLead:`Your operations.`,titleEmphasis:`Coordinated by owned intelligence.`,body:`Connect repeatable work, specialist agents and accountable outcomes inside one private operating architecture.`,ctaLabel:`Map my operations system`},bridge:{titleLead:`Stop automating isolated tasks.`,titleEmphasis:`Design the operating loop.`,body:`Corelio maps the handoffs, exceptions, data and controls around an outcome—then turns them into one governed system.`}},data:{id:`data`,hero:{chapter:`The governed intelligence core`,titleLead:`Your business context.`,titleEmphasis:`Finally working as one system.`,body:`Unify operational knowledge and decision signals inside private infrastructure your business controls.`,ctaLabel:`Map my data architecture`},bridge:{titleLead:`Stop moving context by hand.`,titleEmphasis:`Build one governed spine.`,body:`Corelio connects the systems that hold operational truth so agents and people can work from the same controlled context.`}},"private-ai":{id:`private-ai`,hero:{chapter:`The private AI foundation`,titleLead:`Private AI.`,titleEmphasis:`Running on infrastructure you control.`,body:`Give models, memory, business data and specialist agents one governed home instead of another disconnected tool.`,ctaLabel:`Map my private AI system`},bridge:{titleLead:`Stop renting the intelligence layer.`,titleEmphasis:`Own the operating foundation.`,body:`Corelio designs the private environment, access boundaries and agent workflows around your company—not a generic AI workspace.`}},consolidation:{id:`consolidation`,hero:{chapter:`The consolidation architecture`,titleLead:`Fewer disconnected tools.`,titleEmphasis:`One owned operating system.`,body:`Consolidate duplicated context and workflows around the specialist systems that still earn their place.`,ctaLabel:`Map my consolidation path`},bridge:{titleLead:`Stop adding another dashboard.`,titleEmphasis:`Rebuild the operating layer.`,body:`Corelio preserves useful specialist software while replacing the fragmentation between data, decisions and execution.`}}},cc={publication:`CEO Times`,label:`Corelio.AI featured in CEO Times`,url:`https://ceotimes.com/rebuilding-enterprise-dreams-how-corelio-ais-private-ai-infrastructure-achieves-zero-breaches-across-regulated-industries/`,publishedOn:`2025-11-15`,usage:`media-reference-only`,eligibleForAnswerGrounding:!1},lc=[`Automate operations`,`Unify business data`,`Deploy private AI`,`Replace scattered SaaS`],uc=[[`01`,`Less operational drag`,`Connect fragmented tools and turn repeatable work into governed automated systems.`],[`02`,`Private by architecture`,`Keep your core knowledge, automation and agent memory inside infrastructure you control.`],[`03`,`Built around your company`,`Your operating model shapes the system—not the constraints of a generic SaaS product.`],[`04`,`Compounds over time`,`Every workflow, decision and result becomes context your business can reuse.`]];function dc(){let[e,t]=(0,s.useState)(!1),[n,c]=(0,s.useState)(`11–50`),[l,p]=(0,s.useState)(`Automate operations`),[m,h]=(0,s.use
1State)(``),[g,_]=(0,s.useState)(!1),[v,y]=(0,s.useState)(1),[b,x]=(0,s.useState)(`This quarter`),[S,C]=(0,s.useState)(`6–15`),[w,T]=(0,s.useState)(``),[E,D]=(0,s.useState)(``),[O,k]=(0,s.useState)(``),[A,j]=(0,s.useState)(!1),[M,N]=(0,s.useState)(``),[P,ee]=(0,s.useState)(!1),[te,F]=(0,s.useState)(`idle`),[ne,re]=(0,s.useState)(``),[ie,ae]=(0,s.useState)(`Design my architecture`),[oe,I]=(0,s.useState)(sc.control),[se,ce]=(0,s.useState)(null),[le,L]=(0,s.useState)({}),[R,ue]=(0,s.useState)(``),[z,de]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=document.querySelectorAll(`.statement-grid, .architecture > .section-heading, .architecture-board, .outcomes .section-heading, .outcome-grid, .process > .section-heading, .timeline, .designer-grid, .final-grid`),t=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;if(document.documentElement.classList.add(`motion-ready`),e.forEach(e=>e.classList.add(`motion-item`)),t)return e.forEach(e=>e.classList.add(`is-visible`)),()=>document.documentElement.classList.remove(`motion-ready`);let n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add(`is-visible`),n.unobserve(e.target))})},{threshold:.12,rootMargin:`0px 0px -8% 0px`});return e.forEach(e=>n.observe(e)),()=>{n.disconnect(),document.documentElement.classList.remove(`motion-ready`)}},[]),(0,s.useEffect)(()=>{let e=!0,t=async()=>{try{let t=i(),n=new URLSearchParams(window.location.search).get(`intent`),r=document.referrer?new URL(document.referrer).origin===window.location.origin?`internal`:`external`:`direct`,a=await(await fetch(`/api/journey/decision`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({consented:t,sessionId:t?u():void 0,signals:{intentHint:n,entryPath:`home`,referrerType:r,deviceClass:window.matchMedia(`(max-width: 700px)`).matches?`mobile`:`desktop`}})})).json();if(e&&a.module&&(I(a.module),ae(a.module.hero.ctaLabel)),!t)return;let o=(await(await fetch(`/api/experiments/assignment`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({sessionId:u(),surface:`home-hero-cta`})})).json()).assignment?.content?.label;e&&o&&ae(o);let s=await(await fetch(`/api/funnel/assignment`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({sessionId:u()})})).json();e&&s.assignment&&ce(s.assignment)}catch{}};return t(),window.addEventListener(a,t),()=>{e=!1,window.removeEventListener(a,t)}},[]),(0,s.useEffect)(()=>{let e=[`company_size`,`tool_count`,`priority`,`timeline`,`contact`],t=se?.step===v?{experiment_id:se.experimentId,variant:se.variant}:{},n=()=>d(`funnel_step_view`,{step:v,question_id:e[v-1],...t});return n(),window.addEventListener(a,n),()=>window.removeEventListener(a,n)},[se,v]);let B=(0,s.useMemo)(()=>ic({size:n,priority:l,toolCount:S,timeline:b}),[l,n,b,S]),fe=B.score>=82&&b!==`Exploring`,pe=(0,s.useMemo)(()=>{let e=n===`1–10`?`Single private VPS with staged production boundaries`:n===`200+`?`Segmented private compute with role and environment separation`:`Private VPS core with identity, audit, and workload isolation`,t=S===`16+`?`Inventory and consolidate fragmented systems before broad automation`:S===`6–15`?`Govern a shared business data spine across priority systems`:`Connect the few systems that hold operational truth`,r={"Automate operations":`Operations coordinator, workflow specialists, and exception analyst`,"Unify business data":`Data steward, retrieval specialist, and decision analyst`,"Deploy private AI":`Model gateway, knowledge steward, and role-specific assistants`,"Replace scattered SaaS":`Control-centre coordinator and owned workflow services`},i=b===`Now`?`Start with a bounded 30-day deployment, then expand by evidence`:b===`This quarter`?`Map, architect, and launch the first controlled workflow this quarter`:`Run a readiness map and preserve optionality before committing infrastructure`;return{foundation:e,data:t,agents:r[l],rollout:i}},[l,n,b,S]),V=e=>se?.step===e?se.content:null,me=(e,t)=>{let n=V(e)?.order;return n?.length?n.filter(e=>t.includes(e)):t},he={1:{"1–10":`1-10`,"11–50":`11-50`,"51–200":`51-200`,"200+":`200-plus`}[n],2:{"1–5":`1-5`,"6–15":`6-15`,"16+":`16-plus`}[S],3:{"Automate operations":`automate`,"Unify business data":`unify`,"Deploy private AI":`private-ai`,"Replace scattered SaaS":`replace-saas`}[l],4:{Now:`now`,"This quarter":`quarter`,Exploring:`exploring`}[b]};function ge(e){if(e.preventDefault(),!le[v])return;
1let t=[`company_size`,`tool_count`,`priority`,`timeline`],n=se?.step===v?{experiment_id:se.experimentId,variant:se.variant}:{};d(`funnel_step_complete`,{step:v,question_id:t[v-1],answer_id:he[v],...n}),v<4?y(e=>e+1):(F(`idle`),de(null),_(!0),y(5),setTimeout(()=>{let e=document.getElementById(`generated-brief`);e?.focus({preventScroll:!0}),e?.scrollIntoView({behavior:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?`auto`:`smooth`,block:`start`})},50))}function _e(){let e=oc({size:n,toolCount:S,priority:l,timeline:b},R,m)+`\n\n## Foundation\n${pe.foundation}\n\n## Data and integrations\n${pe.data}\n\n## Agent roles\n${pe.agents}\n\n## Rollout direction\n${pe.rollout}`,t=URL.createObjectURL(new Blob([e],{type:`text/markdown;charset=utf-8`})),r=document.createElement(`a`);r.href=t,r.download=`corelio-initial-architecture.md`,r.click(),URL.revokeObjectURL(t),d(`brief_download`,{fit_band:B.fit,phase:B.phase})}let H=(0,s.useMemo)(()=>`mailto:[email protected]?subject=${encodeURIComponent(`Architecture conversation — ${E||m||`Corelio prospect`}`)}&body=${encodeURIComponent(`Hello Corelio,\n\nI completed the architecture assessment.\n\nName: ${w||`—`}\nCompany: ${E||`—`}\nWork email: ${O||`—`}\nCompany size: ${n}\nIndustry: ${m||`—`}\nCurrent tools: ${S}\nPriority: ${l}\nTimeline: ${b}\nFit score: ${B.score}/100\nRecommended direction: ${B.focus}\n\nI'd like to discuss the architecture.`)}`,[E,w,O,m,l,B,n,b,S]);async function ve(e){e.preventDefault(),ee(!0),F(`idle`);try{let e=await fetch(`/api/leads`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({name:w,company:E,email:O,consent:A,website:M,size:n,industry:m,toolCount:S,priority:l,timeline:b,workflow:R,score:B.score,fit:B.fit,phase:B.phase,recommendation:B.focus,workerCount:B.workerCount,resultType:fe?`conversation`:`guide`,analyticsConsent:i(),sessionId:i()?u():void 0})}),t=await e.json();if(!e.ok||!t.ok)throw Error(t.error||`Submission failed`);F(`success`),de(t.followup||null),d(`funnel_step_complete`,{step:5,question_id:`contact`,answer_id:`submitted`}),d(`funnel_submit_success`,{fit_band:B.fit,score_band:B.score>=82?`82-100`:B.score>=68?`68-81`:`0-67`}),d(`funnel_result_view`,{result_type:fe?`conversation`:`guide`})}catch(e){F(`error`),re(e instanceof Error?e.message:`Submission failed`),d(`funnel_submit_error`,{failure_class:`crm_delivery`})}finally{ee(!1)}}return(0,$.jsxs)(`main`,{children:[(0,$.jsx)(f,{}),(0,$.jsxs)(`nav`,{className:`nav shell cinematic-nav`,"aria-label":`Primary navigation`,children:[(0,$.jsxs)(`a`,{className:`brand`,href:`#top`,"aria-label":`Corelio home`,children:[(0,$.jsxs)(`span`,{className:`brand-mark`,children:[(0,$.jsx)(`i`,{}),(0,$.jsx)(`i`,{}),(0,$.jsx)(`i`,{})]}),(0,$.jsxs)(`span`,{children:[`corelio`,(0,$.jsx)(`span`,{children:`.ai`})]})]}),(0,$.jsxs)(`button`,{className:`menu-button`,"aria-label":`Toggle menu`,"aria-expanded":e,onClick:()=>t(!e),children:[(0,$.jsx)(`span`,{}),(0,$.jsx)(`span`,{})]}),(0,$.jsxs)(`div`,{className:`nav-links ${e?`open`:``}`,children:[(0,$.jsx)(`a`,{href:`#architecture`,onClick:()=>t(!1),children:`Architecture`}),(0,$.jsx)(`a`,{href:`#outcomes`,onClick:()=>t(!1),children:`Outcomes`}),(0,$.jsx)(`a`,{href:`#process`,onClick:()=>t(!1),children:`Process`}),(0,$.jsxs)(`a`,{href:`#design`,className:`nav-cta`,onClick:()=>t(!1),children:[`Design yours `,(0,$.jsx)(`span`,{children:`↗`})]})]})]}),(0,$.jsx)($s,{ctaLabel:ie,journey:oe}),(0,$.jsx)(`section`,{className:`statement-section`,"data-telemetry-section":`shift`,children:(0,$.jsxs)(`div`,{className:`shell statement-grid`,children:[(0,$.jsx)(`p`,{className:`section-note`,children:`The operating shift`}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`h2`,{children:[oe.bridge.titleLead,(0,$.jsx)(`br`,{}),(0,$.jsx)(`span`,{children:oe.bridge.titleEmphasis})]}),(0,$.jsx)(`p`,{children:oe.bridge.body})]})]})}),(0,$.jsxs)(`section`,{className:`architecture shell`,id:`architecture`,"data-telemetry-section":`architecture`,children:[(0,$.jsxs)(`div`,{className:`section-heading`,children:[(0,$.jsx)(`div`,{children:(0,$.jsxs)(`h2`,{children:[`One foundation.`,(0,$.jsx)(`br`,{}),`Every capability.`]})}),(0,$.jsx)(`p`,{children:`Your Corelio VPS is not a bundle of tools. It is a business-s
1pecific digital infrastructure, designed as one coherent stack.`})]}),(0,$.jsx)(tc,{})]}),(0,$.jsx)(`section`,{className:`proof-register`,"data-telemetry-section":`proof`,children:(0,$.jsxs)(`div`,{className:`shell proof-register-grid`,children:[(0,$.jsxs)(`h2`,{children:[`Not a promise deck.`,(0,$.jsx)(`br`,{}),`A working control loop.`]}),(0,$.jsxs)(`div`,{className:`proof-lines`,children:[(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`strong`,{children:`Search demand`}),(0,$.jsx)(`p`,{children:`Google Search Console is connected to the canonical corelio.ai domain and reconciled into a private evidence layer.`}),(0,$.jsx)(`span`,{children:`CONNECTED`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`strong`,{children:`Visitor behavior`}),(0,$.jsx)(`p`,{children:`Consent-gated, anonymous first-party events show where the journey helps or loses intent without storing contact data.`}),(0,$.jsx)(`span`,{children:`MEASURED`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`strong`,{children:`Revenue truth`}),(0,$.jsx)(`p`,{children:`Zoho outcomes close the loop so the system optimizes for qualified opportunity—not clicks or raw form volume.`}),(0,$.jsx)(`span`,{children:`RECONCILED`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`strong`,{children:`Release recovery`}),(0,$.jsx)(`p`,{children:`Every evolvable release retains a predecessor and must pass build, privacy, accessibility, credential, and rollback checks.`}),(0,$.jsx)(`span`,{children:`GATED`})]})]})]})}),(0,$.jsx)(`section`,{className:`outcomes`,id:`outcomes`,"data-telemetry-section":`outcomes`,children:(0,$.jsxs)(`div`,{className:`shell`,children:[(0,$.jsxs)(`div`,{className:`section-heading light`,children:[(0,$.jsx)(`div`,{children:(0,$.jsxs)(`h2`,{children:[`Infrastructure that`,(0,$.jsx)(`br`,{}),`changes the business.`]})}),(0,$.jsx)(`p`,{children:`This is not AI theatre. Every layer exists to create operational advantage you can see, measure and own.`})]}),(0,$.jsx)(`div`,{className:`outcome-grid`,children:uc.map(([e,t,n])=>(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`span`,{children:e}),(0,$.jsx)(`div`,{className:`mini-glyph`,children:e===`01`?`↘`:e===`02`?`◇`:e===`03`?`⌁`:`↗`}),(0,$.jsx)(`h3`,{children:t}),(0,$.jsx)(`p`,{children:n})]},e))})]})}),(0,$.jsxs)(`section`,{className:`process shell`,id:`process`,"data-telemetry-section":`process`,children:[(0,$.jsxs)(`div`,{className:`section-heading`,children:[(0,$.jsx)(`div`,{children:(0,$.jsxs)(`h2`,{children:[`From business reality`,(0,$.jsx)(`br`,{}),`to working system.`]})}),(0,$.jsx)(`p`,{children:`We start with how your company actually operates, then engineer the smallest architecture that creates meaningful leverage.`})]}),(0,$.jsx)(`div`,{className:`timeline`,children:[[`01`,`Map`,`We identify your workflows, systems, bottlenecks and highest-value opportunities.`],[`02`,`Architect`,`We design your private stack, information model, agent roles and control logic.`],[`03`,`Deploy`,`We build, connect and harden the VPS architecture inside a controlled environment.`],[`04`,`Evolve`,`The system learns from use, performance and business signals to improve continuously.`]].map(([e,t,n])=>(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`span`,{children:e}),(0,$.jsx)(`i`,{}),(0,$.jsx)(`h3`,{children:t}),(0,$.jsx)(`p`,{children:n})]},e))})]}),(0,$.jsxs)(`section`,{className:`designer funnel`,id:`design`,"data-telemetry-section":`assessment`,children:[(0,$.jsxs)(`div`,{className:`shell funnel-kicker`,children:[(0,$.jsx)(`span`,{children:`Design your architecture`}),(0,$.jsx)(`div`,{children:[1,2,3,4,5].map(e=>(0,$.jsx)(`i`,{className:v>=e?`active`:``},e))}),(0,$.jsxs)(`b`,{"aria-live":`polite`,"aria-label":`Step ${Math.min(v,5)} of 5`,children:[`0`,Math.min(v,5),` / 05`]})]}),g&&v===5&&(0,$.jsxs)(`div`,{className:`shell generated-brief`,id:`generated-brief`,tabIndex:-1,"aria-label":`Your initial architecture direction`,"aria-live":`polite`,children:[(0,$.jsxs)(`div`,{className:`brief-label`,children:[(0,$.jsx)(`span`,{children:`CORELIO / INITIAL ARCHITECTURE`}),(0,$.jsx)(`i`,{children:B.phase.toUpperCase()})]}),(0,$.jsxs)(`div`,{className:`diagnostic-head`,children:[(0,$.jsx)(`div`,{children:(0,$.jsxs)(`p`,{children:[B.fit,(0,$.jsxs)(`small`,{children:[m||`Your business`,` · `,n,` people · `,S,` tools`]})]})}),(0,$.jsx)(`button`,{type:`button`,onClick:_e,children:`Download the brief`})]}),(0,$.jsx)(`p`,{className:`readiness-note`,children:`An initial readiness estimate from your answers—not a validated probability, technical audit or guarantee. Scale and tool fragmentation suggest the scope; timing suggests the next step.`}),(0,$.jsxs)(`section`,{className:`first-workflow`,"aria-label":`Recommended first workflow`,children:[(0,$.jsxs)(`h3`,{children:[`Start with `,ac[l].title.toLowerCase(),`.`]}),R&&(0,$.jsxs)(`p`,{children:[(0,$.jsx)(`strong`,{children:`Your context:`}),` `,R]}),(0,$.jsx)(`p`,{children:ac[l].why}
1),(0,$.jsx)(`h4`,{children:`What we would assess next`}),(0,$.jsx)(`p`,{children:ac[l].next}),(0,$.jsx)(`h4`,{children:`What remains unknown`}),(0,$.jsx)(`p`,{children:`System access, process ownership, risk profile, delivery scope and commercial terms need review. No production credentials or customer records are needed at this stage.`}),(0,$.jsx)(rc,{})]}),(0,$.jsxs)(`div`,{className:`brief-content architecture-diagnostic`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{children:`FOUNDATION`}),(0,$.jsx)(`strong`,{children:pe.foundation})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{children:`DATA + INTEGRATIONS`}),(0,$.jsx)(`strong`,{children:pe.data})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{children:`INITIAL AGENT ROLES`}),(0,$.jsx)(`strong`,{children:pe.agents}),(0,$.jsxs)(`span`,{children:[B.workerCount,` specialist agents after workflow validation`]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{children:`ROLLOUT`}),(0,$.jsx)(`strong`,{children:pe.rollout})]})]}),(0,$.jsxs)(`div`,{className:`boundary-note`,children:[(0,$.jsx)(`strong`,{children:`Protected by design`}),(0,$.jsx)(`p`,{children:`Credential boundaries stay unreadable to agents. Measurement, constraints, deployment control, and rollback change only through separate verification and retained recovery.`})]}),(0,$.jsx)(`p`,{className:`brief-note`,children:`This is an initial direction, not a generic package. The final architecture is defined from your systems, risk profile and operational priorities.`})]}),(0,$.jsxs)(`div`,{className:`shell designer-grid`,children:[(0,$.jsxs)(`div`,{className:`designer-intro`,children:[(0,$.jsx)(`h2`,{children:v===1?(0,$.jsxs)($.Fragment,{children:[`Start with your`,(0,$.jsx)(`br`,{}),`operating scale.`]}):v===2?(0,$.jsxs)($.Fragment,{children:[`Measure the`,(0,$.jsx)(`br`,{}),`fragmentation.`]}):v===3?(0,$.jsxs)($.Fragment,{children:[`Choose the first`,(0,$.jsx)(`br`,{}),`business outcome.`]}):v===4?(0,$.jsxs)($.Fragment,{children:[`Set the deployment`,(0,$.jsx)(`br`,{}),`horizon.`]}):(0,$.jsxs)($.Fragment,{children:[`Your direction`,(0,$.jsx)(`br`,{}),`is ready.`]})}),(0,$.jsx)(`p`,{children:v<5?V(v)?.helper||[`Scale determines the identity, data and control requirements.`,`Tool fragmentation reveals whether consolidation or automation should come first.`,`The first architecture should solve the highest-value constraint.`,`Timing determines the safest first deployment boundary.`][v-1]:`Leave enough context for a useful response. High-intent requests route to a conversation; early-stage requests receive a practical guide.`}),(0,$.jsxs)(`div`,{className:`agent-status`,children:[(0,$.jsx)(`i`,{}),(0,$.jsxs)(`span`,{children:[(0,$.jsx)(`strong`,{children:`Corelio assessment`}),v<5?`Private · no account required`:`Initial direction · review required`]})]}),v<5&&(0,$.jsxs)(`div`,{className:`live-composer compact`,"aria-live":`polite`,"aria-label":`Live architecture preview`,children:[(0,$.jsxs)(`div`,{className:`composer-head`,children:[(0,$.jsx)(`strong`,{children:`Your architecture, assembling`}),(0,$.jsx)(`span`,{children:v<5?`DRAFT 0${v}`:`DIRECTION READY`})]}),(0,$.jsxs)(`p`,{className:`composer-input`,children:[(0,$.jsx)(`span`,{children:`Current brief`}),le[v]?[n+` people`,S+` active tools`,l.toLowerCase(),b.toLowerCase()][v-1]:`Choose an answer to assemble this part of your direction.`]}),le[v]&&(0,$.jsx)(`div`,{className:`composer-stack`,children:[[`FOUNDATION`,pe.foundation],[`DATA SPINE`,pe.data],[`AGENT ROLES`,pe.agents],[`ROLLOUT`,pe.rollout]].filter((e,t)=>t===v-1).map(([e,t])=>(0,$.jsxs)(`div`,{className:`composer-layer is-resolving`,children:[(0,$.jsxs)(`span`,{children:[`0`,v]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`small`,{children:e}),(0,$.jsx)(`strong`,{children:t})]}),(0,$.jsx)(`i`,{"aria-hidden":`true`})]},e))},`${n}-${S}-${l}-${b}`),(0,$.jsx)(`p`,{className:`composer-note`,children:`Generated locally from your answers. No model request and no contact details required.`})]})]}),(0,$.jsxs)(`form`,{className:`brief-form`,onSubmit:v===5?ve:ge,children:[v===1&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`h3`,{className:`assessment-question`,children:V(1)?.question||`How many people will the system serve?`}),(0,$.jsx)(`div`,{className:`choice-row`,role:`group`,"aria-label":`Team size`,children:me(1,[`1–10`,`11–50`,`51–200`,`200+`]).map(e=>(0,$.jsx)(`button`,{type:`button`,"aria-pressed":!!le[1]&&n===e,className:le[1]&&n===e?`selected`:``,onClick:()=>{c(e),L(e=>({...e,1:!0}))},children:e},e))})]}),v===2&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`h3`,{className:`assessment-question`,children:V(2)?.question||`How many tools hold your business context?`}),(0,$.jsx)(`div`,{className:`choice-row three`,role:`group`,"aria-label":`Active business tools`,children:me(2,[`1–5`,`6–15`,`16+`]).map(e=>(0,$.jsx)(`button`,{type:`button`,"aria-pressed":!!le[2]&&S===e,className:le[2]&&S===e?`selected`:``,onClick:()=>{C(e),L(e=>({...e,2:!0}))},children:e},e))})]}),v===3&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`h3`,{className:`assessment-question`,children:V(3)?.question||`What should the first architecture solve?`}),(0,$.jsx)(`div`,{className:`priority-list`,role:`group`,"aria-label":`First business priority`,children:me(3,lc).map(e=>(0,$.jsx)(`button`,{type:`button`,"aria-pressed":!!le[3]&&l===e,className:le[3]&&l===e?`selected`:``,onClick:()=>{p(e),L(e=>({...e,3:!0}))},children:e},e))}),le[3]&&(0,$.jsxs)(`div`,{className:`workflow-context`,children:[(0,$.jsxs)(`label`,{htmlFor:`workflow`,children:[`Which recurring process is costing your team the most effort? `,(0,$.jsx)(`span`,{children:`Optional`})]}),(0,$.jsx)(`textarea`,{id:`workflow`,rows:3,maxLength:500,value:R,onChange:e=>ue(e.target.value),"aria-describedby":`workflow-help`}),(0,$.jsx)(`p`,{id:`workflow-help`,children:`A short process description is enough. Don’t include credentials, confidential records or customer details.`})]})]}),v===4&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`h3`,{className:`assessment-question`,children:V(4)?.question||`When should your first system be working?`}),(0,$.jsx)(`div`,{className:`choice-row three`,role:`group`,"aria-label":`Deployment timing`,children:me(4,[`Now`,`This quarter`,`Exploring`]).map(e=>(0,$.jsx)(`button`,{type:`button`,"aria-pressed":!!le[4]&&b===e,className:le[4]&&b===e?`selected`:``,onClick:()=>{x(e),L(e=>({...e,4:!0}))},children:e},e))})]}),v===5&&te!==`success`&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`section`,{className:`assessment-review`,"aria-label":`Review your assessment answers`,children:[(0,$.jsx)(`h3`,{children:`Your assessment`}),(0,$.jsx)(`dl`,{children:[[`Team size`,`${n} people`],[`Active tools`,S],[`Priority`,l],[`Timing`,b]].map(([e,t],n)=>(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`dt`,{children:e}),(0,$.jsx)(`dd`,{children:t}),(0,$.jsx)(`button`,{type:`button`,"aria-label":`Change ${e.toLowerCase()}`,onClick:()=>{d(`funnel_back`,{from_step:v}),y(n+1)},children:`Change`})]},e))}),(0,$.jsx)(`p`,{children:`Your brief is ready above. Download it before sharing your contact details.`})]}),(0,$.jsx)(`p`,{className:`readiness-note`,children:`This assessment suggests a starting direction. A conversation establishes the real scope and fit.`}),(0,$.jsx)(`p`,{className:`form-title`,children:`Receive a reviewed next step`}),(0,$.jsxs)(`div`,{className:`contact-fields`,children:[(0,$.jsxs)(`label`,{htmlFor:`contact-name`,children:[`Your name`,(0,$.jsx)(`input`,{id:`contact-name`,required:!0,value:w,onChange:e=>T(e.target.value),autoComplete:`name`})]}),(0,$.jsxs)(`label`,{htmlFor:`contact-company`,children:[`Company`,(0,$.jsx)(`input`,{id:`contact-company`,required:!0,value:E,onChange:e=>D(e.target.value),autoComplete:`organization`})]}),(0,$.jsxs)(`label`,{htmlFor:`contact-email`,children:[`Work email`,(0,$.jsx)(`input`,{id:`contact-email`,required:!0,type:`email`,value:O,onChange:e=>k(e.target.value),autoComplete:`email`})]}),(0,$.jsxs)(`label`,{htmlFor:`contact-industry`,children:[`Industry `,(0,$.jsx)(`span`,{children:`optional`}),(0,$.jsx)(`input`,{id:`contact-industry`,value:m,onChange:e=>h(e.target.value)})]})]}),(0,$.jsx)(`input`,{className:`honeypot`,value:M,onChange:e=>N(e.target.value),tabIndex:-1,autoComplete:`off`,"aria-hidden":`true`}),(0,$.jsxs)(`label`,{className:`consent-row`,children:[(0,$.jsx)(`input`,{type:`checkbox`,required:!0,checked:A,onChange:e=>j(e.target.checked)}),(0,$.jsx)(`span`,{children:`I agree that Corelio may contact me about this architecture request.`})]}),(0,$.jsxs)(`button`,{className:`button primary generate`,type:`submit`,disabled:P,children:[P?`Routing your assessment…`:`Show my next step`,` `,(0,$.jsx)(`span`,{children:`↗`})]}),te===`error`&&(0,$.jsxs)(`p`,{className:`submission-error`,role:`alert`,children:[ne,` `,(0,$.jsx)(`a`,{href:H,children:`Send by email instead.`})]}),(0,$.jsx)(`p`,{className:`form-context`,children:`Your assessment is saved securely to Corelio’s CRM and routed according to fit.`})]}),v===5&&te===`success`&&(0,$.jsxs)(`div`,{className:`crm-success`,"aria-live":`polite`,children:[(0,$.jsx)(`h3`,{children:`Your assessment reached Corelio.`}),(0,$.jsx)(`p`,{children:fe?`Your context is saved for an architecture conversation.`:`Your context is saved. Start with one bounded workflow before committing to a wider architecture.`}
1),(0,$.jsx)(`p`,{children:z?.email===`sent`?`Zoho accepted your confirmation email and initial brief for sending.`:`Download your brief above to keep a copy. We have not confirmed an email delivery.`}),(0,$.jsx)(`p`,{children:z?.task===`created`?`An assigned follow-up task has been created in Corelio’s CRM.`:`An automatic follow-up task has not been confirmed. You can also contact [email protected] directly.`}),(0,$.jsx)(`a`,{className:`button primary`,href:H,children:`Email Corelio about this assessment`}),!fe&&(0,$.jsx)(o,{className:`film-link`,href:`/insights/choosing-the-first-ai-workflow`,children:`Open your recommended guide`})]}),v<5&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`p`,{className:`answer-instruction`,children:le[v]?`You can change this answer before continuing.`:`Choose one answer to continue.`}),(0,$.jsxs)(`div`,{className:`funnel-actions`,children:[v>1&&(0,$.jsx)(`button`,{type:`button`,className:`back-button`,onClick:()=>{d(`funnel_back`,{from_step:v}),y(e=>e-1)},children:`Back`}),(0,$.jsx)(`button`,{className:`button primary generate`,type:`submit`,disabled:!le[v],children:v===4?`See my direction`:`Continue`})]})]})]})]})]}),(0,$.jsxs)(`section`,{className:`decision-section shell`,id:`fit`,"data-telemetry-section":`fit`,children:[(0,$.jsxs)(`div`,{className:`section-heading`,children:[(0,$.jsx)(`div`,{children:(0,$.jsxs)(`h2`,{children:[`Fit before`,(0,$.jsx)(`br`,{}),`friction.`]})}),(0,$.jsx)(`p`,{children:`Corelio is a considered infrastructure decision. These are the questions a serious buyer should resolve early.`})]}),(0,$.jsx)(r,{}),(0,$.jsxs)(`div`,{className:`decision-grid`,children:[(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`span`,{children:`01`}),(0,$.jsx)(`h3`,{children:`Does this replace every tool?`}),(0,$.jsx)(`p`,{children:`No. Corelio replaces fragmentation at the operating layer, while connecting the specialist tools that still earn their place.`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`span`,{children:`02`}),(0,$.jsx)(`h3`,{children:`Do we need an AI team?`}),(0,$.jsx)(`p`,{children:`No. Your team brings process knowledge. Corelio designs and operates the technical architecture around it.`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`span`,{children:`03`}),(0,$.jsx)(`h3`,{children:`When is it not a fit?`}),(0,$.jsx)(`p`,{children:`If you want a quick chatbot, have no repeatable workflows, or cannot identify an accountable business owner, the architecture is premature.`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`h3`,{children:`What does ownership mean?`}),(0,$.jsx)(`p`,{children:`The operating foundation is designed around infrastructure and data your business controls. Access, hosting responsibilities and handover terms are defined in the engagement—not assumed from this assessment.`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`h3`,{children:`Who maintains the system?`}),(0,$.jsx)(`p`,{children:`Corelio’s role and your team’s responsibilities are agreed as part of the scope. Monitoring, updates, incident response and recovery need named owners before production use.`})]}),(0,$.jsxs)(`article`,{children:[(0,$.jsx)(`h3`,{children:`What happens in the first conversation?`}),(0,$.jsx)(`p`,{children:`We review one workflow, its systems, ownership and constraints. The next step is a scoped architecture direction—not a request for production credentials or a commitment to a generic package.`})]})]})]}),(0,$.jsxs)(`section`,{className:`press-section shell`,"aria-labelledby":`press-heading`,children:[(0,$.jsx)(`p`,{className:`section-note`,children:`In the press`}),(0,$.jsxs)(`div`,{className:`press-feature`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{className:`press-publication`,children:cc.publication}),(0,$.jsx)(`h2`,{id:`press-heading`,children:cc.label}),(0,$.jsx)(`time`,{dateTime:cc.publishedOn,children:`November 15, 2025`})]}),(0,$.jsxs)(`a`,{className:`press-link`,href:cc.url,target:`_blank`,rel:`noopener noreferrer`,children:[`Read the article`,(0,$.jsx)(`span`,{className:`press-link-note`,children:`Opens on CEO Times in a new tab`})]})]})]}),(0,$.jsx)(`section`,{className:`final-cta`,"data-telemetry-section":`final_cta`,children:(0,$.jsxs)(`div`,{className:`shell final-grid`,children:[(0,$.jsx)(`div`,{children:(0,$.jsxs)(`h2`,{children:[`Your business is already`,(0,$.jsx)(`br`,{}),`generating intelligence.`,(0,$.jsx)(`br`,{}),(0,$.jsx)(`em`,{children:`Start owning it.`})]})}),(0,$.jsxs)(`div`,{className:`contact-panel`,children:[(0,$.jsx)(`p`,{className:`contact-eyebrow`,children:`START WITH SIGNAL, NOT A SALES PITCH`}),(0,$.jsx)(`h3`,{children:`Know whether the architecture fits before booking a call.`}),(0,$.jsxs)(`a`,{className:`button primary`,href:`#design`,onClick:()=>{d(`cta_click`,{cta:`run_assessment`,location:`final_cta`}),y(1)},children:[`Run the 3-minute assessment `,(0,$.jsx)(`span`,{children:`↗`})]}),(0,$.jsx)(`p`,{children:`No generic demo. Your answers shape the conversation.`})]})]})}),(0,$.jsxs)(`footer`,{className:`shell home-footer`,children:[(0,$.jsxs)(`a`,{className:`brand`,href:`#top`,children:[(0,$.jsxs)(`span`,{className:`brand-mark`,children:[(0,$.jsx)(`i`,{}),(0,$.jsx)(`i`,{}),(0,$.jsx)(`i`,{})]}),(0,$.jsxs)(`span`,{children:[`corelio`,(0,$.jsx)(`span`,{children:`.ai`})]})]}
1),(0,$.jsx)(`p`,{children:`Private AI infrastructure for businesses ready to operate differently.`}),(0,$.jsxs)(`div`,{className:`home-footer-links`,children:[(0,$.jsx)(`a`,{href:`mailto:[email protected]`,children:`[email protected]`}),(0,$.jsx)(`a`,{href:`tel:+40373817888`,children:`+40 373 817 888`}),(0,$.jsx)(`a`,{href:`https://www.linkedin.com/company/corelio-ai`,target:`_blank`,rel:`noreferrer`,children:`LinkedIn ↗`}),(0,$.jsx)(`a`,{href:`/terms`,children:`Terms`}),(0,$.jsx)(`a`,{href:`/privacy`,children:`Privacy`}),(0,$.jsx)(`a`,{href:`/cookies`,children:`Cookies`}),(0,$.jsx)(`span`,{children:`Mon–Fri · 09:00–18:00 EET`}),(0,$.jsxs)(`span`,{children:[`© `,new Date().getFullYear(),` Corelio AI`]})]})]})]})}export{dc as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.