@ndgmnt/client--nudgemoment 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +5 -1
package/dist/index.js
CHANGED
@@ -8,5 +8,5 @@
|
|
8
8
|
* via any medium, is strictly prohibited without express written permission.
|
9
9
|
* Legal action will be taken against unauthorized use.
|
10
10
|
*/
|
11
|
-
"use strict";(()=>{var xi=Object.defineProperty;var Ci=(e,t,n)=>t in e?xi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var q=(e,t,n)=>Ci(e,typeof t!="symbol"?t+"":t,n);var I=e=>e,pe=I,L=I,Z=(e,t,n)=>{let i=t-e;return i===0?1:(n-e)/i},Ut=(e,t,n)=>{let i=t-e;return((n-e)%i+i)%i+e};function Oe(e){let t;return()=>(t===void 0&&(t=e()),t)}var jt=Oe(()=>window.ScrollTimeline!==void 0),Vi=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(i=>{if(jt()&&i.attachTimeline)return i.attachTimeline(e);if(typeof t=="function")return t(i)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},me=class extends Vi{then(e,t){return Promise.all(this.animations).then(e).catch(t)}},O=e=>e*1e3,k=e=>e/1e3;function De(e,t){return e?e[t]||e.default||e:void 0}function je(e,t,n){var i;if(e instanceof Element)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let s=(i=n?.[e])!==null&&i!==void 0?i:r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}var he=2e4;function ke(e){let t=0,n=50,i=e.next(t);for(;!i.done&&t<he;)t+=n,i=e.next(t);return t>=he?1/0:t}function qt(e,t=100,n){let i=n({...e,keyframes:[0,t]}),r=Math.min(ke(i),he);return{type:"keyframes",ease:s=>i.next(r*s).value/t,duration:k(r)}}function X(e){return typeof e=="function"}function Re(e,t){e.timeline=t,e.onfinish=null}var Ai=class{constructor(e){this.animation=e}get duration(){var e,t,n;let i=((t=(e=this.animation)===null||e===void 0?void 0:e.effect)===null||t===void 0?void 0:t.getComputedTiming().duration)||((n=this.options)===null||n===void 0?void 0:n.duration)||300;return k(Number(i))}get time(){var e;return this.animation?k(((e=this.animation)===null||e===void 0?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=O(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){!this.animation||this.state==="idle"||this.state==="finished"||(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&((e=this.animation.effect)===null||e===void 0||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&Re(this.animation,e),I}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch{}}},Mi={linearEasing:void 0};function Ei(e,t){let n=Oe(e);return()=>{var i;return(i=Mi[t])!==null&&i!==void 0?i:n()}}var Y=Ei(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ie=e=>Array.isArray(e)&&typeof e[0]=="number",qe=(e,t,n=10)=>{let i="",r=Math.max(Math.round(t/n),2);for(let s=0;s<r;s++)i+=e(Z(0,r-1,s))+", ";return`linear(${i.substring(0,i.length-2)})`};function Ye(e){return!!(typeof e=="function"&&Y()||!e||typeof e=="string"&&(e in Ue||Y())||Ie(e)||Array.isArray(e)&&e.every(Ye))}var de=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ue={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:de([0,.65,.55,1]),circOut:de([.55,0,1,.45]),backIn:de([.31,.01,.66,-.59]),backOut:de([.33,1.53,.69,.99])};function Yt(e,t){if(e)return typeof e=="function"&&Y()?qe(e,t):Ie(e)?de(e):Array.isArray(e)?e.map(n=>Yt(n,t)||Ue.easeOut):Ue[e]}function Ze(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeInOut",times:u}={}){let l={[t]:n};u&&(l.offset=u);let c=Yt(o,r);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}var ge=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),N=ge("deg"),z=ge("%"),h=ge("px"),Zt=ge("vh"),Xt=ge("vw"),Xe={...z,parse:e=>z.parse(e)/100,transform:e=>z.transform(e*100)},Pe={borderWidth:h,borderTopWidth:h,borderRightWidth:h,borderBottomWidth:h,borderLeftWidth:h,borderRadius:h,radius:h,borderTopLeftRadius:h,borderTopRightRadius:h,borderBottomRightRadius:h,borderBottomLeftRadius:h,width:h,maxWidth:h,height:h,maxHeight:h,top:h,right:h,bottom:h,left:h,padding:h,paddingTop:h,paddingRight:h,paddingBottom:h,paddingLeft:h,margin:h,marginTop:h,marginRight:h,marginBottom:h,marginLeft:h,backgroundPositionX:h,backgroundPositionY:h},Fi=e=>e!==null;function J(e,{repeat:t,repeatType:n="loop"},i){let r=e.filter(Fi),s=t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}function Pi(e,t,n){e.style.setProperty(`--${t}`,n)}function Oi(e,t,n){e.style[t]=n}var Di=Oe(()=>{try{document.createElement("div").animate({opacity:[1]})}catch{return!1}return!0}),Je=Oe(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Fe=new WeakMap;function ki(e,t,n){for(let i=0;i<t.length;i++)t[i]===null&&(t[i]=i===0?n():t[i-1]),typeof t[i]=="number"&&Pe[e]&&(t[i]=Pe[e].transform(t[i]));!Di()&&t.length<2&&t.unshift(n())}var Wt="easeOut";function zt(e){let t=Fe.get(e)||new Map;return Fe.set(e,t),Fe.get(e)}var Ri=class extends Ai{constructor(e,t,n,i){let r=t.startsWith("--");L(typeof i.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "framer-motion"?`);let s=zt(e).get(t);s&&s.stop();let a=()=>t.startsWith("--")?e.style.getPropertyValue(t):window.getComputedStyle(e)[t];if(Array.isArray(n)||(n=[n]),ki(t,n,a),X(i.type)){let l=qt(i,100,i.type);i.ease=Y()?l.ease:Wt,i.duration=O(l.duration),i.type="keyframes"}else i.ease=i.ease||Wt;let o=()=>{this.setValue(e,t,J(n,i)),this.cancel(),this.resolveFinishedPromise()},u=()=>{this.setValue=r?Pi:Oi,this.options=i,this.updateFinishedPromise(),this.removeAnimation=()=>{var l;return(l=Fe.get(e))===null||l===void 0?void 0:l.delete(t)}};Je()?(super(Ze(e,t,n,i)),u(),i.autoplay===!1&&this.animation.pause(),this.animation.onfinish=o,zt(e).set(t,this)):(super(),u(),o())}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}play(){this.state==="finished"&&this.updateFinishedPromise(),super.play()}cancel(){this.removeAnimation(),super.cancel()}};function Jt(e,t,n,i){let r=je(e,i),s=r.length;L(!!s,"No valid element provided.");let a=[];for(let o=0;o<s;o++){let u=r[o],l={...n};typeof l.delay=="function"&&(l.delay=l.delay(o,s));for(let c in t){let f=t[c],d={...De(l,c)};d.duration=d.duration?O(d.duration):d.duration,d.delay=O(d.delay||0),a.push(new Ri(u,c,f,d))}}return a}var Ii=e=>{function t(n,i,r){return new me(Jt(n,i,r,e))}return t},ve=Ii(),Qe=e=>Array.isArray(e)&&typeof e[0]!="number",Q=(e,t,n)=>e+(t-e)*n;function Qt(e,t){let n=e[e.length-1];for(let i=1;i<=t;i++){let r=Z(0,t,i);e.push(Q(n,1,r))}}function et(e){let t=[0];return Qt(t,e.length-1),t}function en(e,t){return Qe(e)?e[Ut(0,e.length,t)]:e}var F=e=>!!(e&&e.getVelocity);function Le(e){return typeof e=="object"&&!Array.isArray(e)}function tt(e,t,n,i){return typeof e=="string"&&Le(t)?je(e,n,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function Li(e,t,n){return e*(t+1)}function Ht(e,t,n,i){var r;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(r=i.get(t))!==null&&r!==void 0?r:e}function tn(e,t){e.indexOf(t)===-1&&e.push(t)}function nt(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Bi(e,t,n){for(let i=0;i<e.length;i++){let r=e[i];r.at>t&&r.at<n&&(nt(e,r),i--)}}function Ni(e,t,n,i,r,s){Bi(e,r,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:Q(r,s,i[a]),easing:en(n,a)})}function _i(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function Ki(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var Wi="easeInOut",zi=20;function it(e,{defaultTransition:t={},...n}={},i,r){let s=t.duration||.3,a=new Map,o=new Map,u={},l=new Map,c=0,f=0,d=0;for(let g=0;g<e.length;g++){let v=e[g];if(typeof v=="string"){l.set(v,f);continue}else if(!Array.isArray(v)){l.set(v.name,Ht(f,v.at,c,l));continue}let[w,b,p={}]=v;p.at!==void 0&&(f=Ht(f,p.at,c,l));let T=0,E=(V,m,S,A=0,y=0)=>{let x=Hi(V),{delay:j=0,times:B=et(x),type:$e="keyframes",repeat:le,repeatType:Ca,repeatDelay:Va=0,...Si}=m,{ease:K=t.ease||"easeOut",duration:R}=m,It=typeof j=="function"?j(A,y):j,Lt=x.length,Bt=X($e)?$e:r?.[$e];if(Lt<=2&&Bt){let ue=100;if(Lt===2&&Ui(x)){let ce=x[1]-x[0];ue=Math.abs(ce)}let Me={...Si};R!==void 0&&(Me.duration=O(R));let Ee=qt(Me,ue,Bt);K=Ee.ease,R=Ee.duration}R??(R=s);let Nt=f+It;B.length===1&&B[0]===0&&(B[1]=1);let _t=B.length-x.length;if(_t>0&&Qt(B,_t),x.length===1&&x.unshift(null),le){L(le<zi,"Repeat count too high, must be less than 20"),R=Li(R,le);let ue=[...x],Me=[...B];K=Array.isArray(K)?[...K]:[K];let Ee=[...K];for(let ce=0;ce<le;ce++){x.push(...ue);for(let fe=0;fe<ue.length;fe++)B.push(Me[fe]+(ce+1)),K.push(fe===0?"linear":en(Ee,fe-1))}_i(B,le)}let Kt=Nt+R;Ni(S,x,K,B,Nt,Kt),T=Math.max(It+R,T),d=Math.max(Kt,d)};if(F(w)){let V=Gt(w,o);E(b,p,$t("default",V))}else{let V=tt(w,b,i,u),m=V.length;for(let S=0;S<m;S++){b=b,p=p;let A=V[S],y=Gt(A,o);for(let x in b)E(b[x],Gi(p,x),$t(x,y),S,m)}}c=f,f+=T}return o.forEach((g,v)=>{for(let w in g){let b=g[w];b.sort(Ki);let p=[],T=[],E=[];for(let m=0;m<b.length;m++){let{at:S,value:A,easing:y}=b[m];p.push(A),T.push(Z(0,d,S)),E.push(y||"easeOut")}T[0]!==0&&(T.unshift(0),p.unshift(p[0]),E.unshift(Wi)),T[T.length-1]!==1&&(T.push(1),p.push(null)),a.has(v)||a.set(v,{keyframes:{},transition:{}});let V=a.get(v);V.keyframes[w]=p,V.transition[w]={...t,duration:d,ease:E,times:T,...n}}}),a}function Gt(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function $t(e,t){return t[e]||(t[e]=[]),t[e]}function Hi(e){return Array.isArray(e)?e:[e]}function Gi(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var $i=e=>typeof e=="number",Ui=e=>e.every($i);var U=(e,t,n)=>n>t?t:n<e?e:n;function xn(e,t){return t?e*(1e3/t):0}var ji=5;function Cn(e,t,n){let i=Math.max(t-ji,0);return xn(n-e(i),t-i)}var M={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},nn=.001;function qi({duration:e=M.duration,bounce:t=M.bounce,velocity:n=M.velocity,mass:i=M.mass}){let r,s;pe(e<=O(M.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=U(M.minDamping,M.maxDamping,a),e=U(M.minDuration,M.maxDuration,k(e)),a<1?(r=l=>{let c=l*a,f=c*e,d=c-n,g=ot(l,a),v=Math.exp(-f);return nn-d/g*v},s=l=>{let f=l*a*e,d=f*n+n,g=Math.pow(a,2)*Math.pow(l,2)*e,v=Math.exp(-f),w=ot(Math.pow(l,2),a);return(-r(l)+nn>0?-1:1)*((d-g)*v)/w}):(r=l=>{let c=Math.exp(-l*e),f=(l-n)*e+1;return-.001+c*f},s=l=>{let c=Math.exp(-l*e),f=(n-l)*(e*e);return c*f});let o=5/e,u=Zi(r,s,o);if(e=O(e),isNaN(u))return{stiffness:M.stiffness,damping:M.damping,duration:e};{let l=Math.pow(u,2)*i;return{stiffness:l,damping:a*2*Math.sqrt(i*l),duration:e}}}var Yi=12;function Zi(e,t,n){let i=n;for(let r=1;r<Yi;r++)i=i-e(i)/t(i);return i}function ot(e,t){return e*Math.sqrt(1-t*t)}var Xi=["duration","bounce"],Ji=["stiffness","damping","mass"];function rn(e,t){return t.some(n=>e[n]!==void 0)}function Qi(e){let t={velocity:M.velocity,stiffness:M.stiffness,damping:M.damping,mass:M.mass,isResolvedFromDuration:!1,...e};if(!rn(e,Ji)&&rn(e,Xi))if(e.visualDuration){let n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,s=2*U(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:M.mass,stiffness:r,damping:s}}else{let n=qi(e);t={...t,...n,mass:M.mass},t.isResolvedFromDuration=!0}return t}function gt(e=M.visualDuration,t=M.bounce){let n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:r}=n,s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],o={done:!1,value:s},{stiffness:u,damping:l,mass:c,duration:f,velocity:d,isResolvedFromDuration:g}=Qi({...n,velocity:-k(n.velocity||0)}),v=d||0,w=l/(2*Math.sqrt(u*c)),b=a-s,p=k(Math.sqrt(u/c)),T=Math.abs(b)<5;i||(i=T?M.restSpeed.granular:M.restSpeed.default),r||(r=T?M.restDelta.granular:M.restDelta.default);let E;if(w<1){let m=ot(p,w);E=S=>{let A=Math.exp(-w*p*S);return a-A*((v+w*p*b)/m*Math.sin(m*S)+b*Math.cos(m*S))}}else if(w===1)E=m=>a-Math.exp(-p*m)*(b+(v+p*b)*m);else{let m=p*Math.sqrt(w*w-1);E=S=>{let A=Math.exp(-w*p*S),y=Math.min(m*S,300);return a-A*((v+w*p*b)*Math.sinh(y)+m*b*Math.cosh(y))/m}}let V={calculatedDuration:g&&f||null,next:m=>{let S=E(m);if(g)o.done=m>=f;else{let A=0;w<1&&(A=m===0?O(v):Cn(E,m,S));let y=Math.abs(A)<=i,x=Math.abs(a-S)<=r;o.done=y&&x}return o.value=o.done?a:S,o},toString:()=>{let m=Math.min(ke(V),he),S=qe(A=>V.next(m*A).value,m,30);return m+"ms "+S}};return V}var te=new WeakMap,ie=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],re=new Set(ie),Vn=new Set(["width","height","top","left","right","bottom",...ie]),er=e=>Array.isArray(e),tr=e=>er(e)?e[e.length-1]||0:e,nr={skipAnimations:!1,useManualTiming:!1};function ir(e){let t=new Set,n=new Set,i=!1,r=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(l){s.has(l)&&(u.schedule(l),e()),l(a)}let u={schedule:(l,c=!1,f=!1)=>{let g=f&&i?t:n;return c&&s.add(l),g.has(l)||g.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(a=l,i){r=!0;return}i=!0,[t,n]=[n,t],t.forEach(o),t.clear(),i=!1,r&&(r=!1,u.process(l))}};return u}var ye=["read","resolveKeyframes","update","preRender","render","postRender"],rr=40;function sr(e,t){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,a=ye.reduce((p,T)=>(p[T]=ir(s),p),{}),{read:o,resolveKeyframes:u,update:l,preRender:c,render:f,postRender:d}=a,g=()=>{let p=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(p-r.timestamp,rr),1),r.timestamp=p,r.isProcessing=!0,o.process(r),u.process(r),l.process(r),c.process(r),f.process(r),d.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(g))},v=()=>{n=!0,i=!0,r.isProcessing||e(g)};return{schedule:ye.reduce((p,T)=>{let E=a[T];return p[T]=(V,m=!1,S=!1)=>(n||v(),E.schedule(V,m,S)),p},{}),cancel:p=>{for(let T=0;T<ye.length;T++)a[ye[T]].cancel(p)},state:r,steps:a}}var{schedule:_,cancel:_e,state:Ke,steps:La}=sr(typeof requestAnimationFrame<"u"?requestAnimationFrame:I,!0),Ne;function ar(){Ne=void 0}var W={now:()=>(Ne===void 0&&W.set(Ke.isProcessing||nr.useManualTiming?Ke.timestamp:performance.now()),Ne),set:e=>{Ne=e,queueMicrotask(ar)}},An=class{constructor(){this.subscriptions=[]}add(e){return tn(this.subscriptions,e),()=>nt(this.subscriptions,e)}notify(e,t,n){let i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){let s=this.subscriptions[r];s&&s(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var sn=30,or=e=>!isNaN(parseFloat(e)),lr=class{constructor(e,t={}){this.version="11.18.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,i=!0)=>{let r=W.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=W.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=or(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new An);let n=this.events[e].add(t);return e==="change"?()=>{n(),_.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){let e=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>sn)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,sn);return xn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function we(e,t){return new lr(e,t)}function an(e){let t=[{},{}];return e?.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function Mn(e,t,n,i){if(typeof t=="function"){let[r,s]=an(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[r,s]=an(i);t=t(n!==void 0?n:e.custom,r,s)}return t}function ur(e,t,n){let i=e.getProps();return Mn(i,t,i.custom,e)}function cr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,we(n))}function fr(e,t){let n=ur(e,t),{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(let a in s){let o=tr(s[a]);cr(e,a,o)}}function dr(e){return!!(F(e)&&e.add)}function hr(e,t){let n=e.getValue("willChange");if(dr(n))return n.add(t)}var vt=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pr="framerAppearId",mr="data-"+vt(pr);function gr(e){return e.props[mr]}var En=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,vr=1e-7,yr=12;function br(e,t,n,i,r){let s,a,o=0;do a=t+(n-t)/2,s=En(a,i,r)-e,s>0?n=a:t=a;while(Math.abs(s)>vr&&++o<yr);return a}function xe(e,t,n,i){if(e===t&&n===i)return I;let r=s=>br(s,0,1,e,n);return s=>s===0||s===1?s:En(r(s),t,i)}var Fn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Pn=e=>t=>1-e(1-t),On=xe(.33,1.53,.69,.99),yt=Pn(On),Dn=Fn(yt),kn=e=>(e*=2)<1?.5*yt(e):.5*(2-Math.pow(2,-10*(e-1))),bt=e=>1-Math.sin(Math.acos(e)),wr=Pn(bt),Rn=Fn(bt),In=e=>/^0[^.\s]+$/u.test(e);function Tr(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||In(e):!0}var se={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Te={...se,transform:e=>U(0,1,e)},Be={...se,default:1},be=e=>Math.round(e*1e5)/1e5,wt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Sr(e){return e==null}var xr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Tt=(e,t)=>n=>!!(typeof n=="string"&&xr.test(n)&&n.startsWith(e)||t&&!Sr(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ln=(e,t,n)=>i=>{if(typeof i!="string")return i;let[r,s,a,o]=i.match(wt);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(a),alpha:o!==void 0?parseFloat(o):1}},Cr=e=>U(0,255,e),rt={...se,transform:e=>Math.round(Cr(e))},H={test:Tt("rgb","red"),parse:Ln("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+rt.transform(e)+", "+rt.transform(t)+", "+rt.transform(n)+", "+be(Te.transform(i))+")"};function Vr(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}var lt={test:Tt("#"),parse:Vr,transform:H.transform},ee={test:Tt("hsl","hue"),parse:Ln("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+z.transform(be(t))+", "+z.transform(be(n))+", "+be(Te.transform(i))+")"},P={test:e=>H.test(e)||lt.test(e)||ee.test(e),parse:e=>H.test(e)?H.parse(e):ee.test(e)?ee.parse(e):lt.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?H.transform(e):ee.transform(e)},Ar=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Mr(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(wt))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Ar))===null||n===void 0?void 0:n.length)||0)>0}var Bn="number",Nn="color",Er="var",Fr="var(",on="${}",Pr=/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 Se(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[],s=0,o=t.replace(Pr,u=>(P.test(u)?(i.color.push(s),r.push(Nn),n.push(P.parse(u))):u.startsWith(Fr)?(i.var.push(s),r.push(Er),n.push(u)):(i.number.push(s),r.push(Bn),n.push(parseFloat(u))),++s,on)).split(on);return{values:n,split:o,indexes:i,types:r}}function _n(e){return Se(e).values}function Kn(e){let{split:t,types:n}=Se(e),i=t.length;return r=>{let s="";for(let a=0;a<i;a++)if(s+=t[a],r[a]!==void 0){let o=n[a];o===Bn?s+=be(r[a]):o===Nn?s+=P.transform(r[a]):s+=r[a]}return s}}var Or=e=>typeof e=="number"?0:e;function Dr(e){let t=_n(e);return Kn(e)(t.map(Or))}var ae={test:Mr,parse:_n,createTransformer:Kn,getAnimatableNone:Dr},kr=new Set(["brightness","contrast","saturate","opacity"]);function Rr(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[i]=n.match(wt)||[];if(!i)return e;let r=n.replace(i,""),s=kr.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}var Ir=/\b([a-z-]*)\(.*?\)/gu,ut={...ae,getAnimatableNone:e=>{let t=e.match(Ir);return t?t.map(Rr).join(" "):e}},Lr={rotate:N,rotateX:N,rotateY:N,rotateZ:N,scale:Be,scaleX:Be,scaleY:Be,scaleZ:Be,skew:N,skewX:N,skewY:N,distance:h,translateX:h,translateY:h,translateZ:h,x:h,y:h,z:h,perspective:h,transformPerspective:h,opacity:Te,originX:Xe,originY:Xe,originZ:h},ln={...se,transform:Math.round},St={...Pe,...Lr,zIndex:ln,size:h,fillOpacity:Te,strokeOpacity:Te,numOctaves:ln},Br={...St,color:P,backgroundColor:P,outlineColor:P,fill:P,stroke:P,borderColor:P,borderTopColor:P,borderRightColor:P,borderBottomColor:P,borderLeftColor:P,filter:ut,WebkitFilter:ut},xt=e=>Br[e];function Wn(e,t){let n=xt(e);return n!==ut&&(n=ae),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Nr=new Set(["auto","none","0"]);function _r(e,t,n){let i=0,r;for(;i<e.length&&!r;){let s=e[i];typeof s=="string"&&!Nr.has(s)&&Se(s).values.length&&(r=e[i]),i++}if(r&&n)for(let s of t)e[s]=Wn(n,r)}var un=e=>e===se||e===h,cn=(e,t)=>parseFloat(e.split(", ")[t]),fn=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return cn(r[1],t);{let s=i.match(/^matrix\((.+)\)$/u);return s?cn(s[1],e):0}},Kr=new Set(["x","y","z"]),Wr=ie.filter(e=>!Kr.has(e));function zr(e){let t=[];return Wr.forEach(n=>{let i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}var ne={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:fn(4,13),y:fn(5,14)};ne.translateX=ne.x;ne.translateY=ne.y;var G=new Set,ct=!1,ft=!1;function zn(){if(ft){let e=Array.from(G).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{let r=zr(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();let r=n.get(i);r&&r.forEach(([s,a])=>{var o;(o=i.getValue(s))===null||o===void 0||o.set(a)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}ft=!1,ct=!1,G.forEach(e=>e.complete()),G.clear()}function Hn(){G.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ft=!0)})}function Hr(){Hn(),zn()}var Ct=class{constructor(e,t,n,i,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(G.add(this),ct||(ct=!0,_.read(Hn),_.resolveKeyframes(zn))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let r=0;r<e.length;r++)if(e[r]===null)if(r===0){let s=i?.get(),a=e[e.length-1];if(s!==void 0)e[0]=s;else if(n&&t){let o=n.readValue(t,a);o!=null&&(e[0]=o)}e[0]===void 0&&(e[0]=a),i&&s===void 0&&i.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),G.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,G.delete(this))}resume(){this.isComplete||this.scheduleResolve()}},Gn=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),$n=e=>t=>typeof t=="string"&&t.startsWith(e),Un=$n("--"),Gr=$n("var(--"),Vt=e=>Gr(e)?$r.test(e.split("/*")[0].trim()):!1,$r=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ur=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jr(e){let t=Ur.exec(e);if(!t)return[,];let[,n,i,r]=t;return[`--${n??i}`,r]}var qr=4;function jn(e,t,n=1){L(n<=qr,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,r]=jr(e);if(!i)return;let s=window.getComputedStyle(t).getPropertyValue(i);if(s){let a=s.trim();return Gn(a)?parseFloat(a):a}return Vt(r)?jn(r,t,n+1):r}var qn=e=>t=>t.test(e),Yr={test:e=>e==="auto",parse:e=>e},Yn=[se,h,z,N,Xt,Zt,Yr],dn=e=>Yn.find(qn(e)),Zn=class extends Ct{constructor(e,t,n,i,r){super(e,t,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let o=0;o<e.length;o++){let u=e[o];if(typeof u=="string"&&(u=u.trim(),Vt(u))){let l=jn(u,t.current);l!==void 0&&(e[o]=l),o===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Vn.has(n)||e.length!==2)return;let[i,r]=e,s=dn(i),a=dn(r);if(s!==a)if(un(s)&&un(a))for(let o=0;o<e.length;o++){let u=e[o];typeof u=="string"&&(e[o]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let i=0;i<e.length;i++)Tr(e[i])&&n.push(i);n.length&&_r(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ne[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];i!==void 0&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,a=i[s];i[s]=ne[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([o,u])=>{t.getValue(o).set(u)}),this.resolveNoneKeyframes()}},hn=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ae.test(e)||e==="0")&&!e.startsWith("url("));function Zr(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Xr(e,t,n,i){let r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;let s=e[e.length-1],a=hn(r,t),o=hn(s,t);return pe(a===o,`You are trying to animate ${t} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!a||!o?!1:Zr(e)||(n==="spring"||X(n))&&i}var Jr=40,Xn=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=W.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:r,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Jr?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Hr(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=W.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:r,delay:s,onComplete:a,onUpdate:o,isGenerator:u}=this.options;if(!u&&!Xr(e,n,i,r))if(s)this.options.duration=0;else{o?.(J(e,this.options,t)),a?.(),this.resolveFinishedPromise();return}let l=this.initPlayback(e,t);l!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...l},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}};function st(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qr({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,a=0;if(!t)r=s=a=n;else{let o=n<.5?n*(1+t):n+t-n*t,u=2*n-o;r=st(u,o,e+1/3),s=st(u,o,e),a=st(u,o,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:i}}function We(e,t){return n=>n>0?t:e}var at=(e,t,n)=>{let i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},es=[lt,H,ee],ts=e=>es.find(t=>t.test(e));function pn(e){let t=ts(e);if(pe(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ee&&(n=Qr(n)),n}var mn=(e,t)=>{let n=pn(e),i=pn(t);if(!n||!i)return We(e,t);let r={...n};return s=>(r.red=at(n.red,i.red,s),r.green=at(n.green,i.green,s),r.blue=at(n.blue,i.blue,s),r.alpha=Q(n.alpha,i.alpha,s),H.transform(r))},ns=(e,t)=>n=>t(e(n)),At=(...e)=>e.reduce(ns),dt=new Set(["none","hidden"]);function is(e,t){return dt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function rs(e,t){return n=>Q(e,t,n)}function Mt(e){return typeof e=="number"?rs:typeof e=="string"?Vt(e)?We:P.test(e)?mn:os:Array.isArray(e)?Jn:typeof e=="object"?P.test(e)?mn:ss:We}function Jn(e,t){let n=[...e],i=n.length,r=e.map((s,a)=>Mt(s)(s,t[a]));return s=>{for(let a=0;a<i;a++)n[a]=r[a](s);return n}}function ss(e,t){let n={...e,...t},i={};for(let r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=Mt(e[r])(e[r],t[r]));return r=>{for(let s in i)n[s]=i[s](r);return n}}function as(e,t){var n;let i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let a=t.types[s],o=e.indexes[a][r[a]],u=(n=e.values[o])!==null&&n!==void 0?n:0;i[s]=u,r[a]++}return i}var os=(e,t)=>{let n=ae.createTransformer(t),i=Se(e),r=Se(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?dt.has(e)&&!r.values.length||dt.has(t)&&!i.values.length?is(e,t):At(Jn(as(i,r),r.values),n):(pe(!0,`Complex values '${e}' and '${t}' 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.`),We(e,t))};function Qn(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Q(e,t,n):Mt(e)(e,t)}function gn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:u,restDelta:l=.5,restSpeed:c}){let f=e[0],d={done:!1,value:f},g=y=>o!==void 0&&y<o||u!==void 0&&y>u,v=y=>o===void 0?u:u===void 0||Math.abs(o-y)<Math.abs(u-y)?o:u,w=n*t,b=f+w,p=a===void 0?b:a(b);p!==b&&(w=p-f);let T=y=>-w*Math.exp(-y/i),E=y=>p+T(y),V=y=>{let x=T(y),j=E(y);d.done=Math.abs(x)<=l,d.value=d.done?p:j},m,S,A=y=>{g(d.value)&&(m=y,S=gt({keyframes:[d.value,v(d.value)],velocity:Cn(E,y,d.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return A(0),{calculatedDuration:null,next:y=>{let x=!1;return!S&&m===void 0&&(x=!0,V(y),A(y)),m!==void 0&&y>=m?S.next(y-m):(!x&&V(y),d)}}}var ls=xe(.42,0,1,1),us=xe(0,0,.58,1),ei=xe(.42,0,.58,1),vn={linear:I,easeIn:ls,easeInOut:ei,easeOut:us,circIn:bt,circInOut:Rn,circOut:wr,backIn:yt,backInOut:Dn,backOut:On,anticipate:kn},ht=e=>{if(Ie(e)){L(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,i,r]=e;return xe(t,n,i,r)}else if(typeof e=="string")return L(vn[e]!==void 0,`Invalid easing type '${e}'`),vn[e];return e};function cs(e,t,n){let i=[],r=n||Qn,s=e.length-1;for(let a=0;a<s;a++){let o=r(e[a],e[a+1]);if(t){let u=Array.isArray(t)?t[a]||I:t;o=At(u,o)}i.push(o)}return i}function fs(e,t,{clamp:n=!0,ease:i,mixer:r}={}){let s=e.length;if(L(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=cs(t,i,r),u=o.length,l=c=>{if(a&&c<e[0])return t[0];let f=0;if(u>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let d=Z(e[f],e[f+1],c);return o[f](d)};return n?c=>l(U(e[0],e[s-1],c)):l}function ds(e,t){return e.map(n=>n*t)}function hs(e,t){return e.map(()=>t||ei).splice(0,e.length-1)}function ze({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){let r=Qe(i)?i.map(ht):ht(i),s={done:!1,value:t[0]},a=ds(n&&n.length===t.length?n:et(t),e),o=fs(a,t,{ease:Array.isArray(r)?r:hs(t,r)});return{calculatedDuration:e,next:u=>(s.value=o(u),s.done=u>=e,s)}}var ps=e=>{let t=({timestamp:n})=>e(n);return{start:()=>_.update(t,!0),stop:()=>_e(t),now:()=>Ke.isProcessing?Ke.timestamp:W.now()}},ms={decay:gn,inertia:gn,tween:ze,keyframes:ze,spring:gt},gs=e=>e/100,Et=class extends Xn{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:o}=this.options;o&&o()};let{name:t,motionValue:n,element:i,keyframes:r}=this.options,s=i?.KeyframeResolver||Ct,a=(o,u)=>this.onKeyframesResolved(o,u);this.resolver=new s(r,a,t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=this.options,a=X(t)?t:ms[t]||ze,o,u;a!==ze&&typeof e[0]!="number"&&(o=At(gs,Qn(e[0],e[1])),e=[0,100]);let l=a({...this.options,keyframes:e});r==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=ke(l));let{calculatedDuration:c}=l,f=c+i,d=f*(n+1)-i;return{generator:l,mirroredGenerator:u,mapPercentToKeyframes:o,calculatedDuration:c,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:o,calculatedDuration:u,totalDuration:l,resolvedDuration:c}=n;if(this.startTime===null)return r.next(0);let{delay:f,repeat:d,repeatType:g,repeatDelay:v,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-l/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),p=this.speed>=0?b<0:b>l;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let T=this.currentTime,E=r;if(d){let A=Math.min(this.currentTime,l)/c,y=Math.floor(A),x=A%1;!x&&A>=1&&(x=1),x===1&&y--,y=Math.min(y,d+1),!!(y%2)&&(g==="reverse"?(x=1-x,v&&(x-=v/c)):g==="mirror"&&(E=s)),T=U(0,1,x)*c}let V=p?{done:!1,value:o[0]}:E.next(T);a&&(V.value=a(V.value));let{done:m}=V;!p&&u!==null&&(m=this.speed>=0?this.currentTime>=l:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&m);return S&&i!==void 0&&(V.value=J(o,this.options,i)),w&&w(V.value),S&&this.finish(),V}get duration(){let{resolved:e}=this;return e?k(e.calculatedDuration):0}get time(){return k(this.currentTime)}set time(e){e=O(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=k(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=ps,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),t&&t();let i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}},vs=new Set(["opacity","clipPath","filter","transform"]),He=10,ys=2e4;function bs(e){return X(e.type)||e.type==="spring"||!Ye(e.ease)}function ws(e,t){let n=new Et({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},r=[],s=0;for(;!i.done&&s<ys;)i=n.sample(s),r.push(i.value),s+=He;return{times:void 0,keyframes:r,duration:s-He,ease:"linear"}}var ti={anticipate:kn,backInOut:Dn,circInOut:Rn};function Ts(e){return e in ti}var yn=class extends Xn{constructor(e){super(e);let{name:t,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new Zn(r,(s,a)=>this.onKeyframesResolved(s,a),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:i=300,times:r,ease:s,type:a,motionValue:o,name:u,startTime:l}=this.options;if(!(!((n=o.owner)===null||n===void 0)&&n.current))return!1;if(typeof s=="string"&&Y()&&Ts(s)&&(s=ti[s]),bs(this.options)){let{onComplete:f,onUpdate:d,motionValue:g,element:v,...w}=this.options,b=ws(e,w);e=b.keyframes,e.length===1&&(e[1]=e[0]),i=b.duration,r=b.times,s=b.ease,a="keyframes"}let c=Ze(o.owner.current,u,e,{...this.options,duration:i,times:r,ease:s});return c.startTime=l??this.calcStartTime(),this.pendingTimeline?(Re(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:f}=this.options;o.set(J(e,this.options,t)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:r,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return k(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return k(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=O(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return I;let{animation:n}=t;Re(n,e)}return I}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:i,type:r,ease:s,times:a}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:u,onUpdate:l,onComplete:c,element:f,...d}=this.options,g=new Et({...d,keyframes:n,duration:i,type:r,ease:s,times:a,isGenerator:!0}),v=O(this.time);u.setWithVelocity(g.sample(v-He).value,g.sample(v).value,He)}let{onStop:o}=this.options;o&&o(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:s,type:a}=e;return Je()&&n&&vs.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&r!=="mirror"&&s!==0&&a!=="inertia"}},Ss={type:"spring",stiffness:500,damping:25,restSpeed:10},xs=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Cs={type:"keyframes",duration:.8},Vs={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},As=(e,{keyframes:t})=>t.length>2?Cs:re.has(e)?e.startsWith("scale")?xs(t[1]):Ss:Vs;function Ms({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:u,elapsed:l,...c}){return!!Object.keys(c).length}var ni=(e,t,n,i={},r,s)=>a=>{let o=De(i,e)||{},u=o.delay||i.delay||0,{elapsed:l=0}=i;l=l-O(u);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-l,onUpdate:d=>{t.set(d),o.onUpdate&&o.onUpdate(d)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:r};Ms(o)||(c={...c,...As(e,c)}),c.duration&&(c.duration=O(c.duration)),c.repeatDelay&&(c.repeatDelay=O(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){let d=J(c.keyframes,o);if(d!==void 0)return _.update(()=>{c.onUpdate(d),c.onComplete()}),new me([])}return!s&&yn.supports(c)?new yn(c):new Et(c)};function Es({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function Fs(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:a=e.getDefaultTransition(),transitionEnd:o,...u}=t;i&&(a=i);let l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(let f in u){let d=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),g=u[f];if(g===void 0||c&&Es(c,f))continue;let v={delay:n,...De(a||{},f)},w=!1;if(window.MotionHandoffAnimation){let p=gr(e);if(p){let T=window.MotionHandoffAnimation(p,f,_);T!==null&&(v.startTime=T,w=!0)}}hr(e,f),d.start(ni(f,d,g,e.shouldReduceMotion&&Vn.has(f)?{type:!1}:v,e,w));let b=d.animation;b&&l.push(b)}return o&&Promise.all(l).then(()=>{_.update(()=>{o&&fr(e,o)})}),l}function Ps(e){return e instanceof SVGElement&&e.tagName!=="svg"}var bn=()=>({min:0,max:0}),Ft=()=>({x:bn(),y:bn()}),wn={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"]},pt={};for(let e in wn)pt[e]={isEnabled:t=>wn[e].some(n=>!!t[n])};var Os=typeof window<"u",mt={current:null},ii={current:!1};function Ds(){if(ii.current=!0,!!Os)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>mt.current=e.matches;e.addListener(t),t()}else mt.current=!1}var ks=[...Yn,P,ae],Rs=e=>ks.find(qn(e));function Is(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ls(e){return typeof e=="string"||Array.isArray(e)}var Bs=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ns=["initial",...Bs];function ri(e){return Is(e.animate)||Ns.some(t=>Ls(e[t]))}function _s(e){return!!(ri(e)||e.variants)}function Ks(e,t,n){for(let i in t){let r=t[i],s=n[i];if(F(r))e.addValue(i,r);else if(F(s))e.addValue(i,we(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){let a=e.getValue(i);a.liveStyle===!0?a.jump(r):a.hasAnimated||a.set(r)}else{let a=e.getStaticValue(i);e.addValue(i,we(a!==void 0?a:r,{owner:e}))}}for(let i in n)t[i]===void 0&&e.removeValue(i);return t}var Tn=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],si=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ct,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 d=W.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,_.render(this.render,!1,!0))};let{latestValues:o,renderState:u,onUpdate:l}=s;this.onUpdate=l,this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=ri(t),this.isVariantNode=_s(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(let d in f){let g=f[d];o[d]!==void 0&&F(g)&&g.set(o[d],!1)}}mount(e){this.current=e,te.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=>this.bindToMotionValue(n,t)),ii.current||Ds(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:mt.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){te.delete(this.current),this.projection&&this.projection.unmount(),_e(this.notifyUpdate),_e(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=re.has(e),i=t.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&_.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender),s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r(),s&&s(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in pt){let t=pt[e];if(!t)continue;let{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){let r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ft()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<Tn.length;n++){let i=Tn[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r="on"+i,s=e[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=Ks(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=we(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(Gn(i)||In(i))?i=parseFloat(i):!Rs(i)&&ae.test(t)&&(i=Wn(e,t)),this.setBaseTarget(e,F(i)?i.get():i)),F(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,i;if(typeof n=="string"||typeof n=="object"){let s=Mn(this.props,n,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);s&&(i=s[e])}if(n&&i!==void 0)return i;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!F(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new An),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}},ai=class extends si{constructor(){super(...arguments),this.KeyframeResolver=Zn}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;F(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},oi=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ws={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},zs=ie.length;function Hs(e,t,n){let i="",r=!0;for(let s=0;s<zs;s++){let a=ie[s],o=e[a];if(o===void 0)continue;let u=!0;if(typeof o=="number"?u=o===(a.startsWith("scale")?1:0):u=parseFloat(o)===0,!u||n){let l=oi(o,St[a]);if(!u){r=!1;let c=Ws[a]||a;i+=`${c}(${l}) `}n&&(t[a]=l)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function li(e,t,n){let{style:i,vars:r,transformOrigin:s}=e,a=!1,o=!1;for(let u in t){let l=t[u];if(re.has(u)){a=!0;continue}else if(Un(u)){r[u]=l;continue}else{let c=oi(l,St[u]);u.startsWith("origin")?(o=!0,s[u]=c):i[u]=c}}if(t.transform||(a||n?i.transform=Hs(t,e.transform,n):i.transform&&(i.transform="none")),o){let{originX:u="50%",originY:l="50%",originZ:c=0}=s;i.transformOrigin=`${u} ${l} ${c}`}}function Sn(e,t,n){return typeof e=="string"?e:h.transform(t+n*e)}function Gs(e,t,n){let i=Sn(t,e.x,e.width),r=Sn(n,e.y,e.height);return`${i} ${r}`}var $s={offset:"stroke-dashoffset",array:"stroke-dasharray"},Us={offset:"strokeDashoffset",array:"strokeDasharray"};function js(e,t,n=1,i=0,r=!0){e.pathLength=1;let s=r?$s:Us;e[s.offset]=h.transform(-i);let a=h.transform(t),o=h.transform(n);e[s.array]=`${a} ${o}`}function qs(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:s,pathLength:a,pathSpacing:o=1,pathOffset:u=0,...l},c,f){if(li(e,l,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:g,dimensions:v}=e;d.transform&&(v&&(g.transform=d.transform),delete d.transform),v&&(r!==void 0||s!==void 0||g.transform)&&(g.transformOrigin=Gs(v,r!==void 0?r:.5,s!==void 0?s:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),i!==void 0&&(d.scale=i),a!==void 0&&js(d,a,o,u,!1)}var ui=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"]),Ys=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ci(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(let s in n)e.style.setProperty(s,n[s])}function Zs(e,t,n,i){ci(e,t,void 0,i);for(let r in t.attrs)e.setAttribute(ui.has(r)?r:vt(r),t.attrs[r])}var Xs={};function Js(e,{layout:t,layoutId:n}){return re.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Xs[e]||e==="opacity")}function fi(e,t,n){var i;let{style:r}=e,s={};for(let a in r)(F(r[a])||t.style&&F(t.style[a])||Js(a,e)||((i=n?.getValue(a))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function Qs(e,t,n){let i=fi(e,t,n);for(let r in e)if(F(e[r])||F(t[r])){let s=ie.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}var ea=class extends ai{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ft}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(re.has(t)){let n=xt(t);return n&&n.default||0}return t=ui.has(t)?t:vt(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Qs(e,t,n)}build(e,t,n){qs(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){Zs(e,t,n,i)}mount(e){this.isSVGTag=Ys(e.tagName),super.mount(e)}};function ta({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function na(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function ia(e,t){return ta(na(e.getBoundingClientRect(),t))}function ra(e){return window.getComputedStyle(e)}var sa=class extends ai{constructor(){super(...arguments),this.type="html",this.renderInstance=ci}readValueFromInstance(e,t){if(re.has(t)){let n=xt(t);return n&&n.default||0}else{let n=ra(e),i=(Un(t)?n.getPropertyValue(t):n[t])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ia(e,t)}build(e,t,n){li(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return fi(e,t,n)}};function aa(e,t){return e in t}var oa=class extends si{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(aa(t,e)){let n=e[t];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return Ft()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function la(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Ps(e)?new ea(t):new sa(t);n.mount(e),te.set(e,n)}function ua(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new oa(t);n.mount(e),te.set(e,n)}function ca(e,t,n){let i=F(e)?e:we(e);return i.start(ni("",i,t,n)),i.animation}function fa(e,t){return F(e)||typeof e=="number"||typeof e=="string"&&!Le(t)}function di(e,t,n,i){let r=[];if(fa(e,t))r.push(ca(e,Le(t)&&t.default||t,n&&(n.default||n)));else{let s=tt(e,t,i),a=s.length;L(!!a,"No valid elements provided.");for(let o=0;o<a;o++){let u=s[o],l=u instanceof Element?la:ua;te.has(u)||l(u);let c=te.get(u),f={...n};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(o,a)),r.push(...Fs(c,{...t,transition:f},{}))}}return r}function da(e,t,n){let i=[];return it(e,t,n,{spring:gt}).forEach(({keyframes:s,transition:a},o)=>{i.push(...di(o,s,a))}),i}function ha(e){return Array.isArray(e)&&e.some(Array.isArray)}function pa(e){function t(n,i,r){let s=[];ha(n)?s=da(n,i,e):s=di(n,i,r,e);let a=new me(s);return e&&e.animations.push(a),a}return t}var Ba=pa();function ma(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function Pt(e=.1,{startDelay:t=0,from:n=0,ease:i}={}){return(r,s)=>{let a=typeof n=="number"?n:ma(n,s),o=Math.abs(a-r),u=e*o;if(i){let l=s*e;u=ht(i)(u/l)*l}return t+u}}var Na=ye.reduce((e,t)=>(e[t]=n=>_e(n),e),{});var ga=Symbol.for("preact-signals");function Dt(){if(oe>1)oe--;else{for(var e,t=!1;Ce!==void 0;){var n=Ce;for(Ce=void 0,Ot++;n!==void 0;){var i=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&mi(n))try{n.c()}catch(r){t||(e=r,t=!0)}n=i}}if(Ot=0,oe--,t)throw e}}var C=void 0;var Ce=void 0,oe=0,Ot=0,Ge=0;function hi(e){if(C!==void 0){var t=e.n;if(t===void 0||t.t!==C)return t={i:0,S:e,p:C.s,n:void 0,t:C,e:void 0,x:void 0,r:t},C.s!==void 0&&(C.s.n=t),C.s=t,e.n=t,32&C.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=C.s,t.n=void 0,C.s.n=t,C.s=t),t}}function D(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}D.prototype.brand=ga;D.prototype.h=function(){return!0};D.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};D.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}};D.prototype.subscribe=function(e){var t=this;return ya(function(){var n=t.value,i=C;C=void 0;try{e(n)}finally{C=i}})};D.prototype.valueOf=function(){return this.value};D.prototype.toString=function(){return this.value+""};D.prototype.toJSON=function(){return this.value};D.prototype.peek=function(){var e=C;C=void 0;try{return this.value}finally{C=e}};Object.defineProperty(D.prototype,"value",{get:function(){var e=hi(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Ot>100)throw new Error("Cycle detected");this.v=e,this.i++,Ge++,oe++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Dt()}}}});function pi(e){return new D(e)}function mi(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function gi(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function vi(e){for(var t=e.s,n=void 0;t!==void 0;){var i=t.p;t.i===-1?(t.S.U(t),i!==void 0&&(i.n=t.n),t.n!==void 0&&(t.n.p=i)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=i}e.s=n}function Ve(e){D.call(this,void 0),this.x=e,this.s=void 0,this.g=Ge-1,this.f=4}(Ve.prototype=new D).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ge))return!0;if(this.g=Ge,this.f|=1,this.i>0&&!mi(this))return this.f&=-2,!0;var e=C;try{gi(this),C=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return C=e,vi(this),this.f&=-2,!0};Ve.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}D.prototype.S.call(this,e)};Ve.prototype.U=function(e){if(this.t!==void 0&&(D.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Ve.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Ve.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=hi(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function yi(e){var t=e.u;if(e.u=void 0,typeof t=="function"){oe++;var n=C;C=void 0;try{t()}catch(i){throw e.f&=-2,e.f|=8,kt(e),i}finally{C=n,Dt()}}}function kt(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,yi(e)}function va(e){if(C!==this)throw new Error("Out-of-order effect");vi(this),C=e,this.f&=-2,8&this.f&&kt(this),Dt()}function Ae(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Ae.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};Ae.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,yi(this),gi(this),oe++;var e=C;return C=this,va.bind(this,e)};Ae.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ce,Ce=this)};Ae.prototype.d=function(){this.f|=8,1&this.f||kt(this)};function ya(e){var t=new Ae(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var bi=e=>{window.NudgeMoment=Object.assign(window.NudgeMoment||{},{custom:{...window.NudgeMoment?.custom,...e}})},wi=e=>{$(document).ready(()=>{window.NudgeMoment.check().then(t=>{t&&e()})})};var Ti=".NDGMNT__FloatingFixedButton__floating-button-container",ba=".NDGMNT__FloatingFixedButton__floating-menu",wa=".NDGMNT__FloatingFixedButton__trigger-button",Ta='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users-round"><path d="M18 21a8 8 0 0 0-16 0"/><circle cx="10" cy="8" r="5"/><path d="M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"/></svg>',Sa={naver:'<svg width="289" height="291" viewBox="0 0 289 291" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M247.979 34.7843V183.205C247.979 195.764 237.784 205.968 225.238 205.968H86.8376C83.8876 205.968 57.8875 206.368 46.775 219.818L40.3709 226.401L28.9917 238.093L16.2875 251.147C15.325 251.714 13.8 252.393 12.8042 252.393L12.6667 252.414C12.6583 252.405 11.3792 251.18 11.3792 245.534V34.7843C11.3792 22.2259 21.5834 12.0218 34.1417 12.0218H225.238C235.188 12.0218 243.567 18.4759 246.65 27.3926C247.459 29.7259 247.979 32.1843 247.979 34.7843ZM278.817 38.1176L278.859 38.0468L250.175 11.6093C243.95 4.90091 235.096 0.642578 225.238 0.642578H34.1417C15.325 0.642578 0 15.9509 0 34.7843V245.534C0 251.393 1.07917 255.755 3.26667 258.859C4.03334 259.951 4.9375 260.872 5.9625 261.609L33.3917 286.884C33.8292 287.347 34.2792 287.768 34.7584 288.143L34.9917 288.368L35.025 288.33C35.4792 288.651 35.9167 289.009 36.4 289.268C38.0209 290.093 39.8375 290.534 41.7959 290.534C46.8875 290.534 51.3334 287.576 52.175 286.984L84.2376 254.18C91.0334 245.959 109.325 244.13 115.821 244.114H254.225C273.046 244.114 288.359 228.797 288.359 209.976V61.5343C288.359 52.4093 284.7 44.2093 278.817 38.1176Z" fill="white"/><path d="M75.1167 71.9814C65.7084 71.9814 58.1125 79.6022 58.1125 88.9939V124.715C58.1125 134.111 65.7084 141.719 75.1167 141.719C84.5001 141.719 92.1251 134.111 92.1251 124.715V88.9939C92.1251 79.6022 84.5001 71.9814 75.1167 71.9814Z" fill="white"/><path d="M181.058 71.9814C171.663 71.9814 164.038 79.6022 164.038 88.9939V124.715C164.038 134.111 171.663 141.719 181.058 141.719C190.446 141.719 198.054 134.111 198.054 124.715V88.9939C198.054 79.6022 190.446 71.9814 181.058 71.9814Z" fill="white"/></svg>',kakao:'<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.00002 0.0999756C4.02917 0.0999756 0 3.21293 0 7.05226C0 9.44 1.5584 11.5449 3.93152 12.7969L2.93303 16.4445C2.84481 16.7668 3.21341 17.0237 3.49646 16.8369L7.87334 13.9482C8.2427 13.9838 8.61808 14.0046 9.00002 14.0046C13.9705 14.0046 17.9999 10.8918 17.9999 7.05226C17.9999 3.21293 13.9705 0.0999756 9.00002 0.0999756Z" fill="black"/></svg>',youtube:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-youtube"><path d="M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17"/><path d="m10 15 5-3-5-3z"/></svg>',instagram:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-instagram"><rect width="20" height="20" x="2" y="2" rx="5" ry="5"/><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"/><line x1="17.5" x2="17.51" y1="6.5" y2="6.5"/></svg>',thread:`<svg width="413" height="480" viewBox="0 0 413 480" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M321.342 222.471C319.275 221.48 317.175 220.526 315.047 219.613C311.342 151.346 274.04 112.262 211.405 111.862C211.121 111.861 210.839 111.861 210.555 111.861C173.091 111.861 141.933 127.852 122.755 156.952L157.202 180.582C171.529 158.846 194.013 154.212 210.572 154.212C210.763 154.212 210.955 154.212 211.144 154.214C231.768 154.345 247.33 160.342 257.402 172.035C264.732 180.548 269.635 192.312 272.062 207.16C253.777 204.052 234.002 203.096 212.862 204.308C153.312 207.738 115.028 242.47 117.599 290.73C118.904 315.21 131.099 336.27 151.938 350.027C169.556 361.658 192.247 367.345 215.831 366.057C246.975 364.35 271.408 352.467 288.452 330.74C301.397 314.24 309.585 292.857 313.2 265.915C328.043 274.872 339.042 286.66 345.117 300.83C355.447 324.918 356.05 364.5 323.753 396.77C295.455 425.04 261.44 437.27 210.034 437.648C153.01 437.225 109.884 418.938 81.8452 383.293C55.5887 349.915 42.0192 301.705 41.513 240C42.0192 178.294 55.5887 130.084 81.8452 96.7068C109.884 61.0623 153.01 42.775 210.033 42.3512C267.47 42.7783 311.348 61.1535 340.46 96.97C354.735 114.534 365.497 136.622 372.592 162.376L412.96 151.605C404.36 119.906 390.827 92.5892 372.412 69.935C335.09 24.0167 280.505 0.48787 210.174 0H209.892C139.704 0.486175 85.7302 24.1045 49.4707 70.1982C17.2048 111.216 0.561 168.289 0.00174999 239.831L0 240L0.00174999 240.169C0.561 311.71 17.2048 368.785 49.4707 409.803C85.7302 455.895 139.704 479.515 209.892 480H210.174C272.575 479.568 316.56 463.23 352.795 427.028C400.202 379.665 398.775 320.298 383.15 283.853C371.94 257.717 350.568 236.49 321.342 222.471ZM213.601 323.768C187.501 325.238 160.386 313.522 159.049 288.43C158.058 269.825 172.29 249.065 215.203 246.592C220.117 246.309 224.94 246.17 229.678 246.17C245.265 246.17 259.848 247.684 273.105 250.583C268.16 312.337 239.155 322.365 213.601 323.768Z" fill="white"/></svg>
|
12
|
-
`},xa={naver:{backgroundColor:"#03C75A",borderColor:"#03C75A"},kakao:{backgroundColor:"#FAE100",borderColor:"#FAE100"},youtube:{backgroundColor:"#ff0000",borderColor:"#ff0000"},instagram:{backgroundColor:"transparent",borderColor:"",backgroundImage:"linear-gradient(45deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%)"},thread:{backgroundColor:"#121212",borderColor:"#121212"}},
|
11
|
+
"use strict";(()=>{var xi=Object.defineProperty;var Ci=(e,t,n)=>t in e?xi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var q=(e,t,n)=>Ci(e,typeof t!="symbol"?t+"":t,n);var I=e=>e,pe=I,L=I,Z=(e,t,n)=>{let i=t-e;return i===0?1:(n-e)/i},jt=(e,t,n)=>{let i=t-e;return((n-e)%i+i)%i+e};function Oe(e){let t;return()=>(t===void 0&&(t=e()),t)}var qt=Oe(()=>window.ScrollTimeline!==void 0),Vi=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(i=>{if(qt()&&i.attachTimeline)return i.attachTimeline(e);if(typeof t=="function")return t(i)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},me=class extends Vi{then(e,t){return Promise.all(this.animations).then(e).catch(t)}},O=e=>e*1e3,k=e=>e/1e3;function De(e,t){return e?e[t]||e.default||e:void 0}function qe(e,t,n){var i;if(e instanceof Element)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let s=(i=n?.[e])!==null&&i!==void 0?i:r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}var he=2e4;function ke(e){let t=0,n=50,i=e.next(t);for(;!i.done&&t<he;)t+=n,i=e.next(t);return t>=he?1/0:t}function Yt(e,t=100,n){let i=n({...e,keyframes:[0,t]}),r=Math.min(ke(i),he);return{type:"keyframes",ease:s=>i.next(r*s).value/t,duration:k(r)}}function X(e){return typeof e=="function"}function Re(e,t){e.timeline=t,e.onfinish=null}var Ai=class{constructor(e){this.animation=e}get duration(){var e,t,n;let i=((t=(e=this.animation)===null||e===void 0?void 0:e.effect)===null||t===void 0?void 0:t.getComputedTiming().duration)||((n=this.options)===null||n===void 0?void 0:n.duration)||300;return k(Number(i))}get time(){var e;return this.animation?k(((e=this.animation)===null||e===void 0?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=O(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){!this.animation||this.state==="idle"||this.state==="finished"||(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&((e=this.animation.effect)===null||e===void 0||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&Re(this.animation,e),I}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch{}}},Mi={linearEasing:void 0};function Ei(e,t){let n=Oe(e);return()=>{var i;return(i=Mi[t])!==null&&i!==void 0?i:n()}}var Y=Ei(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ie=e=>Array.isArray(e)&&typeof e[0]=="number",Ye=(e,t,n=10)=>{let i="",r=Math.max(Math.round(t/n),2);for(let s=0;s<r;s++)i+=e(Z(0,r-1,s))+", ";return`linear(${i.substring(0,i.length-2)})`};function Ze(e){return!!(typeof e=="function"&&Y()||!e||typeof e=="string"&&(e in je||Y())||Ie(e)||Array.isArray(e)&&e.every(Ze))}var de=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,je={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:de([0,.65,.55,1]),circOut:de([.55,0,1,.45]),backIn:de([.31,.01,.66,-.59]),backOut:de([.33,1.53,.69,.99])};function Zt(e,t){if(e)return typeof e=="function"&&Y()?Ye(e,t):Ie(e)?de(e):Array.isArray(e)?e.map(n=>Zt(n,t)||je.easeOut):je[e]}function Xe(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeInOut",times:u}={}){let l={[t]:n};u&&(l.offset=u);let c=Zt(o,r);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}var ge=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),B=ge("deg"),H=ge("%"),h=ge("px"),Xt=ge("vh"),Jt=ge("vw"),Je={...H,parse:e=>H.parse(e)/100,transform:e=>H.transform(e*100)},Pe={borderWidth:h,borderTopWidth:h,borderRightWidth:h,borderBottomWidth:h,borderLeftWidth:h,borderRadius:h,radius:h,borderTopLeftRadius:h,borderTopRightRadius:h,borderBottomRightRadius:h,borderBottomLeftRadius:h,width:h,maxWidth:h,height:h,maxHeight:h,top:h,right:h,bottom:h,left:h,padding:h,paddingTop:h,paddingRight:h,paddingBottom:h,paddingLeft:h,margin:h,marginTop:h,marginRight:h,marginBottom:h,marginLeft:h,backgroundPositionX:h,backgroundPositionY:h},Fi=e=>e!==null;function J(e,{repeat:t,repeatType:n="loop"},i){let r=e.filter(Fi),s=t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}function Pi(e,t,n){e.style.setProperty(`--${t}`,n)}function Oi(e,t,n){e.style[t]=n}var Di=Oe(()=>{try{document.createElement("div").animate({opacity:[1]})}catch{return!1}return!0}),Qe=Oe(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Fe=new WeakMap;function ki(e,t,n){for(let i=0;i<t.length;i++)t[i]===null&&(t[i]=i===0?n():t[i-1]),typeof t[i]=="number"&&Pe[e]&&(t[i]=Pe[e].transform(t[i]));!Di()&&t.length<2&&t.unshift(n())}var Ht="easeOut";function zt(e){let t=Fe.get(e)||new Map;return Fe.set(e,t),Fe.get(e)}var Ri=class extends Ai{constructor(e,t,n,i){let r=t.startsWith("--");L(typeof i.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "framer-motion"?`);let s=zt(e).get(t);s&&s.stop();let a=()=>t.startsWith("--")?e.style.getPropertyValue(t):window.getComputedStyle(e)[t];if(Array.isArray(n)||(n=[n]),ki(t,n,a),X(i.type)){let l=Yt(i,100,i.type);i.ease=Y()?l.ease:Ht,i.duration=O(l.duration),i.type="keyframes"}else i.ease=i.ease||Ht;let o=()=>{this.setValue(e,t,J(n,i)),this.cancel(),this.resolveFinishedPromise()},u=()=>{this.setValue=r?Pi:Oi,this.options=i,this.updateFinishedPromise(),this.removeAnimation=()=>{var l;return(l=Fe.get(e))===null||l===void 0?void 0:l.delete(t)}};Qe()?(super(Xe(e,t,n,i)),u(),i.autoplay===!1&&this.animation.pause(),this.animation.onfinish=o,zt(e).set(t,this)):(super(),u(),o())}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}play(){this.state==="finished"&&this.updateFinishedPromise(),super.play()}cancel(){this.removeAnimation(),super.cancel()}};function Qt(e,t,n,i){let r=qe(e,i),s=r.length;L(!!s,"No valid element provided.");let a=[];for(let o=0;o<s;o++){let u=r[o],l={...n};typeof l.delay=="function"&&(l.delay=l.delay(o,s));for(let c in t){let f=t[c],d={...De(l,c)};d.duration=d.duration?O(d.duration):d.duration,d.delay=O(d.delay||0),a.push(new Ri(u,c,f,d))}}return a}var Ii=e=>{function t(n,i,r){return new me(Qt(n,i,r,e))}return t},ve=Ii(),et=e=>Array.isArray(e)&&typeof e[0]!="number",Q=(e,t,n)=>e+(t-e)*n;function en(e,t){let n=e[e.length-1];for(let i=1;i<=t;i++){let r=Z(0,t,i);e.push(Q(n,1,r))}}function tt(e){let t=[0];return en(t,e.length-1),t}function tn(e,t){return et(e)?e[jt(0,e.length,t)]:e}var F=e=>!!(e&&e.getVelocity);function Le(e){return typeof e=="object"&&!Array.isArray(e)}function nt(e,t,n,i){return typeof e=="string"&&Le(t)?qe(e,n,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function Li(e,t,n){return e*(t+1)}function Gt(e,t,n,i){var r;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(r=i.get(t))!==null&&r!==void 0?r:e}function nn(e,t){e.indexOf(t)===-1&&e.push(t)}function it(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ni(e,t,n){for(let i=0;i<e.length;i++){let r=e[i];r.at>t&&r.at<n&&(it(e,r),i--)}}function Bi(e,t,n,i,r,s){Ni(e,r,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:Q(r,s,i[a]),easing:tn(n,a)})}function _i(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function Ki(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var Wi="easeInOut",Hi=20;function rt(e,{defaultTransition:t={},...n}={},i,r){let s=t.duration||.3,a=new Map,o=new Map,u={},l=new Map,c=0,f=0,d=0;for(let g=0;g<e.length;g++){let v=e[g];if(typeof v=="string"){l.set(v,f);continue}else if(!Array.isArray(v)){l.set(v.name,Gt(f,v.at,c,l));continue}let[w,b,p={}]=v;p.at!==void 0&&(f=Gt(f,p.at,c,l));let T=0,E=(V,m,S,A=0,y=0)=>{let x=zi(V),{delay:j=0,times:N=tt(x),type:Ue="keyframes",repeat:le,repeatType:Va,repeatDelay:Aa=0,...Si}=m,{ease:K=t.ease||"easeOut",duration:R}=m,Lt=typeof j=="function"?j(A,y):j,Nt=x.length,Bt=X(Ue)?Ue:r?.[Ue];if(Nt<=2&&Bt){let ue=100;if(Nt===2&&Ui(x)){let ce=x[1]-x[0];ue=Math.abs(ce)}let Me={...Si};R!==void 0&&(Me.duration=O(R));let Ee=Yt(Me,ue,Bt);K=Ee.ease,R=Ee.duration}R??(R=s);let _t=f+Lt;N.length===1&&N[0]===0&&(N[1]=1);let Kt=N.length-x.length;if(Kt>0&&en(N,Kt),x.length===1&&x.unshift(null),le){L(le<Hi,"Repeat count too high, must be less than 20"),R=Li(R,le);let ue=[...x],Me=[...N];K=Array.isArray(K)?[...K]:[K];let Ee=[...K];for(let ce=0;ce<le;ce++){x.push(...ue);for(let fe=0;fe<ue.length;fe++)N.push(Me[fe]+(ce+1)),K.push(fe===0?"linear":tn(Ee,fe-1))}_i(N,le)}let Wt=_t+R;Bi(S,x,K,N,_t,Wt),T=Math.max(Lt+R,T),d=Math.max(Wt,d)};if(F(w)){let V=$t(w,o);E(b,p,Ut("default",V))}else{let V=nt(w,b,i,u),m=V.length;for(let S=0;S<m;S++){b=b,p=p;let A=V[S],y=$t(A,o);for(let x in b)E(b[x],Gi(p,x),Ut(x,y),S,m)}}c=f,f+=T}return o.forEach((g,v)=>{for(let w in g){let b=g[w];b.sort(Ki);let p=[],T=[],E=[];for(let m=0;m<b.length;m++){let{at:S,value:A,easing:y}=b[m];p.push(A),T.push(Z(0,d,S)),E.push(y||"easeOut")}T[0]!==0&&(T.unshift(0),p.unshift(p[0]),E.unshift(Wi)),T[T.length-1]!==1&&(T.push(1),p.push(null)),a.has(v)||a.set(v,{keyframes:{},transition:{}});let V=a.get(v);V.keyframes[w]=p,V.transition[w]={...t,duration:d,ease:E,times:T,...n}}}),a}function $t(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Ut(e,t){return t[e]||(t[e]=[]),t[e]}function zi(e){return Array.isArray(e)?e:[e]}function Gi(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var $i=e=>typeof e=="number",Ui=e=>e.every($i);var U=(e,t,n)=>n>t?t:n<e?e:n;function Cn(e,t){return t?e*(1e3/t):0}var ji=5;function Vn(e,t,n){let i=Math.max(t-ji,0);return Cn(n-e(i),t-i)}var M={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},rn=.001;function qi({duration:e=M.duration,bounce:t=M.bounce,velocity:n=M.velocity,mass:i=M.mass}){let r,s;pe(e<=O(M.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=U(M.minDamping,M.maxDamping,a),e=U(M.minDuration,M.maxDuration,k(e)),a<1?(r=l=>{let c=l*a,f=c*e,d=c-n,g=lt(l,a),v=Math.exp(-f);return rn-d/g*v},s=l=>{let f=l*a*e,d=f*n+n,g=Math.pow(a,2)*Math.pow(l,2)*e,v=Math.exp(-f),w=lt(Math.pow(l,2),a);return(-r(l)+rn>0?-1:1)*((d-g)*v)/w}):(r=l=>{let c=Math.exp(-l*e),f=(l-n)*e+1;return-.001+c*f},s=l=>{let c=Math.exp(-l*e),f=(n-l)*(e*e);return c*f});let o=5/e,u=Zi(r,s,o);if(e=O(e),isNaN(u))return{stiffness:M.stiffness,damping:M.damping,duration:e};{let l=Math.pow(u,2)*i;return{stiffness:l,damping:a*2*Math.sqrt(i*l),duration:e}}}var Yi=12;function Zi(e,t,n){let i=n;for(let r=1;r<Yi;r++)i=i-e(i)/t(i);return i}function lt(e,t){return e*Math.sqrt(1-t*t)}var Xi=["duration","bounce"],Ji=["stiffness","damping","mass"];function sn(e,t){return t.some(n=>e[n]!==void 0)}function Qi(e){let t={velocity:M.velocity,stiffness:M.stiffness,damping:M.damping,mass:M.mass,isResolvedFromDuration:!1,...e};if(!sn(e,Ji)&&sn(e,Xi))if(e.visualDuration){let n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,s=2*U(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:M.mass,stiffness:r,damping:s}}else{let n=qi(e);t={...t,...n,mass:M.mass},t.isResolvedFromDuration=!0}return t}function vt(e=M.visualDuration,t=M.bounce){let n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:r}=n,s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],o={done:!1,value:s},{stiffness:u,damping:l,mass:c,duration:f,velocity:d,isResolvedFromDuration:g}=Qi({...n,velocity:-k(n.velocity||0)}),v=d||0,w=l/(2*Math.sqrt(u*c)),b=a-s,p=k(Math.sqrt(u/c)),T=Math.abs(b)<5;i||(i=T?M.restSpeed.granular:M.restSpeed.default),r||(r=T?M.restDelta.granular:M.restDelta.default);let E;if(w<1){let m=lt(p,w);E=S=>{let A=Math.exp(-w*p*S);return a-A*((v+w*p*b)/m*Math.sin(m*S)+b*Math.cos(m*S))}}else if(w===1)E=m=>a-Math.exp(-p*m)*(b+(v+p*b)*m);else{let m=p*Math.sqrt(w*w-1);E=S=>{let A=Math.exp(-w*p*S),y=Math.min(m*S,300);return a-A*((v+w*p*b)*Math.sinh(y)+m*b*Math.cosh(y))/m}}let V={calculatedDuration:g&&f||null,next:m=>{let S=E(m);if(g)o.done=m>=f;else{let A=0;w<1&&(A=m===0?O(v):Vn(E,m,S));let y=Math.abs(A)<=i,x=Math.abs(a-S)<=r;o.done=y&&x}return o.value=o.done?a:S,o},toString:()=>{let m=Math.min(ke(V),he),S=Ye(A=>V.next(m*A).value,m,30);return m+"ms "+S}};return V}var te=new WeakMap,ie=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],re=new Set(ie),An=new Set(["width","height","top","left","right","bottom",...ie]),er=e=>Array.isArray(e),tr=e=>er(e)?e[e.length-1]||0:e,nr={skipAnimations:!1,useManualTiming:!1};function ir(e){let t=new Set,n=new Set,i=!1,r=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(l){s.has(l)&&(u.schedule(l),e()),l(a)}let u={schedule:(l,c=!1,f=!1)=>{let g=f&&i?t:n;return c&&s.add(l),g.has(l)||g.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(a=l,i){r=!0;return}i=!0,[t,n]=[n,t],t.forEach(o),t.clear(),i=!1,r&&(r=!1,u.process(l))}};return u}var ye=["read","resolveKeyframes","update","preRender","render","postRender"],rr=40;function sr(e,t){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,a=ye.reduce((p,T)=>(p[T]=ir(s),p),{}),{read:o,resolveKeyframes:u,update:l,preRender:c,render:f,postRender:d}=a,g=()=>{let p=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(p-r.timestamp,rr),1),r.timestamp=p,r.isProcessing=!0,o.process(r),u.process(r),l.process(r),c.process(r),f.process(r),d.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(g))},v=()=>{n=!0,i=!0,r.isProcessing||e(g)};return{schedule:ye.reduce((p,T)=>{let E=a[T];return p[T]=(V,m=!1,S=!1)=>(n||v(),E.schedule(V,m,S)),p},{}),cancel:p=>{for(let T=0;T<ye.length;T++)a[ye[T]].cancel(p)},state:r,steps:a}}var{schedule:_,cancel:_e,state:Ke,steps:Na}=sr(typeof requestAnimationFrame<"u"?requestAnimationFrame:I,!0),Be;function ar(){Be=void 0}var W={now:()=>(Be===void 0&&W.set(Ke.isProcessing||nr.useManualTiming?Ke.timestamp:performance.now()),Be),set:e=>{Be=e,queueMicrotask(ar)}},Mn=class{constructor(){this.subscriptions=[]}add(e){return nn(this.subscriptions,e),()=>it(this.subscriptions,e)}notify(e,t,n){let i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){let s=this.subscriptions[r];s&&s(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var an=30,or=e=>!isNaN(parseFloat(e)),lr=class{constructor(e,t={}){this.version="11.18.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,i=!0)=>{let r=W.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=W.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=or(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Mn);let n=this.events[e].add(t);return e==="change"?()=>{n(),_.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){let e=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>an)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,an);return Cn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function we(e,t){return new lr(e,t)}function on(e){let t=[{},{}];return e?.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function En(e,t,n,i){if(typeof t=="function"){let[r,s]=on(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[r,s]=on(i);t=t(n!==void 0?n:e.custom,r,s)}return t}function ur(e,t,n){let i=e.getProps();return En(i,t,i.custom,e)}function cr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,we(n))}function fr(e,t){let n=ur(e,t),{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(let a in s){let o=tr(s[a]);cr(e,a,o)}}function dr(e){return!!(F(e)&&e.add)}function hr(e,t){let n=e.getValue("willChange");if(dr(n))return n.add(t)}var yt=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pr="framerAppearId",mr="data-"+yt(pr);function gr(e){return e.props[mr]}var Fn=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,vr=1e-7,yr=12;function br(e,t,n,i,r){let s,a,o=0;do a=t+(n-t)/2,s=Fn(a,i,r)-e,s>0?n=a:t=a;while(Math.abs(s)>vr&&++o<yr);return a}function xe(e,t,n,i){if(e===t&&n===i)return I;let r=s=>br(s,0,1,e,n);return s=>s===0||s===1?s:Fn(r(s),t,i)}var Pn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,On=e=>t=>1-e(1-t),Dn=xe(.33,1.53,.69,.99),bt=On(Dn),kn=Pn(bt),Rn=e=>(e*=2)<1?.5*bt(e):.5*(2-Math.pow(2,-10*(e-1))),wt=e=>1-Math.sin(Math.acos(e)),wr=On(wt),In=Pn(wt),Ln=e=>/^0[^.\s]+$/u.test(e);function Tr(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ln(e):!0}var se={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Te={...se,transform:e=>U(0,1,e)},Ne={...se,default:1},be=e=>Math.round(e*1e5)/1e5,Tt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Sr(e){return e==null}var xr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,St=(e,t)=>n=>!!(typeof n=="string"&&xr.test(n)&&n.startsWith(e)||t&&!Sr(n)&&Object.prototype.hasOwnProperty.call(n,t)),Nn=(e,t,n)=>i=>{if(typeof i!="string")return i;let[r,s,a,o]=i.match(Tt);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(a),alpha:o!==void 0?parseFloat(o):1}},Cr=e=>U(0,255,e),st={...se,transform:e=>Math.round(Cr(e))},z={test:St("rgb","red"),parse:Nn("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+st.transform(e)+", "+st.transform(t)+", "+st.transform(n)+", "+be(Te.transform(i))+")"};function Vr(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}var ut={test:St("#"),parse:Vr,transform:z.transform},ee={test:St("hsl","hue"),parse:Nn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+H.transform(be(t))+", "+H.transform(be(n))+", "+be(Te.transform(i))+")"},P={test:e=>z.test(e)||ut.test(e)||ee.test(e),parse:e=>z.test(e)?z.parse(e):ee.test(e)?ee.parse(e):ut.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?z.transform(e):ee.transform(e)},Ar=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Mr(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Tt))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Ar))===null||n===void 0?void 0:n.length)||0)>0}var Bn="number",_n="color",Er="var",Fr="var(",ln="${}",Pr=/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 Se(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[],s=0,o=t.replace(Pr,u=>(P.test(u)?(i.color.push(s),r.push(_n),n.push(P.parse(u))):u.startsWith(Fr)?(i.var.push(s),r.push(Er),n.push(u)):(i.number.push(s),r.push(Bn),n.push(parseFloat(u))),++s,ln)).split(ln);return{values:n,split:o,indexes:i,types:r}}function Kn(e){return Se(e).values}function Wn(e){let{split:t,types:n}=Se(e),i=t.length;return r=>{let s="";for(let a=0;a<i;a++)if(s+=t[a],r[a]!==void 0){let o=n[a];o===Bn?s+=be(r[a]):o===_n?s+=P.transform(r[a]):s+=r[a]}return s}}var Or=e=>typeof e=="number"?0:e;function Dr(e){let t=Kn(e);return Wn(e)(t.map(Or))}var ae={test:Mr,parse:Kn,createTransformer:Wn,getAnimatableNone:Dr},kr=new Set(["brightness","contrast","saturate","opacity"]);function Rr(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[i]=n.match(Tt)||[];if(!i)return e;let r=n.replace(i,""),s=kr.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}var Ir=/\b([a-z-]*)\(.*?\)/gu,ct={...ae,getAnimatableNone:e=>{let t=e.match(Ir);return t?t.map(Rr).join(" "):e}},Lr={rotate:B,rotateX:B,rotateY:B,rotateZ:B,scale:Ne,scaleX:Ne,scaleY:Ne,scaleZ:Ne,skew:B,skewX:B,skewY:B,distance:h,translateX:h,translateY:h,translateZ:h,x:h,y:h,z:h,perspective:h,transformPerspective:h,opacity:Te,originX:Je,originY:Je,originZ:h},un={...se,transform:Math.round},xt={...Pe,...Lr,zIndex:un,size:h,fillOpacity:Te,strokeOpacity:Te,numOctaves:un},Nr={...xt,color:P,backgroundColor:P,outlineColor:P,fill:P,stroke:P,borderColor:P,borderTopColor:P,borderRightColor:P,borderBottomColor:P,borderLeftColor:P,filter:ct,WebkitFilter:ct},Ct=e=>Nr[e];function Hn(e,t){let n=Ct(e);return n!==ct&&(n=ae),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Br=new Set(["auto","none","0"]);function _r(e,t,n){let i=0,r;for(;i<e.length&&!r;){let s=e[i];typeof s=="string"&&!Br.has(s)&&Se(s).values.length&&(r=e[i]),i++}if(r&&n)for(let s of t)e[s]=Hn(n,r)}var cn=e=>e===se||e===h,fn=(e,t)=>parseFloat(e.split(", ")[t]),dn=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return fn(r[1],t);{let s=i.match(/^matrix\((.+)\)$/u);return s?fn(s[1],e):0}},Kr=new Set(["x","y","z"]),Wr=ie.filter(e=>!Kr.has(e));function Hr(e){let t=[];return Wr.forEach(n=>{let i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}var ne={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:dn(4,13),y:dn(5,14)};ne.translateX=ne.x;ne.translateY=ne.y;var G=new Set,ft=!1,dt=!1;function zn(){if(dt){let e=Array.from(G).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{let r=Hr(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();let r=n.get(i);r&&r.forEach(([s,a])=>{var o;(o=i.getValue(s))===null||o===void 0||o.set(a)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}dt=!1,ft=!1,G.forEach(e=>e.complete()),G.clear()}function Gn(){G.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dt=!0)})}function zr(){Gn(),zn()}var Vt=class{constructor(e,t,n,i,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(G.add(this),ft||(ft=!0,_.read(Gn),_.resolveKeyframes(zn))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let r=0;r<e.length;r++)if(e[r]===null)if(r===0){let s=i?.get(),a=e[e.length-1];if(s!==void 0)e[0]=s;else if(n&&t){let o=n.readValue(t,a);o!=null&&(e[0]=o)}e[0]===void 0&&(e[0]=a),i&&s===void 0&&i.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),G.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,G.delete(this))}resume(){this.isComplete||this.scheduleResolve()}},$n=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Un=e=>t=>typeof t=="string"&&t.startsWith(e),jn=Un("--"),Gr=Un("var(--"),At=e=>Gr(e)?$r.test(e.split("/*")[0].trim()):!1,$r=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ur=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jr(e){let t=Ur.exec(e);if(!t)return[,];let[,n,i,r]=t;return[`--${n??i}`,r]}var qr=4;function qn(e,t,n=1){L(n<=qr,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,r]=jr(e);if(!i)return;let s=window.getComputedStyle(t).getPropertyValue(i);if(s){let a=s.trim();return $n(a)?parseFloat(a):a}return At(r)?qn(r,t,n+1):r}var Yn=e=>t=>t.test(e),Yr={test:e=>e==="auto",parse:e=>e},Zn=[se,h,H,B,Jt,Xt,Yr],hn=e=>Zn.find(Yn(e)),Xn=class extends Vt{constructor(e,t,n,i,r){super(e,t,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let o=0;o<e.length;o++){let u=e[o];if(typeof u=="string"&&(u=u.trim(),At(u))){let l=qn(u,t.current);l!==void 0&&(e[o]=l),o===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!An.has(n)||e.length!==2)return;let[i,r]=e,s=hn(i),a=hn(r);if(s!==a)if(cn(s)&&cn(a))for(let o=0;o<e.length;o++){let u=e[o];typeof u=="string"&&(e[o]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let i=0;i<e.length;i++)Tr(e[i])&&n.push(i);n.length&&_r(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ne[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];i!==void 0&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,a=i[s];i[s]=ne[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([o,u])=>{t.getValue(o).set(u)}),this.resolveNoneKeyframes()}},pn=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ae.test(e)||e==="0")&&!e.startsWith("url("));function Zr(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Xr(e,t,n,i){let r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;let s=e[e.length-1],a=pn(r,t),o=pn(s,t);return pe(a===o,`You are trying to animate ${t} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!a||!o?!1:Zr(e)||(n==="spring"||X(n))&&i}var Jr=40,Jn=class{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=W.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:r,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Jr?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&zr(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=W.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:r,delay:s,onComplete:a,onUpdate:o,isGenerator:u}=this.options;if(!u&&!Xr(e,n,i,r))if(s)this.options.duration=0;else{o?.(J(e,this.options,t)),a?.(),this.resolveFinishedPromise();return}let l=this.initPlayback(e,t);l!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...l},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}};function at(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qr({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,a=0;if(!t)r=s=a=n;else{let o=n<.5?n*(1+t):n+t-n*t,u=2*n-o;r=at(u,o,e+1/3),s=at(u,o,e),a=at(u,o,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:i}}function We(e,t){return n=>n>0?t:e}var ot=(e,t,n)=>{let i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},es=[ut,z,ee],ts=e=>es.find(t=>t.test(e));function mn(e){let t=ts(e);if(pe(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ee&&(n=Qr(n)),n}var gn=(e,t)=>{let n=mn(e),i=mn(t);if(!n||!i)return We(e,t);let r={...n};return s=>(r.red=ot(n.red,i.red,s),r.green=ot(n.green,i.green,s),r.blue=ot(n.blue,i.blue,s),r.alpha=Q(n.alpha,i.alpha,s),z.transform(r))},ns=(e,t)=>n=>t(e(n)),Mt=(...e)=>e.reduce(ns),ht=new Set(["none","hidden"]);function is(e,t){return ht.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function rs(e,t){return n=>Q(e,t,n)}function Et(e){return typeof e=="number"?rs:typeof e=="string"?At(e)?We:P.test(e)?gn:os:Array.isArray(e)?Qn:typeof e=="object"?P.test(e)?gn:ss:We}function Qn(e,t){let n=[...e],i=n.length,r=e.map((s,a)=>Et(s)(s,t[a]));return s=>{for(let a=0;a<i;a++)n[a]=r[a](s);return n}}function ss(e,t){let n={...e,...t},i={};for(let r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=Et(e[r])(e[r],t[r]));return r=>{for(let s in i)n[s]=i[s](r);return n}}function as(e,t){var n;let i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let a=t.types[s],o=e.indexes[a][r[a]],u=(n=e.values[o])!==null&&n!==void 0?n:0;i[s]=u,r[a]++}return i}var os=(e,t)=>{let n=ae.createTransformer(t),i=Se(e),r=Se(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?ht.has(e)&&!r.values.length||ht.has(t)&&!i.values.length?is(e,t):Mt(Qn(as(i,r),r.values),n):(pe(!0,`Complex values '${e}' and '${t}' 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.`),We(e,t))};function ei(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Q(e,t,n):Et(e)(e,t)}function vn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:u,restDelta:l=.5,restSpeed:c}){let f=e[0],d={done:!1,value:f},g=y=>o!==void 0&&y<o||u!==void 0&&y>u,v=y=>o===void 0?u:u===void 0||Math.abs(o-y)<Math.abs(u-y)?o:u,w=n*t,b=f+w,p=a===void 0?b:a(b);p!==b&&(w=p-f);let T=y=>-w*Math.exp(-y/i),E=y=>p+T(y),V=y=>{let x=T(y),j=E(y);d.done=Math.abs(x)<=l,d.value=d.done?p:j},m,S,A=y=>{g(d.value)&&(m=y,S=vt({keyframes:[d.value,v(d.value)],velocity:Vn(E,y,d.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return A(0),{calculatedDuration:null,next:y=>{let x=!1;return!S&&m===void 0&&(x=!0,V(y),A(y)),m!==void 0&&y>=m?S.next(y-m):(!x&&V(y),d)}}}var ls=xe(.42,0,1,1),us=xe(0,0,.58,1),ti=xe(.42,0,.58,1),yn={linear:I,easeIn:ls,easeInOut:ti,easeOut:us,circIn:wt,circInOut:In,circOut:wr,backIn:bt,backInOut:kn,backOut:Dn,anticipate:Rn},pt=e=>{if(Ie(e)){L(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,i,r]=e;return xe(t,n,i,r)}else if(typeof e=="string")return L(yn[e]!==void 0,`Invalid easing type '${e}'`),yn[e];return e};function cs(e,t,n){let i=[],r=n||ei,s=e.length-1;for(let a=0;a<s;a++){let o=r(e[a],e[a+1]);if(t){let u=Array.isArray(t)?t[a]||I:t;o=Mt(u,o)}i.push(o)}return i}function fs(e,t,{clamp:n=!0,ease:i,mixer:r}={}){let s=e.length;if(L(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=cs(t,i,r),u=o.length,l=c=>{if(a&&c<e[0])return t[0];let f=0;if(u>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let d=Z(e[f],e[f+1],c);return o[f](d)};return n?c=>l(U(e[0],e[s-1],c)):l}function ds(e,t){return e.map(n=>n*t)}function hs(e,t){return e.map(()=>t||ti).splice(0,e.length-1)}function He({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){let r=et(i)?i.map(pt):pt(i),s={done:!1,value:t[0]},a=ds(n&&n.length===t.length?n:tt(t),e),o=fs(a,t,{ease:Array.isArray(r)?r:hs(t,r)});return{calculatedDuration:e,next:u=>(s.value=o(u),s.done=u>=e,s)}}var ps=e=>{let t=({timestamp:n})=>e(n);return{start:()=>_.update(t,!0),stop:()=>_e(t),now:()=>Ke.isProcessing?Ke.timestamp:W.now()}},ms={decay:vn,inertia:vn,tween:He,keyframes:He,spring:vt},gs=e=>e/100,Ft=class extends Jn{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:o}=this.options;o&&o()};let{name:t,motionValue:n,element:i,keyframes:r}=this.options,s=i?.KeyframeResolver||Vt,a=(o,u)=>this.onKeyframesResolved(o,u);this.resolver=new s(r,a,t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let{type:t="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=this.options,a=X(t)?t:ms[t]||He,o,u;a!==He&&typeof e[0]!="number"&&(o=Mt(gs,ei(e[0],e[1])),e=[0,100]);let l=a({...this.options,keyframes:e});r==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=ke(l));let{calculatedDuration:c}=l,f=c+i,d=f*(n+1)-i;return{generator:l,mirroredGenerator:u,mapPercentToKeyframes:o,calculatedDuration:c,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:o,calculatedDuration:u,totalDuration:l,resolvedDuration:c}=n;if(this.startTime===null)return r.next(0);let{delay:f,repeat:d,repeatType:g,repeatDelay:v,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-l/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let b=this.currentTime-f*(this.speed>=0?1:-1),p=this.speed>=0?b<0:b>l;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let T=this.currentTime,E=r;if(d){let A=Math.min(this.currentTime,l)/c,y=Math.floor(A),x=A%1;!x&&A>=1&&(x=1),x===1&&y--,y=Math.min(y,d+1),!!(y%2)&&(g==="reverse"?(x=1-x,v&&(x-=v/c)):g==="mirror"&&(E=s)),T=U(0,1,x)*c}let V=p?{done:!1,value:o[0]}:E.next(T);a&&(V.value=a(V.value));let{done:m}=V;!p&&u!==null&&(m=this.speed>=0?this.currentTime>=l:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&m);return S&&i!==void 0&&(V.value=J(o,this.options,i)),w&&w(V.value),S&&this.finish(),V}get duration(){let{resolved:e}=this;return e?k(e.calculatedDuration):0}get time(){return k(this.currentTime)}set time(e){e=O(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=k(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=ps,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),t&&t();let i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}},vs=new Set(["opacity","clipPath","filter","transform"]),ze=10,ys=2e4;function bs(e){return X(e.type)||e.type==="spring"||!Ze(e.ease)}function ws(e,t){let n=new Ft({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},r=[],s=0;for(;!i.done&&s<ys;)i=n.sample(s),r.push(i.value),s+=ze;return{times:void 0,keyframes:r,duration:s-ze,ease:"linear"}}var ni={anticipate:Rn,backInOut:kn,circInOut:In};function Ts(e){return e in ni}var bn=class extends Jn{constructor(e){super(e);let{name:t,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new Xn(r,(s,a)=>this.onKeyframesResolved(s,a),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:i=300,times:r,ease:s,type:a,motionValue:o,name:u,startTime:l}=this.options;if(!(!((n=o.owner)===null||n===void 0)&&n.current))return!1;if(typeof s=="string"&&Y()&&Ts(s)&&(s=ni[s]),bs(this.options)){let{onComplete:f,onUpdate:d,motionValue:g,element:v,...w}=this.options,b=ws(e,w);e=b.keyframes,e.length===1&&(e[1]=e[0]),i=b.duration,r=b.times,s=b.ease,a="keyframes"}let c=Xe(o.owner.current,u,e,{...this.options,duration:i,times:r,ease:s});return c.startTime=l??this.calcStartTime(),this.pendingTimeline?(Re(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:f}=this.options;o.set(J(e,this.options,t)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:r,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return k(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return k(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=O(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return I;let{animation:n}=t;Re(n,e)}return I}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:i,type:r,ease:s,times:a}=e;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:u,onUpdate:l,onComplete:c,element:f,...d}=this.options,g=new Ft({...d,keyframes:n,duration:i,type:r,ease:s,times:a,isGenerator:!0}),v=O(this.time);u.setWithVelocity(g.sample(v-ze).value,g.sample(v).value,ze)}let{onStop:o}=this.options;o&&o(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:s,type:a}=e;return Qe()&&n&&vs.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&r!=="mirror"&&s!==0&&a!=="inertia"}},Ss={type:"spring",stiffness:500,damping:25,restSpeed:10},xs=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Cs={type:"keyframes",duration:.8},Vs={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},As=(e,{keyframes:t})=>t.length>2?Cs:re.has(e)?e.startsWith("scale")?xs(t[1]):Ss:Vs;function Ms({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:u,elapsed:l,...c}){return!!Object.keys(c).length}var ii=(e,t,n,i={},r,s)=>a=>{let o=De(i,e)||{},u=o.delay||i.delay||0,{elapsed:l=0}=i;l=l-O(u);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-l,onUpdate:d=>{t.set(d),o.onUpdate&&o.onUpdate(d)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:r};Ms(o)||(c={...c,...As(e,c)}),c.duration&&(c.duration=O(c.duration)),c.repeatDelay&&(c.repeatDelay=O(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){let d=J(c.keyframes,o);if(d!==void 0)return _.update(()=>{c.onUpdate(d),c.onComplete()}),new me([])}return!s&&bn.supports(c)?new bn(c):new Ft(c)};function Es({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function Fs(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:a=e.getDefaultTransition(),transitionEnd:o,...u}=t;i&&(a=i);let l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(let f in u){let d=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),g=u[f];if(g===void 0||c&&Es(c,f))continue;let v={delay:n,...De(a||{},f)},w=!1;if(window.MotionHandoffAnimation){let p=gr(e);if(p){let T=window.MotionHandoffAnimation(p,f,_);T!==null&&(v.startTime=T,w=!0)}}hr(e,f),d.start(ii(f,d,g,e.shouldReduceMotion&&An.has(f)?{type:!1}:v,e,w));let b=d.animation;b&&l.push(b)}return o&&Promise.all(l).then(()=>{_.update(()=>{o&&fr(e,o)})}),l}function Ps(e){return e instanceof SVGElement&&e.tagName!=="svg"}var wn=()=>({min:0,max:0}),Pt=()=>({x:wn(),y:wn()}),Tn={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"]},mt={};for(let e in Tn)mt[e]={isEnabled:t=>Tn[e].some(n=>!!t[n])};var Os=typeof window<"u",gt={current:null},ri={current:!1};function Ds(){if(ri.current=!0,!!Os)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gt.current=e.matches;e.addListener(t),t()}else gt.current=!1}var ks=[...Zn,P,ae],Rs=e=>ks.find(Yn(e));function Is(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ls(e){return typeof e=="string"||Array.isArray(e)}var Ns=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Bs=["initial",...Ns];function si(e){return Is(e.animate)||Bs.some(t=>Ls(e[t]))}function _s(e){return!!(si(e)||e.variants)}function Ks(e,t,n){for(let i in t){let r=t[i],s=n[i];if(F(r))e.addValue(i,r);else if(F(s))e.addValue(i,we(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){let a=e.getValue(i);a.liveStyle===!0?a.jump(r):a.hasAnimated||a.set(r)}else{let a=e.getStaticValue(i);e.addValue(i,we(a!==void 0?a:r,{owner:e}))}}for(let i in n)t[i]===void 0&&e.removeValue(i);return t}var Sn=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ai=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Vt,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 d=W.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,_.render(this.render,!1,!0))};let{latestValues:o,renderState:u,onUpdate:l}=s;this.onUpdate=l,this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=si(t),this.isVariantNode=_s(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(let d in f){let g=f[d];o[d]!==void 0&&F(g)&&g.set(o[d],!1)}}mount(e){this.current=e,te.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=>this.bindToMotionValue(n,t)),ri.current||Ds(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gt.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){te.delete(this.current),this.projection&&this.projection.unmount(),_e(this.notifyUpdate),_e(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=re.has(e),i=t.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&_.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender),s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r(),s&&s(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in mt){let t=mt[e];if(!t)continue;let{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){let r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<Sn.length;n++){let i=Sn[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r="on"+i,s=e[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=Ks(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=we(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&($n(i)||Ln(i))?i=parseFloat(i):!Rs(i)&&ae.test(t)&&(i=Hn(e,t)),this.setBaseTarget(e,F(i)?i.get():i)),F(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,i;if(typeof n=="string"||typeof n=="object"){let s=En(this.props,n,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);s&&(i=s[e])}if(n&&i!==void 0)return i;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!F(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Mn),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}},oi=class extends ai{constructor(){super(...arguments),this.KeyframeResolver=Xn}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;F(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},li=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ws={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Hs=ie.length;function zs(e,t,n){let i="",r=!0;for(let s=0;s<Hs;s++){let a=ie[s],o=e[a];if(o===void 0)continue;let u=!0;if(typeof o=="number"?u=o===(a.startsWith("scale")?1:0):u=parseFloat(o)===0,!u||n){let l=li(o,xt[a]);if(!u){r=!1;let c=Ws[a]||a;i+=`${c}(${l}) `}n&&(t[a]=l)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function ui(e,t,n){let{style:i,vars:r,transformOrigin:s}=e,a=!1,o=!1;for(let u in t){let l=t[u];if(re.has(u)){a=!0;continue}else if(jn(u)){r[u]=l;continue}else{let c=li(l,xt[u]);u.startsWith("origin")?(o=!0,s[u]=c):i[u]=c}}if(t.transform||(a||n?i.transform=zs(t,e.transform,n):i.transform&&(i.transform="none")),o){let{originX:u="50%",originY:l="50%",originZ:c=0}=s;i.transformOrigin=`${u} ${l} ${c}`}}function xn(e,t,n){return typeof e=="string"?e:h.transform(t+n*e)}function Gs(e,t,n){let i=xn(t,e.x,e.width),r=xn(n,e.y,e.height);return`${i} ${r}`}var $s={offset:"stroke-dashoffset",array:"stroke-dasharray"},Us={offset:"strokeDashoffset",array:"strokeDasharray"};function js(e,t,n=1,i=0,r=!0){e.pathLength=1;let s=r?$s:Us;e[s.offset]=h.transform(-i);let a=h.transform(t),o=h.transform(n);e[s.array]=`${a} ${o}`}function qs(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:s,pathLength:a,pathSpacing:o=1,pathOffset:u=0,...l},c,f){if(ui(e,l,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:g,dimensions:v}=e;d.transform&&(v&&(g.transform=d.transform),delete d.transform),v&&(r!==void 0||s!==void 0||g.transform)&&(g.transformOrigin=Gs(v,r!==void 0?r:.5,s!==void 0?s:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),i!==void 0&&(d.scale=i),a!==void 0&&js(d,a,o,u,!1)}var ci=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"]),Ys=e=>typeof e=="string"&&e.toLowerCase()==="svg";function fi(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(let s in n)e.style.setProperty(s,n[s])}function Zs(e,t,n,i){fi(e,t,void 0,i);for(let r in t.attrs)e.setAttribute(ci.has(r)?r:yt(r),t.attrs[r])}var Xs={};function Js(e,{layout:t,layoutId:n}){return re.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Xs[e]||e==="opacity")}function di(e,t,n){var i;let{style:r}=e,s={};for(let a in r)(F(r[a])||t.style&&F(t.style[a])||Js(a,e)||((i=n?.getValue(a))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function Qs(e,t,n){let i=di(e,t,n);for(let r in e)if(F(e[r])||F(t[r])){let s=ie.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}var ea=class extends oi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pt}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(re.has(t)){let n=Ct(t);return n&&n.default||0}return t=ci.has(t)?t:yt(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Qs(e,t,n)}build(e,t,n){qs(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){Zs(e,t,n,i)}mount(e){this.isSVGTag=Ys(e.tagName),super.mount(e)}};function ta({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function na(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function ia(e,t){return ta(na(e.getBoundingClientRect(),t))}function ra(e){return window.getComputedStyle(e)}var sa=class extends oi{constructor(){super(...arguments),this.type="html",this.renderInstance=fi}readValueFromInstance(e,t){if(re.has(t)){let n=Ct(t);return n&&n.default||0}else{let n=ra(e),i=(jn(t)?n.getPropertyValue(t):n[t])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ia(e,t)}build(e,t,n){ui(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return di(e,t,n)}};function aa(e,t){return e in t}var oa=class extends ai{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(aa(t,e)){let n=e[t];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return Pt()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function la(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Ps(e)?new ea(t):new sa(t);n.mount(e),te.set(e,n)}function ua(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new oa(t);n.mount(e),te.set(e,n)}function ca(e,t,n){let i=F(e)?e:we(e);return i.start(ii("",i,t,n)),i.animation}function fa(e,t){return F(e)||typeof e=="number"||typeof e=="string"&&!Le(t)}function hi(e,t,n,i){let r=[];if(fa(e,t))r.push(ca(e,Le(t)&&t.default||t,n&&(n.default||n)));else{let s=nt(e,t,i),a=s.length;L(!!a,"No valid elements provided.");for(let o=0;o<a;o++){let u=s[o],l=u instanceof Element?la:ua;te.has(u)||l(u);let c=te.get(u),f={...n};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(o,a)),r.push(...Fs(c,{...t,transition:f},{}))}}return r}function da(e,t,n){let i=[];return rt(e,t,n,{spring:vt}).forEach(({keyframes:s,transition:a},o)=>{i.push(...hi(o,s,a))}),i}function ha(e){return Array.isArray(e)&&e.some(Array.isArray)}function pa(e){function t(n,i,r){let s=[];ha(n)?s=da(n,i,e):s=hi(n,i,r,e);let a=new me(s);return e&&e.animations.push(a),a}return t}var Ba=pa();function ma(e,t){if(e==="first")return 0;{let n=t-1;return e==="last"?n:n/2}}function Ot(e=.1,{startDelay:t=0,from:n=0,ease:i}={}){return(r,s)=>{let a=typeof n=="number"?n:ma(n,s),o=Math.abs(a-r),u=e*o;if(i){let l=s*e;u=pt(i)(u/l)*l}return t+u}}var _a=ye.reduce((e,t)=>(e[t]=n=>_e(n),e),{});var ga=Symbol.for("preact-signals");function kt(){if(oe>1)oe--;else{for(var e,t=!1;Ce!==void 0;){var n=Ce;for(Ce=void 0,Dt++;n!==void 0;){var i=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&gi(n))try{n.c()}catch(r){t||(e=r,t=!0)}n=i}}if(Dt=0,oe--,t)throw e}}var C=void 0;var Ce=void 0,oe=0,Dt=0,Ge=0;function pi(e){if(C!==void 0){var t=e.n;if(t===void 0||t.t!==C)return t={i:0,S:e,p:C.s,n:void 0,t:C,e:void 0,x:void 0,r:t},C.s!==void 0&&(C.s.n=t),C.s=t,e.n=t,32&C.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=C.s,t.n=void 0,C.s.n=t,C.s=t),t}}function D(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}D.prototype.brand=ga;D.prototype.h=function(){return!0};D.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};D.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}};D.prototype.subscribe=function(e){var t=this;return ya(function(){var n=t.value,i=C;C=void 0;try{e(n)}finally{C=i}})};D.prototype.valueOf=function(){return this.value};D.prototype.toString=function(){return this.value+""};D.prototype.toJSON=function(){return this.value};D.prototype.peek=function(){var e=C;C=void 0;try{return this.value}finally{C=e}};Object.defineProperty(D.prototype,"value",{get:function(){var e=pi(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Dt>100)throw new Error("Cycle detected");this.v=e,this.i++,Ge++,oe++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{kt()}}}});function mi(e){return new D(e)}function gi(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function vi(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function yi(e){for(var t=e.s,n=void 0;t!==void 0;){var i=t.p;t.i===-1?(t.S.U(t),i!==void 0&&(i.n=t.n),t.n!==void 0&&(t.n.p=i)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=i}e.s=n}function Ve(e){D.call(this,void 0),this.x=e,this.s=void 0,this.g=Ge-1,this.f=4}(Ve.prototype=new D).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ge))return!0;if(this.g=Ge,this.f|=1,this.i>0&&!gi(this))return this.f&=-2,!0;var e=C;try{vi(this),C=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return C=e,yi(this),this.f&=-2,!0};Ve.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}D.prototype.S.call(this,e)};Ve.prototype.U=function(e){if(this.t!==void 0&&(D.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Ve.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Ve.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=pi(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function bi(e){var t=e.u;if(e.u=void 0,typeof t=="function"){oe++;var n=C;C=void 0;try{t()}catch(i){throw e.f&=-2,e.f|=8,Rt(e),i}finally{C=n,kt()}}}function Rt(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,bi(e)}function va(e){if(C!==this)throw new Error("Out-of-order effect");yi(this),C=e,this.f&=-2,8&this.f&&Rt(this),kt()}function Ae(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Ae.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};Ae.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,bi(this),vi(this),oe++;var e=C;return C=this,va.bind(this,e)};Ae.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ce,Ce=this)};Ae.prototype.d=function(){this.f|=8,1&this.f||Rt(this)};function ya(e){var t=new Ae(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var wi=e=>{window.NudgeMoment=Object.assign(window.NudgeMoment||{},{custom:{...window.NudgeMoment?.custom,...e}})},$e=e=>{$(document).ready(()=>{window.NudgeMoment.check().then(t=>{t&&e()})})};var Ti=".NDGMNT__FloatingFixedButton__floating-button-container",ba=".NDGMNT__FloatingFixedButton__floating-menu",wa=".NDGMNT__FloatingFixedButton__trigger-button",Ta='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users-round"><path d="M18 21a8 8 0 0 0-16 0"/><circle cx="10" cy="8" r="5"/><path d="M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"/></svg>',Sa={naver:'<svg width="289" height="291" viewBox="0 0 289 291" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M247.979 34.7843V183.205C247.979 195.764 237.784 205.968 225.238 205.968H86.8376C83.8876 205.968 57.8875 206.368 46.775 219.818L40.3709 226.401L28.9917 238.093L16.2875 251.147C15.325 251.714 13.8 252.393 12.8042 252.393L12.6667 252.414C12.6583 252.405 11.3792 251.18 11.3792 245.534V34.7843C11.3792 22.2259 21.5834 12.0218 34.1417 12.0218H225.238C235.188 12.0218 243.567 18.4759 246.65 27.3926C247.459 29.7259 247.979 32.1843 247.979 34.7843ZM278.817 38.1176L278.859 38.0468L250.175 11.6093C243.95 4.90091 235.096 0.642578 225.238 0.642578H34.1417C15.325 0.642578 0 15.9509 0 34.7843V245.534C0 251.393 1.07917 255.755 3.26667 258.859C4.03334 259.951 4.9375 260.872 5.9625 261.609L33.3917 286.884C33.8292 287.347 34.2792 287.768 34.7584 288.143L34.9917 288.368L35.025 288.33C35.4792 288.651 35.9167 289.009 36.4 289.268C38.0209 290.093 39.8375 290.534 41.7959 290.534C46.8875 290.534 51.3334 287.576 52.175 286.984L84.2376 254.18C91.0334 245.959 109.325 244.13 115.821 244.114H254.225C273.046 244.114 288.359 228.797 288.359 209.976V61.5343C288.359 52.4093 284.7 44.2093 278.817 38.1176Z" fill="white"/><path d="M75.1167 71.9814C65.7084 71.9814 58.1125 79.6022 58.1125 88.9939V124.715C58.1125 134.111 65.7084 141.719 75.1167 141.719C84.5001 141.719 92.1251 134.111 92.1251 124.715V88.9939C92.1251 79.6022 84.5001 71.9814 75.1167 71.9814Z" fill="white"/><path d="M181.058 71.9814C171.663 71.9814 164.038 79.6022 164.038 88.9939V124.715C164.038 134.111 171.663 141.719 181.058 141.719C190.446 141.719 198.054 134.111 198.054 124.715V88.9939C198.054 79.6022 190.446 71.9814 181.058 71.9814Z" fill="white"/></svg>',kakao:'<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.00002 0.0999756C4.02917 0.0999756 0 3.21293 0 7.05226C0 9.44 1.5584 11.5449 3.93152 12.7969L2.93303 16.4445C2.84481 16.7668 3.21341 17.0237 3.49646 16.8369L7.87334 13.9482C8.2427 13.9838 8.61808 14.0046 9.00002 14.0046C13.9705 14.0046 17.9999 10.8918 17.9999 7.05226C17.9999 3.21293 13.9705 0.0999756 9.00002 0.0999756Z" fill="black"/></svg>',youtube:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-youtube"><path d="M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17"/><path d="m10 15 5-3-5-3z"/></svg>',instagram:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-instagram"><rect width="20" height="20" x="2" y="2" rx="5" ry="5"/><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"/><line x1="17.5" x2="17.51" y1="6.5" y2="6.5"/></svg>',thread:`<svg width="413" height="480" viewBox="0 0 413 480" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M321.342 222.471C319.275 221.48 317.175 220.526 315.047 219.613C311.342 151.346 274.04 112.262 211.405 111.862C211.121 111.861 210.839 111.861 210.555 111.861C173.091 111.861 141.933 127.852 122.755 156.952L157.202 180.582C171.529 158.846 194.013 154.212 210.572 154.212C210.763 154.212 210.955 154.212 211.144 154.214C231.768 154.345 247.33 160.342 257.402 172.035C264.732 180.548 269.635 192.312 272.062 207.16C253.777 204.052 234.002 203.096 212.862 204.308C153.312 207.738 115.028 242.47 117.599 290.73C118.904 315.21 131.099 336.27 151.938 350.027C169.556 361.658 192.247 367.345 215.831 366.057C246.975 364.35 271.408 352.467 288.452 330.74C301.397 314.24 309.585 292.857 313.2 265.915C328.043 274.872 339.042 286.66 345.117 300.83C355.447 324.918 356.05 364.5 323.753 396.77C295.455 425.04 261.44 437.27 210.034 437.648C153.01 437.225 109.884 418.938 81.8452 383.293C55.5887 349.915 42.0192 301.705 41.513 240C42.0192 178.294 55.5887 130.084 81.8452 96.7068C109.884 61.0623 153.01 42.775 210.033 42.3512C267.47 42.7783 311.348 61.1535 340.46 96.97C354.735 114.534 365.497 136.622 372.592 162.376L412.96 151.605C404.36 119.906 390.827 92.5892 372.412 69.935C335.09 24.0167 280.505 0.48787 210.174 0H209.892C139.704 0.486175 85.7302 24.1045 49.4707 70.1982C17.2048 111.216 0.561 168.289 0.00174999 239.831L0 240L0.00174999 240.169C0.561 311.71 17.2048 368.785 49.4707 409.803C85.7302 455.895 139.704 479.515 209.892 480H210.174C272.575 479.568 316.56 463.23 352.795 427.028C400.202 379.665 398.775 320.298 383.15 283.853C371.94 257.717 350.568 236.49 321.342 222.471ZM213.601 323.768C187.501 325.238 160.386 313.522 159.049 288.43C158.058 269.825 172.29 249.065 215.203 246.592C220.117 246.309 224.94 246.17 229.678 246.17C245.265 246.17 259.848 247.684 273.105 250.583C268.16 312.337 239.155 322.365 213.601 323.768Z" fill="white"/></svg>
|
12
|
+
`},xa={naver:{backgroundColor:"#03C75A",borderColor:"#03C75A"},kakao:{backgroundColor:"#FAE100",borderColor:"#FAE100"},youtube:{backgroundColor:"#ff0000",borderColor:"#ff0000"},instagram:{backgroundColor:"transparent",borderColor:"",backgroundImage:"linear-gradient(45deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%)"},thread:{backgroundColor:"#121212",borderColor:"#121212"}},It=class{constructor(t){q(this,"container");q(this,"menu");q(this,"trigger");q(this,"options");q(this,"isOpenSignal",mi(!1));let n=t.containerSelector??Ti,i=t.triggerContent??Ta;this.options={containerSelector:n,triggerContent:i,snsConfigs:t.snsConfigs},this.container=document.querySelector(n),this.menu=this.container.querySelector(ba),this.trigger=this.container.querySelector(wa),this.isOpenSignal.subscribe(r=>{r?this.handleOpen():this.handleClose()}),typeof this.options.triggerContent=="string"?this.trigger.innerHTML=this.options.triggerContent:this.options.triggerContent instanceof HTMLElement&&this.trigger.appendChild(this.options.triggerContent),this.initialize()}initialize(){this.menu.innerHTML="",this.options.snsConfigs.forEach(t=>{let n=document.createElement("li"),i=document.createElement("button");i.innerHTML=Sa[t.sns];let r=xa[t.sns];i.style.borderColor=r.borderColor,i.style.backgroundColor=r.backgroundColor,i.style.backgroundImage=r.backgroundImage??"",i.style.color=t.sns==="kakao"?"#000000":"#FFFFFF",i.dataset.hoverBg=r.backgroundColor||"",n.appendChild(i),this.menu.appendChild(n),i.addEventListener("click",()=>{window.open(t.link,"_blank"),this.isOpenSignal.value=!1})}),this.trigger.addEventListener("click",()=>this.toggle()),document.addEventListener("click",t=>this.handleClickOutside(t)),setTimeout(()=>{$(Ti).addClass("visible")},800)}toggle(){this.isOpenSignal.value=!this.isOpenSignal.value}handleOpen(){this.menu.setAttribute("data-visible","true");let t=this.menu.querySelectorAll("li");t.length>0&&ve(t,{opacity:1,transform:"translateY(0)"},{delay:Ot(.1,{from:"last"}),duration:.3,ease:"easeInOut"})}handleClose(){let t=this.menu.querySelectorAll("li");t.length>0?ve(t,{opacity:0,transform:"translateY(5px)"},{delay:Ot(.1,{from:"first"}),duration:.3,ease:"easeInOut",onComplete:()=>{this.menu.setAttribute("data-visible","false")}}):this.menu.setAttribute("data-visible","false")}handleClickOutside(t){this.container.contains(t.target)||(this.isOpenSignal.value=!1)}};$e(()=>{wi({FloatingFixedButton:It}),window.NudgeMoment.net.emit("template__FloatingFixedButton")});function Ca(){let e=document.createElement("div");e.className="NDGMNT__header__scroll-progress";let t=$("#inline_header_mobile").is(":visible"),n=document.querySelector(t?"#inline_header_mobile":"#inline_header_normal");if(!n)throw new Error("[NDGMNT] header element \uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");n.appendChild(e);function i(){let r=window.scrollY,s=document.documentElement.scrollHeight-window.innerHeight,a=r/s;r>100?e.classList.add("visible"):e.classList.remove("visible"),e.style.transform=`scaleX(${a})`}window.addEventListener("scroll",i)}$e(()=>{Ca()});})();
|
package/dist/style.css
CHANGED
@@ -8,4 +8,4 @@
|
|
8
8
|
* via any medium, is strictly prohibited without express written permission.
|
9
9
|
* Legal action will be taken against unauthorized use.
|
10
10
|
*/
|
11
|
-
.NDGMNT__FloatingFixedButton__floating-button-container{position:relative;display:flex;flex-direction:column;align-items:center;opacity:0;transform:translateY(15px);transition-duration:.8s;transition-timing-function:ease-out}.NDGMNT__FloatingFixedButton__floating-button-container.visible{opacity:100;transform:translateY(0)}.NDGMNT__FloatingFixedButton__floating-menu{position:absolute;bottom:56px;display:flex;flex-direction:column;align-items:center;gap:8px;list-style:none;padding:0;margin:0;opacity:0;pointer-events:none;transition:opacity .3s ease}.NDGMNT__FloatingFixedButton__floating-menu[data-visible=true]{opacity:1;pointer-events:all}.NDGMNT__FloatingFixedButton__floating-menu li{opacity:0;transform:translateY(5px)}.NDGMNT__FloatingFixedButton__floating-menu li button{width:44px;height:44px;border:1px solid;border-radius:50%;background:0 0;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;transition:all .3s ease}.NDGMNT__FloatingFixedButton__floating-menu li button:hover{opacity:.8}.NDGMNT__FloatingFixedButton__floating-menu li button svg{width:20px;height:20px;transition-duration:150ms;transition-timing-function:ease-out}.NDGMNT__FloatingFixedButton__floating-menu li button:hover svg{transform:scale(1.1)}.NDGMNT__FloatingFixedButton__trigger-button{transition:all .3s ease;background-color:#000;box-shadow:rgba(0,0,0,.24) 0 3px 8px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;width:44px;height:44px}.NDGMNT__FloatingFixedButton__trigger-button:hover{background-color:rgba(0,0,0,.8)}.NDGMNT__FloatingFixedButton__trigger-button svg{width:24px;height:24px;color:#fff}.NDGMNT__target-section__container{height:500px;padding:16px 0;display:flex;flex-direction:column;gap:20px;word-break:keep-all;width:80%;margin:0 auto}.NDGMNT__target-section__card{display:flex;height:100px;padding:0 77px 0 21px;align-items:center;align-self:stretch;border-radius:8px;margin:0 8px;box-shadow:rgba(149,157,165,.2) 0 8px 24px}.NDGMNT__target-section__text{font-size:18px;font-weight:700;margin-left:12px}.NDGMNT__target-section__span{font-size:16px}.NDGMNT__stat-section__container{display:flex;width:100%;background-color:rgba(20,132,255,.1);padding:72px 0}.NDGMNT__stat-section__column{flex:1 1 0%}.NDGMNT__stat-section__title{text-align:center;font-weight:700;font-size:18px;margin-bottom:24px}.NDGMNT__stat-section__stat-wrapper{text-align:center}.NDGMNT__stat-section__stat{font-size:48px}.NDGMNT__review-section__carousel{--slide-height:304px;--slide-spacing:16px;--slide-size:33%}.NDGMNT__review-section__viewport{overflow:hidden}.NDGMNT__review-section__container{display:flex;touch-action:pan-y pinch-zoom;margin-left:calc(var(--slide-spacing) * -1);padding:16px 0}.NDGMNT__review-section__slide{transform:translate3d(0,0,0);flex:0 0 var(--slide-size);min-width:0;padding-left:var(--slide-spacing);min-width:400px}.NDGMNT__review-section__controls{display:grid;grid-template-columns:auto 1fr;justify-content:space-between;gap:19.2px;margin-top:28.8px}.NDGMNT__review-section__buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:9.6px;align-items:center}.NDGMNT__review-section__button{-webkit-tap-highlight-color:rgba(var(--text-high-contrast-rgb-value),0.5);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;touch-action:manipulation;display:inline-flex;text-decoration:none;cursor:pointer;border:0;padding:0;margin:0;box-shadow:inset 0 0 0 3.2px var(--detail-medium-contrast);width:57.6px;height:57.6px;z-index:1;border-radius:50%;color:var(--text-body);display:flex;align-items:center;justify-content:center}.NDGMNT__review-section__button:disabled{color:var(--detail-high-contrast)}.NDGMNT__review-section__button-svg{width:35%;height:35%}.NDGMNT__review-section__card-box{height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.NDGMNT__review-section__card-content{display:flex;height:100%;flex-direction:column;border-radius:12px;border-width:1px;background-color:#f9f9f9;padding-left:16px;padding-right:16px;padding-top:24px;padding-bottom:24px}.NDGMNT__review-section__card-title{margin-bottom:24px;font-size:18px;line-height:28px;font-weight:700}.NDGMNT__review-section__card-desc{margin-right:16px}.NDGMNT__review-section__button--next path,.NDGMNT__review-section__button--prev path{stroke:var(--main)}.NDGMNT__review-section__buttons button{display:inline-flex;border:1px red}.NDGMNT__mobile-stat-section__container{background-color:rgba(20,132,255,.1);display:flex;flex-direction:column;gap:10vh}.NDGMNT__mobile-stat-section__item{flex:1 1 0%}.NDGMNT__mobile-stat-section__title{text-align:center;font-weight:700}.NDGMNT__mobile-stat-section__value{text-align:center}.NDGMNT__mobile-map-section__address-box{display:flex;height:100px;width:90%;max-width:500px;align-items:center;justify-content:center;border-radius:12px;background-color:#f5f5f5}.NDGMNT__mobile-map-section__address-text{word-break:keep-all}.NDGMNT__mobile-map-section__copy-button{z-index:2;border-radius:6px;border-width:1px;background-color:#fff;-webkit-backdrop-filter:1 1 1 1 1 1 1 1 1;backdrop-filter:1 1 1 1 1 1 1 1 1;display:inline-flex;width:30px;height:30px;justify-content:center;align-items:center;padding:0}.NDGMNT__mobile-map-section__button-box{display:flex;justify-content:center;gap:16px}.NDGMNT__mobile-map-section__map-button{display:inline-flex;height:40px;min-width:100px;align-items:center;justify-content:center;border-radius:6px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}.NDGMNT__mobile-map-section__map-button--naver{background-color:#38b945}.NDGMNT__mobile-map-section__map-button--kakao{background-color:#fae100}.NDGMNT__mobile-intro-section__image-container{position:relative;z-index:10;pointer-events:none;overflow:hidden;max-width:500px;border-radius:20px;margin:0 auto}.NDGMNT__mobile-intro-section__image{width:287px;margin:0 auto}.NDGMNT__mobile-intro-section__content-box{margin-left:auto;margin-right:auto;width:80%;border-radius:12px;border-width:1px;background-color:#f5f5f5;max-width:500px}.NDGMNT__mobile-intro-section__career-title{font-weight:700}.NDGMNT__mobile-intro-section__career-list{word-break:keep-all;padding-left:8px}.NDGMNT__mobile-intro-section__career-item{list-style-position:inside;list-style-type:disc}.NDGMNT__mobile-gradual-section__container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.NDGMNT__mobile-gradual-section__step{display:flex;flex-direction:column;gap:22px}.NDGMNT__mobile-gradual-section__circle{display:inline-flex;height:170px;width:170px;align-items:center;justify-content:center;border-radius:9999px;background-color:#1484ff}.NDGMNT__mobile-gradual-section__circle-img{pointer-events:none}.NDGMNT__mobile-gradual-section__arrow-box{display:inline-flex;width:170px;align-items:center;justify-content:center}.NDGMNT__mobile-gradual-section__arrow-img{-o-object-fit:contain;object-fit:contain;transform:rotate(90deg)}.NDGMNT__mobile-first-feature-section__container{width:90%;margin:0 auto}.NDGMNT__mobile-first-feature-section__content{display:flex;flex-direction:column}.NDGMNT__mobile-first-feature-section__image-wrapper{display:flex;flex:1 1 0%;align-items:center;justify-content:center}.NDGMNT__mobile-first-feature-section__image{pointer-events:none;border-radius:20px;margin:0 auto;width:450px;-o-object-fit:cover;object-fit:cover}.NDGMNT__mobile-first-feature-section__text-wrapper{display:flex;flex:1 1 0%;flex-direction:column;justify-content:center;text-align:right}.NDGMNT__mobile-first-feature-section__separator{height:1px;border-width:0;width:100%;background-color:#e5e7eb}.NDGMNT__mobile-faq-section__container{width:90%;max-width:700px;margin:0 auto}.NDGMNT__mobile-faq-section__details{margin-top:calc(16px * calc(1 - 1));margin-bottom:calc(16px * 1)}.NDGMNT__mobile-faq-section__summary{display:flex;cursor:pointer;align-items:center;justify-content:space-between;gap:6px;border-radius:8px;background-color:#f9fafb;color:#111827}.NDGMNT__mobile-faq-section__question{margin:0}.NDGMNT__mobile-faq-section__answer{line-height:1.625;color:#374151}details.NDGMNT__mobile-faq-section__details[open] svg.NDGMNT__mobile-faq-section__toggle-svg{transform:rotate(180deg)}details summary::-webkit-details-marker{display:none}.NDGMNT__mobile-cta-section__container{margin:20px 16px}.NDGMNT__mobile-cta-section__title-highlight{color:#1484ff}.NDGMNT__mobile-cta-section__button{border-radius:6px;color:#fff;transition:background-color .3s ease-out;background-color:var(--main,#1484ff)}.NDGMNT__map-section__address-box{display:flex;height:100px;width:80%;max-width:500px;align-items:center;justify-content:center;border-radius:12px;background-color:#f5f5f5;padding:16px 12px}.NDGMNT__map-section__address-text{word-break:keep-all}.NDGMNT__map-section__copy-button{z-index:2;border-radius:6px;border-width:1px;background-color:#fff;-webkit-backdrop-filter:1 1 1 1 1 1 1 1 1;backdrop-filter:1 1 1 1 1 1 1 1 1;display:inline-flex;width:30px;height:30px;justify-content:center;align-items:center;padding:0}.NDGMNT__map-section__button-box{display:flex;justify-content:center;gap:16px}.NDGMNT__map-section__map-button{display:inline-flex;height:40px;min-width:100px;align-items:center;justify-content:center;border-radius:6px;padding:8px 16px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}.NDGMNT__map-section__map-button--naver{background-color:#38b945}.NDGMNT__map-section__map-button--kakao{background-color:#fae100}.NDGMNT__intro-section__container{margin-left:auto;margin-right:auto;margin-bottom:8px;width:100%;border-radius:12px;border-width:1px;background-color:#f5f5f5;padding-left:24px;padding-right:24px;padding-top:32px;padding-bottom:32px}.NDGMNT__intro-section__title{font-weight:700}.NDGMNT__intro-section__list{word-break:keep-all;padding-left:8px}.NDGMNT__intro-section__list-item{list-style-position:inside;list-style-type:disc}.NDGMNT__gradual-section__container{display:flex;align-items:flex-start;justify-content:center;gap:40px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.NDGMNT__gradual-section__step{display:flex;flex-direction:column;gap:32px}.NDGMNT__gradual-section__circle{display:inline-flex;height:170px;width:170px;align-items:center;justify-content:center;border-radius:9999px;background-color:#1484ff}.NDGMNT__gradual-section__circle-img{pointer-events:none}.NDGMNT__gradual-section__arrow-box{display:inline-flex;height:170px;align-items:center;justify-content:center}.NDGMNT__gradual-section__arrow-img{-o-object-fit:contain;object-fit:contain}.NDGMNT__first-feature-section__container{margin-left:auto;margin-right:auto;display:flex;width:85%;flex-direction:column;gap:32px}.NDGMNT__first-feature-section__row{display:flex}.NDGMNT__first-feature-section__content{display:flex;flex:1 1 0%;flex-direction:column;justify-content:center}.NDGMNT__first-feature-section__content-right{padding-right:48px}.NDGMNT__first-feature-section__content-left{padding-left:48px;text-align:right}.NDGMNT__first-feature-section__image-wrapper{display:flex;flex:1 1 0%;align-items:center}.NDGMNT__first-feature-section__image-wrapper-right{justify-content:flex-end}.NDGMNT__first-feature-section__image-wrapper-left{justify-content:flex-start}.NDGMNT__first-feature-section__image{pointer-events:none;border-radius:150px 6px 6px;width:450px;-o-object-fit:cover;object-fit:cover}.NDGMNT__first-feature-section__image-right{margin:0 0 0 auto}.NDGMNT__first-feature-section__image-left{margin:0 auto 0 0}.NDGMNT__first-feature-section__separator{margin-top:32px;margin-bottom:32px;height:1px;border-width:0;width:100%;background-color:#e5e7eb}.NDGMNT__faq-section__container{width:60%;max-width:700px;margin:0 auto}.NDGMNT__faq-section__details{margin-top:calc(16px * calc(1 - 1));margin-bottom:calc(16px * 1)}.NDGMNT__faq-section__summary{display:flex;cursor:pointer;align-items:center;justify-content:space-between;gap:6px;border-radius:8px;background-color:#f9fafb;padding:16px;color:#111827}.NDGMNT__faq-section__answer{padding-left:16px;padding-right:16px;line-height:1.625;color:#374151;padding-bottom:20px}details.NDGMNT__faq-section__details[open] svg.NDGMNT__faq-section__toggle-svg{transform:rotate(180deg)}details summary::-webkit-details-marker{display:none}.NDGMNT__cta-section__button{transition:background-color .3s ease-out}
|
11
|
+
.NDGMNT__header__scroll-progress{position:absolute;bottom:0;left:0;right:0;height:3px;transform-origin:left;background:linear-gradient(to right,#fff1e6,#fd9a36,#ffbd6f);border-top-right-radius:6px;border-bottom-right-radius:6px;z-index:1000;opacity:0;transition:opacity .5s ease-in-out}.NDGMNT__header__scroll-progress.visible{opacity:1}.NDGMNT__FloatingFixedButton__floating-button-container{position:relative;display:flex;flex-direction:column;align-items:center;opacity:0;transform:translateY(15px);transition-duration:.8s;transition-timing-function:ease-out}.NDGMNT__FloatingFixedButton__floating-button-container.visible{opacity:100;transform:translateY(0)}.NDGMNT__FloatingFixedButton__floating-menu{position:absolute;bottom:56px;display:flex;flex-direction:column;align-items:center;gap:8px;list-style:none;padding:0;margin:0;opacity:0;pointer-events:none;transition:opacity .3s ease}.NDGMNT__FloatingFixedButton__floating-menu[data-visible=true]{opacity:1;pointer-events:all}.NDGMNT__FloatingFixedButton__floating-menu li{opacity:0;transform:translateY(5px)}.NDGMNT__FloatingFixedButton__floating-menu li button{width:44px;height:44px;border:1px solid;border-radius:50%;background:0 0;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;transition:all .3s ease}.NDGMNT__FloatingFixedButton__floating-menu li button:hover{opacity:.8}.NDGMNT__FloatingFixedButton__floating-menu li button svg{width:20px;height:20px;transition-duration:150ms;transition-timing-function:ease-out}.NDGMNT__FloatingFixedButton__floating-menu li button:hover svg{transform:scale(1.1)}.NDGMNT__FloatingFixedButton__trigger-button{transition:all .3s ease;background-color:#000;box-shadow:rgba(0,0,0,.24) 0 3px 8px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;width:44px;height:44px}.NDGMNT__FloatingFixedButton__trigger-button:hover{background-color:rgba(0,0,0,.8)}.NDGMNT__FloatingFixedButton__trigger-button svg{width:24px;height:24px;color:#fff}.NDGMNT__target-section__container{height:500px;padding:16px 0;display:flex;flex-direction:column;gap:20px;word-break:keep-all;width:80%;margin:0 auto}.NDGMNT__target-section__card{display:flex;height:100px;padding:0 77px 0 21px;align-items:center;align-self:stretch;border-radius:8px;margin:0 8px;box-shadow:rgba(149,157,165,.2) 0 8px 24px}.NDGMNT__target-section__text{font-size:18px;font-weight:700;margin-left:12px}.NDGMNT__target-section__span{font-size:16px}.NDGMNT__stat-section__container{display:flex;width:100%;background-color:rgba(20,132,255,.1);padding:72px 0}.NDGMNT__stat-section__column{flex:1 1 0%}.NDGMNT__stat-section__title{text-align:center;font-weight:700;font-size:18px;margin-bottom:24px}.NDGMNT__stat-section__stat-wrapper{text-align:center}.NDGMNT__stat-section__stat{font-size:48px}.NDGMNT__review-section__carousel{--slide-height:304px;--slide-spacing:16px;--slide-size:33%}.NDGMNT__review-section__viewport{overflow:hidden}.NDGMNT__review-section__container{display:flex;touch-action:pan-y pinch-zoom;margin-left:calc(var(--slide-spacing) * -1);padding:16px 0}.NDGMNT__review-section__slide{transform:translate3d(0,0,0);flex:0 0 var(--slide-size);min-width:0;padding-left:var(--slide-spacing);min-width:400px}.NDGMNT__review-section__controls{display:grid;grid-template-columns:auto 1fr;justify-content:space-between;gap:19.2px;margin-top:28.8px}.NDGMNT__review-section__buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:9.6px;align-items:center}.NDGMNT__review-section__button{-webkit-tap-highlight-color:rgba(var(--text-high-contrast-rgb-value),0.5);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;touch-action:manipulation;display:inline-flex;text-decoration:none;cursor:pointer;border:0;padding:0;margin:0;box-shadow:inset 0 0 0 3.2px var(--detail-medium-contrast);width:57.6px;height:57.6px;z-index:1;border-radius:50%;color:var(--text-body);display:flex;align-items:center;justify-content:center}.NDGMNT__review-section__button:disabled{color:var(--detail-high-contrast)}.NDGMNT__review-section__button-svg{width:35%;height:35%}.NDGMNT__review-section__card-box{height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.NDGMNT__review-section__card-content{display:flex;height:100%;flex-direction:column;border-radius:12px;border-width:1px;background-color:#f9f9f9;padding-left:16px;padding-right:16px;padding-top:24px;padding-bottom:24px}.NDGMNT__review-section__card-title{margin-bottom:24px;font-size:18px;line-height:28px;font-weight:700}.NDGMNT__review-section__card-desc{margin-right:16px}.NDGMNT__review-section__button--next path,.NDGMNT__review-section__button--prev path{stroke:var(--main)}.NDGMNT__review-section__buttons button{display:inline-flex;border:1px red}.NDGMNT__mobile-stat-section__container{background-color:rgba(20,132,255,.1);display:flex;flex-direction:column;gap:10vh}.NDGMNT__mobile-stat-section__item{flex:1 1 0%}.NDGMNT__mobile-stat-section__title{text-align:center;font-weight:700}.NDGMNT__mobile-stat-section__value{text-align:center}.NDGMNT__mobile-map-section__address-box{display:flex;height:100px;width:90%;max-width:500px;align-items:center;justify-content:center;border-radius:12px;background-color:#f5f5f5}.NDGMNT__mobile-map-section__address-text{word-break:keep-all}.NDGMNT__mobile-map-section__copy-button{z-index:2;border-radius:6px;border-width:1px;background-color:#fff;-webkit-backdrop-filter:1 1 1 1 1 1 1 1 1;backdrop-filter:1 1 1 1 1 1 1 1 1;display:inline-flex;width:30px;height:30px;justify-content:center;align-items:center;padding:0}.NDGMNT__mobile-map-section__button-box{display:flex;justify-content:center;gap:16px}.NDGMNT__mobile-map-section__map-button{display:inline-flex;height:40px;min-width:100px;align-items:center;justify-content:center;border-radius:6px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}.NDGMNT__mobile-map-section__map-button--naver{background-color:#38b945}.NDGMNT__mobile-map-section__map-button--kakao{background-color:#fae100}.NDGMNT__mobile-intro-section__image-container{position:relative;z-index:10;pointer-events:none;overflow:hidden;max-width:500px;border-radius:20px;margin:0 auto}.NDGMNT__mobile-intro-section__image{width:287px;margin:0 auto}.NDGMNT__mobile-intro-section__content-box{margin-left:auto;margin-right:auto;width:80%;border-radius:12px;border-width:1px;background-color:#f5f5f5;max-width:500px}.NDGMNT__mobile-intro-section__career-title{font-weight:700}.NDGMNT__mobile-intro-section__career-list{word-break:keep-all;padding-left:8px}.NDGMNT__mobile-intro-section__career-item{list-style-position:inside;list-style-type:disc}.NDGMNT__mobile-gradual-section__container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.NDGMNT__mobile-gradual-section__step{display:flex;flex-direction:column;gap:22px}.NDGMNT__mobile-gradual-section__circle{display:inline-flex;height:170px;width:170px;align-items:center;justify-content:center;border-radius:9999px;background-color:#1484ff}.NDGMNT__mobile-gradual-section__circle-img{pointer-events:none}.NDGMNT__mobile-gradual-section__arrow-box{display:inline-flex;width:170px;align-items:center;justify-content:center}.NDGMNT__mobile-gradual-section__arrow-img{-o-object-fit:contain;object-fit:contain;transform:rotate(90deg)}.NDGMNT__mobile-first-feature-section__container{width:90%;margin:0 auto}.NDGMNT__mobile-first-feature-section__content{display:flex;flex-direction:column}.NDGMNT__mobile-first-feature-section__image-wrapper{display:flex;flex:1 1 0%;align-items:center;justify-content:center}.NDGMNT__mobile-first-feature-section__image{pointer-events:none;border-radius:20px;margin:0 auto;width:450px;-o-object-fit:cover;object-fit:cover}.NDGMNT__mobile-first-feature-section__text-wrapper{display:flex;flex:1 1 0%;flex-direction:column;justify-content:center;text-align:right}.NDGMNT__mobile-first-feature-section__separator{height:1px;border-width:0;width:100%;background-color:#e5e7eb}.NDGMNT__mobile-faq-section__container{width:90%;max-width:700px;margin:0 auto}.NDGMNT__mobile-faq-section__details{margin-top:calc(16px * calc(1 - 1));margin-bottom:calc(16px * 1)}.NDGMNT__mobile-faq-section__summary{display:flex;cursor:pointer;align-items:center;justify-content:space-between;gap:6px;border-radius:8px;background-color:#f9fafb;color:#111827}.NDGMNT__mobile-faq-section__question{margin:0}.NDGMNT__mobile-faq-section__answer{line-height:1.625;color:#374151}details.NDGMNT__mobile-faq-section__details[open] svg.NDGMNT__mobile-faq-section__toggle-svg{transform:rotate(180deg)}details summary::-webkit-details-marker{display:none}.NDGMNT__mobile-cta-section__container{margin:20px 16px}.NDGMNT__mobile-cta-section__title-highlight{color:#1484ff}.NDGMNT__mobile-cta-section__button{border-radius:6px;color:#fff;transition:background-color .3s ease-out;background-color:var(--main,#1484ff)}.NDGMNT__map-section__address-box{display:flex;height:100px;width:80%;max-width:500px;align-items:center;justify-content:center;border-radius:12px;background-color:#f5f5f5;padding:16px 12px}.NDGMNT__map-section__address-text{word-break:keep-all}.NDGMNT__map-section__copy-button{z-index:2;border-radius:6px;border-width:1px;background-color:#fff;-webkit-backdrop-filter:1 1 1 1 1 1 1 1 1;backdrop-filter:1 1 1 1 1 1 1 1 1;display:inline-flex;width:30px;height:30px;justify-content:center;align-items:center;padding:0}.NDGMNT__map-section__button-box{display:flex;justify-content:center;gap:16px}.NDGMNT__map-section__map-button{display:inline-flex;height:40px;min-width:100px;align-items:center;justify-content:center;border-radius:6px;padding:8px 16px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}.NDGMNT__map-section__map-button--naver{background-color:#38b945}.NDGMNT__map-section__map-button--kakao{background-color:#fae100}.NDGMNT__intro-section__container{margin-left:auto;margin-right:auto;margin-bottom:8px;width:100%;border-radius:12px;border-width:1px;background-color:#f5f5f5;padding-left:24px;padding-right:24px;padding-top:32px;padding-bottom:32px}.NDGMNT__intro-section__title{font-weight:700}.NDGMNT__intro-section__list{word-break:keep-all;padding-left:8px}.NDGMNT__intro-section__list-item{list-style-position:inside;list-style-type:disc}.NDGMNT__gradual-section__container{display:flex;align-items:flex-start;justify-content:center;gap:40px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.NDGMNT__gradual-section__step{display:flex;flex-direction:column;gap:32px}.NDGMNT__gradual-section__circle{display:inline-flex;height:170px;width:170px;align-items:center;justify-content:center;border-radius:9999px;background-color:#1484ff}.NDGMNT__gradual-section__circle-img{pointer-events:none}.NDGMNT__gradual-section__arrow-box{display:inline-flex;height:170px;align-items:center;justify-content:center}.NDGMNT__gradual-section__arrow-img{-o-object-fit:contain;object-fit:contain}.NDGMNT__first-feature-section__container{margin-left:auto;margin-right:auto;display:flex;width:85%;flex-direction:column;gap:32px}.NDGMNT__first-feature-section__row{display:flex}.NDGMNT__first-feature-section__content{display:flex;flex:1 1 0%;flex-direction:column;justify-content:center}.NDGMNT__first-feature-section__content-right{padding-right:48px}.NDGMNT__first-feature-section__content-left{padding-left:48px;text-align:right}.NDGMNT__first-feature-section__image-wrapper{display:flex;flex:1 1 0%;align-items:center}.NDGMNT__first-feature-section__image-wrapper-right{justify-content:flex-end}.NDGMNT__first-feature-section__image-wrapper-left{justify-content:flex-start}.NDGMNT__first-feature-section__image{pointer-events:none;border-radius:150px 6px 6px;width:450px;-o-object-fit:cover;object-fit:cover}.NDGMNT__first-feature-section__image-right{margin:0 0 0 auto}.NDGMNT__first-feature-section__image-left{margin:0 auto 0 0}.NDGMNT__first-feature-section__separator{margin-top:32px;margin-bottom:32px;height:1px;border-width:0;width:100%;background-color:#e5e7eb}.NDGMNT__faq-section__container{width:60%;max-width:700px;margin:0 auto}.NDGMNT__faq-section__details{margin-top:calc(16px * calc(1 - 1));margin-bottom:calc(16px * 1)}.NDGMNT__faq-section__summary{display:flex;cursor:pointer;align-items:center;justify-content:space-between;gap:6px;border-radius:8px;background-color:#f9fafb;padding:16px;color:#111827}.NDGMNT__faq-section__answer{padding-left:16px;padding-right:16px;line-height:1.625;color:#374151;padding-bottom:20px}details.NDGMNT__faq-section__details[open] svg.NDGMNT__faq-section__toggle-svg{transform:rotate(180deg)}details summary::-webkit-details-marker{display:none}.NDGMNT__cta-section__button{transition:background-color .3s ease-out}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ndgmnt/client--nudgemoment",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.2",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -8,18 +8,22 @@
|
|
8
8
|
"scripts": {
|
9
9
|
"dev": "vite",
|
10
10
|
"tw": "tsx --tsconfig ./tsconfig.node.json ./script/tw.ts",
|
11
|
+
"js": "tsx --tsconfig ./tsconfig.node.json ./script/js.ts",
|
11
12
|
"build": "npm run tw && tsup",
|
12
13
|
"release": "npm run build && npm version patch && npm publish --access=public"
|
13
14
|
},
|
14
15
|
"devDependencies": {
|
15
16
|
"@ndgmnt/vite-ndgmnt-plugin": "^0.0.1",
|
16
17
|
"@types/clean-css": "^4.2.11",
|
18
|
+
"@types/crypto-js": "^4.2.2",
|
17
19
|
"@types/cssbeautify": "^0.3.5",
|
20
|
+
"@types/gtag.js": "^0.0.20",
|
18
21
|
"@types/jquery": "^3.5.32",
|
19
22
|
"@types/node": "^22.10.2",
|
20
23
|
"@types/ssh2-sftp-client": "^9.0.4",
|
21
24
|
"autoprefixer": "^10.4.20",
|
22
25
|
"clean-css": "^5.3.3",
|
26
|
+
"crypto-js": "^4.2.0",
|
23
27
|
"cssbeautify": "^0.3.1",
|
24
28
|
"dotenv": "^16.4.7",
|
25
29
|
"esbuild": "^0.24.2",
|