lumina-slides 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/layout-embedded.json +65 -0
- package/dist/lumina-slides.js +627 -611
- package/dist/lumina-slides.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
(function(K,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(K=typeof globalThis<"u"?globalThis:K||self,c(K.LuminaSlides={},K.Vue))})(this,function(K,c){"use strict";var
|
|
1
|
+
(function(K,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(K=typeof globalThis<"u"?globalThis:K||self,c(K.LuminaSlides={},K.Vue))})(this,function(K,c){"use strict";var fa=Object.defineProperty;var ua=(K,c,dt)=>c in K?fa(K,c,{enumerable:!0,configurable:!0,writable:!0,value:dt}):K[c]=dt;var Re=(K,c,dt)=>ua(K,typeof c!="symbol"?c+"":c,dt);const dt=Symbol("LuminaStore"),Ur={loop:!1,navigation:!0,keyboard:!0,touch:!0,debug:!1,theme:"default",ui:{visible:!0,showProgressBar:!0,showSlideCount:!0,showControls:!0},keys:{next:["ArrowRight"," ","Enter"],prev:["ArrowLeft","Backspace"]},animation:{enabled:!0,type:"cascade",durationIn:1,durationOut:.5,stagger:.1,ease:"power3.out"}};function Yr(o={}){const t=c.reactive({deck:null,currentIndex:0,options:{...Ur,...o},isReady:!1}),e=()=>!t.deck||t.deck.slides.length===0?null:t.deck.slides[t.currentIndex]||null,i=()=>t.deck?t.options.loop?!0:t.currentIndex<t.deck.slides.length-1:!1,r=()=>t.deck?t.options.loop?!0:t.currentIndex>0:!1,n=()=>!t.deck||t.deck.slides.length<=1?0:t.currentIndex/(t.deck.slides.length-1);function s(h){t.options={...t.options,...h},h.theme&&(h.theme,t.options.theme=h.theme),h.ui&&(t.options.ui={...t.options.ui,...h.ui}),h.keys&&(t.options.keys={...t.options.keys,...h.keys}),h.animation&&(t.options.animation={...t.options.animation,...h.animation})}function a(h){if(!h||!Array.isArray(h.slides)){console.error("[LuminaStore] Invalid deck format");return}t.deck=h,t.currentIndex=0,t.isReady=!0}function l(){var _;if(!i())return;const h=((_=t.deck)==null?void 0:_.slides.length)||0;t.options.loop?t.currentIndex=(t.currentIndex+1)%h:t.currentIndex++}function f(){var _;if(!r())return;const h=((_=t.deck)==null?void 0:_.slides.length)||0;t.options.loop?t.currentIndex=(t.currentIndex-1+h)%h:t.currentIndex--}function u(h){t.deck&&h>=0&&h<t.deck.slides.length&&(t.currentIndex=h)}return{state:c.readonly(t),currentSlide:e,hasNext:i,hasPrev:r,progress:n,setOptions:s,loadDeck:a,next:l,prev:f,goto:u}}function qr(){const o=c.inject(dt);if(!o)throw new Error("Lumina: Component must be used within a Lumina instance.");return{slide:c.computed(()=>o.currentSlide()),index:c.computed(()=>o.state.currentIndex),total:c.computed(()=>{var t;return((t=o.state.deck)==null?void 0:t.slides.length)||0}),next:o.next,prev:o.prev,goto:o.goto,options:o.state.options}}function Xr(){const o=c.inject(dt);if(!o)return;let t=0;const e=300,i=r=>{var f,u;const{options:n}=o.state;if(!n.keyboard||!n.navigation)return;const s=Date.now();if(s-t<e)return;const a=((f=n.keys)==null?void 0:f.next)||[],l=((u=n.keys)==null?void 0:u.prev)||[];a.includes(r.key)?(o.next(),t=s):l.includes(r.key)&&(o.prev(),t=s)};c.onMounted(()=>{window.addEventListener("keydown",i)}),c.onUnmounted(()=>{window.removeEventListener("keydown",i)})}class jr{constructor(){Re(this,"handlers",new Map)}on(t,e){this.handlers.has(t)||this.handlers.set(t,new Set),this.handlers.get(t).add(e)}off(t,e){const i=this.handlers.get(t);i&&i.delete(e)}emit(t,e){const i=this.handlers.get(t);i&&i.forEach(r=>{try{r(e)}catch(n){console.error(`[LuminaBus] Error in handler for event "${t}":`,n)}})}clear(){this.handlers.clear()}}const qt=new jr;function xt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Ti(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}/*!
|
|
2
2
|
* GSAP 3.14.2
|
|
3
3
|
* https://gsap.com
|
|
4
4
|
*
|
|
5
5
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|
6
6
|
* Subject to the terms at https://gsap.com/standard-license
|
|
7
7
|
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
-
*/var rt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Xt={duration:.5,overwrite:!1,delay:0},Be,X,V,ft=1e8,M=1/ft,Fe=Math.PI*2,Wi=Fe/4,Gi=0,vr=Math.sqrt,Ki=Math.cos,Hi=Math.sin,U=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},bt=function(t){return typeof t=="number"},Le=function(t){return typeof t>"u"},_t=function(t){return typeof t=="object"},Q=function(t){return t!==!1},Ie=function(){return typeof window<"u"},we=function(t){return F(t)||U(t)},Sr=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},W=Array.isArray,Qi=/random\([^)]+\)/g,Zi=/,\s*/g,Er=/(?:-?\.?\d|\.)+/gi,Cr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,jt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$e=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Pr=/[+-]=-?[.\d]+/,Ji=/[^,'"\[\]\s]+/gi,tn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,z,pt,Ue,Ye,it={},ke={},Or,Dr=function(t){return(ke=Gt(t,it))&&tt},qe=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ie=function(t,e){return!e&&console.warn(t)},Mr=function(t,e){return t&&(it[t]=e)&&ke&&(ke[t]=e)||it},ne=function(){return 0},en={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},rn={suppressEvents:!0},Xe={},vt=[],je={},Nr,nt={},We={},Ar=30,ve=[],Ge="",Ke=function(t){var e=t[0],r,i;if(_t(e)||F(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(i=ve.length;i--&&!ve[i].targetTest(e););r=ve[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new li(t[i],r)))||t.splice(i,1);return t},At=function(t){return t._gsap||Ke(ct(t))[0]._gsap},Vr=function(t,e,r){return(r=t[e])&&F(r)?t[e]():Le(r)&&t.getAttribute&&t.getAttribute(e)||r},Z=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},R=function(t){return Math.round(t*1e7)/1e7||0},Wt=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),r==="+"?t+i:r==="-"?t-i:r==="*"?t*i:t/i},nn=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},Se=function(){var t=vt.length,e=vt.slice(0),r,i;for(je={},vt.length=0,r=0;r<t;r++)i=e[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},He=function(t){return!!(t._initted||t._startAt||t.add)},zr=function(t,e,r,i){vt.length&&!X&&Se(),t.render(e,r,!!(X&&e<0&&He(t))),vt.length&&!X&&Se()},Rr=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ji).length<2?e:U(t)?t.trim():t},Br=function(t){return t},st=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},sn=function(t){return function(e,r){for(var i in r)i in e||i==="duration"&&t||i==="ease"||(e[i]=r[i])}},Gt=function(t,e){for(var r in e)t[r]=e[r];return t},Fr=function a(t,e){for(var r in e)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=_t(e[r])?a(t[r]||(t[r]={}),e[r]):e[r]);return t},Ee=function(t,e){var r={},i;for(i in t)i in e||(r[i]=t[i]);return r},se=function(t){var e=t.parent||z,r=t.keyframes?sn(W(t.keyframes)):st;if(Q(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t},on=function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0},Lr=function(t,e,r,i,n){var s=t[i],o;if(n)for(o=e[n];s&&s[n]>o;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e},Ce=function(t,e,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Vt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},an=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Qe=function(t,e,r,i){return t._startAt&&(X?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},ln=function a(t){return!t||t._ts&&a(t.parent)},Ir=function(t){return t._repeat?Kt(t._tTime,t=t.duration()+t._rDelay)*t:0},Kt=function(t,e){var r=Math.floor(t=R(t/e));return t&&r===t?r-1:r},Pe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Oe=function(t){return t._end=R(t._start+(t._tDur/Math.abs(t._ts||t._rts||M)||0))},De=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=R(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Oe(t),r._dirty||Vt(r,t)),t},$r=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Pe(t.rawTime(),e),(!e._dur||ae(0,e.totalDuration(),r)-e._tTime>M)&&e.render(r,!0)),Vt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-M}},mt=function(t,e,r,i){return e.parent&&St(e),e._start=R((bt(r)?r:r||t!==z?ut(t,r,e):t._time)+e._delay),e._end=R(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Lr(t,e,"_first","_last",t._sort?"_start":0),Ze(e)||(t._recent=e),i||$r(t,e),t._ts<0&&De(t,t._tTime),t},Ur=function(t,e){return(it.ScrollTrigger||qe("scrollTrigger",e))&&it.ScrollTrigger.create(e,t)},Yr=function(t,e,r,i,n){if(ar(t,e,n),!t._initted)return 1;if(!r&&t._pt&&!X&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Nr!==at.frame)return vt.push(t),t._lazy=[n,i],1},fn=function a(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||a(e))},Ze=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},un=function(t,e,r,i){var n=t.ratio,s=e<0||!e&&(!t._start&&fn(t)&&!(!t._initted&&Ze(t))||(t._ts<0||t._dp._ts<0)&&!Ze(t))?0:1,o=t._rDelay,l=0,f,u,h;if(o&&t._repeat&&(l=ae(0,t._tDur,e),u=Kt(l,o),t._yoyo&&u&1&&(s=1-s),u!==Kt(t._tTime,o)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||X||i||t._zTime===M||!e&&t._zTime){if(!t._initted&&Yr(t,e,i,r,l))return;for(h=t._zTime,t._zTime=e||(r?M:0),r||(r=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&Qe(t,e,r,!0),t._onUpdate&&!r&&ot(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&ot(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&St(t,1),!r&&!X&&(ot(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},cn=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<e)return i;i=i._prev}},Ht=function(t,e,r,i){var n=t._repeat,s=R(e)||0,o=t._tTime/t._tDur;return o&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:R(s*(n+1)+t._rDelay*n):s,o>0&&!i&&De(t,t._tTime=t._tDur*o),t.parent&&Oe(t),r||Vt(t.parent,t),t},qr=function(t){return t instanceof H?Vt(t):Ht(t,t._dur)},hn={_start:0,endTime:ne,totalDuration:ne},ut=function a(t,e,r){var i=t.labels,n=t._recent||hn,s=t.duration()>=ft?n.endTime(!1):t._dur,o,l,f;return U(e)&&(isNaN(e)||e in i)?(l=e.charAt(0),f=e.substr(-1)==="%",o=e.indexOf("="),l==="<"||l===">"?(o>=0&&(e=e.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(o<0?n:r).totalDuration()/100:1)):o<0?(e in i||(i[e]=s),i[e]):(l=parseFloat(e.charAt(o-1)+e.substr(o+1)),f&&r&&(l=l/100*(W(r)?r[0]:r).totalDuration()),o>1?a(t,e.substr(0,o-1),r)+l:s+l)):e==null?s:+e},oe=function(t,e,r){var i=bt(e[1]),n=(i?2:1)+(t<2?0:1),s=e[n],o,l;if(i&&(s.duration=e[1]),s.parent=r,t){for(o=s,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=Q(l.vars.inherit)&&l.parent;s.immediateRender=Q(o.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new I(e[0],s,e[n+1])},Et=function(t,e){return t||t===0?e(t):e},ae=function(t,e,r){return r<t?t:r>e?e:r},G=function(t,e){return!U(t)||!(e=tn.exec(t))?"":e[1]},dn=function(t,e,r){return Et(r,function(i){return ae(t,e,i)})},Je=[].slice,Xr=function(t,e){return t&&_t(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&_t(t[0]))&&!t.nodeType&&t!==pt},_n=function(t,e,r){return r===void 0&&(r=[]),t.forEach(function(i){var n;return U(i)&&!e||Xr(i,1)?(n=r).push.apply(n,ct(i)):r.push(i)})||r},ct=function(t,e,r){return V&&!e&&V.selector?V.selector(t):U(t)&&!r&&(Ue||!Zt())?Je.call((e||Ye).querySelectorAll(t),0):W(t)?_n(t,r):Xr(t)?Je.call(t,0):t?[t]:[]},tr=function(t){return t=ct(t)[0]||ie("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ct(e,r.querySelectorAll?r:r===t?ie("Invalid scope")||Ye.createElement("div"):t)}},jr=function(t){return t.sort(function(){return .5-Math.random()})},Wr=function(t){if(F(t))return t;var e=_t(t)?t:{each:t},r=zt(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},o=i>0&&i<1,l=isNaN(i)||o,f=e.axis,u=i,h=i;return U(i)?u=h={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(u=i[0],h=i[1]),function(_,p,g){var d=(g||e).length,m=s[d],x,b,T,w,y,v,S,E,k;if(!m){if(k=e.grid==="auto"?0:(e.grid||[1,ft])[1],!k){for(S=-ft;S<(S=g[k++].getBoundingClientRect().left)&&k<d;);k<d&&k--}for(m=s[d]=[],x=l?Math.min(k,d)*u-.5:i%k,b=k===ft?0:l?d*h/k-.5:i/k|0,S=0,E=ft,v=0;v<d;v++)T=v%k-x,w=b-(v/k|0),m[v]=y=f?Math.abs(f==="y"?w:T):vr(T*T+w*w),y>S&&(S=y),y<E&&(E=y);i==="random"&&jr(m),m.max=S-E,m.min=E,m.v=d=(parseFloat(e.amount)||parseFloat(e.each)*(k>d?d-1:f?f==="y"?d/k:k:Math.max(k,d/k))||0)*(i==="edges"?-1:1),m.b=d<0?n-d:n,m.u=G(e.amount||e.each)||0,r=r&&d<0?si(r):r}return d=(m[_]-m.min)/m.max||0,R(m.b+(r?r(d):d)*m.v)+m.u}},er=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=R(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(bt(r)?0:G(r))}},Gr=function(t,e){var r=W(t),i,n;return!r&&_t(t)&&(i=r=t.radius||ft,t.values?(t=ct(t.values),(n=!bt(t[0]))&&(i*=i)):t=er(t.increment)),Et(e,r?F(t)?function(s){return n=t(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),f=ft,u=0,h=t.length,_,p;h--;)n?(_=t[h].x-o,p=t[h].y-l,_=_*_+p*p):_=Math.abs(t[h]-o),_<f&&(f=_,u=h);return u=!i||f<=i?t[u]:s,n||u===s||bt(s)?u:u+G(s)}:er(t))},Kr=function(t,e,r,i){return Et(W(t)?!e:r===!0?!!(r=0):!i,function(){return W(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+r*.99))/r)*r*i)/i})},pn=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return e.reduce(function(n,s){return s(n)},i)}},mn=function(t,e){return function(r){return t(parseFloat(r))+(e||G(r))}},gn=function(t,e,r){return Qr(t,e,0,1,r)},Hr=function(t,e,r){return Et(r,function(i){return t[~~e(i)]})},yn=function a(t,e,r){var i=e-t;return W(t)?Hr(t,a(0,t.length),e):Et(r,function(n){return(i+(n-t)%i)%i+t})},xn=function a(t,e,r){var i=e-t,n=i*2;return W(t)?Hr(t,a(0,t.length-1),e):Et(r,function(s){return s=(n+(s-t)%n)%n||0,t+(s>i?n-s:s)})},le=function(t){return t.replace(Qi,function(e){var r=e.indexOf("[")+1,i=e.substring(r||7,r?e.indexOf("]"):e.length-1).split(Zi);return Kr(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},Qr=function(t,e,r,i,n){var s=e-t,o=i-r;return Et(n,function(l){return r+((l-t)/s*o||0)})},bn=function a(t,e,r,i){var n=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!n){var s=U(t),o={},l,f,u,h,_;if(r===!0&&(i=1)&&(r=null),s)t={p:t},e={p:e};else if(W(t)&&!W(e)){for(u=[],h=t.length,_=h-2,f=1;f<h;f++)u.push(a(t[f-1],t[f]));h--,n=function(g){g*=h;var d=Math.min(_,~~g);return u[d](g-d)},r=e}else i||(t=Gt(W(t)?[]:{},t));if(!u){for(l in e)sr.call(o,t,l,"get",e[l]);n=function(g){return ur(g,o)||(s?t.p:t)}}}return Et(r,n)},Zr=function(t,e,r){var i=t.labels,n=ft,s,o,l;for(s in i)o=i[s]-e,o<0==!!r&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},ot=function(t,e,r){var i=t.vars,n=i[e],s=V,o=t._ctx,l,f,u;if(n)return l=i[e+"Params"],f=i.callbackScope||t,r&&vt.length&&Se(),o&&(V=o),u=l?n.apply(f,l):n.call(f),V=s,u},fe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!X),t.progress()<1&&ot(t,"onInterrupt"),t},Qt,Jr=[],ti=function(t){if(t)if(t=!t.name&&t.default||t,Ie()||t.headless){var e=t.name,r=F(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:ne,render:ur,add:sr,kill:Rn,modifier:zn,rawVars:0},s={targetTest:0,get:0,getSetter:fr,aliases:{},register:0};if(Zt(),t!==i){if(nt[e])return;st(i,st(Ee(t,n),s)),Gt(i.prototype,Gt(n,Ee(t,s))),nt[i.prop=e]=i,t.targetTest&&(ve.push(i),Xe[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Mr(e,i),t.register&&t.register(tt,i,J)}else Jr.push(t)},N=255,ue={aqua:[0,N,N],lime:[0,N,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,N],navy:[0,0,128],white:[N,N,N],olive:[128,128,0],yellow:[N,N,0],orange:[N,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[N,0,0],pink:[N,192,203],cyan:[0,N,N],transparent:[N,N,N,0]},rr=function(t,e,r){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(r-e)*t*6:t<.5?r:t*3<2?e+(r-e)*(2/3-t)*6:e)*N+.5|0},ei=function(t,e,r){var i=t?bt(t)?[t>>16,t>>8&N,t&N]:0:ue.black,n,s,o,l,f,u,h,_,p,g;if(!i){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ue[t])i=ue[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),o=t.charAt(3),t="#"+n+n+s+s+o+o+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return i=parseInt(t.substr(1,6),16),[i>>16,i>>8&N,i&N,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&N,t&N]}else if(t.substr(0,3)==="hsl"){if(i=g=t.match(Er),!e)l=+i[0]%360/360,f=+i[1]/100,u=+i[2]/100,s=u<=.5?u*(f+1):u+f-u*f,n=u*2-s,i.length>3&&(i[3]*=1),i[0]=rr(l+1/3,n,s),i[1]=rr(l,n,s),i[2]=rr(l-1/3,n,s);else if(~t.indexOf("="))return i=t.match(Cr),r&&i.length<4&&(i[3]=1),i}else i=t.match(Er)||ue.transparent;i=i.map(Number)}return e&&!g&&(n=i[0]/N,s=i[1]/N,o=i[2]/N,h=Math.max(n,s,o),_=Math.min(n,s,o),u=(h+_)/2,h===_?l=f=0:(p=h-_,f=u>.5?p/(2-h-_):p/(h+_),l=h===n?(s-o)/p+(s<o?6:0):h===s?(o-n)/p+2:(n-s)/p+4,l*=60),i[0]=~~(l+.5),i[1]=~~(f*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},ri=function(t){var e=[],r=[],i=-1;return t.split(Ct).forEach(function(n){var s=n.match(jt)||[];e.push.apply(e,s),r.push(i+=s.length+1)}),e.c=r,e},ii=function(t,e,r){var i="",n=(t+i).match(Ct),s=e?"hsla(":"rgba(",o=0,l,f,u,h;if(!n)return t;if(n=n.map(function(_){return(_=ei(_,e,1))&&s+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),r&&(u=ri(t),l=r.c,l.join(i)!==u.c.join(i)))for(f=t.replace(Ct,"1").split(jt),h=f.length-1;o<h;o++)i+=f[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(u.length?u:n.length?n:r).shift());if(!f)for(f=t.split(Ct),h=f.length-1;o<h;o++)i+=f[o]+n[o];return i+f[h]},Ct=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ue)a+="|"+t+"\\b";return new RegExp(a+")","gi")}(),wn=/hsl[a]?\(/,ni=function(t){var e=t.join(" "),r;if(Ct.lastIndex=0,Ct.test(e))return r=wn.test(e),t[1]=ii(t[1],r),t[0]=ii(t[0],r,ri(t[1])),!0},ce,at=function(){var a=Date.now,t=500,e=33,r=a(),i=r,n=1e3/240,s=n,o=[],l,f,u,h,_,p,g=function d(m){var x=a()-i,b=m===!0,T,w,y,v;if((x>t||x<0)&&(r+=x-e),i+=x,y=i-r,T=y-s,(T>0||b)&&(v=++h.frame,_=y-h.time*1e3,h.time=y=y/1e3,s+=T+(T>=n?4:n-T),w=1),b||(l=f(d)),w)for(p=0;p<o.length;p++)o[p](y,_,v,m)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return _/(1e3/(m||60))},wake:function(){Or&&(!Ue&&Ie()&&(pt=Ue=window,Ye=pt.document||{},it.gsap=tt,(pt.gsapVersions||(pt.gsapVersions=[])).push(tt.version),Dr(ke||pt.GreenSockGlobals||!pt.gsap&&pt||{}),Jr.forEach(ti)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),f=u||function(m){return setTimeout(m,s-h.time*1e3+1|0)},ce=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),ce=0,f=ne},lagSmoothing:function(m,x){t=m||1/0,e=Math.min(x||33,t)},fps:function(m){n=1e3/(m||240),s=h.time*1e3+n},add:function(m,x,b){var T=x?function(w,y,v,S){m(w,y,v,S),h.remove(T)}:m;return h.remove(m),o[b?"unshift":"push"](T),Zt(),T},remove:function(m,x){~(x=o.indexOf(m))&&o.splice(x,1)&&p>=x&&p--},_listeners:o},h}(),Zt=function(){return!ce&&at.wake()},P={},kn=/^[\d.\-M][\d.\-,\s]/,Tn=/["']/g,vn=function(t){for(var e={},r=t.substr(1,t.length-3).split(":"),i=r[0],n=1,s=r.length,o,l,f;n<s;n++)l=r[n],o=n!==s-1?l.lastIndexOf(","):l.length,f=l.substr(0,o),e[i]=isNaN(f)?f.replace(Tn,"").trim():+f,i=l.substr(o+1).trim();return e},Sn=function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)},En=function(t){var e=(t+"").split("("),r=P[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[vn(e[1])]:Sn(t).split(",").map(Rr)):P._CE&&kn.test(t)?P._CE("",t):r},si=function(t){return function(e){return 1-t(1-e)}},oi=function a(t,e){for(var r=t._first,i;r;)r instanceof H?a(r,e):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==e&&(r.timeline?a(r.timeline,e):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=e)),r=r._next},zt=function(t,e){return t&&(F(t)?t:P[t]||En(t))||e},Rt=function(t,e,r,i){r===void 0&&(r=function(l){return 1-e(1-l)}),i===void 0&&(i=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var n={easeIn:e,easeOut:r,easeInOut:i},s;return Z(t,function(o){P[o]=it[o]=n,P[s=o.toLowerCase()]=r;for(var l in n)P[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=P[o+"."+l]=n[l]}),n},ai=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ir=function a(t,e,r){var i=e>=1?e:1,n=(r||(t?.3:.45))/(e<1?e:1),s=n/Fe*(Math.asin(1/i)||0),o=function(u){return u===1?1:i*Math.pow(2,-10*u)*Hi((u-s)*n)+1},l=t==="out"?o:t==="in"?function(f){return 1-o(1-f)}:ai(o);return n=Fe/n,l.config=function(f,u){return a(t,f,u)},l},nr=function a(t,e){e===void 0&&(e=1.70158);var r=function(s){return s?--s*s*((e+1)*s+e)+1:0},i=t==="out"?r:t==="in"?function(n){return 1-r(1-n)}:ai(r);return i.config=function(n){return a(t,n)},i};Z("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,t){var e=t<5?t+1:t;Rt(a+",Power"+(e-1),t?function(r){return Math.pow(r,e)}:function(r){return r},function(r){return 1-Math.pow(1-r,e)},function(r){return r<.5?Math.pow(r*2,e)/2:1-Math.pow((1-r)*2,e)/2})}),P.Linear.easeNone=P.none=P.Linear.easeIn,Rt("Elastic",ir("in"),ir("out"),ir()),function(a,t){var e=1/t,r=2*e,i=2.5*e,n=function(o){return o<e?a*o*o:o<r?a*Math.pow(o-1.5/t,2)+.75:o<i?a*(o-=2.25/t)*o+.9375:a*Math.pow(o-2.625/t,2)+.984375};Rt("Bounce",function(s){return 1-n(1-s)},n)}(7.5625,2.75),Rt("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)}),Rt("Circ",function(a){return-(vr(1-a*a)-1)}),Rt("Sine",function(a){return a===1?1:-Ki(a*Wi)+1}),Rt("Back",nr("in"),nr("out"),nr()),P.SteppedEase=P.steps=it.SteppedEase={config:function(t,e){t===void 0&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0,s=1-M;return function(o){return((i*ae(0,s,o)|0)+n)*r}}},Xt.ease=P["quad.out"],Z("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Ge+=a+","+a+"Params,"});var li=function(t,e){this.id=Gi++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Vr,this.set=e?e.getSetter:fr},he=function(){function a(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,Ht(this,+e.duration,1,1),this.data=e.data,V&&(this._ctx=V,V.data.push(this)),ce||at.wake()}var t=a.prototype;return t.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},t.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,Ht(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,i){if(Zt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(De(this,r),!n._dp||n.parent||$r(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&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&mt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===M||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),zr(this,r,i)),this},t.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ir(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},t.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ir(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?Kt(this._tTime,n)+1:1},t.timeScale=function(r,i){if(!arguments.length)return this._rts===-M?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Pe(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-M?0:this._rts,this.totalTime(ae(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),Oe(this),an(this)},t.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==M&&(this._tTime-=M)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=R(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&mt(i,this,this._start-this._delay),this}return this._start},t.endTime=function(r){return this._start+(Q(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Pe(i.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=rn);var i=X;return X=r,He(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),X=i,this},t.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):n},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,qr(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,qr(this),i?this.time(i):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,i){return this.totalTime(ut(this,r),Q(i))},t.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Q(i)),this._dur||(this._zTime=-M),this},t.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},t.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},t.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-M:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-M,this},t.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-M)},t.eventCallback=function(r,i,n){var s=this.vars;return arguments.length>1?(i?(s[r]=i,n&&(s[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},t.then=function(r){var i=this,n=i._prom;return new Promise(function(s){var o=F(r)?r:Br,l=function(){var u=i.then;i.then=null,n&&n(),F(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=u),s(o),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},t.kill=function(){fe(this)},a}();st(he.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:-M,_prom:0,_ps:!1,_rts:1});var H=function(a){Tr(t,a);function t(r,i){var n;return r===void 0&&(r={}),n=a.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=Q(r.sortChildren),z&&mt(r.parent||z,xt(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&Ur(xt(n),r.scrollTrigger),n}var e=t.prototype;return e.to=function(i,n,s){return oe(0,arguments,this),this},e.from=function(i,n,s){return oe(1,arguments,this),this},e.fromTo=function(i,n,s,o){return oe(2,arguments,this),this},e.set=function(i,n,s){return n.duration=0,n.parent=this,se(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new I(i,n,ut(this,s),1),this},e.call=function(i,n,s){return mt(this,I.delayedCall(0,i,n),s)},e.staggerTo=function(i,n,s,o,l,f,u){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=f,s.onCompleteParams=u,s.parent=this,new I(i,s,ut(this,l)),this},e.staggerFrom=function(i,n,s,o,l,f,u){return s.runBackwards=1,se(s).immediateRender=Q(s.immediateRender),this.staggerTo(i,n,s,o,l,f,u)},e.staggerFromTo=function(i,n,s,o,l,f,u,h){return o.startAt=s,se(o).immediateRender=Q(o.immediateRender),this.staggerTo(i,n,o,l,f,u,h)},e.render=function(i,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,f=this._dur,u=i<=0?0:R(i),h=this._zTime<0!=i<0&&(this._initted||!f),_,p,g,d,m,x,b,T,w,y,v,S;if(this!==z&&u>l&&i>=0&&(u=l),u!==this._tTime||s||h){if(o!==this._time&&f&&(u+=this._time-o,i+=this._time-o),_=u,w=this._start,T=this._ts,x=!T,h&&(f||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(v=this._yoyo,m=f+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(_=R(u%m),u===l?(d=this._repeat,_=f):(y=R(u/m),d=~~y,d&&d===y&&(_=f,d--),_>f&&(_=f)),y=Kt(this._tTime,m),!o&&this._tTime&&y!==d&&this._tTime-y*m-this._dur<=0&&(y=d),v&&d&1&&(_=f-_,S=1),d!==y&&!this._lock){var E=v&&y&1,k=E===(v&&d&1);if(d<y&&(E=!E),o=E?0:u%f?f:u,this._lock=1,this.render(o||(S?0:R(d*m)),n,!f)._lock=0,this._tTime=u,!n&&this.parent&&ot(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,y=d),o&&o!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,l=this._tDur,k&&(this._lock=2,o=E?f:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;oi(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=cn(this,R(o),R(_)),b&&(u-=_-(_=b._start))),this._tTime=u,this._time=_,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&u&&f&&!n&&!y&&(ot(this,"onStart"),this._tTime!==u))return this;if(_>=o&&i>=0)for(p=this._first;p;){if(g=p._next,(p._act||_>=p._start)&&p._ts&&b!==p){if(p.parent!==this)return this.render(i,n,s);if(p.render(p._ts>0?(_-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(_-p._start)*p._ts,n,s),_!==this._time||!this._ts&&!x){b=0,g&&(u+=this._zTime=-M);break}}p=g}else{p=this._last;for(var C=i<0?i:_;p;){if(g=p._prev,(p._act||C<=p._end)&&p._ts&&b!==p){if(p.parent!==this)return this.render(i,n,s);if(p.render(p._ts>0?(C-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(C-p._start)*p._ts,n,s||X&&He(p)),_!==this._time||!this._ts&&!x){b=0,g&&(u+=this._zTime=C?-M:M);break}}p=g}}if(b&&!n&&(this.pause(),b.render(_>=o?0:-M)._zTime=_>=o?1:-1,this._ts))return this._start=w,Oe(this),this.render(i,n,s);this._onUpdate&&!n&&ot(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&o)&&(w===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((i||!f)&&(u===l&&this._ts>0||!u&&this._ts<0)&&St(this,1),!n&&!(i<0&&!o)&&(u||o||!l)&&(ot(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(i,n){var s=this;if(bt(n)||(n=ut(this,n,i)),!(i instanceof he)){if(W(i))return i.forEach(function(o){return s.add(o,n)}),this;if(U(i))return this.addLabel(i,n);if(F(i))i=I.delayedCall(0,i);else return this}return this!==i?mt(this,i,n):this},e.getChildren=function(i,n,s,o){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-ft);for(var l=[],f=this._first;f;)f._start>=o&&(f instanceof I?n&&l.push(f):(s&&l.push(f),i&&l.push.apply(l,f.getChildren(!0,n,s)))),f=f._next;return l},e.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},e.remove=function(i){return U(i)?this.removeLabel(i):F(i)?this.killTweensOf(i):(i.parent===this&&Ce(this,i),i===this._recent&&(this._recent=this._last),Vt(this))},e.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=R(at.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},e.addLabel=function(i,n){return this.labels[i]=ut(this,n),this},e.removeLabel=function(i){return delete this.labels[i],this},e.addPause=function(i,n,s){var o=I.delayedCall(0,n||ne,s);return o.data="isPause",this._hasPause=1,mt(this,o,ut(this,i))},e.removePause=function(i){var n=this._first;for(i=ut(this,i);n;)n._start===i&&n.data==="isPause"&&St(n),n=n._next},e.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),l=o.length;l--;)Pt!==o[l]&&o[l].kill(i,n);return this},e.getTweensOf=function(i,n){for(var s=[],o=ct(i),l=this._first,f=bt(n),u;l;)l instanceof I?nn(l._targets,o)&&(f?(!Pt||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(u=l.getTweensOf(o,n)).length&&s.push.apply(s,u),l=l._next;return s},e.tweenTo=function(i,n){n=n||{};var s=this,o=ut(s,i),l=n,f=l.startAt,u=l.onStart,h=l.onStartParams,_=l.immediateRender,p,g=I.to(s,st({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(f&&"time"in f?f.time:s._time))/s.timeScale())||M,onStart:function(){if(s.pause(),!p){var m=n.duration||Math.abs((o-(f&&"time"in f?f.time:s._time))/s.timeScale());g._dur!==m&&Ht(g,m,0,1).render(g._time,!0,!0),p=1}u&&u.apply(g,h||[])}},n));return _?g.render(0):g},e.tweenFromTo=function(i,n,s){return this.tweenTo(n,st({startAt:{time:ut(this,i)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),Zr(this,ut(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),Zr(this,ut(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+M)},e.shiftChildren=function(i,n,s){s===void 0&&(s=0);var o=this._first,l=this.labels,f;for(i=R(i);o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(f in l)l[f]>=s&&(l[f]+=i);return Vt(this)},e.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},e.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Vt(this)},e.totalDuration=function(i){var n=0,s=this,o=s._last,l=ft,f,u,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(h=s.parent;o;)f=o._prev,o._dirty&&o.totalDuration(),u=o._start,u>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,mt(s,o,u-o._delay,1)._lock=0):l=u,u<0&&o._ts&&(n-=u,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=R(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),o._end>n&&o._ts&&(n=o._end),o=f;Ht(s,s===z&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(i){if(z._ts&&(zr(z,Pe(i,z)),Nr=at.frame),at.frame>=Ar){Ar+=rt.autoSleep||120;var n=z._first;if((!n||!n._ts)&&rt.autoSleep&&at._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||at.sleep()}}},t}(he);st(H.prototype,{_lock:0,_hasPause:0,_forcing:0});var Cn=function(t,e,r,i,n,s,o){var l=new J(this._pt,t,e,0,1,_i,null,n),f=0,u=0,h,_,p,g,d,m,x,b;for(l.b=r,l.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=le(i)),s&&(b=[r,i],s(b,t,e),r=b[0],i=b[1]),_=r.match($e)||[];h=$e.exec(i);)g=h[0],d=i.substring(f,h.index),p?p=(p+1)%5:d.substr(-5)==="rgba("&&(p=1),g!==_[u++]&&(m=parseFloat(_[u-1])||0,l._pt={_next:l._pt,p:d||u===1?d:",",s:m,c:g.charAt(1)==="="?Wt(m,g)-m:parseFloat(g)-m,m:p&&p<4?Math.round:0},f=$e.lastIndex);return l.c=f<i.length?i.substring(f,i.length):"",l.fp=o,(Pr.test(i)||x)&&(l.e=0),this._pt=l,l},sr=function(t,e,r,i,n,s,o,l,f,u){F(i)&&(i=i(n||0,t,s));var h=t[e],_=r!=="get"?r:F(h)?f?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():h,p=F(h)?f?Nn:hi:lr,g;if(U(i)&&(~i.indexOf("random(")&&(i=le(i)),i.charAt(1)==="="&&(g=Wt(_,i)+(G(_)||0),(g||g===0)&&(i=g))),!u||_!==i||or)return!isNaN(_*i)&&i!==""?(g=new J(this._pt,t,e,+_||0,i-(_||0),typeof h=="boolean"?Vn:di,0,p),f&&(g.fp=f),o&&g.modifier(o,this,t),this._pt=g):(!h&&!(e in t)&&qe(e,i),Cn.call(this,t,e,_,i,p,l||rt.stringFilter,f))},Pn=function(t,e,r,i,n){if(F(t)&&(t=de(t,n,e,r,i)),!_t(t)||t.style&&t.nodeType||W(t)||Sr(t))return U(t)?de(t,n,e,r,i):t;var s={},o;for(o in t)s[o]=de(t[o],n,e,r,i);return s},fi=function(t,e,r,i,n,s){var o,l,f,u;if(nt[t]&&(o=new nt[t]).init(n,o.rawVars?e[t]:Pn(e[t],i,n,s,r),r,i,s)!==!1&&(r._pt=l=new J(r._pt,n,t,0,1,o.render,o,0,o.priority),r!==Qt))for(f=r._ptLookup[r._targets.indexOf(n)],u=o._props.length;u--;)f[o._props[u]]=l;return o},Pt,or,ar=function a(t,e,r){var i=t.vars,n=i.ease,s=i.startAt,o=i.immediateRender,l=i.lazy,f=i.onUpdate,u=i.runBackwards,h=i.yoyoEase,_=i.keyframes,p=i.autoRevert,g=t._dur,d=t._startAt,m=t._targets,x=t.parent,b=x&&x.data==="nested"?x.vars.targets:m,T=t._overwrite==="auto"&&!Be,w=t.timeline,y,v,S,E,k,C,O,D,A,j,Y,$,q;if(w&&(!_||!n)&&(n="none"),t._ease=zt(n,Xt.ease),t._yEase=h?si(zt(h===!0?n:h,Xt.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!w&&!!i.runBackwards,!w||_&&!i.stagger){if(D=m[0]?At(m[0]).harness:0,$=D&&i[D.prop],y=Ee(i,Xe),d&&(d._zTime<0&&d.progress(1),e<0&&u&&o&&!p?d.render(-1,!0):d.revert(u&&g?Te:en),d._lazy=0),s){if(St(t._startAt=I.set(m,st({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!d&&Q(l),startAt:null,delay:0,onUpdate:f&&function(){return ot(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X||!o&&!p)&&t._startAt.revert(Te),o&&g&&e<=0&&r<=0){e&&(t._zTime=e);return}}else if(u&&g&&!d){if(e&&(o=!1),S=st({overwrite:!1,data:"isFromStart",lazy:o&&!d&&Q(l),immediateRender:o,stagger:0,parent:x},y),$&&(S[D.prop]=$),St(t._startAt=I.set(m,S)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!o)a(t._startAt,M,M);else if(!e)return}for(t._pt=t._ptCache=0,l=g&&Q(l)||l&&!g,v=0;v<m.length;v++){if(k=m[v],O=k._gsap||Ke(m)[v]._gsap,t._ptLookup[v]=j={},je[O.id]&&vt.length&&Se(),Y=b===m?v:b.indexOf(k),D&&(A=new D).init(k,$||y,t,Y,b)!==!1&&(t._pt=E=new J(t._pt,k,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(ht){j[ht]=E}),A.priority&&(C=1)),!D||$)for(S in y)nt[S]&&(A=fi(S,y,t,Y,k,b))?A.priority&&(C=1):j[S]=E=sr.call(t,k,S,"get",y[S],Y,b,0,i.stringFilter);t._op&&t._op[v]&&t.kill(k,t._op[v]),T&&t._pt&&(Pt=t,z.killTweensOf(k,j,t.globalTime(e)),q=!t.parent,Pt=0),t._pt&&l&&(je[O.id]=1)}C&&pi(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!q,_&&e<=0&&w.render(ft,!0,!0)},On=function(t,e,r,i,n,s,o,l){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,h,_,p;if(!f)for(f=t._ptCache[e]=[],_=t._ptLookup,p=t._targets.length;p--;){if(u=_[p][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return or=1,t.vars[e]="+=0",ar(t,o),or=0,l?ie(e+" not eligible for reset"):1;f.push(u)}for(p=f.length;p--;)h=f[p],u=h._pt||h,u.s=(i||i===0)&&!n?i:u.s+(i||0)+s*u.c,u.c=r-u.s,h.e&&(h.e=L(r)+G(h.e)),h.b&&(h.b=u.s+G(h.b))},Dn=function(t,e){var r=t[0]?At(t[0]).harness:0,i=r&&r.aliases,n,s,o,l;if(!i)return e;n=Gt({},e);for(s in i)if(s in n)for(l=i[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},Mn=function(t,e,r,i){var n=e.ease||i||"power1.inOut",s,o;if(W(e))o=r[t]||(r[t]=[]),e.forEach(function(l,f){return o.push({t:f/(e.length-1)*100,v:l,e:n})});else for(s in e)o=r[s]||(r[s]=[]),s==="ease"||o.push({t:parseFloat(t),v:e[s],e:n})},de=function(t,e,r,i,n){return F(t)?t.call(e,r,i,n):U(t)&&~t.indexOf("random(")?le(t):t},ui=Ge+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ci={};Z(ui+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return ci[a]=1});var I=function(a){Tr(t,a);function t(r,i,n,s){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=a.call(this,s?i:se(i))||this;var l=o.vars,f=l.duration,u=l.delay,h=l.immediateRender,_=l.stagger,p=l.overwrite,g=l.keyframes,d=l.defaults,m=l.scrollTrigger,x=l.yoyoEase,b=i.parent||z,T=(W(r)||Sr(r)?bt(r[0]):"length"in i)?[r]:ct(r),w,y,v,S,E,k,C,O;if(o._targets=T.length?Ke(T):ie("GSAP target "+r+" not found. https://gsap.com",!rt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=p,g||_||we(f)||we(u)){if(i=o.vars,w=o.timeline=new H({data:"nested",defaults:d||{},targets:b&&b.data==="nested"?b.vars.targets:T}),w.kill(),w.parent=w._dp=xt(o),w._start=0,_||we(f)||we(u)){if(S=T.length,C=_&&Wr(_),_t(_))for(E in _)~ui.indexOf(E)&&(O||(O={}),O[E]=_[E]);for(y=0;y<S;y++)v=Ee(i,ci),v.stagger=0,x&&(v.yoyoEase=x),O&&Gt(v,O),k=T[y],v.duration=+de(f,xt(o),y,k,T),v.delay=(+de(u,xt(o),y,k,T)||0)-o._delay,!_&&S===1&&v.delay&&(o._delay=u=v.delay,o._start+=u,v.delay=0),w.to(k,v,C?C(y,k,T):0),w._ease=P.none;w.duration()?f=u=0:o.timeline=0}else if(g){se(st(w.vars.defaults,{ease:"none"})),w._ease=zt(g.ease||i.ease||"none");var D=0,A,j,Y;if(W(g))g.forEach(function($){return w.to(T,$,">")}),w.duration();else{v={};for(E in g)E==="ease"||E==="easeEach"||Mn(E,g[E],v,g.easeEach);for(E in v)for(A=v[E].sort(function($,q){return $.t-q.t}),D=0,y=0;y<A.length;y++)j=A[y],Y={ease:j.e,duration:(j.t-(y?A[y-1].t:0))/100*f},Y[E]=j.v,w.to(T,Y,D),D+=Y.duration;w.duration()<f&&w.to({},{duration:f-w.duration()})}}f||o.duration(f=w.duration())}else o.timeline=0;return p===!0&&!Be&&(Pt=xt(o),z.killTweensOf(T),Pt=0),mt(b,xt(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(h||!f&&!g&&o._start===R(b._time)&&Q(h)&&ln(xt(o))&&b.data!=="nested")&&(o._tTime=-M,o.render(Math.max(0,-u)||0)),m&&Ur(xt(o),m),o}var e=t.prototype;return e.render=function(i,n,s){var o=this._time,l=this._tDur,f=this._dur,u=i<0,h=i>l-M&&!u?l:i<M?0:i,_,p,g,d,m,x,b,T,w;if(!f)un(this,i,n,s);else if(h!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(_=h,T=this.timeline,this._repeat){if(d=f+this._rDelay,this._repeat<-1&&u)return this.totalTime(d*100+i,n,s);if(_=R(h%d),h===l?(g=this._repeat,_=f):(m=R(h/d),g=~~m,g&&g===m?(_=f,g--):_>f&&(_=f)),x=this._yoyo&&g&1,x&&(w=this._yEase,_=f-_),m=Kt(this._tTime,d),_===o&&!s&&this._initted&&g===m)return this._tTime=h,this;g!==m&&(T&&this._yEase&&oi(T,x),this.vars.repeatRefresh&&!x&&!this._lock&&_!==d&&this._initted&&(this._lock=s=1,this.render(R(d*g),!0).invalidate()._lock=0))}if(!this._initted){if(Yr(this,u?i:_,s,n,h))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(f!==this._dur)return this.render(i,n,s)}if(this._tTime=h,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(w||this._ease)(_/f),this._from&&(this.ratio=b=1-b),!o&&h&&!n&&!m&&(ot(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(b,p.d),p=p._next;T&&T.render(i<0?i:T._dur*T._ease(_/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(u&&Qe(this,i,n,s),ot(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!n&&this.parent&&ot(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&Qe(this,i,!0,!0),(i||!f)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&St(this,1),!n&&!(u&&!o)&&(h||o||x)&&(ot(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},e.resetTo=function(i,n,s,o,l){ce||at.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||ar(this,f),u=this._ease(f/this._dur),On(this,i,n,s,o,u,f,l)?this.resetTo(i,n,s,o,1):(De(this,0),this.parent||Lr(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?fe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!X),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Pt&&Pt.vars.overwrite!==!0)._first||fe(this),this.parent&&s!==this.timeline.totalDuration()&&Ht(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=i?ct(i):o,f=this._ptLookup,u=this._pt,h,_,p,g,d,m,x;if((!n||n==="all")&&on(o,l))return n==="all"&&(this._pt=0),fe(this);for(h=this._op=this._op||[],n!=="all"&&(U(n)&&(d={},Z(n,function(b){return d[b]=1}),n=d),n=Dn(o,n)),x=o.length;x--;)if(~l.indexOf(o[x])){_=f[x],n==="all"?(h[x]=n,g=_,p={}):(p=h[x]=h[x]||{},g=n);for(d in g)m=_&&_[d],m&&((!("kill"in m.d)||m.d.kill(d)===!0)&&Ce(this,m,"_pt"),delete _[d]),p!=="all"&&(p[d]=1)}return this._initted&&!this._pt&&u&&fe(this),this},t.to=function(i,n){return new t(i,n,arguments[2])},t.from=function(i,n){return oe(1,arguments)},t.delayedCall=function(i,n,s,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},t.fromTo=function(i,n,s){return oe(2,arguments)},t.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(i,n)},t.killTweensOf=function(i,n,s){return z.killTweensOf(i,n,s)},t}(he);st(I.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Z("staggerTo,staggerFrom,staggerFromTo",function(a){I[a]=function(){var t=new H,e=Je.call(arguments,0);return e.splice(a==="staggerFromTo"?5:4,0,0),t[a].apply(t,e)}});var lr=function(t,e,r){return t[e]=r},hi=function(t,e,r){return t[e](r)},Nn=function(t,e,r,i){return t[e](i.fp,r)},An=function(t,e,r){return t.setAttribute(e,r)},fr=function(t,e){return F(t[e])?hi:Le(t[e])&&t.setAttribute?An:lr},di=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Vn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},_i=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(t===1&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ur=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},zn=function(t,e,r,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(t,e,r),n=s},Rn=function(t){for(var e=this._pt,r,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?Ce(this,e,"_pt"):e.dep||(r=1),e=i;return!r},Bn=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},pi=function(t){for(var e=t._pt,r,i,n,s;e;){for(r=e._next,i=n;i&&i.pr>e.pr;)i=i._next;(e._prev=i?i._prev:s)?e._prev._next=e:n=e,(e._next=i)?i._prev=e:s=e,e=r}t._pt=n},J=function(){function a(e,r,i,n,s,o,l,f,u){this.t=r,this.s=n,this.c=s,this.p=i,this.r=o||di,this.d=l||this,this.set=f||lr,this.pr=u||0,this._next=e,e&&(e._prev=this)}var t=a.prototype;return t.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=Bn,this.m=r,this.mt=n,this.tween=i},a}();Z(Ge+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Xe[a]=1}),it.TweenMax=it.TweenLite=I,it.TimelineLite=it.TimelineMax=H,z=new H({sortChildren:!1,defaults:Xt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),rt.stringFilter=ni;var Bt=[],Me={},Fn=[],mi=0,Ln=0,cr=function(t){return(Me[t]||Fn).map(function(e){return e()})},hr=function(){var t=Date.now(),e=[];t-mi>2&&(cr("matchMediaInit"),Bt.forEach(function(r){var i=r.queries,n=r.conditions,s,o,l,f;for(o in i)s=pt.matchMedia(i[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,f=1);f&&(r.revert(),l&&e.push(r))}),cr("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),mi=t,cr("matchMedia"))},gi=function(){function a(e,r){this.selector=r&&tr(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ln++,e&&this.add(e)}var t=a.prototype;return t.add=function(r,i,n){F(r)&&(n=i,i=r,r=F);var s=this,o=function(){var f=V,u=s.selector,h;return f&&f!==s&&f.data.push(s),n&&(s.selector=tr(n)),V=s,h=i.apply(s,arguments),F(h)&&s._r.push(h),V=f,s.selector=u,s.isReverted=!1,h};return s.last=o,r===F?o(s,function(l){return s.add(null,l)}):r?s[r]=o:o},t.ignore=function(r){var i=V;V=null,r(this),V=i},t.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof a?r.push.apply(r,i.getTweens()):i instanceof I&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,i){var n=this;if(r?function(){for(var o=n.getTweens(),l=n.data.length,f;l--;)f=n.data[l],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}));for(o.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=n.data.length;l--;)f=n.data[l],f instanceof H?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof I)&&f.revert&&f.revert(r);n._r.forEach(function(u){return u(r,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var s=Bt.length;s--;)Bt[s].id===this.id&&Bt.splice(s,1)},t.revert=function(r){this.kill(r||{})},a}(),In=function(){function a(e){this.contexts=[],this.scope=e,V&&V.data.push(this)}var t=a.prototype;return t.add=function(r,i,n){_t(r)||(r={matches:r});var s=new gi(0,n||this.scope),o=s.conditions={},l,f,u;V&&!s.selector&&(s.selector=V.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(f in r)f==="all"?u=1:(l=pt.matchMedia(r[f]),l&&(Bt.indexOf(s)<0&&Bt.push(s),(o[f]=l.matches)&&(u=1),l.addListener?l.addListener(hr):l.addEventListener("change",hr)));return u&&i(s,function(h){return s.add(null,h)}),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},a}(),Ne={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(i){return ti(i)})},timeline:function(t){return new H(t)},getTweensOf:function(t,e){return z.getTweensOf(t,e)},getProperty:function(t,e,r,i){U(t)&&(t=ct(t)[0]);var n=At(t||{}).get,s=r?Br:Rr;return r==="native"&&(r=""),t&&(e?s((nt[e]&&nt[e].get||n)(t,e,r,i)):function(o,l,f){return s((nt[o]&&nt[o].get||n)(t,o,l,f))})},quickSetter:function(t,e,r){if(t=ct(t),t.length>1){var i=t.map(function(u){return tt.quickSetter(u,e,r)}),n=i.length;return function(u){for(var h=n;h--;)i[h](u)}}t=t[0]||{};var s=nt[e],o=At(t),l=o.harness&&(o.harness.aliases||{})[e]||e,f=s?function(u){var h=new s;Qt._pt=0,h.init(t,r?u+r:u,Qt,0,[t]),h.render(1,h),Qt._pt&&ur(1,Qt)}:o.set(t,l);return s?f:function(u){return f(t,l,r?u+r:u,o,1)}},quickTo:function(t,e,r){var i,n=tt.to(t,st((i={},i[e]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(l,f,u){return n.resetTo(e,l,f,u)};return s.tween=n,s},isTweening:function(t){return z.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=zt(t.ease,Xt.ease)),Fr(Xt,t||{})},config:function(t){return Fr(rt,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!nt[o]&&!it[o]&&ie(e+" effect requires "+o+" plugin.")}),We[e]=function(o,l,f){return r(ct(o),st(l||{},n),f)},s&&(H.prototype[e]=function(o,l,f){return this.add(We[e](o,_t(l)?l:(f=l)&&{},this),f)})},registerEase:function(t,e){P[t]=zt(e)},parseEase:function(t,e){return arguments.length?zt(t,e):P},getById:function(t){return z.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var r=new H(t),i,n;for(r.smoothChildTiming=Q(t.smoothChildTiming),z.remove(r),r._dp=0,r._time=r._tTime=z._time,i=z._first;i;)n=i._next,(e||!(!i._dur&&i instanceof I&&i.vars.onComplete===i._targets[0]))&&mt(r,i,i._start-i._delay),i=n;return mt(z,r,0),r},context:function(t,e){return t?new gi(t,e):V},matchMedia:function(t){return new In(t)},matchMediaRefresh:function(){return Bt.forEach(function(t){var e=t.conditions,r,i;for(i in e)e[i]&&(e[i]=!1,r=1);r&&t.revert()})||hr()},addEventListener:function(t,e){var r=Me[t]||(Me[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Me[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:yn,wrapYoyo:xn,distribute:Wr,random:Kr,snap:Gr,normalize:gn,getUnit:G,clamp:dn,splitColor:ei,toArray:ct,selector:tr,mapRange:Qr,pipe:pn,unitize:mn,interpolate:bn,shuffle:jr},install:Dr,effects:We,ticker:at,updateRoot:H.updateRoot,plugins:nt,globalTimeline:z,core:{PropTween:J,globals:Mr,Tween:I,Timeline:H,Animation:he,getCache:At,_removeLinkedListItem:Ce,reverting:function(){return X},context:function(t){return t&&V&&(V.data.push(t),t._ctx=V),V},suppressOverwrites:function(t){return Be=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Ne[a]=I[a]}),at.add(H.updateRoot),Qt=Ne.to({},{duration:0});var $n=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Un=function(t,e){var r=t._targets,i,n,s;for(i in e)for(n=r.length;n--;)s=t._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=$n(s,i)),s&&s.modifier&&s.modifier(e[i],t,r[n],i))},dr=function(t,e){return{name:t,headless:1,rawVars:1,init:function(i,n,s){s._onInit=function(o){var l,f;if(U(n)&&(l={},Z(n,function(u){return l[u]=1}),n=l),e){l={};for(f in n)l[f]=e(n[f]);n=l}Un(o,n)}}}},tt=Ne.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,o,l;this.tween=r;for(s in e)l=t.getAttribute(s)||"",o=this.add(t,"setAttribute",(l||0)+"",e[s],i,n,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)X?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},dr("roundProps",er),dr("modifiers"),dr("snap",Gr))||Ne;I.version=H.version=tt.version="3.14.2",Or=1,Ie()&&Zt(),P.Power0,P.Power1,P.Power2,P.Power3,P.Power4,P.Linear,P.Quad,P.Cubic,P.Quart,P.Quint,P.Strong,P.Elastic,P.Back,P.SteppedEase,P.Bounce,P.Sine,P.Expo,P.Circ;/*!
|
|
8
|
+
*/var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Xt={duration:.5,overwrite:!1,delay:0},Be,X,A,ft=1e8,z=1/ft,Fe=Math.PI*2,Wr=Fe/4,Gr=0,vi=Math.sqrt,Kr=Math.cos,Hr=Math.sin,U=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},bt=function(t){return typeof t=="number"},Le=function(t){return typeof t>"u"},_t=function(t){return typeof t=="object"},Q=function(t){return t!==!1},Ie=function(){return typeof window<"u"},we=function(t){return F(t)||U(t)},Si=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},W=Array.isArray,Qr=/random\([^)]+\)/g,Zr=/,\s*/g,Ci=/(?:-?\.?\d|\.)+/gi,Ei=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,jt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$e=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Pi=/[+-]=-?[.\d]+/,Jr=/[^,'"\[\]\s]+/gi,tn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,V,pt,Ue,Ye,rt={},ke={},Oi,Di=function(t){return(ke=Gt(t,rt))&&tt},qe=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},re=function(t,e){return!e&&console.warn(t)},zi=function(t,e){return t&&(rt[t]=e)&&ke&&(ke[t]=e)||rt},ne=function(){return 0},en={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},rn={suppressEvents:!0},Xe={},vt=[],je={},Mi,nt={},We={},Ni=30,ve=[],Ge="",Ke=function(t){var e=t[0],i,r;if(_t(e)||F(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=ve.length;r--&&!ve[r].targetTest(e););i=ve[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new lr(t[r],i)))||t.splice(r,1);return t},Nt=function(t){return t._gsap||Ke(ct(t))[0]._gsap},Ai=function(t,e,i){return(i=t[e])&&F(i)?t[e]():Le(i)&&t.getAttribute&&t.getAttribute(e)||i},Z=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},R=function(t){return Math.round(t*1e7)/1e7||0},Wt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},nn=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Se=function(){var t=vt.length,e=vt.slice(0),i,r;for(je={},vt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},He=function(t){return!!(t._initted||t._startAt||t.add)},Vi=function(t,e,i,r){vt.length&&!X&&Se(),t.render(e,i,!!(X&&e<0&&He(t))),vt.length&&!X&&Se()},Ri=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Jr).length<2?e:U(t)?t.trim():t},Bi=function(t){return t},st=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},sn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Gt=function(t,e){for(var i in e)t[i]=e[i];return t},Fi=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=_t(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Ce=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},se=function(t){var e=t.parent||V,i=t.keyframes?sn(W(t.keyframes)):st;if(Q(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},an=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Li=function(t,e,i,r,n){var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Ee=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},At=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},on=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Qe=function(t,e,i,r){return t._startAt&&(X?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},ln=function o(t){return!t||t._ts&&o(t.parent)},Ii=function(t){return t._repeat?Kt(t._tTime,t=t.duration()+t._rDelay)*t:0},Kt=function(t,e){var i=Math.floor(t=R(t/e));return t&&i===t?i-1:i},Pe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Oe=function(t){return t._end=R(t._start+(t._tDur/Math.abs(t._ts||t._rts||z)||0))},De=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=R(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Oe(t),i._dirty||At(i,t)),t},$i=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Pe(t.rawTime(),e),(!e._dur||oe(0,e.totalDuration(),i)-e._tTime>z)&&e.render(i,!0)),At(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-z}},mt=function(t,e,i,r){return e.parent&&St(e),e._start=R((bt(i)?i:i||t!==V?ut(t,i,e):t._time)+e._delay),e._end=R(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Li(t,e,"_first","_last",t._sort?"_start":0),Ze(e)||(t._recent=e),r||$i(t,e),t._ts<0&&De(t,t._tTime),t},Ui=function(t,e){return(rt.ScrollTrigger||qe("scrollTrigger",e))&&rt.ScrollTrigger.create(e,t)},Yi=function(t,e,i,r,n){if(oi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!X&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Mi!==ot.frame)return vt.push(t),t._lazy=[n,r],1},fn=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ze=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},un=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&fn(t)&&!(!t._initted&&Ze(t))||(t._ts<0||t._dp._ts<0)&&!Ze(t))?0:1,a=t._rDelay,l=0,f,u,h;if(a&&t._repeat&&(l=oe(0,t._tDur,e),u=Kt(l,a),t._yoyo&&u&1&&(s=1-s),u!==Kt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||X||r||t._zTime===z||!e&&t._zTime){if(!t._initted&&Yi(t,e,r,i,l))return;for(h=t._zTime,t._zTime=e||(i?z:0),i||(i=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&Qe(t,e,i,!0),t._onUpdate&&!i&&at(t,"onUpdate"),l&&t._repeat&&!i&&t.parent&&at(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&St(t,1),!i&&!X&&(at(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},cn=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},Ht=function(t,e,i,r){var n=t._repeat,s=R(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:R(s*(n+1)+t._rDelay*n):s,a>0&&!r&&De(t,t._tTime=t._tDur*a),t.parent&&Oe(t),i||At(t.parent,t),t},qi=function(t){return t instanceof H?At(t):Ht(t,t._dur)},hn={_start:0,endTime:ne,totalDuration:ne},ut=function o(t,e,i){var r=t.labels,n=t._recent||hn,s=t.duration()>=ft?n.endTime(!1):t._dur,a,l,f;return U(e)&&(isNaN(e)||e in r)?(l=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&i&&(l=l/100*(W(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+l:s+l)):e==null?s:+e},ae=function(t,e,i){var r=bt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,l;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Q(l.vars.inherit)&&l.parent;s.immediateRender=Q(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new I(e[0],s,e[n+1])},Ct=function(t,e){return t||t===0?e(t):e},oe=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!U(t)||!(e=tn.exec(t))?"":e[1]},dn=function(t,e,i){return Ct(i,function(r){return oe(t,e,r)})},Je=[].slice,Xi=function(t,e){return t&&_t(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&_t(t[0]))&&!t.nodeType&&t!==pt},_n=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return U(r)&&!e||Xi(r,1)?(n=i).push.apply(n,ct(r)):i.push(r)})||i},ct=function(t,e,i){return A&&!e&&A.selector?A.selector(t):U(t)&&!i&&(Ue||!Zt())?Je.call((e||Ye).querySelectorAll(t),0):W(t)?_n(t,i):Xi(t)?Je.call(t,0):t?[t]:[]},ti=function(t){return t=ct(t)[0]||re("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ct(e,i.querySelectorAll?i:i===t?re("Invalid scope")||Ye.createElement("div"):t)}},ji=function(t){return t.sort(function(){return .5-Math.random()})},Wi=function(t){if(F(t))return t;var e=_t(t)?t:{each:t},i=Vt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,l=isNaN(r)||a,f=e.axis,u=r,h=r;return U(r)?u=h={center:.5,edges:.5,end:1}[r]||0:!a&&l&&(u=r[0],h=r[1]),function(_,p,g){var d=(g||e).length,m=s[d],x,b,T,w,y,v,S,C,k;if(!m){if(k=e.grid==="auto"?0:(e.grid||[1,ft])[1],!k){for(S=-ft;S<(S=g[k++].getBoundingClientRect().left)&&k<d;);k<d&&k--}for(m=s[d]=[],x=l?Math.min(k,d)*u-.5:r%k,b=k===ft?0:l?d*h/k-.5:r/k|0,S=0,C=ft,v=0;v<d;v++)T=v%k-x,w=b-(v/k|0),m[v]=y=f?Math.abs(f==="y"?w:T):vi(T*T+w*w),y>S&&(S=y),y<C&&(C=y);r==="random"&&ji(m),m.max=S-C,m.min=C,m.v=d=(parseFloat(e.amount)||parseFloat(e.each)*(k>d?d-1:f?f==="y"?d/k:k:Math.max(k,d/k))||0)*(r==="edges"?-1:1),m.b=d<0?n-d:n,m.u=G(e.amount||e.each)||0,i=i&&d<0?sr(i):i}return d=(m[_]-m.min)/m.max||0,R(m.b+(i?i(d):d)*m.v)+m.u}},ei=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=R(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(bt(i)?0:G(i))}},Gi=function(t,e){var i=W(t),r,n;return!i&&_t(t)&&(r=i=t.radius||ft,t.values?(t=ct(t.values),(n=!bt(t[0]))&&(r*=r)):t=ei(t.increment)),Ct(e,i?F(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),f=ft,u=0,h=t.length,_,p;h--;)n?(_=t[h].x-a,p=t[h].y-l,_=_*_+p*p):_=Math.abs(t[h]-a),_<f&&(f=_,u=h);return u=!r||f<=r?t[u]:s,n||u===s||bt(s)?u:u+G(s)}:ei(t))},Ki=function(t,e,i,r){return Ct(W(t)?!e:i===!0?!!(i=0):!r,function(){return W(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},pn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},mn=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},gn=function(t,e,i){return Qi(t,e,0,1,i)},Hi=function(t,e,i){return Ct(i,function(r){return t[~~e(r)]})},yn=function o(t,e,i){var r=e-t;return W(t)?Hi(t,o(0,t.length),e):Ct(i,function(n){return(r+(n-t)%r)%r+t})},xn=function o(t,e,i){var r=e-t,n=r*2;return W(t)?Hi(t,o(0,t.length-1),e):Ct(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},le=function(t){return t.replace(Qr,function(e){var i=e.indexOf("[")+1,r=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(Zr);return Ki(i?r:+r[0],i?0:+r[1],+r[2]||1e-5)})},Qi=function(t,e,i,r,n){var s=e-t,a=r-i;return Ct(n,function(l){return i+((l-t)/s*a||0)})},bn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!n){var s=U(t),a={},l,f,u,h,_;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(W(t)&&!W(e)){for(u=[],h=t.length,_=h-2,f=1;f<h;f++)u.push(o(t[f-1],t[f]));h--,n=function(g){g*=h;var d=Math.min(_,~~g);return u[d](g-d)},i=e}else r||(t=Gt(W(t)?[]:{},t));if(!u){for(l in e)si.call(a,t,l,"get",e[l]);n=function(g){return ui(g,a)||(s?t.p:t)}}}return Ct(i,n)},Zi=function(t,e,i){var r=t.labels,n=ft,s,a,l;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(l=s,n=a);return l},at=function(t,e,i){var r=t.vars,n=r[e],s=A,a=t._ctx,l,f,u;if(n)return l=r[e+"Params"],f=r.callbackScope||t,i&&vt.length&&Se(),a&&(A=a),u=l?n.apply(f,l):n.call(f),A=s,u},fe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!X),t.progress()<1&&at(t,"onInterrupt"),t},Qt,Ji=[],tr=function(t){if(t)if(t=!t.name&&t.default||t,Ie()||t.headless){var e=t.name,i=F(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:ne,render:ui,add:si,kill:Rn,modifier:Vn,rawVars:0},s={targetTest:0,get:0,getSetter:fi,aliases:{},register:0};if(Zt(),t!==r){if(nt[e])return;st(r,st(Ce(t,n),s)),Gt(r.prototype,Gt(n,Ce(t,s))),nt[r.prop=e]=r,t.targetTest&&(ve.push(r),Xe[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}zi(e,r),t.register&&t.register(tt,r,J)}else Ji.push(t)},M=255,ue={aqua:[0,M,M],lime:[0,M,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,M],navy:[0,0,128],white:[M,M,M],olive:[128,128,0],yellow:[M,M,0],orange:[M,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[M,0,0],pink:[M,192,203],cyan:[0,M,M],transparent:[M,M,M,0]},ii=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*M+.5|0},er=function(t,e,i){var r=t?bt(t)?[t>>16,t>>8&M,t&M]:0:ue.black,n,s,a,l,f,u,h,_,p,g;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ue[t])r=ue[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&M,r&M,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&M,t&M]}else if(t.substr(0,3)==="hsl"){if(r=g=t.match(Ci),!e)l=+r[0]%360/360,f=+r[1]/100,u=+r[2]/100,s=u<=.5?u*(f+1):u+f-u*f,n=u*2-s,r.length>3&&(r[3]*=1),r[0]=ii(l+1/3,n,s),r[1]=ii(l,n,s),r[2]=ii(l-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Ei),i&&r.length<4&&(r[3]=1),r}else r=t.match(Ci)||ue.transparent;r=r.map(Number)}return e&&!g&&(n=r[0]/M,s=r[1]/M,a=r[2]/M,h=Math.max(n,s,a),_=Math.min(n,s,a),u=(h+_)/2,h===_?l=f=0:(p=h-_,f=u>.5?p/(2-h-_):p/(h+_),l=h===n?(s-a)/p+(s<a?6:0):h===s?(a-n)/p+2:(n-s)/p+4,l*=60),r[0]=~~(l+.5),r[1]=~~(f*100+.5),r[2]=~~(u*100+.5)),i&&r.length<4&&(r[3]=1),r},ir=function(t){var e=[],i=[],r=-1;return t.split(Et).forEach(function(n){var s=n.match(jt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},rr=function(t,e,i){var r="",n=(t+r).match(Et),s=e?"hsla(":"rgba(",a=0,l,f,u,h;if(!n)return t;if(n=n.map(function(_){return(_=er(_,e,1))&&s+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),i&&(u=ir(t),l=i.c,l.join(r)!==u.c.join(r)))for(f=t.replace(Et,"1").split(jt),h=f.length-1;a<h;a++)r+=f[a]+(~l.indexOf(a)?n.shift()||s+"0,0,0,0)":(u.length?u:n.length?n:i).shift());if(!f)for(f=t.split(Et),h=f.length-1;a<h;a++)r+=f[a]+n[a];return r+f[h]},Et=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ue)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),wn=/hsl[a]?\(/,nr=function(t){var e=t.join(" "),i;if(Et.lastIndex=0,Et.test(e))return i=wn.test(e),t[1]=rr(t[1],i),t[0]=rr(t[0],i,ir(t[1])),!0},ce,ot=function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],l,f,u,h,_,p,g=function d(m){var x=o()-r,b=m===!0,T,w,y,v;if((x>t||x<0)&&(i+=x-e),r+=x,y=r-i,T=y-s,(T>0||b)&&(v=++h.frame,_=y-h.time*1e3,h.time=y=y/1e3,s+=T+(T>=n?4:n-T),w=1),b||(l=f(d)),w)for(p=0;p<a.length;p++)a[p](y,_,v,m)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return _/(1e3/(m||60))},wake:function(){Oi&&(!Ue&&Ie()&&(pt=Ue=window,Ye=pt.document||{},rt.gsap=tt,(pt.gsapVersions||(pt.gsapVersions=[])).push(tt.version),Di(ke||pt.GreenSockGlobals||!pt.gsap&&pt||{}),Ji.forEach(tr)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),f=u||function(m){return setTimeout(m,s-h.time*1e3+1|0)},ce=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),ce=0,f=ne},lagSmoothing:function(m,x){t=m||1/0,e=Math.min(x||33,t)},fps:function(m){n=1e3/(m||240),s=h.time*1e3+n},add:function(m,x,b){var T=x?function(w,y,v,S){m(w,y,v,S),h.remove(T)}:m;return h.remove(m),a[b?"unshift":"push"](T),Zt(),T},remove:function(m,x){~(x=a.indexOf(m))&&a.splice(x,1)&&p>=x&&p--},_listeners:a},h}(),Zt=function(){return!ce&&ot.wake()},P={},kn=/^[\d.\-M][\d.\-,\s]/,Tn=/["']/g,vn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,l,f;n<s;n++)l=i[n],a=n!==s-1?l.lastIndexOf(","):l.length,f=l.substr(0,a),e[r]=isNaN(f)?f.replace(Tn,"").trim():+f,r=l.substr(a+1).trim();return e},Sn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},Cn=function(t){var e=(t+"").split("("),i=P[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[vn(e[1])]:Sn(t).split(",").map(Ri)):P._CE&&kn.test(t)?P._CE("",t):i},sr=function(t){return function(e){return 1-t(1-e)}},ar=function o(t,e){for(var i=t._first,r;i;)i instanceof H?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Vt=function(t,e){return t&&(F(t)?t:P[t]||Cn(t))||e},Rt=function(t,e,i,r){i===void 0&&(i=function(l){return 1-e(1-l)}),r===void 0&&(r=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return Z(t,function(a){P[a]=rt[a]=n,P[s=a.toLowerCase()]=i;for(var l in n)P[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=P[a+"."+l]=n[l]}),n},or=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ri=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Fe*(Math.asin(1/r)||0),a=function(u){return u===1?1:r*Math.pow(2,-10*u)*Hr((u-s)*n)+1},l=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:or(a);return n=Fe/n,l.config=function(f,u){return o(t,f,u)},l},ni=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:or(i);return r.config=function(n){return o(t,n)},r};Z("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Rt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})}),P.Linear.easeNone=P.none=P.Linear.easeIn,Rt("Elastic",ri("in"),ri("out"),ri()),function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Rt("Bounce",function(s){return 1-n(1-s)},n)}(7.5625,2.75),Rt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)}),Rt("Circ",function(o){return-(vi(1-o*o)-1)}),Rt("Sine",function(o){return o===1?1:-Kr(o*Wr)+1}),Rt("Back",ni("in"),ni("out"),ni()),P.SteppedEase=P.steps=rt.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-z;return function(a){return((r*oe(0,s,a)|0)+n)*i}}},Xt.ease=P["quad.out"],Z("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Ge+=o+","+o+"Params,"});var lr=function(t,e){this.id=Gr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Ai,this.set=e?e.getSetter:fi},he=function(){function o(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,Ht(this,+e.duration,1,1),this.data=e.data,A&&(this._ctx=A,A.data.push(this)),ce||ot.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,Ht(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Zt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(De(this,i),!n._dp||n.parent||$i(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&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&mt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===z||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Vi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Ii(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Ii(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?Kt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-z?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Pe(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-z?0:this._rts,this.totalTime(oe(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),Oe(this),on(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==z&&(this._tTime-=z)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=R(i);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&mt(r,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(Q(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Pe(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=rn);var r=X;return X=i,He(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),X=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,qi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,qi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ut(this,i),Q(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,Q(r)),this._dur||(this._zTime=-z),this},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-z:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-z,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-z)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this,n=r._prom;return new Promise(function(s){var a=F(i)?i:Bi,l=function(){var u=r.then;r.then=null,n&&n(),F(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=u),s(a),r.then=u};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?l():r._prom=l})},t.kill=function(){fe(this)},o}();st(he.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:-z,_prom:0,_ps:!1,_rts:1});var H=function(o){Ti(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=Q(i.sortChildren),V&&mt(i.parent||V,xt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&Ui(xt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return ae(0,arguments,this),this},e.from=function(r,n,s){return ae(1,arguments,this),this},e.fromTo=function(r,n,s,a){return ae(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,se(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new I(r,n,ut(this,s),1),this},e.call=function(r,n,s){return mt(this,I.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,l,f,u){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=u,s.parent=this,new I(r,s,ut(this,l)),this},e.staggerFrom=function(r,n,s,a,l,f,u){return s.runBackwards=1,se(s).immediateRender=Q(s.immediateRender),this.staggerTo(r,n,s,a,l,f,u)},e.staggerFromTo=function(r,n,s,a,l,f,u,h){return a.startAt=s,se(a).immediateRender=Q(a.immediateRender),this.staggerTo(r,n,a,l,f,u,h)},e.render=function(r,n,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,f=this._dur,u=r<=0?0:R(r),h=this._zTime<0!=r<0&&(this._initted||!f),_,p,g,d,m,x,b,T,w,y,v,S;if(this!==V&&u>l&&r>=0&&(u=l),u!==this._tTime||s||h){if(a!==this._time&&f&&(u+=this._time-a,r+=this._time-a),_=u,w=this._start,T=this._ts,x=!T,h&&(f||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(v=this._yoyo,m=f+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(_=R(u%m),u===l?(d=this._repeat,_=f):(y=R(u/m),d=~~y,d&&d===y&&(_=f,d--),_>f&&(_=f)),y=Kt(this._tTime,m),!a&&this._tTime&&y!==d&&this._tTime-y*m-this._dur<=0&&(y=d),v&&d&1&&(_=f-_,S=1),d!==y&&!this._lock){var C=v&&y&1,k=C===(v&&d&1);if(d<y&&(C=!C),a=C?0:u%f?f:u,this._lock=1,this.render(a||(S?0:R(d*m)),n,!f)._lock=0,this._tTime=u,!n&&this.parent&&at(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,y=d),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,l=this._tDur,k&&(this._lock=2,a=C?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;ar(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=cn(this,R(a),R(_)),b&&(u-=_-(_=b._start))),this._tTime=u,this._time=_,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&u&&f&&!n&&!y&&(at(this,"onStart"),this._tTime!==u))return this;if(_>=a&&r>=0)for(p=this._first;p;){if(g=p._next,(p._act||_>=p._start)&&p._ts&&b!==p){if(p.parent!==this)return this.render(r,n,s);if(p.render(p._ts>0?(_-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(_-p._start)*p._ts,n,s),_!==this._time||!this._ts&&!x){b=0,g&&(u+=this._zTime=-z);break}}p=g}else{p=this._last;for(var E=r<0?r:_;p;){if(g=p._prev,(p._act||E<=p._end)&&p._ts&&b!==p){if(p.parent!==this)return this.render(r,n,s);if(p.render(p._ts>0?(E-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(E-p._start)*p._ts,n,s||X&&He(p)),_!==this._time||!this._ts&&!x){b=0,g&&(u+=this._zTime=E?-z:z);break}}p=g}}if(b&&!n&&(this.pause(),b.render(_>=a?0:-z)._zTime=_>=a?1:-1,this._ts))return this._start=w,Oe(this),this.render(r,n,s);this._onUpdate&&!n&&at(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(w===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!f)&&(u===l&&this._ts>0||!u&&this._ts<0)&&St(this,1),!n&&!(r<0&&!a)&&(u||a||!l)&&(at(this,u===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(bt(n)||(n=ut(this,n,r)),!(r instanceof he)){if(W(r))return r.forEach(function(a){return s.add(a,n)}),this;if(U(r))return this.addLabel(r,n);if(F(r))r=I.delayedCall(0,r);else return this}return this!==r?mt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-ft);for(var l=[],f=this._first;f;)f._start>=a&&(f instanceof I?n&&l.push(f):(s&&l.push(f),r&&l.push.apply(l,f.getChildren(!0,n,s)))),f=f._next;return l},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return U(r)?this.removeLabel(r):F(r)?this.killTweensOf(r):(r.parent===this&&Ee(this,r),r===this._recent&&(this._recent=this._last),At(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=R(ot.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ut(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=I.delayedCall(0,n||ne,s);return a.data="isPause",this._hasPause=1,mt(this,a,ut(this,r))},e.removePause=function(r){var n=this._first;for(r=ut(this,r);n;)n._start===r&&n.data==="isPause"&&St(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),l=a.length;l--;)Pt!==a[l]&&a[l].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ct(r),l=this._first,f=bt(n),u;l;)l instanceof I?nn(l._targets,a)&&(f?(!Pt||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(u=l.getTweensOf(a,n)).length&&s.push.apply(s,u),l=l._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ut(s,r),l=n,f=l.startAt,u=l.onStart,h=l.onStartParams,_=l.immediateRender,p,g=I.to(s,st({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||z,onStart:function(){if(s.pause(),!p){var m=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());g._dur!==m&&Ht(g,m,0,1).render(g._time,!0,!0),p=1}u&&u.apply(g,h||[])}},n));return _?g.render(0):g},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,st({startAt:{time:ut(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Zi(this,ut(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Zi(this,ut(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+z)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);var a=this._first,l=this.labels,f;for(r=R(r);a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(f in l)l[f]>=s&&(l[f]+=r);return At(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),At(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,l=ft,f,u,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(h=s.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,mt(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(n-=u,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=R(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>n&&a._ts&&(n=a._end),a=f;Ht(s,s===V&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(V._ts&&(Vi(V,Pe(r,V)),Mi=ot.frame),ot.frame>=Ni){Ni+=it.autoSleep||120;var n=V._first;if((!n||!n._ts)&&it.autoSleep&&ot._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ot.sleep()}}},t}(he);st(H.prototype,{_lock:0,_hasPause:0,_forcing:0});var En=function(t,e,i,r,n,s,a){var l=new J(this._pt,t,e,0,1,_r,null,n),f=0,u=0,h,_,p,g,d,m,x,b;for(l.b=i,l.e=r,i+="",r+="",(x=~r.indexOf("random("))&&(r=le(r)),s&&(b=[i,r],s(b,t,e),i=b[0],r=b[1]),_=i.match($e)||[];h=$e.exec(r);)g=h[0],d=r.substring(f,h.index),p?p=(p+1)%5:d.substr(-5)==="rgba("&&(p=1),g!==_[u++]&&(m=parseFloat(_[u-1])||0,l._pt={_next:l._pt,p:d||u===1?d:",",s:m,c:g.charAt(1)==="="?Wt(m,g)-m:parseFloat(g)-m,m:p&&p<4?Math.round:0},f=$e.lastIndex);return l.c=f<r.length?r.substring(f,r.length):"",l.fp=a,(Pi.test(r)||x)&&(l.e=0),this._pt=l,l},si=function(t,e,i,r,n,s,a,l,f,u){F(r)&&(r=r(n||0,t,s));var h=t[e],_=i!=="get"?i:F(h)?f?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():h,p=F(h)?f?Mn:hr:li,g;if(U(r)&&(~r.indexOf("random(")&&(r=le(r)),r.charAt(1)==="="&&(g=Wt(_,r)+(G(_)||0),(g||g===0)&&(r=g))),!u||_!==r||ai)return!isNaN(_*r)&&r!==""?(g=new J(this._pt,t,e,+_||0,r-(_||0),typeof h=="boolean"?An:dr,0,p),f&&(g.fp=f),a&&g.modifier(a,this,t),this._pt=g):(!h&&!(e in t)&&qe(e,r),En.call(this,t,e,_,r,p,l||it.stringFilter,f))},Pn=function(t,e,i,r,n){if(F(t)&&(t=de(t,n,e,i,r)),!_t(t)||t.style&&t.nodeType||W(t)||Si(t))return U(t)?de(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=de(t[a],n,e,i,r);return s},fr=function(t,e,i,r,n,s){var a,l,f,u;if(nt[t]&&(a=new nt[t]).init(n,a.rawVars?e[t]:Pn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=l=new J(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Qt))for(f=i._ptLookup[i._targets.indexOf(n)],u=a._props.length;u--;)f[a._props[u]]=l;return a},Pt,ai,oi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,l=r.lazy,f=r.onUpdate,u=r.runBackwards,h=r.yoyoEase,_=r.keyframes,p=r.autoRevert,g=t._dur,d=t._startAt,m=t._targets,x=t.parent,b=x&&x.data==="nested"?x.vars.targets:m,T=t._overwrite==="auto"&&!Be,w=t.timeline,y,v,S,C,k,E,O,D,N,j,Y,$,q;if(w&&(!_||!n)&&(n="none"),t._ease=Vt(n,Xt.ease),t._yEase=h?sr(Vt(h===!0?n:h,Xt.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!w&&!!r.runBackwards,!w||_&&!r.stagger){if(D=m[0]?Nt(m[0]).harness:0,$=D&&r[D.prop],y=Ce(r,Xe),d&&(d._zTime<0&&d.progress(1),e<0&&u&&a&&!p?d.render(-1,!0):d.revert(u&&g?Te:en),d._lazy=0),s){if(St(t._startAt=I.set(m,st({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!d&&Q(l),startAt:null,delay:0,onUpdate:f&&function(){return at(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X||!a&&!p)&&t._startAt.revert(Te),a&&g&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(u&&g&&!d){if(e&&(a=!1),S=st({overwrite:!1,data:"isFromStart",lazy:a&&!d&&Q(l),immediateRender:a,stagger:0,parent:x},y),$&&(S[D.prop]=$),St(t._startAt=I.set(m,S)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,z,z);else if(!e)return}for(t._pt=t._ptCache=0,l=g&&Q(l)||l&&!g,v=0;v<m.length;v++){if(k=m[v],O=k._gsap||Ke(m)[v]._gsap,t._ptLookup[v]=j={},je[O.id]&&vt.length&&Se(),Y=b===m?v:b.indexOf(k),D&&(N=new D).init(k,$||y,t,Y,b)!==!1&&(t._pt=C=new J(t._pt,k,N.name,0,1,N.render,N,0,N.priority),N._props.forEach(function(ht){j[ht]=C}),N.priority&&(E=1)),!D||$)for(S in y)nt[S]&&(N=fr(S,y,t,Y,k,b))?N.priority&&(E=1):j[S]=C=si.call(t,k,S,"get",y[S],Y,b,0,r.stringFilter);t._op&&t._op[v]&&t.kill(k,t._op[v]),T&&t._pt&&(Pt=t,V.killTweensOf(k,j,t.globalTime(e)),q=!t.parent,Pt=0),t._pt&&l&&(je[O.id]=1)}E&&pr(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!q,_&&e<=0&&w.render(ft,!0,!0)},On=function(t,e,i,r,n,s,a,l){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,h,_,p;if(!f)for(f=t._ptCache[e]=[],_=t._ptLookup,p=t._targets.length;p--;){if(u=_[p][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return ai=1,t.vars[e]="+=0",oi(t,a),ai=0,l?re(e+" not eligible for reset"):1;f.push(u)}for(p=f.length;p--;)h=f[p],u=h._pt||h,u.s=(r||r===0)&&!n?r:u.s+(r||0)+s*u.c,u.c=i-u.s,h.e&&(h.e=L(i)+G(h.e)),h.b&&(h.b=u.s+G(h.b))},Dn=function(t,e){var i=t[0]?Nt(t[0]).harness:0,r=i&&i.aliases,n,s,a,l;if(!r)return e;n=Gt({},e);for(s in r)if(s in n)for(l=r[s].split(","),a=l.length;a--;)n[l[a]]=n[s];return n},zn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(W(e))a=i[t]||(i[t]=[]),e.forEach(function(l,f){return a.push({t:f/(e.length-1)*100,v:l,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},de=function(t,e,i,r,n){return F(t)?t.call(e,i,r,n):U(t)&&~t.indexOf("random(")?le(t):t},ur=Ge+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",cr={};Z(ur+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return cr[o]=1});var I=function(o){Ti(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:se(r))||this;var l=a.vars,f=l.duration,u=l.delay,h=l.immediateRender,_=l.stagger,p=l.overwrite,g=l.keyframes,d=l.defaults,m=l.scrollTrigger,x=l.yoyoEase,b=r.parent||V,T=(W(i)||Si(i)?bt(i[0]):"length"in r)?[i]:ct(i),w,y,v,S,C,k,E,O;if(a._targets=T.length?Ke(T):re("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=p,g||_||we(f)||we(u)){if(r=a.vars,w=a.timeline=new H({data:"nested",defaults:d||{},targets:b&&b.data==="nested"?b.vars.targets:T}),w.kill(),w.parent=w._dp=xt(a),w._start=0,_||we(f)||we(u)){if(S=T.length,E=_&&Wi(_),_t(_))for(C in _)~ur.indexOf(C)&&(O||(O={}),O[C]=_[C]);for(y=0;y<S;y++)v=Ce(r,cr),v.stagger=0,x&&(v.yoyoEase=x),O&&Gt(v,O),k=T[y],v.duration=+de(f,xt(a),y,k,T),v.delay=(+de(u,xt(a),y,k,T)||0)-a._delay,!_&&S===1&&v.delay&&(a._delay=u=v.delay,a._start+=u,v.delay=0),w.to(k,v,E?E(y,k,T):0),w._ease=P.none;w.duration()?f=u=0:a.timeline=0}else if(g){se(st(w.vars.defaults,{ease:"none"})),w._ease=Vt(g.ease||r.ease||"none");var D=0,N,j,Y;if(W(g))g.forEach(function($){return w.to(T,$,">")}),w.duration();else{v={};for(C in g)C==="ease"||C==="easeEach"||zn(C,g[C],v,g.easeEach);for(C in v)for(N=v[C].sort(function($,q){return $.t-q.t}),D=0,y=0;y<N.length;y++)j=N[y],Y={ease:j.e,duration:(j.t-(y?N[y-1].t:0))/100*f},Y[C]=j.v,w.to(T,Y,D),D+=Y.duration;w.duration()<f&&w.to({},{duration:f-w.duration()})}}f||a.duration(f=w.duration())}else a.timeline=0;return p===!0&&!Be&&(Pt=xt(a),V.killTweensOf(T),Pt=0),mt(b,xt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(h||!f&&!g&&a._start===R(b._time)&&Q(h)&&ln(xt(a))&&b.data!=="nested")&&(a._tTime=-z,a.render(Math.max(0,-u)||0)),m&&Ui(xt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,l=this._tDur,f=this._dur,u=r<0,h=r>l-z&&!u?l:r<z?0:r,_,p,g,d,m,x,b,T,w;if(!f)un(this,r,n,s);else if(h!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(_=h,T=this.timeline,this._repeat){if(d=f+this._rDelay,this._repeat<-1&&u)return this.totalTime(d*100+r,n,s);if(_=R(h%d),h===l?(g=this._repeat,_=f):(m=R(h/d),g=~~m,g&&g===m?(_=f,g--):_>f&&(_=f)),x=this._yoyo&&g&1,x&&(w=this._yEase,_=f-_),m=Kt(this._tTime,d),_===a&&!s&&this._initted&&g===m)return this._tTime=h,this;g!==m&&(T&&this._yEase&&ar(T,x),this.vars.repeatRefresh&&!x&&!this._lock&&_!==d&&this._initted&&(this._lock=s=1,this.render(R(d*g),!0).invalidate()._lock=0))}if(!this._initted){if(Yi(this,u?r:_,s,n,h))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(f!==this._dur)return this.render(r,n,s)}if(this._tTime=h,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(w||this._ease)(_/f),this._from&&(this.ratio=b=1-b),!a&&h&&!n&&!m&&(at(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(b,p.d),p=p._next;T&&T.render(r<0?r:T._dur*T._ease(_/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(u&&Qe(this,r,n,s),at(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!n&&this.parent&&at(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&Qe(this,r,!0,!0),(r||!f)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&St(this,1),!n&&!(u&&!a)&&(h||a||x)&&(at(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,l){ce||ot.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||oi(this,f),u=this._ease(f/this._dur),On(this,r,n,s,a,u,f,l)?this.resetTo(r,n,s,a,1):(De(this,0),this.parent||Li(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?fe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!X),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Pt&&Pt.vars.overwrite!==!0)._first||fe(this),this.parent&&s!==this.timeline.totalDuration()&&Ht(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=r?ct(r):a,f=this._ptLookup,u=this._pt,h,_,p,g,d,m,x;if((!n||n==="all")&&an(a,l))return n==="all"&&(this._pt=0),fe(this);for(h=this._op=this._op||[],n!=="all"&&(U(n)&&(d={},Z(n,function(b){return d[b]=1}),n=d),n=Dn(a,n)),x=a.length;x--;)if(~l.indexOf(a[x])){_=f[x],n==="all"?(h[x]=n,g=_,p={}):(p=h[x]=h[x]||{},g=n);for(d in g)m=_&&_[d],m&&((!("kill"in m.d)||m.d.kill(d)===!0)&&Ee(this,m,"_pt"),delete _[d]),p!=="all"&&(p[d]=1)}return this._initted&&!this._pt&&u&&fe(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return ae(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return ae(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return V.killTweensOf(r,n,s)},t}(he);st(I.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Z("staggerTo,staggerFrom,staggerFromTo",function(o){I[o]=function(){var t=new H,e=Je.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var li=function(t,e,i){return t[e]=i},hr=function(t,e,i){return t[e](i)},Mn=function(t,e,i,r){return t[e](r.fp,i)},Nn=function(t,e,i){return t.setAttribute(e,i)},fi=function(t,e){return F(t[e])?hr:Le(t[e])&&t.setAttribute?Nn:li},dr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},An=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},_r=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},ui=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Vn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},Rn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Ee(this,e,"_pt"):e.dep||(i=1),e=r;return!i},Bn=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},pr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},J=function(){function o(e,i,r,n,s,a,l,f,u){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||dr,this.d=l||this,this.set=f||li,this.pr=u||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=Bn,this.m=i,this.mt=n,this.tween=r},o}();Z(Ge+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(o){return Xe[o]=1}),rt.TweenMax=rt.TweenLite=I,rt.TimelineLite=rt.TimelineMax=H,V=new H({sortChildren:!1,defaults:Xt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),it.stringFilter=nr;var Bt=[],ze={},Fn=[],mr=0,Ln=0,ci=function(t){return(ze[t]||Fn).map(function(e){return e()})},hi=function(){var t=Date.now(),e=[];t-mr>2&&(ci("matchMediaInit"),Bt.forEach(function(i){var r=i.queries,n=i.conditions,s,a,l,f;for(a in r)s=pt.matchMedia(r[a]).matches,s&&(l=1),s!==n[a]&&(n[a]=s,f=1);f&&(i.revert(),l&&e.push(i))}),ci("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),mr=t,ci("matchMedia"))},gr=function(){function o(e,i){this.selector=i&&ti(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Ln++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){F(i)&&(n=r,r=i,i=F);var s=this,a=function(){var f=A,u=s.selector,h;return f&&f!==s&&f.data.push(s),n&&(s.selector=ti(n)),A=s,h=r.apply(s,arguments),F(h)&&s._r.push(h),A=f,s.selector=u,s.isReverted=!1,h};return s.last=a,i===F?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},t.ignore=function(i){var r=A;A=null,i(this),A=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof I&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?function(){for(var a=n.getTweens(),l=n.data.length,f;l--;)f=n.data[l],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(i)}),l=n.data.length;l--;)f=n.data[l],f instanceof H?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof I)&&f.revert&&f.revert(i);n._r.forEach(function(u){return u(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Bt.length;s--;)Bt[s].id===this.id&&Bt.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),In=function(){function o(e){this.contexts=[],this.scope=e,A&&A.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){_t(i)||(i={matches:i});var s=new gr(0,n||this.scope),a=s.conditions={},l,f,u;A&&!s.selector&&(s.selector=A.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(f in i)f==="all"?u=1:(l=pt.matchMedia(i[f]),l&&(Bt.indexOf(s)<0&&Bt.push(s),(a[f]=l.matches)&&(u=1),l.addListener?l.addListener(hi):l.addEventListener("change",hi)));return u&&r(s,function(h){return s.add(null,h)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o}(),Me={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return tr(r)})},timeline:function(t){return new H(t)},getTweensOf:function(t,e){return V.getTweensOf(t,e)},getProperty:function(t,e,i,r){U(t)&&(t=ct(t)[0]);var n=Nt(t||{}).get,s=i?Bi:Ri;return i==="native"&&(i=""),t&&(e?s((nt[e]&&nt[e].get||n)(t,e,i,r)):function(a,l,f){return s((nt[a]&&nt[a].get||n)(t,a,l,f))})},quickSetter:function(t,e,i){if(t=ct(t),t.length>1){var r=t.map(function(u){return tt.quickSetter(u,e,i)}),n=r.length;return function(u){for(var h=n;h--;)r[h](u)}}t=t[0]||{};var s=nt[e],a=Nt(t),l=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(u){var h=new s;Qt._pt=0,h.init(t,i?u+i:u,Qt,0,[t]),h.render(1,h),Qt._pt&&ui(1,Qt)}:a.set(t,l);return s?f:function(u){return f(t,l,i?u+i:u,a,1)}},quickTo:function(t,e,i){var r,n=tt.to(t,st((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(l,f,u){return n.resetTo(e,l,f,u)};return s.tween=n,s},isTweening:function(t){return V.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Vt(t.ease,Xt.ease)),Fi(Xt,t||{})},config:function(t){return Fi(it,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!nt[a]&&!rt[a]&&re(e+" effect requires "+a+" plugin.")}),We[e]=function(a,l,f){return i(ct(a),st(l||{},n),f)},s&&(H.prototype[e]=function(a,l,f){return this.add(We[e](a,_t(l)?l:(f=l)&&{},this),f)})},registerEase:function(t,e){P[t]=Vt(e)},parseEase:function(t,e){return arguments.length?Vt(t,e):P},getById:function(t){return V.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new H(t),r,n;for(i.smoothChildTiming=Q(t.smoothChildTiming),V.remove(i),i._dp=0,i._time=i._tTime=V._time,r=V._first;r;)n=r._next,(e||!(!r._dur&&r instanceof I&&r.vars.onComplete===r._targets[0]))&&mt(i,r,r._start-r._delay),r=n;return mt(V,i,0),i},context:function(t,e){return t?new gr(t,e):A},matchMedia:function(t){return new In(t)},matchMediaRefresh:function(){return Bt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||hi()},addEventListener:function(t,e){var i=ze[t]||(ze[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=ze[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:yn,wrapYoyo:xn,distribute:Wi,random:Ki,snap:Gi,normalize:gn,getUnit:G,clamp:dn,splitColor:er,toArray:ct,selector:ti,mapRange:Qi,pipe:pn,unitize:mn,interpolate:bn,shuffle:ji},install:Di,effects:We,ticker:ot,updateRoot:H.updateRoot,plugins:nt,globalTimeline:V,core:{PropTween:J,globals:zi,Tween:I,Timeline:H,Animation:he,getCache:Nt,_removeLinkedListItem:Ee,reverting:function(){return X},context:function(t){return t&&A&&(A.data.push(t),t._ctx=A),A},suppressOverwrites:function(t){return Be=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Me[o]=I[o]}),ot.add(H.updateRoot),Qt=Me.to({},{duration:0});var $n=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Un=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=$n(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},di=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var l,f;if(U(n)&&(l={},Z(n,function(u){return l[u]=1}),n=l),e){l={};for(f in n)l[f]=e(n[f]);n=l}Un(a,n)}}}},tt=Me.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,l;this.tween=i;for(s in e)l=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(l||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)X?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},di("roundProps",ei),di("modifiers"),di("snap",Gi))||Me;I.version=H.version=tt.version="3.14.2",Oi=1,Ie()&&Zt(),P.Power0,P.Power1,P.Power2,P.Power3,P.Power4,P.Linear,P.Quad,P.Cubic,P.Quart,P.Quint,P.Strong,P.Elastic,P.Back,P.SteppedEase,P.Bounce,P.Sine,P.Expo,P.Circ;/*!
|
|
9
9
|
* CSSPlugin 3.14.2
|
|
10
10
|
* https://gsap.com
|
|
11
11
|
*
|
|
12
12
|
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
13
13
|
* Subject to the terms at https://gsap.com/standard-license
|
|
14
14
|
* @author: Jack Doyle, jack@greensock.com
|
|
15
|
-
*/var yi,Ot,Jt,_r,Ft,xi,pr,Yn=function(){return typeof window<"u"},wt={},Lt=180/Math.PI,te=Math.PI/180,ee=Math.atan2,bi=1e8,mr=/([A-Z])/g,qn=/(left|right|width|margin|padding|x)/i,Xn=/[\s,\(]\S/,gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},jn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Wn=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Gn=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Kn=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},wi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},ki=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},Hn=function(t,e,r){return t.style[e]=r},Qn=function(t,e,r){return t.style.setProperty(e,r)},Zn=function(t,e,r){return t._gsap[e]=r},Jn=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},ts=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},es=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},B="transform",et=B+"Origin",rs=function a(t,e){var r=this,i=this.target,n=i.style,s=i._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=gt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return r.tfm[o]=kt(i,o)}):this.tfm[t]=s.x?s[t]:kt(i,t),t===et&&(this.tfm.zOrigin=s.zOrigin);else return gt.transform.split(",").forEach(function(o){return a.call(r,o,e)});if(this.props.indexOf(B)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(et,e,"")),t=B}(n||e)&&this.props.push(t,e,n[t])},Ti=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},is=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?r[t[n]]=t[n+2]:r.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(mr,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=pr(),(!n||!n.isStart)&&!r[B]&&(Ti(r),i.zOrigin&&r[et]&&(r[et]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},vi=function(t,e){var r={target:t,props:[],revert:is,save:rs};return t._gsap||tt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(i){return r.save(i)}),r},Si,yr=function(t,e){var r=Ot.createElementNS?Ot.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ot.createElement(t);return r&&r.style?r:Ot.createElement(t)},lt=function a(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(mr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&a(t,re(e)||e,1)||""},Ei="O,Moz,ms,Ms,Webkit".split(","),re=function(t,e,r){var i=e||Ft,n=i.style,s=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Ei[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Ei[s]:"")+t},xr=function(){Yn()&&window.document&&(yi=window,Ot=yi.document,Jt=Ot.documentElement,Ft=yr("div")||{style:{}},yr("div"),B=re(B),et=B+"Origin",Ft.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Si=!!re("perspective"),pr=tt.core.reverting,_r=1)},Ci=function(t){var e=t.ownerSVGElement,r=yr("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0),n;i.style.display="block",r.appendChild(i),Jt.appendChild(r);try{n=i.getBBox()}catch{}return r.removeChild(i),Jt.removeChild(r),n},Pi=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Oi=function(t){var e,r;try{e=t.getBBox()}catch{e=Ci(t),r=1}return e&&(e.width||e.height)||r||(e=Ci(t)),e&&!e.width&&!e.x&&!e.y?{x:+Pi(t,["x","cx","x1"])||0,y:+Pi(t,["y","cy","y1"])||0,width:0,height:0}:e},Di=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Oi(t))},Dt=function(t,e){if(e){var r=t.style,i;e in wt&&e!==et&&(e=B),r.removeProperty?(i=e.substr(0,2),(i==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(i==="--"?e:e.replace(mr,"-$1").toLowerCase())):r.removeAttribute(e)}},Mt=function(t,e,r,i,n,s){var o=new J(t._pt,e,r,0,1,s?ki:wi);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},Mi={deg:1,rad:1,turn:1},ns={grid:1,flex:1},Nt=function a(t,e,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",o=Ft.style,l=qn.test(e),f=t.tagName.toLowerCase()==="svg",u=(f?"client":"offset")+(l?"Width":"Height"),h=100,_=i==="px",p=i==="%",g,d,m,x;if(i===s||!n||Mi[i]||Mi[s])return n;if(s!=="px"&&!_&&(n=a(t,e,r,"px")),x=t.getCTM&&Di(t),(p||s==="%")&&(wt[e]||~e.indexOf("adius")))return g=x?t.getBBox()[l?"width":"height"]:t[u],L(p?n/g*h:n/100*g);if(o[l?"width":"height"]=h+(_?s:i),d=i!=="rem"&&~e.indexOf("adius")||i==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(d=(t.ownerSVGElement||{}).parentNode),(!d||d===Ot||!d.appendChild)&&(d=Ot.body),m=d._gsap,m&&p&&m.width&&l&&m.time===at.time&&!m.uncache)return L(n/m.width*h);if(p&&(e==="height"||e==="width")){var b=t.style[e];t.style[e]=h+i,g=t[u],b?t.style[e]=b:Dt(t,e)}else(p||s==="%")&&!ns[lt(d,"display")]&&(o.position=lt(t,"position")),d===t&&(o.position="static"),d.appendChild(Ft),g=Ft[u],d.removeChild(Ft),o.position="absolute";return l&&p&&(m=At(d),m.time=at.time,m.width=d[u]),L(_?g*n/h:g&&n?h/g*n:0)},kt=function(t,e,r,i){var n;return _r||xr(),e in gt&&e!=="transform"&&(e=gt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=pe(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ve(lt(t,et))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Ae[e]&&Ae[e](t,e,r)||lt(t,e)||Vr(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Nt(t,e,n,r)+r:n},ss=function(t,e,r,i){if(!r||r==="none"){var n=re(e,t,1),s=n&<(t,n,1);s&&s!==r?(e=n,r=s):e==="borderColor"&&(r=lt(t,"borderTopColor"))}var o=new J(this._pt,t.style,e,0,1,_i),l=0,f=0,u,h,_,p,g,d,m,x,b,T,w,y;if(o.b=r,o.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=lt(t,i.substring(4,i.indexOf(")")))),i==="auto"&&(d=t.style[e],t.style[e]=i,i=lt(t,e)||i,d?t.style[e]=d:Dt(t,e)),u=[r,i],ni(u),r=u[0],i=u[1],_=r.match(jt)||[],y=i.match(jt)||[],y.length){for(;h=jt.exec(i);)m=h[0],b=i.substring(l,h.index),g?g=(g+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(g=1),m!==(d=_[f++]||"")&&(p=parseFloat(d)||0,w=d.substr((p+"").length),m.charAt(1)==="="&&(m=Wt(p,m)+w),x=parseFloat(m),T=m.substr((x+"").length),l=jt.lastIndex-T.length,T||(T=T||rt.units[e]||w,l===i.length&&(i+=T,o.e+=T)),w!==T&&(p=Nt(t,e,d,T)||0),o._pt={_next:o._pt,p:b||f===1?b:",",s:p,c:x-p,m:g&&g<4||e==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=e==="display"&&i==="none"?ki:wi;return Pr.test(i)&&(o.e=0),this._pt=o,o},Ni={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},os=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(t=r,r=i,i=t),e[0]=Ni[r]||r,e[1]=Ni[i]||i,e.join(" ")},as=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,i=r.style,n=e.u,s=r._gsap,o,l,f;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),f=n.length;--f>-1;)o=n[f],wt[o]&&(l=1,o=o==="transformOrigin"?et:B),Dt(r,o);l&&(Dt(r,B),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",pe(r,1),s.uncache=1,Ti(i)))}},Ae={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var s=t._pt=new J(t._pt,e,r,0,0,as);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},_e=[1,0,0,1,0,0],Ai={},Vi=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},zi=function(t){var e=lt(t,B);return Vi(e)?_e:e.substr(7).match(Cr).map(L)},br=function(t,e){var r=t._gsap||At(t),i=t.style,n=zi(t),s,o,l,f;return r.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?_e:n):(n===_e&&!t.offsetParent&&t!==Jt&&!r.svg&&(l=i.display,i.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(f=1,o=t.nextElementSibling,Jt.appendChild(t)),n=zi(t),l?i.display=l:Dt(t,"display"),f&&(o?s.insertBefore(t,o):s?s.appendChild(t):Jt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},wr=function(t,e,r,i,n,s){var o=t._gsap,l=n||br(t,!0),f=o.xOrigin||0,u=o.yOrigin||0,h=o.xOffset||0,_=o.yOffset||0,p=l[0],g=l[1],d=l[2],m=l[3],x=l[4],b=l[5],T=e.split(" "),w=parseFloat(T[0])||0,y=parseFloat(T[1])||0,v,S,E,k;r?l!==_e&&(S=p*m-g*d)&&(E=w*(m/S)+y*(-d/S)+(d*b-m*x)/S,k=w*(-g/S)+y*(p/S)-(p*b-g*x)/S,w=E,y=k):(v=Oi(t),w=v.x+(~T[0].indexOf("%")?w/100*v.width:w),y=v.y+(~(T[1]||T[0]).indexOf("%")?y/100*v.height:y)),i||i!==!1&&o.smooth?(x=w-f,b=y-u,o.xOffset=h+(x*p+b*d)-x,o.yOffset=_+(x*g+b*m)-b):o.xOffset=o.yOffset=0,o.xOrigin=w,o.yOrigin=y,o.smooth=!!i,o.origin=e,o.originIsAbsolute=!!r,t.style[et]="0px 0px",s&&(Mt(s,o,"xOrigin",f,w),Mt(s,o,"yOrigin",u,y),Mt(s,o,"xOffset",h,o.xOffset),Mt(s,o,"yOffset",_,o.yOffset)),t.setAttribute("data-svg-origin",w+" "+y)},pe=function(t,e){var r=t._gsap||new li(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,s="px",o="deg",l=getComputedStyle(t),f=lt(t,et)||"0",u,h,_,p,g,d,m,x,b,T,w,y,v,S,E,k,C,O,D,A,j,Y,$,q,ht,ze,xe,be,Ut,$i,Tt,Yt;return u=h=_=d=m=x=b=T=w=0,p=g=1,r.svg=!!(t.getCTM&&Di(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[B]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[B]!=="none"?l[B]:"")),i.scale=i.rotate=i.translate="none"),S=br(t,r.svg),r.svg&&(r.uncache?(ht=t.getBBox(),f=r.xOrigin-ht.x+"px "+(r.yOrigin-ht.y)+"px",q=""):q=!e&&t.getAttribute("data-svg-origin"),wr(t,q||f,!!q||r.originIsAbsolute,r.smooth!==!1,S)),y=r.xOrigin||0,v=r.yOrigin||0,S!==_e&&(O=S[0],D=S[1],A=S[2],j=S[3],u=Y=S[4],h=$=S[5],S.length===6?(p=Math.sqrt(O*O+D*D),g=Math.sqrt(j*j+A*A),d=O||D?ee(D,O)*Lt:0,b=A||j?ee(A,j)*Lt+d:0,b&&(g*=Math.abs(Math.cos(b*te))),r.svg&&(u-=y-(y*O+v*A),h-=v-(y*D+v*j))):(Yt=S[6],$i=S[7],xe=S[8],be=S[9],Ut=S[10],Tt=S[11],u=S[12],h=S[13],_=S[14],E=ee(Yt,Ut),m=E*Lt,E&&(k=Math.cos(-E),C=Math.sin(-E),q=Y*k+xe*C,ht=$*k+be*C,ze=Yt*k+Ut*C,xe=Y*-C+xe*k,be=$*-C+be*k,Ut=Yt*-C+Ut*k,Tt=$i*-C+Tt*k,Y=q,$=ht,Yt=ze),E=ee(-A,Ut),x=E*Lt,E&&(k=Math.cos(-E),C=Math.sin(-E),q=O*k-xe*C,ht=D*k-be*C,ze=A*k-Ut*C,Tt=j*C+Tt*k,O=q,D=ht,A=ze),E=ee(D,O),d=E*Lt,E&&(k=Math.cos(E),C=Math.sin(E),q=O*k+D*C,ht=Y*k+$*C,D=D*k-O*C,$=$*k-Y*C,O=q,Y=ht),m&&Math.abs(m)+Math.abs(d)>359.9&&(m=d=0,x=180-x),p=L(Math.sqrt(O*O+D*D+A*A)),g=L(Math.sqrt($*$+Yt*Yt)),E=ee(Y,$),b=Math.abs(E)>2e-4?E*Lt:0,w=Tt?1/(Tt<0?-Tt:Tt):0),r.svg&&(q=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Vi(lt(t,B)),q&&t.setAttribute("transform",q))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(p*=-1,b+=d<=0?180:-180,d+=d<=0?180:-180):(g*=-1,b+=b<=0?180:-180)),e=e||r.uncache,r.x=u-((r.xPercent=u&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-u)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=h-((r.yPercent=h&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=_+s,r.scaleX=L(p),r.scaleY=L(g),r.rotation=L(d)+o,r.rotationX=L(m)+o,r.rotationY=L(x)+o,r.skewX=b+o,r.skewY=T+o,r.transformPerspective=w+s,(r.zOrigin=parseFloat(f.split(" ")[2])||!e&&r.zOrigin||0)&&(i[et]=Ve(f)),r.xOffset=r.yOffset=0,r.force3D=rt.force3D,r.renderTransform=r.svg?fs:Si?Ri:ls,r.uncache=0,r},Ve=function(t){return(t=t.split(" "))[0]+" "+t[1]},kr=function(t,e,r){var i=G(e);return L(parseFloat(e)+parseFloat(Nt(t,"x",r+"px",i)))+i},ls=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ri(t,e)},It="0deg",me="0px",$t=") ",Ri=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,l=r.z,f=r.rotation,u=r.rotationY,h=r.rotationX,_=r.skewX,p=r.skewY,g=r.scaleX,d=r.scaleY,m=r.transformPerspective,x=r.force3D,b=r.target,T=r.zOrigin,w="",y=x==="auto"&&t&&t!==1||x===!0;if(T&&(h!==It||u!==It)){var v=parseFloat(u)*te,S=Math.sin(v),E=Math.cos(v),k;v=parseFloat(h)*te,k=Math.cos(v),s=kr(b,s,S*k*-T),o=kr(b,o,-Math.sin(v)*-T),l=kr(b,l,E*k*-T+T)}m!==me&&(w+="perspective("+m+$t),(i||n)&&(w+="translate("+i+"%, "+n+"%) "),(y||s!==me||o!==me||l!==me)&&(w+=l!==me||y?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+$t),f!==It&&(w+="rotate("+f+$t),u!==It&&(w+="rotateY("+u+$t),h!==It&&(w+="rotateX("+h+$t),(_!==It||p!==It)&&(w+="skew("+_+", "+p+$t),(g!==1||d!==1)&&(w+="scale("+g+", "+d+$t),b.style[B]=w||"translate(0, 0)"},fs=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,l=r.rotation,f=r.skewX,u=r.skewY,h=r.scaleX,_=r.scaleY,p=r.target,g=r.xOrigin,d=r.yOrigin,m=r.xOffset,x=r.yOffset,b=r.forceCSS,T=parseFloat(s),w=parseFloat(o),y,v,S,E,k;l=parseFloat(l),f=parseFloat(f),u=parseFloat(u),u&&(u=parseFloat(u),f+=u,l+=u),l||f?(l*=te,f*=te,y=Math.cos(l)*h,v=Math.sin(l)*h,S=Math.sin(l-f)*-_,E=Math.cos(l-f)*_,f&&(u*=te,k=Math.tan(f-u),k=Math.sqrt(1+k*k),S*=k,E*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),y*=k,v*=k)),y=L(y),v=L(v),S=L(S),E=L(E)):(y=h,E=_,v=S=0),(T&&!~(s+"").indexOf("px")||w&&!~(o+"").indexOf("px"))&&(T=Nt(p,"x",s,"px"),w=Nt(p,"y",o,"px")),(g||d||m||x)&&(T=L(T+g-(g*y+d*S)+m),w=L(w+d-(g*v+d*E)+x)),(i||n)&&(k=p.getBBox(),T=L(T+i/100*k.width),w=L(w+n/100*k.height)),k="matrix("+y+","+v+","+S+","+E+","+T+","+w+")",p.setAttribute("transform",k),b&&(p.style[B]=k)},us=function(t,e,r,i,n){var s=360,o=U(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?Lt:1),f=l-i,u=i+f+"deg",h,_;return o&&(h=n.split("_")[1],h==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),h==="cw"&&f<0?f=(f+s*bi)%s-~~(f/s)*s:h==="ccw"&&f>0&&(f=(f-s*bi)%s-~~(f/s)*s)),t._pt=_=new J(t._pt,e,r,i,f,jn),_.e=u,_.u="deg",t._props.push(r),_},Bi=function(t,e){for(var r in e)t[r]=e[r];return t},cs=function(t,e,r){var i=Bi({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,o,l,f,u,h,_,p,g;i.svg?(f=r.getAttribute("transform"),r.setAttribute("transform",""),s[B]=e,o=pe(r,1),Dt(r,B),r.setAttribute("transform",f)):(f=getComputedStyle(r)[B],s[B]=e,o=pe(r,1),s[B]=f);for(l in wt)f=i[l],u=o[l],f!==u&&n.indexOf(l)<0&&(p=G(f),g=G(u),h=p!==g?Nt(r,l,f,g):parseFloat(f),_=parseFloat(u),t._pt=new J(t._pt,o,l,h,_-h,gr),t._pt.u=g||0,t._props.push(l));Bi(o,i)};Z("padding,margin,Width,Radius",function(a,t){var e="Top",r="Right",i="Bottom",n="Left",s=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(o){return t<2?a+o:"border"+o+a});Ae[t>1?"border"+a:a]=function(o,l,f,u,h){var _,p;if(arguments.length<4)return _=s.map(function(g){return kt(o,g,f)}),p=_.join(" "),p.split(_[0]).length===5?_[0]:p;_=(u+"").split(" "),p={},s.forEach(function(g,d){return p[g]=_[d]=_[d]||_[(d-1)/2|0]}),o.init(l,p,h)}});var Fi={name:"css",register:xr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s=this._props,o=t.style,l=r.vars.startAt,f,u,h,_,p,g,d,m,x,b,T,w,y,v,S,E,k;_r||xr(),this.styles=this.styles||vi(t),E=this.styles.props,this.tween=r;for(d in e)if(d!=="autoRound"&&(u=e[d],!(nt[d]&&fi(d,e,r,i,t,n)))){if(p=typeof u,g=Ae[d],p==="function"&&(u=u.call(r,i,t,n),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=le(u)),g)g(this,t,d,u,r)&&(S=1);else if(d.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(d)+"").trim(),u+="",Ct.lastIndex=0,Ct.test(f)||(m=G(f),x=G(u),x?m!==x&&(f=Nt(t,d,f,x)+x):m&&(u+=m)),this.add(o,"setProperty",f,u,i,n,0,0,d),s.push(d),E.push(d,0,o[d]);else if(p!=="undefined"){if(l&&d in l?(f=typeof l[d]=="function"?l[d].call(r,i,t,n):l[d],U(f)&&~f.indexOf("random(")&&(f=le(f)),G(f+"")||f==="auto"||(f+=rt.units[d]||G(kt(t,d))||""),(f+"").charAt(1)==="="&&(f=kt(t,d))):f=kt(t,d),_=parseFloat(f),b=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),b&&(u=u.substr(2)),h=parseFloat(u),d in gt&&(d==="autoAlpha"&&(_===1&&kt(t,"visibility")==="hidden"&&h&&(_=0),E.push("visibility",0,o.visibility),Mt(this,o,"visibility",_?"inherit":"hidden",h?"inherit":"hidden",!h)),d!=="scale"&&d!=="transform"&&(d=gt[d],~d.indexOf(",")&&(d=d.split(",")[0]))),T=d in wt,T){if(this.styles.save(d),k=u,p==="string"&&u.substring(0,6)==="var(--"){if(u=lt(t,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var C=t.style.perspective;t.style.perspective=u,u=lt(t,"perspective"),C?t.style.perspective=C:Dt(t,"perspective")}h=parseFloat(u)}if(w||(y=t._gsap,y.renderTransform&&!e.parseTransform||pe(t,e.parseTransform),v=e.smoothOrigin!==!1&&y.smooth,w=this._pt=new J(this._pt,o,B,0,1,y.renderTransform,y,0,-1),w.dep=1),d==="scale")this._pt=new J(this._pt,y,"scaleY",y.scaleY,(b?Wt(y.scaleY,b+h):h)-y.scaleY||0,gr),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){E.push(et,0,o[et]),u=os(u),y.svg?wr(t,u,0,v,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==y.zOrigin&&Mt(this,y,"zOrigin",y.zOrigin,x),Mt(this,o,d,Ve(f),Ve(u)));continue}else if(d==="svgOrigin"){wr(t,u,1,v,0,this);continue}else if(d in Ai){us(this,y,d,_,b?Wt(_,b+u):u);continue}else if(d==="smoothOrigin"){Mt(this,y,"smooth",y.smooth,u);continue}else if(d==="force3D"){y[d]=u;continue}else if(d==="transform"){cs(this,u,t);continue}}else d in o||(d=re(d)||d);if(T||(h||h===0)&&(_||_===0)&&!Xn.test(u)&&d in o)m=(f+"").substr((_+"").length),h||(h=0),x=G(u)||(d in rt.units?rt.units[d]:m),m!==x&&(_=Nt(t,d,f,x)),this._pt=new J(this._pt,T?y:o,d,_,(b?Wt(_,b+h):h)-_,!T&&(x==="px"||d==="zIndex")&&e.autoRound!==!1?Kn:gr),this._pt.u=x||0,T&&k!==u?(this._pt.b=f,this._pt.e=k,this._pt.r=Gn):m!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=Wn);else if(d in o)ss.call(this,t,d,f,b?b+u:u);else if(d in t)this.add(t,d,f||t[d],b?b+u:u,i,n);else if(d!=="parseTransform"){qe(d,u);continue}T||(d in o?E.push(d,0,o[d]):typeof t[d]=="function"?E.push(d,2,t[d]()):E.push(d,1,f||t[d])),s.push(d)}}S&&pi(this)},render:function(t,e){if(e.tween._time||!pr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:kt,aliases:gt,getSetter:function(t,e,r){var i=gt[e];return i&&i.indexOf(",")<0&&(e=i),e in wt&&e!==et&&(t._gsap.x||kt(t,"x"))?r&&xi===r?e==="scale"?Jn:Zn:(xi=r||{})&&(e==="scale"?ts:es):t.style&&!Le(t.style[e])?Hn:~e.indexOf("-")?Qn:fr(t,e)},core:{_removeProperty:Dt,_getMatrix:br}};tt.utils.checkPrefix=re,tt.core.getStyleSaver=vi,function(a,t,e,r){var i=Z(a+","+t+","+e,function(n){wt[n]=1});Z(t,function(n){rt.units[n]="deg",Ai[n]=1}),gt[i[13]]=a+","+t,Z(r,function(n){var s=n.split(":");gt[s[1]]=i[s[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"),Z("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){rt.units[a]="px"}),tt.registerPlugin(Fi);var yt=tt.registerPlugin(Fi)||tt;yt.core.Tween;const hs={class:"h-screen w-screen relative flex flex-col bg-[#030303] text-white overflow-hidden"},ds={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},_s={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},ps={key:0,class:"fixed right-0 top-0 h-full w-full md:w-[450px] bg-[#0a0a0a]/95 backdrop-blur-2xl border-l border-white/10 z-[100] p-6 shadow-2xl overflow-auto text-left"},ms={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},gs={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},ys={key:1,class:"fixed bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"},xs={key:0,class:"pointer-events-auto text-left"},bs={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},ws={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},ks={key:0,class:"h-px w-8 bg-white/20"},Ts={key:1,class:"flex-1"},vs={key:2,class:"pointer-events-auto flex gap-3"},Ss=["disabled"],Es=["disabled"],Li=c.defineComponent({__name:"LuminaDeck",setup(a){const{slide:t,index:e,total:r,next:i,prev:n,options:s}=qi(),o=c.inject(dt),l=c.computed(()=>o.hasNext()),f=c.computed(()=>o.hasPrev()),u=c.computed(()=>{var w,y;return(y=(w=o.state.deck)==null?void 0:w.meta)==null?void 0:y.title}),h=c.computed(()=>o.state.options.ui),_=c.computed(()=>o.state.options.navigation);Xi();const p=c.ref({showJson:!1}),g=c.computed(()=>s.debug),d=c.computed(()=>!t.value||!t.value.type?null:`layout-${t.value.type}`),m=c.computed(()=>{var w,y,v,S,E,k,C,O;return{backgroundColor:((y=(w=t.value)==null?void 0:w.meta)==null?void 0:y.orbColor)||"#3b82f6",width:"60vw",height:"60vw",top:((E=(S=(v=t.value)==null?void 0:v.meta)==null?void 0:S.orbPos)==null?void 0:E.top)||"-20%",left:((O=(C=(k=t.value)==null?void 0:k.meta)==null?void 0:C.orbPos)==null?void 0:O.left)||"-10%"}}),x=w=>{qt.emit("action",w)},b=(w,y)=>{const v=w;v.style.opacity="1",y()},T=(w,y)=>{var C,O,D;const{options:v}=o.state;if(((C=v.animation)==null?void 0:C.enabled)===!1){y();return}const S=((O=v.animation)==null?void 0:O.durationOut)||.5,E=((D=v.animation)==null?void 0:D.type)||"cascade",k=yt.timeline({onComplete:y});E==="fade"?k.to(w,{opacity:0,duration:S}):E==="zoom"?k.to(w,{opacity:0,scale:1.1,duration:S}):k.to(w,{opacity:0,y:-20,duration:S,ease:"power2.in"})};return(w,y)=>{var v,S,E,k;return c.openBlock(),c.createElementBlock("div",hs,[c.createElementVNode("div",ds,[c.createElementVNode("div",{class:"ambient-orb",style:c.normalizeStyle(m.value)},null,4),y[3]||(y[3]=c.createElementVNode("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),g.value?(c.openBlock(),c.createElementBlock("div",_s,[c.createElementVNode("button",{onClick:y[0]||(y[0]=C=>p.value.showJson=!p.value.showJson),class:"w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",title:"JSON"},[...y[4]||(y[4]=[c.createElementVNode("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"slide-fade"},{default:c.withCtx(()=>[p.value.showJson?(c.openBlock(),c.createElementBlock("div",ps,[c.createElementVNode("pre",ms,c.toDisplayString(JSON.stringify(c.unref(t),null,2)),1)])):c.createCommentVNode("",!0)]),_:1}),c.createElementVNode("main",gs,[c.createVNode(c.Transition,{css:!1,onLeave:T,onEnter:b,mode:"out-in"},{default:c.withCtx(()=>[d.value?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(d.value),{key:c.unref(e),data:c.unref(t),onAction:x,class:"min-h-full w-full"},null,40,["data"])):c.createCommentVNode("",!0)]),_:1})]),(v=h.value)!=null&&v.visible?(c.openBlock(),c.createElementBlock("div",ys,[(S=h.value)!=null&&S.showSlideCount?(c.openBlock(),c.createElementBlock("div",xs,[c.createElementVNode("h2",bs,c.toDisplayString(u.value),1),c.createElementVNode("div",ws,[c.createElementVNode("span",null,c.toDisplayString((c.unref(e)+1).toString().padStart(2,"0")),1),(E=h.value)!=null&&E.showProgressBar?(c.openBlock(),c.createElementBlock("div",ks)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(c.unref(r).toString().padStart(2,"0")),1)])])):(c.openBlock(),c.createElementBlock("div",Ts)),(k=h.value)!=null&&k.showControls?(c.openBlock(),c.createElementBlock("div",vs,[c.createElementVNode("button",{onClick:y[1]||(y[1]=(...C)=>c.unref(n)&&c.unref(n)(...C)),class:c.normalizeClass(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!f.value||!_.value?"opacity-30 cursor-not-allowed":""]),disabled:!f.value||!_.value},[...y[5]||(y[5]=[c.createElementVNode("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ss),c.createElementVNode("button",{onClick:y[2]||(y[2]=(...C)=>c.unref(i)&&c.unref(i)(...C)),class:c.normalizeClass(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95",!l.value||!_.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!_.value},[...y[6]||(y[6]=[c.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Es)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])}}});function Cs(a,t){const e=c.inject(dt);let r=null;const i=()=>{if(!a.value||!e)return;r==null||r.revert();const{enabled:n,type:s,durationIn:o,stagger:l,ease:f}=e.state.options.animation||{};if(n===!1){yt.set(a.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}r=yt.context(()=>{const u=a.value,h=s==="fade",_=s==="slide",p=s==="zoom",g=h?0:_?80:40,d=p?.8:s==="cascade"?.95:1;yt.set(".reveal-up",{y:g,opacity:0}),yt.set(".reveal-zoom",{scale:d,opacity:0}),yt.set(".reveal-content > *",{y:h?0:30,opacity:0}),yt.set(".reveal-card",{y:h?0:50,opacity:0,scale:d}),yt.set(".reveal-img",{scale:1.1,opacity:0});const m=yt.timeline({defaults:{ease:f||"power3.out",duration:o||.8},onComplete:t});u.querySelector(".reveal-img")&&m.to(".reveal-img",{scale:1,opacity:1,duration:(o||1)*1.2,ease:"expo.out"},0);const x=o||.8,b=l||.1;u.querySelectorAll(".reveal-card").length&&m.to(".reveal-card",{y:0,opacity:1,scale:1,duration:x,stagger:b,ease:_?"expo.out":"back.out(1.2)"},.2);const T=u.querySelectorAll(".reveal-content > *");T.length&&m.to(T,{y:0,opacity:1,duration:x,stagger:b/2},.3),u.querySelectorAll(".reveal-up").length&&m.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:b},.2),u.querySelector(".reveal-zoom")&&m.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},a)};return c.onMounted(()=>{c.nextTick(()=>{i()})}),c.onUnmounted(()=>{r==null||r.revert()}),{animateIn:i}}const Ps={class:"absolute inset-0 z-0 pointer-events-none"},Os={class:"relative z-10 w-full h-full"},ge=c.defineComponent({__name:"BaseSlide",props:{data:{},customClass:{}},setup(a){const t=c.ref(null);return Cs(t),(e,r)=>(c.openBlock(),c.createElementBlock("div",{ref_key:"container",ref:t,class:c.normalizeClass(["w-full min-h-full relative text-white",a.customClass])},[c.createElementVNode("div",Ps,[c.renderSlot(e.$slots,"background")]),c.createElementVNode("div",Os,[c.renderSlot(e.$slots,"default")])],2))}}),Ds={class:"min-h-screen flex flex-col justify-center items-center text-center p-8 relative"},Ms={class:"reveal-zoom max-w-5xl z-10"},Ns={key:0,class:"inline-block px-4 py-1 rounded-full border border-white/10 bg-white/5 text-sm font-medium tracking-widest uppercase mb-10 text-[var(--lumina-primary)]",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},As={class:"font-heading font-bold leading-[0.9] tracking-tight mb-8 text-transparent bg-clip-text bg-gradient-to-b from-white to-gray-500",style:{"font-size":"clamp(3rem, 10vw, 8rem)"}},Vs={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},zs=c.defineComponent({__name:"LayoutStatement",props:{data:{}},setup(a){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:a.data},{default:c.withCtx(()=>[c.createElementVNode("div",Ds,[c.createElementVNode("div",Ms,[a.data.tag?(c.openBlock(),c.createElementBlock("span",Ns,c.toDisplayString(a.data.tag),1)):c.createCommentVNode("",!0),c.createElementVNode("h1",As,c.toDisplayString(a.data.title),1),a.data.subtitle?(c.openBlock(),c.createElementBlock("p",Vs,c.toDisplayString(a.data.subtitle),1)):c.createCommentVNode("",!0)])])]),_:1},8,["data"]))}}),Rs={class:"min-h-screen w-full flex flex-col lg:block relative"},Bs=["src"],Fs={class:"reveal-content max-w-xl"},Ls={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Is={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},$s={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Us={key:0,class:"pt-6 border-t border-white/10"},Ys=c.defineComponent({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(a){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:a.data,customClass:"bg-[var(--lumina-bg)]"},{default:c.withCtx(()=>[c.createElementVNode("div",Rs,[c.createElementVNode("div",{class:c.normalizeClass(["relative h-[40vh] lg:h-full lg:w-1/2 lg:fixed lg:top-0 overflow-hidden z-0",a.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[e[1]||(e[1]=c.createElementVNode("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),c.createElementVNode("img",{src:a.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,Bs)],2),c.createElementVNode("div",{class:c.normalizeClass(["relative z-10 w-full lg:w-1/2 min-h-[60vh] lg:min-h-screen flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]",a.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]"])},[c.createElementVNode("div",Fs,[c.createElementVNode("span",Ls,c.toDisplayString(a.data.tag),1),c.createElementVNode("h1",Is,c.toDisplayString(a.data.title),1),c.createElementVNode("div",$s,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.data.paragraphs,(r,i)=>(c.openBlock(),c.createElementBlock("p",{key:i},c.toDisplayString(r),1))),128))]),a.data.cta?(c.openBlock(),c.createElementBlock("div",Us,[c.createElementVNode("button",{onClick:e[0]||(e[0]=r=>t.$emit("action",{type:"cta",label:a.data.cta})),class:"px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"},[c.createTextVNode(c.toDisplayString(a.data.cta)+" ",1),e[2]||(e[2]=c.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):c.createCommentVNode("",!0)])],2)])]),_:1},8,["data"]))}}),qs={class:"min-h-screen w-full flex flex-col justify-center p-8 lg:p-24"},Xs={class:"mb-16 reveal-up text-center lg:text-left max-w-4xl"},js={class:"text-5xl font-heading font-bold mb-4"},Ws={class:"text-xl",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Gs={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 w-full"},Ks={class:"w-12 h-12 rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Hs={class:"text-2xl font-bold mb-3 text-white"},Qs={class:"leading-relaxed",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Zs=c.defineComponent({__name:"LayoutFeatures",props:{data:{}},setup(a){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:a.data},{default:c.withCtx(()=>[c.createElementVNode("div",qs,[c.createElementVNode("div",Xs,[c.createElementVNode("h2",js,c.toDisplayString(a.data.title),1),c.createElementVNode("p",Ws,c.toDisplayString(a.data.description),1)]),c.createElementVNode("div",Gs,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.data.features,(r,i)=>(c.openBlock(),c.createElementBlock("div",{key:i,class:"glass-panel p-8 rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50"},[c.createElementVNode("div",Ks,[c.createElementVNode("i",{class:c.normalizeClass(["fa-solid",r.icon])},null,2)]),c.createElementVNode("h3",Hs,c.toDisplayString(r.title),1),c.createElementVNode("p",Qs,c.toDisplayString(r.desc),1)]))),128))])])]),_:1},8,["data"]))}}),Js={class:"min-h-screen w-full flex flex-col justify-center p-8 lg:p-24"},to={class:"text-center mb-16 reveal-up"},eo={class:"text-5xl font-heading font-bold mb-4"},ro={key:0,class:"text-xl opacity-60"},io={class:"relative max-w-4xl mx-auto w-full"},no={class:"space-y-12"},so={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},oo={class:"text-2xl font-bold"},ao={class:"text-lg opacity-60 leading-relaxed"},lo=c.defineComponent({__name:"LayoutTimeline",props:{data:{}},setup(a){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:a.data},{default:c.withCtx(()=>[c.createElementVNode("div",Js,[c.createElementVNode("div",to,[c.createElementVNode("h2",eo,c.toDisplayString(a.data.title),1),a.data.subtitle?(c.openBlock(),c.createElementBlock("p",ro,c.toDisplayString(a.data.subtitle),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",io,[e[1]||(e[1]=c.createElementVNode("div",{class:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top"},null,-1)),c.createElementVNode("div",no,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.data.timeline,(r,i)=>(c.openBlock(),c.createElementBlock("div",{key:i,class:c.normalizeClass(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",i%2===0?"":"md:flex-row-reverse"])},[c.createElementVNode("div",{class:c.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",i%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[c.createElementVNode("span",so,c.toDisplayString(r.date),1),c.createElementVNode("h3",oo,c.toDisplayString(r.title),1)],2),e[0]||(e[0]=c.createElementVNode("div",{class:"absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10"},null,-1)),c.createElementVNode("div",{class:c.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0",i%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[c.createElementVNode("p",ao,c.toDisplayString(r.description),1)],2)],2))),128))])])])]),_:1},8,["data"]))}}),fo={class:"min-h-screen w-full flex flex-col justify-center p-8 lg:p-12"},uo={class:"mb-20 text-center reveal-up"},co={class:"text-5xl font-heading font-bold mb-4"},ho={key:0,class:"text-xl opacity-60 max-w-2xl mx-auto"},_o={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full max-w-7xl mx-auto relative"},po={class:"w-20 h-20 rounded-2xl bg-[#111] border border-white/10 flex items-center justify-center text-2xl font-bold mb-6 relative z-10 group-hover:scale-110 transition duration-300 shadow-2xl mx-auto lg:mx-0"},mo={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},go={class:"text-xl font-bold mb-3"},yo={class:"text-sm leading-relaxed opacity-60"},xo=c.defineComponent({__name:"LayoutSteps",props:{data:{}},setup(a){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:a.data},{default:c.withCtx(()=>[c.createElementVNode("div",fo,[c.createElementVNode("div",uo,[c.createElementVNode("h2",co,c.toDisplayString(a.data.title),1),a.data.subtitle?(c.openBlock(),c.createElementBlock("p",ho,c.toDisplayString(a.data.subtitle),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",_o,[e[0]||(e[0]=c.createElementVNode("div",{class:"hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left"},null,-1)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.data.steps,(r,i)=>(c.openBlock(),c.createElementBlock("div",{key:i,class:"relative glass-panel p-8 rounded-2xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500"},[c.createElementVNode("div",po,[c.createElementVNode("span",mo,c.toDisplayString(r.step),1)]),c.createElementVNode("h3",go,c.toDisplayString(r.title),1),c.createElementVNode("p",yo,c.toDisplayString(r.description),1)]))),128))])])]),_:1},8,["data"]))}}),ye={default:{colors:{primary:"#3b82f6",background:"#030303",text:"#ffffff",muted:"#9ca3af"},fonts:{heading:"Inter, sans-serif",body:"Inter, sans-serif",mono:"monospace"}},ocean:{colors:{primary:"#06b6d4",background:"#0f172a",text:"#f0f9ff",muted:"#94a3b8"},fonts:{heading:"Outfit, sans-serif",body:"Inter, sans-serif"}},midnight:{colors:{primary:"#6366f1",background:"#000000",text:"#e0e7ff",muted:"#6b7280"}},forest:{colors:{primary:"#10b981",background:"#022c22",text:"#ecfdf5",muted:"#6ee7b7"}},cyber:{colors:{primary:"#f472b6",background:"#18181b",text:"#ffffff",muted:"#a1a1aa"},fonts:{heading:"Orbitron, sans-serif",body:"Rajdhani, sans-serif"}},latte:{colors:{primary:"#d97706",background:"#fffbeb",text:"#451a03",muted:"#92400e"},fonts:{heading:"Playfair Display, serif",body:"Lato, sans-serif"}}},Ii="lumina-theme-styles";class bo{static inject(t){let e;typeof t=="string"?e=ye[t]||ye.default:(e={...ye.default,...t},t.colors&&(e.colors={...ye.default.colors,...t.colors}),t.fonts&&(e.fonts={...ye.default.fonts,...t.fonts}));let r=document.getElementById(Ii);r||(r=document.createElement("style"),r.id=Ii,document.head.appendChild(r));const i=this.generateVars(e);r.innerHTML=`:root { ${i} }`}static generateVars(t){const e=[];if(t.colors){for(const[r,i]of Object.entries(t.colors))if(i){e.push(`--lumina-${r}: ${i};`);const n=this.hexToRgb(i);n&&e.push(`--lumina-${r}-rgb: ${n.r}, ${n.g}, ${n.b};`)}}if(t.fonts)for(const[r,i]of Object.entries(t.fonts))i&&e.push(`--lumina-font-${r}: ${i};`);return e.join(" ")}static hexToRgb(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}}class wo{constructor(t,e={}){Re(this,"app");Re(this,"store");this.selector=t,this.store=Yi(e),e.theme&&bo.inject(e.theme),this.app=c.createApp(Li),this.app.provide(dt,this.store),this.app.component("layout-statement",zs),this.app.component("layout-half",Ys),this.app.component("layout-features",Zs),this.app.component("layout-timeline",lo),this.app.component("layout-steps",xo),this.app.mount(this.selector)}load(t){this.store.loadDeck(t),qt.emit("ready",t)}on(t,e){qt.on(t,e)}off(t,e){qt.off(t,e)}destroy(){this.app&&(this.app.unmount(),this.app=null),qt.clear()}}K.Lumina=wo,K.LuminaDeck=Li,K.bus=qt,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});
|
|
15
|
+
*/var yr,Ot,Jt,_i,Ft,xr,pi,Yn=function(){return typeof window<"u"},wt={},Lt=180/Math.PI,te=Math.PI/180,ee=Math.atan2,br=1e8,mi=/([A-Z])/g,qn=/(left|right|width|margin|padding|x)/i,Xn=/[\s,\(]\S/,gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},jn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Wn=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Gn=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Kn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},wr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},kr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},Hn=function(t,e,i){return t.style[e]=i},Qn=function(t,e,i){return t.style.setProperty(e,i)},Zn=function(t,e,i){return t._gsap[e]=i},Jn=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},ts=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},es=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},B="transform",et=B+"Origin",is=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=gt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=kt(r,a)}):this.tfm[t]=s.x?s[t]:kt(r,t),t===et&&(this.tfm.zOrigin=s.zOrigin);else return gt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(B)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(et,e,"")),t=B}(n||e)&&this.props.push(t,e,n[t])},Tr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},rs=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(mi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=pi(),(!n||!n.isStart)&&!i[B]&&(Tr(i),r.zOrigin&&i[et]&&(i[et]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},vr=function(t,e){var i={target:t,props:[],revert:rs,save:is};return t._gsap||tt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Sr,yi=function(t,e){var i=Ot.createElementNS?Ot.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ot.createElement(t);return i&&i.style?i:Ot.createElement(t)},lt=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(mi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,ie(e)||e,1)||""},Cr="O,Moz,ms,Ms,Webkit".split(","),ie=function(t,e,i){var r=e||Ft,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Cr[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Cr[s]:"")+t},xi=function(){Yn()&&window.document&&(yr=window,Ot=yr.document,Jt=Ot.documentElement,Ft=yi("div")||{style:{}},yi("div"),B=ie(B),et=B+"Origin",Ft.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sr=!!ie("perspective"),pi=tt.core.reverting,_i=1)},Er=function(t){var e=t.ownerSVGElement,i=yi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),Jt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),Jt.removeChild(i),n},Pr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Or=function(t){var e,i;try{e=t.getBBox()}catch{e=Er(t),i=1}return e&&(e.width||e.height)||i||(e=Er(t)),e&&!e.width&&!e.x&&!e.y?{x:+Pr(t,["x","cx","x1"])||0,y:+Pr(t,["y","cy","y1"])||0,width:0,height:0}:e},Dr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Or(t))},Dt=function(t,e){if(e){var i=t.style,r;e in wt&&e!==et&&(e=B),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(mi,"-$1").toLowerCase())):i.removeAttribute(e)}},zt=function(t,e,i,r,n,s){var a=new J(t._pt,e,i,0,1,s?kr:wr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},zr={deg:1,rad:1,turn:1},ns={grid:1,flex:1},Mt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=Ft.style,l=qn.test(e),f=t.tagName.toLowerCase()==="svg",u=(f?"client":"offset")+(l?"Width":"Height"),h=100,_=r==="px",p=r==="%",g,d,m,x;if(r===s||!n||zr[r]||zr[s])return n;if(s!=="px"&&!_&&(n=o(t,e,i,"px")),x=t.getCTM&&Dr(t),(p||s==="%")&&(wt[e]||~e.indexOf("adius")))return g=x?t.getBBox()[l?"width":"height"]:t[u],L(p?n/g*h:n/100*g);if(a[l?"width":"height"]=h+(_?s:r),d=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(d=(t.ownerSVGElement||{}).parentNode),(!d||d===Ot||!d.appendChild)&&(d=Ot.body),m=d._gsap,m&&p&&m.width&&l&&m.time===ot.time&&!m.uncache)return L(n/m.width*h);if(p&&(e==="height"||e==="width")){var b=t.style[e];t.style[e]=h+r,g=t[u],b?t.style[e]=b:Dt(t,e)}else(p||s==="%")&&!ns[lt(d,"display")]&&(a.position=lt(t,"position")),d===t&&(a.position="static"),d.appendChild(Ft),g=Ft[u],d.removeChild(Ft),a.position="absolute";return l&&p&&(m=Nt(d),m.time=ot.time,m.width=d[u]),L(_?g*n/h:g&&n?h/g*n:0)},kt=function(t,e,i,r){var n;return _i||xi(),e in gt&&e!=="transform"&&(e=gt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=pe(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ae(lt(t,et))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Ne[e]&&Ne[e](t,e,i)||lt(t,e)||Ai(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Mt(t,e,n,i)+i:n},ss=function(t,e,i,r){if(!i||i==="none"){var n=ie(e,t,1),s=n&<(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=lt(t,"borderTopColor"))}var a=new J(this._pt,t.style,e,0,1,_r),l=0,f=0,u,h,_,p,g,d,m,x,b,T,w,y;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=lt(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(d=t.style[e],t.style[e]=r,r=lt(t,e)||r,d?t.style[e]=d:Dt(t,e)),u=[i,r],nr(u),i=u[0],r=u[1],_=i.match(jt)||[],y=r.match(jt)||[],y.length){for(;h=jt.exec(r);)m=h[0],b=r.substring(l,h.index),g?g=(g+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(g=1),m!==(d=_[f++]||"")&&(p=parseFloat(d)||0,w=d.substr((p+"").length),m.charAt(1)==="="&&(m=Wt(p,m)+w),x=parseFloat(m),T=m.substr((x+"").length),l=jt.lastIndex-T.length,T||(T=T||it.units[e]||w,l===r.length&&(r+=T,a.e+=T)),w!==T&&(p=Mt(t,e,d,T)||0),a._pt={_next:a._pt,p:b||f===1?b:",",s:p,c:x-p,m:g&&g<4||e==="zIndex"?Math.round:0});a.c=l<r.length?r.substring(l,r.length):""}else a.r=e==="display"&&r==="none"?kr:wr;return Pi.test(r)&&(a.e=0),this._pt=a,a},Mr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},as=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Mr[i]||i,e[1]=Mr[r]||r,e.join(" ")},os=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,l,f;if(n==="all"||n===!0)r.cssText="",l=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],wt[a]&&(l=1,a=a==="transformOrigin"?et:B),Dt(i,a);l&&(Dt(i,B),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",pe(i,1),s.uncache=1,Tr(r)))}},Ne={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new J(t._pt,e,i,0,0,os);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},_e=[1,0,0,1,0,0],Nr={},Ar=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Vr=function(t){var e=lt(t,B);return Ar(e)?_e:e.substr(7).match(Ei).map(L)},bi=function(t,e){var i=t._gsap||Nt(t),r=t.style,n=Vr(t),s,a,l,f;return i.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?_e:n):(n===_e&&!t.offsetParent&&t!==Jt&&!i.svg&&(l=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(f=1,a=t.nextElementSibling,Jt.appendChild(t)),n=Vr(t),l?r.display=l:Dt(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):Jt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},wi=function(t,e,i,r,n,s){var a=t._gsap,l=n||bi(t,!0),f=a.xOrigin||0,u=a.yOrigin||0,h=a.xOffset||0,_=a.yOffset||0,p=l[0],g=l[1],d=l[2],m=l[3],x=l[4],b=l[5],T=e.split(" "),w=parseFloat(T[0])||0,y=parseFloat(T[1])||0,v,S,C,k;i?l!==_e&&(S=p*m-g*d)&&(C=w*(m/S)+y*(-d/S)+(d*b-m*x)/S,k=w*(-g/S)+y*(p/S)-(p*b-g*x)/S,w=C,y=k):(v=Or(t),w=v.x+(~T[0].indexOf("%")?w/100*v.width:w),y=v.y+(~(T[1]||T[0]).indexOf("%")?y/100*v.height:y)),r||r!==!1&&a.smooth?(x=w-f,b=y-u,a.xOffset=h+(x*p+b*d)-x,a.yOffset=_+(x*g+b*m)-b):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=y,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[et]="0px 0px",s&&(zt(s,a,"xOrigin",f,w),zt(s,a,"yOrigin",u,y),zt(s,a,"xOffset",h,a.xOffset),zt(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+y)},pe=function(t,e){var i=t._gsap||new lr(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",l=getComputedStyle(t),f=lt(t,et)||"0",u,h,_,p,g,d,m,x,b,T,w,y,v,S,C,k,E,O,D,N,j,Y,$,q,ht,Ve,xe,be,Ut,$r,Tt,Yt;return u=h=_=d=m=x=b=T=w=0,p=g=1,i.svg=!!(t.getCTM&&Dr(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[B]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[B]!=="none"?l[B]:"")),r.scale=r.rotate=r.translate="none"),S=bi(t,i.svg),i.svg&&(i.uncache?(ht=t.getBBox(),f=i.xOrigin-ht.x+"px "+(i.yOrigin-ht.y)+"px",q=""):q=!e&&t.getAttribute("data-svg-origin"),wi(t,q||f,!!q||i.originIsAbsolute,i.smooth!==!1,S)),y=i.xOrigin||0,v=i.yOrigin||0,S!==_e&&(O=S[0],D=S[1],N=S[2],j=S[3],u=Y=S[4],h=$=S[5],S.length===6?(p=Math.sqrt(O*O+D*D),g=Math.sqrt(j*j+N*N),d=O||D?ee(D,O)*Lt:0,b=N||j?ee(N,j)*Lt+d:0,b&&(g*=Math.abs(Math.cos(b*te))),i.svg&&(u-=y-(y*O+v*N),h-=v-(y*D+v*j))):(Yt=S[6],$r=S[7],xe=S[8],be=S[9],Ut=S[10],Tt=S[11],u=S[12],h=S[13],_=S[14],C=ee(Yt,Ut),m=C*Lt,C&&(k=Math.cos(-C),E=Math.sin(-C),q=Y*k+xe*E,ht=$*k+be*E,Ve=Yt*k+Ut*E,xe=Y*-E+xe*k,be=$*-E+be*k,Ut=Yt*-E+Ut*k,Tt=$r*-E+Tt*k,Y=q,$=ht,Yt=Ve),C=ee(-N,Ut),x=C*Lt,C&&(k=Math.cos(-C),E=Math.sin(-C),q=O*k-xe*E,ht=D*k-be*E,Ve=N*k-Ut*E,Tt=j*E+Tt*k,O=q,D=ht,N=Ve),C=ee(D,O),d=C*Lt,C&&(k=Math.cos(C),E=Math.sin(C),q=O*k+D*E,ht=Y*k+$*E,D=D*k-O*E,$=$*k-Y*E,O=q,Y=ht),m&&Math.abs(m)+Math.abs(d)>359.9&&(m=d=0,x=180-x),p=L(Math.sqrt(O*O+D*D+N*N)),g=L(Math.sqrt($*$+Yt*Yt)),C=ee(Y,$),b=Math.abs(C)>2e-4?C*Lt:0,w=Tt?1/(Tt<0?-Tt:Tt):0),i.svg&&(q=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Ar(lt(t,B)),q&&t.setAttribute("transform",q))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(p*=-1,b+=d<=0?180:-180,d+=d<=0?180:-180):(g*=-1,b+=b<=0?180:-180)),e=e||i.uncache,i.x=u-((i.xPercent=u&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-u)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=h-((i.yPercent=h&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=_+s,i.scaleX=L(p),i.scaleY=L(g),i.rotation=L(d)+a,i.rotationX=L(m)+a,i.rotationY=L(x)+a,i.skewX=b+a,i.skewY=T+a,i.transformPerspective=w+s,(i.zOrigin=parseFloat(f.split(" ")[2])||!e&&i.zOrigin||0)&&(r[et]=Ae(f)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?fs:Sr?Rr:ls,i.uncache=0,i},Ae=function(t){return(t=t.split(" "))[0]+" "+t[1]},ki=function(t,e,i){var r=G(e);return L(parseFloat(e)+parseFloat(Mt(t,"x",i+"px",r)))+r},ls=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Rr(t,e)},It="0deg",me="0px",$t=") ",Rr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,l=i.z,f=i.rotation,u=i.rotationY,h=i.rotationX,_=i.skewX,p=i.skewY,g=i.scaleX,d=i.scaleY,m=i.transformPerspective,x=i.force3D,b=i.target,T=i.zOrigin,w="",y=x==="auto"&&t&&t!==1||x===!0;if(T&&(h!==It||u!==It)){var v=parseFloat(u)*te,S=Math.sin(v),C=Math.cos(v),k;v=parseFloat(h)*te,k=Math.cos(v),s=ki(b,s,S*k*-T),a=ki(b,a,-Math.sin(v)*-T),l=ki(b,l,C*k*-T+T)}m!==me&&(w+="perspective("+m+$t),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(y||s!==me||a!==me||l!==me)&&(w+=l!==me||y?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+$t),f!==It&&(w+="rotate("+f+$t),u!==It&&(w+="rotateY("+u+$t),h!==It&&(w+="rotateX("+h+$t),(_!==It||p!==It)&&(w+="skew("+_+", "+p+$t),(g!==1||d!==1)&&(w+="scale("+g+", "+d+$t),b.style[B]=w||"translate(0, 0)"},fs=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,l=i.rotation,f=i.skewX,u=i.skewY,h=i.scaleX,_=i.scaleY,p=i.target,g=i.xOrigin,d=i.yOrigin,m=i.xOffset,x=i.yOffset,b=i.forceCSS,T=parseFloat(s),w=parseFloat(a),y,v,S,C,k;l=parseFloat(l),f=parseFloat(f),u=parseFloat(u),u&&(u=parseFloat(u),f+=u,l+=u),l||f?(l*=te,f*=te,y=Math.cos(l)*h,v=Math.sin(l)*h,S=Math.sin(l-f)*-_,C=Math.cos(l-f)*_,f&&(u*=te,k=Math.tan(f-u),k=Math.sqrt(1+k*k),S*=k,C*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),y*=k,v*=k)),y=L(y),v=L(v),S=L(S),C=L(C)):(y=h,C=_,v=S=0),(T&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(T=Mt(p,"x",s,"px"),w=Mt(p,"y",a,"px")),(g||d||m||x)&&(T=L(T+g-(g*y+d*S)+m),w=L(w+d-(g*v+d*C)+x)),(r||n)&&(k=p.getBBox(),T=L(T+r/100*k.width),w=L(w+n/100*k.height)),k="matrix("+y+","+v+","+S+","+C+","+T+","+w+")",p.setAttribute("transform",k),b&&(p.style[B]=k)},us=function(t,e,i,r,n){var s=360,a=U(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?Lt:1),f=l-r,u=r+f+"deg",h,_;return a&&(h=n.split("_")[1],h==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),h==="cw"&&f<0?f=(f+s*br)%s-~~(f/s)*s:h==="ccw"&&f>0&&(f=(f-s*br)%s-~~(f/s)*s)),t._pt=_=new J(t._pt,e,i,r,f,jn),_.e=u,_.u="deg",t._props.push(i),_},Br=function(t,e){for(var i in e)t[i]=e[i];return t},cs=function(t,e,i){var r=Br({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,f,u,h,_,p,g;r.svg?(f=i.getAttribute("transform"),i.setAttribute("transform",""),s[B]=e,a=pe(i,1),Dt(i,B),i.setAttribute("transform",f)):(f=getComputedStyle(i)[B],s[B]=e,a=pe(i,1),s[B]=f);for(l in wt)f=r[l],u=a[l],f!==u&&n.indexOf(l)<0&&(p=G(f),g=G(u),h=p!==g?Mt(i,l,f,g):parseFloat(f),_=parseFloat(u),t._pt=new J(t._pt,a,l,h,_-h,gi),t._pt.u=g||0,t._props.push(l));Br(a,r)};Z("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?o+a:"border"+a+o});Ne[t>1?"border"+o:o]=function(a,l,f,u,h){var _,p;if(arguments.length<4)return _=s.map(function(g){return kt(a,g,f)}),p=_.join(" "),p.split(_[0]).length===5?_[0]:p;_=(u+"").split(" "),p={},s.forEach(function(g,d){return p[g]=_[d]=_[d]||_[(d-1)/2|0]}),a.init(l,p,h)}});var Fr={name:"css",register:xi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,l=i.vars.startAt,f,u,h,_,p,g,d,m,x,b,T,w,y,v,S,C,k;_i||xi(),this.styles=this.styles||vr(t),C=this.styles.props,this.tween=i;for(d in e)if(d!=="autoRound"&&(u=e[d],!(nt[d]&&fr(d,e,i,r,t,n)))){if(p=typeof u,g=Ne[d],p==="function"&&(u=u.call(i,r,t,n),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=le(u)),g)g(this,t,d,u,i)&&(S=1);else if(d.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(d)+"").trim(),u+="",Et.lastIndex=0,Et.test(f)||(m=G(f),x=G(u),x?m!==x&&(f=Mt(t,d,f,x)+x):m&&(u+=m)),this.add(a,"setProperty",f,u,r,n,0,0,d),s.push(d),C.push(d,0,a[d]);else if(p!=="undefined"){if(l&&d in l?(f=typeof l[d]=="function"?l[d].call(i,r,t,n):l[d],U(f)&&~f.indexOf("random(")&&(f=le(f)),G(f+"")||f==="auto"||(f+=it.units[d]||G(kt(t,d))||""),(f+"").charAt(1)==="="&&(f=kt(t,d))):f=kt(t,d),_=parseFloat(f),b=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),b&&(u=u.substr(2)),h=parseFloat(u),d in gt&&(d==="autoAlpha"&&(_===1&&kt(t,"visibility")==="hidden"&&h&&(_=0),C.push("visibility",0,a.visibility),zt(this,a,"visibility",_?"inherit":"hidden",h?"inherit":"hidden",!h)),d!=="scale"&&d!=="transform"&&(d=gt[d],~d.indexOf(",")&&(d=d.split(",")[0]))),T=d in wt,T){if(this.styles.save(d),k=u,p==="string"&&u.substring(0,6)==="var(--"){if(u=lt(t,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var E=t.style.perspective;t.style.perspective=u,u=lt(t,"perspective"),E?t.style.perspective=E:Dt(t,"perspective")}h=parseFloat(u)}if(w||(y=t._gsap,y.renderTransform&&!e.parseTransform||pe(t,e.parseTransform),v=e.smoothOrigin!==!1&&y.smooth,w=this._pt=new J(this._pt,a,B,0,1,y.renderTransform,y,0,-1),w.dep=1),d==="scale")this._pt=new J(this._pt,y,"scaleY",y.scaleY,(b?Wt(y.scaleY,b+h):h)-y.scaleY||0,gi),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){C.push(et,0,a[et]),u=as(u),y.svg?wi(t,u,0,v,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==y.zOrigin&&zt(this,y,"zOrigin",y.zOrigin,x),zt(this,a,d,Ae(f),Ae(u)));continue}else if(d==="svgOrigin"){wi(t,u,1,v,0,this);continue}else if(d in Nr){us(this,y,d,_,b?Wt(_,b+u):u);continue}else if(d==="smoothOrigin"){zt(this,y,"smooth",y.smooth,u);continue}else if(d==="force3D"){y[d]=u;continue}else if(d==="transform"){cs(this,u,t);continue}}else d in a||(d=ie(d)||d);if(T||(h||h===0)&&(_||_===0)&&!Xn.test(u)&&d in a)m=(f+"").substr((_+"").length),h||(h=0),x=G(u)||(d in it.units?it.units[d]:m),m!==x&&(_=Mt(t,d,f,x)),this._pt=new J(this._pt,T?y:a,d,_,(b?Wt(_,b+h):h)-_,!T&&(x==="px"||d==="zIndex")&&e.autoRound!==!1?Kn:gi),this._pt.u=x||0,T&&k!==u?(this._pt.b=f,this._pt.e=k,this._pt.r=Gn):m!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=Wn);else if(d in a)ss.call(this,t,d,f,b?b+u:u);else if(d in t)this.add(t,d,f||t[d],b?b+u:u,r,n);else if(d!=="parseTransform"){qe(d,u);continue}T||(d in a?C.push(d,0,a[d]):typeof t[d]=="function"?C.push(d,2,t[d]()):C.push(d,1,f||t[d])),s.push(d)}}S&&pr(this)},render:function(t,e){if(e.tween._time||!pi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:kt,aliases:gt,getSetter:function(t,e,i){var r=gt[e];return r&&r.indexOf(",")<0&&(e=r),e in wt&&e!==et&&(t._gsap.x||kt(t,"x"))?i&&xr===i?e==="scale"?Jn:Zn:(xr=i||{})&&(e==="scale"?ts:es):t.style&&!Le(t.style[e])?Hn:~e.indexOf("-")?Qn:fi(t,e)},core:{_removeProperty:Dt,_getMatrix:bi}};tt.utils.checkPrefix=ie,tt.core.getStyleSaver=vr,function(o,t,e,i){var r=Z(o+","+t+","+e,function(n){wt[n]=1});Z(t,function(n){it.units[n]="deg",Nr[n]=1}),gt[r[13]]=o+","+t,Z(i,function(n){var s=n.split(":");gt[s[1]]=r[s[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"),Z("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"}),tt.registerPlugin(Fr);var yt=tt.registerPlugin(Fr)||tt;yt.core.Tween;const hs={class:"h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden"},ds={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},_s={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},ps={key:0,class:"absolute right-0 top-0 h-full w-full md:w-[450px] bg-[#0a0a0a]/95 backdrop-blur-2xl border-l border-white/10 z-[100] p-6 shadow-2xl overflow-auto text-left"},ms={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},gs={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},ys={key:1,class:"absolute bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"},xs={key:0,class:"pointer-events-auto text-left"},bs={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},ws={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},ks={key:0,class:"h-px w-8 bg-white/20"},Ts={key:1,class:"flex-1"},vs={key:2,class:"pointer-events-auto flex gap-3"},Ss=["disabled"],Cs=["disabled"],Lr=c.defineComponent({__name:"LuminaDeck",setup(o){const{slide:t,index:e,total:i,next:r,prev:n,options:s}=qr(),a=c.inject(dt),l=c.computed(()=>a.hasNext()),f=c.computed(()=>a.hasPrev()),u=c.computed(()=>{var w,y;return(y=(w=a.state.deck)==null?void 0:w.meta)==null?void 0:y.title}),h=c.computed(()=>a.state.options.ui),_=c.computed(()=>a.state.options.navigation);Xr();const p=c.ref({showJson:!1}),g=c.computed(()=>s.debug),d=c.computed(()=>!t.value||!t.value.type?null:`layout-${t.value.type}`),m=c.computed(()=>{var w,y,v,S,C,k,E,O;return{backgroundColor:((y=(w=t.value)==null?void 0:w.meta)==null?void 0:y.orbColor)||"#3b82f6",width:"60vw",height:"60vw",top:((C=(S=(v=t.value)==null?void 0:v.meta)==null?void 0:S.orbPos)==null?void 0:C.top)||"-20%",left:((O=(E=(k=t.value)==null?void 0:k.meta)==null?void 0:E.orbPos)==null?void 0:O.left)||"-10%"}}),x=w=>{qt.emit("action",w)},b=(w,y)=>{const v=w;v.style.opacity="1",y()},T=(w,y)=>{var E,O,D;const{options:v}=a.state;if(((E=v.animation)==null?void 0:E.enabled)===!1){y();return}const S=((O=v.animation)==null?void 0:O.durationOut)||.5,C=((D=v.animation)==null?void 0:D.type)||"cascade",k=yt.timeline({onComplete:y});C==="fade"?k.to(w,{opacity:0,duration:S}):C==="zoom"?k.to(w,{opacity:0,scale:1.1,duration:S}):k.to(w,{opacity:0,y:-20,duration:S,ease:"power2.in"})};return(w,y)=>{var v,S,C,k;return c.openBlock(),c.createElementBlock("div",hs,[c.createElementVNode("div",ds,[c.createElementVNode("div",{class:"ambient-orb",style:c.normalizeStyle(m.value)},null,4),y[3]||(y[3]=c.createElementVNode("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),g.value?(c.openBlock(),c.createElementBlock("div",_s,[c.createElementVNode("button",{onClick:y[0]||(y[0]=E=>p.value.showJson=!p.value.showJson),class:"w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",title:"JSON"},[...y[4]||(y[4]=[c.createElementVNode("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"slide-fade"},{default:c.withCtx(()=>[p.value.showJson?(c.openBlock(),c.createElementBlock("div",ps,[c.createElementVNode("pre",ms,c.toDisplayString(JSON.stringify(c.unref(t),null,2)),1)])):c.createCommentVNode("",!0)]),_:1}),c.createElementVNode("main",gs,[c.createVNode(c.Transition,{css:!1,onLeave:T,onEnter:b,mode:"out-in"},{default:c.withCtx(()=>[d.value?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(d.value),{key:c.unref(e),data:c.unref(t),onAction:x,class:"min-h-full w-full"},null,40,["data"])):c.createCommentVNode("",!0)]),_:1})]),(v=h.value)!=null&&v.visible?(c.openBlock(),c.createElementBlock("div",ys,[(S=h.value)!=null&&S.showSlideCount?(c.openBlock(),c.createElementBlock("div",xs,[c.createElementVNode("h2",bs,c.toDisplayString(u.value),1),c.createElementVNode("div",ws,[c.createElementVNode("span",null,c.toDisplayString((c.unref(e)+1).toString().padStart(2,"0")),1),(C=h.value)!=null&&C.showProgressBar?(c.openBlock(),c.createElementBlock("div",ks)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(c.unref(i).toString().padStart(2,"0")),1)])])):(c.openBlock(),c.createElementBlock("div",Ts)),(k=h.value)!=null&&k.showControls?(c.openBlock(),c.createElementBlock("div",vs,[c.createElementVNode("button",{onClick:y[1]||(y[1]=(...E)=>c.unref(n)&&c.unref(n)(...E)),class:c.normalizeClass(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!f.value||!_.value?"opacity-30 cursor-not-allowed":""]),disabled:!f.value||!_.value},[...y[5]||(y[5]=[c.createElementVNode("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ss),c.createElementVNode("button",{onClick:y[2]||(y[2]=(...E)=>c.unref(r)&&c.unref(r)(...E)),class:c.normalizeClass(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95",!l.value||!_.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!_.value},[...y[6]||(y[6]=[c.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Cs)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])}}});function Es(o,t){const e=c.inject(dt);let i=null;const r=()=>{if(!o.value||!e)return;i==null||i.revert();const{enabled:n,type:s,durationIn:a,stagger:l,ease:f}=e.state.options.animation||{};if(n===!1){yt.set(o.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}i=yt.context(()=>{const u=o.value,h=s==="fade",_=s==="slide",p=s==="zoom",g=h?0:_?80:40,d=p?.8:s==="cascade"?.95:1;yt.set(".reveal-up",{y:g,opacity:0}),yt.set(".reveal-zoom",{scale:d,opacity:0}),yt.set(".reveal-content > *",{y:h?0:30,opacity:0}),yt.set(".reveal-card",{y:h?0:50,opacity:0,scale:d}),yt.set(".reveal-img",{scale:1.1,opacity:0});const m=yt.timeline({defaults:{ease:f||"power3.out",duration:a||.8},onComplete:t});u.querySelector(".reveal-img")&&m.to(".reveal-img",{scale:1,opacity:1,duration:(a||1)*1.2,ease:"expo.out"},0);const x=a||.8,b=l||.1;u.querySelectorAll(".reveal-card").length&&m.to(".reveal-card",{y:0,opacity:1,scale:1,duration:x,stagger:b,ease:_?"expo.out":"back.out(1.2)"},.2);const T=u.querySelectorAll(".reveal-content > *");T.length&&m.to(T,{y:0,opacity:1,duration:x,stagger:b/2},.3),u.querySelectorAll(".reveal-up").length&&m.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:b},.2),u.querySelector(".reveal-zoom")&&m.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},o)};return c.onMounted(()=>{c.nextTick(()=>{r()})}),c.onUnmounted(()=>{i==null||i.revert()}),{animateIn:r}}const Ps={class:"absolute inset-0 z-0 pointer-events-none"},Os={class:"relative z-10 w-full h-full"},ge=c.defineComponent({__name:"BaseSlide",props:{data:{},customClass:{}},setup(o){const t=c.ref(null);return Es(t),(e,i)=>(c.openBlock(),c.createElementBlock("div",{ref_key:"container",ref:t,class:c.normalizeClass(["w-full min-h-full relative text-white",o.customClass])},[c.createElementVNode("div",Ps,[c.renderSlot(e.$slots,"background")]),c.createElementVNode("div",Os,[c.renderSlot(e.$slots,"default")])],2))}}),Ds={class:"reveal-zoom max-w-5xl z-10"},zs={key:0,class:"inline-block px-4 py-1 rounded-full border border-white/10 bg-white/5 text-sm font-medium tracking-widest uppercase mb-10 text-[var(--lumina-primary)]",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Ms={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Ns=c.defineComponent({__name:"LayoutStatement",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["flex flex-col justify-center items-center text-center p-8 relative",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",Ds,[o.data.tag?(c.openBlock(),c.createElementBlock("span",zs,c.toDisplayString(o.data.tag),1)):c.createCommentVNode("",!0),c.createElementVNode("h1",{class:"font-heading font-bold leading-[0.9] tracking-tight mb-8 text-transparent bg-clip-text bg-gradient-to-b from-white to-gray-500",style:c.normalizeStyle(o.data.sizing==="container"?"font-size: 3.5rem;":"font-size: clamp(3rem, 10vw, 8rem);")},c.toDisplayString(o.data.title),5),o.data.subtitle?(c.openBlock(),c.createElementBlock("p",Ms,c.toDisplayString(o.data.subtitle),1)):c.createCommentVNode("",!0)])],2)]),_:1},8,["data"]))}}),As=["src"],Vs={class:"reveal-content max-w-xl"},Rs={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Bs={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},Fs={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Ls={key:0,class:"pt-6 border-t border-white/10"},Is=c.defineComponent({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data,customClass:"bg-[var(--lumina-bg)]"},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col lg:block relative",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",{class:c.normalizeClass(["relative h-[40vh] lg:h-full lg:w-1/2 lg:fixed lg:top-0 overflow-hidden z-0",o.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[e[1]||(e[1]=c.createElementVNode("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),c.createElementVNode("img",{src:o.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,As)],2),c.createElementVNode("div",{class:c.normalizeClass(["relative z-10 w-full lg:w-1/2 min-h-[60vh] flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]",o.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",o.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[c.createElementVNode("div",Vs,[c.createElementVNode("span",Rs,c.toDisplayString(o.data.tag),1),c.createElementVNode("h1",Bs,c.toDisplayString(o.data.title),1),c.createElementVNode("div",Fs,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.paragraphs,(i,r)=>(c.openBlock(),c.createElementBlock("p",{key:r},c.toDisplayString(i),1))),128))]),o.data.cta?(c.openBlock(),c.createElementBlock("div",Ls,[c.createElementVNode("button",{onClick:e[0]||(e[0]=i=>t.$emit("action",{type:"cta",label:o.data.cta})),class:"px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"},[c.createTextVNode(c.toDisplayString(o.data.cta)+" ",1),e[2]||(e[2]=c.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):c.createCommentVNode("",!0)])],2)],2)]),_:1},8,["data"]))}}),$s={class:"mb-16 reveal-up text-center lg:text-left max-w-4xl"},Us=c.defineComponent({__name:"LayoutFeatures",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-24",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",$s,[c.createElementVNode("h2",{class:c.normalizeClass(["font-heading font-bold mb-4",o.data.sizing==="container"?"text-3xl":"text-5xl"])},c.toDisplayString(o.data.title),3),c.createElementVNode("p",{class:c.normalizeClass([o.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},c.toDisplayString(o.data.description),3)]),c.createElementVNode("div",{class:c.normalizeClass(["grid w-full",o.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.features,(i,r)=>(c.openBlock(),c.createElementBlock("div",{key:r,class:c.normalizeClass(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",o.data.sizing==="container"?"p-6":"p-8"])},[c.createElementVNode("div",{class:c.normalizeClass(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",o.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[c.createElementVNode("i",{class:c.normalizeClass(["fa-solid",i.icon])},null,2)],2),c.createElementVNode("h3",{class:c.normalizeClass(["font-bold mb-3 text-white",o.data.sizing==="container"?"text-lg":"text-2xl"])},c.toDisplayString(i.title),3),c.createElementVNode("p",{class:c.normalizeClass(["leading-relaxed",[o.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},c.toDisplayString(i.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),Ys={class:"text-center mb-16 reveal-up"},qs={class:"text-5xl font-heading font-bold mb-4"},Xs={key:0,class:"text-xl opacity-60"},js={class:"relative max-w-4xl mx-auto w-full"},Ws={class:"space-y-12"},Gs={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},Ks={class:"text-2xl font-bold"},Hs={class:"text-lg opacity-60 leading-relaxed"},Qs=c.defineComponent({__name:"LayoutTimeline",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-24",o.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[c.createElementVNode("div",Ys,[c.createElementVNode("h2",qs,c.toDisplayString(o.data.title),1),o.data.subtitle?(c.openBlock(),c.createElementBlock("p",Xs,c.toDisplayString(o.data.subtitle),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",js,[e[1]||(e[1]=c.createElementVNode("div",{class:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top"},null,-1)),c.createElementVNode("div",Ws,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.timeline,(i,r)=>(c.openBlock(),c.createElementBlock("div",{key:r,class:c.normalizeClass(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",r%2===0?"":"md:flex-row-reverse"])},[c.createElementVNode("div",{class:c.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",r%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[c.createElementVNode("span",Gs,c.toDisplayString(i.date),1),c.createElementVNode("h3",Ks,c.toDisplayString(i.title),1)],2),e[0]||(e[0]=c.createElementVNode("div",{class:"absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10"},null,-1)),c.createElementVNode("div",{class:c.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0",r%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[c.createElementVNode("p",Hs,c.toDisplayString(i.description),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),Zs={class:"mb-20 text-center reveal-up"},Js={class:"text-5xl font-heading font-bold mb-4"},ta={key:0,class:"text-xl opacity-60 max-w-2xl mx-auto"},ea={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full max-w-7xl mx-auto relative"},ia={class:"w-20 h-20 rounded-2xl bg-[#111] border border-white/10 flex items-center justify-center text-2xl font-bold mb-6 relative z-10 group-hover:scale-110 transition duration-300 shadow-2xl mx-auto lg:mx-0"},ra={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},na={class:"text-xl font-bold mb-3"},sa={class:"text-sm leading-relaxed opacity-60"},aa=c.defineComponent({__name:"LayoutSteps",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-12",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",Zs,[c.createElementVNode("h2",Js,c.toDisplayString(o.data.title),1),o.data.subtitle?(c.openBlock(),c.createElementBlock("p",ta,c.toDisplayString(o.data.subtitle),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",ea,[e[0]||(e[0]=c.createElementVNode("div",{class:"hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left"},null,-1)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.steps,(i,r)=>(c.openBlock(),c.createElementBlock("div",{key:r,class:"relative glass-panel p-8 rounded-2xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500"},[c.createElementVNode("div",ia,[c.createElementVNode("span",ra,c.toDisplayString(i.step),1)]),c.createElementVNode("h3",na,c.toDisplayString(i.title),1),c.createElementVNode("p",sa,c.toDisplayString(i.description),1)]))),128))])],2)]),_:1},8,["data"]))}}),ye={default:{colors:{primary:"#3b82f6",background:"#030303",text:"#ffffff",muted:"#9ca3af"},fonts:{heading:"Inter, sans-serif",body:"Inter, sans-serif",mono:"monospace"}},ocean:{colors:{primary:"#06b6d4",background:"#0f172a",text:"#f0f9ff",muted:"#94a3b8"},fonts:{heading:"Outfit, sans-serif",body:"Inter, sans-serif"}},midnight:{colors:{primary:"#6366f1",background:"#000000",text:"#e0e7ff",muted:"#6b7280"}},forest:{colors:{primary:"#10b981",background:"#022c22",text:"#ecfdf5",muted:"#6ee7b7"}},cyber:{colors:{primary:"#f472b6",background:"#18181b",text:"#ffffff",muted:"#a1a1aa"},fonts:{heading:"Orbitron, sans-serif",body:"Rajdhani, sans-serif"}},latte:{colors:{primary:"#d97706",background:"#fffbeb",text:"#451a03",muted:"#92400e"},fonts:{heading:"Playfair Display, serif",body:"Lato, sans-serif"}}},Ir="lumina-theme-styles";class oa{static inject(t){let e;typeof t=="string"?e=ye[t]||ye.default:(e={...ye.default,...t},t.colors&&(e.colors={...ye.default.colors,...t.colors}),t.fonts&&(e.fonts={...ye.default.fonts,...t.fonts}));let i=document.getElementById(Ir);i||(i=document.createElement("style"),i.id=Ir,document.head.appendChild(i));const r=this.generateVars(e);i.innerHTML=`:root { ${r} }`}static generateVars(t){const e=[];if(t.colors){for(const[i,r]of Object.entries(t.colors))if(r){e.push(`--lumina-${i}: ${r};`);const n=this.hexToRgb(r);n&&e.push(`--lumina-${i}-rgb: ${n.r}, ${n.g}, ${n.b};`)}}if(t.fonts)for(const[i,r]of Object.entries(t.fonts))r&&e.push(`--lumina-font-${i}: ${r};`);return e.join(" ")}static hexToRgb(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}}class la{constructor(t,e={}){Re(this,"app");Re(this,"store");this.selector=t,this.store=Yr(e),e.theme&&oa.inject(e.theme),this.app=c.createApp(Lr),this.app.provide(dt,this.store),this.app.component("layout-statement",Ns),this.app.component("layout-half",Is),this.app.component("layout-features",Us),this.app.component("layout-timeline",Qs),this.app.component("layout-steps",aa),this.app.mount(this.selector)}load(t){this.store.loadDeck(t),qt.emit("ready",t)}on(t,e){qt.on(t,e)}off(t,e){qt.off(t,e)}destroy(){this.app&&(this.app.unmount(),this.app=null),qt.clear()}}K.Lumina=la,K.LuminaDeck=Lr,K.bus=qt,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});
|