PageSourceSearch

https://www.diffuze.fr/_next/static/chunks/feaba59c37d60e0c.js?dpl=dpl_9S6aky45VodxwKxYSuPnotCS16jU

js diffuze.fr collected 2026-10-08 14:57:07 UTC 233,613 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,882205,846932,t=>{"use strict";let e,i;var n,r=t.i(843476);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=(t,e,i)=>i>e?e:i<t?t:i,l={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},u={...l,transform:t=>a(0,1,t)},h={...l,default:1},c=t=>Math.round(1e5*t)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,p=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,f=(t,e)=>i=>!!("string"==typeof i&&p.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(d);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},g={...l,transform:t=>Math.round(a(0,255,t))},v={test:f("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+g.transform(t)+", "+g.transform(e)+", "+g.transform(i)+", "+c(u.transform(n))+")"},y={test:f("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:v.transform},_=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=_("deg"),w=_("%"),b=_("px"),T=_("vh"),S=_("vw"),P={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},M={test:f("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+w.transform(c(e))+", "+w.transform(c(i))+", "+c(u.transform(n))+")"},A={test:t=>v.test(t)||y.test(t)||M.test(t),parse:t=>v.test(t)?v.parse(t):M.test(t)?M.parse(t):y.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?v.transform(t):M.transform(t),getAnimatableNone:t=>{let e=A.parse(t);return e.alpha=0,A.transform(e)}},E=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,C="number",k="color",D=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function R(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(D,t=>(A.test(t)?(n.color.push(s),r.push(k),i.push(A.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(C),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function O(t){return R(t).values}function V(t){let{split:e,types:i}=R(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===C?r+=c(t[s]):e===k?r+=A.transform(t[s]):r+=t[s]}return r}}let F=t=>"number"==typeof t?0:A.test(t)?A.getAnimatableNone(t):t,L={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(d)?.length||0)+(t.match(E)?.length||0)>0},parse:O,createTransformer:V,getAnimatableNone:function(t){let e=O(t);return V(t)(e.map(F))}},I=new Set(["brightness","contrast","saturate","opacity"]);function B(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(d)||[];if(!n)return t;let r=i.replace(n,""),s=+!!I.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let j=/\b([a-z-]*)\(.*?\)/gu,z={...L,getAnimatableNone:t=>{let e=t.match(j);return e?e.map(B).join(" "):t}},N={...l,transform:Math.round},U={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,fontSize:b,backgroundPositionX:b,backgroundPositionY:b,rotate:
1x,rotateX:x,rotateY:x,rotateZ:x,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:x,skewX:x,skewY:x,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:u,originX:P,originY:P,originZ:b,zIndex:N,fillOpacity:u,strokeOpacity:u,numOctaves:N},Y={...U,color:A,backgroundColor:A,outlineColor:A,fill:A,stroke:A,borderColor:A,borderTopColor:A,borderRightColor:A,borderBottomColor:A,borderLeftColor:A,filter:z,WebkitFilter:z},X=t=>Y[t],W=()=>({translate:0,scale:1,origin:0,originPoint:0}),$=()=>({x:W(),y:W()}),H=()=>({min:0,max:0}),q=()=>({x:H(),y:H()}),G=t=>!!(t&&t.getVelocity),K=new Set(["width","height","top","left","right","bottom",...s]),Z=t=>e=>e.test(t),Q=[l,b,w,x,S,T,{test:t=>"auto"===t,parse:t=>t}],J=t=>Q.find(Z(t));var tt=t.i(247167);let te=()=>{},ti=()=>{};tt.default;let tn=t=>e=>"string"==typeof e&&e.startsWith(t),tr=tn("--"),ts=tn("var(--"),to=t=>!!ts(t)&&ta.test(t.split("/*")[0].trim()),ta=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tl(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,th=t=>180*t/Math.PI,tc=t=>tp(th(Math.atan2(t[1],t[0]))),td={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tc,rotateZ:tc,skewX:t=>th(Math.atan(t[1])),skewY:t=>th(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tp=t=>((t%=360)<0&&(t+=360),t),tf=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tf,scaleY:tm,scale:t=>(tf(t)+tm(t))/2,rotateX:t=>tp(th(Math.atan2(t[6],t[5]))),rotateY:t=>tp(th(Math.atan2(-t[2],t[0]))),rotateZ:tc,rotate:tc,skewX:t=>th(Math.atan(t[4])),skewY:t=>th(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tv(t){return+!!t.includes("scale")}function ty(t,e){let i,n;if(!t||"none"===t)return tv(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=tg,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=td,n=e}if(!n)return tv(e);let s=i[e],o=n[1].split(",").map(t_);return"function"==typeof s?s(o):o[s]}function t_(t){return parseFloat(t.trim())}let tx=t=>t===l||t===b,tw=new Set(["x","y","z"]),tb=s.filter(t=>!tw.has(t)),tT={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>ty(e,"x"),y:(t,{transform:e})=>ty(e,"y")};tT.translateX=tT.x,tT.translateY=tT.y;let tS=t=>t,tP={},tM=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tA(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tM.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,r){s=!0;return}r=!0,[i,n]=[n,i],i.forEach(u),e,l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:f}=o,m=()=>{let s=tP.useManualTiming?r.timestamp:performance.now();i=!1,tP.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),p.process(r),f.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(m))};return{schedule:tM.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(m)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<tM.length;e++)o[tM[e]].cancel(t)},state:r,steps:o}}let{schedule:tE,cancel:tC,state:tk,steps:tD}=tA("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tS,!0),tR=new Set,tO=!1,tV=!1,tF=!1;function tL(){if(tV){let t=Array.from(tR).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tb.forEach(i=>
1{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tV=!1,tO=!1,tR.forEach(t=>t.complete(tF)),tR.clear()}function tI(){tR.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tV=!0)})}class tB{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tR.add(this),tO||(tO=!0,tE.read(tI),tE.resolveKeyframes(tL))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tR.delete(this)}cancel(){"scheduled"===this.state&&(tR.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function tj(t,e){let i=X(t);return i!==z&&(i=L),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tz=new Set(["auto","none","0"]);class tN extends tB{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&to(n=n.trim())){let r=function t(e,i,n=1){ti(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=tu.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return to(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!K.has(i)||2!==t.length)return;let[n,r]=t,s=J(n),o=J(r);if(tl(n)!==tl(r)&&tT[i]){this.needsMeasurement=!0;return}if(s!==o)if(tx(s)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tT[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tz.has(e)&&R(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tj(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tT[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=tT[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}function tU(t,e){-1===t.indexOf(e)&&t.push(e)}function tY(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tX{constructor(){this.subscriptions=[]}add(t){return tU(this.subscriptions,t),()=>tY(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let{schedule:tW}=tA(queueMicrotask,!1);function t$(){e=void 0}let tH={now:()=>(void 0===e&&tH.set(tk.isProcessing||tP.useManualTiming?tk.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(t$)}},tq={current:void 0};class tG{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tH.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tH.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tX);let i=this.events[t].add(e);return"change"===t?()=>{i(),tE.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return tq.current&&tq.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tH.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tK(t,e){return new tG(t,e)}let tZ=[...Q,A,L],tQ={current:null},tJ={current:!1},t0="undefined"!=typeof window;function t1(){if(tJ.current=!0,t0)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tQ.current=t.matches;t.addEventListener("change",e),e()}else tQ.current=!1}let t2=new WeakMap;function t5(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function t3(t){return"string"==typeof t||Array.isArray(t)}let t8=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],t9=["initial",...t8];function t4(t){return t5(t.animate)||t9.some(e=>t3(t[e]))}function t6(t){return!!(t4(t)||t.variants)}function t7(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function et(t,e,i,n){if("function"==typeof e){let[r,s]=t7(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=t7(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let ee=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ei={};
1class en{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tB,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tH.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tE.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=t4(e),this.isVariantNode=t6(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&G(e)&&e.set(l[t])}}mount(t){this.current=t,t2.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tJ.current||t1(),this.shouldReduceMotion=tQ.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tC(this.notifyUpdate),tC(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=o.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tE.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ei){let e=ei[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):q()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ee.length;e++){let i=ee[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
1this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(G(r))t.addValue(n,r);else if(G(s))t.addValue(n,tK(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,tK(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tK(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!tZ.find(Z(n))&&L.test(e)&&(i=tj(t,e))}this.setBaseTarget(t,G(i)?i.get():i)}return G(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=et(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||G(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tX),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tW.render(this.render)}}class er extends en{constructor(){super(...arguments),this.KeyframeResolver=tN}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;G(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function es(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eo=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ea={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},el=s.length;function eu(t,e,i){let{style:n,vars:r,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if(tr(t)){r[t]=i;continue}{let e=eo(i,U[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",r=!0;for(let o=0;o<el;o++){let a=s[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eo(l,U[a]);if(!u){r=!1;let e=ea[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let eh={offset:"stroke-dashoffset",array:"stroke-dasharray"},ec={offset:"strokeDashoffset",array:"strokeDasharray"},ed=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ep(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,u,h){if(eu(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),ed))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?eh:ec;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(c,r,s,o,!1)}let ef=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),em=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eg(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}function ev(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ey={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!b.test(t))return t;else t=parseFloat(t);let i=ev(t,e.target.x),n=ev(t,e.target.y);return`${i}% ${n}%`}},e_=(t,e,i)=>t+(e-t)*i,ex={borderRadius:{...ey,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ey,borderTopRightRadius:ey,borderBottomLeftRadius:ey,borderBottomRightRadius:ey,boxSh
1adow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=L.parse(t);if(n.length>5)return t;let r=L.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=e_(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function ew(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ex[t]||"opacity"===t)}function eb(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(G(n[e])||r&&G(r[e])||ew(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function eT(t,e,i){let n=eb(t,e,i);for(let i in t)(G(t[i])||G(e[i]))&&(n[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eS extends er{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=X(e);return t&&t.default||0}return e=ef.has(e)?e:es(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eT(t,e,i)}build(t,e,i){ep(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eg(t,e,void 0,n),e.attrs)t.setAttribute(ef.has(i)?i:es(i),e.attrs[i])}mount(t){this.isSVGTag=em(t.tagName),super.mount(t)}}function eP({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eM(t){return void 0===t||1===t}function eA({scale:t,scaleX:e,scaleY:i}){return!eM(t)||!eM(e)||!eM(i)}function eE(t){return eA(t)||eC(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eC(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function ek(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eD(t,e=0,i=1,n,r){t.min=ek(t.min,e,i,n,r),t.max=ek(t.max,e,i,n,r)}function eR(t,{x:e,y:i}){eD(t.x,e.translate,e.scale,e.originPoint),eD(t.y,i.translate,i.scale,i.originPoint)}function eO(t,e){t.min=t.min+e,t.max=t.max+e}function eV(t,e,i,n,r=.5){let s=e_(t.min,t.max,r);eD(t,e,i,s,n)}function eF(t,e){eV(t.x,e.x,e.scaleX,e.scale,e.originX),eV(t.y,e.y,e.scaleY,e.scale,e.originY)}function eL(t,e){return eP(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class eI extends er{constructor(){super(...arguments),this.type="html",this.renderInstance=eg}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?tv(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ty(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eL(t,e)}build(t,e,i){eu(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eb(t,e,i)}}var eB=t.i(271645);let ej=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ez(t){if("string"!=typeof t||t.includes("-"));else if(ej.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let eN=(0,eB.createContext)({}),eU=(0,eB.createContext)({strict:!1}),eY=(0,eB.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),eX=(0,eB.createContext)({});function eW(t){return Array.isArray(t)?t.join(" "):t}let e$=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eH(t,e,i){for(let n in e)G(e[n])||ew(n,i)||(t[n]=e[n])}let eq=()=>({...e$(),attrs:{}}),eG=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function eK(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eG.has(t)}let eZ=t=>!eK(t);try{n=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof n&&(eZ=t=>t.startsWith("on")?!eK(t):n(t))}catch{}function eQ(t){return G(t)?t.get():t}let eJ=(0,eB.createContext)(null);function e0(t){let e=(0,eB.useRef)(null);return null===e.current&&(e.current=t()),e.current}let e1=t=>(e,i)=>{let n=(0,eB.useContext)(eX),r=(0,eB.useContext)(eJ),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e}
1,i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eQ(s[t]);let{initial:o,animate:a}=t,l=t4(t),u=t6(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!t5(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=et(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():e0(s)},e2=e1({scrapeMotionValuesFromProps:eb,createRenderState:e$}),e5=e1({scrapeMotionValuesFromProps:eT,createRenderState:eq}),e3="undefined"!=typeof window,e8={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},e9=!1;function e4(){return!function(){if(e9)return;let t={};for(let e in e8)t[e]={isEnabled:t=>e8[e].some(e=>!!t[e])};ei=t,e9=!0}(),ei}let e6=Symbol.for("motionComponentSymbol"),e7="data-"+es("framerAppearId"),it=(0,eB.createContext)({});function ie(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let ii=e3?eB.useLayoutEffect:eB.useEffect;function ir(t,{forwardMotionProps:e=!1,type:i}={},n,s){n&&function(t){let e=e4();for(let i in t)e[i]={...e[i],...t[i]};ei=e}(n);let o=i?"svg"===i:ez(t),a=o?e5:e2;function l(i,n){var l;let u,h,c,d={...(0,eB.useContext)(eY),...i,layoutId:function({layoutId:t}){let e=(0,eB.useContext)(eN).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:p}=d,f=function(t){let{initial:e,animate:i}=function(t,e){if(t4(t)){let{initial:e,animate:i}=t;return{initial:!1===e||t3(e)?e:void 0,animate:t3(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,eB.useContext)(eX));return(0,eB.useMemo)(()=>({initial:e,animate:i}),[eW(e),eW(i)])}(i),m=a(i,p);if(!p&&e3){(0,eB.useContext)(eU).strict;let e=function(t){let{drag:e,layout:i}=e4();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);u=e.MeasureLayout,f.visualElement=function(t,e,i,n,r,s){let{visualElement:o}=(0,eB.useContext)(eX),a=(0,eB.useContext)(eU),l=(0,eB.useContext)(eJ),u=(0,eB.useContext)(eY),h=u.reducedMotion,c=u.skipAnimations,d=(0,eB.useRef)(null),p=(0,eB.useRef)(!1);n=n||a.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:c,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let f=d.current,m=(0,eB.useContext)(it);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&ie(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(d.current,i,r,m);let g=(0,eB.useRef)(!1);(0,eB.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let v=i[e7],y=(0,eB.useRef)(!!v&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ii(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),(0,eB.useEffect)(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),f.enteringChildren=void 0)}),f}(t,m,d,s,e.ProjectionNode,o)}return(0,r.jsxs)(eX.Provider,{value:f,children:[u&&f.visualElement?(0,r.jsx)(u,{visualElement:f.visualElement,...d}
1):null,function(t,e,i,{latestValues:n},r,s=!1,o){let a=(o??ez(t)?function(t,e,i,n){let r=(0,eB.useMemo)(()=>{let i=eq();return ep(i,e,em(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eH(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},s=(i=t.style||{},eH(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,eB.useMemo)(()=>{let i=e$();return eu(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r})(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(eZ(r)||!0===i&&eK(r)||!e&&!eK(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),u=t!==eB.Fragment?{...l,...a,ref:i}:{},{children:h}=e,c=(0,eB.useMemo)(()=>G(h)?h.get():h,[h]);return(0,eB.createElement)(t,{...u,children:c})}(t,i,(l=f.visualElement,h=(0,eB.useRef)(n),(0,eB.useInsertionEffect)(()=>{h.current=n}),c=(0,eB.useRef)(null),(0,eB.useCallback)(t=>{t&&m.onMount?.(t),l&&(t?l.mount(t):l.unmount());let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(c.current=i)}else c.current?(c.current(),c.current=null):e(t);else e&&(e.current=t)},[l])),m,p,e,o)]})}l.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let u=(0,eB.forwardRef)(l);return u[e6]=t,u}class is{constructor(t){this.isMounted=!1,this.node=t}update(){}}function io(t,e,i){let n=t.getProps();return et(n,e,void 0!==i?i:n.custom,t)}function ia(t,e){return t?.[e]??t?.default??t}let il=t=>Array.isArray(t);function iu(t,e){let i=t.getValue("willChange");if(G(i)&&i.add)return i.add(e);if(!i&&tP.WillChange){let i=new tP.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let ih=t=>1e3*t,ic=(t,e)=>i=>e(t(i)),id=(...t)=>t.reduce(ic),ip={layout:0,mainThread:0,waapi:0};function im(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ig(t,e){return i=>i>0?e:t}let iv=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iy=[y,v,M];function i_(t){let e=iy.find(e=>e.test(t));if(te(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===M&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=im(a,n,t+1/3),s=im(a,n,t),o=im(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let ix=(t,e)=>{let i=i_(t),n=i_(e);if(!i||!n)return ig(t,e);let r={...i};return t=>(r.red=iv(i.red,n.red,t),r.green=iv(i.green,n.green,t),r.blue=iv(i.blue,n.blue,t),r.alpha=e_(i.alpha,n.alpha,t),v.transform(r))},iw=new Set(["none","hidden"]);function ib(t,e){return i=>e_(t,e,i)}function iT(t){return"number"==typeof t?ib:"string"==typeof t?to(t)?ig:A.test(t)?ix:iM:Array.isArray(t)?iS:"object"==typeof t?A.test(t)?ix:iP:ig}function iS(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iT(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iP(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iT(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iM=(t,e)=>{let i=L.createTransformer(e),n=R(t),r=R(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return te(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),ig(t,e);if(iw.has(t)&&!r.values.length||iw.has(e)&&!n.values.length)return iw.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return id(iS(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i)};function iA(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?e_(t,e,i):iT(t)(t,e)}let iE=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tE.update(e,t),stop:()=>tC(e),now:()=>tk.isProcessing?tk.timestamp:tH.now()}},iC=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function ik(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iD(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}let iR=.01,iO=2,iV=.005,iF=.5;function iL(t,e){return t*Math.sqrt(1-e*e)}let iI=["duration","bounce"],iB=["stiffness","damping","mass"];function ij(t,e){return e.some(e=>void 0!==t[e])}function iz(t=.3,e=.3){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:o},{stiffness:h,damping:c,mass:d,duration:p,velocity:f,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ij(t,iB)&&ij(t,iI))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*a(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let r,s;te(t<=ih(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=a(.05,1,o),t=a(.01,10,t/1e3),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/iL(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=iL(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=ih(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),g=f||0,v=c/(2*Math.sqrt(h*d)),y=l-o,_=Math.sqrt(h/d)/1e3,x=5>Math.abs(y);if(r||(r=x?iR:iO),s||(s=x?iV:iF),v<1){let t=iL(_,v);i=e=>l-Math.exp(-v*_*e)*((g+v*_*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===v)i=t=>l-Math.exp(-_*t)*(y+(g+_*y)*t);else{let t=_*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*_*e),n=Math.min(t*e,300);return l-i*((g+v*_*y)*Math.sinh(n)+t*y*Math.cosh(n))/t}}let w={calculatedDuration:m&&p||null,next:t=>{let e=i(t);if(m)u.done=t>=p;else{let n=0===t?g:0;v<1&&(n=0===t?ih(g):iD(i,t,e));let o=Math.abs(l-e)<=s;u.done=Math.abs(n)<=r&&o}return u.value=u.done?l:e,u},toString:()=>{let t=Math.min(ik(w),2e4),e=iC(e=>w.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return w}function iN({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],f={done:!1,value:p},m=i*e,g=p+m,v=void 0===o?g:o(g);v!==g&&(m=v-p);let y=t=>-m*Math.exp(-t/n),_=t=>v+y(t),x=t=>{let e=y(t),i=_(t);f.done=Math.abs(e)<=u,f.value=f.done?v:i},w=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=iz({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iD(_,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,x(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||x(t),f)}}}iz.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(ik(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}(t,100,iz);return t.ease=e.ease,t.duration=ih(e.duration),t.type="keyframes",t};let iU=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iY(t,e,i,n){return t===e&&i===n?tS:r=>0===r||1===r?r:iU(function(t,e,i,n,r){let s,o,a=0;do(s=iU(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(r,0,1,t,i),e,n)}let iX=iY(.42,0,1,1),iW=iY(0,0,.58,1),i$=iY(.42,0,.58,1),iH=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iq=t=>e=>1-t(1-e),iG=iY(.33,1.53,.69,.99),iK=iq(iG),iZ=iH(iK),iQ=t=>(t*=2)<1?.5*iK(t):.5*(2-Math.pow(2,-10*(t-1))),iJ=t=>1-Math.sin(Math.acos(t)),i0=iq(iJ),i1=iH(iJ),i2=t=>Array.isArray(t)&&"number"==typeof t[0],i5={linear:tS,easeIn:iX,easeInOut:i$,easeOut:iW,circIn:iJ,circInOut:i1,circOut:i0,backIn:iK,backInOut:iZ,backOut:iG,anticipate:iQ},i3=t=>{if(i2(t)){ti(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return iY(e,i,n,r)}return"string"==typeof t?(ti(void 0!==i5[t],`Invalid easing type '${t}'`,"invalid-easing-type"),i5[t]):t},i8=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function i9(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(ti(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let n=[],r=i||tP.mix||iA,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=id(Array.isArray(e)?e[i]||tS:e,s)),n.push(s)}return n}(e,n,r),u=l.length,h=i=>{if(o&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=i8(t[n],t[n+1],i);return l[n](r)};return i?e=>h(a(t[0],t[s-1],e)):h}function i4({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s,o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(i3):i3(n),a={done:!1,value:e[0]},l=i9((r=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=i8(0,e,n);t.push(e_(i,1,r))}}(s=[0],e.length-1),s),r.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||i$).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let i6=t=>null!==t;function i7(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(i6),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}let nt={decay:iN,inertia:iN,tween:i4,keyframes:i4,spring:iz};function ne(t){"string"==typeof t.type&&(t.type=nt[t.type])}class ni{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let nn=t=>t/100;class nr extends ni{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tH.now()&&this.tick(tH.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ip.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;
1ne(t);let{type:e=i4,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||i4;a!==i4&&"number"!=typeof o[0]&&(this.mixKeyframes=id(nn,iA(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=ik(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let _=this.currentTime,x=i;if(c){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/o)):"mirror"===d&&(x=s)),_=a(0,1,i)*o}let w=y?{done:!1,value:h[0]}:x.next(_);r&&(w.value=r(w.value));let{done:b}=w;y||null===l||(b=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return T&&f!==iN&&(w.value=i7(h,this.options,g,this.speed)),m&&m(w.value),T&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=ih(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tH.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iE,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tH.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ip.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function ns(t){let e;return()=>(void 0===e&&(e=t()),e)}let no=ns(()=>void 0!==window.ScrollTimeline),na={},nl=(i=ns(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>na.linearEasing??i()),nu=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,nh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:nu([0,.65,.55,1]),circOut:nu([.55,0,1,.45]),backIn:nu([.31,.01,.66,-.59]),backOut:nu([.33,1.53,.69,.99])};function nc(t){return"function"==typeof t&&"applyToOptions"in t}class nd extends ni{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,ti("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return nc(t)&&nl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?nl()?iC(e,i):"ease-out":i2(e)?nu(e):Array.isArray(e)?e.map(e=>t(e,i)||nh.easeOut):nh[e]}(a,r);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=i7(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ih(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&no())?(this.animation.timeline=t,tS):e(this)}}let np={anticipate:iQ,backInOut:iZ,circInOut:i1};class nf extends nd{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in np&&(t.ease=np[t.ease])}(t),ne(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new nr({...s,autoplay:!1}),l=Math.max(10,tH.now()-this.startTime),u=a(0,10,l-10);e.setWithVelocity(o.sample(Math.max(0,l-u)).value,o.sample(l).value,u),o.stop()}}let nm=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(L.test(t)||"0"===t)&&!t.startsWith("url("));function ng(t){t.duration=0,t.type="keyframes"}let nv=new Set(["opacity","clipPath","filter","transform"]),ny=ns(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class n_ extends ni{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tH.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tB;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=tH.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=nm(r,e),a=nm(s,e);return te(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||nc(i))&&n)}(t,r,s,o)&&((tP.instantAnimations||!a)&&u?.(i7(t,i,e)),t[0]=t[t.length-1],ng(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return ny()&&i&&nv.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(h),d=h.motionValue?.owner?.current,p=c?new nf({...h,element:d}):new nr(h);p.finished.then(()=>{this.notifyFinished()}).catch(tS),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tF=!0,tI(),tL(),tF=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nx={type:"spring",stiffness:500,damping:25,restSpeed:10},nw={type:"keyframes",duration:.8},nb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nT=t=>null!==t,nS=(t,e,i,n={},r,s)=>a=>{let l=ia(n,t)||{},u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=ih(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?nw:o.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}
1:nx:nb)(t,c)),c.duration&&(c.duration=ih(c.duration)),c.repeatDelay&&(c.repeatDelay=ih(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(ng(c),0===c.delay&&(d=!0)),(tP.instantAnimations||tP.skipAnimations||r?.shouldSkipAnimations)&&(d=!0,ng(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(nT),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(c.keyframes,l);if(void 0!==t)return void tE.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new nr(c):new n_(c)};function nP(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e,l=s?.reduceMotion;n&&(s=n);let u=[],h=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(h,e))continue;let o={delay:i,...ia(s||{},e)},c=n.get();if(void 0!==c&&!n.isAnimating&&!Array.isArray(r)&&r===c&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[e7];if(i){let t=window.MotionHandoffAnimation(i,e,tE);null!==t&&(o.startTime=t,d=!0)}}iu(t,e);let p=l??t.shouldReduceMotion;n.start(nS(e,n,r,p&&K.has(e)?{type:!1}:o,t,d));let f=n.animation;f&&u.push(f)}return o&&Promise.all(u).then(()=>{tE.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=io(t,e)||{};for(let e in r={...r,...i}){var s;let i=il(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tK(i))}}(t,o)})}),u}function nM(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function nA(t,e,i={}){let n=io(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(nP(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nA(l,e,{...o,delay:i+("function"==typeof n?0:n)+nM(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let nE=t9.length;function nC(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nk=[...t8].reverse(),nD=t8.length;function nR(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nO(){return{animate:nR(!0),whileInView:nR(),whileHover:nR(),whileTap:nR(),whileDrag:nR(),whileFocus:nR(),exit:nR()}}let nV=0;function nF(t){return[t("x"),t("y")]}let nL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nI=new Set(["INPUT","SELECT","TEXTAREA"]);function nB(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let nj={x:!1,y:!1};function nz(t){return t.max-t.min}function nN(t,e,i,n=.5){t.origin=n,t.originPoint=e_(e.min,e.max,t.origin),t.scale=nz(i)/nz(e),t.translate=e_(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nU(t,e,i,n){nN(t.x,e.x,i.x,n?n.originX:void 0),nN(t.y,e.y,i.y,n?n.originY:void 0)}function nY(t,e,i){t.min=i.min+e.min,t.max=t.min+nz(e)}function nX(t,e,i){t.min=e.min-i.min,t.max=t.min+nz(e)}function nW(t,e,i){nX(t.x,e.x,i.x),nX(t.y,e.y,i.y)}let n$=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function nH(t){return{point:{x:t.pageX,y:t.pageY}}}function nq(t,e,i,n){return nB(t,e,t=>n$(t)&&i(t,nH(t)),n)}let nG=({current:t})=>t?t.ownerDocument.defaultView:null,nK=(t,e)=>Math.abs(t-e),nZ=new Set(["auto","scroll"]);
1class nQ{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=n1(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(nK(t.x,e.x)**2+nK(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tk;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=nJ(e,this.transformPagePoint),tE.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=n1("pointercancel"===t.type?this.lastMoveEventInfo:nJ(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!n$(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const a=nJ(nH(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tk;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,n1(a,this.history)),this.removeListeners=id(nq(this.contextWindow,"pointermove",this.handlePointerMove),nq(this.contextWindow,"pointerup",this.handlePointerUp),nq(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(nZ.has(t.overflowX)||nZ.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tE.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tC(this.updatePoint)}}function nJ(t,e){return e?{point:e(t.point)}:t}function n0(t,e){return{x:t.x-e.x,y:t.y-e.y}}function n1({point:t},e){return{point:t,delta:n0(t,n2(e)),offset:n0(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=n2(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>ih(.1)));)i--;if(!n)return{x:0,y:0};let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function n2(t){return t[t.length-1]}function n5(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function n3(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function n8(t,e,i){return{min:n9(t,e),max:n9(t,i)}}function n9(t,e){return"number"==typeof t?t:t[e]||0}let n4=new WeakMap;class n6{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=q(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e?(this.stopAnimation(),this.snapToCursor(nH(t).point)):this.pauseAnimation()},s=(t,e)=>{this.stopAnimation();let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nj[t])return null;else return nj[t]=!0,()=>{nj[t]=!1};return nj.x||nj.y?null:(nj.x=nj.y=!0,()=>{nj.x=nj.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nF(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=nz(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tE.update(()=>r(t,e),!1,!0),iu(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tE.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>nF(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new nQ(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:nG(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tE.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!n7(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?e_(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?e_(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&ie(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:n5(t.x,i,r),y:n5(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:n8(t,"left","right"),y:n8(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nF(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!ie(e))return!1;let n=e.current;ti(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,i){let n=eL(t,i),{scroll:r}=e;return r&&(eO(n.x,r.offset.x),eO(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:n3(t.x,s.x),y:n3(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eP(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nF(o=>{if(!n7(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iu(this.visualElement,t),i.start(nS(t,i,0,e,this.visualElement,!1))}stopAnimation(){nF(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nF(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nF(e=>{let{drag:i}=this.getProps();if(!n7(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-e_(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!ie(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nF(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,o,l,u=e.get();n[t]=(i={min:u,max:u},r=this.constraints[t],s=.5,o=nz(i),(l=nz(r))>o?s=i8(r.min,r.max-o,i.min):o>l&&(s=i8(i.min,i.max-l,r.min)),a(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),nF(e=>{if(!n7(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(e_(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;n4.set(this.visualElement,this);let t=this.visualElement.current,e=nq(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}
1=this.getProps(),r=e.target,s=r!==t&&(nI.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(e)}),i=()=>{let{dragConstraints:t}=this.getProps();ie(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tE.read(i);let s=nB(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nF(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),r(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function n7(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rt=t=>(e,i)=>{t&&tE.update(()=>t(e,i),!1,!0)},re={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ri=eB;let rn=!1;class rr extends ri.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),rn&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),re.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),rn=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tE.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tW.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rn=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rs(t){let[e,i]=function(t=!0){let e=(0,eB.useContext)(eJ);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,eB.useId)();(0,eB.useEffect)(()=>{if(t)return r(s)},[t]);let o=(0,eB.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}(),n=(0,ri.useContext)(eN);return(0,r.jsx)(rr,{...t,layoutGroup:n,switchLayoutGroup:(0,ri.useContext)(it),isPresent:e,safeToRemove:i})}function ro(t){return"object"==typeof t&&null!==t}function ra(t){return ro(t)&&"ownerSVGElement"in t}let rl=["TopLeft","TopRight","BottomLeft","BottomRight"],ru=rl.length,rh=t=>"string"==typeof t?parseFloat(t):t,rc=t=>"number"==typeof t||b.test(t);function rd(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rp=rm(0,.5,i0),rf=rm(.5,.95,tS);function rm(t,e,i){return n=>n<t?0:n>e?1:i(i8(t,e,n))}function rg(t,e){t.min=e.min,t.max=e.max}function rv(t,e){rg(t.x,e.x),rg(t.y,e.y)}function ry(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function r_(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rx(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(w.test(e)&&(e=parseFloat(e),e=e_(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=e_(s.min,s.max,n);t===s&&(a-=e),t.min=r_(t.min,e,i,a,r),t.max=r_(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let rw=["x","scaleX","originX"],rb=["y","scaleY","originY"];function rT(t,e,i,n){rx(t.x,e,rw,i?i.x:void 0,n?n.x:void 0),rx(t.y,e,rb,i?i.y:void 0,n?n.y:void 0)}function rS(t){return 0===t.translate&&1===t.scale}function rP(t){return rS(t.x)&&rS(t.y)}function rM(t,e){return t.min===e.min&&t.max===e.max}function rA(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rE(t,e){return rA(t.x,e.x)&&rA(t.y,e.y)}function rC(t){return nz(t.x)/nz(t.y)}function rk(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rD{constructor(){this.members=[]}add(t){tU(this.members,t),t.scheduleRender()}remove(t){if(tY(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender();let n=i.options.layoutDependency,r=t.options.layoutDependency;(void 0===n||void 0===r||n!==r)&&(t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0));let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rR=(t,e)=>t.depth-e.depth;class rO{constructor(){this.children=[],this.isDirty=!1}add(t){tU(this.children,t),this.isDirty=!0}remove(t){tY(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rR),this.isDirty=!1,this.children.forEach(t)}}let rV=["","X","Y","Z"],rF=0;function rL(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function rI({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=rF++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(rz),this.nodes.forEach(rH),this.nodes.forEach(rq),this.nodes.forEach(rN)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rO)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tX),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=ra(e)&&!(ra(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tE.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=tH.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tC(s),r(i-250))},tE.setup(s,!0),i=()=>tC(s),re.hasAnimatedSinceResize&&(re.hasAnimatedSinceResize=!1,this.nodes.forEach(r$))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||r0,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!rE(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...ia(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||r$(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tC(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(rG),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[e7];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tE,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rY);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rX);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rW),this.nodes.forEach(rB),this.nodes.forEach(rj)):this.nodes.forEach(rX),this.clearAllSnapshots();let t=tH.now();tk.delta=a(0,1e3/60,t-tk.timestamp),tk.timestamp=t,tk.isProcessing=!0,tD.update.process(tk),tD.preRender.process(tk),tD.render.process(tk),tk.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tW.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rU),this.sharedNodes.forEach(rK)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tE.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tE.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nz(this.snapshot.measuredBox.x)||nz(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=q(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rP(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eE(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),r5((e=n).x),r5(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return q();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(r8))){let{scroll:t}=this.root;t&&(eO(e.x,t.offset.x),eO(e.y,t.offset.y))}return e}removeElementScroll(t){let e=q();if(rv(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rv(e,t),eO(e.x,r.offset.x),eO(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=q();rv(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&eF(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),eE(n.latestValues)&&eF(i,n.latestValues)}return eE(this.latestValues)&&eF(i,this.latestValues),i}removeTransform(t){let e=q();rv(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eE(i.latestValues))continue;eA(i.latestValues)&&i.updateSnapshot();let n=q();rv(n,i.measurePageBox()),rT(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return eE(this.latestValues)&&rT(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tk.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tk.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=q(),this.targetWithTransforms=q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,nY(o.x,a.x,l.x),nY(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rv(this.target,this.layout.layoutBox),eR(this.target,this.targetDelta)):rv(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eA(this.parent.latestValues)||eC(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=q(),this.relativeTargetOrigin=q(),nW(this.relativeTargetOrigin,e,i),rv(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tk.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rv(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eF(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eR(t,s)),n&&eE(r.latestValues)&&eF(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=q());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ry(this.prevProjectionDelta.x,this.projectionDelta.x),ry(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nU(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rk(this.projectionDelta.x,this.prevProjectionDelta.x)&&rk(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=$(),this.projectionDelta=$(),this.projectionDeltaWithTransform=$()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=$();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=q(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(rJ));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(rZ(o.x,t.x,n),rZ(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,g;nW(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=n,rQ(p.x,f.x,m.x,g),rQ(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,d=i,rM(u.x,d.x)&&rM(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=q()),rv(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=e_(0,i.opacity??1,rp(n)),t.opacityExit=e_(e.opacity??1,0,rf(n))):s&&(t.opacity=e_(e.opacity??1,i.opacity??1,n));for(let r=0;r<ru;r++){let s=`border${rl[r]}Radius`,o=rd(e,s),a=rd(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rc(o)===rc(a)?(t[s]=Math.max(e_(rh(o),rh(a),n),0),(w.test(a)||w.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=e_(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tC(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tE.update(()=>{var e,i,n;let r;re.hasAnimatedSinceResize=!0,ip.layout++,this.motionValue||(this.motionValue=tK(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ip.layout--},onComplete:()=>{ip.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=G(e)?e:tK(e)).start(nS("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&r3(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||q();let e=nz(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nz(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rv(e,i),eF(e,r),nU(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rD),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&rL("z",t,n,this.animationValues);for(let e=0;e<rV.length;e++)rL(`rotate${rV[e]}`,t,n,this.animationValues),rL(`skew${rV[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eQ(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eQ(e?.pointerEvents)||""),this.hasProjected&&!eE(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,ex){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ex[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?eQ(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rY),this.root.sharedNodes.clear()}}}function rB(t){t.updateLayout()}function rj(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?nF(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=nz(n);n.min=i[t].min,n.max=n.min+r}):r3(r,e.layoutBox,i)&&nF(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=nz(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=$();nU(o,i,e.layoutBox);let a=$();s?nU(a,t.applyTransform(n,!0),e.measuredBox):nU(a,i,e.layoutBox);let l=!rP(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=q();nW(o,e.layoutBox,r.layoutBox);let a=q();nW(a,i,s.layoutBox),rE(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rz(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rN(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rU(t){t.clearSnapshot()}function rY(t){t.clearMeasurements()}function rX(t){t.isLayoutDirty=!1}function rW(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r$(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rH(t){t.resolveTargetDelta()}function rq(t){t.calcProjection()}function rG(t){t.resetSkewAndRotation()}function rK(t){t.removeLeadSnapshot()}function rZ(t,e,i){t.translate=e_(e.translate,0,i),t.scale=e_(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rQ(t,e,i,n){t.min=e_(e.min,i.min,n),t.max=e_(e.max,i.max,n)}function rJ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r0={duration:.45,ease:[.4,0,.1,1]},r1=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r2=r1("applewebkit/")&&!r1("chrome/")?Math.round:tS;function r5(t){t.min=r2(t.min),t.max=r2(t.max)}function r3(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rC(e)-rC(i)))}function r8(t){return t!==t.root&&t.scroll?.wasRoot}let r9=rI({attachResizeListener:(t,e)=>nB(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),r4={current:void 0},r6=rI({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!r4.current){let t=new r9({});t.mount(window),t.setOptions({layoutScroll:!0}),r4.current=t}return r4.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function r7(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}function st(t,e){let i=r7(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function se(t){return!("touch"===t.pointerType||nj.x||nj.y)}function si(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tE.postRender(()=>r(e,nH(e)))}let sn=(t,e)=>!!e&&(t===e||sn(t,e.parentElement)),sr=new WeakSet;function ss(t){return e=>{"Enter"===e.key&&t(e)}}function so(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sa(t){return n$(t)&&!(nj.x||nj.y)}function sl(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tE.postRender(()=>r(e,nH(e)))}let su=new WeakMap,sh=new WeakMap,sc=t=>{let e=su.get(t.target);e&&e(t)},sd=t=>{t.forEach(sc)},sp={some:0,all:1},sf=function(t,e){if("undefined"==typeof Proxy)return ir;let i=new Map,n=(i,n)=>ir(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,ir(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends is{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nA(t,e,i)));else if("string"==typeof e)n=nA(t,e,i);else{let r="function"==typeof e?io(t,e,i.custom):e;n=Promise.all(nP(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nO(),n=!0,r=e=>(i,n)=>{let r=io(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<nE;t++){let n=t9[t],r=e.props[n];(t3(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<nD;e++){var d,p;let f=nk[e],m=i[f],g=void 0!==o[f]?o[f]:a[f],v=t3(g),y=f===s?m.isActive:null;!1===y&&(c=e);let _=g===a[f]&&g!==o[f]&&v;if(_&&n&&t.manuallyAnimateOnMount&&(_=!1),m.protectedKeys={...h},!m.isActive&&null===y||!g&&!m.prevProp||t5(g)||"boolean"==typeof g)continue;let x=(d=m.prevProp,"string"==typeof(p=g)?p!==d:!!Array.isArray(p)&&!nC(p,d)),w=x||f===s&&m.isActive&&!_&&v||e>c&&v,b=!1,T=Array.isArray(g)?g:[g],S=T.reduce(r(f),{});!1===y&&(S={});let{prevResolvedValues:P={}}=m,M={...P,...S},A=e=>{w=!0,u.has(e)&&(b=!0,u.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in M){let e=S[t],i=P[t];if(!h.hasOwnProperty(t))(il(e)&&il(i)?nC(e,i):e===i)?void 0!==e&&u.has(t)?A(t):m.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}m.prevProp=g,m.prevResolvedValues=S,m.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(w=!1);let E=_&&x,C=!E||b;w&&C&&l.push(...T.map(e=>{let i={type:f};if("string"==typeof e&&n&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=io(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nM(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=io(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let f=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nO()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();t5(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends is{constructor(){super(...arguments),this.id=nV++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends is{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:sp[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;sh.has(i)||sh.set(i,{});let n=sh.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sd,{root:t,...e})),n[r]}(a),su.set(t,l),e.observe(t),()=>{su.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends is{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=st(t,i),o=t=>{let n=t.currentTarget;if(!sa(t))return;sr.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sr.has(n)&&sr.delete(n),sa(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||sn(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),ro(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=ss(()=>{if(sr.has(i))return;so(i,"down");let t=ss(()=>{so(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>so(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),nL.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sl(this.node,e,"Start"),(t,{success:e})=>sl(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends is{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=id(nB(this.node.current,"focus",()=>this.onFocus()),nB(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends is{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=st(t,i),o=t=>{if(!se(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{se(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,(t,e)=>(si(this.node,e,"Start"),t=>si(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends is{constructor(){super(...arguments),this.removePointerDownListener=tS}onPointerDown(t){this.session=new nQ(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nG(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rt(t),onStart:rt(e),onMove:rt(i),onEnd:(t,e)=>{delete this.session,n&&tE.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=nq(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends is{constructor(t){super(t),this.removeGroupControls=tS,this.removeListeners=tS,this.controls=new n6(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tS}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:r6,MeasureLayout:rs},layout:{ProjectionNode:r6,MeasureLayout:rs}},(t,e)=>e.isSVG??ez(t)?new eS(e):new eI(e,{allowProjection:t!==eB.Fragment}));t.s(["motion",()=>sf],846932);let sm={some:0,all:1};function sg(t,{root:e,margin:i,amount:n,once:r=!1,initial:s=!1}={}){let[o,a]=(0,eB.useState)(s);return(0,eB.useEffect)(()=>
1{if(!t.current||r&&o)return;let s={root:e&&e.current||void 0,margin:i,amount:n};return function(t,e,{root:i,margin:n,amount:r="some"}={}){let s=r7(t),o=new WeakMap,a=new IntersectionObserver(t=>{t.forEach(t=>{let i=o.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?o.set(t.target,i):a.unobserve(t.target)}else"function"==typeof i&&(i(t),o.delete(t.target))})},{root:i,rootMargin:n,threshold:"number"==typeof r?r:sm[r]});return s.forEach(t=>a.observe(t)),()=>a.disconnect()}(t.current,()=>(a(!0),r?void 0:()=>a(!1)),s)},[e,t,i,r,n]),o}function sv(t){return"number"==typeof t?t:parseFloat(t)}function sy(t){let e=e0(()=>tK(t)),{isStatic:i}=(0,eB.useContext)(eY);if(i){let[,i]=(0,eB.useState)(t);(0,eB.useEffect)(()=>e.on("change",i),[])}return e}function s_(t,e){let i=sy(e()),n=()=>i.set(e());return n(),ii(()=>{let e=()=>tE.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),tC(n)}}),i}function sx(t,e,i,n){if("function"==typeof t){let e;return tq.current=[],t(),e=s_(tq.current,t),tq.current=void 0,e}if(void 0!==i&&!Array.isArray(i)&&"function"!=typeof e){var r=t,s=e,o=i,a=n;let l=e0(()=>Object.keys(o)),u=e0(()=>({}));for(let t of l)u[t]=sx(r,s,o[t],a);return u}let l="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,n=t[0+i],r=i9(t[1+i],t[2+i],t[3+i]);return e?r(n):r}(e,i,n);return Array.isArray(t)?sw(t,l):sw([t],([t])=>l(t))}function sw(t,e){let i=e0(()=>[]);return s_(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}function sb({children:t,className:e,delay:i=0}){return(0,r.jsx)(sf.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5,delay:i,ease:[0,0,.2,1]},className:e,children:t})}function sT({children:t,className:e,delay:i=0}){return(0,r.jsx)(sf.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:i,ease:[0,0,.2,1]},className:e,children:t})}function sS({children:t,className:e,delay:i=0}){return(0,r.jsx)(sf.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.4,delay:i,ease:[0,0,.2,1]},className:e,children:t})}function sP({children:t,className:e,delay:i=0,direction:n="up",once:s=!0,amount:o=0}){let a=(0,eB.useRef)(null),l=sg(a,{once:s,amount:o,margin:"200px"}),u=()=>{switch(n){case"up":default:return{opacity:0,y:30};case"down":return{opacity:0,y:-30};case"left":return{opacity:0,x:30};case"right":return{opacity:0,x:-30};case"none":return{opacity:0}}};return(0,r.jsx)(sf.div,{ref:a,initial:u(),animate:l?{opacity:1,x:0,y:0}:u(),transition:{duration:.6,delay:i,ease:[0,0,.2,1]},className:e,children:t})}function sM({children:t,className:e,staggerDelay:i=.1,initialDelay:n=.1,once:s=!0,amount:o=0}){let a=(0,eB.useRef)(null),l=sg(a,{once:s,amount:o,margin:"200px"});return(0,r.jsx)(sf.div,{ref:a,initial:"hidden",animate:l?"visible":"hidden",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:i,delayChildren:n}}},className:e,children:t})}function sA({children:t,className:e,direction:i="up"}){let n=[0,0,.2,1];return(0,r.jsx)(sf.div,{variants:{up:{hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:n}}},down:{hidden:{opacity:0,y:-20},visible:{opacity:1,y:0,transition:{duration:.5,ease:n}}},left:{hidden:{opacity:0,x:20},visible:{opacity:1,x:0,transition:{duration:.5,ease:n}}},right:{hidden:{opacity:0,x:-20},visible:{opacity:1,x:0,transition:{duration:.5,ease:n}}},scale:{hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.4,ease:n}}}}[i],className:e,children:t})}function sE({children:t,className:e,scale:i=1.05}){return(0,r.jsx)(sf.div,{whileHover:{scale:i},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:e,children:t})}function sC({children:t,className:e,y:i=-5}){return(0,r.jsx)(sf.div,{whileHover:{y:i,boxShadow:"0 10px 30px -10px rgba(0,0,0,0.2)"},transition:{type:"spring",stiffness:400,damping:17},className:e,children:t})}function sk({from:t=0,to:e,duration:i=2,className:n,prefix:s="",suffix:o=""}){let a=(0,eB.useRef)(null),l=sg(a,{once:!0,amount:.5}),u=function(){tJ.current||t1();let[t]=(0,eB.useState)(tQ.current);return t}(),[h,c]=(0,eB.useState)(e),d=function(t,e={}){return function(t,e={}){let{isStatic:i}=(0,eB.useContext)(eY),n=()=>G(t)?t.get():t;if(i)return sx(n);let r=sy(n());return(0,eB.useInsertionEffect)(()=>(function(t,e,i={}){let n,r=t.get(),s=null,o=r,a="string"==typeof r?r.replace(/[\d.-]/g,""):void 0,l=()=>{s&&(s.stop(),s=null)};if(t.attach((e,r)=>{o=e,n=t=>{var e,i;return r((e=t,(i=a)?e+i:e))},tE.postRender(()=>{let e,r;l(),e=sv(t.get()),e!==(r=sv(o))&&(s=new nr({keyframes:[e,r],velocity:t.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:n})),t.events.animationStart?.notify(),s?.then(()=>{t.events.animationComplete?.notify()})})},l),G(e)){let i=e.on("change",e=>{var i,n;return t.set((i=e,(n=a)?i+n:i))}),n=t.on("destroy",i);return()=>{i(),n()}}return l})(r,t,e),[r,JSON.stringify(e)]),r}(t,{type:"spring",...e})}(t,{duration:1e3*i,bounce:0}),p=sx(d,t=>Math.round(t));return(0,eB.useEffect)(()=>{!u&&l&&d.set(e)},[l,d,e,u]),(0,eB.useEffect)(()=>p.on("change",t=>{c(t)}),[p]),(0,r.jsxs)("span",{ref:a,className:n,children:[s,h,o]})}function sD({children:t,className:e,duration:i=3,distance:n=10,delay:s=0}){return(0,r.jsx)(sf.div,{animate:{y:[0,-n,0]},transition:{duration:i,repeat:1/0,ease:"easeInOut",delay:s},className:e,children:t})}function sR({children:t,className:e,color:i="var(--secondary)"}){return(0,r.jsx)(sf.div,{animate:{boxShadow:[`0 0 0 0 ${i}00`,`0 0 20px 4px ${i}40`,`0 0 0 0 ${i}00`]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:e,children:t})}t.s(["Counter",()=>sk,"FadeIn",()=>sb,"FadeInUp",()=>sT,"Floating",()=>sD,"HoverLift",()=>sC,"HoverScale",()=>sE,"PulseGlow",()=>sR,"ScaleIn",()=>sS,"ScrollReveal",()=>sP,"StaggerContainer",()=>sM,"StaggerItem",()=>sA,"fadeIn",0,{hidden:{opacity:0}
1,visible:{opacity:1,transition:{duration:.5,ease:[0,0,.2,1]}}},"fadeInUp",0,{hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[0,0,.2,1]}}},"scaleIn",0,{hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.4,ease:[0,0,.2,1]}}},"slideInLeft",0,{hidden:{opacity:0,x:-30},visible:{opacity:1,x:0,transition:{duration:.5,ease:[0,0,.2,1]}}},"slideInRight",0,{hidden:{opacity:0,x:30},visible:{opacity:1,x:0,transition:{duration:.5,ease:[0,0,.2,1]}}},"staggerContainer",0,{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.1}}},"staggerContainerSlow",0,{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.2}}}],882205)},989970,883495,t=>{"use strict";function e(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,r,s,o,a,l,u,h,c,d,p,f,m,g,v,y,_,x,w,b,T,S,P,M,A,E,C={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},k={duration:.5,overwrite:!1,delay:0},D=2*Math.PI,R=D/4,O=0,V=Math.sqrt,F=Math.cos,L=Math.sin,I=function(t){return"string"==typeof t},B=function(t){return"function"==typeof t},j=function(t){return"number"==typeof t},z=function(t){return void 0===t},N=function(t){return"object"==typeof t},U=function(t){return!1!==t},Y=function(){return"undefined"!=typeof window},X=function(t){return B(t)||I(t)},W="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,H=/random\([^)]+\)/g,q=/,\s*/g,G=/(?:-?\.?\d|\.)+/gi,K=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Z=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Q=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,J=/[+-]=-?[.\d]+/,tt=/[^,'"\[\]\s]+/gi,te=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ti={},tn={},tr=function(t){return(tn=tV(t,ti))&&iE},ts=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},to=function(t,e){return!e&&console.warn(t)},ta=function(t,e){return t&&(ti[t]=e)&&tn&&(tn[t]=e)||ti},tl=function(){return 0},tu={suppressEvents:!0,isStart:!0,kill:!1},th={suppressEvents:!0,kill:!1},tc={suppressEvents:!0},td={},tp=[],tf={},tm={},tg={},tv=30,ty=[],t_="",tx=function(t){var e,i,n=t[0];if(N(n)||B(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=ty.length;i--&&!ty[i].targetTest(n););e=ty[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new eU(t[i],e)))||t.splice(i,1);return t},tw=function(t){return t._gsap||tx(er(t))[0]._gsap},tb=function(t,e,i){return(i=t[e])&&B(i)?t[e]():z(i)&&t.getAttribute&&t.getAttribute(e)||i},tT=function(t,e){return(t=t.split(",")).forEach(e)||t},tS=function(t){return Math.round(1e5*t)/1e5||0},tP=function(t){return Math.round(1e7*t)/1e7||0},tM=function(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+n:"-"===i?t-n:"*"===i?t*n:t/n},tA=function(t,e){for(var i=e.length,n=0;0>t.indexOf(e[n])&&++n<i;);return n<i},tE=function(){var t,e,i=tp.length,n=tp.slice(0);for(t=0,tf={},tp.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},tC=function(t){return!!(t._initted||t._startAt||t.add)},tk=function(t,e,i,n){tp.length&&!_&&tE(),t.render(e,i,n||!!(_&&e<0&&tC(t))),tp.length&&!_&&tE()},tD=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(tt).length<2?e:I(t)?t.trim():t},tR=function(t){return t},tO=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},tV=function(t,e){for(var i in e)t[i]=e[i];return t},tF=function t(e,i){for(var n in i)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=N(i[n])?t(e[n]||(e[n]={}),i[n]):i[n]);return e},tL=function(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n},tI=function(t){var e,i=t.parent||w,n=t.keyframes?(e=$(t.keyframes),function(t,i){for(var n in i)n in t||"duration"===n&&e||"ease"===n||(t[n]=i[n])}):tO;if(U(t.inherit))for(;i;)n(t,i.vars.defaults),i=i.parent||i._dp;return t},tB=function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0},tj=function(t,e,i,n,r){void 0===i&&(i="_first"),void 0===n&&(n="_last");var s,o=t[n];if(r)for(s=e[r];o&&o[r]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e}
1,tz=function(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=e._prev,s=e._next;r?r._next=s:t[i]===e&&(t[i]=s),s?s._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},tN=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},tU=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},tY=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},tX=function(t,e,i,n){return t._startAt&&(_?t._startAt.revert(th):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},tW=function(t){return t._repeat?t$(t._tTime,t=t.duration()+t._rDelay)*t:0},t$=function(t,e){var i=Math.floor(t=tP(t/e));return t&&i===t?i-1:i},tH=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},tq=function(t){return t._end=tP(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},tG=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=tP(i._time-(t._ts>0?e/t._ts:-(((t._dirty?t.totalDuration():t._tDur)-e)/t._ts))),tq(t),i._dirty||tU(i,t)),t},tK=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=tH(t.rawTime(),e),(!e._dur||et(0,e.totalDuration(),i)-e._tTime>1e-8)&&e.render(i,!0)),tU(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=-1e-8}},tZ=function(t,e,i,n){return e.parent&&tN(e),e._start=tP((j(i)?i:i||t!==w?t4(t,i,e):t._time)+e._delay),e._end=tP(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tj(t,e,"_first","_last",t._sort?"_start":0),t1(e)||(t._recent=e),n||tK(t,e),t._ts<0&&tG(t,t._tTime),t},tQ=function(t,e){return(ti.ScrollTrigger||ts("scrollTrigger",e))&&ti.ScrollTrigger.create(e,t)},tJ=function(t,e,i,n,r){return(e1(t,e,r),t._initted)?!i&&t._pt&&!_&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&M!==eA.frame?(tp.push(t),t._lazy=[r,n],1):void 0:1},t0=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(0>i.rawTime()||t(i))},t1=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},t2=function(t,e,i,n){var r,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&t0(t)&&!(!t._initted&&t1(t))||(t._ts<0||t._dp._ts<0)&&!t1(t))?0:1,u=t._rDelay,h=0;if(u&&t._repeat&&(s=t$(h=et(0,t._tDur,e),u),t._yoyo&&1&s&&(l=1-l),s!==t$(t._tTime,u)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||_||n||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&tJ(t,e,n,i,h))return;for(o=t._zTime,t._zTime=e||1e-8*!!i,i||(i=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=h,r=t._pt;r;)r.r(l,r.d),r=r._next;e<0&&tX(t,e,i,!0),t._onUpdate&&!i&&em(t,"onUpdate"),h&&t._repeat&&!i&&t.parent&&em(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&tN(t,1),i||_||(em(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},t5=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if("isPause"===n.data&&n._start<e)return n;n=n._prev}},t3=function(t,e,i,n){var r=t._repeat,s=tP(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=r?r<0?1e10:tP(s*(r+1)+t._rDelay*r):s,o>0&&!n&&tG(t,t._tTime=t._tDur*o),t.parent&&tq(t),i||tU(t.parent,t),t},t8=function(t){return t instanceof eX?tU(t):t3(t,t._dur)},t9={_start:0,endTime:tl,totalDuration:tl},t4=function t(e,i,n){var r,s,o,a=e.labels,l=e._recent||t9,u=e.duration()>=1e8?l.endTime(!1):e._dur;return I(i)&&(isNaN(i)||i in a)?(s=i.charAt(0),o="%"===i.substr(-1),r=i.indexOf("="),"<"===s||">"===s)?(r>=0&&(i=i.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(i.substr(1))||0)*(o?(r<0?l:n).totalDuration()/100:1)):r<0?(i in a||(a[i]=u),a[i]):(s=parseFloat(i.charAt(r-1)+i.substr(r+1)),o&&n&&(s=s/100*($(n)?n[0]:n).totalDuration()),r>1?t(e,i.substr(0,r-1),n)+s:u+s):null==i?u:+i},t6=function(t,e,i){var n,r,s=j(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=i,t){for(n=a,r=i;r&&!("immediateRender"in n);)n=r.vars.defaults||{},r=U(r.vars.inherit)&&r.parent;a.immediateRender=U(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new e6(e[0],a,e[o+1])},t7=function(t,e){return t||0===t?e(t):e}
1,et=function(t,e,i){return i<t?t:i>e?e:i},ee=function(t,e){return I(t)&&(e=te.exec(t))?e[1]:""},ei=[].slice,en=function(t,e){return t&&N(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&N(t[0]))&&!t.nodeType&&t!==b},er=function(t,e,i){var n;return x&&!e&&x.selector?x.selector(t):I(t)&&!i&&(T||!eE())?ei.call((e||S).querySelectorAll(t),0):$(t)?(void 0===n&&(n=[]),t.forEach(function(t){var e;return I(t)&&!i||en(t,1)?(e=n).push.apply(e,er(t)):n.push(t)})||n):en(t)?ei.call(t,0):t?[t]:[]},es=function(t){return t=er(t)[0]||to("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return er(e,i.querySelectorAll?i:i===t?to("Invalid scope")||S.createElement("div"):t)}},eo=function(t){return t.sort(function(){return .5-Math.random()})},ea=function(t){if(B(t))return t;var e=N(t)?t:{each:t},i=eI(e.ease),n=e.from||0,r=parseFloat(e.base)||0,s={},o=n>0&&n<1,a=isNaN(n)||o,l=e.axis,u=n,h=n;return I(n)?u=h=({center:.5,edges:.5,end:1})[n]||0:!o&&a&&(u=n[0],h=n[1]),function(t,o,c){var d,p,f,m,g,v,y,_,x,w=(c||e).length,b=s[w];if(!b){if(!(x="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(y=-1e8;y<(y=c[x++].getBoundingClientRect().left)&&x<w;);x<w&&x--}for(v=0,b=s[w]=[],d=a?Math.min(x,w)*u-.5:n%x,p=1e8===x?0:a?w*h/x-.5:n/x|0,y=0,_=1e8;v<w;v++)f=v%x-d,m=p-(v/x|0),b[v]=g=l?Math.abs("y"===l?m:f):V(f*f+m*m),g>y&&(y=g),g<_&&(_=g);"random"===n&&eo(b),b.max=y-_,b.min=_,b.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(x>w?w-1:l?"y"===l?w/x:x:Math.max(x,w/x))||0)*("edges"===n?-1:1),b.b=w<0?r-w:r,b.u=ee(e.amount||e.each)||0,i=i&&w<0?eF(i):i}return w=(b[t]-b.min)/b.max||0,tP(b.b+(i?i(w):w)*b.v)+b.u}},el=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=tP(Math.round(parseFloat(i)/t)*t*e);return(n-n%1)/e+(j(i)?0:ee(i))}},eu=function(t,e){var i,n,r=$(t);return!r&&N(t)&&(i=r=t.radius||1e8,t.values?(n=!j((t=er(t.values))[0]))&&(i*=i):t=el(t.increment)),t7(e,r?B(t)?function(e){return Math.abs((n=t(e))-e)<=i?n:e}:function(e){for(var r,s,o=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),l=1e8,u=0,h=t.length;h--;)(r=n?(r=t[h].x-o)*r+(s=t[h].y-a)*s:Math.abs(t[h]-o))<l&&(l=r,u=h);return u=!i||l<=i?t[u]:e,n||u===e||j(e)?u:u+ee(e)}:el(t))},eh=function(t,e,i,n){return t7($(t)?!e:!0===i?(i=0,!1):!n,function(){return $(t)?t[~~(Math.random()*t.length)]:(n=(i=i||1e-5)<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*n)/n})},ec=function(t,e,i){return t7(i,function(i){return t[~~e(i)]})},ed=function(t){return t.replace(H,function(t){var e=t.indexOf("[")+1,i=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(q);return eh(e?i:+i[0],e?0:+i[1],+i[2]||1e-5)})},ep=function(t,e,i,n,r){var s=e-t,o=n-i;return t7(r,function(e){return i+((e-t)/s*o||0)})},ef=function(t,e,i){var n,r,s,o=t.labels,a=1e8;for(n in o)(r=o[n]-e)<0==!!i&&r&&a>(r=Math.abs(r))&&(s=n,a=r);return s},em=function(t,e,i){var n,r,s,o=t.vars,a=o[e],l=x,u=t._ctx;if(a)return n=o[e+"Params"],r=o.callbackScope||t,i&&tp.length&&tE(),u&&(x=u),s=n?a.apply(r,n):a.call(r),x=l,s},eg=function(t){return tN(t),t.scrollTrigger&&t.scrollTrigger.kill(!!_),1>t.progress()&&em(t,"onInterrupt"),t},ev=[],ey=function(t){if(t)if(t=!t.name&&t.default||t,Y()||t.headless){var e=t.name,i=B(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:tl,render:il,add:eQ,kill:ih,modifier:iu,rawVars:0},s={targetTest:0,get:0,getSetter:ir,aliases:{},register:0};if(eE(),t!==n){if(tm[e])return;tO(n,tO(tL(t,r),s)),tV(n.prototype,tV(r,tL(t,s))),tm[n.prop=e]=n,t.targetTest&&(ty.push(n),td[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ta(e,n),t.register&&t.register(iE,n,ip)}else ev.push(t)},e_={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ex=function(t,e,i){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*255+.5|0}
1,ew=function(t,e,i){var n,r,s,o,a,l,u,h,c,d,p=t?j(t)?[t>>16,t>>8&255,255&t]:0:e_.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),e_[t])p=e_[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),t="#"+n+n+(r=t.charAt(2))+r+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(p=d=t.match(G),e){if(~t.indexOf("="))return p=t.match(K),i&&p.length<4&&(p[3]=1),p}else o=p[0]%360/360,a=p[1]/100,r=(l=p[2]/100)<=.5?l*(a+1):l+a-l*a,n=2*l-r,p.length>3&&(p[3]*=1),p[0]=ex(o+1/3,n,r),p[1]=ex(o,n,r),p[2]=ex(o-1/3,n,r);else p=t.match(G)||e_.transparent;p=p.map(Number)}return e&&!d&&(n=p[0]/255,l=((u=Math.max(n,r=p[1]/255,s=p[2]/255))+(h=Math.min(n,r,s)))/2,u===h?o=a=0:(c=u-h,a=l>.5?c/(2-u-h):c/(u+h),o=(u===n?(r-s)/c+6*(r<s):u===r?(s-n)/c+2:(n-r)/c+4)*60),p[0]=~~(o+.5),p[1]=~~(100*a+.5),p[2]=~~(100*l+.5)),i&&p.length<4&&(p[3]=1),p},eb=function(t){var e=[],i=[],n=-1;return t.split(eS).forEach(function(t){var r=t.match(Z)||[];e.push.apply(e,r),i.push(n+=r.length+1)}),e.c=i,e},eT=function(t,e,i){var n,r,s,o,a="",l=(t+a).match(eS),u=e?"hsla(":"rgba(",h=0;if(!l)return t;if(l=l.map(function(t){return(t=ew(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(s=eb(t),(n=i.c).join(a)!==s.c.join(a)))for(o=(r=t.replace(eS,"1").split(Z)).length-1;h<o;h++)a+=r[h]+(~n.indexOf(h)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:i).shift());if(!r)for(o=(r=t.split(eS)).length-1;h<o;h++)a+=r[h]+l[h];return a+r[o]},eS=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in e_)e+="|"+t+"\\b";return RegExp(e+")","gi")}(),eP=/hsl[a]?\(/,eM=function(t){var e,i=t.join(" ");if(eS.lastIndex=0,eS.test(i))return e=eP.test(i),t[1]=eT(t[1],e),t[0]=eT(t[0],e,eb(t[1])),!0},eA=(u=Date.now,h=500,c=33,p=d=u(),f=1e3/240,m=1e3/240,g=[],v=function t(e){var i,s,v,y,_=u()-p,x=!0===e;if((_>h||_<0)&&(d+=_-c),p+=_,((i=(v=p-d)-m)>0||x)&&(y=++o.frame,a=v-1e3*o.time,o.time=v/=1e3,m+=i+(i>=f?4:f-i),s=1),x||(n=r(t)),s)for(l=0;l<g.length;l++)g[l](v,a,y,e)},o={time:0,frame:0,tick:function(){v(!0)},deltaRatio:function(t){return a/(1e3/(t||60))},wake:function(){P&&(!T&&Y()&&(S=(b=T=window).document||{},ti.gsap=iE,(b.gsapVersions||(b.gsapVersions=[])).push(iE.version),tr(tn||b.GreenSockGlobals||!b.gsap&&b||{}),ev.forEach(ey)),s="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,n&&o.sleep(),r=s||function(t){return setTimeout(t,m-1e3*o.time+1|0)},E=1,v(2))},sleep:function(){(s?cancelAnimationFrame:clearTimeout)(n),E=0,r=tl},lagSmoothing:function(t,e){c=Math.min(e||33,h=t||1/0)},fps:function(t){f=1e3/(t||240),m=1e3*o.time+f},add:function(t,e,i){var n=e?function(e,i,r,s){t(e,i,r,s),o.remove(n)}:t;return o.remove(t),g[i?"unshift":"push"](n),eE(),n},remove:function(t,e){~(e=g.indexOf(t))&&g.splice(e,1)&&l>=e&&l--},_listeners:g}),eE=function(){return!E&&eA.wake()},eC={},ek=/^[\d.\-M][\d.\-,\s]/,eD=/["']/g,eR=function(t){for(var e,i,n,r={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)i=s[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),r[o]=isNaN(n)?n.replace(eD,"").trim():+n,o=i.substr(e+1).trim();return r},eO=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<i?t.indexOf(")",i+1):i)},eV=function(t){var e=(t+"").split("("),i=eC[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[eR(e[1])]:eO(t).split(",").map(tD)):eC._CE&&ek.test(t)?eC._CE("",t):i},eF=function(t){return function(e){return 1-t(1-e)}},eL=function t(e,i){for(var n,r=e._first;r;)r instanceof eX?t(r,i):!r.vars.yoyoEase||r._yoyo&&r._repeat||r._yoyo===i||(r.timeline?t(r.timeline,i):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=i)),r=r._next},eI=function(t,e){return t&&(B(t)?t:eC[t]||eV(t))||e},eB=function(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e((1-t)*2)/2});var r,s={easeIn:e,easeOut:i,easeInOut:n};return tT(t,function(t){for(var e in eC[t]=ti[t]=s,eC[r=t.toLowerCase()]=i,s)eC[r+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=eC[t+"."+e]=s[e]}),s},ej=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t((e-.5)*2)/2}},ez=function t(e,i,n){var r=i>=1?i:1,s=(n||(e?.3:.45))/(i<1?i:1),o=s/D*(Math.asin(1/r)||0),a=function(t){return 1===t?1:r*Math.pow(2,-10*t)*L((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:ej(a);return s=D/s,l.config=function(i,n){return t(e,i,n)},l},eN=function t(e,i){void 0===i&&(i=1.70158);var n=function(t){return t?--t*t*((i+1)*t+i)+1:0},r="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:ej(n);return r.config=function(i){return t(e,i)},r};tT("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;eB(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow((1-t)*2,i)/2})}),eC.Linear.easeNone=eC.none=eC.Linear.easeIn,eB("Elastic",ez("in"),ez("out"),ez()),e$=2*(eW=1/2.75),eH=2.5*eW,eB("Bounce",function(t){return 1-eq(1-t)},eq=function(t){return t<eW?7.5625*t*t:t<e$?7.5625*Math.pow(t-1.5/2.75,2)+.75:t<eH?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*Math.pow(t-2.625/2.75,2)+.984375}),eB("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),eB("Circ",function(t){return-(V(1-t*t)-1)}),eB("Sine",function(t){return 1===t?1:-F(t*R)+1}),eB("Back",eN("in"),eN("out"),eN()),eC.SteppedEase=eC.steps=ti.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,n=t+ +!e,r=+!!e,s=.99999999;return function(t){return((n*et(0,s,t)|0)+r)*i}}},k.ease=eC["quad.out"],tT("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return t_+=t+","+t+"Param
1s,"});var eU=function(t,e){this.id=O++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:tb,this.set=e?e.getSetter:ir},eY=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,t3(this,+t.duration,1,1),this.data=t.data,x&&(this._ctx=x,x.data.push(this)),E||eA.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,t3(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(eE(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(tG(this,t),!i._dp||i.parent||tK(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:-((i.totalDuration()-i._tTime)/i._ts))&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&tZ(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),tk(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+tW(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-t:t)+tW(this),e):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?t$(this._tTime,i)+1:1},e.timeScale=function(t,e){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var i=this.parent&&this._ts?tH(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(et(-Math.abs(this._delay),this.totalDuration(),i),!1!==e),tq(this),tY(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(eE(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=tP(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&tZ(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(U(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?tH(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=tc);var e=_;return _=t,tC(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),_=e,this},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,t8(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,t8(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(t4(this,t),U(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,U(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0}
vendor: 4,424 bytes, line 1
1,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!!(!e||this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-1e-8)},e.eventCallback=function(t,e,i){var n=this.vars;return arguments.length>1?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this,i=e._prom;return new Promise(function(n){var r=B(t)?t:tR,s=function(){var t=e.then;e.then=null,i&&i(),B(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){eg(this)},t}();tO(eY.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:-1e-8,_prom:0,_ps:!1,_rts:1});var eX=function(t){function n(i,n){var r;return void 0===i&&(i={}),(r=t.call(this,i)||this).labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=U(i.sortChildren),w&&tZ(i.parent||w,e(r),n),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&tQ(e(r),i.scrollTrigger),r}i(n,t);var r=n.prototype;return r.to=function(t,e,i){return t6(0,arguments,this),this},r.from=function(t,e,i){return t6(1,arguments,this),this},r.fromTo=function(t,e,i,n){return t6(2,arguments,this),this},r.set=function(t,e,i){return e.duration=0,e.parent=this,tI(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new e6(t,e,t4(this,i),1),this},r.call=function(t,e,i){return tZ(this,e6.delayedCall(0,t,e),i)},r.staggerTo=function(t,e,i,n,r,s,o){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=s,i.onCompleteParams=o,i.parent=this,new e6(t,i,t4(this,r)),this},r.staggerFrom=function(t,e,i,n,r,s,o){return i.runBackwards=1,tI(i).immediateRender=U(i.immediateRender),this.staggerTo(t,e,i,n,r,s,o)},r.staggerFromTo=function(t,e,i,n,r,s,o,a){return n.startAt=i,tI(n).immediateRender=U(n.immediateRender),this.staggerTo(t,e,n,r,s,o,a)},r.render=function(t,e,i){var n,r,s,o,a,l,u,h,c,d,p,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:tP(t),x=this._zTime<0!=t<0&&(this._initted||!v);if(this!==w&&y>g&&t>=0&&(y=g),y!==this._tTime||i||x){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),n=y,c=this._start,l=!(h=this._ts),x&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,a=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,i);if(n=tP(y%a),y===g?(o=this._repeat,n=v):((o=~~(d=tP(y/a)))&&o===d&&(n=v,o--),n>v&&(n=v)),d=t$(this._tTime,a),!m&&this._tTime&&d!==o&&this._tTime-d*a-this._dur<=0&&(d=o),p&&1&o&&(n=v-n,f=1),o!==d&&!this._lock){var b=p&&1&d,T=b===(p&&1&o);if(o<d&&(b=!b),m=b?0:y%v?v:y,this._lock=1,this.render(m||(f?0:tP(o*a)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&em(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1,d=o),m&&m!==this._time||!this._ts!==l||this.vars.onRepeat&&!this.parent&&!this._act||(v=this._dur,g=this._tDur,T&&(this._lock=2,m=b?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l))return this;eL(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=t5(this,tP(m),tP(n)))&&(y-=n-(n=u._start)),this._tTime=y,this._time=n,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&y&&v&&!e&&!d&&(em(this,"onStart"),this._tTime!==y))return this;if(n>=m&&t>=0)for(r=this._first;r;){if(s=r._next,(r._act||n>=r._start)&&r._ts&&u!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(r._ts>0?(n-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(n-r._start)*r._ts,e,i),n!==this._time||!this._ts&&!l){u=0,s&&(y+=this._zTime=-1e-8);break}}r=s}else{r=this._last;for(var S=t<0?t:n;r;){if(s=r._prev,(r._act||S<=r._end)&&r._ts&&u!==r){if(r.parent!==this)return this.render(t,e,i);if(r.render(r._ts>0?(S-r._start)*r._ts:(r._dirty?r.totalDuration():r._tDur)+(S-r._start)*r._ts,e,i||_&&tC(r)),n!==this._time||!this._ts&&!l){u=0,s&&(y+=this._zTime=S?-1e-8:1e-8);break}}r=s}}if(u&&!e&&(this.pause(),u.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=c,tq(this),this.render(t,e,i);this._onUpdate&&!e&&em(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(c===this._start||Math.abs(h)!==Math.abs(this._ts
1))&&!this._lock&&((t||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&tN(this,1),e||t<0&&!m||!y&&!m&&g||(em(this,y===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom()))}return this},r.add=function(t,e){var i=this;if(j(e)||(e=t4(this,e,t)),!(t instanceof eY)){if($(t))return t.forEach(function(t){return i.add(t,e)}),this;if(I(t))return this.addLabel(t,e);if(!B(t))return this;t=e6.delayedCall(0,t)}return this!==t?tZ(this,t,e):this},r.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-1e8);for(var r=[],s=this._first;s;)s._start>=n&&(s instanceof e6?e&&r.push(s):(i&&r.push(s),t&&r.push.apply(r,s.getChildren(!0,e,i)))),s=s._next;return r},r.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},r.remove=function(t){return I(t)?this.removeLabel(t):B(t)?this.killTweensOf(t):(t.parent===this&&tz(this,t),t===this._recent&&(this._recent=this._last),tU(this))},r.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=tP(eA.time-(this._ts>0?e/this._ts:-((this.totalDuration()-e)/this._ts)))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=t4(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,i){var n=e6.delayedCall(0,e||tl,i);return n.data="isPause",this._hasPause=1,tZ(this,n,t4(this,t))},r.removePause=function(t){var e=this._first;for(t=t4(this,t);e;)e._start===t&&"isPause"===e.data&&tN(e),e=e._next},r.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),r=n.length;r--;)eG!==n[r]&&n[r].kill(t,e);return this},r.getTweensOf=function(t,e){for(var i,n=[],r=er(t),s=this._first,o=j(e);s;)s instanceof e6?tA(s._targets,r)&&(o?(!eG||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(i=s.getTweensOf(r,e)).length&&n.push.apply(n,i),s=s._next;return n},r.tweenTo=function(t,e){e=e||{};var i,n=this,r=t4(n,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,u=s.immediateRender,h=e6.to(n,tO({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(o&&"time"in o?o.time:n._time))/n.timeScale())||1e-8,onStart:function(){if(n.pause(),!i){var t=e.duration||Math.abs((r-(o&&"time"in o?o.time:n._time))/n.timeScale());h._dur!==t&&t3(h,t,0,1).render(h._time,!0,!0),i=1}a&&a.apply(h,l||[])}},e));return u?h.render(0):h},r.tweenFromTo=function(t,e,i){return this.tweenTo(e,tO({startAt:{time:t4(this,t)}},i))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),ef(this,t4(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),ef(this,t4(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},r.shiftChildren=function(t,e,i){void 0===i&&(i=0);var n,r=this._first,s=this.labels;for(t=tP(t);r;)r._start>=i&&(r._start+=t,r._end+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return tU(this)},r.invalidate=function(e){var i=this._first;for(this._lock=0;i;)i.invalidate(e),i=i._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),tU(this)},r.totalDuration=function(t){var e,i,n,r=0,s=this._last,o=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(n=this.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(i=s._start)>o&&this._sort&&s._ts&&!this._lock?(this._lock=1,tZ(this,s,i-s._delay,1)._lock=0):o=i,i<0&&s._ts&&(r-=i,(!n&&!this._dp||n&&n.smoothChildTiming)&&(this._start+=tP(i/this._ts),this._time-=i,this._tTime-=i),this.shiftChildren(-i,!1,-Infinity),o=0),s._end>r&&s._ts&&(r=s._end),s=e;t3(this,this===w&&this._time>r?this._time:r,1,1),this._dirty=0}return this._tDur},n.updateRoot=function(t){if(w._ts&&(tk(w,tH(t,w)),M=eA.frame),eA.frame>=tv){tv+=C.autoSleep||120;var e=w._first;if((!e||!e._ts)&&C.autoSleep&&eA._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||eA.sleep()}}},n}(eY);tO(eX.prototype,{_lock:0,_hasPause:0,_forcing:0});
vendor: 4,098 bytes, line 1
1var eW,e$,eH,eq,eG,eK,eZ=function(t,e,i,n,r,s,o){var a,l,u,h,c,d,p,f,m=new ip(this._pt,t,e,0,1,ia,null,r),g=0,v=0;for(m.b=i,m.e=n,i+="",n+="",(p=~n.indexOf("random("))&&(n=ed(n)),s&&(s(f=[i,n],t,e),i=f[0],n=f[1]),l=i.match(Q)||[];a=Q.exec(n);)h=a[0],c=n.substring(g,a.index),u?u=(u+1)%5:"rgba("===c.substr(-5)&&(u=1),h!==l[v++]&&(d=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:c||1===v?c:",",s:d,c:"="===h.charAt(1)?tM(d,h)-d:parseFloat(h)-d,m:u&&u<4?Math.round:0},g=Q.lastIndex);return m.c=g<n.length?n.substring(g,n.length):"",m.fp=o,(J.test(n)||p)&&(m.e=0),this._pt=m,m},eQ=function(t,e,i,n,r,s,o,a,l,u){B(n)&&(n=n(r||0,t,s));var h,c=t[e],d="get"!==i?i:B(c)?l?t[e.indexOf("set")||!B(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,p=B(c)?l?ie:it:e7;if(I(n)&&(~n.indexOf("random(")&&(n=ed(n)),"="===n.charAt(1)&&((h=tM(d,n)+(ee(d)||0))||0===h)&&(n=h)),!u||d!==n||eK)return isNaN(d*n)||""===n?(c||e in t||ts(e,n),eZ.call(this,t,e,d,n,p,a||C.stringFilter,l)):(h=new ip(this._pt,t,e,+d||0,n-(d||0),"boolean"==typeof c?io:is,0,p),l&&(h.fp=l),o&&h.modifier(o,this,t),this._pt=h)},eJ=function(t,e,i,n,r){if(B(t)&&(t=e8(t,r,e,i,n)),!N(t)||t.style&&t.nodeType||$(t)||W(t))return I(t)?e8(t,r,e,i,n):t;var s,o={};for(s in t)o[s]=e8(t[s],r,e,i,n);return o},e0=function(t,e,i,n,r,s){var o,a,l,u;if(tm[t]&&!1!==(o=new tm[t]).init(r,o.rawVars?e[t]:eJ(e[t],n,r,s,i),i,n,s)&&(i._pt=a=new ip(i._pt,r,t,0,1,o.render,o,0,o.priority),i!==A))for(l=i._ptLookup[i._targets.indexOf(r)],u=o._props.length;u--;)l[o._props[u]]=a;return o},e1=function t(e,i,n){var r,s,o,a,l,u,h,c,d,p,f,m,g,v=e.vars,x=v.ease,b=v.startAt,T=v.immediateRender,S=v.lazy,P=v.onUpdate,M=v.runBackwards,A=v.yoyoEase,E=v.keyframes,C=v.autoRevert,D=e._dur,R=e._startAt,O=e._targets,V=e.parent,F=V&&"nested"===V.data?V.vars.targets:O,L="auto"===e._overwrite&&!y,I=e.timeline;if(!I||E&&x||(x="none"),e._ease=eI(x,k.ease),e._yEase=A?eF(eI(!0===A?x:A,k.ease)):0,A&&e._yoyo&&!e._repeat&&(A=e._yEase,e._yEase=e._ease,e._ease=A),e._from=!I&&!!v.runBackwards,!I||E&&!v.stagger){if(m=(c=O[0]?tw(O[0]).harness:0)&&v[c.prop],r=tL(v,td),R&&(R._zTime<0&&R.progress(1),i<0&&M&&T&&!C?R.render(-1,!0):R.revert(M&&D?th:tu),R._lazy=0),b){if(tN(e._startAt=e6.set(O,tO({data:"isStart",overwrite:!1,parent:V,immediateRender:!0,lazy:!R&&U(S),startAt:null,delay:0,onUpdate:P&&function(){return em(e,"onUpdate")},stagger:0},b))),e._startAt._dp=0,e._startAt._sat=e,i<0&&(_||!T&&!C)&&e._startAt.revert(th),T&&D&&i<=0&&n<=0){i&&(e._zTime=i);return}}else if(M&&D&&!R)if(i&&(T=!1),o=tO({overwrite:!1,data:"isFromStart",lazy:T&&!R&&U(S),immediateRender:T,stagger:0,parent:V},r),m&&(o[c.prop]=m),tN(e._startAt=e6.set(O,o)),e._startAt._dp=0,e._startAt._sat=e,i<0&&(_?e._startAt.revert(th):e._startAt.render(-1,!0)),e._zTime=i,T){if(!i)return}else t(e._startAt,1e-8,1e-8);for(s=0,e._pt=e._ptCache=0,S=D&&U(S)||S&&!D;s<O.length;s++){if(h=(l=O[s])._gsap||tx(O)[s]._gsap,e._ptLookup[s]=p={},tf[h.id]&&tp.length&&tE(),f=F===O?s:F.indexOf(l),c&&!1!==(d=new c).init(l,m||r,e,f,F)&&(e._pt=a=new ip(e._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){p[t]=a}),d.priority&&(u=1)),!c||m)for(o in r)tm[o]&&(d=e0(o,r,e,f,l,F))?d.priority&&(u=1):p[o]=a=eQ.call(e,l,o,"get",r[o],f,F,0,v.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),L&&e._pt&&(eG=e,w.killTweensOf(l,p,e.globalTime(i)),g=!e.parent,eG=0),e._pt&&S&&(tf[h.id]=1)}u&&id(e),e._onInit&&e._onInit(e)}e._onUpdate=P,e._initted=(!e._op||e._pt)&&!g,E&&i<=0&&I.render(1e8,!0,!0)},e2=function(t,e,i,n,r,s,o,a){var l,u,h,c,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],h=t._ptLookup,c=t._targets.length;c--;){if((l=h[c][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return eK=1,t.vars[e]="+=0",e1(t,o),eK=0,a?to(e+" not eligible for reset"):1;d.push(l)}for(c=d.length;c--;)(l=(u=d[c])._pt||u).s=(n||0===n)&&!r?n:l.s+(n||0)+s*l.c,l.c=i-l.s,u.e&&(u.e=tS(i)+ee(u.e)),u.b&&(u.b=l.s+ee(u.b))},e5=function(t,e){var i,n,r,s,o=t[0]?tw(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(n in i=tV({},e),a)if(n in i)for(r=(s=a[n].split(",")).length;r--;)i[s[r]]=i[n];return i}
1,e3=function(t,e,i,n){var r,s,o=e.ease||n||"power1.inOut";if($(e))s=i[t]||(i[t]=[]),e.forEach(function(t,i){return s.push({t:i/(e.length-1)*100,v:t,e:o})});else for(r in e)s=i[r]||(i[r]=[]),"ease"===r||s.push({t:parseFloat(t),v:e[r],e:o})},e8=function(t,e,i,n,r){return B(t)?t.call(e,i,n,r):I(t)&&~t.indexOf("random(")?ed(t):t},e9=t_+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",e4={};tT(e9+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return e4[t]=1});var e6=function(t){function n(i,n,r,s){"number"==typeof n&&(r.duration=n,n=r,r=null);var o,a,l,u,h,c,d,p,f=t.call(this,s?n:tI(n))||this,m=f.vars,g=m.duration,v=m.delay,_=m.immediateRender,x=m.stagger,b=m.overwrite,T=m.keyframes,S=m.defaults,P=m.scrollTrigger,M=m.yoyoEase,A=n.parent||w,E=($(i)||W(i)?j(i[0]):"length"in n)?[i]:er(i);if(f._targets=E.length?tx(E):to("GSAP target "+i+" not found. https://gsap.com",!C.nullTargetWarn)||[],f._ptLookup=[],f._overwrite=b,T||x||X(g)||X(v)){if(n=f.vars,(o=f.timeline=new eX({data:"nested",defaults:S||{},targets:A&&"nested"===A.data?A.vars.targets:E})).kill(),o.parent=o._dp=e(f),o._start=0,x||X(g)||X(v)){if(u=E.length,d=x&&ea(x),N(x))for(h in x)~e9.indexOf(h)&&(p||(p={}),p[h]=x[h]);for(a=0;a<u;a++)(l=tL(n,e4)).stagger=0,M&&(l.yoyoEase=M),p&&tV(l,p),c=E[a],l.duration=+e8(g,e(f),a,c,E),l.delay=(+e8(v,e(f),a,c,E)||0)-f._delay,!x&&1===u&&l.delay&&(f._delay=v=l.delay,f._start+=v,l.delay=0),o.to(c,l,d?d(a,c,E):0),o._ease=eC.none;o.duration()?g=v=0:f.timeline=0}else if(T){tI(tO(o.vars.defaults,{ease:"none"})),o._ease=eI(T.ease||n.ease||"none");var k,D,R,O=0;if($(T))T.forEach(function(t){return o.to(E,t,">")}),o.duration();else{for(h in l={},T)"ease"===h||"easeEach"===h||e3(h,T[h],l,T.easeEach);for(h in l)for(a=0,k=l[h].sort(function(t,e){return t.t-e.t}),O=0;a<k.length;a++)(R={ease:(D=k[a]).e,duration:(D.t-(a?k[a-1].t:0))/100*g})[h]=D.v,o.to(E,R,O),O+=R.duration;o.duration()<g&&o.to({},{duration:g-o.duration()})}}g||f.duration(g=o.duration())}else f.timeline=0;return!0!==b||y||(eG=e(f),w.killTweensOf(E),eG=0),tZ(A,e(f),r),n.reversed&&f.reverse(),n.paused&&f.paused(!0),(_||!g&&!T&&f._start===tP(A._time)&&U(_)&&function t(e){return!e||e._ts&&t(e.parent)}(e(f))&&"nested"!==A.data)&&(f._tTime=-1e-8,f.render(Math.max(0,-v)||0)),P&&tQ(e(f),P),f}i(n,t);var r=n.prototype;return r.render=function(t,e,i){var n,r,s,o,a,l,u,h,c,d=this._time,p=this._tDur,f=this._dur,m=t<0,g=t>p-1e-8&&!m?p:t<1e-8?0:t;if(f){if(g!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(n=g,h=this.timeline,this._repeat){if(o=f+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,i);if(n=tP(g%o),g===p?(s=this._repeat,n=f):(s=~~(a=tP(g/o)))&&s===a?(n=f,s--):n>f&&(n=f),(l=this._yoyo&&1&s)&&(c=this._yEase,n=f-n),a=t$(this._tTime,o),n===d&&!i&&this._initted&&s===a)return this._tTime=g,this;s!==a&&(h&&this._yEase&&eL(h,l),this.vars.repeatRefresh&&!l&&!this._lock&&n!==o&&this._initted&&(this._lock=i=1,this.render(tP(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(tJ(this,m?t:n,i,e,g))return this._tTime=0,this;if(d!==this._time&&!(i&&this.vars.repeatRefresh&&s!==a))return this;if(f!==this._dur)return this.render(t,e,i)}if(this._tTime=g,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(c||this._ease)(n/f),this._from&&(this.ratio=u=1-u),!d&&g&&!e&&!a&&(em(this,"onStart"),this._tTime!==g))return this;for(r=this._pt;r;)r.r(u,r.d),r=r._next;h&&h.render(t<0?t:h._dur*h._ease(n/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&tX(this,t,e,i),em(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&em(this,"onRepeat"),(g===this._tDur||!g)&&this._tTime===g&&(m&&!this._onUpdate&&tX(this,t,!0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&tN(this,1),!e&&!(m&&!d)&&(g||d||l)&&(em(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else t2(this,t,e,i);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)}
1,r.resetTo=function(t,e,i,n,r){E||eA.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||e1(this,s),e2(this,t,e,i,n,this._ease(s/this._dur),s,r))?this.resetTo(t,e,i,n,1):(tG(this,0),this.parent||tj(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?eg(this):this.scrollTrigger&&this.scrollTrigger.kill(!!_),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,eG&&!0!==eG.vars.overwrite)._first||eg(this),this.parent&&i!==this.timeline.totalDuration()&&t3(this,this._dur*this.timeline._tDur/i,0,1),this}var n,r,s,o,a,l,u,h=this._targets,c=t?er(t):h,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&tB(h,c))return"all"===e&&(this._pt=0),eg(this);for(n=this._op=this._op||[],"all"!==e&&(I(e)&&(a={},tT(e,function(t){return a[t]=1}),e=a),e=e5(h,e)),u=h.length;u--;)if(~c.indexOf(h[u]))for(a in r=d[u],"all"===e?(n[u]=e,o=r,s={}):(s=n[u]=n[u]||{},o=e),o)(l=r&&r[a])&&("kill"in l.d&&!0!==l.d.kill(a)||tz(this,l,"_pt"),delete r[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&eg(this),this},n.to=function(t,e){return new n(t,e,arguments[2])},n.from=function(t,e){return t6(1,arguments)},n.delayedCall=function(t,e,i,r){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:r})},n.fromTo=function(t,e,i){return t6(2,arguments)},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e)},n.killTweensOf=function(t,e,i){return w.killTweensOf(t,e,i)},n}(eY);tO(e6.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),tT("staggerTo,staggerFrom,staggerFromTo",function(t){e6[t]=function(){var e=new eX,i=ei.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}});var e7=function(t,e,i){return t[e]=i},it=function(t,e,i){return t[e](i)},ie=function(t,e,i,n){return t[e](n.fp,i)},ii=function(t,e,i){return t.setAttribute(e,i)},ir=function(t,e){return B(t[e])?it:z(t[e])&&t.setAttribute?ii:e7},is=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},io=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ia=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},il=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},iu=function(t,e,i,n){for(var r,s=this._pt;s;)r=s._next,s.p===n&&s.modifier(t,e,i),s=r},ih=function(t){for(var e,i,n=this._pt;n;)i=n._next,(n.p!==t||n.op)&&n.op!==t?n.dep||(e=1):tz(this,n,"_pt"),n=i;return!e},ic=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},id=function(t){for(var e,i,n,r,s=t._pt;s;){for(e=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:r)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:r=s,s=e}t._pt=n},ip=function(){function t(t,e,i,n,r,s,o,a,l){this.t=e,this.s=n,this.c=r,this.p=i,this.r=s||is,this.d=o||this,this.set=a||e7,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=ic,this.m=t,this.mt=i,this.tween=e},t}();tT(t_+"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(t){return td[t]=1}),ti.TweenMax=ti.TweenLite=e6,ti.TimelineLite=ti.TimelineMax=eX,w=new eX({sortChildren:!1,defaults:k,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}
vendor: 11,860 bytes, line 1
1),C.stringFilter=eM;var im=[],ig={},iv=[],iy=0,i_=0,ix=function(t){return(ig[t]||iv).map(function(t){return t()})},iw=function(){var t=Date.now(),e=[];t-iy>2&&(ix("matchMediaInit"),im.forEach(function(t){var i,n,r,s,o=t.queries,a=t.conditions;for(n in o)(i=b.matchMedia(o[n]).matches)&&(r=1),i!==a[n]&&(a[n]=i,s=1);s&&(t.revert(),r&&e.push(t))}),ix("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),iy=t,ix("matchMedia"))},ib=function(){function t(t,e){this.selector=e&&es(e),this.data=[],this._r=[],this.isReverted=!1,this.id=i_++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,i){B(t)&&(i=e,e=t,t=B);var n=this,r=function(){var t,r=x,s=n.selector;return r&&r!==n&&r.data.push(n),i&&(n.selector=es(i)),x=n,t=e.apply(n,arguments),B(t)&&n._r.push(t),x=r,n.selector=s,n.isReverted=!1,t};return n.last=r,t===B?r(n,function(t){return n.add(null,t)}):t?n[t]=r:r},e.ignore=function(t){var e=x;x=null,t(this),x=e},e.getTweens=function(){var e=[];return this.data.forEach(function(i){return i instanceof t?e.push.apply(e,i.getTweens()):i instanceof e6&&!(i.parent&&"nested"===i.parent.data)&&e.push(i)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var i=this;if(t){for(var n,r=i.getTweens(),s=i.data.length;s--;)"isFlip"===(n=i.data[s]).data&&(n.revert(),n.getChildren(!0,!0,!1).forEach(function(t){return r.splice(r.indexOf(t),1)}));for(r.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),s=i.data.length;s--;)(n=i.data[s])instanceof eX?"nested"!==n.data&&(n.scrollTrigger&&n.scrollTrigger.revert(),n.kill()):n instanceof e6||!n.revert||n.revert(t);i._r.forEach(function(e){return e(t,i)}),i.isReverted=!0}else this.data.forEach(function(t){return t.kill&&t.kill()});if(this.clear(),e)for(var o=im.length;o--;)im[o].id===this.id&&im.splice(o,1)},e.revert=function(t){this.kill(t||{})},t}(),iT=function(){function t(t){this.contexts=[],this.scope=t,x&&x.data.push(this)}var e=t.prototype;return e.add=function(t,e,i){N(t)||(t={matches:t});var n,r,s,o=new ib(0,i||this.scope),a=o.conditions={};for(r in x&&!o.selector&&(o.selector=x.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===r?s=1:(n=b.matchMedia(t[r]))&&(0>im.indexOf(o)&&im.push(o),(a[r]=n.matches)&&(s=1),n.addListener?n.addListener(iw):n.addEventListener("change",iw));return s&&e(o,function(t){return o.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),iS={registerPlugin:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){return ey(t)})},timeline:function(t){return new eX(t)},getTweensOf:function(t,e){return w.getTweensOf(t,e)},getProperty:function(t,e,i,n){I(t)&&(t=er(t)[0]);var r=tw(t||{}).get,s=i?tR:tD;return"native"===i&&(i=""),t?e?s((tm[e]&&tm[e].get||r)(t,e,i,n)):function(e,i,n){return s((tm[e]&&tm[e].get||r)(t,e,i,n))}:t},quickSetter:function(t,e,i){if((t=er(t)).length>1){var n=t.map(function(t){return iE.quickSetter(t,e,i)}),r=n.length;return function(t){for(var e=r;e--;)n[e](t)}}t=t[0]||{};var s=tm[e],o=tw(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var n=new s;A._pt=0,n.init(t,i?e+i:e,A,0,[t]),n.render(1,n),A._pt&&il(1,A)}:o.set(t,a);return s?l:function(e){return l(t,a,i?e+i:e,o,1)}},quickTo:function(t,e,i){var n,r=iE.to(t,tO(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(t,i,n){return r.resetTo(e,t,i,n)};return s.tween=r,s},isTweening:function(t){return w.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=eI(t.ease,k.ease)),tF(k,t||{})},config:function(t){return tF(C,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!tm[t]&&!ti[t]&&to(e+" effect requires "+t+" plugin.")}),tg[e]=function(t,e,n){return i(er(t),tO(e||{},r),n)},s&&(eX.prototype[e]=function(t,i,n){return this.add(tg[e](t,N(i)?i:(n=i)&&{},this),n)})},registerEase:function(t,e){eC[t]=eI(e)},parseEase:function(t,e){return arguments.length?eI(t,e):eC},getById:function(t){return w.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,n,r=new eX(t);for(r.smoothChildTiming=U(t.smoothChildTiming),w.remove(r),r._dp=0,r._time=r._tTime=w._time,i=w._first;i;)n=i._next,(e||!(!i._dur&&i instanceof e6&&i.vars.onComplete===i._targets[0]))&&tZ(r,i,i._start-i._delay),i=n;return tZ(w,r,0),r},context:function(t,e){return t?new ib(t,e):x},matchMedia:function(t){return new iT(t)},matchMediaRefresh:function(){return im.forEach(function(t){var e,i,n=t.conditions;for(i in n)n[i]&&(n[i]=!1,e=1);e&&t.revert()})||iw()},addEventListener:function(t,e){var i=ig[t]||(ig[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=ig[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:function t(e,i,n){var r=i-e;return $(e)?ec(e,t(0,e.length),i):t7(n,function(t){return(r+(t-e)%r)%r+e})},wrapYoyo:function t(e,i,n){var r=i-e,s=2*r;return $(e)?ec(e,t(0,e.length-1),i):t7(n,function(t){return t=(s+(t-e)%s)%s||0,e+(t>r?s-t:t)})},distribute:ea,random:eh,snap:eu,normalize:function(t,e,i){return ep(t,e,0,1,i)},getUnit:ee,clamp:function(t,e,i){return t7(i,function(i){return et(t,e,i)})},splitColor:ew,toArray:er,selector:es,mapRange:ep,pipe:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(i){return t(parseFloat(i))+(e||ee(i))}},interpolate:function t(e,i,n,r){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var o,a,l,u,h,c=I(e),d={};if(!0===n&&(r=1)&&(n=null),c)e={p:e},i={p:i};else if($(e)&&!$(i)){for(a=1,l=[],h=(u=e.length)-2;a<u;a++)l.push(t(e[a-1],e[a]));u--,s=function(t){var e=Math.min(h,~~(t*=u));return l[e](t-e)},n=i}else r||(e=tV($(e)?[]:{},e));if(!l){for(o in i)eQ.call(d,e,o,"get",i[o]);s=function(t){return il(t,d)||(c?e.p:e)}}}return t7(n,s)},shuffle:eo},install:tr,effects:tg,ticker:eA,updateRoot:eX.updateRoot,plugins:tm,globalTimeline:w,core:{PropTween:ip,globals:ta,Tween:e6,Timeline:eX,Animation:eY,getCache:tw,_removeLinkedListItem:tz,reverting:function(){return _},context:function(t){return t&&x&&(x.data.push(t),t._ctx=x),x},suppressOverwrites:function(t){return y=t}}};tT("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return iS[t]=e6[t]}),eA.add(eX.updateRoot),A=iS.to({},{duration:0});var iP=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},iM=function(t,e){var i,n,r,s=t._targets;for(i in e)for(n=s.length;n--;)(r=t._ptLookup[n][i])&&(r=r.d)&&(r._pt&&(r=iP(r,i)),r&&r.modifier&&r.modifier(e[i],t,s[n],i))},iA=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,i,n){n._onInit=function(t){var n,r;if(I(i)&&(n={},tT(i,function(t){return n[t]=1}),i=n),e){for(r in n={},i)n[r]=e(i[r]);i=n}iM(t,i)}}}},iE=iS.registerPlugin({name:"attr",init:function(t,e,i,n,r){var s,o,a;for(s in this.tween=i,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],n,r,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)_?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)}},iA("roundProps",el),iA("modifiers"),iA("snap",eu))||iS;e6.version=eX.version=iE.version="3.14.2",P=1,Y()&&eE(),eC.Power0,eC.Power1,eC.Power2,eC.Power3,eC.Power4,eC.Linear,eC.Quad,eC.Cubic,eC.Quart,eC.Quint,eC.Strong,eC.Elastic,eC.Back,eC.SteppedEase,eC.Bounce,eC.Sine,eC.Expo,eC.Circ;var iC,ik,iD,iR,iO,iV,iF,iL={},iI=180/Math.PI,iB=Math.PI/180,ij=Math.atan2,iz=/([A-Z])/g,iN=/(left|right|width|margin|padding|x)/i,iU=/[\s,\(]\S/,iY={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},iX=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},iW=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},i$=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)},iH=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},iq=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},iG=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},iK=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},iZ=function(t,e,i){return t.style[e]=i},iQ=function(t,e,i){return t.style.setProperty(e,i)},iJ=function(t,e,i){return t._gsap[e]=i},i0=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},i1=function(t,e,i,n,r){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(r,s)},i2=function(t,e,i,n,r){var s=t._gsap;s[e]=i,s.renderTransform(r,s)},i5="transform",i3=i5+"Origin",i8=function t(e,i){var n=this,r=this.target,s=r.style,o=r._gsap;if(e in iL&&s){if(this.tfm=this.tfm||{},"transform"===e)return iY.transform.split(",").forEach(function(e){return t.call(n,e,i)});if(~(e=iY[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=np(r,t)}):this.tfm[e]=o.x?o[e]:np(r,e),e===i3&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(i5)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(i3,i,"")),e=i5}(s||i)&&this.props.push(e,i,s[e])},i9=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},i4=function(){var t,e,i=this.props,n=this.target,r=n.style,s=n._gsap;for(t=0;t<i.length;t+=3)i[t+1]?2===i[t+1]?n[i[t]](i[t+2]):n[i[t]]=i[t+2]:i[t+2]?r[i[t]]=i[t+2]:r.removeProperty("--"===i[t].substr(0,2)?i[t]:i[t].replace(iz,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=iV())&&t.isStart||r[i5]||(i9(r),s.zOrigin&&r[i3]&&(r[i3]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},i6=function(t,e){var i={target:t,props:[],revert:i4,save:i8};return t._gsap||iE.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return i.save(t)}),i},i7=function(t,e){var i=iC.createElementNS?iC.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):iC.createElement(t);return i&&i.style?i:iC.createElement(t)},nt=function t(e,i,n){var r=getComputedStyle(e);return r[i]||r.getPropertyValue(i.replace(iz,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&t(e,ni(i)||i,1)||""},ne="O,Moz,ms,Ms,Webkit".split(","),ni=function(t,e,i){var n=(e||iR).style,r=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);r--&&!(ne[r]+t in n););return r<0?null:(3===r?"ms":r>=0?ne[r]:"")+t},nn=function(){"undefined"!=typeof window&&window.document&&(ik=(iC=window.document).documentElement,iR=i7("div")||{style:{}},i7("div"),i3=(i5=ni(i5))+"Origin",iR.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",iF=!!ni("perspective"),iV=iE.core.reverting,iD=1)},nr=function(t){var e,i=t.ownerSVGElement,n=i7("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0);r.style.display="block",n.appendChild(r),ik.appendChild(n);try{e=r.getBBox()}catch(t){}return n.removeChild(r),ik.removeChild(n),e},ns=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},no=function(t){var e,i;try{e=t.getBBox()}catch(n){e=nr(t),i=1}return e&&(e.width||e.height)||i||(e=nr(t)),!e||e.width||e.x||e.y?e:{x:+ns(t,["x","cx","x1"])||0,y:+ns(t,["y","cy","y1"])||0,width:0,height:0}},na=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&no(t))},nl=function(t,e){if(e){var i,n=t.style;e in iL&&e!==i3&&(e=i5),n.removeProperty?(("ms"===(i=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),n.removeProperty("--"===i?e:e.replace(iz,"-$1").toLowerCase())):n.removeAttribute(e)}}
1,nu=function(t,e,i,n,r,s){var o=new ip(t._pt,e,i,0,1,s?iK:iG);return t._pt=o,o.b=n,o.e=r,t._props.push(i),o},nh={deg:1,rad:1,turn:1},nc={grid:1,flex:1},nd=function t(e,i,n,r){var s,o,a,l,u=parseFloat(n)||0,h=(n+"").trim().substr((u+"").length)||"px",c=iR.style,d=iN.test(i),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),m="px"===r,g="%"===r;if(r===h||!u||nh[r]||nh[h])return u;if("px"===h||m||(u=t(e,i,n,"px")),l=e.getCTM&&na(e),(g||"%"===h)&&(iL[i]||~i.indexOf("adius")))return s=l?e.getBBox()[d?"width":"height"]:e[f],tS(g?u/s*100:u/100*s);if(c[d?"width":"height"]=100+(m?h:r),o="rem"!==r&&~i.indexOf("adius")||"em"===r&&e.appendChild&&!p?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==iC&&o.appendChild||(o=iC.body),(a=o._gsap)&&g&&a.width&&d&&a.time===eA.time&&!a.uncache)return tS(u/a.width*100);if(g&&("height"===i||"width"===i)){var v=e.style[i];e.style[i]=100+r,s=e[f],v?e.style[i]=v:nl(e,i)}else(g||"%"===h)&&!nc[nt(o,"display")]&&(c.position=nt(e,"position")),o===e&&(c.position="static"),o.appendChild(iR),s=iR[f],o.removeChild(iR),c.position="absolute";return d&&g&&((a=tw(o)).time=eA.time,a.width=o[f]),tS(m?s*u/100:s&&u?100/s*u:0)},np=function(t,e,i,n){var r;return iD||nn(),e in iY&&"transform"!==e&&~(e=iY[e]).indexOf(",")&&(e=e.split(",")[0]),iL[e]&&"transform"!==e?(r=nP(t,n),r="transformOrigin"!==e?r[e]:r.svg?r.origin:nM(nt(t,i3))+" "+r.zOrigin+"px"):(!(r=t.style[e])||"auto"===r||n||~(r+"").indexOf("calc("))&&(r=ny[e]&&ny[e](t,e,i)||nt(t,e)||tb(t,e)||+("opacity"===e)),i&&!~(r+"").trim().indexOf(" ")?nd(t,e,r,i)+i:r},nf=function(t,e,i,n){if(!i||"none"===i){var r=ni(e,t,1),s=r&&nt(t,r,1);s&&s!==i?(e=r,i=s):"borderColor"===e&&(i=nt(t,"borderTopColor"))}var o,a,l,u,h,c,d,p,f,m,g,v=new ip(this._pt,t.style,e,0,1,ia),y=0,_=0;if(v.b=i,v.e=n,i+="","var(--"===(n+="").substring(0,6)&&(n=nt(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(c=t.style[e],t.style[e]=n,n=nt(t,e)||n,c?t.style[e]=c:nl(t,e)),eM(o=[i,n]),i=o[0],n=o[1],l=i.match(Z)||[],(n.match(Z)||[]).length){for(;a=Z.exec(n);)d=a[0],f=n.substring(y,a.index),h?h=(h+1)%5:("rgba("===f.substr(-5)||"hsla("===f.substr(-5))&&(h=1),d!==(c=l[_++]||"")&&(u=parseFloat(c)||0,g=c.substr((u+"").length),"="===d.charAt(1)&&(d=tM(u,d)+g),p=parseFloat(d),m=d.substr((p+"").length),y=Z.lastIndex-m.length,m||(m=m||C.units[e]||g,y===n.length&&(n+=m,v.e+=m)),g!==m&&(u=nd(t,e,c,m)||0),v._pt={_next:v._pt,p:f||1===_?f:",",s:u,c:p-u,m:h&&h<4||"zIndex"===e?Math.round:0});v.c=y<n.length?n.substring(y,n.length):""}else v.r="display"===e&&"none"===n?iK:iG;return J.test(n)&&(v.e=0),this._pt=v,v},nm={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ng=function(t){var e=t.split(" "),i=e[0],n=e[1]||"50%";return("top"===i||"bottom"===i||"left"===n||"right"===n)&&(t=i,i=n,n=t),e[0]=nm[i]||i,e[1]=nm[n]||n,e.join(" ")},nv=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,r,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(r=(a=a.split(",")).length;--r>-1;)iL[i=a[r]]&&(n=1,i="transformOrigin"===i?i3:i5),nl(s,i);n&&(nl(s,i5),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",nP(s,1),l.uncache=1,i9(o)))}},ny={clearProps:function(t,e,i,n,r){if("isFromStart"!==r.data){var s=t._pt=new ip(t._pt,e,i,0,0,nv);return s.u=n,s.pr=-10,s.tween=r,t._props.push(i),1}}},n_=[1,0,0,1,0,0],nx={},nw=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},nb=function(t){var e=nt(t,i5);return nw(e)?n_:e.substr(7).match(K).map(tS)},nT=function(t,e){var i,n,r,s,o=t._gsap||tw(t),a=t.style,l=nb(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(r=t.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?n_:l:(l!==n_||t.offsetParent||t===ik||o.svg||(r=a.display,a.display="block",(i=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,ik.appendChild(t)),l=nb(t),r?a.display=r:nl(t,"display"),s&&(n?i.insertBefore(t,n):i?i.appendChild(t):ik.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},nS=function(t,e,i,n,r,s){var o,a,l,u,h=t._gsap,c=r||nT(t,!0),d=h.xOrigin||0,p=
1h.yOrigin||0,f=h.xOffset||0,m=h.yOffset||0,g=c[0],v=c[1],y=c[2],_=c[3],x=c[4],w=c[5],b=e.split(" "),T=parseFloat(b[0])||0,S=parseFloat(b[1])||0;i?c!==n_&&(a=g*_-v*y)&&(l=_/a*T+-y/a*S+(y*w-_*x)/a,u=-v/a*T+g/a*S-(g*w-v*x)/a,T=l,S=u):(T=(o=no(t)).x+(~b[0].indexOf("%")?T/100*o.width:T),S=o.y+(~(b[1]||b[0]).indexOf("%")?S/100*o.height:S)),n||!1!==n&&h.smooth?(h.xOffset=f+((x=T-d)*g+(w=S-p)*y)-x,h.yOffset=m+(x*v+w*_)-w):h.xOffset=h.yOffset=0,h.xOrigin=T,h.yOrigin=S,h.smooth=!!n,h.origin=e,h.originIsAbsolute=!!i,t.style[i3]="0px 0px",s&&(nu(s,h,"xOrigin",d,T),nu(s,h,"yOrigin",p,S),nu(s,h,"xOffset",f,h.xOffset),nu(s,h,"yOffset",m,h.yOffset)),t.setAttribute("data-svg-origin",T+" "+S)},nP=function(t,e){var i=t._gsap||new eU(t);if("x"in i&&!e&&!i.uncache)return i;var n,r,s,o,a,l,u,h,c,d,p,f,m,g,v,y,_,x,w,b,T,S,P,M,A,E,k,D,R,O,V,F,L=t.style,I=i.scaleX<0,B=getComputedStyle(t),j=nt(t,i3)||"0";return n=r=s=l=u=h=c=d=p=0,o=a=1,i.svg=!!(t.getCTM&&na(t)),B.translate&&(("none"!==B.translate||"none"!==B.scale||"none"!==B.rotate)&&(L[i5]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[i5]?B[i5]:"")),L.scale=L.rotate=L.translate="none"),g=nT(t,i.svg),i.svg&&(i.uncache?(A=t.getBBox(),j=i.xOrigin-A.x+"px "+(i.yOrigin-A.y)+"px",M=""):M=!e&&t.getAttribute("data-svg-origin"),nS(t,M||j,!!M||i.originIsAbsolute,!1!==i.smooth,g)),f=i.xOrigin||0,m=i.yOrigin||0,g!==n_&&(x=g[0],w=g[1],b=g[2],T=g[3],n=S=g[4],r=P=g[5],6===g.length?(o=Math.sqrt(x*x+w*w),a=Math.sqrt(T*T+b*b),l=x||w?ij(w,x)*iI:0,(c=b||T?ij(b,T)*iI+l:0)&&(a*=Math.abs(Math.cos(c*iB))),i.svg&&(n-=f-(f*x+m*b),r-=m-(f*w+m*T))):(F=g[6],O=g[7],k=g[8],D=g[9],R=g[10],V=g[11],n=g[12],r=g[13],s=g[14],u=(v=ij(F,R))*iI,v&&(M=S*(y=Math.cos(-v))+k*(_=Math.sin(-v)),A=P*y+D*_,E=F*y+R*_,k=-(S*_)+k*y,D=-(P*_)+D*y,R=-(F*_)+R*y,V=-(O*_)+V*y,S=M,P=A,F=E),h=(v=ij(-b,R))*iI,v&&(M=x*(y=Math.cos(-v))-k*(_=Math.sin(-v)),A=w*y-D*_,E=b*y-R*_,V=T*_+V*y,x=M,w=A,b=E),l=(v=ij(w,x))*iI,v&&(M=x*(y=Math.cos(v))+w*(_=Math.sin(v)),A=S*y+P*_,w=w*y-x*_,P=P*y-S*_,x=M,S=A),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,h=180-h),o=tS(Math.sqrt(x*x+w*w+b*b)),a=tS(Math.sqrt(P*P+F*F)
1),c=Math.abs(v=ij(S,P))>2e-4?v*iI:0,p=V?1/(V<0?-V:V):0),i.svg&&(M=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!nw(nt(t,i5)),M&&t.setAttribute("transform",M))),Math.abs(c)>90&&270>Math.abs(c)&&(I?(o*=-1,c+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),e=e||i.uncache,i.x=n-((i.xPercent=n&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=r-((i.yPercent=r&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-r)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=s+"px",i.scaleX=tS(o),i.scaleY=tS(a),i.rotation=tS(l)+"deg",i.rotationX=tS(u)+"deg",i.rotationY=tS(h)+"deg",i.skewX=c+"deg",i.skewY=d+"deg",i.transformPerspective=p+"px",(i.zOrigin=parseFloat(j.split(" ")[2])||!e&&i.zOrigin||0)&&(L[i3]=nM(j)),i.xOffset=i.yOffset=0,i.force3D=C.force3D,i.renderTransform=i.svg?nD:iF?nk:nE,i.uncache=0,i},nM=function(t){return(t=t.split(" "))[0]+" "+t[1]},nA=function(t,e,i){var n=ee(e);return tS(parseFloat(e)+parseFloat(nd(t,"x",i+"px",n)))+n},nE=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,nk(t,e)},nC="0deg",nk=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,s=i.x,o=i.y,a=i.z,l=i.rotation,u=i.rotationY,h=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,f=i.scaleY,m=i.transformPerspective,g=i.force3D,v=i.target,y=i.zOrigin,_="",x="auto"===g&&t&&1!==t||!0===g;if(y&&(h!==nC||u!==nC)){var w,b=parseFloat(u)*iB,T=Math.sin(b),S=Math.cos(b);s=nA(v,s,-(T*(w=Math.cos(b=parseFloat(h)*iB))*y)),o=nA(v,o,-(-Math.sin(b)*y)),a=nA(v,a,-(S*w*y)+y)}"0px"!==m&&(_+="perspective("+m+") "),(n||r)&&(_+="translate("+n+"%, "+r+"%) "),(x||"0px"!==s||"0px"!==o||"0px"!==a)&&(_+="0px"!==a||x?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),l!==nC&&(_+="rotate("+l+") "),u!==nC&&(_+="rotateY("+u+") "),h!==nC&&(_+="rotateX("+h+") "),(c!==nC||d!==nC)&&(_+="skew("+c+", "+d+") "),(1!==p||1!==f)&&(_+="scale("+p+", "+f+") "),v.style[i5]=_||"translate(0, 0)"},nD=function(t,e){var i,n,r,s,o,a=e||this,l=a.xPercent,u=a.yPercent,h=a.x,c=a.y,d=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,_=a.yOrigin,x=a.xOffset,w=a.yOffset,b=a.forceCSS,T=parseFloat(h),S=parseFloat(c);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=iB,p*=iB,i=Math.cos(d)*m,n=Math.sin(d)*m,r=-(Math.sin(d-p)*g),s=Math.cos(d-p)*g,p&&(f*=iB,r*=o=Math.sqrt(1+(o=Math.tan(p-f))*o),s*=o,f&&(i*=o=Math.sqrt(1+(o=Math.tan(f))*o),n*=o)),i=tS(i),n=tS(n),r=tS(r),s=tS(s)):(i=m,s=g,n=r=0),(T&&!~(h+"").indexOf("px")||S&&!~(c+"").indexOf("px"))&&(T=nd(v,"x",h,"px"),S=nd(v,"y",c,"px")),(y||_||x||w)&&(T=tS(T+y-(y*i+_*r)+x),S=tS(S+_-(y*n+_*s)+w)),(l||u)&&(T=tS(T+l/100*(o=v.getBBox()).width),S=tS(S+u/100*o.height)),o="matrix("+i+","+n+","+r+","+s+","+T+","+S+")",v.setAttribute("transform",o),b&&(v.style[i5]=o)},nR=function(t,e,i,n,r){var s,o,a=I(r),l=parseFloat(r)*(a&&~r.indexOf("rad")?iI:1)-n,u=n+l+"deg";return a&&("short"===(s=r.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),t._pt=o=new ip(t._pt,e,i,n,l,iW),o.e=u,o.u="deg",t._props.push(i),o},nO=function(t,e){for(var i in e)t[i]=e[i];return t},nV=function(t,e,i){var n,r,s,o,a,l,u,h=nO({},i._gsap),c=i.style;for(r in h.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),c[i5]=e,n=nP(i,1),nl(i,i5),i.setAttribute("transform",s)):(s=getComputedStyle(i)[i5],c[i5]=e,n=nP(i,1),c[i5]=s),iL)(s=h[r])!==(o=n[r])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)&&(a=ee(s)!==(u=ee(o))?nd(i,r,s,u):parseFloat(s),l=parseFloat(o),t._pt=new ip(t._pt,n,r,a,l-a,iX),t._pt.u=u||0,t._props.push(r));nO(n,h)};tT("padding,margin,Width,Radius",function(t,e){var i="Right",n="Bottom",r="Left",s=(e<3?["Top",i,n,r]:["Top"+r,"Top"+i,n+i,n+r]).map(function(i){return e<2?t+i:"border"+i+t});ny[e>1?"border"+t:t]=function(t,e,i,n,r){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(e){return np(t,e,i)})).join(" ")).split(o[0]).length?o[0]:a;o=(n+"").split(" "),a={},s.forEach(function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]}),t.init(e,a,r)}});var nF={name:"css",register:nn,targetTest:function(t){return t.style&&t.nodeType}
1,init:function(t,e,i,n,r){var s,o,a,l,u,h,c,d,p,f,m,g,v,y,_,x,w,b=this._props,T=t.style,S=i.vars.startAt;for(c in iD||nn(),this.styles=this.styles||i6(t),x=this.styles.props,this.tween=i,e)if("autoRound"!==c&&(o=e[c],!(tm[c]&&e0(c,e,i,n,t,r)))){if(u=typeof o,h=ny[c],"function"===u&&(u=typeof(o=o.call(i,n,t,r))),"string"===u&&~o.indexOf("random(")&&(o=ed(o)),h)h(this,t,c,o,i)&&(_=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),o+="",eS.lastIndex=0,!eS.test(s)&&(d=ee(s),(p=ee(o))?d!==p&&(s=nd(t,c,s,p)+p):d&&(o+=d)),this.add(T,"setProperty",s,o,n,r,0,0,c),b.push(c),x.push(c,0,T[c]);else if("undefined"!==u){if(S&&c in S?(I(s="function"==typeof S[c]?S[c].call(i,n,t,r):S[c])&&~s.indexOf("random(")&&(s=ed(s)),ee(s+"")||"auto"===s||(s+=C.units[c]||ee(np(t,c))||""),"="===(s+"").charAt(1)&&(s=np(t,c))):s=np(t,c),l=parseFloat(s),(f="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),c in iY&&("autoAlpha"===c&&(1===l&&"hidden"===np(t,"visibility")&&a&&(l=0),x.push("visibility",0,T.visibility),nu(this,T,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==c&&"transform"!==c&&~(c=iY[c]).indexOf(",")&&(c=c.split(",")[0])),m=c in iL){if(this.styles.save(c),w=o,"string"===u&&"var(--"===o.substring(0,6)){if("calc("===(o=nt(t,o.substring(4,o.indexOf(")")))).substring(0,5)){var P=t.style.perspective;t.style.perspective=o,o=nt(t,"perspective"),P?t.style.perspective=P:nl(t,"perspective")}a=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||nP(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new ip(this._pt,T,i5,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===c)this._pt=new ip(this._pt,v,"scaleY",v.scaleY,(f?tM(v.scaleY,f+a):a)-v.scaleY||0,iX),this._pt.u=0,b.push("scaleY",c),c+="X";else if("transformOrigin"===c){x.push(i3,0,T[i3]),o=ng(o),v.svg?nS(t,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&nu(this,v,"zOrigin",v.zOrigin,p),nu(this,T,c,nM(s),nM(o)));continue}else if("svgOrigin"===c){nS(t,o,1,y,0,this);continue}else if(c in nx){nR(this,v,c,l,f?tM(l,f+o):o);continue}else if("smoothOrigin"===c){nu(this,v,"smooth",v.smooth,o);continue}else if("force3D"===c){v[c]=o;continue}else if("transform"===c){nV(this,o,t);continue}}else c in T||(c=ni(c)||c);if(m||(a||0===a)&&(l||0===l)&&!iU.test(o)&&c in T)d=(s+"").substr((l+"").length),a||(a=0),p=ee(o)||(c in C.units?C.units[c]:d),d!==p&&(l=nd(t,c,s,p)),this._pt=new ip(this._pt,m?v:T,c,l,(f?tM(l,f+a):a)-l,!m&&("px"===p||"zIndex"===c)&&!1!==e.autoRound?iq:iX),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=iH):d!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=i$);else if(c in T)nf.call(this,t,c,s,f?f+o:o);else if(c in t)this.add(t,c,s||t[c],f?f+o:o,n,r);else if("parseTransform"!==c){ts(c,o);continue}m||(c in T?x.push(c,0,T[c]):"function"==typeof t[c]?x.push(c,2,t[c]()):x.push(c,1,s||t[c])),b.push(c)}}_&&id(this)},render:function(t,e){if(e.tween._time||!iV())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:np,aliases:iY,getSetter:function(t,e,i){var n=iY[e];return n&&0>n.indexOf(",")&&(e=n),e in iL&&e!==i3&&(t._gsap.x||np(t,"x"))?i&&iO===i?"scale"===e?i0:iJ:(iO=i||{},"scale"===e?i1:i2):t.style&&!z(t.style[e])?iZ:~e.indexOf("-")?iQ:ir(t,e)},core:{_removeProperty:nl,_getMatrix:nT}};iE.utils.checkPrefix=ni,iE.core.getStyleSaver=i6,nB=tT("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(nI="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){iL[t]=1}),tT(nI,function(t){C.units[t]="deg",nx[t]=1}),iY[nB[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+nI,tT("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");iY[e[1]]=nB[e[0]]}),tT("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){C.units[t]="px"}),iE.registerPlugin(nF);var nL=iE.registerPlugin(nF)||iE;nL.core.Tween,t.s(["default",()=>nL,"gsap",()=>nL],989970);var nI,nB,nj,nz,nN,nU,nY,nX,nW,n$,nH,nq,nG,nK,nZ,nQ=function(){return nj||"undefined"!=typeof window&&(nj=window.gsap)&&nj.registerPlugin&&nj},nJ=1,n0=[],n1=[],n2=[],n5=Date.now,n3=function(t,e){return e},n8=function(){var t=nH.core,e=t.bridge||{},i=t._scrollers,n=t._proxies;i.push.apply(i,n1),n.push.apply(n,n2),n1=i,n2=n,n3=function(t,i){return e[t](i)}},n9=function(t,e){return~n2.indexOf(t)&&n2[n2.indexOf(t)+1][e]},n4=function(t){return!!~nq.indexOf(t)}
1,n6=function(t,e,i,n,r){return t.addEventListener(e,i,{passive:!1!==n,capture:!!r})},n7=function(t,e,i,n){return t.removeEventListener(e,i,!!n)},rt="scrollLeft",re="scrollTop",ri=function(){return nG&&nG.isPressed||n1.cache++},rn=function(t,e){var i=function i(n){if(n||0===n){nJ&&(nN.history.scrollRestoration="manual");var r=nG&&nG.isPressed;t(n=i.v=Math.round(n)||(nG&&nG.iOS?1:0)),i.cacheID=n1.cache,r&&n3("ss",n)}else(e||n1.cache!==i.cacheID||n3("ref"))&&(i.cacheID=n1.cache,i.v=t());return i.v+i.offset};return i.offset=0,t&&i},rr={s:rt,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:rn(function(t){return arguments.length?nN.scrollTo(t,rs.sc()):nN.pageXOffset||nU[rt]||nY[rt]||nX[rt]||0})},rs={s:re,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:rr,sc:rn(function(t){return arguments.length?nN.scrollTo(rr.sc(),t):nN.pageYOffset||nU[re]||nY[re]||nX[re]||0})},ro=function(t,e){return(e&&e._ctx&&e._ctx.selector||nj.utils.toArray)(t)[0]||("string"==typeof t&&!1!==nj.config().nullTargetWarn?console.warn("Element not found:",t):null)},ra=function(t,e){for(var i=e.length;i--;)if(e[i]===t||e[i].contains(t))return!0;return!1},rl=function(t,e){var i=e.s,n=e.sc;n4(t)&&(t=nU.scrollingElement||nY);var r=n1.indexOf(t),s=n===rs.sc?1:2;~r||(r=n1.push(t)-1),n1[r+s]||n6(t,"scroll",ri);var o=n1[r+s],a=o||(n1[r+s]=rn(n9(t,i),!0)||(n4(t)?n:rn(function(e){return arguments.length?t[i]=e:t[i]})));return a.target=t,o||(a.smooth="smooth"===nj.getProperty(t,"scrollBehavior")),a},ru=function(t,e,i){var n=t,r=t,s=n5(),o=s,a=e||50,l=Math.max(500,3*a),u=function(t,e){var l=n5();e||l-s>a?(r=n,n=t,o=s,s=l):i?n+=t:n=r+(t-r)/(l-o)*(s-o)};return{update:u,reset:function(){r=n=i?0:n,o=s=0},getVelocity:function(t){var e=o,a=r,h=n5();return(t||0===t)&&t!==n&&u(t),s===o||h-o>l?0:(n+(i?a:-a))/((i?h:s)-e)*1e3}}},rh=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},rc=function(t){var e=Math.max.apply(Math,t),i=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(i)?e:i},rd=function(){(nH=nj.core.globals().ScrollTrigger)&&nH.core&&n8()},rp=function(t){return nj=t||nQ(),!nz&&nj&&"undefined"!=typeof document&&document.body&&(nN=window,nY=(nU=document).documentElement,nX=nU.body,nq=[nN,nU,nY,nX],nj.utils.clamp,nZ=nj.core.context||function(){},n$="onpointerenter"in nX?"pointer":"mouse",nW=rf.isTouch=nN.matchMedia&&nN.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in nN||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),nK=rf.eventTypes=("ontouchstart"in nY?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in nY)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return nJ=0},500),rd(),nz=1),nz};rr.op=rs,n1.cache=0;var rf=function(){var t;function e(t){this.init(t)}return e.prototype.init=function(t){nz||rp(nj)||console.warn("Please gsap.registerPlugin(Observer)"),nH||rd();var e=t.tolerance,i=t.dragMinimum,n=t.type,r=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,l=t.onStop,u=t.onStopDelay,h=t.ignore,c=t.wheelSpeed,d=t.event,p=t.onDragStart,f=t.onDragEnd,m=t.onDrag,g=t.onPress,v=t.onRelease,y=t.onRight,_=t.onLeft,x=t.onUp,w=t.onDown,b=t.onChangeX,T=t.onChangeY,S=t.onChange,P=t.onToggleX,M=t.onToggleY,A=t.onHover,E=t.onHoverEnd,C=t.onMove,k=t.ignoreCheck,D=t.isNormalizer,R=t.onGestureStart,O=t.onGestureEnd,V=t.onWheel,F=t.onEnable,L=t.onDisable,I=t.onClick,B=t.scrollSpeed,j=t.capture,z=t.allowClicks,N=t.lockAxis,U=t.onLockAxis;this.target=r=ro(r)||nY,this.vars=t,h&&(h=nj.utils.toArray(h)),e=e||1e-9,i=i||0,c=c||1,B=B||1,n=n||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(nN.getComputedStyle(nX).lineHeight)||22);var Y,X,W,$,H,q,G,K=this,Z=0,Q=0,J=t.passive||!a&&!1!==t.passive,tt=rl(r,rr),te=rl(r,rs),ti=tt(),tn=te(),tr=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===nK[0],ts=n4(r),to=r.ownerDocument||nU,ta=[0,0,0],tl=[0,0,0],tu=0,th=function(){return tu=n5()},tc=function(t,e){return(K.event=t)&&h&&ra(t.target,h)||e&&tr&&"touch"!==t.pointerType||
vendor: 13,199 bytes, line 1
1k&&k(t,e)},td=function(){var t=K.deltaX=rc(ta),i=K.deltaY=rc(tl),n=Math.abs(t)>=e,r=Math.abs(i)>=e;S&&(n||r)&&S(K,t,i,ta,tl),n&&(y&&K.deltaX>0&&y(K),_&&K.deltaX<0&&_(K),b&&b(K),P&&K.deltaX<0!=Z<0&&P(K),Z=K.deltaX,ta[0]=ta[1]=ta[2]=0),r&&(w&&K.deltaY>0&&w(K),x&&K.deltaY<0&&x(K),T&&T(K),M&&K.deltaY<0!=Q<0&&M(K),Q=K.deltaY,tl[0]=tl[1]=tl[2]=0),($||W)&&(C&&C(K),W&&(p&&1===W&&p(K),m&&m(K),W=0),$=!1),q&&(q=!1,1)&&U&&U(K),H&&(V(K),H=!1),Y=0},tp=function(t,e,i){ta[i]+=t,tl[i]+=e,K._vx.update(t),K._vy.update(e),o?Y||(Y=requestAnimationFrame(td)):td()},tf=function(t,e){N&&!G&&(K.axis=G=Math.abs(t)>Math.abs(e)?"x":"y",q=!0),"y"!==G&&(ta[2]+=t,K._vx.update(t,!0)),"x"!==G&&(tl[2]+=e,K._vy.update(e,!0)),o?Y||(Y=requestAnimationFrame(td)):td()},tm=function(t){if(!tc(t,1)){var e=(t=rh(t,a)).clientX,n=t.clientY,r=e-K.x,s=n-K.y,o=K.isDragging;K.x=e,K.y=n,(o||(r||s)&&(Math.abs(K.startX-e)>=i||Math.abs(K.startY-n)>=i))&&(W||(W=o?2:1),o||(K.isDragging=!0),tf(r,s))}},tg=K.onPress=function(t){tc(t,1)||t&&t.button||(K.axis=G=null,X.pause(),K.isPressed=!0,t=rh(t),Z=Q=0,K.startX=K.x=t.clientX,K.startY=K.y=t.clientY,K._vx.reset(),K._vy.reset(),n6(D?r:to,nK[1],tm,J,!0),K.deltaX=K.deltaY=0,g&&g(K))},tv=K.onRelease=function(t){if(!tc(t,1)){n7(D?r:to,nK[1],tm,!0);var e=!isNaN(K.y-K.startY),i=K.isDragging,n=i&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),s=rh(t);!n&&e&&(K._vx.reset(),K._vy.reset(),a&&z&&nj.delayedCall(.08,function(){if(n5()-tu>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(to.createEvent){var e=to.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,nN,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),K.isDragging=K.isGesturing=K.isPressed=!1,l&&i&&!D&&X.restart(!0),W&&td(),f&&i&&f(K),v&&v(K,n)}},ty=function(t){return t.touches&&t.touches.length>1&&(K.isGesturing=!0)&&R(t,K.isDragging)},t_=function(){return K.isGesturing=!1,O(K)},tx=function(t){if(!tc(t)){var e=tt(),i=te();tp((e-ti)*B,(i-tn)*B,1),ti=e,tn=i,l&&X.restart(!0)}},tw=function(t){if(!tc(t)){t=rh(t,a),V&&(H=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?nN.innerHeight:1)*c;tp(t.deltaX*e,t.deltaY*e,0),l&&!D&&X.restart(!0)}},tb=function(t){if(!tc(t)){var e=t.clientX,i=t.clientY,n=e-K.x,r=i-K.y;K.x=e,K.y=i,$=!0,l&&X.restart(!0),(n||r)&&tf(n,r)}},tT=function(t){K.event=t,A(K)},tS=function(t){K.event=t,E(K)},tP=function(t){return tc(t)||rh(t,a)&&I(K)};X=K._dc=nj.delayedCall(u||.25,function(){K._vx.reset(),K._vy.reset(),X.pause(),l&&l(K)}).pause(),K.deltaX=K.deltaY=0,K._vx=ru(0,50,!0),K._vy=ru(0,50,!0),K.scrollX=tt,K.scrollY=te,K.isDragging=K.isGesturing=K.isPressed=!1,nZ(this),K.enable=function(t){return!K.isEnabled&&(n6(ts?to:r,"scroll",ri),n.indexOf("scroll")>=0&&n6(ts?to:r,"scroll",tx,J,j),n.indexOf("wheel")>=0&&n6(r,"wheel",tw,J,j),(n.indexOf("touch")>=0&&nW||n.indexOf("pointer")>=0)&&(n6(r,nK[0],tg,J,j),n6(to,nK[2],tv),n6(to,nK[3],tv),z&&n6(r,"click",th,!0,!0),I&&n6(r,"click",tP),R&&n6(to,"gesturestart",ty),O&&n6(to,"gestureend",t_),A&&n6(r,n$+"enter",tT),E&&n6(r,n$+"leave",tS),C&&n6(r,n$+"move",tb)),K.isEnabled=!0,K.isDragging=K.isGesturing=K.isPressed=$=W=!1,K._vx.reset(),K._vy.reset(),ti=tt(),tn=te(),t&&t.type&&tg(t),F&&F(K)),K},K.disable=function(){K.isEnabled&&(n0.filter(function(t){return t!==K&&n4(t.target)}).length||n7(ts?to:r,"scroll",ri),K.isPressed&&(K._vx.reset(),K._vy.reset(),n7(D?r:to,nK[1],tm,!0)),n7(ts?to:r,"scroll",tx,j),n7(r,"wheel",tw,j),n7(r,nK[0],tg,j),n7(to,nK[2],tv),n7(to,nK[3],tv),n7(r,"click",th,!0),n7(r,"click",tP),n7(to,"gesturestart",ty),n7(to,"gestureend",t_),n7(r,n$+"enter",tT),n7(r,n$+"leave",tS),n7(r,n$+"move",tb),K.isEnabled=K.isPressed=K.isDragging=!1,L&&L(K))},K.kill=K.revert=function(){K.disable();var t=n0.indexOf(K);t>=0&&n0.splice(t,1),nG===K&&(nG=0)},n0.push(K),D&&n4(r)&&(nG=K),K.enable(d)},t=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,t),e}();rf.version="3.14.2",rf.create=function(t){return new rf(t)},rf.register=rp,rf.getAll=function(){return n0.slice()},rf.getById=function(t){return n0.filter(function(e){return e.vars.id===t})[0]},nQ()&&nj.registerPlugin(rf);var rm,rg,rv,ry,r_,rx,rw,rb,rT,rS,rP,rM,rA,rE,rC,rk,rD,rR,rO,rV,rF,rL,rI,rB,rj,rz,rN,rU,rY,rX,rW,r$,rH,rq,rG,rK,rZ,rQ,rJ=1,r0=Date.now,r1=r0(),r2=0,r5=0,r3=function(t,e,i){var n=sl(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return i["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},r8=function(t,e){return e&&(!sl(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},r9=function(){return rE=1},r4=function(){return rE=0},r6=function(t){return t},r7=function(t){return Math.round(1e5*t)/1e5||0},st=function(){return"undefined"!=typeof window},se=function(){return rm||st()&&(rm=window.gsap)&&rm.registerPlugin&&rm},si=function(t){return!!~rw.indexOf(t)},sn=function(t){return("Height"===t?rW:rv["inner"+t])||r_["client"+t]||rx["client"+t]},sr=function(t){return n9(t,"getBoundingClientRect")||(si(t)?function(){return oc.width=rv.innerWidth,oc.height=rW,oc}:function(){return sk(t)})},ss=function(t,e,i){var n=i.d,r=i.d2,s=i.a;return(s=n9(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?sn(r):t["client"+r])||0}},so=function(t,e){var i=e.s,n=e.d2,r=e.d,s=e.a;return Math.max(0,(s=n9(t,i="scroll"+n))?s()-sr(t)()[r]:si(t)?(r_[i]||rx[i])-sn(n):t[i]-t["offset"+n])},sa=function(t,e){for(var i=0;i<rO.length;i+=3)(!e||~e.indexOf(rO[i+1]))&&t(rO[i],rO[i+1],rO[i+2])},sl=function(t){return"string"==typeof t},su=function(t){return"function"==typeof t},sh=function(t){return"number"==typeof t},sc=function(t){return"object"==typeof t},sd=function(t,e,i){return t&&t.progress(+!e)&&i&&t.pause()},sp=function(t,e){if(t.enabled){var i=t._ctx?t._ctx.add(function(){return e(t)}):e(t);i&&i.totalTime&&(t.callbackAnimation=i)}},sf=Math.abs,sm="left",sg="right",sv="bottom",sy="width",s_="height",sx="Right",sw="Left",sb="Bottom",sT="padding",sS="margin",sP="Width",sM="Height",sA=function(t){return rv.getComputedStyle(t)},sE=function(t){var e=sA(t).position;t.style.position="absolute"===e||"fixed"===e?e:"relative"},sC=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},sk=function(t,e){var i=e&&"matrix(1, 0, 0, 1, 0, 0)"!==sA(t)[rC]&&rm.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect();return i&&i.progress(0).kill(),n},sD=function(t,e){var i=e.d2;return t["offset"+i]||t["client"+i]||0},sR=function(t){var e,i=[],n=t.labels,r=t.duration();for(e in n)i.push(n[e]/r);return i},sO=function(t){var e=rm.utils.snap(t),i=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return i?function(t,n,r){var s;if(void 0===r&&(r=.001),!n)return e(t);if(n>0){for(t-=r,s=0;s<i.length;s++)if(i[s]>=t)return i[s];return i[s-1]}for(s=i.length,t+=r;s--;)if(i[s]<=t)return i[s];return i[0]}:function(i,n,r){void 0===r&&(r=.001);var s=e(i);return!n||Math.abs(s-i)<r||s-i<0==n<0?s:e(n<0?i-t:i+t)}},sV=function(t,e,i,n){return i.split(",").forEach(function(i){return t(e,i,n)})},sF=function(t,e,i,n,r){return t.addEventListener(e,i,{passive:!n,capture:!!r})},sL=function(t,e,i,n){return t.removeEventListener(e,i,!!n)},sI=function(t,e,i){(i=i&&i.wheelHandler)&&(t(e,"wheel",i),t(e,"touchmove",i))},sB={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},sj={toggleActions:"play",anticipatePin:0},sz={top:0,left:0,center:.5,bottom:1,right:1},sN=function(t,e){if(sl(t)){var i=t.indexOf("="),n=~i?(t.charAt(i-1)+1)*parseFloat(t.substr(i+1)):0;~i&&(t.indexOf("%")>i&&(n*=e/100),t=t.substr(0,i-1)),t=n+(t in sz?sz[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},sU=function(t,e,i,n,r,s,o,a){var l=r.startColor,u=r.endColor,h=r.fontSize,c=r.indent,d=r.fontWeight,p=ry.createElement("div"),f=si(i)||"fixed"===n9(i,"pinType"),m=-1!==t.indexOf("scroller"),g=f?rx:i,v=-1!==t.indexOf("start"),y=v?l:u,_="border-color:"+y+";font-size:"+h+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((m||a)&&f?"fixed;":"absolute;"),(m||a||!f)&&(_+=(n===rs?sg:sv)+":"+(s+parseFloat(c))+"px;"),o&&(_+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=_,p.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+n.op.d2],sY(p,0,n,v),p},sY=function(t,e,i,n){var r={display:"block"},s=i[n?"os2":"p2"],o=i[n?"p2":"os2"];t._isFlipped=n,r[i.a+"Percent"]=n?-100:0,r[i.a]=n?"1px":0,r["border"+s+sP]=1,r["border"+o+sP]=0,r[i.p]=e+"px",rm.set(t,r)},sX=[],sW={},s$=function(){return r0()-r2>34&&(rG||(rG=requestAnimationFrame(oi)))},sH=function(){rI&&rI.isPressed&&!(rI.startX>rx.clientWidth)||(n1.cache++,rI?rG||(rG=requestAnimationFrame(oi)):oi(),r2||sJ("scrollStart"),r2=r0())},sq=function(){rz=rv.innerWidth,rj=rv.innerHeight},sG=function(t){n1.cache++,(!0===t||!rA&&!rL&&!ry.fullscreenElement&&!ry.webkitFullscreenElement&&(!rB||rz!==rv.innerWidth||Math.abs(rv.innerHeight-rj)>.25*rv.innerHeight))&&rb.restart(!0)},sK={},sZ=[],sQ=function t(){return sL(oy,"scrollEnd",t)||s7(!0)},sJ=function(t){return sK[t]&&sK[t].map(function(t){return t()})||sZ},s0=[],s1=function(t){for(var e=0;e<s0.length;e+=5)(!t||s0[e+4]&&s0[e+4].query===t)&&(s0[e].style.cssText=s0[e+1],s0[e].getBBox&&s0[e].setAttribute("transform",s0[e+2]||""),s0[e+3].uncache=1)},s2=function(){return n1.forEach(function(t){return su(t)&&++t.cacheID&&(t.rec=t())})},s5=function(t,e){var i;for(rk=0;rk<sX.length;rk++)(i=sX[rk])&&(!e||i._ctx===e)&&(t?i.kill(1):i.revert(!0,!0));r$=!0,e&&s1(e),e||sJ("revert")},s3=function(t,e){n1.cache++,(e||!rK)&&n1.forEach(function(t){return su(t)&&t.cacheID++&&(t.rec=0)}),sl(t)&&(rv.history.scrollRestoration=rY=t)},s8=0,s9=function(){if(rZ!==s8){var t=rZ=s8;requestAnimationFrame(function(){return t===s8&&s7(!0)})}},s4=function(){rx.appendChild(rX),rW=!rI&&rX.offsetHeight||rv.innerHeight,rx.removeChild(rX)},s6=function(t){return rT(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},s7=function(t,e){if(r_=ry.documentElement,rx=ry.body,rw=[rv,ry,r_,rx],r2&&!t&&!r$)return void sF(oy,"scrollEnd",sQ);s4(),rK=oy.isRefreshing=!0,r$||s2();var i=sJ("refreshInit");rV&&oy.sort(),e||s5(),n1.forEach(function(t){su(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),sX.slice(0).forEach(function(t){return t.refresh()}),r$=!1,sX.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",i=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-i),t.refresh()}}),rH=1,s6(!0),sX.forEach(function(t){var e=so(t.scroller,t._dir),i="max"===t.vars.end||t._endClamp&&t.end>e,n=t._startClamp&&t.start>=e;(i||n)&&t.setPositions(n?e-1:t.start,i?Math.max(n?e:t.start+1,e):t.end,!0)}),s6(!1),rH=0,i.forEach(function(t){return t&&t.render&&t.render(-1)}),n1.forEach(function(t){su(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),s3(rY,1),rb.pause(),s8++,rK=2,oi(2),sX.forEach(function(t){return su(t.vars.onRefresh)&&t.vars.onRefresh(t)}),rK=oy.isRefreshing=!1,sJ("refresh")},ot=0,oe=1,oi=function(t){if(2===t||!rK&&!r$){oy.isUpdating=!0,rQ&&rQ.update(0);var e=sX.length,i=r0(),n=i-r1>=50,r=e&&sX[0].scroll();if(oe=ot>r?-1:1,rK||(ot=r),n&&(r2&&!rE&&i-r2>200&&(r2=0,sJ("scrollEnd")),rP=r1,r1=i),oe<0){for(rk=e;rk-- >0;)sX[rk]&&sX[rk].update(0,n);oe=1}else for(rk=0;rk<e;rk++)sX[rk]&&sX[rk].update(0,n);oy.isUpdating=!1}rG=0},on=[sm,"top",sv,sg,sS+sb,sS+sx,sS+"Top",sS+sw,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],or=on.concat([sy,s_,"boxSizing","max"+sP,"max"+sM,"position",sS,sT,sT+"Top",sT+sx,sT+sb,sT+sw]),os=function(t,e,i){ol(i);var n=t._gsap;if(n.spacerIsNative)ol(n.spacerState);else if(t._gsap.swappedIn){var r=e.parentNode;r&&(r.insertBefore(t,e),r.removeChild(e))}t._gsap.swappedIn=!1},oo=function(t,e,i,n){if(!t._gsap.swappedIn){for(var r,s=on.length,o=e.style,a=t.style;s--;)o[r=on[s]]=i[r];o.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(o.display="inline-block"),a[sv]=a[sg]="auto",o.flexBasis=i.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[sy]=sD(t,rr)+"px",o[s_]=sD(t,rs)+"px",o[sT]=a[sS]=a.top=a[sm]="0",ol(n),a[sy]=a["max"+sP]=i[sy],a[s_]=a["max"+sM]=i[s_],a[sT]=i[sT],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},oa=/([A-Z])/g,ol=function(t){if(t){var e,i,n=t.t.style,r=t.length,s=0;for((t.t._gsap||rm.core.getCache(t.t)).uncache=1;s<r;s+=2)i=t[s+1],e=t[s],i?n[e]=i:n[e]&&n.removeProperty(e.replace(oa,"-$1").toLowerCase())}},ou=function(t){for(var e=or.length,i=t.style,n=[],r=0;r<e;
1r++)n.push(or[r],i[or[r]]);return n.t=t,n},oh=function(t,e,i){for(var n,r=[],s=t.length,o=8*!!i;o<s;o+=2)n=t[o],r.push(n,n in e?e[n]:t[o+1]);return r.t=t.t,r},oc={left:0,top:0},od=function(t,e,i,n,r,s,o,a,l,u,h,c,d,p){su(t)&&(t=t(a)),sl(t)&&"max"===t.substr(0,3)&&(t=c+("="===t.charAt(4)?sN("0"+t.substr(3),i):0));var f,m,g,v=d?d.time():0;if(d&&d.seek(0),isNaN(t)||(t*=1),sh(t))d&&(t=rm.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,c,t)),o&&sY(o,i,n,!0);else{su(e)&&(e=e(a));var y,_,x,w,b=(t||"0").split(" ");(y=sk(g=ro(e,a)||rx)||{}).left||y.top||"none"!==sA(g).display||(w=g.style.display,g.style.display="block",y=sk(g),w?g.style.display=w:g.style.removeProperty("display")),_=sN(b[0],y[n.d]),x=sN(b[1]||"0",i),t=y[n.p]-l[n.p]-u+_+r-x,o&&sY(o,x,n,i-x<20||o._isStart&&x>20),i-=i-x}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var T=t+i,S=s._isStart;f="scroll"+n.d2,sY(s,T,n,S&&T>20||!S&&(h?Math.max(rx[f],r_[f]):s.parentNode[f])<=T+1),h&&(l=sk(o),h&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+"px"))}return d&&g&&(f=sk(g),d.seek(c),m=sk(g),d._caScrollDist=f[n.p]-m[n.p],t=t/d._caScrollDist*c),d&&d.seek(v),d?t:Math.round(t)},op=/(webkit|moz|length|cssText|inset)/i,of=function(t,e,i,n){if(t.parentNode!==e){var r,s,o=t.style;if(e===rx){for(r in t._stOrig=o.cssText,s=sA(t))+r||op.test(r)||!s[r]||"string"!=typeof o[r]||"0"===r||(o[r]=s[r]);o.top=i,o.left=n}else o.cssText=t._stOrig;rm.core.getCache(t).uncache=1,e.appendChild(t)}},om=function(t,e,i){var n=e,r=n;return function(e){var s=Math.round(t());return s!==n&&s!==r&&Math.abs(s-n)>3&&Math.abs(s-r)>3&&(e=s,i&&i()),r=n,n=Math.round(e)}},og=function(t,e,i){var n={};n[e.p]="+="+i,rm.set(t,n)},ov=function(t,e){var i=rl(t,e),n="_scroll"+e.p2,r=function e(r,s,o,a,l){var u=e.tween,h=s.onComplete,c={};o=o||i();var d=om(i,o,function(){u.kill(),e.tween=0});return l=a&&l||0,a=a||r-o,u&&u.kill(),s[n]=r,s.inherit=!1,s.modifiers=c,c[n]=function(){return d(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){n1.cache++,e.tween&&oi()},s.onComplete=function(){e.tween=0,h&&h.call(u)},u=e.tween=rm.to(t,s)};return t[n]=i,i.wheelHandler=function(){return r.tween&&r.tween.kill()&&(r.tween=0)},sF(t,"wheel",i.wheelHandler),oy.isTouch&&sF(t,"touchmove",i.wheelHandler),r},oy=function(){function t(e,i){rg||t.register(rm)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),rU(this),this.init(e,i)}return t.prototype.init=function(e,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!r5){this.update=this.refresh=this.kill=r6;return}var n,r,s,o,a,l,u,h,c,d,p,f,m,g,v,y,_,x,w,b,T,S,P,M,A,E,C,k,D,R,O,V,F,L,I,B,j,z,N,U,Y,X=e=sC(sl(e)||sh(e)||e.nodeType?{trigger:e}:e,sj),W=X.onUpdate,$=X.toggleClass,H=X.id,q=X.onToggle,G=X.onRefresh,K=X.scrub,Z=X.trigger,Q=X.pin,J=X.pinSpacing,tt=X.invalidateOnRefresh,te=X.anticipatePin,ti=X.onScrubComplete,tn=X.onSnapComplete,tr=X.once,ts=X.snap,to=X.pinReparent,ta=X.pinSpacer,tl=X.containerAnimation,tu=X.fastScrollEnd,th=X.preventOverlaps,tc=e.horizontal||e.containerAnimation&&!1!==e.horizontal?rr:rs,td=!K&&0!==K,tp=ro(e.scroller||rv),tf=rm.core.getCache(tp),tm=si(tp),tg=("pinType"in e?e.pinType:n9(tp,"pinType")||tm&&"fixed")==="fixed",tv=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],ty=td&&e.toggleActions.split(" "),t_="markers"in e?e.markers:sj.markers,tx=tm?0:parseFloat(sA(tp)["border"+tc.p2+sP])||0,tw=this,tb=e.onRefreshInit&&function(){return e.onRefreshInit(tw)},tT=ss(tp,tm,tc),tS=!tm||~n2.indexOf(tp)?sr(tp):function(){return oc},tP=0,tM=0,tA=0,tE=rl(tp,tc);if(tw._startClamp=tw._endClamp=!1,tw._dir=tc,te*=45,tw.scroller=tp,tw.scroll=tl?tl.time.bind(tl):tE,l=tE(),tw.vars=e,i=i||e.animation,"refreshPriority"in e&&(rV=1,-9999===e.refreshPriority&&(rQ=tw)),tf.tweenScroll=tf.tweenScroll||{top:ov(tp,rs),left:ov(tp,rr)},tw.tweenTo=s=tf.tweenScroll[tc.p],tw.scrubDuration=function(t){(I=sh(t)&&t)?L?L.duration(t):L=rm.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:I,paused:!0,onComplete:function(){return ti&&ti(tw)}}):(L&&L.progress(1).kill(),L=0)},i&&(i.vars.lazy=!1,i._initted&&!tw.isReverted||!1!==i.vars.immediateRender&&!1!==e.immediateRender&&i.duration()&&i.render(0,!0,!0),tw.animation=i.pause(),i.scrollTrigger=tw,tw.scrubDuration(K),V=0,H||(H=i.vars.id)),ts&&((!sc(ts)||ts.push)&&(ts={snapTo:ts}),"scrollBehavior"in rx.style&&rm.set(tm?[rx,r_]:tp,{scrollBehavior:"auto"}),n1.forEach(function(t){return su(t)&&t.target===(tm?ry.scrollingElement||r_:tp)&&(t.smooth=!1)}
1),a=su(ts.snapTo)?ts.snapTo:"labels"===ts.snapTo?(n=i,function(t){return rm.utils.snap(sR(n),t)}):"labelsDirectional"===ts.snapTo?(r=i,function(t,e){return sO(sR(r))(t,e.direction)}):!1!==ts.directional?function(t,e){return sO(ts.snapTo)(t,r0()-tM<500?0:e.direction)}:rm.utils.snap(ts.snapTo),B=sc(B=ts.duration||{min:.1,max:2})?rS(B.min,B.max):rS(B,B),j=rm.delayedCall(ts.delay||I/2||.1,function(){var t=tE(),e=r0()-tM<500,n=s.tween;if((e||10>Math.abs(tw.getVelocity()))&&!n&&!rE&&tP!==t){var r,o,l=(t-h)/y,u=i&&!td?i.totalProgress():l,d=e?0:(u-F)/(r0()-rP)*1e3||0,p=rm.utils.clamp(-l,1-l,sf(d/2)*d/.185),f=l+(!1===ts.inertia?0:p),m=ts,g=m.onStart,v=m.onInterrupt,_=m.onComplete;if(sh(r=a(f,tw))||(r=f),o=Math.max(0,Math.round(h+r*y)),t<=c&&t>=h&&o!==t){if(n&&!n._initted&&n.data<=sf(o-t))return;!1===ts.inertia&&(p=r-l),s(o,{duration:B(sf(.185*Math.max(sf(f-u),sf(r-u))/d/.05||0)),ease:ts.ease||"power3",data:sf(o-t),onInterrupt:function(){return j.restart(!0)&&v&&v(tw)},onComplete:function(){tw.update(),tP=tE(),i&&!td&&(L?L.resetTo("totalProgress",r,i._tTime/i._tDur):i.progress(r)),V=F=i&&!td?i.totalProgress():tw.progress,tn&&tn(tw),_&&_(tw)}},t,p*y,o-t-p*y),g&&g(tw,s.tween)}}else tw.isActive&&tP!==t&&j.restart(!0)}).pause()),H&&(sW[H]=tw),(Y=(Z=tw.trigger=ro(Z||!0!==Q&&Q))&&Z._gsap&&Z._gsap.stRevert)&&(Y=Y(tw)),Q=!0===Q?Z:ro(Q),sl($)&&($={targets:Z,className:$}),Q&&(!1===J||J===sS||(J=(!!J||!Q.parentNode||!Q.parentNode.style||"flex"!==sA(Q.parentNode).display)&&sT),tw.pin=Q,(o=rm.core.getCache(Q)).spacer?_=o.pinState:(ta&&((ta=ro(ta))&&!ta.nodeType&&(ta=ta.current||ta.nativeElement),o.spacerIsNative=!!ta,ta&&(o.spacerState=ou(ta))),o.spacer=b=ta||ry.createElement("div"),b.classList.add("pin-spacer"),H&&b.classList.add("pin-spacer-"+H),o.pinState=_=ou(Q)),!1!==e.force3D&&rm.set(Q,{force3D:!0}),tw.spacer=b=o.spacer,E=(O=sA(Q))[J+tc.os2],S=rm.getProperty(Q),P=rm.quickSetter(Q,tc.a,"px"),oo(Q,b,O),w=ou(Q)),t_){g=sc(t_)?sC(t_,sB):sB,f=sU("scroller-start",H,tp,tc,g,0),m=sU("scroller-end",H,tp,tc,g,0,f),T=f["offset"+tc.op.d2];var tC=ro(n9(tp,"content")||tp);d=this.markerStart=sU("start",H,tC,tc,g,T,0,tl),p=this.markerEnd=sU("end",H,tC,tc,g,T,0,tl),tl&&(U=rm.quickSetter([d,p],tc.a,"px")),tg||n2.length&&!0===n9(tp,"fixedMarkers")||(sE(tm?rx:tp),rm.set([f,m],{force3D:!0}),k=rm.quickSetter(f,tc.a,"px"),R=rm.quickSetter(m,tc.a,"px"))}if(tl){var tk=tl.vars.onUpdate,tD=tl.vars.onUpdateParams;tl.eventCallback("onUpdate",function(){tw.update(0,0,1),tk&&tk.apply(tl,tD||[])})}if(tw.previous=function(){return sX[sX.indexOf(tw)-1]},tw.next=function(){return sX[sX.indexOf(tw)+1]},tw.revert=function(t,e){if(!e)return tw.kill(!0);var n=!1!==t||!tw.enabled,r=rA;n!==tw.isReverted&&(n&&(z=Math.max(tE(),tw.scroll.rec||0),tA=tw.progress,N=i&&i.progress()),d&&[d,p,f,m].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(rA=tw,tw.update(n)),!Q||to&&tw.isActive||(n?os(Q,b,_):oo(Q,b,sA(Q),C)),n||tw.update(n),rA=r,tw.isReverted=n)},tw.refresh=function(n,r,o,a){if(!rA&&tw.enabled||r){if(Q&&n&&r2)return void sF(t,"scrollEnd",sQ);!rK&&tb&&tb(tw),rA=tw,s.tween&&!o&&(s.tween.kill(),s.tween=0),L&&L.pause(),tt&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),tw.isReverted||tw.revert(!0,!0),tw._subPinOffset=!1;var g,T,P,E,k,R,O,V,F,I,B,U,Y,X=tT(),W=tS(),$=tl?tl.duration():so(tp,tc),H=y<=.01||!y,q=0,K=a||0,te=sc(o)?o.end:e.end,ti=e.endTrigger||Z,tn=sc(o)?o.start:e.start||(0!==e.start&&Z?Q?"0 0":"0 100%":0),tr=tw.pinnedContainer=e.pinnedContainer&&ro(e.pinnedContainer,tw),ts=Z&&Math.max(0,sX.indexOf(tw))||0,ta=ts;for(t_&&sc(o)&&(U=rm.getProperty(f,tc.p),Y=rm.getProperty(m,tc.p));ta-- >0;)(R=sX[ta]).end||R.refresh(0,1)||(rA=tw),(O=R.pin)&&(O===Z||O===Q||O===tr)&&!R.isReverted&&(I||(I=[]),I.unshift(R),R.revert(!0,!0)),R!==sX[ta]&&(ts--,ta--);for(su(tn)&&(tn=tn(tw)),h=od(tn=r3(tn,"start",tw),Z,X,tc,tE(),d,f,tw,W,tx,tg,$,tl,tw._startClamp&&"_startClamp")||(Q?-.001:0),su(te)&&(te=te(tw)),sl(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(sl(tn)?tn.split(" ")[0]:"")+te:(q=sN(te.substr(2),X),te=sl(tn)?tn:(tl?rm.utils.mapRange(0,tl.duration(),tl.scrollTrigger.start,tl.scrollTrigger.end,h):h)+q,ti=Z)),te=r3(te,"end",tw),c=Math.max(h,od(te||(ti?"100% 0":$),ti,X,tc,tE()+q,p,m,tw,W,tx,tg,$,tl,tw._endClamp&&"_endClamp"))||-.001,q=0,ta=ts;ta--;)(O=(R=sX[ta]||{}).pin)&&R.start-R._pinPush<=h&&!tl&&R.end>0&&(g=R.end-(tw._startClamp?Math.max(0,R.start):R.start),(O===Z&&R.start-R._pinPush<h||O===tr)&&isNaN(tn)&&(q+=g*(1-R.progress)),O===Q&&(K+=g));if(h+=q,c+=q,tw._startClamp&&(tw._startClamp+=q),tw._endClamp&&!rK&&(tw._endClamp=c||-.001,c=Math.min(c,so(tp,tc))),y=c-h||(h-=.01)&&.001,H&&(tA=rm.utils.clamp(0,1,rm.utils.normalize(h,c,z))),tw._pinPush=K,d&&q&&((g={})[tc.a]="+="+q,tr&&(g[tc.p]="-="+tE()),rm.set([d,p],g)),Q&&!(rH&&tw.end>=so(tp,tc)))g=sA(Q),E=tc===rs,P=tE(),M=parseFloat(S(tc.a))+K,!$&&c>
11&&(B={style:B=(tm?ry.scrollingElement||r_:tp).style,value:B["overflow"+tc.a.toUpperCase()]},tm&&"scroll"!==sA(rx)["overflow"+tc.a.toUpperCase()]&&(B.style["overflow"+tc.a.toUpperCase()]="scroll")),oo(Q,b,g),w=ou(Q),T=sk(Q,!0),V=tg&&rl(tp,E?rr:rs)(),J?((C=[J+tc.os2,y+K+"px"]).t=b,(ta=J===sT?sD(Q,tc)+y+K:0)&&(C.push(tc.d,ta+"px"),"auto"!==b.style.flexBasis&&(b.style.flexBasis=ta+"px")),ol(C),tr&&sX.forEach(function(t){t.pin===tr&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),tg&&tE(z)):(ta=sD(Q,tc))&&"auto"!==b.style.flexBasis&&(b.style.flexBasis=ta+"px"),tg&&((k={top:T.top+(E?P-h:V)+"px",left:T.left+(E?V:P-h)+"px",boxSizing:"border-box",position:"fixed"})[sy]=k["max"+sP]=Math.ceil(T.width)+"px",k[s_]=k["max"+sM]=Math.ceil(T.height)+"px",k[sS]=k[sS+"Top"]=k[sS+sx]=k[sS+sb]=k[sS+sw]="0",k[sT]=g[sT],k[sT+"Top"]=g[sT+"Top"],k[sT+sx]=g[sT+sx],k[sT+sb]=g[sT+sb],k[sT+sw]=g[sT+sw],x=oh(_,k,to),rK&&tE(0)),i?(F=i._initted,rF(1),i.render(i.duration(),!0,!0),A=S(tc.a)-M+y+K,D=Math.abs(y-A)>1,tg&&D&&x.splice(x.length-2,2),i.render(0,!0,!0),F||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),rF(0)):A=y,B&&(B.value?B.style["overflow"+tc.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+tc.a));else if(Z&&tE()&&!tl)for(T=Z.parentNode;T&&T!==rx;)T._pinOffset&&(h-=T._pinOffset,c-=T._pinOffset),T=T.parentNode;I&&I.forEach(function(t){return t.revert(!1,!0)}),tw.start=h,tw.end=c,l=u=rK?z:tE(),tl||rK||(l<z&&tE(z),tw.scroll.rec=0),tw.revert(!1,!0),tM=r0(),j&&(tP=-1,j.restart(!0)),rA=0,i&&td&&(i._initted||N)&&i.progress()!==N&&i.progress(N||0,!0).render(i.time(),!0,!0),(H||tA!==tw.progress||tl||tt||i&&!i._initted)&&(i&&!td&&(i._initted||tA||!1!==i.vars.immediateRender)&&i.totalProgress(tl&&h<-.001&&!tA?rm.utils.normalize(h,c,0):tA,!0),tw.progress=H||(l-h)/y===tA?0:tA),Q&&J&&(b._pinOffset=Math.round(tw.progress*A)),L&&L.invalidate(),isNaN(U)||(U-=rm.getProperty(f,tc.p),Y-=rm.getProperty(m,tc.p),og(f,tc,U),og(d,tc,U-(a||0)),og(m,tc,Y),og(p,tc,Y-(a||0))),H&&!rK&&tw.update(),!G||rK||v||(v=!0,G(tw),v=!1)}},tw.getVelocity=function(){return(tE()-u)/(r0()-rP)*1e3||0},tw.endAnimation=function(){sd(tw.callbackAnimation),i&&(L?L.progress(1):i.paused()?td||sd(i,tw.direction<0,1):sd(i,i.reversed()))},tw.labelToScroll=function(t){return i&&i.labels&&(h||tw.refresh()||h)+i.labels[t]/i.duration()*y||0},tw.getTrailing=function(t){var e=sX.indexOf(tw),i=tw.direction>0?sX.slice(0,e).reverse():sX.slice(e+1);return(sl(t)?i.filter(function(e){return e.vars.preventOverlaps===t}):i).filter(function(t){return tw.direction>0?t.end<=h:t.start>=c})},tw.update=function(t,e,n){if(!tl||n||t){var r,o,a,d,p,m,g,v=!0===rK?z:tw.scroll(),_=t?0:(v-h)/y,T=_<0?0:_>1?1:_||0,S=tw.progress;if(e&&(u=l,l=tl?tE():v,ts&&(F=V,V=i&&!td?i.totalProgress():T)),te&&Q&&!rA&&!rJ&&r2&&(!T&&h<v+(v-u)/(r0()-rP)*te?T=1e-4:1===T&&c>v+(v-u)/(r0()-rP)*te&&(T=.9999)),T!==S&&tw.enabled){if(d=(p=(r=tw.isActive=!!T&&T<1)!=(!!S&&S<1))||!!T!=!!S,tw.direction=T>S?1:-1,tw.progress=T,d&&!rA&&(o=T&&!S?0:1===T?1:1===S?2:3,td&&(a=!p&&"none"!==ty[o+1]&&ty[o+1]||ty[o],g=i&&("complete"===a||"reset"===a||a in i))),th&&(p||g)&&(g||K||!i)&&(su(th)?th(tw):tw.getTrailing(th).forEac
1h(function(t){return t.endAnimation()})),!td&&(!L||rA||rJ?i&&i.totalProgress(T,!!(rA&&(tM||t))):(L._dp._time-L._start!==L._time&&L.render(L._dp._time-L._start),L.resetTo?L.resetTo("totalProgress",T,i._tTime/i._tDur):(L.vars.totalProgress=T,L.invalidate().restart()))),Q)if(t&&J&&(b.style[J+tc.os2]=E),tg){if(d){if(m=!t&&T>S&&c+1>v&&v+1>=so(tp,tc),to)if(!t&&(r||m)){var C=sk(Q,!0),O=v-h;of(Q,rx,C.top+(tc===rs?O:0)+"px",C.left+(tc===rs?0:O)+"px")}else of(Q,b);ol(r||m?x:w),D&&T<1&&r||P(M+(1!==T||m?0:A))}}else P(r7(M+A*T));!ts||s.tween||rA||rJ||j.restart(!0),$&&(p||tr&&T&&(T<1||!rq))&&rT($.targets).forEach(function(t){return t.classList[r||tr?"add":"remove"]($.className)}),!W||td||t||W(tw),d&&!rA?(td&&(g&&("complete"===a?i.pause().totalProgress(1):"reset"===a?i.restart(!0).pause():"restart"===a?i.restart(!0):i[a]()),W&&W(tw)),(p||!rq)&&(q&&p&&sp(tw,q),tv[o]&&sp(tw,tv[o]),tr&&(1===T?tw.kill(!1,1):tv[o]=0),!p&&tv[o=1===T?1:3]&&sp(tw,tv[o])),tu&&!r&&Math.abs(tw.getVelocity())>(sh(tu)?tu:2500)&&(sd(tw.callbackAnimation),L?L.progress(1):sd(i,"reverse"===a?1:!T,1))):td&&W&&!rA&&W(tw)}if(R){var I=tl?v/tl.duration()*(tl._caScrollDist||0):v;k(I+ +!!f._isFlipped),R(I)}U&&U(-v/tl.duration()*(tl._caScrollDist||0))}},tw.enable=function(e,i){tw.enabled||(tw.enabled=!0,sF(tp,"resize",sG),tm||sF(tp,"scroll",sH),tb&&sF(t,"refreshInit",tb),!1!==e&&(tw.progress=tA=0,l=u=tP=tE()),!1!==i&&tw.refresh())},tw.getTween=function(t){return t&&s?s.tween:L},tw.setPositions=function(t,e,i,n){if(tl){var r=tl.scrollTrigger,s=tl.duration(),o=r.end-r.start;t=r.start+o*t/s,e=r.start+o*e/s}tw.refresh(!1,!1,{start:r8(t,i&&!!tw._startClamp),end:r8(e,i&&!!tw._endClamp)},n),tw.update()},tw.adjustPinSpacing=function(t){if(C&&t){var e=C.indexOf(tc.d)+1;C[e]=parseFloat(C[e])+t+"px",C[1]=parseFloat(C[1])+t+"px",ol(C)}},tw.disable=function(e,i){if(!1!==e&&tw.revert(!0,!0),tw.enabled&&(tw.enabled=tw.isActive=!1,i||L&&L.pause(),z=0,o&&(o.uncache=1),tb&&sL(t,"refreshInit",tb),j&&(j.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!tm)){for(var n=sX.length;n--;)if(sX[n].scroller===tp&&sX[n]!==tw)return;sL(tp,"resize",sG),tm||sL(tp,"scroll",sH)}},tw.kill=function(t,n){tw.disable(t,n),L&&!n&&L.kill(),H&&delete sW[H];var r=sX.indexOf(tw);r>=0&&sX.splice(r,1),r===rk&&oe>0&&rk--,r=0,sX.forEach(function(t){return t.scroller===tw.scroller&&(r=1)}),r||rK||(tw.scroll.rec=0),i&&(i.scrollTrigger=null,t&&i.revert({kill:!1}),n||i.kill()),d&&[d,p,f,m].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),rQ===tw&&(rQ=0),Q&&(o&&(o.uncache=1),r=0,sX.forEach(function(t){return t.pin===Q&&r++}),r||(o.spacer=0)),e.onKill&&e.onKill(tw)},sX.push(tw),tw.enable(!1,!1),Y&&Y(tw),i&&i.add&&!y){var tR=tw.update;tw.update=function(){tw.update=tR,n1.cache++,h||c||tw.refresh()},rm.delayedCall(.01,tw.update),y=.01,h=c=0}else tw.refresh();Q&&s9()},t.register=function(e){return rg||(rm=e||se(),st()&&window.document&&t.enable(),rg=r5),rg},t.defaults=function(t){if(t)for(var e in t)sj[e]=t[e];return sj},t.disable=function(t,e){r5=0,sX.forEach(function(i){return i[e?"kill":"disable"](t)}),sL(rv,"wheel",sH),sL(ry,"scroll",sH),clearInterval(rM),sL(ry,"touchcancel",r6),sL(rx,"touchstart",r6),sV(sL,ry,"pointerdown,touchstart,mousedown",r9),sV(sL,ry,"pointerup,touchend,mouseup",r4),rb.kill(),sa(sL);for(var i=0;i<n1.length;i+=3)sI(sL,n1[i],n1[i+1]),sI(sL,n1[i],n1[i+2])},t.enable=function(){if(rv=window,r_=(ry=document).documentElement,rx=ry.body,rm&&(rT=rm.utils.toArray,rS=rm.utils.clamp,rU=rm.core.context||r6,rF=rm.core.suppressOverwrites||r6,rY=rv.history.scrollRestoration||"auto",ot=rv.pageYOffset||0,rm.core.globals("ScrollTrigger",t),rx)){r5=1,(rX=document.createElement("div")).style.height="100vh",rX.style.position="absolute",s4(),function t(){return r5&&requestAnimationFrame(t)}(),rf.register(rm),t.isTouch=rf.isTouch,rN=rf.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),rB=1===rf.isTouch,sF(rv,"wheel",sH),rw=[rv,ry,r_,rx],rm.matchMedia?(t.matchMedia=function(t){var e,i=rm.matchMedia();for(e in t)i.add(e,t[e]);return i},rm.addEventListener("matchMediaInit",function(){s2(),s5()}),rm.addEventListener("matchMediaRevert",function(){return s1()}),rm.addEventListener("matchMedia",function(){s7(0,1),sJ("matchMedia")}),rm.matchMedia().add("(orientation: portrait)",function(){return sq(),sq})):console.warn("Requires GSAP 3.11.0 or later"),sq(),sF(ry,"scroll",sH);var e,i,n=rx.hasAttribute("style"),r=rx.style,s=r.borderTopStyle,o=rm.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",rs.m=Math.round((e=sk(rx)).top+rs.sc())||0,rr.m=Math.round(e.left+rr.sc())||0,s?r.borderTopStyle=s:r.removeProperty("border-top-style"),n||(rx.setAttribute("style",""),rx.removeAttribute("style")),rM=setInterval(s$,250),rm.delayedCall(.5,function(){return rJ=0}
vendor: 7,963 bytes, line 1
1),sF(ry,"touchcancel",r6),sF(rx,"touchstart",r6),sV(sF,ry,"pointerdown,touchstart,mousedown",r9),sV(sF,ry,"pointerup,touchend,mouseup",r4),rC=rm.utils.checkPrefix("transform"),or.push(rC),rg=r0(),rb=rm.delayedCall(.2,s7).pause(),rO=[ry,"visibilitychange",function(){var t=rv.innerWidth,e=rv.innerHeight;ry.hidden?(rD=t,rR=e):(rD!==t||rR!==e)&&sG()},ry,"DOMContentLoaded",s7,rv,"load",s7,rv,"resize",sG],sa(sF),sX.forEach(function(t){return t.enable(0,1)}),i=0;i<n1.length;i+=3)sI(sL,n1[i],n1[i+1]),sI(sL,n1[i],n1[i+2])}},t.config=function(e){"limitCallbacks"in e&&(rq=!!e.limitCallbacks);var i=e.syncInterval;i&&clearInterval(rM)||(rM=i)&&setInterval(s$,i),"ignoreMobileResize"in e&&(rB=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(sa(sL)||sa(sF,e.autoRefreshEvents||"none"),rL=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var i=ro(t),n=n1.indexOf(i),r=si(i);~n&&n1.splice(n,r?6:2),e&&(r?n2.unshift(rv,e,rx,e,r_,e):n2.unshift(i,e))},t.clearMatchMedia=function(t){sX.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,i){var n=(sl(t)?ro(t):t).getBoundingClientRect(),r=n[i?sy:s_]*e||0;return i?n.right-r>0&&n.left+r<rv.innerWidth:n.bottom-r>0&&n.top+r<rv.innerHeight},t.positionInViewport=function(t,e,i){sl(t)&&(t=ro(t));var n=t.getBoundingClientRect(),r=n[i?sy:s_],s=null==e?r/2:e in sz?sz[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0;return i?(n.left+s)/rv.innerWidth:(n.top+s)/rv.innerHeight},t.killAll=function(t){if(sX.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=sK.killAll||[];sK={},e.forEach(function(t){return t()})}},t}();oy.version="3.14.2",oy.saveStyles=function(t){return t?rT(t).forEach(function(t){if(t&&t.style){var e=s0.indexOf(t);e>=0&&s0.splice(e,5),s0.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),rm.core.getCache(t),rU())}}):s0},oy.revert=function(t,e){return s5(!t,e)},oy.create=function(t,e){return new oy(t,e)},oy.refresh=function(t){return t?sG(!0):(rg||oy.register())&&s7(!0)},oy.update=function(t){return++n1.cache&&oi(2*(!0===t))},oy.clearScrollMemory=s3,oy.maxScroll=function(t,e){return so(t,e?rr:rs)},oy.getScrollFunc=function(t,e){return rl(ro(t),e?rr:rs)},oy.getById=function(t){return sW[t]},oy.getAll=function(){return sX.filter(function(t){return"ScrollSmoother"!==t.vars.id})},oy.isScrolling=function(){return!!r2},oy.snapDirectional=sO,oy.addEventListener=function(t,e){var i=sK[t]||(sK[t]=[]);~i.indexOf(e)||i.push(e)},oy.removeEventListener=function(t,e){var i=sK[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},oy.batch=function(t,e){var i,n=[],r={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var i=[],n=[],r=rm.delayedCall(s,function(){e(i,n),i=[],n=[]}).pause();return function(t){i.length||r.restart(!0),i.push(t.trigger),n.push(t),o<=i.length&&r.progress(1)}};for(i in e)r[i]="on"===i.substr(0,2)&&su(e[i])&&"onRefreshInit"!==i?a(i,e[i]):e[i];return su(o)&&(o=o(),sF(oy,"refresh",function(){return o=e.batchMax()})),rT(t).forEach(function(t){var e={};for(i in r)e[i]=r[i];e.trigger=t,n.push(oy.create(e))}),n};var o_,ox=function(t,e,i,n){return e>n?t(n):e<0&&t(0),i>n?(n-e)/(i-e):i<0?e/(e-i):1},ow=function t(e,i){!0===i?e.style.removeProperty("touch-action"):e.style.touchAction=!0===i?"auto":i?"pan-"+i+(rf.isTouch?" pinch-zoom":""):"none",e===r_&&t(rx,i)},ob={auto:1,scroll:1},oT=function(t){var e,i=t.event,n=t.target,r=t.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,o=s._gsap||rm.core.getCache(s),a=r0();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==rx&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ob[(e=sA(s)).overflowY]||ob[e.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==n&&!si(s)&&(ob[(e=sA(s)).overflowY]||ob[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===r)&&(i.stopPropagation(),i._gsapAllow=!0)},oS=function(t,e,i,n){return rf.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&oT,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&sF(ry,rf.eventTypes[0],oM,!1,!0)},onDisable:function(){return sL(ry,rf.eventTypes[0],oM,!0)}})},oP=/(input|label|select|textarea)/i,oM=function(t){var e=oP.test(t.target.tagName);(e||o_)&&(t._gsapAllow=!0,o_=e)},oA=function(t){sc(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,i,n,r,s,o,a,l,u=t,h=u.normalizeScrollX,c=u.momentum,d=u.allowNestedScroll,p=u.onRelease,f=ro(t.target)||r_,m=rm.core.globals().ScrollSmoother,g=m&&m.get(),v=rN&&(t.content&&ro(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),y=rl(f,rs),_=rl(f,rr),x=1,w=(rf.isTouch&&rv.visualViewport?rv.visualViewport.scale*rv.visualViewport.width:rv.outerWidth)/rv.innerWidth,b=0,T=su(c)?function(){return c(e)}:function(){return c||2.8},S=oS(f,t.type,!0,d),P=function(){return r=!1},M=r6,A=r6,E=function(){i=so(f,rs),A=rS(+!!rN,i),h&&(M=rS(0,so(f,rr))),n=s8},C=function(){v._gsap.y=r7(parseFloat(v._gsap.y)+y.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},k=function(){if(r){requestAnimationFrame(P);var t=r7(e.deltaY/2),i=A(y.v-t);if(v&&i!==y.v+y.offset){y.offset=i-y.v;var n=r7((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",v._gsap.y=n+"px",y.cacheID=n1.cache,oi()}return!0}y.offset&&C(),r=!0},D=function(){E(),s.isActive()&&s.vars.scrollY>i&&(y()>i?s.progress(1)&&y(i):s.resetTo("scrollY",i))};return v&&rm.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return rN&&"touchmove"===t.type&&k(t)||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){r=!1;var t=x;x=r7((rv.visualViewport&&rv.visualViewport.scale||1)/w),s.pause(),t!==x&&ow(f,x>1.01||!h&&"x"),o=_(),a=y(),E(),n=s8},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&C(),e){n1.cache++;var n,r,o=T();h&&(r=(n=_())+-(.05*o*t.velocityX)/.227,o*=ox(_,n,r,so(f,rr)),s.vars.scrollX=M(r)),r=(n=y())+-(.05*o*t.velocityY)/.227,o*=ox(y,n,r,so(f,rs)),s.vars.scrollY=A(r),s.invalidate().duration(o).play(.01),(rN&&s.vars.scrollY>=i||n>=i-1)&&rm.to({},{onUpdate:D,duration:o})}else l.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),r0()-b>1e3&&(n=0,b=r0())},t.onChange=function(t,e,i,r,s){if(s8!==n&&E(),e&&h&&_(M(r[2]===e?o+(t.startX-t.x):_()+e-r[1])),i){y.offset&&C();var l=s[2]===i,u=l?a+t.startY-t.y:y()+i-s[1],c=A(u);l&&u!==c&&(a+=c-u),y(c)}(i||e)&&oi()},t.onEnable=function(){ow(f,!h&&"x"),oy.addEventListener("refresh",D),sF(rv,"resize",D),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=_.smooth=!1),S.enable()},t.onDisable=function(){ow(f,!0),sL(rv,"resize",D),oy.removeEventListener("refresh",D),S.kill()},t.lockAxis=!1!==t.lockAxis,(e=new rf(t)).iOS=rN,rN&&!y()&&y(1),rN&&rm.ticker.add(r6),l=e._dc,s=rm.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:h?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:om(y,y(),function(){return s.pause()})},onUpdate:oi,onComplete:l.vars.onComplete}),e};oy.sort=function(t){if(su(t))return sX.sort(t);var e=rv.pageYOffset||0;return oy.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+rv.innerHeight}),sX.sort(t||function(t,e){return -1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},oy.observe=function(t){return new rf(t)},oy.normalizeScroll=function(t){if(void 0===t)return rI;if(!0===t&&rI)return rI.enable();if(!1===t){rI&&rI.kill(),rI=t;return}var e=t instanceof rf?t:oA(t);return rI&&rI.target===e.target&&rI.kill(),si(e.target)&&(rI=e),e},oy.core={_getVelocityProp:ru,_inputObserver:oS,_scrollers:n1,_proxies:n2,bridge:{ss:function(){r2||sJ("scrollStart"),r2=r0()},ref:function(){return rA}}},se()&&rm.registerPlugin(oy),t.s(["ScrollTrigger",()=>oy],883495)}]);

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