https://static.toss.im/frontend/new.toss.im/toss-im-new/_next/static/chunks/8427.71d1fc455dd0569e.js
1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="71a03b4d-d4fc-4ba2-b0af-94ab55fd66f1",e._sentryDebugIdIdentifier="sentry-dbid-71a03b4d-d4fc-4ba2-b0af-94ab55fd66f1")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8427],{36717:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0,checkForDisabled:o=!1}={}){function i(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}return function(e){if("object"==typeof e&&null!==e&&"target"in e&&e.target instanceof HTMLElement){let t="true"===e.target.ariaDisabled;o&&t||i(e)}else i(e)}}},78427:(e,t,n)=>{let r;n.r(t),n.d(t,{WikiText:()=>ui});var o,i,a,l={};n.r(l),n.d(l,{blur:()=>eb,bounce:()=>ew,fade:()=>k,flip:()=>eu,flipBounce:()=>ed,float:()=>eC,float3d:()=>ek,pulse:()=>eI,ripple:()=>eT,roll:()=>U,rollBounce:()=>V,scale:()=>$,scaleBounce:()=>Q,shiver:()=>eD,slide:()=>P,slideBounce:()=>X,snap:()=>en,snapBounce:()=>ei,wiggle:()=>eX,wiggle3d:()=>eN,zoom:()=>em});var s={};n.r(s),n.d(s,{a:()=>rs,abbr:()=>ru,address:()=>rc,animate:()=>o0,area:()=>rf,article:()=>rd,aside:()=>rp,audio:()=>rg,b:()=>rh,base:()=>rm,bdi:()=>rv,bdo:()=>ry,big:()=>rb,blockquote:()=>rx,body:()=>rw,button:()=>rE,canvas:()=>rC,caption:()=>rO,circle:()=>o1,cite:()=>rM,clipPath:()=>im,code:()=>rS,col:()=>rk,colgroup:()=>rA,data:()=>rI,datalist:()=>rj,dd:()=>rT,defs:()=>o5,del:()=>rP,desc:()=>o2,details:()=>rR,dfn:()=>rD,dialog:()=>rY,div:()=>rX,dl:()=>r_,dt:()=>rN,ellipse:()=>o7,em:()=>rL,embed:()=>rF,feBlend:()=>iv,feColorMatrix:()=>iy,feComponentTransfer:()=>ib,feComposite:()=>ix,feConvolveMatrix:()=>iw,feDiffuseLighting:()=>iE,feDisplacementMap:()=>iC,feDistantLight:()=>iO,feDropShadow:()=>iM,feFlood:()=>iS,feFuncA:()=>ik,feFuncB:()=>iA,feFuncG:()=>iI,feFuncR:()=>ij,feGaussianBlur:()=>iT,feImage:()=>iP,feMerge:()=>iR,feMergeNode:()=>iD,feMorphology:()=>iY,feOffset:()=>iX,fePointLight:()=>i_,feSpecularLighting:()=>iN,feSpotLight:()=>iL,feTile:()=>iF,feTurbulence:()=>iz,fieldset:()=>rz,figcaption:()=>rB,figure:()=>rU,filter:()=>o6,footer:()=>rH,foreignObject:()=>iB,form:()=>rW,g:()=>o3,h1:()=>rV,h2:()=>rq,h3:()=>rZ,h4:()=>rG,h5:()=>r$,h6:()=>rK,head:()=>rJ,header:()=>rQ,hgroup:()=>r0,hr:()=>r1,html:()=>r5,i:()=>r2,iframe:()=>r7,image:()=>o8,img:()=>r3,input:()=>r8,ins:()=>r4,kbd:()=>r6,keygen:()=>r9,label:()=>oe,legend:()=>ot,li:()=>on,line:()=>o4,linearGradient:()=>iU,link:()=>or,main:()=>oo,map:()=>oi,mark:()=>oa,marker:()=>o9,mask:()=>ie,menu:()=>ol,menuitem:()=>os,metadata:()=>it,meter:()=>ou,nav:()=>oc,object:()=>of,ol:()=>od,optgroup:()=>op,option:()=>og,output:()=>oh,p:()=>om,param:()=>ov,path:()=>ir,pattern:()=>io,picture:()=>oy,polygon:()=>ii,polyline:()=>ia,pre:()=>ob,progress:()=>ox,q:()=>ow,radialGradient:()=>iH,rect:()=>il,rp:()=>oE,rt:()=>oC,ruby:()=>oO,s:()=>oM,samp:()=>oS,script:()=>ok,section:()=>oA,select:()=>oI,small:()=>oj,source:()=>oT,span:()=>oP,stop:()=>is,strong:()=>oR,style:()=>oD,sub:()=>oY,summary:()=>oX,sup:()=>o_,svg:()=>iu,symbol:()=>ic,table:()=>oN,tbody:()=>oL,td:()=>oF,text:()=>id,textPath:()=>iW,textarea:()=>oz,tfoot:()=>oB,th:()=>oU,thead:()=>oH,time:()=>oW,title:()=>oV,tr:()=>oq,track:()=>oZ,tspan:()=>ip,u:()=>oG,ul:()=>o$,use:()=>ig,video:()=>oK,view:()=>ih,wbr:()=>oJ,webview:()=>oQ});var u=n(80222),c=n(72964),f=n(90830),d=n.t(f,2);function p(){let[e,t]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{t(!0)},[]),e}var g=n(69507);let h=0;function m(){return"id".concat(h++)}let v=(0,f.createContext)(null);function y(e){let t=(0,f.useRef)(m()).current,n=(0,f.useRef)(new Map).current,r=(0,f.useMemo)(()=>({id:t,present:e.present,onExitComplete:t=>{for(let e of(n.set(t,!0),n.values()))if(!e)return;e.onExitEnd&&e.onExitEnd()},register:e=>(n.set(e,!1),()=>n.delete(e))}),[e.present]);return(0,f.useMemo)(()=>{n.forEach((e,t)=>n.set(t,!1))},[e.present]),(0,f.useEffect)(()=>{e.present||n.size||!e.onExitEnd||e.onExitEnd()},[e.present]),(0,u.jsx)(v.Provider,{value:r,children:e.children})}let b=e=>e.key||"";function x(e){let t=p(),n=(0,f.useRef)(!0),{forceRerender:r}=function(){let e=p(),[t,n]=(0,f.useState)(0);return{forceRerender:(0,f.useCallback)(()=>{e&&n(e=>e+1)},[e])}}(),o=(0,f.useMemo)(()=>(e=>{let t=[];
1return f.Children.forEach(e,e=>{(0,f.isValidElement)(e)&&t.push(e)}),t})(e.children),[e.children]),i=o,a=(0,f.useRef)(i),l=(0,f.useRef)(new Set).current,s=(0,f.useRef)(new Map).current;if((0,g.Es)(()=>{n.current=!1,o.forEach(e=>{let t=b(e);s.set(t,e)}),a.current=i}),(0,f.useEffect)(()=>()=>{n.current=!0,s.clear(),l.clear()},[]),n.current)return(0,u.jsx)(u.Fragment,{children:i.map(t=>(0,u.jsx)(y,{present:!0,preserveUntilCompleteAll:e.preserveUntilCompleteAll,children:t},b(t)))});i=[...i];let c=a.current.map(b),d=o.map(b);for(let e=0;e<c.length;e+=1){let t=c[e];-1===d.indexOf(t)&&l.add(t)}return l.forEach(n=>{if(-1!==d.indexOf(n))return;let f=s.get(n);if(!f)return;let p=c.indexOf(n);i.splice(p,0,(0,u.jsx)(y,{present:!1,onExitEnd:()=>{s.delete(n),l.delete(n);let i=a.current.findIndex(e=>e.key===n);if(a.current.splice(i,1),!0!==e.preserveUntilCompleteAll&&r(),0===l.size){if(a.current=o,!1===t)return;r(),void 0!==e.onExitEnd&&e.onExitEnd()}},preserveUntilCompleteAll:e.preserveUntilCompleteAll,children:f},b(f)))}),i=i.map(t=>{let n=t.key;return l.has(n)?t:(0,u.jsx)(y,{present:!0,preserveUntilCompleteAll:e.preserveUntilCompleteAll,children:t},b(t))}),(0,u.jsx)(u.Fragment,{children:i})}let w=(e,t)=>Object.fromEntries([...Object.entries(e).map(e=>{let[n,r]=e,o=t[n];return[n,o?{...r,...o}:r]}),...Object.entries(t).filter(t=>{let[n]=t;return!(n in e)})]),E=(e,t)=>null==t?e:e.map((e,n)=>{let r=t[n];return null==r?e:w(e,r)}),C=(e,t)=>null==t?e:w(e,t),O="fast",M={slow:c.a7.linear,fast:c.a7.ease},S={in:{opacity:{from:0,to:1}},out:{opacity:{from:1,to:0}}};function k(e){let{type:t,speed:n=O,override:r}=e,o=M[n];return C({...S[t],easing:o,duration:.6},r)}let A={slow:c.a7.out,fast:c.a7.expo},I={slow:.6,fast:.8},j={"in-left":{translateX:{from:"50px",to:"0px"}},"in-right":{translateX:{from:"-50px",to:"0px"}},"in-up":{translateY:{from:"80px",to:"0px"}},"in-down":{translateY:{from:"-80px",to:"0px"}},"out-left":{translateX:{from:"0px",to:"-50px"}},"out-right":{translateX:{from:"0px",to:"50px"}},"out-up":{translateY:{from:"0px",to:"-80px"}},"out-down":{translateY:{from:"0px",to:"80px"}}},T={in:{opacity:{from:0,to:1}},out:{opacity:{from:1,to:0}}};function P(e){let{type:t,speed:n=O,direction:r,hasOpacityMotion:o=!0,override:i}=e,a=A[n],l=I[n];return C({...j["".concat(t,"-").concat(r)],...o&&T[t],easing:a,duration:l},i)}let R={slow:.8,fast:.55},D={"in-left":{translateX:{from:"50px",to:"0px"}},"in-right":{translateX:{from:"-50px",to:"0px"}},"in-up":{translateY:{from:"80px",to:"0px"}},"in-down":{translateY:{from:"-80px",to:"0px"}},"out-left":{translateX:{from:"0px",to:"-50px"}},"out-right":{translateX:{from:"0px",to:"50px"}},"out-up":{translateY:{from:"0px",to:"-80px"}},"out-down":{translateY:{from:"0px",to:"80px"}}},Y={in:{opacity:{from:0,to:1}},out:{opacity:{from:1,to:0}}};function X(e){let{type:t,speed:n=O,direction:r,hasOpacityMotion:o=!0,override:i}=e,a=c.a7.back,l=R[n];return C({...D["".concat(t,"-").concat(r)],...o&&Y[t],easing:a,duration:l},i)}let _={weak:16,medium:8,strong:4,max:2},N=e=>t=>t*_[e],L={weak:N("weak"),medium:N("medium"),strong:N("strong"),max:N("max")},F={slow:c.a7.out,fast:c.a7.expo},z={slow:.6,fast:.8},B={in:{opacity:{from:0,to:1},rotateX:{from:"-70deg",to:"0deg"},scale:{from:.8,to:1},translateY:{from:"50%",to:"0%"},perspective:{from:L.strong,to:L.strong}},out:{opacity:{from:1,to:0},rotateX:{from:0,to:"70deg"},scale:{from:1,to:.8},translateY:{from:"0%",to:"-50%"},perspective:{from:L.strong,to:L.strong}}};function U(e){let{type:t,speed:n=O,override:r}=e,o=F[n],i=z[n];return C({...B[t],easing:o,duration:i},r)}let H={slow:.8,fast:.55},W={in:{opacity:{from:0,to:1},rotateX:{from:"-70deg",to:"0deg"},scale:{from:.8,to:1},translateY:{from:"50%",to:"0%"},perspective:{from:L.strong,to:L.strong}},out:{opacity:{from:1,to:0},rotateX:{from:0,to:"70deg"},scale:{from:1,to:.8},translateY:{from:"0%",to:"-50%"},perspective:{from:L.strong,to:L.strong}}};function V(e){let{type:t,speed:n=O,override:r}=e,o=c.a7.back,i=H[n];return C({...W[t],easing:o,duration:i},r)}let q={slow:c.a7.out,fast:c.a7.expo},Z={slow:.6,fast:.8},G={in:{opacity:{from:0,to:1},scale:{from:.6,to:1},transformOrigin:{from:"50% 50%",to:"50% 50%"}},out:{opacity:{from:1,to:0},scale:{from:1,to:.6},transformOrigin:{from:"50% 50%",to:"50% 50%"}}};function $(e){let{type:t,speed:n=O,override:r}=e,o=q[n],i=Z[n];return C({...G[t],easing:o,duration:i},r)}let K={slow:.8,fast:.55},J={in:{opacity:{from:0,to:1},scale:{from:.6,to:1},transformOrigin:{from:"50% 50%",to:"50% 50%"}},out:{opacity:{from:1,to:0},scale:{from:1,to:.6},transformOrigin:{from:"50% 50%",to:"50% 50%"}}};function Q(e){let{type:t,speed:n=O,override:r}=e,o=c.a7.back,i=K[n];return C({...J[t],easing:o,duration:i},r)}let ee={slow:c.a7.ease,fast:c.a7.expo},et={in:{rotateX:{from:"50deg",to:"0deg"},transformOrigin:{from:"50% 0%",to:"50% 0%"},opacity:{from:0,to:1},perspective:{from:L.strong,to:L.strong}},out:{rotateX:{from:"0deg",to:"-50deg"},transformOrigin:{from:"50% 100%",to:"50% 100%"},opacity:{from:1,to:0},perspective:{from:L.strong,to:L.strong}}};function en(e){let{type:t,speed:n=O,override:r}=e,o=ee[n];return C({...et[t],easing:o,duration:.6},r)}let er={slow:.8,fast:.55},eo={in:{rotateX:{from:"50deg",to:"0deg"},transformOrigin:{from:"50% 0%",to:"50% 0%"},opacity:{from:0,to:1},perspective:{from:L.strong,to:L.strong}},out:{rotateX:{from:"0deg",to:"-50deg"},transformOrigin:{from:"50% 100%",to:"50% 100%"},opacity:{from:1,to:0},perspective:{from:L.strong,to:L.strong}}};function ei(e){let{type:t,speed:n=O,override:r}=e,o=c.a7.back,i=er[n];return C({...eo[t],easing:o,duration:i},r)}let ea={slow:c.a7.ease,fast:c.a7.expo},el={slow:.6,fast:.8},es={in:{rotateX:{from:"-70deg",to:"0deg"},opacity:{from:0,to:1},perspective:{from:L.strong,to:L.strong}},out:{rotateX:{from:"0deg",to:"70deg"},opacity:{from:1,to:0},perspective:{from:L.strong,to:L.strong}}};function eu(e){let{type:t,speed:n=O,override:r}=e,o=ea[n],i=el[n];return C({...es[t],easing:o,duration:i},r)}let ec={slow:.8,fast:.55},ef={in:{rotateX:{from:"-70deg",to:"0deg"},opacity:{from:0,to:1},perspective:{from:L.strong,to:L.strong}},out:{rotateX:{from:"0deg",to:"70deg"},opacity:{from:1,to:0},perspective:{from:L.strong,to:L.strong}}};function ed(e){let{type:t,speed:n=O,override:r}=e,o=c.a7.back,i=ec[n];return C({...ef[t],easing:o,duration:i},r)}let ep={slow:c.a7.out,fast:c.a7.expo},eg={slow:.6,fast:.7},eh={in:{opacity:{from:0,to:1},scale:{from:2,to:1}},out:{opacity:{from:1,to:0},scale:{from:1,to:2}}};function em(e){let{type:t,speed:n=O,override:r}=e,o=ep[n],i=eg[n];return C({...eh[t],easing:o,duration:i},r)}let ev={none:0,medium:30},ey={in:{opacity:{from:0,to:1,duration:1,easing:c.a7.out},layerBlur:{from:ev.medium,to:ev.none,duration:1,easing:c.a7.out}},out:{opacity:{to:0,duration:.4,easing:c.a7.out},layerBlur:{to:ev.medium,duration:.8,easing:c.a7.out}}};function eb(e){let{type:t,override:n}=e;return C({...ey[t]},n)}let ex={small:[{translateY:{to:"+=40%",easing:c.a7.ease,duration:.15},scaleY:{to:"-=0.1",easing:c.a7.ease,duration:.1,delay:.05},scaleX:{to:"+=0.02",easing:c.a7.ease,duration:.1,delay:.05},transformOrigin:{set:"50% 100%",duration:.15}},{translateY:{to:"-=40%",easing:c.a7.out,duration:.25},scaleY:{to:"+=0.1",easing:c.a7.out,duration:.25},scaleX:{to:"-=0.02",easing:c.a7.out,duration:.25},transformOrigin:{set:"50% 100%",duration:.25}}],big:[{translateY:{to:"+=80%",easing:c.a7.ease,duration:.25},scaleY:{to:"-=0.1",easing:c.a7.ease,duration:.15,delay:.1},scaleX:{to:"+=0.02",easing:c.a7.ease,duration:.15,delay:.1},transformOrigin:{set:"50% 100%",duration:.25}},{translateY:{to:"-=80%",easing:c.a7.out,duration:.35},scaleY:{to:"+=0.1",easing:c.a7.out,duration:.35},scaleX:{to:"-=0.02",easing:c.a7.out,duration:.35},transformOrigin:{set:"50% 100%",duration:.35}}]},ew=e=>{let{type:t="big",override:n}=e;return E(ex[t],n)},eE={small:[{translateY:{to:"-=20%",easing:c.a7.out,duration:.8}},{translateY:{to:"+=20%",easing:c.a7.out,duration:.7}}],big:[{translateY:{to:"-=35%",easing:c.a7.out,duration:1}},{translateY:{to:"+=35%",easing:c.a7.out,duration:.9}}]},eC=e=>{let{type:t="big",override:n}=e;return E(eE[t],n)}
1,eO={1:[.5,.2,.8,.5],2:[.2,.5,.5,.8]},eM={small:[{rotateX:{to:"+=4",easing:eO[2]},rotateY:{to:"+=4",easing:eO[1]},perspective:{set:L.strong},duration:1.5},{rotateX:{to:"-=4",easing:eO[1]},rotateY:{to:"+=4",easing:eO[2]},perspective:{set:L.strong},duration:1.5},{rotateX:{to:"-=8",easing:eO[2]},rotateY:{to:"-=8",easing:eO[1]},perspective:{set:L.strong},duration:3},{rotateX:{to:"+=8",easing:eO[1]},rotateY:{to:"-=8",easing:eO[2]},perspective:{set:L.strong},duration:3},{rotateX:{to:"+=4",easing:eO[2]},rotateY:{to:"+=4",easing:eO[1]},perspective:{set:L.strong},duration:1.5},{rotateX:{to:"-=4",easing:eO[1]},rotateY:{to:"+=4",easing:eO[2]},perspective:{set:L.strong},duration:1.5}],big:[{rotateX:{to:"+=10",easing:eO[2]},rotateY:{to:"+=10",easing:eO[1]},perspective:{set:L.strong},duration:1.5},{rotateX:{to:"-=10",easing:eO[1]},rotateY:{to:"+=10",easing:eO[2]},perspective:{set:L.strong},duration:1.5},{rotateX:{to:"-=20",easing:eO[2]},rotateY:{to:"-=20",easing:eO[1]},perspective:{set:L.strong},duration:3},{rotateX:{to:"+=20",easing:eO[1]},rotateY:{to:"-=20",easing:eO[2]},perspective:{set:L.strong},duration:3},{rotateX:{to:"+=10",easing:eO[2]},rotateY:{to:"+=10",easing:eO[1]},perspective:{set:L.strong},duration:1.5},{rotateX:{to:"-=10",easing:eO[1]},rotateY:{to:"+=10",easing:eO[2]},perspective:{set:L.strong},duration:1.5}]},eS={small:[{rotateX:{from:8,to:0,easing:eO[1]},rotateY:{to:8,easing:eO[2]},perspective:{set:L.strong},duration:3},{rotateX:{to:-8,easing:eO[2]},rotateY:{to:0,easing:eO[1]},perspective:{set:L.strong},duration:3},{rotateX:{to:0,easing:eO[1]},rotateY:{to:-8,easing:eO[2]},perspective:{set:L.strong},duration:3},{rotateX:{to:8,easing:eO[2]},rotateY:{to:0,easing:eO[1]},perspective:{set:L.strong},duration:3}],big:[{rotateX:{from:20,to:0,easing:eO[1]},rotateY:{to:20,easing:eO[2]},perspective:{set:L.strong},duration:3},{rotateX:{to:-20,easing:eO[2]},rotateY:{to:0,easing:eO[1]},perspective:{set:L.strong},duration:3},{rotateX:{to:0,easing:eO[1]},rotateY:{to:-20,easing:eO[2]},perspective:{set:L.strong},duration:3},{rotateX:{to:20,easing:eO[2]},rotateY:{to:0,easing:eO[1]},perspective:{set:L.strong},duration:3}]},ek=e=>{let{type:t="big",infinite:n,repeatType:r=n?"infinite":"normal",override:o}=e;return"infinite"===r?E(eS[t],o):E(eM[t],o)},eA={small:[{scale:{to:"+=0.03",easing:c.a7.out,duration:.15}},{scale:{to:"-=0.03",easing:c.a7.out,duration:.15}}],big:[{scale:{to:"+=0.1",easing:c.a7.out,duration:.15}},{scale:{to:"-=0.1",easing:c.a7.out,duration:.15}}]},eI=e=>{let{type:t="big",override:n}=e;return E(eA[t],n)},ej={small:"+=1.15",big:"+=1.4"},eT=e=>{let{type:t="big",override:n}=e;return E([{opacity:{from:1,to:0},scale:{from:1,to:ej[t]},easing:c.a7.out,duration:.8}],n)},eP={small:[{rotate:{to:"-=1"},transformOrigin:{to:"45% 45%"},easing:c.a7.linear,duration:.075},{rotate:{to:"+=2"},transformOrigin:{to:"55% 55%"},easing:c.a7.linear,duration:.075},{rotate:{to:"-=1.5"},transformOrigin:{to:"45% 45%"},easing:c.a7.linear,duration:.075},{rotate:{to:"+=0.5"},transformOrigin:{to:"50% 50%"},easing:c.a7.linear,duration:.075}],big:[{rotate:{to:"-=2"},transformOrigin:{to:"45% 45%"},easing:c.a7.linear,duration:.075},{rotate:{to:"+=4"},transformOrigin:{to:"55% 55%"},easing:c.a7.linear,duration:.075},{rotate:{to:"-=3"},transformOrigin:{to:"45% 45%"},easing:c.a7.linear,duration:.075},{rotate:{to:"+=1"},transformOrigin:{to:"50% 50%"},easing:c.a7.linear,duration:.075}]},eR={small:[{rotate:{from:"-=0.6",to:"+=0.6"},transformOrigin:{from:"45% 45%",to:"50% 50%"},easing:c.a7.linear,duration:.12},{rotate:{from:"+=0",to:"-=1.2"},transformOrigin:{from:"45% 45%",to:"50% 50%"},easing:c.a7.linear,duration:.12}],big:[{rotate:{from:"-=1.2",to:"+=1.2"},transformOrigin:{from:"45% 45%",to:"50% 50%"},easing:c.a7.linear,duration:.12},{rotate:{from:"+=0",to:"-=2.4"},transformOrigin:{from:"45% 45%",to:"50% 50%"},easing:c.a7.linear,duration:.12}]},eD=e=>{let{type:t="big",infinite:n,repeatType:r=n?"infinite":"normal",override:o}=e;return"infinite"===r?E(eR[t],o):E(eP[t],o)},eY={x:{small:[{translateX:{to:"+=2"},easing:c.a7.linear,duration:.0875},{translateX:{to:"-=4"},easing:c.a7.linear,duration:.0875},{translateX:{to:"+=3"},easing:c.a7.linear,duration:.0875},{translateX:{to:"-=1"},easing:c.a7.linear,duration:.0875}],big:[{translateX:{to:"+=4"},easing:c.a7.linear,duration:.0875},{translateX:{to:"-=8"},easing:c.a7.linear,duration:.0875},{translateX:{to:"+=6"},easing:c.a7.linear,duration:.0875},{translateX:{to:"-=2"},easing:c.a7.linear,duration:.0875}]},y:{small:[{translateY:{to:"+=2"},easing:c.a7.linear,duration:.0875},{translateY:{to:"-=4"},easing:c.a7.linear,duration:.0875},{translateY:{to:"+=3"},easing:c.a7.linear,duration:.0875},{translateY:{to:"-=1"},easing:c.a7.linear,duration:.0875}],big:[{translateY:{to:"+=4"},easing:c.a7.linear,duration:.0875},{translateY:{to:"-=8"},easing:c.a7.linear,duration:.0875},{translateY:{to:"+=6"},easing:c.a7.linear,duration:.0875},{translateY:{to:"-=2"},easing:c.a7.linear,duration:.0875}]}},eX=e=>{let{type:t="big",direction:n,override:r}=e;return E(eY[n][t],r)},e_={x:{small:[{rotateY:{to:"+=6"},translateX:{to:"+=6"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateY:{to:"-=12"},translateX:{to:"-=12"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateY:{to:"+=9"},translateX:{to:"+=9"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateY:{to:"-=3"},translateX:{to:"-=3"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125}],big:[{rotateY:{to:"+=10"},translateX:{to:"+=10"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateY:{to:"-=20"},translateX:{to:"-=20"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateY:{to:"+=15"},translateX:{to:"+=15"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateY:{to:"-=5"},translateX:{to:"-=5"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125}]},y:{small:[{rotateX:{to:"+=8"},translateY:{to:"-=6"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateX:{to:"-=12"},translateY:{to:"+=12"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateX:{to:"+=7.5"},translateY:{to:"-=9"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateX:{to:"-=3.5"},translateY:{to:"+=3"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125}],big:[{rotateX:{to:"+=15"},translateY:{to:"-=10"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateX:{to:"-=25"},translateY:{to:"+=20"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateX:{to:"+=17.5"},translateY:{to:"-=15"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125},{rotateX:{to:"-=7.5"},translateY:{to:"+=5"},easing:c.a7.linear,perspective:{from:L.strong,to:L.strong},duration:.125}]}},eN=e=>{let{type:t="big",direction:n,override:r}=e;return E(e_[n][t],r)};var eL=n(23283);let eF=()=>{};function ez(e){var t,n,r;let o=(0,eL.p)(null!=(t=e.start)?t:eF),i=(0,eL.p)(null!=(n=e.end)?n:eF),a=(0,eL.p)(null!=(r=e.cancel)?r:eF);return(0,f.useMemo)(()=>({...e,start:null!=e.start?o:void 0,end:null!=e.end?i:void 0,cancel:null!=e.cancel?a:void 0}),[e,o,i,a])}var eB,eU,eH,eW,eV,eq,eZ,eG=n(63394),e$={},eK=180/Math.PI,eJ=Math.PI/180,eQ=Math.atan2,e0=/([A-Z])/g,e1=/(left|right|width|margin|padding|x)/i,e5=/[\s,\(]\S/,e2={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},e7=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},e3=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},e8=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},e4=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},e6=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},e9=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},te=function(e,t,n){return e.style[t]=n},tt=function(e,t,n){return e.style.setProperty(t,n)},tn=function(e,t,n){return e._gsap[t]=n},tr=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},to=function(e,t,n,r,o){var i=e._gsap;i.scaleX=i.scaleY=n,i.renderTransform(o,i)},ti=function(e,t,n,r,o){var i=e._gsap;i[t]=n,i.renderTransform(o,i)},ta="transform",tl=ta+"Origin",ts=function e(t,n){var r=this,o=this.target,i=o.style,a=o._gsap;if(t in e$&&i){if(this.tfm=this.tfm||{},"transform"===t)return e2.transform.split(",").forEach(function(t){return e.call(r,t,n)});if(~(t=e2[t]||t).indexOf(",")?t.split(",").forEach(function(e){return r.tfm[e]=tS(o,e)}):this.tfm[t]=a.x?a[t]:tS(o,t),t===tl&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(ta)>=0)return;a.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(tl,n,"")),t=ta}(i||n)&&this.props.push(t,n,i[t])},tu=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tc=function(){var e,t,n=this.props,r=this.target,o=r.style,i=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?r[n[e]](n[e+2]):r[n[e]]=n[e+2]:n[e+2]?o[n[e]]=n[e+2]:o.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(e0,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)i[t]=this.tfm[t];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=eq())&&e.isStart||o[ta]||(tu(o),i.zOrigin&&o[tl]&&(o[tl]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},tf=function(e,t){var n={target:e,props:[],revert:tc,save:ts};return e._gsap||eG.os.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return n.save(e)}),n},td=function(e,t){var n=eB.createElementNS?eB.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):eB.
1createElement(e);return n&&n.style?n:eB.createElement(e)},tp=function e(t,n,r){var o=getComputedStyle(t);return o[n]||o.getPropertyValue(n.replace(e0,"-$1").toLowerCase())||o.getPropertyValue(n)||!r&&e(t,th(n)||n,1)||""},tg="O,Moz,ms,Ms,Webkit".split(","),th=function(e,t,n){var r=(t||eW).style,o=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(tg[o]+e in r););return o<0?null:(3===o?"ms":o>=0?tg[o]:"")+e},tm=function(){"undefined"!=typeof window&&window.document&&(eU=(eB=window.document).documentElement,eW=td("div")||{style:{}},td("div"),tl=(ta=th(ta))+"Origin",eW.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",eZ=!!th("perspective"),eq=eG.os.core.reverting,eH=1)},tv=function(e){var t,n=e.ownerSVGElement,r=td("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=e.cloneNode(!0);o.style.display="block",r.appendChild(o),eU.appendChild(r);try{t=o.getBBox()}catch(e){}return r.removeChild(o),eU.removeChild(r),t},ty=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},tb=function(e){var t,n;try{t=e.getBBox()}catch(r){t=tv(e),n=1}return t&&(t.width||t.height)||n||(t=tv(e)),!t||t.width||t.x||t.y?t:{x:+ty(e,["x","cx","x1"])||0,y:+ty(e,["y","cy","y1"])||0,width:0,height:0}},tx=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&tb(e))},tw=function(e,t){if(t){var n,r=e.style;t in e$&&t!==tl&&(t=ta),r.removeProperty?(("ms"===(n=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),r.removeProperty("--"===n?t:t.replace(e0,"-$1").toLowerCase())):r.removeAttribute(t)}},tE=function(e,t,n,r,o,i){var a=new eG.J7(e._pt,t,n,0,1,i?e9:e6);return e._pt=a,a.b=r,a.e=o,e._props.push(n),a},tC={deg:1,rad:1,turn:1},tO={grid:1,flex:1},tM=function e(t,n,r,o){var i,a,l,s,u=parseFloat(r)||0,c=(r+"").trim().substr((u+"").length)||"px",f=eW.style,d=e1.test(n),p="svg"===t.tagName.toLowerCase(),g=(p?"client":"offset")+(d?"Width":"Height"),h="px"===o,m="%"===o;if(o===c||!u||tC[o]||tC[c])return u;if("px"===c||h||(u=e(t,n,r,"px")),s=t.getCTM&&tx(t),(m||"%"===c)&&(e$[n]||~n.indexOf("adius")))return i=s?t.getBBox()[d?"width":"height"]:t[g],(0,eG.E_)(m?u/i*100:u/100*i);if(f[d?"width":"height"]=100+(h?c:o),a="rem"!==o&&~n.indexOf("adius")||"em"===o&&t.appendChild&&!p?t:t.parentNode,s&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==eB&&a.appendChild||(a=eB.body),(l=a._gsap)&&m&&l.width&&d&&l.time===eG.au.time&&!l.uncache)return(0,eG.E_)(u/l.width*100);if(m&&("height"===n||"width"===n)){var v=t.style[n];t.style[n]=100+o,i=t[g],v?t.style[n]=v:tw(t,n)}else(m||"%"===c)&&!tO[tp(a,"display")]&&(f.position=tp(t,"position")),a===t&&(f.position="static"),a.appendChild(eW),i=eW[g],a.removeChild(eW),f.position="absolute";return d&&m&&((l=(0,eG.a0)(a)).time=eG.au.time,l.width=a[g]),(0,eG.E_)(h?i*u/100:i&&u?100/i*u:0)},tS=function(e,t,n,r){var o;return eH||tm(),t in e2&&"transform"!==t&&~(t=e2[t]).indexOf(",")&&(t=t.split(",")[0]),e$[t]&&"transform"!==t?(o=tN(e,r),o="transformOrigin"!==t?o[t]:o.svg?o.origin:tL(tp(e,tl))+" "+o.zOrigin+"px"):(!(o=e.style[t])||"auto"===o||r||~(o+"").indexOf("calc("))&&(o=tT[t]&&tT[t](e,t,n)||tp(e,t)||(0,eG.n)(e,t)||+("opacity"===t)),n&&!~(o+"").trim().indexOf(" ")?tM(e,t,o,n)+n:o},tk=function(e,t,n,r){if(!n||"none"===n){var o=th(t,e,1),i=o&&tp(e,o,1);i&&i!==n?(t=o,n=i):"borderColor"===t&&(n=tp(e,"borderTopColor"))}var a,l,s,u,c,f,d,p,g,h,m,v=new eG.J7(this._pt,e.style,t,0,1,eG.l1),y=0,b=0;if(v.b=n,v.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=tp(e,r.substring(4,r.indexOf(")")))),"auto"===r&&(f=e.style[t],e.style[t]=r,r=tp(e,t)||r,f?e.style[t]=f:tw(e,t)),a=[n,r],(0,eG.Uc)(a),n=a[0],r=a[1],s=n.match(eG.vM)||[],(r.match(eG.vM)||[]).length){for(;l=eG.vM.exec(r);)d=l[0],g=r.substring(y,l.index),c?c=(c+1)%5:("rgba("===g.substr(-5)||"hsla("===g.substr(-5))&&(c=1),d!==(f=s[b++]||"")&&(u=parseFloat(f)||0,m=f.substr((u+"").length),"="===d.charAt(1)&&(d=(0,eG.B0)(u,d)+m),p=parseFloat(d),h=d.substr((p+"").length),y=eG.vM.lastIndex-h.length,h||(h=h||eG.Yz.units[t]||m,y===r.length&&(r+=h,v.e+=h)),m!==h&&(u=tM(e,t,f,h)||0),v._pt={_next:v._pt,p:g||1===b?g:",",s:u,c:p-u,m:c&&c<4||"zIndex"===t?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===t&&"none"===r?e9:e6;return eG.Ks.test(r)&&(v.e=0),this._pt=v,v},tA={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},tI=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return("top"===n||"bottom"===n||"left"===r||"right"===r)&&(e=n,n=r,r=e),t[0]=tA[n]||n,t[1]=tA[r]||r,t.join(" ")}
1,tj=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,o,i=t.t,a=i.style,l=t.u,s=i._gsap;if("all"===l||!0===l)a.cssText="",r=1;else for(o=(l=l.split(",")).length;--o>-1;)e$[n=l[o]]&&(r=1,n="transformOrigin"===n?tl:ta),tw(i,n);r&&(tw(i,ta),s&&(s.svg&&i.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",tN(i,1),s.uncache=1,tu(a)))}},tT={clearProps:function(e,t,n,r,o){if("isFromStart"!==o.data){var i=e._pt=new eG.J7(e._pt,t,n,0,0,tj);return i.u=r,i.pr=-10,i.tween=o,e._props.push(n),1}}},tP=[1,0,0,1,0,0],tR={},tD=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},tY=function(e){var t=tp(e,ta);return tD(t)?tP:t.substr(7).match(eG.vX).map(eG.E_)},tX=function(e,t){var n,r,o,i,a=e._gsap||(0,eG.a0)(e),l=e.style,s=tY(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(s=[(o=e.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?tP:s:(s!==tP||e.offsetParent||e===eU||a.svg||(o=l.display,l.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(i=1,r=e.nextElementSibling,eU.appendChild(e)),s=tY(e),o?l.display=o:tw(e,"display"),i&&(r?n.insertBefore(e,r):n?n.appendChild(e):eU.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},t_=function(e,t,n,r,o,i){var a,l,s,u,c=e._gsap,f=o||tX(e,!0),d=c.xOrigin||0,p=c.yOrigin||0,g=c.xOffset||0,h=c.yOffset||0,m=f[0],v=f[1],y=f[2],b=f[3],x=f[4],w=f[5],E=t.split(" "),C=parseFloat(E[0])||0,O=parseFloat(E[1])||0;n?f!==tP&&(l=m*b-v*y)&&(s=b/l*C+-y/l*O+(y*w-b*x)/l,u=-v/l*C+m/l*O-(m*w-v*x)/l,C=s,O=u):(C=(a=tb(e)).x+(~E[0].indexOf("%")?C/100*a.width:C),O
1=a.y+(~(E[1]||E[0]).indexOf("%")?O/100*a.height:O)),r||!1!==r&&c.smooth?(c.xOffset=g+((x=C-d)*m+(w=O-p)*y)-x,c.yOffset=h+(x*v+w*b)-w):c.xOffset=c.yOffset=0,c.xOrigin=C,c.yOrigin=O,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[tl]="0px 0px",i&&(tE(i,c,"xOrigin",d,C),tE(i,c,"yOrigin",p,O),tE(i,c,"xOffset",g,c.xOffset),tE(i,c,"yOffset",h,c.yOffset)),e.setAttribute("data-svg-origin",C+" "+O)},tN=function(e,t){var n=e._gsap||new eG.n6(e);if("x"in n&&!t&&!n.uncache)return n;var r,o,i,a,l,s,u,c,f,d,p,g,h,m,v,y,b,x,w,E,C,O,M,S,k,A,I,j,T,P,R,D,Y=e.style,X=n.scaleX<0,_=getComputedStyle(e),N=tp(e,tl)||"0";return r=o=i=s=u=c=f=d=p=0,a=l=1,n.svg=!!(e.getCTM&&tx(e)),_.translate&&(("none"!==_.translate||"none"!==_.scale||"none"!==_.rotate)&&(Y[ta]=("none"!==_.translate?"translate3d("+(_.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==_.rotate?"rotate("+_.rotate+") ":"")+("none"!==_.scale?"scale("+_.scale.split(" ").join(",")+") ":"")+("none"!==_[ta]?_[ta]:"")),Y.scale=Y.rotate=Y.translate="none"),m=tX(e,n.svg),n.svg&&(n.uncache?(k=e.getBBox(),N=n.xOrigin-k.x+"px "+(n.yOrigin-k.y)+"px",S=""):S=!t&&e.getAttribute("data-svg-origin"),t_(e,S||N,!!S||n.originIsAbsolute,!1!==n.smooth,m)),g=n.xOrigin||0,h=n.yOrigin||0,m!==tP&&(x=m[0],w=m[1],E=m[2],C=m[3],r=O=m[4],o=M=m[5],6===m.length?(a=Math.sqrt(x*x+w*w),l=Math.sqrt(C*C+E*E),s=x||w?eQ(w,x)*eK:0,(f=E||C?eQ(E,C)*eK+s:0)&&(l*=Math.abs(Math.cos(f*eJ))),n.svg&&(r-=g-(g*x+h*E),o-=h-(g*w+h*C))):(D=m[6],P=m[7],I=m[8],j=m[9],T=m[10],R=m[11],r=m[12],o=m[13],i=m[14],u=(v=eQ(D,T))*eK,v&&(S=O*(y=Math.cos(-v))+I*(b=Math.sin(-v)),k=M*y+j*b,A=D*y+T*b,I=-(O*b)+I*y,j=-(M*b)+j*y,T=-(D*b)+T*y,R=-(P*b)+R*y,O=S,M=k,D=A),c=(v=eQ(-E,T))*eK,v&&(S=x*(y=Math.cos(-v))-I*(b=Math.sin(-v)),k=w*y-j*b,A=E*y-T*b,R=C*b+R*y,x=S,w=k,E=A),s=(v=eQ(w,x))*eK,v&&(S=x*(y=Math.cos(v))+w*(b=Math.sin(v)),k=O*y+M*b,w=w*y-x*b,M=M*y-O*b,x=S,O=k),u&&Math.abs(u)+Math.abs(s)>359.9&&(u=s=0,c=180-c),a=(0,eG.E_)(Math.sqrt(x*x+w*w+E*E)),l=(0,eG.E_)(Math.sqrt(M*M+D*D)),f=Math.abs(v=eQ(O,M))>2e-4?v*eK:0,p=R?1/(R<0?-R:R):0),n.svg&&(S=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!tD(tp(e,ta)),S&&e.setAttribute("transform",S))),Math.abs(f)>90&&270>Math.abs(f)&&(X?(a*=-1,f+=s<=0?180:-180,s+=s<=0?180:-180):(l*=-1,f+=f<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+"px",n.y=o-((n.yPercent=o&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-o)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+"px",n.z=i+"px",n.scaleX=(0,eG.E_)(a),n.scaleY=(0,eG.E_)(l),n.rotation=(0,eG.E_)(s)+"deg",n.rotationX=(0,eG.E_)(u)+"deg",n.rotationY=(0,eG.E_)(c)+"deg",n.skewX=f+"deg",n.skewY=d+"deg",n.transformPerspective=p+"px",(n.zOrigin=parseFloat(N.split(" ")[2])||!t&&n.zOrigin||0)&&(Y[tl]=tL(N)),n.xOffset=n.yOffset=0,n.force3D=eG.Yz.force3D,n.renderTransform=n.svg?tH:eZ?tU:tz,n.uncache=0,n},tL=function(e){return(e=e.split(" "))[0]+" "+e[1]},tF=function(e,t,n){var r=(0,eG.l_)(t);return(0,eG.E_)(parseFloat(t)+parseFloat(tM(e,"x",n+"px",r)))+r},tz=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,tU(e,t)},tB="0deg",tU=function(e,t){var n=t||this,r=n.xPercent,o=n.yPercent,i=n.x,a=n.y,l=n.z,s=n.rotation,u=n.rotationY,c=n.rotationX,f=n.skewX,d=n.skewY,p=n.scaleX,g=n.scaleY,h=n.transformPerspective,m=n.force3D,v=n.target,y=n.zOrigin,b="",x="auto"===m&&e&&1!==e||!0===m;if(y&&(c!==tB||u!==tB)){var w,E=parseFloat(u)*eJ,C=Math.sin(E),O=Math.cos(E);i=tF(v,i,-(C*(w=Math.cos(E=parseFloat(c)*eJ))*y)),a=tF(v,a,-(-Math.sin(E)*y)),l=tF(v,l,-(O*w*y)+y)}"0px"!==h&&(b+="perspective("+h+") "),(r||o)&&(b+="translate("+r+"%, "+o+"%) "),(x||"0px"!==i||"0px"!==a||"0px"!==l)&&(b+="0px"!==l||x?"translate3d("+i+", "+a+", "+l+") ":"translate("+i+", "+a+") "),s!==tB&&(b+="rotate("+s+") "),u!==tB&&(b+="rotateY("+u+") "),c!==tB&&(b+="rotateX("+c+") "),(f!==tB||d!==tB)&&(b+="skew("+f+", "+d+") "),(1!==p||1!==g)&&(b+="scale("+p+", "+g+") "),v.style[ta]=b||"translate(0, 0)"},tH=function(e,t){var n,r,o,i,a,l=t||this,s=l.xPercent,u=l.yPercent,c=l.x,f=l.y,d=l.rotation,p=l.skewX,g=l.skewY,h=l.scaleX,m=l.scaleY,v=l.target,y=l.xOr
1igin,b=l.yOrigin,x=l.xOffset,w=l.yOffset,E=l.forceCSS,C=parseFloat(c),O=parseFloat(f);d=parseFloat(d),p=parseFloat(p),(g=parseFloat(g))&&(p+=g=parseFloat(g),d+=g),d||p?(d*=eJ,p*=eJ,n=Math.cos(d)*h,r=Math.sin(d)*h,o=-(Math.sin(d-p)*m),i=Math.cos(d-p)*m,p&&(g*=eJ,o*=a=Math.sqrt(1+(a=Math.tan(p-g))*a),i*=a,g&&(n*=a=Math.sqrt(1+(a=Math.tan(g))*a),r*=a)),n=(0,eG.E_)(n),r=(0,eG.E_)(r),o=(0,eG.E_)(o),i=(0,eG.E_)(i)):(n=h,i=m,r=o=0),(C&&!~(c+"").indexOf("px")||O&&!~(f+"").indexOf("px"))&&(C=tM(v,"x",c,"px"),O=tM(v,"y",f,"px")),(y||b||x||w)&&(C=(0,eG.E_)(C+y-(y*n+b*o)+x),O=(0,eG.E_)(O+b-(y*r+b*i)+w)),(s||u)&&(a=v.getBBox(),C=(0,eG.E_)(C+s/100*a.width),O=(0,eG.E_)(O+u/100*a.height)),a="matrix("+n+","+r+","+o+","+i+","+C+","+O+")",v.setAttribute("transform",a),E&&(v.style[ta]=a)},tW=function(e,t,n,r,o){var i,a,l=(0,eG.vQ)(o),s=parseFloat(o)*(l&&~o.indexOf("rad")?eK:1)-r,u=r+s+"deg";return l&&("short"===(i=o.split("_")[1])&&(s%=360)!=s%180&&(s+=s<0?360:-360),"cw"===i&&s<0?s=(s+36e9)%360-360*~~(s/360):"ccw"===i&&s>0&&(s=(s-36e9)%360-360*~~(s/360))),e._pt=a=new eG.J7(e._pt,t,n,r,s,e3),a.e=u,a.u="deg",e._props.push(n),a},tV=function(e,t){for(var n in t)e[n]=t[n];return e},tq=function(e,t,n){var r,o,i,a,l,s,u,c=tV({},n._gsap),f=n.style;for(o in c.svg?(i=n.getAttribute("transform"),n.setAttribute("transform",""),f[ta]=t,r=tN(n,1),tw(n,ta),n.setAttribute("transform",i)):(i=getComputedStyle(n)[ta],f[ta]=t,r=tN(n,1),f[ta]=i),e$)(i=c[o])!==(a=r[o])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(o)&&(l=(0,eG.l_)(i)!==(u=(0,eG.l_)(a))?tM(n,o,i,u):parseFloat(i),s=parseFloat(a),e._pt=new eG.J7(e._pt,r,o,l,s-l,e7),e._pt.u=u||0,e._props.push(o));tV(r,c)};(0,eG.fA)("padding,margin,Width,Radius",function(e,t){var n="Right",r="Bottom",o="Left",i=(t<3?["Top",n,r,o]:["Top"+o,"Top"+n,r+n,r+o]).map(function(n){return t<2?e+n:"border"+n+e});tT[t>1?"border"+e:e]=function(e,t,n,r,o){var a,l;if(arguments.length<4)return 5===(l=(a=i.map(function(t){return tS(e,t,n)})).join(" ")).split(a[0]).length?a[0]:l;a=(r+"").split(" "),l={},i.forEach(function(e,t){return l[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,l,o)}});var tZ={name:"css",register:tm,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,o){var i,a,l,s,u,c,f,d,p,g,h,m,v,y,b,x,w=this._props,E=e.style,C=n.vars.startAt;for(f in eH||tm(),this.styles=this.styles||tf(e),x=this.styles.props,this.tween=n,t)if("autoRound"!==f&&(a=t[f],!(eG.wU[f]&&(0,eG.Zm)(f,t,n,r,e,o)))){if(u=typeof a,c=tT[f],"function"===u&&(u=typeof(a=a.call(n,r,e,o))),"string"===u&&~a.indexOf("random(")&&(a=(0,eG.Vy)(a)),c)c(this,e,f,a,n)&&(b=1);else if("--"===f.substr(0,2))i=(getComputedStyle(e).getPropertyValue(f)+"").trim(),a+="",eG.qA.lastIndex=0,eG.qA.test(i)||(d=(0,eG.l_)(i),p=(0,eG.l_)(a)),p?d!==p&&(i=tM(e,f,i,p)+p):d&&(a+=d),this.add(E,"setProperty",i,a,r,o,0,0,f),w.push(f),x.push(f,0,E[f]);else if("undefined"!==u){if(C&&f in C?(i="function"==typeof C[f]?C[f].call(n,r,e,o):C[f],(0,eG.vQ)(i)&&~i.indexOf("random(")&&(i=(0,eG.Vy)(i)),(0,eG.l_)(i+"")||"auto"===i||(i+=eG.Yz.units[f]||(0,eG.l_)(tS(e,f))||""),"="===(i+"").charAt(1)&&(i=tS(e,f))):i=tS(e,f),s=parseFloat(i),(g="string"===u&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),l=parseFloat(a),f in e2&&("autoAlpha"===f&&(1===s&&"hidden"===tS(e,"visibility")&&l&&(s=0),x.push("visibility",0,E.visibility),tE(this,E,"visibility",s?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==f&&"transform"!==f&&~(f=e2[f]).indexOf(",")&&(f=f.split(",")[0])),h=f in e$){if(this.styles.save(f),"string"===u&&"var(--"===a.substring(0,6)&&(l=parseFloat(a=tp(e,a.substring(4,a.indexOf(")"))))),m||((v=e._gsap).renderTransform&&!t.parseTransform||tN(e,t.parseTransform),y=!1!==t.smoothOrigin&&v.smooth,(m=this._pt=new eG.J7(this._pt,E,ta,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===f)this._pt=new eG.J7(this._pt,v,"scaleY",v.scaleY,(g?(0,eG.B0)(v.scaleY,g+l):l)-v.scaleY||0,e7),this._pt.u=0,w.push("scaleY",f),f+="X";else if("transformOrigin"===f){x.push(tl,0,E[tl]),a=tI(a),v.svg?t_(e,a,0,y,0,this):((p=parseFloat(a.split(" ")[2])||0)!==v.zOrigin&&tE(this,v,"zOrigin",v.zOrigin,p),tE(this,E,f,tL(i),tL(a)));continue}else if("svgOrigin"===f){t_(e,a,1,y,0,this);continue}else if(f in tR){tW(this,v,f,s,g?(0,eG.B0)(s,g+a):a);continue}else if("smoothOrigin"===f){tE(this,v,"smooth",v.smooth,a);continue}else if("force3D"===f){v[f]=a;continue}else if("transform"===f){tq(this,a,e);continue}}else f in E||(f=th(f)||f);if(h||(l||0===l)&&(s||0===s)&&!e5.test(a)&&f in E)d=(i+"").substr((s+"").length),l||(l=0),p=(0,eG.l_)(a)||(f in eG.Yz.units?eG.Yz.units[f]:d),d!==p&&(s=tM(e,f,i,p)),this._pt=new eG.J7(this._pt,h?v:E,f,s,(g?(0,eG.B0)(s,g+l):l)-s,
1!h&&("px"===p||"zIndex"===f)&&!1!==t.autoRound?e4:e7),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=i,this._pt.r=e8);else if(f in E)tk.call(this,e,f,i,g?g+a:a);else if(f in e)this.add(e,f,i||e[f],g?g+a:a,r,o);else if("parseTransform"!==f){(0,eG.dg)(f,a);continue}h||(f in E?x.push(f,0,E[f]):"function"==typeof e[f]?x.push(f,2,e[f]()):x.push(f,1,i||e[f])),w.push(f)}}b&&(0,eG.St)(this)},render:function(e,t){if(t.tween._time||!eq())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:tS,aliases:e2,getSetter:function(e,t,n){var r=e2[t];return r&&0>r.indexOf(",")&&(t=r),t in e$&&t!==tl&&(e._gsap.x||tS(e,"x"))?n&&eV===n?"scale"===t?tr:tn:(eV=n||{},"scale"===t?to:ti):e.style&&!(0,eG.OF)(e.style[t])?te:~t.indexOf("-")?tt:(0,eG.Dx)(e,t)},core:{_removeProperty:tw,_getMatrix:tX}};eG.os.utils.checkPrefix=th,eG.os.core.getStyleSaver=tf,function(e,t,n,r){var o=(0,eG.fA)(e+","+t+","+n,function(e){e$[e]=1});(0,eG.fA)(t,function(e){eG.Yz.units[e]="deg",tR[e]=1}),e2[o[13]]=e+","+t,(0,eG.fA)(r,function(e){var t=e.split(":");e2[t[1]]=o[t[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),(0,eG.fA)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){eG.Yz.units[e]="px"}),eG.os.registerPlugin(tZ);var tG=eG.os.registerPlugin(tZ)||eG.os;function t$(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function tK(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function tJ(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}tG.core.Tween;let tQ="[object RegExp]",t0="[object String]",t1="[object Number]",t5="[object Boolean]",t2="[object Arguments]",t7="[object Symbol]",t3="[object Date]",t8="[object Map]",t4="[object Set]",t6="[object Array]",t9="[object ArrayBuffer]",ne="[object Object]",nt="[object DataView]",nn="[object Uint8Array]",nr="[object Uint8ClampedArray]",no="[object Uint16Array]",ni="[object Uint32Array]",na="[object Int8Array]",nl="[object Int16Array]",ns="[object Int32Array]",nu="[object Float32Array]",nc="[object Float64Array]";var nf=n(35162).Buffer;function nd(){}function np(e,t){return function e(t,n,r,o,i,a,l){let s=l(t,n,r,o,i,a);if(void 0!==s)return s;if(typeof t==typeof n)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===n;case"number":return t===n||Object.is(t,n)}return function t(n,r,o,i){if(Object.is(n,r))return!0;let a=tJ(n),l=tJ(r);if(a===t2&&(a=ne),l===t2&&(l=ne),a!==l)return!1;switch(a){case t0:return n.toString()===r.toString();case t1:{let e=n.valueOf(),t=r.valueOf();return e===t||Number.isNaN(e)&&Number.isNaN(t)}case t5:case t3:case t7:return Object.is(n.valueOf(),r.valueOf());case tQ:return n.source===r.source&&n.flags===r.flags;case"[object Function]":return n===r}let s=(o=o??new Map).get(n),u=o.get(r);if(null!=s&&null!=u)return s===r;o.set(n,r),o.set(r,n);try{switch(a){case t8:if(n.size!==r.size)return!1;for(let[t,a]of n.entries())if(!r.has(t)||!e(a,r.get(t),t,n,r,o,i))return!1;return!0;case t4:{if(n.size!==r.size)return!1;let t=Array.from(n.values()),a=Array.from(r.values());for(let l=0;l<t.length;l++){let s=t[l],u=a.findIndex(t=>e(s,t,void 0,n,r,o,i));if(-1===u)return!1;a.splice(u,1)}return!0}case t6:case nn:case nr:case no:case ni:case"[object BigUint64Array]":case na:case nl:case ns:case"[object BigInt64Array]":case nu:case nc:if(void 0!==nf&&nf.isBuffer(n)!==nf.isBuffer(r)||n.length!==r.length)return!1;for(let t=0;t<n.length;t++)if(!e(n[t],r[t],t,n,r,o,i))return!1;return!0;case t9:if(n.byteLength!==r.byteLength)return!1;return t(new Uint8Array(n),new Uint8Array(r),o,i);case nt:if(n.byteLength!==r.byteLength||n.byteOffset!==r.byteOffset)return!1;return t(new Uint8Array(n),new Uint8Array(r),o,i);case"[object Error]":return n.name===r.name&&n.message===r.message;
1case ne:{if(!(t(n.constructor,r.constructor,o,i)||t$(n)&&t$(r)))return!1;let a=[...Object.keys(n),...tK(n)],l=[...Object.keys(r),...tK(r)];if(a.length!==l.length)return!1;for(let t=0;t<a.length;t++){let l=a[t],s=n[l];if(!Object.hasOwn(r,l))return!1;let u=r[l];if(!e(s,u,l,n,r,o,i))return!1}return!0}default:return!1}}finally{o.delete(n),o.delete(r)}}(t,n,a,l)}(e,t,void 0,void 0,void 0,void 0,nd)}let ng=/^[a-z-]+\(.+\)$/i,nh=/^(\d+(?:\.\d+)?)(px)?$/;function nm(e){if(null==e)return e;if("number"==typeof e)return"blur(".concat(e,"px)");if("string"==typeof e){if(ng.test(e))return e;let t=e.match(nh);if(t)return"blur(".concat(t[1],"px)")}return e}let nv=/^(-?)([\d|.]*)(%|deg|px)?$/;function ny(e,t){if("number"==typeof e)return{ë¶í¸:e<0?"-":"+",ì«ì:Math.abs(e),ë¨ì:t};let n=nv.exec(e);if(null==n)throw Error("".concat(e," íì±ì ì¤í¨íìµëë¤."));let[r,o,i,a=t]=n,l=parseFloat(null!=i?i:"");if(Number.isNaN(l))throw Error("".concat(e," ì«ì íì±ì ì¤í¨íìµëë¤."));return{ë¶í¸:o,ì«ì:l,ë¨ì:a}}let nb=/^(\+|-|\*|\/)=([\d|.]*)(%|deg|px)?$/;function nx(e,t){let n=nb.exec(e);if(null==n)throw Error("".concat(e," íì±ì ì¤í¨íìµëë¤."));let[r,o,i,a=t]=n,l=parseFloat(null!=i?i:"");if(Number.isNaN(l))throw Error("".concat(e," ì«ì íì±ì ì¤í¨íìµëë¤."));return{ë¶í¸:o,ì«ì:l,ë¨ì:a}}let nw=["color","backgroundColor","opacity","transformOrigin","transformOriginX","transformOriginY","width","height","radius","perspective","layerBlur","backgroundBlur"],nE={scale:"",scaleX:"",scaleY:"",translateX:"px",translateY:"px",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",pointerEvents:""},nC=/^(\+|-|\*|\/)?=?([\d|.]*)(%|deg|px)?$/,nO=e=>{if(null==e)return["50%","50%"];let t=e.split(" ");return t.length>=2?[t[0],t[1]]:["50%","50%"]},nM=(e,t)=>{if(!("transformOriginX"in e||"transformOriginY"in e))return e;let{transformOriginX:n,transformOriginY:r,...o}=e,[i,a]=((e,t)=>{if("transformOrigin"in e){let t=e.transformOrigin;if(t&&"object"==typeof t){if("from"in t)return nO(t.from);if("to"in t)return nO(t.to)}}return(e=>e instanceof HTMLElement&&"undefined"!=typeof window?nO(window.getComputedStyle(e).transformOrigin):["50%","50%"])(t)})(o,t),l=null!=n&&"from"in n,s=null!=r&&"from"in r,u=null!=n&&"to"in n,c=null!=r&&"to"in r,f=l?n.from:i,d=s?r.from:a,p=u?n.to:f,g=c?r.to:d,h={...null!=n?Object.fromEntries(Object.entries(n).filter(e=>{let[t]=e;return"from"!==t&&"to"!==t})):{},...null!=r?Object.fromEntries(Object.entries(r).filter(e=>{let[t]=e;return"from"!==t&&"to"!==t})):{}},m=l||s?{...h,from:"".concat(f," ").concat(d),to:"".concat(p," ").concat(g)}:{...h,to:"".concat(p," ").concat(g)};return{...o,transformOrigin:m}},nS={...nE,width:"px",height:"px",radius:"px",perspective:"px",layerBlur:"px",backgroundBlur:"px",color:"",backgroundColor:"",opacity:"",transformOrigin:"",transformOriginX:"",transformOriginY:""},nk=["transformOrigin","transformOriginX","transformOriginY","opacity","backgroundColor","color","layerBlur","backgroundBlur"];function nA(e,t){if("layerBlur"===t||"backgroundBlur"===t)return nm(e);if(nk.includes(t))return e;if("perspective"===t)return;let{ë¶í¸:n,ì«ì:r,ë¨ì:o}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("number"==typeof e)return{ë¶í¸:e<0?"-":"+",ì«ì:Math.abs(e),ë¨ì:t};let n=nC.exec(e);if(null==n)throw Error("".concat(e," íì±ì ì¤í¨íìµëë¤."));let[r,o,i,a=t]=n,l=parseFloat(null!=i?i:"");if(Number.isNaN(l))throw Error("".concat(e," ì«ì íì±ì ì¤í¨íìµëë¤."));return{ë¶í¸:o,ì«ì:l,ë¨ì:a}}(e,nS[t]);return"".concat("-"===n?"-":"").concat(r).concat(o)}let nI={layerBlur:"filter",backgroundBlur:"backdropFilter",radius:"borderRadius"},nj=["scale","scaleX","scaleY","translateX","translateY","rotate","rotateX","rotateY","rotateZ","perspective"];function nT(e){return Array.isArray(e)?e:[e]}class nP{get current(){return this._current}get prev(){return this._prev}constructor(){this.set=e=>{this._prev=this._current,this._current=e}}}function nR(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];for(let e of t)null==e||e(...n)}}let nD={focus:(e,t)=>{let{start:n,end:r}=t;if(!(e instanceof HTMLElement)||null==n&&null==r)return()=>{};let o=()=>{null==n||n()},i=()=>{null==r||r()};return e.addEventListener("focus",o),e.addEventListener("blur",i),()=>{e.removeEventListener("focus",o),e.removeEventListener("blur",i)}},hover:(e,t)=>{let{start:n,end:r}=t;if(!(e instanceof HTMLElement)||null==n&&null==r)return()=>{};let o=()=>{null==n||n()},i=()=>{null==r||r()};return e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",i),()=>{e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",i)}},tap:function(e,t){let{start:n,end:r,cancel:o}=t;if(!(e instanceof HTMLElement)||null==n&&null==r&&null==o)return()=>{};let i=!1,a={current:null},l=()=>{null==n||n(),i=!0},s=()=>{null==r||r(),a.current=window.setTimeout(()=>{i=!1},300)},u=()=>{null==o||o(),a.current=window.setTimeout(()=>{i=!1},300)},c=()=>{i||(window.addEventListener("mouseup",f),null==n||n(),i=!0)},f=()=>{window.removeEventListener("mouseup",f),null==r||r(),i=!1,a.current&&clearTimeout(a.current)};return e.addEventListener("touchstart",l),e.addEventListener("touchend",s),e.addEventListener("touchcancel",u),e.addEventListener("mousedown",c),function(){e.removeEventListener("touchstart",l),e.removeEventListener("touchend",s),e.removeEventListener("touchcancel",u),e.removeEventListener("mousedown",c),window.removeEventListener("mouseup",f),a.current&&clearTimeout(a.current)}}},nY=e=>(Array.isArray(e)?e:[e]).map(e=>Object.fromEntries(Object.entries(e).map(e=>{let[t,n]=e,{from:r,...o}=n;return[t,o]})));
1class nX{get isInfinite(){return -1===this.gsapInstance.getChildren(!1)[0].repeat()}get isBackward(){return this.gsapInstance.reversed()}get registrable(){return this.gsapInstance.play()}get _internalUseOnlyGSAPInstance(){return this.gsapInstance}get totalDuration(){return this.gsapInstance.totalDuration()}play(){return this.gsapInstance=this.isBackward?this.gsapInstance.reverse():this.gsapInstance.play(),this}pause(){return this.gsapInstance=this.gsapInstance.pause(),this}seek(e){return this.gsapInstance.isActive()?this.gsapInstance=this.gsapInstance.seek(e,!0):this.gsapInstance=this.gsapInstance.pause(e,!0),this}seekProgress(e){return this.gsapInstance.isActive()?this.gsapInstance=this.gsapInstance.seek(this.gsapInstance.totalDuration()).progress(e,!0):this.gsapInstance=this.gsapInstance.seek(this.gsapInstance.totalDuration()).progress(e,!0).pause(),this}forward(){return this.gsapInstance.isActive()?this.gsapInstance=this.gsapInstance.play():this.gsapInstance=this.gsapInstance.play().pause(),this}startForward(){return this.gsapInstance=this.gsapInstance.invalidate().restart(!0),this}backward(){return this.gsapInstance.isActive()?this.gsapInstance=this.gsapInstance.reverse():this.gsapInstance=this.gsapInstance.reverse().pause(),this}startBackward(){return this.gsapInstance=this.gsapInstance.reverse(this.gsapInstance.totalDuration()),this.gsapInstance.then(()=>{this.seek(0)}),this}resetTargetStyle(){null!=this.target&&tG.set(this.target,{clearProps:"all"})}destroy(){let{resetStyleOnDestroy:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{resetStyleOnDestroy:!1};return null!=this.gsapInstance&&(this.gsapInstance=this.gsapInstance.pause().kill(),e&&this.resetTargetStyle()),this}onStart(e){return this.gsapInstance.vars.onStart=e,this}onEnd(e){return this.gsapInstance.vars.onComplete=e,this}onRepeat(e){return this.gsapInstance.vars.onRepeat=e,this}onStartAfterDelay(e){return this.gsapInstance.vars.onStartAfterDelay=e,this}onAnimationStart(e){return this.gsapInstance.vars.onAnimationStart=e,this}onAnimationEnd(e){return this.gsapInstance.vars.onAnimationEnd=e,this}then(e){return this.gsapInstance.then(()=>{this.gsapInstance.pause(),null==e||e()})}constructor(){this.gsapInstance=tG.timeline(),this.target=null}}let n_=c.a7.out;var nN,nL,nF=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,nz=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,nB=Math.PI/180,nU=Math.sin,nH=Math.cos,nW=Math.abs,nV=Math.sqrt,nq=function(e){return Math.round(1e5*e)/1e5||0},nZ=function(){return nN||"undefined"!=typeof window&&(nN=window.gsap)&&nN.registerPlugin&&nN},nG=function(){(nN=nZ())?(nN.registerEase("_CE",n5.create),nL=1):console.warn("Please gsap.registerPlugin(CustomEase)")},n$=function(e){return~~(1e3*e+(e<0?-.5:.5))/1e3},nK=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,nJ=/[cLlsSaAhHvVtTqQ]/g,nQ=function(e){var t,n=e.length,r=1e20;for(t=1;t<n;t+=6)+e[t]<r&&(r=+e[t]);return r},n0=function(e,t,n){n||0===n||(n=Math.max(+e[e.length-1],+e[1]));var r,o=-1*e[0],i=-n,a=e.length,l=1/(+e[a-2]+o),s=-t||(Math.abs(e[a-1]-e[1])<.01*(e[a-2]-e[0])?nQ(e)+i:+e[a-1]+i);for(r=0,s=s?1/s:-l;r<a;r+=2)e[r]=(+e[r]+o)*l,e[r+1]=(+e[r+1]+i)*s},n1=function e(t,n,r,o,i,a,l,s,u,c,f){var d,p=(t+r)/2,g=(n+o)/2,h=(r+i)/2,m=(o+a)/2,v=(i+l)/2,y=(a+s)/2,b=(p+h)/2,x=(g+m)/2,w=(h+v)/2,E=(m+y)/2,C=(b+w)/2,O=(x+E)/2,M=l-t,S=s-n,k=Math.abs((r-l)*S-(o-s)*M),A=Math.abs((i-l)*S-(a-s)*M);return c||(c=[{x:t,y:n},{x:l,y:s}],f=1),c.splice(f||c.length-1,0,{x:C,y:O}),(k+A)*(k+A)>u*(M*M+S*S)&&(d=c.length,e(t,n,p,g,b,x,C,O,u,c,f),e(C,O,w,E,v,y,l,s,u,c,f+1+(c.length-d))),c},n5=function(){function e(e,t,n){nL||nG(),this.id=e,this.setData(t,n)}var t=e.prototype;return t.setData=function(e,t){t=t||{};var n,r,o,i,a,l,s,u,c,f=(e=e||"0,0,1,1").match(nK),d=1,p=[],g=[],h=t.precision||1,m=h<=1;if(this.data=e,(nJ.test(e)||~e.indexOf("M")&&0>e.indexOf("C"))&&(f=function(e){var t,n,r,o,i,a,l,s,u,c,f,d,p,g,h,m=(e+"").replace(nz,function(e){var t=+e;return t<1e-4&&t>-1e-4?0:t}).match(nF)||[],v=[],y=0,b=0,x=2/3,w=m.length,E=0,C="ERROR: malformed path: "+e,O=function(e,t,n,r){c=(n-e)/3,f=(r-t)/3,l.push(e+c,t+f,n-c,r-f,n,r)};if(!e||!isNaN(m[0])||isNaN(m[1]))return console.log(C),v;for(t=0;t<w;t++)if(p=i,isNaN(m[t])?a=(i=m[t].toUpperCase())!==m[t]:t--,r=+m[t+1],o=+m[t+2],a&&(r+=y,o+=b),t||(s=r,u=o),"M"===i)l&&(l.length<8?v.length-=1:E+=l.length),y=s=r,b=u=o,l=[r,o],v.push(l),t+=2,i="L";else if("C"===i)l||(l=[0,0]),a||(y=b=0),l.push(r,o,y+ +m[t+3],b+ +m[t+4],y+=+m[t+5],b+=+m[t+6]),t+=6;else if("S"===i)c=y,f=b,("C"===p||"S"===p)&&(c+=y-l[l.length-4],f+=b-l[l.length-3]),a||(y=b=0),l.push(c,f,r,o,y+=+m[t+3],b+=+m[t+4]),t+=4;else if("Q"===i)c=y+(r-y)*x,f=b+(o-b)*x,a||(y=b=0),y+=+m[t+3],b+=+m[t+4],l.push(c,f,y+(r-y)*x,b+(o-b)*x,y,b),t+=4;else if("T"===i)c=y-l[l.length-4],f=b-l[l.length-3],l.push(y+c,b+f,r+(y+1.5*c-r)*x,o+(b+1.5*f-o)*x,y=r,b=o),t+=2;else if("H"===i)O(y,b,y=r,b),t+=1;
1else if("V"===i)O(y,b,y,b=r+(a?b-y:0)),t+=1;else if("L"===i||"Z"===i)"Z"===i&&(r=s,o=u,l.closed=!0),("L"===i||nW(y-r)>.5||nW(b-o)>.5)&&(O(y,b,r,o),"L"===i&&(t+=2)),y=r,b=o;else if("A"===i){if(g=m[t+4],h=m[t+5],c=m[t+6],f=m[t+7],n=7,g.length>1&&(g.length<3?(f=c,c=h,n--):(f=h,c=g.substr(2),n-=2),h=g.charAt(1),g=g.charAt(0)),d=function(e,t,n,r,o,i,a,l,s){if(e!==l||t!==s){n=nW(n),r=nW(r);var u=o%360*nB,c=nH(u),f=nU(u),d=Math.PI,p=2*d,g=(e-l)/2,h=(t-s)/2,m=c*g+f*h,v=-f*g+c*h,y=m*m,b=v*v,x=y/(n*n)+b/(r*r);x>1&&(n=nV(x)*n,r=nV(x)*r);var w=n*n,E=r*r,C=(w*E-w*b-E*y)/(w*b+E*y);C<0&&(C=0);var O=(i===a?-1:1)*nV(C),M=n*v/r*O,S=-(r*m/n*O),k=(e+l)/2+(c*M-f*S),A=(t+s)/2+(f*M+c*S),I=(m-M)/n,j=(v-S)/r,T=(-m-M)/n,P=(-v-S)/r,R=I*I+j*j,D=(j<0?-1:1)*Math.acos(I/nV(R)),Y=(I*P-j*T<0?-1:1)*Math.acos((I*T+j*P)/nV(R*(T*T+P*P)));isNaN(Y)&&(Y=d),!a&&Y>0?Y-=p:a&&Y<0&&(Y+=p),D%=p;var X,_=Math.ceil(nW(Y%=p)/(p/4)),N=[],L=Y/_,F=4/3*nU(L/2)/(1+nH(L/2)),z=c*n,B=f*n,U=-(f*r),H=c*r;for(X=0;X<_;X++)m=nH(o=D+X*L),v=nU(o),I=nH(o+=L),j=nU(o),N.push(m-F*v,v+F*m,I+F*j,j-F*I,I,j);for(X=0;X<N.length;X+=2)m=N[X],v=N[X+1],N[X]=m*z+v*U+k,N[X+1]=m*B+v*H+A;return N[X-2]=l,N[X-1]=s,N}}(y,b,+m[t+1],+m[t+2],+m[t+3],+g,+h,(a?y:0)+ +c,(a?b:0)+ +f),t+=n,d)for(n=0;n<d.length;n++)l.push(d[n]);y=l[l.length-2],b=l[l.length-1]}else console.log(C);return(t=l.length)<6?(v.pop(),t=0):l[0]===l[t-2]&&l[1]===l[t-1]&&(l.closed=!0),v.totalPoints=E+t,v}(e)[0]),4===(n=f.length))f.unshift(0,0),f.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for((0!=+f[0]||1!=+f[n-2])&&n0(f,t.height,t.originY),this.segment=f,i=2;i<n;i+=6)r={x:+f[i-2],y:+f[i-1]},o={x:+f[i+4],y:+f[i+5]},p.push(r,o),n1(r.x,r.y,+f[i],+f[i+1],+f[i+2],+f[i+3],o.x,o.y,1/(2e5*h),p,p.length-1);for(i=0,n=p.length;i<n;i++)s=p[i],u=p[i-1]||s,(s.x>u.x||u.y!==s.y&&u.x===s.x||s===u)&&s.x<=1?(u.cx=s.x-u.x,u.cy=s.y-u.y,u.n=s,u.nx=s.x,m&&i>1&&Math.abs(u.cy/u.cx-p[i-2].cy/p[i-2].cx)>2&&(m=0),u.cx<d&&(u.cx?d=u.cx:(u.cx=.001,i===n-1&&(u.x-=.001,d=Math.min(d,.001),m=0)))):(p.splice(i--,1),n--);if(a=1/(n=1/d+1|0),l=0,s=p[0],m){for(i=0;i<n;i++)c=i*a,s.nx<c&&(s=p[++l]),r=s.y+(c-s.x)/s.cx*s.cy,g[i]={x:c,cx:a,y:r,cy:0,nx:9},i&&(g[i-1].cy=r-g[i-1].y);l=p[p.length-1],g[n-1].cy=l.y-r,g[n-1].cx=l.x-g[g.length-1].x}else{for(i=0;i<n;i++)s.nx<i*a&&(s=p[++l]),g[i]=s;l<p.length-1&&(g[i-1]=p[p.length-2])}return this.ease=function(e){var t=g[e*n|0]||g[n-1];return t.nx<e&&(t=t.n),t.y+(e-t.x)/t.cx*t.cy},this.ease.custom=this,this.id&&nN&&nN.registerEase(this.id,this.ease),this},t.getSVGData=function(t){return e.getSVGData(this,t)},e.create=function(t,n,r){return new e(t,n,r).ease},e.register=function(e){nN=e,nG()},e.get=function(e){return nN.parseEase(e)},e.getSVGData=function(t,n){var r,o,i,a,l,s,u,c,f,d,p=(n=n||{}).width||100,g=n.height||100,h=n.x||0,m=(n.y||0)+g,v=nN.utils.toArray(n.path)[0];if(n.invert&&(g=-g,m=0),"string"==typeof t&&(t=nN.parseEase(t)),t.custom&&(t=t.custom),t instanceof e)r=function(e){"number"==typeof e[0]&&(e=[e]);var t,n,r,o,i="",a=e.length;for(n=0;n<a;n++){for(i+="M"+nq((o=e[n])[0])+","+nq(o[1])+" C",t=o.length,r=2;r<t;r++)i+=nq(o[r++])+","+nq(o[r++])+" "+nq(o[r++])+","+nq(o[r++])+" "+nq(o[r++])+","+nq(o[r])+" ";o.closed&&(i+="z")}return i}(function(e,t,n,r,o,i,a){for(var l,s,u,c,f,d=e.length;--d>-1;)for(u=0,s=(l=e[d]).length;u<s;u+=2)c=l[u],f=l[u+1],l[u]=c*t+0*f+i,l[u+1]=0*c+f*o+a;return e._dirty=1,e}([t.segment],p,0,0,-g,h,m));else{for(r=[h,m],a=1/(u=Math.max(5,200*(n.precision||1))),u+=2,c=5/u,f=n$(h+a*p),o=((d=n$(m+-(t(a)*g)))-m)/(f-h),i=2;i<u;i++)l=n$(h+i*a*p),(Math.abs(((s=n$(m+-(t(i*a)*g)))-d)/(l-f)-o)>c||i===u-1)&&(r.push(f,d),o=(s-d)/(l-f)),f=l,d=s;r="M"+r.join(",")}return v&&v.setAttribute("d",r),r},e}();n5.version="3.13.0",n5.headless=!0,nZ()&&nN.registerPlugin(n5);var n2=n(79162);function n7(){var e;return void 0!==n2&&(null==(e=null==n2?void 0:n2.env)?void 0:e.NODE_ENV)==="development"}function n3(e,t){return{id:null!=t?t:m(),ease:n5.create(t,e.join(","))}}function n8(e){let{easing:t,duration:n}=e;if(null==t)return(n7()&&console.error("\uD83D\uDEA8 RallyError: easingì´ ëë½ëìì´ì."),null==n)?{}:{duration:n};
1if(Array.isArray(t)&&4===t.length)if(null==n)return n7()&&console.error("\uD83D\uDEA8 RallyError: easing í í°ì´ bezierì¼ ê²½ì°ìë duration ê°ì´ íìë¡ ë¤ì´ê°ì¼ í´ì."),{ease:n3(t).ease};else return{ease:n3(t).ease,duration:n};{let{easeFunction:e,duration:n}=(0,c.DK)(t);return{ease:e,duration:n}}}function n4(e,t){switch(e){case"transformPerspective":return"function"==typeof t?(e,n)=>{try{let e=tG.getProperty(n,"width","px"),r=ny(e).ì«ì;return t(r)}catch(e){return console.error(e),t}}:t;case"color":case"backgroundColor":case"borderColor":case"opacity":return"string"==typeof t&&(t.startsWith("--")||t.startsWith("var"))?(e,n)=>{try{let e=t.match(/--[a-zA-Z0-9-]+/g);if(null==e||0===e.length)return t;for(let t of e){let e=tG.getProperty(n,t);if(e&&""!==e&&"undefined"!==e)return e}return t}catch(e){return console.error(e),t}}:t;case"filter":case"backdropFilter":return nm(t);default:return t}}n7()||tG.config({nullTargetWarn:!1}),tG.registerPlugin(n5),tG.defaults({ease:n5.create("DefaultEasing",n_.join(",")),duration:.5});let n6={translateX:"x",translateY:"y",perspective:"transformPerspective",radius:"borderRadius",layerBlur:"filter",backgroundBlur:"backdropFilter"};function n9(e,t,n){let{onStart:r,onComplete:o}=rn({onStart:t.onStart,onEnd:t.onEnd}),i=null!=(c=null!=(u=t.delay)?u:n.delay)?c:0,a=null!=(f=n6[e])?f:e;if("set"in t){let{set:e}=t,l=n4(a,e);return{target:void 0,propertyName:a,set:l,duration:0,startingPosition:i,stagger:n.stagger,immediateRender:n.immediateRender,onStart:r,onComplete:o}}let{from:l,to:s}=t;var u,c,f,d,p,g="from, to ì¤ í ê°ì§ ê°ì ìì´ì¼ í©ëë¤.";if(null==l&&null==s){if("string"==typeof g)throw Error(g);throw g}let h=n8({easing:null!=(d=t.easing)?d:n.easing,duration:null!=(p=t.duration)?p:n.duration}),m=n4(a,l),v=n4(a,s);return{target:void 0,propertyName:a,from:m,to:nw.includes(e)?v:function(e,t,n){if(null==t||"string"!=typeof n||!nb.test(n))return n;try{let r=nE[e],{ë¶í¸:o,ì«ì:i,ë¨ì:a}=nx(n,r),l=nb.test(t)?nx(t,r):ny(t,r);if(a===l.ë¨ì||""===l.ë¨ì){let e=Number("".concat(o).concat(i))-Number("".concat(l.ë¶í¸).concat(l.ì«ì));return"".concat(e<0?"-":"+","=").concat(Math.abs(e)).concat(a)}if("%"===a)return(t,r)=>{try{let t=e.endsWith("X")?tG.getProperty(r,"width","px"):tG.getProperty(r,"height","px"),n=ny(t).ì«ì,s=Number("".concat(o).concat(i))-Number("".concat(l.ë¶í¸).concat(l.ì«ì/n*100));return"".concat(s<0?"-":"+","=").concat(Math.abs(s)).concat(a)}catch(e){return console.error(e),n}};if("%"===l.ë¨ì)return(t,n)=>{let r=e.endsWith("X")?tG.getProperty(n,"width","px"):tG.getProperty(n,"height","px"),s=ny(r).ì«ì,u=Number("".concat(o).concat(i))-s*(Number("".concat(l.ë¶í¸).concat(l.ì«ì+100))+100)/100;return"".concat(u<0?"-":"+","=").concat(Math.abs(u)).concat(a)};throw Error("ëê° ì못ë¨")}catch(e){return console.error(e),n}}(e,m,v),...h,startingPosition:i,stagger:n.stagger,immediateRender:n.immediateRender,onStart:r,onComplete:o}}function re(e,t){return Object.entries(e).map(e=>{let[n,r]=e;return"animateValue"===n?Array.isArray(r)?r.map(e=>rt(e,t)):rt(r,t):"playables"in r?function(e,t,n,r){let o="parallel"===n?[...t].sort((e,t)=>{var n,r;return(null!=(n=t.delay)?n:0)-(null!=(r=e.delay)?r:0)}):t,i=0;return o.map(t=>{var o,a;let l=i+(null!=(o=r.delay)?o:0),s=n9(e,t,{...r,delay:l});return"serial"===n&&(i+=null!=(a=s.duration)?a:.5),s})}(n,r.playables,r.playback,t):Array.isArray(r)?r.map(e=>n9(n,e,t)):n9(n,r,t)}).flat()}function rt(e,t){var n,r,o,i;let a=n8({easing:null!=(n=e.easing)?n:t.easing,duration:null!=(r=e.duration)?r:t.duration}),{onStart:l,onComplete:s}=rn({onStart:e.onStart,onEnd:e.onEnd}),u=null!=(i=null!=(o=e.delay)?o:t.delay)?i:0,c="value",f={[c]:e.from,z:0};return{target:f,propertyName:c,from:e.from,to:e.to,...a,startingPosition:u,stagger:t.stagger,immediateRender:t.immediateRender,onUpdate:e.onUpdate,onUpdateParams:[f],onStart:l,onComplete:s}}function rn(e){let{onEnd:t,...n}=e;return{...n,onComplete:t}}function rr(e,t,n){let{propertyName:r,startingPosition:o,target:i,...a}=n,l=null!=i?i:t;if("set"in a){let{set:t,...n}=a;e.set(l,{[r]:t,...n},o);return}let{from:s,to:u,...c}=a;return 0===a.duration?void e.set(l,{[r]:u,...c},o):null==s?void e.to(l,{[r]:u,...c},o):null==u?void e.from(l,{[r]:s,...c,z:0},o):void e.fromTo(l,{[r]:s,immediateRender:c.immediateRender},{[r]:u,...c,z:0},o)}function ro(e){let{target:t,motion:n,defaultImmediateRender:r=!0}=e,{delay:o,easing:i,duration:a,stagger:l,immediateRender:s,onStart:u,onEnd:c,...f}=n,d=re(nM(f,t),{delay:o,easing:i,duration:a,stagger:l,immediateRender:null!=s?s:r}),p=tG.timeline(),g=rn({onStart:u,onEnd:c});
1return null!=g.onStart&&p.call(g.onStart),d.forEach(e=>rr(p,t,e)),null!=g.onComplete&&p.call(g.onComplete),p}class ri extends nX{to(e,t){let{defaultDuration:n,defaultEasing:r,defaultImmediateRender:o=!1}={...this.defaultOptions,...t},i=tG.timeline();return nT(e).forEach((e,t)=>{let a={duration:n,easing:r,...e},l=ro({target:this.target,motion:a,defaultImmediateRender:0===t&&o});i.add(l)}),this.gsapInstance=this.gsapInstance.pause().clear().add(i).play(),this}constructor({target:e,motion:t,motions:n=t,playCount:r=1,loopMode:o="alternate",loopDelay:i,delay:a,defaultDuration:l,defaultEasing:s,defaultImmediateRender:u=!1,onStart:c,onAnimationEnd:f,onEnd:d=f,onRepeat:p,onStartAfterDelay:g,onAnimationStart:h=g}){super(),this.defaultOptions={playCount:r,loopMode:o,loopDelay:i,delay:a,defaultDuration:l,defaultEasing:s,defaultImmediateRender:u};let m=tG.timeline({paused:!0,...rn({onStart:c,onEnd:d})}),v=tG.timeline({repeat:function(e){switch(e){case"infinite":case 1/0:return -1;case 1:case void 0:return;default:return e-1}}(r),yoyo:"alternate"===o,repeatDelay:i,delay:a,...rn({onStart:h,onRepeat:p})});nT(n).forEach((t,n)=>{let r=ro({target:e,motion:{duration:l,easing:s,...t},defaultImmediateRender:0===n&&u});v.add(r)}),m.add(v),this.gsapInstance=m,this.target=e}}class ra{get currentMotion(){let{animate:e=[],disableInitialFrom:t}=this.props.current.rallyComponentProps;return!this.initialExcuted&&t?nY(e):e}registerGesture(){var e;if(null==this.element||null==this.rally)return;let{disableAfterFrom:t,tap:n,hover:r,focus:o}=this.props.current.rallyComponentProps;return(e=>{let{element:t,execute:n,disableAfterFrom:r,previousMotion:o,tap:i,hover:a,focus:l}=e,s=[],u=e=>()=>{null!=e&&n(e)},c=e=>()=>{null!=e&&n(e),null!=o&&n(r?nY(o):o)};return s.push(nD.tap(t,{start:i.while||i.start?nR(u(i.while),i.start):void 0,end:i.after||i.end?nR(c(i.after),i.end):void 0,cancel:i.after||i.cancel?nR(c(i.after),i.cancel):void 0}),nD.hover(t,{start:a.while||a.start?nR(u(a.while),a.start):void 0,end:a.after||a.end?nR(c(a.after),a.end):void 0}),nD.focus(t,{start:l.while||l.start?nR(u(l.while),l.start):void 0,end:l.after||l.end?nR(c(l.after),l.end):void 0})),()=>{s.forEach(e=>e())}})({element:this.element,execute:this.rally.to.bind(this.rally),disableAfterFrom:t,previousMotion:null==(e=this.props.prev)?void 0:e.rallyComponentProps.animate,tap:n,hover:r,focus:o})}constructor(e){this.ref=e=>{this.element=e},this.initialExcuted=!1,this.element=null,this.props=new nP,this.presence=new nP,this.presenceId=m(),this.update=(e,t)=>{this.props.set(e),this.presence.set(t),null!=this.element&&(this.setupRally()||this.handleAnimateChange(),this.handleGestureChange()),this.handlePresenceChange()},this.setupRally=()=>{var e,t,n,r,o;let{rallyProps:i}=this.props.current,{animate:a,exit:l}=this.props.current.rallyComponentProps;if(np(i,null==(e=this.props.prev)?void 0:e.rallyProps)&&np(null==a,(null==(t=this.props.prev)?void 0:t.rallyComponentProps.animate)==null))return!1;null==(n=this.cleanup)||n.call(this),this.cleanup=void 0;let s=tG.context(()=>{this.rally=new ri({...i,target:this.element,motion:this.currentMotion})});return a&&(null==(r=this.rally)||r.play(),this.initialExcuted=!0),null!=this.presence.current&&null!=l&&(null==(o=this.presence.current)||o.register(this.presenceId)),this.cleanup=()=>s.revert(),!0},this.handleAnimateChange=()=>{var e,t,n;let{animate:r}=this.props.current.rallyComponentProps;np(r,null==(e=this.props.prev)?void 0:e.rallyComponentProps.animate)||(r?null==(t=this.rally)||t.to(this.currentMotion):null==(n=this.rally)||n.seek(0).pause())},this.handleGestureChange=()=>{var e,t;let{disableAfterFrom:n,tap:r,hover:o,focus:i}=this.props.current.rallyComponentProps,a=null==(e=this.props.prev)?void 0:e.rallyComponentProps;np(n,null==a?void 0:a.disableAfterFrom)&&np(r,null==a?void 0:a.tap)&&np(o,null==a?void 0:a.hover)&&np(i,null==a?void 0:a.focus)||(null==(t=this.gestureCleanup)||t.call(this),this.gestureCleanup=this.registerGesture())},this.handlePresenceChange=()=>{var e,t,n,r,o;let{presence:i,props:a}=this,l=null==(e=i.current)?void 0:e.present,s=a.current.rallyComponentProps.exit;np(l,null==(t=this.presence.prev)?void 0:t.present)&&np(s,null==(n=this.props.prev)?void 0:n.rallyComponentProps.exit)||null!=i.current&&null!=s&&(null==(r=i.current)||r.register(this.presenceId),!1===l&&(null==(o=this.rally)||o.to(s).play().then(()=>{var e,t;return null==(t=null==(e=i.current)?void 0:e.onExitComplete)?void 0:t.call(e,this.presenceId)})))};let{defaultImmediateRender:t}=e.rallyProps;if(!t)return;let{animate:n=[],disableInitialFrom:r}=e.rallyComponentProps,o=r?nY(n):n;this.initialStyle=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=new Map;
1if(e.forEach(e=>{let{duration:r,easing:o,immediateRender:i,delay:a,animateValue:l,onStart:s,onEnd:u,...c}=e;(null!=i?i:t)&&Object.entries(nM(c)).forEach(e=>{let[t,r]=e;if(n.has(t))return;if("set"in r){let e=Array.isArray(r)?r[0].set:r.set;n.set(t,e);return}if("playables"in r){let e="serial"===r.playback?r.playables[0]:[...r.playables].sort((e,t)=>{var n,r;return(null!=(n=e.delay)?n:0)-(null!=(r=t.delay)?r:0)})[0],o="set"in e?e.set:e.from;null!=o&&n.set(t,o);return}let o=Array.isArray(r)?[...r].sort((e,t)=>{var n,r;return(null!=(n=e.delay)?n:0)-(null!=(r=t.delay)?r:0)})[0]:r,i="set"in o?o.set:o.from;null!=i&&n.set(t,i)})}),0===n.size)return{};let r=new Map,o=new Map,i=[0,0,0];n.forEach((e,t)=>{var n;if(t in nI){let o=nI[t],i=null!=(n=nA(e,t))?n:e;r.set(o,i);return}if(!nj.includes(t))return void r.set(t,e);if("perspective"!==t){if(!t.startsWith("translate"))return void o.set(t,e);"translateX"===t?i[0]=e:i[1]=e}});let a=i.some(e=>0!==e)?"translate3d(".concat(i.map(e=>nA(e,"translateX")).join(", "),")"):"",l="".concat(Array.from(o.entries()).map(e=>{let[t,n]=e;return"".concat(t,"(").concat(nA(n,t),")")}).join(" ")," ").concat(a).trim();return l&&r.set("transform",l),Object.fromEntries(r)}(nT(o),t)}}function rl(e){let t=(0,f.forwardRef)((t,n)=>{let{rallyComponentProps:r,rallyProps:o,htmlProps:i}=function(e){let{variants:t,exit:n,disableFrom:r=!0,disableAfterFrom:o=r,disableInitialFrom:i=!1,animate:a,whileTap:l,whileHover:s,whileFocus:u,afterTap:c,afterHover:f,afterFocus:d,onTapStart:p,onTapEnd:g,onTapCancel:h,onHoverStart:m,onHoverEnd:v,onFocusStart:y,onFocusEnd:b,playCount:x,loopMode:w,loopDelay:E,delay:C,onStart:O,onEnd:M,onRepeat:S,onAnimationStart:k,defaultDuration:A,defaultEasing:I,defaultImmediateRender:j=!0,...T}
1=e,P=e=>"string"==typeof e?null==t?void 0:t[e]:e;return{htmlProps:T,rallyComponentProps:{animate:P(a),exit:P(n),variants:t,disableInitialFrom:i,disableAfterFrom:o,tap:{while:P(l),after:P(c),start:p,end:g,cancel:h},hover:{while:P(s),after:P(f),start:m,end:v},focus:{while:P(u),after:P(d),start:y,end:b}},rallyProps:{playCount:x,loopMode:w,loopDelay:E,delay:C,onStart:O,onEnd:M,onRepeat:S,onAnimationStart:k,defaultDuration:A,defaultEasing:I,defaultImmediateRender:j}}}(t),a=ez(r.tap),l=ez(r.hover),s=ez(r.focus),u={...r,tap:a,hover:l,focus:s},c=(0,f.useContext)(v),d=(0,f.useRef)(new ra({rallyComponentProps:u,rallyProps:o}));return(0,f.useEffect)(()=>d.current.update({rallyComponentProps:u,rallyProps:o},c)),(0,f.createElement)(e,{ref:function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(n,d.current.ref),style:{...i.style,...d.current.initialStyle},...i})});return t.displayName="rally.".concat(e),t}let rs=rl("a"),ru=rl("abbr"),rc=rl("address"),rf=rl("area"),rd=rl("article"),rp=rl("aside"),rg=rl("audio"),rh=rl("b"),rm=rl("base"),rv=rl("bdi"),ry=rl("bdo"),rb=rl("big"),rx=rl("blockquote"),rw=rl("body"),rE=rl("button"),rC=rl("canvas"),rO=rl("caption"),rM=rl("cite"),rS=rl("code"),rk=rl("col"),rA=rl("colgroup"),rI=rl("data"),rj=rl("datalist"),rT=rl("dd"),rP=rl("del"),rR=rl("details"),rD=rl("dfn"),rY=rl("dialog"),rX=rl("div"),r_=rl("dl"),rN=rl("dt"),rL=rl("em"),rF=rl("embed"),rz=rl("fieldset"),rB=rl("figcaption"),rU=rl("figure"),rH=rl("footer"),rW=rl("form"),rV=rl("h1"),rq=rl("h2"),rZ=rl("h3"),rG=rl("h4"),r$=rl("h5"),rK=rl("h6"),rJ=rl("head"),rQ=rl("header"),r0=rl("hgroup"),r1=rl("hr"),r5=rl("html"),r2=rl("i"),r7=rl("iframe"),r3=rl("img"),r8=rl("input"),r4=rl("ins"),r6=rl("kbd"),r9=rl("keygen"),oe=rl("label"),ot=rl("legend"),on=rl("li"),or=rl("link"),oo=rl("main"),oi=rl("map"),oa=rl("mark"),ol=rl("menu"),os=rl("menuitem"),ou=rl("meter"),oc=rl("nav"),of=rl("object"),od=rl("ol"),op=rl("optgroup"),og=rl("option"),oh=rl("output"),om=rl("p"),ov=rl("param"),oy=rl("picture"),ob=rl("pre"),ox=rl("progress"),ow=rl("q"),oE=rl("rp"),oC=rl("rt"),oO=rl("ruby"),oM=rl("s"),oS=rl("samp"),ok=rl("script"),oA=rl("section"),oI=rl("select"),oj=rl("small"),oT=rl("source"),oP=rl("span"),oR=rl("strong"),oD=rl("style"),oY=rl("sub"),oX=rl("summary"),o_=rl("sup"),oN=rl("table"),oL=rl("tbody"),oF=rl("td"),oz=rl("textarea"),oB=rl("tfoot"),oU=rl("th"),oH=rl("thead"),oW=rl("time"),oV=rl("title"),oq=rl("tr"),oZ=rl("track"),oG=rl("u"),o$=rl("ul"),oK=rl("video"),oJ=rl("wbr"),oQ=rl("webview"),o0=rl("animate"),o1=rl("circle"),o5=rl("defs"),o2=rl("desc"),o7=rl("ellipse"),o3=rl("g"),o8=rl("image"),o4=rl("line"),o6=rl("filter"),o9=rl("marker"),ie=rl("mask"),it=rl("metadata"),ir=rl("path"),io=rl("pattern"),ii=rl("polygon"),ia=rl("polyline"),il=rl("rect"),is=rl("stop"),iu=rl("svg"),ic=rl("symbol"),id=rl("text"),ip=rl("tspan"),ig=rl("use"),ih=rl("view"),im=rl("clipPath"),iv=rl("feBlend"),iy=rl("feColorMatrix"),ib=rl("feComponentTransfer"),ix=rl("feComposite"),iw=rl("feConvolveMatrix"),iE=rl("feDiffuseLighting"),iC=rl("feDisplacementMap"),iO=rl("feDistantLight"),iM=rl("feDropShadow"),iS=rl("feFlood"),ik=rl("feFuncA"),iA=rl("feFuncB"),iI=rl("feFuncG"),ij=rl("feFuncR"),iT=rl("feGaussianBlur"),iP=rl("feImage"),iR=rl("feMerge"),iD=rl("feMergeNode"),iY=rl("feMorphology"),iX=rl("feOffset"),i_=rl("fePointLight"),iN=rl("feSpecularLighting"),iL=rl("feSpotLight"),iF=rl("feTile"),iz=rl("feTurbulence"),iB=rl("foreignObject"),iU=rl("linearGradient"),iH=rl("radialGradient"),iW=rl("textPath"),iV=Object.assign({},s,{...l});function iq(){let[e,t]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{t(!0)},[]),e}var iZ=n(34508),iG=n(47104),i$=n(77389);class iK extends Error{static isContextError(e){return e.name===iK.ErrorName}constructor(e){super(e),this.name=iK.ErrorName}}iK.ErrorName="InvalidContextUsage";let[iJ,iQ]=function(e,t){let n=(0,f.createContext)(void 0);function r(e){let{children:t,...r}=e,o=(0,f.useMemo)(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:o,children:t})}return r.displayName=`${e}Provider`,[r,function(t){let r=(0,f.useContext)(n);if(null==r)throw new iK(`${t}ì ${e}íììì ì¬ì©í´ì¼ í©ëë¤.`);return r}]}("WikiText");function i0(){return iQ("WikiText")}let i1="--overlay-background-color",i5="--overlay-word-color",i2="--overlay-box-background-color";function i7(e){let{position:t}=e,{colorScheme:n}=i0(),r=i8[n][t],o=i4.wrapper[t],i=i4.gradient[t];return(0,u.jsx)("div",{style:o,children:(0,u.jsx)("div",{style:{...i,background:r}})})}let i3=e=>{let{gradientPosition:t}=e;switch(t){case"top":return(0,u.jsx)(i7,{position:"top"});case"bottom":return(0,u.jsx)(i7,{position:"bottom"});case"both":return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i7,{position:"top"}),(0,u.jsx)(i7,{position:"bottom"})]})}},i8={light:{top:"linear-gradient(0deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)",bottom:"linear-gradient(180deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"},dark:{top:"linear-gradient(0deg, rgba(23,23,28,0) 0%,rgba(23,23,28,1) 100%)",bottom:"linear-gradient(180deg, rgba(23,23,28,0) 0%,rgba(23,23,28,1) 100%)"}},i4={wrapper:{top:{position:"fixed",bottom:"100%",left:0,right:0,pointerEvents:"none"},bottom:{position:"fixed",top:"100%",left:0,right:0,pointerEvents:"none"}},gradient:{top:{width:"100%",height:"40px",position:"absolute",top:15,left
1:0},bottom:{width:"100%",height:"80px",position:"absolute",bottom:0,left:0}}};function i6(e){let{description:t,style:n}=e,[r,o]=(0,f.useState)("bottom"),i=(()=>{let e=(0,f.useRef)(null),t=(0,f.useRef)(null);return(0,f.useEffect)(()=>(t.current=document.activeElement,e.current&&e.current.focus(),()=>{t.current&&"focus"in t.current&&t.current.focus()}),[]),e})(),a=i.current&&i.current.scrollHeight>i.current.clientHeight;return(0,u.jsx)("div",{ref:i,tabIndex:0,style:{...i9,...n},onScroll:e=>{let{scrollTop:t,clientHeight:n,scrollHeight:r}=e.currentTarget;if(!(r>n))return;let i=t>=5,a=t+n+5<r;!i&&a?o("bottom"):i&&!a?o("top"):i&&a&&o("both")},children:(0,u.jsxs)("div",{style:ae,children:[t,a&&(0,u.jsx)(i3,{gradientPosition:r})]})})}let i9={width:"100%",overflowY:"auto",overflowX:"hidden",boxSizing:"content-box",position:"relative",outline:"none"},ae={height:"100%"},at={containerEnter:{opacity:{from:0,to:1},easing:c.oz.medium},containerExit:{opacity:{to:0,easing:c.oz.quick}},wordHighlightEnter:{opacity:{to:.3,delay:.57},translateX:{to:0},easing:c.oz.quick,delay:.57},boxEnter:{opacity:{from:0,to:1,easing:c.oz.basic},scale:{from:.9,to:1,easing:c.oz.large}},boxExit:{opacity:{to:0,easing:c.oz.basic},scale:{to:.9,easing:c.oz.large}},hidden:{opacity:{set:0}}};function an(e){let{wordClientRects:t,word:n,description:r,isScreenWide:o}=e,{textStyle:i}=i0(),a=iq(),{wordPositionStyle:l,wordStartOffsetStyle:s,boxPositionStyle:c,descriptionWrapperStyle:d}=function(e){let{wordClientRects:t,isScreenWide:n}=e,{wordPositionStyle:r,wordStartOffsetStyle:o,boxPositionStyle:i,descriptionWrapperStyle:a}=(0,f.useMemo)(()=>{var e,r;if("undefined"==typeof window)return{wordPositionStyle:{},wordStartOffsetStyle:{},boxPositionStyle:{},descriptionWrapperStyle:{}};let o=Array.from(t),i=o[0],a=o[o.length-1],l=a.left+a.width/2,s={top:i.top,left:Math.min(...o.map(e=>e.left)),bottom:a.bottom,right:Math.max(...o.map(e=>e.right)),width:0,height:0};s.width=s.right-s.left,s.height=s.bottom-s.top;let u=window.innerHeight-a.bottom<=3*a.height+6+.05*window.innerHeight+32,c=Math.max(0,s.left),f=c+364>window.innerWidth,d=u?void 0:s.top+6+s.height,p=u?window.innerHeight-i.top+6:void 0,g=.05*window.innerHeight,h=window.innerHeight-((null!=(e=null!=d?d:p)?e:0)+g)-32-46*!!u;return{wordPositionStyle:{top:s.top,left:s.left,width:Math.ceil(s.width),height:s.height},wordStartOffsetStyle:{width:i.left-s.left},boxPositionStyle:{top:d,bottom:p,left:n&&!f?c:void 0,right:0,transformOrigin:(r=l,!0===n||r<window.innerWidth/3?"25% 50%":r>2*window.innerWidth/3?"75% 50%":"50% 50%")},descriptionWrapperStyle:{maxHeight:h}}},[n,t]);return{wordPositionStyle:r,wordStartOffsetStyle:o,boxPositionStyle:i,descriptionWrapperStyle:a}}({wordClientRects:t,isScreenWide:o}),p=s.width||0;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(iV.div,{role:"dialog",animate:a?at.containerEnter:at.hidden,exit:at.containerExit,style:{...ao,...l},"aria-hidden":!0,children:(0,u.jsxs)("div",{style:{...ar,...i},children:[p>0&&(0,u.jsx)("span",{style:{...s,width:p}}),n]})}),(0,u.jsx)(iV.div,{style:{...o?aa:al,...c,width:o?364:void 0},animate:a?at.boxEnter:at.hidden,exit:at.boxExit,children:(0,u.jsx)(i6,{style:d,description:r})})]})}let ar={lineHeight:1.5},ao={overflow:"hidden",color:(0,iG.s)(i5),transformOrigin:"50% 100%",position:"fixed",zIndex:iZ.Lw,maxWidth:"100%",display:"flex",alignItems:"center"},ai={overflow:"hidden",width:"calc(100% - 44px)",padding:"".concat(16,"px 20px"),borderRadius:"24px",backgroundColor:(0,iG.s)(i2),whiteSpace:"pre-wrap",boxShadow:"".concat(iZ.Tj.greyOpacity200," 0px 2px 30px 0px")},aa={...ai,zIndex:iZ.Lw,position:"fixed",marginLeft:"-20px"},al={...ai,zIndex:iZ.Lw,position:"fixed",margin:"0px 22px 0px 22px"},as=(0,f.forwardRef)(function(e,t){let{open:n,onClose:r,...o}=e,{colorScheme:i}=i0(),a=iq(),l=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,f.useRef)(null),n=(0,f.useRef)(new Map);return(0,f.useEffect)(()=>{if(!e||!t.current||"undefined"==typeof window)return;let n=t.current,r=e=>{if("Tab"!==e.key)return;let t=Array.from(n.querySelectorAll('button:not([disabled]):not([aria-disabled="true"]),a[href]:not([disabled]):not([aria-disabled="true"]),input:not([disabled]):not([aria-disabled="true"]),select:not([disabled]):not([aria-disabled="true"]),textarea:not([disabled]):not([aria-disabled="true"]),[tabindex]:not
1([tabindex="-1"]):not([disabled]):not([aria-disabled="true"]),[contenteditable="true"]:not([disabled]):not([aria-disabled="true"])')).filter(e=>{let t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&!e.hasAttribute("disabled")&&"true"!==e.getAttribute("aria-disabled")&&-1!==e.tabIndex});if(0===t.length)return;let r=t[0],o=t[t.length-1],i=document.activeElement;e.shiftKey?i!==r&&n.contains(i)||(e.preventDefault(),requestAnimationFrame(()=>{o.focus()})):i!==o&&n.contains(i)||(e.preventDefault(),requestAnimationFrame(()=>{r.focus()}))};return n.addEventListener("keydown",r,!0),()=>{n.removeEventListener("keydown",r,!0)}},[e]),(0,f.useEffect)(()=>{if(!e||!t.current)return;let r=t.current,o=e=>{let t=e.parentElement;if(!t||t===document.body){t===document.body&&Array.from(t.children).forEach(t=>{t!==e&&i(t)});return}Array.from(t.children).forEach(t=>{t!==e&&i(t)}),o(t)},i=e=>{let t=e.getAttribute("aria-hidden");n.current.set(e,t),e.setAttribute("aria-hidden","true")};return o(r),()=>{n.current.forEach((e,t)=>{null===e?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden",e)}),n.current.clear()}},[e]),t}(n),s=window.innerWidth>480,d={...au[i]};return((0,f.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"===e.key&&r()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[n,r]),a)?(0,u.jsx)(i$.A,{enabled:n,children:(0,u.jsx)(x,{children:n?(0,u.jsxs)("div",{ref:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}}(t,l),style:d,children:[(0,u.jsx)(iV.div,{role:"button",animate:{opacity:{to:.8},easing:c.oz.basic},exit:{opacity:{to:0},easing:c.oz.basic},style:af,onClick:r}),(0,u.jsx)(an,{...o,isScreenWide:s}),(0,u.jsx)("button",{style:ac,"aria-label":"ì¶ê° ì ë³´ ìì ë«ê¸°",onClick:r})]}):null})}):null}),au={light:{[i1]:iZ.Tj.lightThemeGrey100,[i5]:iZ.Tj.lightThemeGrey800,[i2]:iZ.Tj.lightThemeBackgroun
1dDefault},dark:{[i1]:iZ.Tj.darkThemeGrey100,[i5]:iZ.Tj.darkThemeGrey800,[i2]:iZ.Tj.darkThemeBackgroundDefault}},ac={position:"absolute",top:0,left:0,opacity:0,width:1,height:1},af={top:0,left:0,right:0,bottom:0,border:"none",outline:"none",zIndex:iZ.Lw,backgroundColor:(0,iG.s)(i1),position:"fixed",opacity:0};var ad=n(35162).Buffer;function ap(e,t,n,r=new Map,o){let i=o?.(e,t,n,r);if(void 0!==i)return i;if(null==e||"object"!=typeof e&&"function"!=typeof e)return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=ap(e[i],i,n,r,o);return Object.hasOwn(e,"index")&&(t.index=e.index),Object.hasOwn(e,"input")&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;for(let[i,a]of(r.set(e,t),e))t.set(i,ap(a,i,n,r,o));return t}if(e instanceof Set){let t=new Set;for(let i of(r.set(e,t),e))t.add(ap(i,void 0,n,r,o));return t}if(void 0!==ad&&ad.isBuffer(e))return e.subarray();if(ArrayBuffer.isView(e)&&!(e instanceof DataView)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=ap(e[i],i,n,r,o);return t}if(e instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),ag(t,e,n,r,o),t}if("undefined"!=typeof File&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),ag(t,e,n,r,o),t}if(e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),ag(t,e,n,r,o),t}if(e instanceof Error){let t=new e.constructor;return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,ag(t,e,n,r,o),t}if("object"==typeof e&&function(e){switch(tJ(e)){case t2:case t6:case t9:case nt:case t5:case t3:case nu:case nc:case na:case nl:case ns:case t8:case t1:case ne:case tQ:case t4:case t0:case t7:case nn:case nr:case no:case ni:return!0;default:return!1}}(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),ag(t,e,n,r,o),t}return e}function ag(e,t,n=e,r,o){let i=[...Object.keys(t),...tK(t)];for(let a=0;a<i.length;a++){let l=i[a],s=Object.getOwnPropertyDescriptor(e,l);(null==s||s.writable)&&(e[l]=ap(t[l],l,n,r,o))}}tG.registerPlugin(n5),tG.registerPlugin(tZ),tG.defaults({lazy:!1});let ah=[.46,.03,.52,.96];n5.create("inout",ah.join(","));let am=(0,c.DK)(c.oz.basic),av={slide:{char:{splitUnit:"char",inMotion:{opacity:{from:0,to:1},translateY:{from:"20%"},delay:.1,easing:c.oz.slow},outMotion:{opacity:{to:0,easing:c.a7.out,duration:.4},translateY:{to:"-20%"},easing:c.oz.basic},inStaggerDelay:.04,outStaggerDelay:0},line:{splitUnit:"line",inMotion:{opacity:{from:0,to:1},translateY:{from:"30%"},delay:.1,easing:c.oz.slow},outMotion:{opacity:{to:0,easing:c.a7.out,duration:.3},translateY:{to:"-30%"},easing:c.oz.small},inStaggerDelay:.1,outStaggerDelay:0}},slideFast:{char:{splitUnit:"char",inMotion:{opacity:{from:0,to:1},translateY:{from:"20%"},delay:.1,easing:c.oz.basic},outMotion:{opacity:{to:0,easing:c.a7.out,duration:.4},translateY:{to:"-20%"},easing:c.oz.basic},inStaggerDelay:.04,outStaggerDelay:0},line:{splitUnit:"line",inMotion:{opacity:{from:0,to:1},translateY:{from:"30%"},delay:.1,easing:c.oz.basic},outMotion:{opacity:{to:0,easing:c.a7.out,duration:.3},translateY:{to:"-30%"},easing:c.oz.small},inStaggerDelay:.1,outStaggerDelay:0}},roll:{char:{splitUnit:"char",inMotion:{opacity:{from:0,to:1},translateY:{from:"100%"},scale:{from:.9},transformOriginY:{from:"50%",to:"0%"},rotateX:{from:-90},delay:.02,easing:c.oz.basic},outMotion:{opacity:{to:0,easing:c.a7.out,duration:.25},translateY:{to:"-45%"},scale:{to:.9},transformOriginY:{to:"50%"},rotateX:{to:80},easing:c.oz.basic},inStaggerDelay:.03,outStaggerDelay:.02},line:{splitUnit:"line",inMotion:{opacity:{from:0,to:1},translateY:{from:"100%"},scale:{from:.9},transformOriginY:{from:"50%",to:"0%"},rotateX:{from:-90},delay:.03,easing:c.oz.basic},outMotion:{opacity:{to:0,easing:c.a7.out,duration:.25},translateY:{to:"-45%"},scale:{to:.9},transformOriginY:{to:"50%"},rotateX:{to:80},easing:c.oz.basic},inStaggerDelay:.1,outStaggerDelay:0}},snap:{word:{splitUnit:"word",inMotion:{opacity:{from:0,to:1},transformOriginX:{from:"100%",to:"100%"},transformOriginY:{from:"0%",to:"0%"},rotateX:{from:100},delay:.3,easing:c.a7.expo,duration:1.2},outMotion:{opacity:{to:0,duration:.3},transformOriginX:{to:"100%"},transformOriginY:{from:"100%",to:"100%"},rotateX:{to:-100},easing:c.a7.out,duration:.8},inStaggerDelay:.1,outStaggerDelay:.06}},fadeInfinite:{char:{splitUnit:"char",infiniteMotion:{opacity:{from:1,to:.4},easing:ah,duration:1.2,stagger:{repeat:-1,yoyoEase:"inout"}},infiniteStaggerDelay:.1,outMotion:{opacity:{to:0},easing:c.oz.small}}},waveInfinite:{char:{splitUnit:"char",infiniteMotion:{translateY:{from:"-8%"},duration:.4,easing:ah,stagger:{repeat:-1,yoyoEase:"inout"}},infiniteStaggerDelay:.08,outMotion:{opacity:{to:0},easing:c.oz.small}}},colorInfinite:{char:{splitUnit:"char",infiniteMotion:{easing:ah,duration:1.2,stagger:{repeat:-1,yoyoEase:"inout"}},infiniteStaggerDelay:.08,outMotion:{opacity:{to:0},easing:c.oz.small}}},slideX:{char:{splitUnit:"char",inMotion:{opacity:{from:0,to:1},translateX:{from:"150%",to:"0%"},delay:.04,easing:c.oz.basic},inStaggerDelay:.03,outMotion:{opacity:{to:0,easing:c.a7.out,duration:.25},transformOriginX:{to:"-100%"},easing:c.oz.basic},outStaggerDelay:.02},line:{splitUnit:"line",inMotion:{opacity:{from:0,to:1},translateX:{from:"25%",to:"0%"},delay:.04,easing:c.oz.basic},inStaggerDelay:.06,outMotion:{opacity:{to:0,easing:c.a7.out,duration:.25},transformOriginX:{to:"-25%"},easing:c.oz.basic},outStaggerDelay:.02}},rollBounce:{char:{splitUnit:"char",inMotion:{opacity:{from:0,to:1},translateY:{from:"120%",to:"0%"},transformOriginX:{from:"0%",to:"50%"},transformOriginY:{from:"10%",to:"50%"},rotateX:{from:90,to:0},scale:{from:1,to:1},delay:.02,easing:c.a7.back,duration:.55},inStaggerDelay:.02,outMotion:{opacity:{to:0,easing:c.a7.out,duration:.15},translateY:{to:"-75%"},transformOriginX:{to:"50%"},transformOriginY:{to:"50%"},rotateX:{to:80},scale:{from:1,to:.9},easing:c.oz.basic},outStaggerDelay:0},line:{splitUnit:"line",inMotion:{opacity:{from:0,to:1},translateY:{from:"200%",to:"0%"},transformOriginX:{from:"0%",to:"50%"},transformOriginY:{from:"10%",to:"50%"},rotateX:{from:90,to:0},scale:{from:1,to:1},delay:.02,easing:c.a7.back,duration:.55},inStaggerDelay:.12,outMotion:{opacity:{to:0,easing:c.a7.out,duration:.25},translateY:{to:"-75%"},transformOriginX:{to:"50%"},transformOriginY:{to:"50%"},rotateX:{to:80},scale:{from:1,to:.9},easing:c.oz.basic},outStaggerDelay:0}},fade:{line:{splitUnit:"line",inMotion:{opacity:{from:0,to:1},delay:.2,easing:c.oz.slow},inStaggerDelay:0,outMotion:{opacity:{to:0},easing:c.oz.small},outStaggerDelay:0}},rotate:{char:{splitUnit:"char",inMotion:{opacity:{from:0,to:1},rotate:{from:15,to:0},transformOriginX:{from:"0%",to:"0%"},transformOriginY:{from:"100%",to:"100%"},delay:.1,easing:c.a7.back,duration:.55},inStaggerDelay:.03,outMotion:{opacity:{to:0},easing:c.a7.out,duration:.2},outStaggerDelay:0}},blur:{char:{splitUnit:"char",inMotion:{layerBlur:{from:ev.medium,to:ev.none,duration:1,easing:c.a7.out},opacity:{from:0,to:1,easing:c.a7.out},scale:{from:.5,to:1,duration:1,easing:c.a7.out},duration:2.2},inStaggerDelay:.05,outMotion:{layerBlur:{to:ev.medium},opacity:{to:0,duration:.4},scale:{to:.5},duration:.8,easing:c.a7.out},outStaggerDelay:0}},blurZoom:{char:{splitUnit:"char",inMotion:{layerBlur:{from:ev.medium,to:ev.none,duration:1,easing:c.a7.out},opacity:{from:0,to:1,easing:c.a7.out},scale:{from:3,to:1,duration:1,easing:c.a7.out},duration:2.2},inStaggerDelay:.05,outMotion:{layerBlur:{to:ev.medium},opacity:{to:0,duration:.4},scale:{to:.5},duration:.8,easing:c.a7.out},outStaggerDelay:0}},blurSlide:{line:{splitUnit:"line",inMotion:{layerBlur:{from:ev.medium,to:ev.none,duration:1},opacity:{from:0,to:1},translateY:{from:"150%",to:"0%",duration:1.25,easing:c.a7.expo,delay:.3},easing:c.a7.out,duration:2.2},inStaggerDelay:.18,outMotion:{layerBlur:{to:ev.medium},opacity:{to:0,duration:.4},translateY:{to:"-50%"},duration:.8,easing:c.a7.out},outStaggerDelay:0}}},ay={slide:{char:function(e){let t=av.slide.char;return null==e?t:{...t,...e}},line:function(e){let t=av.slide.line;return null==e?t:{...t,...e}}},slideFast:{char:function(e){let t=av.slideFast.char;return null==e?t:{...t,...e}},line:function(e){let t=av.slideFast.line;return null==e?t:{...t,...e}}},roll:{char:function(e){let t=av.roll.char;return null==e?t:{...t,...e}},line:function(e){let t=av.roll.line;return null==e?t:{...t,...e}}},snap:{word:function(e){let t=av.snap.word;return null==e?t:{...t,...e}}},fadeInfinite:{char:function(e){let t=av.fadeInfinite.char;return null==e?t:{...t,...e}}},waveInfinite:{char:function(e){let t=av.waveInfinite.char;return null==e?t:{...t,...e}}},colorInfinite:{char:function(e){var t,n;let{endColor:r,...o}=e;return{...(t=av.colorInfinite.char,n={infiniteMotion:{color:{to:r}}},function e(t,n){let r=Object.keys(n);for(let o=0;o<r.length;o++){let i=r[o];if("__proto__"===i)continue;let a=n[i],l=t[i];Array.isArray(a)?Array.isArray(l)?t[i]=e(l,a):t[i]=e([],a):t$(a)?t$(l)?t[i]=e(l,a):t[i]=e({},a):(void 0===l||void 0!==a)&&(t[i]=a)}return t}(ap(t,void 0,t,new Map,void 0),n)),...o}}},slideX:{char:function(e){let t=av.slideX.char;return null==e?t:{...t,...e}},line:function(e){let t=av.slideX.line;return null==e?t:{...t,...e}}},rollBounce:{char:function(e){let t=av.rollBounce.char;return null==e?t:{...t,...e}},line:function(e){let t=av.rollBounce.line;return null==e?t:{...t,...e}}},fade:{line:function(e){let t=av.fade.line;return null==e?t:{...t,...e}}},rotate:{char:function(e){let t=av.rotate.char;return null==e?t:{...t,...e}}},blur:{char:function(e){let t=av.blur.char;return null==e?t:{...t,...e}}},blurZoom:{char:function(e){let t=av.blurZoom.char;return null==e?t:{...t,...e}}},blurSlide:{line:function(e){let t=av.blurSlide.line;return null==e?t:{...t,...e}}}};function ab(e){let{target:t,motion:n,...r}=e,{delay:o,easing:i,duration:a,immediateRender:l,stagger:s,...u}=n,c=re(u,{delay:o,easing:i,duration:a,stagger:s,immediateRender:l}),f=tG.timeline({...r});
1return c.forEach(e=>rr(f,t,e)),f}function ax(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}}var aw=n(51989);let aE={topLeft:{display:"flex",justifyContent:"start",alignItems:"start"},topCenter:{display:"flex",justifyContent:"center",alignItems:"start"},center:{display:"flex",justifyContent:"center",alignItems:"center"},centerRight:{display:"flex",justifyContent:"end",alignItems:"center"}};function aC(e){return Array.isArray(e)?e:[e]}let aO={move:function(e){let{target:t,motion:n,staggerDelay:r=0,...o}=e,i=tG.timeline({});if(Array.isArray(t))for(let e of t)aC(n).forEach((t,n)=>{let a=ab({target:e,motion:null!=t?t:{},...o});0===n?i.add(a,"<".concat(r)):i.add(a)});else aC(n).forEach((e,n)=>{let a=ab({target:t,motion:null!=e?e:{},...o});0===n?i.add(a,"<".concat(r)):i.add(a)});return i}},aM,aS,ak,aA=function(){try{return"undefined"!=typeof Intl&&"function"==typeof Intl.Segmenter?new Intl.Segmenter:0}catch(e){return 0}}(),aI=e=>"string"==typeof e?aI(document.querySelectorAll(e)):"length"in e?Array.from(e):[e],aj=e=>aI(e).filter(e=>e instanceof HTMLElement),aT=[],aP=function(){},aR=/\s+/g,aD=function(){try{return RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu")}catch(e){return/./g}}(),aY={left:0,top:0,width:0,height:0},aX=(e,t)=>{if(t){let n=new Set(e.join("").match(t)||aT),r=e.length,o,i,a,l;if(n.size){for(;--r>-1;)for(a of(i=e[r],n))if(a.startsWith(i)&&a.length>i.length){for(o=0,l=i;a.startsWith(l+=e[r+ ++o])&&l.length<a.length;);if(o&&l.length===a.length){e[r]=a,e.splice(r+1,o);break}}}}return e},a_=e=>"inline"===window.getComputedStyle(e).display&&(e.style.display="inline-block"),aN=(e,t,n)=>t.insertBefore("string"==typeof e?document.createTextNode(e):e,n),aL=(e,t,n)=>{let r=t[e+"sClass"]||"",{tag:o="div",aria:i="auto",propIndex:a=!1}=t,l="line"===e?"block":"inline-block",s=r.indexOf("++")>-1,u=t=>{let u=document.createElement(o),c=n.length+1;return r&&(u.className=r+(s?" "+r+c:"")),a&&u.style.setProperty("--"+e,c+""),"none"!==i&&u.setAttribute("aria-hidden","true"),"span"!==o&&(u.style.position="relative",u.style.display=l),u.textContent=t,n.push(u),u};return s&&(r=r.replace("++","")),u.collection=n,u},aF=(e,t,n,r,o,i,a,l,s,u)=>{var c;let f=Array.from(e.childNodes),d=0,{wordDelimiter:p,reduceWhiteSpace:g=!0,prepareText:h}=t,m=e.getBoundingClientRect(),v=m,y=!g&&"pre"===window.getComputedStyle(e).whiteSpace.substring(0,3),b=0,x=n.collection,w,E,C,O,M,S,k,A,I,j,T,P,R,D,Y,X,_,N;for("object"==typeof p?(C=p.delimiter||p,E=p.replaceWith||""):E=""===p?"":p||" ",w=" "!==E;d<f.length;d++)if(3===(O=f[d]).nodeType){for(Y=O.textContent||"",g?Y=Y.replace(aR," "):y&&(Y=Y.replace(/\n/g,E+"\n")),h&&(Y=h(Y,e)),O.textContent=Y,_=(M=E||C?Y.split(C||E):Y.match(l)||aT)[M.length-1],A=w?" "===_.slice(-1):!_,_||M.pop(),v=m,(k=w?" "===M[0].charAt(0):!M[0])&&aN(" ",e,O),M[0]||M.shift(),aX(M,s),i&&u||(O.textContent=""),I=1;I<=M.length;I++)if(X=M[I-1],!g&&y&&"\n"===X.charAt(0)&&(null==(c=O.previousSibling)||c.remove(),aN(document.createElement("br"),e,O),X=X.slice(1)),g||""!==X)if(" "===X)e.insertBefore(document.createTextNode(" "),O);else{if(w&&" "===X.charAt(0)&&aN(" ",e,O),b&&1===I&&!k&&x.indexOf(b.parentNode)>-1?(S=x[x.length-1]).appendChild(document.createTextNode(r?"":X)):(aN(S=n(r?"":X),e,O),b&&1===I&&!k&&S.insertBefore(b,S.firstChild)),r)for(N=0,T=aA?aX([...aA.segment(X)].map(e=>e.segment),s):X.match(l)||aT;N<T.length;N++)S.appendChild(" "===T[N]?document.createTextNode(" "):r(T[N]));if(i&&u){if(Y=O.textContent=Y.substring(X.length+1,Y.length),(j=S.getBoundingClientRect()).top>v.top&&j.left<=v.left){for(P=e.cloneNode(),R=e.childNodes[0];R&&R!==S;)D=R,R=R.nextSibling,P.appendChild(D);e.parentNode.insertBefore(P,e),o&&a_(P)}v=j}(I<M.length||A)&&aN(I>=M.length?" ":w&&" "===X.slice(-1)?" "+E:E,e,O)}else aN(E,e,O);e.removeChild(O),b=0}else 1===O.nodeType&&(a&&a.indexOf(O)>-1?(x.indexOf(O.previousSibling)>-1&&x[x.length-1].appendChild(O),b=O):(aF(O,t,n,r,o,i,a,l,s,!0),b=0),o&&a_(O))},az=class e{constructor(e,t){this.isSplit=!1,ak||aB.register(window.gsap),this.elements=aj(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let n=[],r,o=()=>{let e=n.length,t;for(;e--;){let r=(t=n[e]).element.offsetWidth;if(r!==t.width){t.width=r,this._split();return}}};this._data={orig:n,obs:"undefined"!=typeof ResizeObserver&&new ResizeObserver(()=>{clearTimeout(r),r=setTimeout(o,200)})},aP(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:n="auto",deepSlice:r=!0,smartWrap:o,onSplit:i,autoSplit:a=!1,specialChars:l,mask:s}=this.vars,u=t.indexOf("lines")>
1-1,c=t.indexOf("chars")>-1,f=t.indexOf("words")>-1,d=c&&!f&&!u,p=l&&("push"in l?RegExp("(?:"+l.join("|")+")","gu"):l),g=p?RegExp(p.source+"|"+aD.source,"gu"):aD,h=!!e.ignore&&aj(e.ignore),{orig:m,animTime:v,obs:y}=this._data,b;return(c||f||u)&&(this.elements.forEach((t,i)=>{m[i]={element:t,html:t.innerHTML,ariaL:t.getAttribute("aria-label"),ariaH:t.getAttribute("aria-hidden")},"auto"===n?t.setAttribute("aria-label",(t.textContent||"").trim()):"hidden"===n&&t.setAttribute("aria-hidden","true");let a=[],l=[],s=[],v=c?aL("char",e,a):null,y=aL("word",e,l),b,x,w,E;if(aF(t,e,y,v,d,r&&(u||d),h,g,p,!1),u){let n,r,o=aI(t.childNodes),i=(n=aL("line",e,s),r=window.getComputedStyle(t).textAlign||"left",(e,i)=>{let a=n("");for(a.style.textAlign=r,t.insertBefore(a,o[e]);e<i;e++)a.appendChild(o[e]);a.normalize()}),a,l=[],u=0,c=o.map(e=>1===e.nodeType?e.getBoundingClientRect():aY),f=aY;for(b=0;b<o.length;b++)1===(a=o[b]).nodeType&&("BR"===a.nodeName?(l.push(a),i(u,b+1),f=c[u=b+1]):(b&&c[b].top>f.top&&c[b].left<=f.left&&(i(u,b),u=b),f=c[b]));u<b&&i(u,b),l.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})}if(!f){for(b=0;b<l.length;b++)if(x=l[b],c||!x.nextSibling||3!==x.nextSibling.nodeType)if(o&&!u){for((w=document.createElement("span")).style.whiteSpace="nowrap";x.firstChild;)w.appendChild(x.firstChild);x.replaceWith(w)}else x.replaceWith(...x.childNodes);else(E=x.nextSibling)&&3===E.nodeType&&(E.textContent=(x.textContent||"")+(E.textContent||""),x.remove());l.length=0,t.normalize()}this.lines.push(...s),this.words.push(...l),this.chars.push(...a)}),s&&this[s]&&this.masks.push(...this[s].map(e=>{let t=e.cloneNode();return e.replaceWith(t),t.appendChild(e),e.className&&(t.className=e.className.replace(/(\b\w+\b)/g,"$1-mask")),t.style.overflow="clip",t}))),this.isSplit=!0,aS&&(a?aS.addEventListener("loadingdone",this._split):"loading"===aS.status&&console.warn("SplitText c
1alled before fonts loaded")),(b=i&&i(this))&&b.totalTime&&(this._data.anim=v?b.totalTime(v):b),u&&a&&this.elements.forEach((e,t)=>{m[t].width=e.offsetWidth,y&&y.observe(e)}),this}revert(){var e,t;let{orig:n,anim:r,obs:o}=this._data;return o&&o.disconnect(),n.forEach(({element:e,html:t,ariaL:n,ariaH:r})=>{e.innerHTML=t,n?e.setAttribute("aria-label",n):e.removeAttribute("aria-label"),r?e.setAttribute("aria-hidden",r):e.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=n.length=this.masks.length=0,this.isSplit=!1,null==aS||aS.removeEventListener("loadingdone",this._split),r&&(this._data.animTime=r.totalTime(),r.revert()),null==(t=(e=this.vars).onRevert)||t.call(e,this),this}static create(t,n){return new e(t,n)}static register(e){(aM=aM||e||window.gsap)&&(aI=aM.utils.toArray,aP=aM.core.context||aP),!ak&&window.innerWidth>0&&(aS=document.fonts,ak=!0)}};az.version="3.13.0";let aB=az,aU=(()=>{let e=[];try{e.push({name:"Thai",regex:RegExp("\\p{Script=Thai}","u"),locale:"th"})}catch(t){e.push({name:"Thai",regex:/[\u0E00-\u0E7F]/u,locale:"th"})}try{e.push({name:"Lao",regex:RegExp("\\p{Script=Lao}","u"),locale:"lo"})}catch(t){e.push({name:"Lao",regex:/[\u0E80-\u0EFF]/u,locale:"lo"})}return e})(),aH={linesClass:"line++",wordsClass:"word++",charsClass:"char++"},aW=(0,f.forwardRef)(function(e,t){let{initialDelay:n,motion:r,style:o,skipIntroMotion:i,alignment:a="topLeft",onStart:l,onEnd:s,children:d,...p}=e,h=(0,aw.I)(),m=(0,f.useMemo)(()=>{let e="string"==typeof d?d:aq(d);return!!(!aK()||aZ(e)||aG(e)&&"word"===r.splitUnit)},[d,r.splitUnit]),v=(0,f.useMemo)(()=>{if(h)return ay.fade.line();let e="string"==typeof d?d:aq(d);return!aK()||aZ(e)||aG(e)&&"word"===r.splitUnit?ay.fade.line():r},[h,d,r]),y=(0,f.useRef)(null),b=(0,f.useRef)(null),x=(0,f.useMemo)(()=>tG.utils.selector(y),[]),w=(0,f.useMemo)(()=>tG.context(()=>{},y),[y]),{timeline:E,addToNewTimeline:C}=function(e){let{onStart:t,onEnd:n}=e,[r,o]=(0,f.useState)(()=>tG.timeline({onStart:t,onEnd:n})),i=(0,f.useCallback)(()=>{let e=tG.timeline({onStart:t,onComplete:n});return o(t=>(null==t||t.kill(),e)),e},[]);return{timeline:r,addToNewTimeline:(0,f.useCallback)(e=>i().add(e),[i]),createNewTimeline:i}}({onStart:l,onEnd:s});(0,g.Es)(()=>{if(null!=b.current&&!m){let{revert:e}=function(e){let t=function e(t){var n;if(null===t)return null;let r="";if("string"==typeof t)r=t;else if(t instanceof Element)r=null!=(n=t.textContent)?n:"";else if(t instanceof Window)return null;else if(Array.isArray(t)||"length"in t){for(let n of Array.from(t)){let t=e(n);if(t)return t}return null}for(let e of aU)if(e.regex.test(r))return{name:e.name,locale:e.locale};return null}(e),n="undefined"!=typeof Intl&&"Segmenter"in Intl;if(t&&n){let n=e.textContent||"",r=new Intl.Segmenter(t.locale,{granularity:"word"}),o=new aB(e,{type:"lines",...aH,prepareText:e=>Array.from(r.segment(e)).map(e=>e.segment).join("â"),wordDelimiter:{delimiter:"â",replaceWith:""},reduceWhiteSpace:!1}),i=[];return o.lines.forEach(e=>{let n=e.textContent||"";e.innerHTML="",Array.from(new Intl.Segmenter(t.locale,{granularity:"grapheme"}).segment(n)).map(e=>e.segment).forEach(t=>{let n=document.createElement("span");n.className="char char".concat(i.length+1),n.textContent=t,n.style.display="inline-block",e.appendChild(n),i.push(n)})}),{line:o.lines,word:o.words,char:i,revert:()=>{e.textContent=n}}}let r=new aB(e,{type:"chars,words,lines",...aH});return{line:r.lines,word:r.words,char:r.chars,revert:()=>r.revert()}}(b.current);return null!=y.current&&null==p["aria-label"]&&(y.current.ariaLabel=b.current.textContent),()=>{e()}}},[m]);let O=(0,f.useCallback)(()=>{var e,t,n,r;let o=tG.getProperty(y.current,"visibility");if("hidden"===o){tG.set(y.current,{visibility:"visible"});let n=null!=(t=null==(e=y.current)?void 0:e.offsetHeight)?t:0;return tG.set(y.current,{visibility:o}),n}return null!=(r=null==(n=y.current)?void 0:n.offsetHeight)?r:0},[]),M=(0,f.useMemo)(()=>({getHeight:O,getMinHeight:O,getWidth:()=>{var e,t;return null!=(t=null==(e=y.current)?void 0:e.offsetWidth)?t:0},getMotion:()=>v,getTimeline:()=>E.current,getIsIntersecting:()=>{var e,t;return null!=(t=null==(e=E.current)?void 0:e.isActive())&&t},getInterval:()=>{var e,t,n,r,o,i,a,l;let s=(null==(e=v.inMotion)?void 0:e.easing)&&!Array.isArray(null==(t=v.inMotion)?void 0:t.easing)?(0,c.DK)(null==(n=v.inMotion)?void 0:n.easing).duration:void 0,u=null!=(i=null!=(o=null==(r=v.inMotion)?void 0:r.duration)?o:s)?i:.5;return(null!=(a=v.inStaggerDelay)?a:0)*((m?a$:x(".".concat(null!=(l=v.splitUnit)?l:"char")).length||1)-1)+u},out:function(){var e,t;let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,o=m?b.current:x(".".concat(null!=(e=r.splitUnit)?e:"char"));return null==(n=(null==(t=E.current)?void 0:t.isActive())?C(aO.move({target:o,motion:{opacity:{to:0,easing:c.a7.out,duration:.4}}})):C(aO.move({target:o,motion:r.outMotion,staggerDelay:r.outStaggerDelay})))||n.eventCallback("onComplete",()=>{w.revert()}),n},show:()=>tG.set(y.current,{visibility:"visible"}),hide:()=>tG.set(y.current,{visibility:"hidden"})}),[C,O,w,v,x,E,m]),S=(0,f.useMemo)(()=>({...M,type:"in",in:()=>{var e;let t=m?b.current:x(".".concat(null!=(e=v.splitUnit)?e:"char"));return C(aO.move({target:t,motion:v.inMotion,staggerDelay:v.inStaggerDelay}))},start:function(){let{skipIntroMotion:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?void S.show():(S.show(),null==S?void 0:S.in())}}),[C,M,v.inMotion,v.inStaggerDelay,v.splitUnit,x,m]),k=(0,f.useMemo)(()=>({...M,type:"infinite",infinite:()=>{var e;let t=x(".".concat(null!=(e=v.splitUnit)?e:"char"));return C(aO.move({target:t,motion:v.infiniteMotion,staggerDelay:v.infiniteStaggerDelay}))},opacityIn:()=>aO.move({target:y.current,motion:{opacity:{from:0,to:1},delay:.1,easing:c.oz.basic}}),start:function(){let{skipIntroMotion:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?(k.show(),null==k?void 0:k.infinite()):(k.show(),null==k?void 0:k.infinite().add(k.op
1acityIn(),0))}}),[C,M,v.infiniteMotion,v.infiniteStaggerDelay,v.splitUnit,x]),A=null!=v.infiniteMotion;(0,f.useImperativeHandle)(t,()=>A?k:S,[S,k,A]);let I=(0,f.useMemo)(()=>{let e=f.Children.toArray(d),t=[];for(let n=0;n<e.length;n++){let r=t[t.length-1],o=e[n];aV(r)&&aV(o)?t[t.length-1]="".concat(r).concat(o):t.push(o)}return t},[d]);return(0,u.jsx)("div",{role:"img",ref:ax(y),style:{willChange:"transform",transform:"translateZ(0)",visibility:"hidden",width:"100%",...aE[a],...o},...p,children:(0,u.jsx)("div",{ref:b,style:{maxWidth:"100%",fontKerning:"none"},children:I})})}),aV=e=>"string"==typeof e||"number"==typeof e,aq=e=>"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(aq).join(""):"",aZ=e=>[/[\u1780-\u17FF]/u,/[\u1000-\u109F]/u].some(t=>t.test(e)),aG=e=>[/[\u0E00-\u0E7F]/u,/[\u0E80-\u0EFF]/u].some(t=>t.test(e)),a$=1;function aK(){return"undefined"!=typeof Intl&&"function"==typeof Intl.Segmenter}let aJ=(0,f.forwardRef)(function(e,t){let{standAlone:n=!0,...r}=e,o=(0,f.useRef)(null),i=(0,f.useRef)(!0);return(0,g.Es)(()=>{var e;if(!n)return;let{skipIntroMotion:t,initialDelay:a}=r;if(i.current&&null!=a){i.current=!1,tG.delayedCall(a,()=>{var e;null==(e=o.current)||e.start({skipIntroMotion:t})});return}null==(e=o.current)||e.start({skipIntroMotion:t})},[]),(0,u.jsx)(aW,{...r,ref:n?ax(o,t):t})});function aQ(e){let{initialValue:t,controllers:n}=e,[r,o]=(0,f.useState)(t);return(0,g.Es)(()=>{n.length&&o(e=>n.reduce((e,t)=>{var n,r;return Math.max(e,null!=(r=null==(n=t.getInterval)?void 0:n.call(t))?r:0)},null!=e?e:0))},[n]),{interval:r}}let a0=(0,f.createContext)({addController:()=>-1,fitHeightToContent:void 0}),a1=(0,f.createContext)(void 0),a5=(0,f.forwardRef)(function(e,t){let{children:n,minHeight:r,style:o,fitHeightToContent:i=!1,interval:a,...l}=e,[s,c]=(0,f.useState)([]),d=(0,f.useMemo)(()=>s.filter(e=>"ticker"===e.type),[s]),p=(0,f.useCallback)(e=>{c(t=>{let n=t.findIndex(t=>{let{id:n}=t;return n===e.id});return n<0?[...t,e]:t.map((t,r)=>r===n?e:t)})},[]),g=(0,f.useMemo)(()=>({addController:p,fitHeightToContent:i}),[p,i]),{interval:h}=aQ({controllers:d}),m=(0,f.useRef)(null),v=(0,f.useRef)(void 0),y=(0,f.useMemo)(()=>{var e,t;if(!s.length)return;if(null!=v.current)return v.current;let n=s.reduce((e,t)=>{let{getMinHeight:n}=t;return e+n()},0),r=s.reduce((e,t)=>{let{getHeight:n}=t;return e+n()},0),o=(null!=(t=null==(e=m.current)?void 0:e.offsetHeight)?t:0)-r+n;return v.current=o,o},[s]);return(0,u.jsx)(a0.Provider,{value:g,children:(0,u.jsx)(a1.Provider,{value:null!=a?a:h,children:(0,u.jsx)("div",{ref:ax(m,t),style:{height:y,minHeight:r,...o},...l,children:n})})})}),a2={serverHandoffComplete:!1},a7=0;function a3(){return++a7}let a8=null!=(a=f.useId)?a:function(){let e=function(){let[e,t]=(0,f.useState)(a2.serverHandoffComplete);return(0,f.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,f.useEffect)(()=>{!1===a2.serverHandoffComplete&&(a2.serverHandoffComplete=!0)},[]),e}(),[t,n]=f.useState(e?a3:null);return(0,g.Es)(()=>{null===t&&n(a3())},[t]),null!=t?""+t:void 0};function a4(e){return null!=e.props.motion}function a6(e){var t,n,r;return null!=e.props.motion||(null==(r=null==(n=null==(t=e.props.children)?void 0:t[0])?void 0:n.props)?void 0:r.motion)!=null}let a9=(0,f.forwardRef)(function(e,t){var n;let{children:r,currentIndex:o,skipIntroMotion:i,skipMotion:a,style:l,alignment:s="topLeft",initialDelay:c,fitWidthToContent:d,fitHeightToContent:p,minHeight:h,...m}=e,[v,y]=(0,f.useState)(!1),b=f.Children.toArray(r).filter(e=>(0,f.isValidElement)(e)&&(a4(e)||a6(e))),[x,w]=(0,f.useState)(o),{addController:E,fitHeightToContent:C}=(0,f.useContext)(a0),O=null==(n=null!=p?p:C)||n,M=b[null!=x?x:0],S=(0,f.useRef)(tG.timeline()),k=(0,f.useRef)(null),A=(0,f.useRef)(),I=(0,f.useRef)([]),j=(0,f.useRef)(!0);(0,g.Es)(()=>{var e,t;if(I.current.length){if(O){let n=Math.max(...I.current.map(e=>{let{getHeight:t}=e;return t()}));n&&(tG.set(k.current,{height:n}),(null==(e=k.current)?void 0:e.children)&&tG.set(null==(t=k.current)?void 0:t.children,{height:"100%"}))}if(d){let e=Math.max(...I.current.map(e=>{let{getWidth:t}=e;return t()}));e&&tG.set(k.current,{width:e})}}},[O,d]);let T=(0,f.useCallback)(e=>{tG.to(k.current,{height:e,ease:am.easeFunction,duration:am.duration})},[]),P=(0,f.useCallback)(e=>{tG.set(k.current,{height:e})},[]);(0,g.Es)(()=>{var e;if(!j.current)return;let t=null!=x?x:0,n=null==(e=I.current[t])?void 0:e.getHeight();n&&(y(!0),P(n))},[x,P]),(0,g.Es)(()=>{var e;if(O||!I.current.length||null==x)return;let t=null==(e=I.current[x])?void 0:e.getHeight();null!=t&&T(t)},[x,T]),(0,g.Es)(()=>{let e=tG.context(()=>{var e,t;let n;if(!I.current.length||null==A.current&&null==x)return;if(a&&null!=x)return void I.current[x].show();let r=tG.timeline();if(null!=x){n=I.current[x];let e=i&&j.current;if("in"===n.type){let t=n.start({skipIntroMotion:e});t&&r.add(t)}if("infinite"===n.type){let t=n.start({skipIntroMotion:e});t&&r.add(t)}"ticker"===n.type&&n.start({skipIntroMotion:e})}if(x!==A.current&&null!=A.current){let o=I.current[A.current],i=null!=(t=null!=(e=null==n?void 0:n.getMotion())?e:null==o?void 0:o.getMotion())?t:{},a=null==o?void 0:o.out(i);null==a||a.eventCallback("onComplete",()=>{o.hide()}),o.show(),r.add(a,"<")}j.current&&r.duration()>0&&null!=c?(r.pause(),tG.delayedCall(c,()=>{A.current=x,r.play()})):A.current=x,S.current.kill(),S.current=r,j.current=!1});return()=>e.revert()},[x,i,c,a]);let R=(0,f.useCallback)(e=>t=>{t&&(I.current[e]=t)},[]);(0,f.useEffect)(()=>{w(o)},[o]);let D=(0,f.useMemo)(()=>({type:"funnel",getHeight:()=>{var e,t;
1return null!=(t=null==(e=k.current)?void 0:e.offsetHeight)?t:0},getMinHeight:()=>{var e;return null!=(e=Math.max(...I.current.map(e=>{let{getHeight:t}=e;return t()})))?e:0},getWidth:()=>{var e,t;return null!=(t=null==(e=k.current)?void 0:e.offsetWidth)?t:0},getLength:()=>b.length,to:e=>{e>=0&&e<b.length&&w(e)},previous:()=>{w(e=>null==e?e:e>0?e-1:e)},next:()=>{w(e=>null==e?e:e<b.length-1?e+1:e)},isFirst:()=>0===x,isLast:()=>x===b.length-1}),[x,b.length]);(0,f.useImperativeHandle)(t,()=>D,[D]);let Y=a8();return(0,g.Es)(()=>{E({id:Y,...D})},[E,D,Y]),(0,u.jsxs)("div",{ref:k,style:{willChange:"transform",transform:"translateZ(0)",position:"relative",width:"100%",minHeight:h,...l},...m,children:[b.map((e,t)=>{var n,r,o,i,a,l,u,c;if((0,f.isValidElement)(e))return a4(e)?(0,f.cloneElement)(e,{ref:e.props.ref?ax(e.props.ref,R(t)):R(t),alignment:null!=(r=null==(n=e.props)?void 0:n.alignment)?r:s,standAlone:!1,style:{...null==(o=e.props)?void 0:o.style,position:"absolute",top:0,left:0}}):a6(e)?(0,f.cloneElement)(e,{ref:e.props.ref?ax(e.props.ref,R(t)):R(t),alignment:null!=(a=null==(i=e.props)?void 0:i.alignment)?a:s,style:{...null==(l=e.props)?void 0:l.style,position:"absolute",width:"100%",height:"100%",top:0,left:0,...aE[null!=(c=null==(u=e.props)?void 0:u.alignment)?c:s]},fitWidthToContent:d,fitHeightToContent:O,withHeightChangeEasingMotion:!1,onResize:n=>{var r,o;null==(o=null==(r=e.props)?void 0:r.onResize)||o.call(r,n),x===t&&T(n.height)}}):e}),!1===v&&(0,f.isValidElement)(M)?(0,u.jsx)("div",{"aria-hidden":!0,children:M}):null]})});var le=n(9801);function lt(){}let ln=()=>{},lr=void 0,lo=Object.assign({},aJ,{Ticker:(0,f.forwardRef)(function(e,t){var n;let{id:r,style:o,alignment:i,interval:a,playCount:l,initialDelay:s,children:c,skipIntroMotion:d,fitWidthToContent:p,fitHeightToContent:h,minHeight:m,onResize:v,withHeightChangeEasingMotion:y=!0,onStart:b,onEnd:x,...w}=e,[E,C]=(0,f.useState)(!1),O=f.Children.toArray(c).filter(e=>(0,f.isValidElement)(e)&&a4(e)),M=(0,f.useRef)([]),[S,k]=(0,f.useState)(d),{interval:A}=aQ({initialValue:a,controllers:M.current}),I=(0,f.useContext)(a1)||A,j=function(e){let t=(0,le.p)(e);return function(e,t){let n=(0,le.p)(e),r=(0,f.useRef)(lt);return(0,f.useCallback)(t=>{if(r.current(),r.current=lt,null!=t){let n=e(t);"function"==typeof n&&(r.current=n)}},[n,...t])}(e=>{let n=new ResizeObserver(e=>{null!=e[0]&&t(e[0])});return n.observe(e),()=>{n.unobserve(e)}},[t])}(e=>{null==v||v(e.contentRect)}),T=(0,aw.I)(),{index:P,start:R,clear:D}=function(e){let{playCount:t=1,interval:n=.5,fromIndex:r,toIndex:o,initialDelay:i=0,onStart:a=ln,onEnd:l=ln}=e,s=(0,g.p3)(a),u=(0,g.p3)(l),c=(0,f.useRef)(0),d=("infinite"===t?1/0:t)*(o-r+1),p=(0,f.useRef)(null),[h,m]=(0,f.useState)(lr),v=(0,f.useCallback)((e,t)=>{var n;let r=tG.delayedCall(e,()=>{null==t||t(),null==r||r.kill()});null==(n=p.current)||n.kill(),p.current=r},[]),y=(0,f.useCallback)(()=>{m(lr)},[]),b=(0,f.useCallback)(()=>{if(c.current<d){c.current+=1,m(e=>null==e||e>=o?r:e+1),v(n,b);return}u()},[d,u,v,n,r,o]),x=(0,f.useCallback)(()=>{c.current<d&&v(i,b)},[i,d,b,v]),w=(0,f.useCallback)(()=>{var e;c.current=0,null==(e=p.current)||e.kill()},[]),[E,C]=(0,f.useState)("idle");return(0,g.Es)(()=>{switch(E){case"start":s(),y(),x();break;case"clear":w()}return w},[w,s,y,x,E]),(0,g.Es)(()=>{"clear"===E&&C("idle")},[E]),{index:h,start:(0,f.useCallback)(()=>{C("start")},[]),clear:(0,f.useCallback)(()=>{C("clear")},[])}}({playCount:l,interval:I,fromIndex:0,toIndex:O.length-1,initialDelay:s,onStart:b,onEnd:x}),{addController:Y,fitHeightToContent:X}=(0,f.useContext)(a0),_=O[null!=P?P:0],N=null==(n=null!=h?h:X)||n,L=(0,f.useRef)(null),F=(0,f.useRef)(),z=(0,f.useRef)(!0),B=(0,f.useRef)(tG.timeline()),U=(0,f.useMemo)(()=>tG.context(()=>{}),[]);(0,g.Es)(()=>{var e,t;if(M.current.length){if(N){let n=Math.max(...M.current.map(e=>{let{getHeight:t}=e;return t()}));n&&(tG.set(L.current,{height:n}),(null==(e=L.current)?void 0:e.children)&&tG.set(null==(t=L.current)?void 0:t.children,{height:"100%"}))}if(p){let e=Math.max(...M.current.map(e=>{let{getWidth:t}=e;return t()}));e&&tG.set(L.current,{width:e})}}},[N,p]),(0,g.Es)(()=>{var e;if(N||!M.current.length||null==P)return;let t=null==(e=M.current[P])?void 0:e.getHeight();null!=t&&(y?T?tG.set(L.current,{height:t}):tG.to(L.current,{height:t,ease:am.easeFunction,duration:am.duration}):tG.set(L.current,{height:t}))},[P,N]),(0,g.Es)(()=>{var e;if(!z.current)return;let t=null!=P?P:0,n=null==(e=M.current[t])?void 0:e.getHeight();n&&(C(!0),tG.set(L.current,{height:n}))},[P]),(0,g.Es)(()=>{tG.set(L.current,{visibility:"visible"})},[]),(0,g.Es)(()=>(U.add(()=>{var e,t;let n;if(!M.current.length||null==F.current&&null==P)return;let r=tG.timeline();if(null!=P){n=M.current[P];let e=S&&z.current;if("in"===n.type){let t=n.start({skipIntroMotion:e});t&&r.add(t)}if("infinite"===n.type){let t=n.start({skipIntroMotion:e});t&&r.add(t)}}if(P!==F.current&&null!=F.current){let o=M.current[F.current],i=null!=(t=null!=(e=null==n?void 0:n.getMotion())?e:null==o?void 0:o.getMotion())?t:{},a=null==o?void 0:o.out(i);null==a||a.eventCallback("onComplete",()=>{o.hide()}),o.show(),r.add(a,"<")}F.current=P,B.current.kill(),B.current=r,z.current=!1}),()=>U.revert()),[P,S]);let H=(0,f.useMemo)(()=>({type:"ticker",getHeight:()=>{var e,t,n;return null!=(n=null!=(t=null==(e=L.current)?void 0:e.offsetHeight)?t:M.current[0].getHeight())?n:0},getMinHeight:()=>{var e;return null!=(e=Math.max(...M.current.map(e=>{let{getHeight:t}=e;return t()})))?e:0},getWidth:()=>{var e,t;return null!=(t=null==(e=L.current)?void 0:e.offsetWidth)?t:0},getMotion:()=>{var e;return null!=P?null==(e=M.current[P])?void 0:e.getMotion():void 0},getTimeline:()=>null,start:function(){let{skipIntroMotion:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e&&k(t=>null!=t?t:e),R(),B.current},out:e=>(U.add(()=>{var t;D(),B.current.kill(),F.current=void 0;let n=tG.timeline();null==(t=M.current)||t.forEach(t=>{let r=null!=e?e:null==t?void 0:t.getMotion();n.add(t.out(r),"<")}),n.eventCallback("onComplete",()=>{U.revert()}),B.current=n}),B.current),show:()=>tG.set(L.current,{visibility:"visible"}),hide:()=>tG.set(L.current,{visibility:"hidden"}),getInterval:()=>null!=I?I:0}),[D,P,U,I,R]);(0,g.Es)(()=>
1{if(null==t)return R(),D},[I]),(0,f.useImperativeHandle)(t,()=>H,[H]);let W=(0,f.useCallback)(e=>t=>{t&&(M.current[e]=t)},[]),V=a8();return(0,g.Es)(()=>{Y({id:V,...H})},[Y,H,V]),(0,u.jsxs)("div",{ref:ax(L,j),style:{willChange:"transform",transform:"translateZ(0)",position:"relative",width:"100%",visibility:"hidden",minHeight:m,...o},...w,children:[O.map((e,t)=>{var n,r;if((0,f.isValidElement)(e))return a4(e)?(0,f.cloneElement)(e,{ref:e.props.ref?ax(e.props.ref,W(t)):W(t),alignment:null!=(n=e.props.alignment)?n:i,standAlone:!1,style:{...null==(r=e.props)?void 0:r.style,position:"absolute",top:0,left:0}}):e}),!1===E&&(0,f.isValidElement)(_)?(0,u.jsx)("div",{"aria-hidden":!0,children:_}):null]})}),Funnel:a9,Item:aW,Wrapper:a5,Motion:ay,...ay});function li(e){let{colorScheme:t}=i0();return(0,u.jsx)("svg",{...e,color:"light"===t?"#3182F6":"#4593FC",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{d:"M10.1228 9.1149C11.4219 7.23951 11.2363 4.6468 9.56598 2.97644C7.68685 1.09731 4.64018 1.09731 2.76105 2.97644C0.881915 4.85557 0.881914 7.90224 2.76104 9.78137C4.46016 11.4805 7.11366 11.6432 8.99573 10.2697L11.3713 12.6453C11.6864 12.9604 12.1972 12.9604 12.5123 12.6453C12.8273 12.3303 12.8273 11.8194 12.5123 11.5044L10.1228 9.1149ZM8.42503 8.64042C7.17603 9.88943 5.15099 9.88943 3.90199 8.64042C2.65299 7.39142 2.65299 5.36639 3.90199 4.11739C5.151 2.86838 7.17603 2.86838 8.42503 4.11738C9.67403 5.36639 9.67403 7.39142 8.42503 8.64042Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.2"})})}let la={dark:{left:"https://static.toss.im/illusts/wiki-highlight-L-dark.png",right:"https://static.toss.im/illusts/wiki-highlight-R-dark.png"},light:{left:"https://static.toss.im/illusts/wiki-highlight-L.png",right:"https://static.toss.im/illusts/wiki-highlight-R.png"}};function ll(e){let{position:t,...n}=e,{colorScheme:r}=i0();return(0,u.jsx)("img",{...n,src:la[r][t],alt:"",style:{...lu,left:"right"===t?"100%":void 0,right:"left"===t?"100%":void 0}})}function ls(e){let{position:t,...n}=e;switch(t){case"both":return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(ll,{position:"left",...n}),(0,u.jsx)(ll,{position:"right",...n})]});case"left":return(0,u.jsx)(ll,{position:"left",...n});case"right":return(0,u.jsx)(ll,{position:"right",...n})}}let lu={position:"absolute"},lc={glassIconEnter:(e,t)=>({translateX:{to:0,delay:.15,easing:c.oz.basic},opacity:{from:0,to:1,delay:.25,easing:c.oz.basic},width:{from:0,to:e+t+1,easing:c.oz.quick}}),glassIconExit:e=>({translateX:{to:-5,easing:c.oz.basic},opacity:{to:0,easing:c.oz.quick},width:{from:e,to:0,easing:c.oz.basic}}),paddingEffect:e=>({width:{from:0,to:e,easing:c.oz.quick}}),textHighlighterEnter:{scaleX:{to:1,easing:c.oz.basic},opacity:{to:1,easing:c.oz.medium}},textHighlighterExit:{scaleX:{from:1,to:0,easing:c.oz.medium},opacity:{from:1,to:0,easing:c.oz.medium}}};function lf(e){let{rects:t,isInView:n,iconWidth:r}=e,{colorScheme:o}=i0(),i=r+2,a=ld[o];
1return(0,u.jsx)("span",{style:lp,children:t.map((e,r)=>{let o,l=0===r,s=r===t.length-1,{layout:c,highlightIconHeight:f,highlightIconWidth:d}=((e,t,n)=>{let r=.02*e.height,o=.05*e.height,a=.46*e.height,l=a/2,s=o*(Number(t)+Number(n)),u=n?e.width+i-.6*l-o:e.width;return{layout:{top:e.top+e.height/2-r,left:e.left+s/2,width:u-s,height:.46*e.height},highlightIconHeight:a,highlightIconWidth:l}})(e,l,s);return 1===t.length?o="both":l?o="left":s&&(o="right"),(0,u.jsx)(iV.div,{"aria-labelledby":"text-highlighter-".concat(r),"aria-hidden":!0,animate:n?lc.textHighlighterEnter:lc.textHighlighterExit,style:{...lg,...c,background:a,transformOrigin:"-".concat(l?d:0,"px 50%")},children:o&&(0,u.jsx)(ls,{height:f,position:o})},r)})})}let ld={light:"linear-gradient(90deg, rgba(173,208,255,0.8) 0%,rgba(217,234,255,0.6) 100%)",dark:"linear-gradient(90deg, rgba(38,110,217,0.4) 0%,rgba(12,63,136,0.2) 100%)"},lp={verticalAlign:"baseline"},lg={position:"absolute",pointerEvents:"none",transformOrigin:"-10% 50%",scale:"0px 100%",opacity:0},lh={position:"relative"},lm={display:"inline-flex"},lv={position:"relative"},ly={verticalAlign:"baseline"},lb={display:"inline-flex",transform:"translate(-5px, 0px)",width:1,pointerEvents:"none",opacity:0,verticalAlign:"baseline"},lx={position:"absolute",top:-10,bottom:-10,left:-10,right:-10,cursor:"default"},lw={display:"inline",position:"relative",backgroundClip:"text",zIndex:1},lE={marginLeft:1},lC=Object.assign({},{Text:function(e){var t,n;let{children:r,hasPaddingAnimation:o=!0,onClick:i,onContainerTouchStart:a,style:l,onKeyDown:s,...c}=e,{updateStyle:d}=i0(),p=(0,f.useRef)(null),g=(0,f.useRef)(null),h=(0,f.useRef)(null),{ref:m,isInView:v}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.6,[t,n]=(0,f.useState)(!1),[r,o]=(0,f.useState)(!1),[i,a]=(0,f.useState)(!1),l=(0,f.useRef)(null),s=(0,f.useRef)(null),u=(0,f.useMemo)(()=>"undefined"==typeof window?0:document.body.offsetHeight,[]),c=(0,f.useCallback)(t=>{let[c]=t,f=c.target.getBoundingClientRect(),d=window.innerHeight*(1-e);if(u&&f.top>u-d){o(!0),n(!0),l.current&&s.current&&(l.current.unobserve(s.current),l.current=null);return}!r&&(n(c.isIntersecting),i||c.isIntersecting||!(f.top<d)||n(!0),i||a(!0))},[r,u,e,i,a]),d=(0,f.useCallback)(e=>{s.current&&l.current&&l.current.unobserve(s.current),e&&(l.current||(l.current=new IntersectionObserver(c,{root:null,rootMargin:"0px 0px -40% 0px"})),!r&&l.current&&l.current.observe(e)),s.current=e},[r,c]);return(0,f.useEffect)(()=>()=>{l.current&&s.current&&l.current.unobserve(s.current)},[]),{ref:d,isInView:t}}(.6),{paddingEffectWidth:y,iconWidth:b}=(0,f.useMemo)(()=>{if(p.current&&v){let e=window.getComputedStyle(p.current),t=parseFloat(e.lineHeight),n=parseFloat(e.fontSize),r=parseFloat(e.fontWeight),i=o?.23*t*.6:0,a=.7*n;return d({lineHeight:t,fontSize:n,fontWeight:r}),{paddingEffectWidth:i,iconWidth:a}}return{}},[v,p,o,d]),x=(0,f.useCallback)(()=>{var e,t;return function(e){let{textClientRects:t}=e;if(0===t.length)return[];let n=t[0];return t.map(e=>({top:e.top,left:e.left,width:e.width,height:e.height})).map(e=>({top:e.top-n.top,left:e.left-n.left,width:e.width,height:e.height}))}({textClientRects:Array.from(null!=(t=null==(e=p.current)?void 0:e.getClientRects())?t:[])})},[]),[w,E]=(0,f.useState)(x),C=(0,f.useCallback)(()=>{E(x())},[x]),O=(0,f.useCallback)(e=>{var t;if("Enter"===e.key||" "===e.key){e.preventDefault();let n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});null==(t=p.current)||t.dispatchEvent(n)}null==s||s(e)},[s]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)("span",{ref:m,style:lh,onTouchStart:v?a:void 0,onClick:()=>{var e;return null==(e=p.current)?void 0:e.click()},children:[(0,u.jsx)(iV.span,{style:lm,animate:o&&v?lc.paddingEffect(null!=y?y:0):{}}),(0,u.jsxs)("span",{style:{...lv,cursor:!1!==v?"pointer":"text"},children:[(0,u.jsx)("span",{role:"button",tabIndex:0,ref:p,onClick:e=>{(!1!==v||document.activeElement===g.current)&&(e.stopPropagation(),null==i||i(e))},onKeyDown:O,style:{...lw,...l},...c,children:r}),(0,u.jsx)(lf,{rects:w,isInView:v,iconWidth:null!=b?b:0}),(0,u.jsx)("span",{ref:h,style:ly,children:(0,u.jsxs)(iV.span,{"aria-hidden":!0,style:lb,animate:v?lc.glassIconEnter(null!=b?b:0,null!=y?y:0):lc.glassIconExit(null!=(n=null==(t=h.current)?void 0:t.offsetWidth)?n:0),onStart:C,onEnd:C,children:[(0,u.jsx)("span",{style:lx,"aria-hidden":!0}),(0,u.jsx)(li,{style:{...lE,height:b,width:b}})]})})]})]})})},Overlay:as,OverlayDescription:function(e){let[t,n]=(0,f.useState)("hidden"),{style:r,onEnd:o,...i}=e;return(0,u.jsx)(lo,{style:{...r,overflowY:t},motion:lo.slide.line(),onEnd:()=>{n("auto"),null==o||o()},...i})}
1,Provider:function(e){let{colorScheme:t="light",children:n}=e,[r,o]=(0,f.useState)();return(0,u.jsx)(iJ,{colorScheme:t,textStyle:r,updateStyle:o,children:n})}});var lO=n(36717),lM=n(26937);let lS=(0,f.createContext)(null),lk={generate:()=>{}};function lA(){return(lA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function lI(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function lj(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function lT(...e){return(0,f.useCallback)(lj(...e),e)}let lP=(null==globalThis?void 0:globalThis.document)?f.useLayoutEffect:()=>{},lR=d["useId".toString()]||(()=>void 0),lD=0;function lY(e){let[t,n]=f.useState(lR());return lP(()=>{e||n(e=>null!=e?e:String(lD++))},[e]),e||(t?`radix-${t}`:"")}function lX(e){let t=(0,f.useRef)(e);return(0,f.useEffect)(()=>{t.current=e}),(0,f.useMemo)(()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}var l_=n(48875);let lN=(0,f.forwardRef)((e,t)=>{let{children:n,...r}=e,o=f.Children.toArray(n),i=o.find(lz);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:f.Children.count(e)>1?f.Children.only(null):(0,f.isValidElement)(e)?e.props.children:null);return(0,f.createElement)(lL,lA({},r,{ref:t}),(0,f.isValidElement)(e)?(0,f.cloneElement)(e,void 0,n):null)}return(0,f.createElement)(lL,lA({},r,{ref:t}),n)});lN.displayName="Slot";let lL=(0,f.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,f.isValidElement)(n)?(0,f.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?lj(t,n.ref):n.ref}):f.Children.count(n)>1?f.Children.only(null):null});lL.displayName="SlotClone";let lF=({children:e})=>(0,f.createElement)(f.Fragment,null,e);function lz(e){return(0,f.isValidElement)(e)&&e.type===lF}let lB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,f.forwardRef)((e,n)=>{let{asChild:r,...o}=e,i=r?lN:t;return(0,f.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,f.createElement)(i,lA({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),lU="dismissableLayer.update",lH=(0,f.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),lW=(0,f.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:s,onDismiss:u,...c}=e,d=(0,f.useContext)(lH),[p,g]=(0,f.useState)(null),h=null!=(n=null==p?void 0:p.ownerDocument)?n:null==globalThis?void 0:globalThis.document,[,m]=(0,f.useState)({}),v=lT(t,e=>g(e)),y=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(b),w=p?y.indexOf(p):-1,E=d.layersWithOutsidePointerEventsDisabled.size>0,C=w>=x,O=function(e,t=null==globalThis?void 0:globalThis.document){let n=lX(e),r=(0,f.useRef)(!1),o=(0,f.useRef)(()=>{});return(0,f.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function i(){lq("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==a||a(e),null==s||s(e),e.defaultPrevented||null==u||u())},h),M=function(e,t=null==globalThis?void 0:globalThis.document){let n=lX(e),r=(0,f.useRef)(!1);return(0,f.useEffect)(()=>{let e=e=>{e.target&&!r.current&&lq("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...d.branches].some(e=>e.contains(t))&&(null==l||l(e),null==s||s(e),e.defaultPrevented||null==u||u())},h);return!function(e,t=null==globalThis?void 0:globalThis.document){let n=lX(e);(0,f.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{w===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},h),(0,f.useEffect)(()=>
1{if(p)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(r=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),lV(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=r)}},[p,h,o,d]),(0,f.useEffect)(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),lV())},[p,d]),(0,f.useEffect)(()=>{let e=()=>m({});return document.addEventListener(lU,e),()=>document.removeEventListener(lU,e)},[]),(0,f.createElement)(lB.div,lA({},c,{ref:v,style:{pointerEvents:E?C?"auto":"none":void 0,...e.style},onFocusCapture:lI(e.onFocusCapture,M.onFocusCapture),onBlurCapture:lI(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:lI(e.onPointerDownCapture,O.onPointerDownCapture)}))});function lV(){let e=new CustomEvent(lU);document.dispatchEvent(e)}function lq(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&o.addEventListener(e,t,{once:!0}),r)o&&(0,l_.flushSync)(()=>o.dispatchEvent(i));else o.dispatchEvent(i)}let lZ="focusScope.autoFocusOnMount",lG="focusScope.autoFocusOnUnmount",l$={bubbles:!1,cancelable:!0},lK=(0,f.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=(0,f.useState)(null),u=lX(o),c=lX(i),d=(0,f.useRef)(null),p=lT(t,e=>s(e)),g=(0,f.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,f.useEffect)(()=>{if(r){function e(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?d.current=t:l0(d.current,{select:!0})}function t(e){if(g.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||l0(d.current,{select:!0}))}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&l0(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,g.paused]),(0,f.useEffect)(()=>{if(l){l1.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(lZ,l$);l.addEventListener(lZ,u),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(l0(r,{select:t}),document.activeElement!==n)return}(lJ(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&l0(l))}return()=>{l.removeEventListener(lZ,u),setTimeout(()=>{let t=new CustomEvent(lG,l$);l.addEventListener(lG,c),l.dispatchEvent(t),t.defaultPrevented||l0(null!=e?e:document.body,{select:!0}),l.removeEventListener(lG,c),l1.remove(g)},0)}}},[l,u,c,g]);let h=(0,f.useCallback)(e=>{if(!n&&!r||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=lJ(e);return[lQ(t,e),lQ(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&l0(i,{select:!0})):(e.preventDefault(),n&&l0(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,g.paused]);return(0,f.createElement)(lB.div,lA({tabIndex:-1},a,{ref:p,onKeyDown:h}))});function lJ(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function lQ(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function l0(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let l1=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=l5(e,t)).unshift(t)},remove(t){var n;null==(n=(e=l5(e,t))[0])||n.resume()}}}();function l5(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}let l2=(0,f.forwardRef)((e,t)=>{var n;
1let{container:r=null==globalThis||null==(n=globalThis.document)?void 0:n.body,...o}=e;return r?l_.createPortal((0,f.createElement)(lB.div,lA({},o,{ref:t})),r):null}),l7=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,o]=(0,f.useState)(),i=(0,f.useRef)({}),a=(0,f.useRef)(e),l=(0,f.useRef)("none"),[s,u]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,f.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,f.useEffect)(()=>{let e=l3(i.current);l.current="mounted"===s?e:"none"},[s]),lP(()=>{let t=i.current,n=a.current;if(n!==e){let r=l.current,o=l3(t);e?u("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?u("UNMOUNT"):n&&r!==o?u("ANIMATION_OUT"):u("UNMOUNT"),a.current=e}},[e,u]),lP(()=>{if(r){let e=e=>{let t=l3(i.current).includes(e.animationName);e.target===r&&t&&(0,l_.flushSync)(()=>u("ANIMATION_END"))},t=e=>{e.target===r&&(l.current=l3(i.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,f.useCallback)(e=>{e&&(i.current=getComputedStyle(e)),o(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):f.Children.only(n),i=lT(r.ref,o.ref);return"function"==typeof n||r.isPresent?(0,f.cloneElement)(o,{ref:i}):null};function l3(e){return(null==e?void 0:e.animationName)||"none"}l7.displayName="Presence";let l8=0;function l4(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var l6=n(78113),l9="right-scroll-bar-position",se="width-before-scroll-bar";function st(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var sn="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,sr=new WeakMap;function so(e){return e}var si=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=so),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return o.options=(0,l6.Cl)({async:!0,ssr:!1},e),o}(),sa=function(){},sl=f.forwardRef(function(e,t){var n,r,o,i,a=f.useRef(null),l=f.useState({onScrollCapture:sa,onWheelCapture:sa,onTouchMoveCapture:sa}),s=l[0],u=l[1],c=e.forwardProps,d=e.children,p=e.className,g=e.removeScrollBar,h=e.enabled,m=e.shards,v=e.sideCar,y=e.noIsolation,b=e.inert,x=e.allowPinchZoom,w=e.as,E=(0,l6.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=(n=[a,t],r=function(e){return n.forEach(function(t){return st(t,e)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,sn(function(){var e=sr.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||st(e,null)}),r.forEach(function(e){t.has(e)||st(e,o)})}sr.set(i,n)},[n]),i),O=(0,l6.Cl)((0,l6.Cl)({},E),s);return f.createElement(f.Fragment,null,h&&f.createElement(v,{sideCar:si,removeScrollBar:g,shards:m,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!x,lockRef:a}),c?f.cloneElement(f.Children.only(d),(0,l6.Cl)((0,l6.Cl)({},O),{ref:C})):f.createElement(void 0===w?"div":w,(0,l6.Cl)({},O,{className:p,ref:C}),d))});sl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},sl.classNames={fullWidth:se,zeroRight:l9};
1var ss=function(e){var t=e.sideCar,n=(0,l6.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,(0,l6.Cl)({},n))};ss.isSideCarExport=!0;var su=n(13483),sc={left:0,top:0,right:0,gap:0},sf=function(e){return parseInt(e||"",10)||0},sd=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[sf(n),sf(r),sf(o)]},sp=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return sc;var t=sd(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},sg=(0,su.T0)(),sh="data-scroll-locked",sm=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(sh,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(l9," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(se," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(l9," .").concat(l9," {\n right: 0 ").concat(r,";\n }\n \n .").concat(se," .").concat(se," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(sh,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},sv=function(){var e=parseInt(document.body.getAttribute(sh)||"0",10);return isFinite(e)?e:0},sy=function(){f.useEffect(function(){return document.body.setAttribute(sh,(sv()+1).toString()),function(){var e=sv()-1;e<=0?document.body.removeAttribute(sh):document.body.setAttribute(sh,e.toString())}},[])},sb=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;sy();var i=f.useMemo(function(){return sp(o)},[o]);return f.createElement(sg,{styles:sm(i,!t,o,n?"":"!important")})},sx=n(29264),sw=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,sx.m)();return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},sE=function(){var e=sw();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},sC=function(){var e=sE();return function(t){return e(t.styles,t.dynamic),null}},sO=!1;if("undefined"!=typeof window)try{var sM=Object.defineProperty({},"passive",{get:function(){return sO=!0,!0}});window.addEventListener("test",sM,sM),window.removeEventListener("test",sM,sM)}catch(e){sO=!1}var sS=!!sO&&{passive:!1},sk=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},sA=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),sI(e,n)){var r=sj(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},sI=function(e,t){return"v"===e?sk(t,"overflowY"):sk(t,"overflowX")},sj=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},sT=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,s=n.target,u=t.contains(s),c=!1,f=l>0,d=0,p=0;do{var g=sj(e,s),h=g[0],m=g[1]-g[2]-a*h;
1(h||m)&&sI(e,s)&&(d+=m,p+=h),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return f&&(o&&0===d||!o&&l>d)?c=!0:!f&&(o&&0===p||!o&&-l>p)&&(c=!0),c},sP=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},sR=function(e){return[e.deltaX,e.deltaY]},sD=function(e){return e&&"current"in e?e.current:e},sY=0,sX=[];let s_=(o=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(sY++)[0],i=f.useState(function(){return sC()})[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,l6.fX)([e.lockRef.current],(e.shards||[]).map(sD),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=sP(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=sA(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=sA(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var p=r.current||o;return sT(p,t,e,"h"===p?s:u,!0)},[]),s=f.useCallback(function(e){if(sX.length&&sX[sX.length-1]===i){var n="deltaY"in e?sR(e):sP(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(sD).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=f.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=f.useCallback(function(e){n.current=sP(e),r.current=void 0},[]),d=f.useCallback(function(t){u(t.type,sR(t),t.target,l(t,e.lockRef.current))},[]),p=f.useCallback(function(t){u(t.type,sP(t),t.target,l(t,e.lockRef.current))},[]);f.useEffect(function(){return sX.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",s,sS),document.addEventListener("touchmove",s,sS),document.addEventListener("touchstart",c,sS),function(){sX=sX.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,sS),document.removeEventListener("touchmove",s,sS),document.removeEventListener("touchstart",c,sS)}},[]);var g=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,g?f.createElement(sb,{gapMode:"margin"}):null)},si.useMedium(o),ss);var sN=f.forwardRef(function(e,t){return f.createElement(sl,(0,l6.Cl)({},e,{ref:t,sideCar:s_}))});sN.classNames=sl.classNames;var sL=n(53756);let sF="Dialog",[sz,sB]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>(0,f.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,f.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=(0,f.createContext)(r),i=n.length;function a(t){let{scope:n,children:r,...a}=t,l=(null==n?void 0:n[e][i])||o,s=(0,f.useMemo)(()=>a,Object.values(a));return(0,f.createElement)(l.Provider,{value:s},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){let l=(null==a?void 0:a[e][i])||o,s=(0,f.useContext)(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return(0,f.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(sF),[sU,sH]=sz(sF),sW="DialogPortal",[sV,sq]=sz(sW,{forceMount:void 0}),sZ="DialogOverlay",sG=(0,f.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=sH(sZ,n);return(0,f.createElement)(sN,{as:lN,allowPinchZoom:!0,shards:[o.contentRef]},(0,f.createElement)(lB.div,lA({"data-state":s1(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),s$="DialogContent",sK=(0,f.forwardRef)((e,t)=>{let n=sH(s$,e.__scopeDialog),r=(0,f.useRef)(null),o=lT(t,n.contentRef,r);return(0,f.useEffect)(()=>{let e=r.current;if(e)return(0,sL.Eq)(e)},[]),(0,f.createElement)(sQ,lA({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:lI(e.onCloseAutoFocus,e=>{var t;
1e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:lI(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:lI(e.onFocusOutside,e=>e.preventDefault())}))}),sJ=(0,f.forwardRef)((e,t)=>{let n=sH(s$,e.__scopeDialog),r=(0,f.useRef)(!1),o=(0,f.useRef)(!1);return(0,f.createElement)(sQ,lA({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null==(i=e.onCloseAutoFocus)||i.call(e,t),t.defaultPrevented||(r.current||null==(a=n.triggerRef.current)||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null==(i=e.onInteractOutside)||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let l=t.target;(null==(a=n.triggerRef.current)?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),sQ=(0,f.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=sH(s$,n),s=lT(t,(0,f.useRef)(null));return(0,f.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:l4()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:l4()),l8++,()=>{1===l8&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),l8--}},[]),(0,f.createElement)(f.Fragment,null,(0,f.createElement)(lK,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},(0,f.createElement)(lW,lA({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":s1(l.open)},a,{ref:s,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),s0="DialogTitle";function s1(e){return e?"open":"closed"}let[s5,s2]=function(e,t){let n=(0,f.createContext)(t);function r(e){let{children:t,...r}=e,o=(0,f.useMemo)(()=>r,Object.values(r));return(0,f.createElement)(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){let o=(0,f.useContext)(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}]}("DialogTitleWarning",{contentName:s$,titleName:s0,docsSlug:"dialog"}),s7=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=(0,f.useRef)(null),s=(0,f.useRef)(null),[u=!1,c]=function({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=function({defaultProp:e,onChange:t}){let n=(0,f.useState)(e),[r]=n,o=(0,f.useRef)(r),i=lX(t);return(0,f.useEffect)(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,l=lX(n);return[a,(0,f.useCallback)(t=>{if(i){let n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[i,e,o,l])]}({prop:r,defaultProp:o,onChange:i});return(0,f.createElement)(sU,{scope:t,triggerRef:l,contentRef:s,contentId:lY(),titleId:lY(),descriptionId:lY(),open:u,onOpenChange:c,onOpenToggle:(0,f.useCallback)(()=>c(e=>!e),[c]),modal:a},n)},s3=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=sH(sW,t);return(0,f.createElement)(sV,{scope:t,forceMount:n},f.Children.map(r,e=>(0,f.createElement)(l7,{present:n||i.open},(0,f.createElement)(l2,{asChild:!0,container:o},e))))},s8=(0,f.createContext)({});var s4=n(66458),s6=n(89785),s9=n(71439);let ue=(i=function(e,t){let{as:n="span",style:r,className:o,typography:i,fontWeight:a,color:l,...s}=e;return(0,u.jsx)(n,{ref:t,style:{...a&&ut[a],...i&&{[s6._D.text.fontSize]:(0,iG.s)((0,iZ.Pr)(i,"text","fontSize")),[s6._D.text.lineHeight]:(0,iG.s)((0,iZ.Pr)(i,"text","lineHeight"))},[s6.VA]:l,...r},className:(0,s4.A)("tds-mobile-paragraph__text","mb7a-zuqbdq0",o),...(0,s9.a7)("ParagraphText"),...s})},(0,f.forwardRef)(i)),ut={regular:{[s6.vv]:400},medium:{[s6.vv]:500},semibold:{[s6.vv]:600},bold:{[s6.vv]:700}};function un(e){let{open:t,wordClientRects:n,word:r,description:o,onClose:i}=e,{backEvent:a}=(0,f.useContext)(s8);return(0,f.useEffect)(()=>{if(null!=a&&t)return a.addEventListener(i),()=>a.removeEventListener(i)},[a,i,t]),(0,u.jsx)(s7,{open:t,children:(0,u.jsx)(s3,{forceMount:!0,children:(0,u.jsx)(lC.Overlay,{open:t,onClose:i,wordClientRects:n,word:r,description:"string"==typeof o||"number"==typeof o?(0,u.jsx)(ue,{typography:"t6",children:(0,u.jsx)(lC.OverlayDescription,{children:o})}):o})})})}function ur(e){let{children:t,description:n,hasPaddingAnimation:r=!0,onClick:o,...i}=e,{colorScheme:a}=(0,lM.KP)(),{generate:l}=function(){let e=(0,f.useContext)(lS);return null!=e?e:lk}(),[s,c]=(0,f.useState)([]),d=s.length>0;return(0,u.jsxs)(lC.Provider,{colorScheme:a,children:[(0,u.jsx)(lC.Text,{onContainerTouchStart:()=>{l({type:"tickWeak"})},onClick:(0,lO.m)(o,e=>{c(Array.from(e.currentTarget.getClientRects()))}),hasPaddingAnimation:r,...i,children:t}),(0,u.jsx)(un,{open:d,onClose:()=>c([]),wordClientRects:s,word:t,description:n})]})}var uo=n(95229),ui=e=>(0,uo.Y)(ur,{...e})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.