PageSourceSearch

https://beachwatch-data-explorer.vercel.app/_next/static/chunks/386-8f7079e9e84912b0.js

js beachwatch-data-explorer.vercel.app collected 2026-10-03 06:10:22 UTC 189,207 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[386],{1335:(t,e,i)=>{i.d(e,{u:()=>n});var r=i(9064);let n={test:(0,i(55920).$)("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:r.B.transform}},2735:(t,e,i)=>{function r(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function n(t,e,i,n){if("function"==typeof e){let[s,o]=r(n);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=r(n);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{a:()=>n})},2773:(t,e,i)=>{i.d(e,{Q2:()=>w,td:()=>a,x1:()=>o});var r=i(95155),n=i(12115);let s=(0,n.createContext)(void 0),o=()=>{let t=(0,n.useContext)(s);if(void 0===t)throw Error("useNextStep must be used within a NextStepProvider");return t},a=t=>{let{children:e}
1=t,[i,o]=(0,n.useState)(null),[a,l]=(0,n.useState)(0),[u,h]=(0,n.useState)(!1),d=(0,n.useCallback)((t,e)=>{e?setTimeout(()=>{l(t),h(!0)},e):(l(t),h(!0))},[]),c=(0,n.useCallback)(()=>{h(!1),o(null)},[]),p=(0,n.useCallback)(t=>{o(t),l(0),h(!0)},[]);return(0,r.jsx)(s.Provider,{value:{currentTour:i,currentStep:a,setCurrentStep:d,closeNextStep:c,startNextStep:p,isNextStepVisible:u},children:e})};var l=i(42198);let u={some:0,all:1};var h=i(79218);let d=()=>(console.debug("Navigation is not available, using window adapter! Some features may not work. Use Framework specific adapters for better results."),{push:t=>{window.history.pushState({},"",t),window.dispatchEvent(new PopStateEvent("popstate",{state:{}}))},getCurrentPath:()=>window.location.pathname}),c=({step:t,currentStep:e,totalSteps:i,nextStep:n,prevStep:s,skipTour:o,arrow:a})=>(0,r.jsxs)("div",{style:{backgroundColor:"white",borderRadius:"0.5rem",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",padding:"1rem",maxWidth:"32rem",minWidth:"16rem"},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"1rem"},children:[(0,r.jsx)("h2",{style:{fontSize:"1.125rem",fontWeight:"bold"},children:t.title}),t.icon&&(0,r.jsx)("span",{style:{fontSize:"1.5rem"},children:t.icon})]}),(0,r.jsx)("div",{style:{marginBottom:"1rem",fontSize:"0.875rem"},children:t.content}),(0,r.jsx)("div",{style:{marginBottom:"1rem",backgroundColor:"#E5E7EB",borderRadius:"9999px",height:"0.625rem"},children:(0,r.jsx)("div",{style:{backgroundColor:"#2563EB",height:"0.625rem",borderRadius:"9999px",width:`${(e+1)/i*100}%`}})}),(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1rem",fontSize:"0.75rem"},children:[(0,r.jsx)("button",{onClick:s,style:{padding:"0.5rem 1rem",fontWeight:"500",color:"#4B5563",backgroundColor:"#F3F4F6",borderRadius:"0.375rem",cursor:"pointer",display:t.showControls?"block":"none"},disabled:0===e,children:"Previous"}),(0,r.jsxs)("span",{style:{color:"#6B7280",whiteSpace:"nowrap"},children:[e+1," of ",i]}),e===i-1?(0,r.jsx)("button",{onClick:o,style:{padding:"0.5rem 1rem",fontWeight:"500",color:"white",backgroundColor:"#10B981",borderRadius:"0.375rem",cursor:"pointer",display:t.showControls?"block":"none"},children:"Finish"}):(0,r.jsx)("button",{onClick:n,style:{padding:"0.5rem 1rem",fontWeight:"500",color:"white",backgroundColor:"#2563EB",borderRadius:"0.375rem",cursor:"pointer",display:t.showControls?"block":"none"},children:"Next"})]}),a,o&&e<i-1&&(0,r.jsx)("button",{onClick:o,style:{marginTop:"1rem",fontSize:"0.75rem",width:"100%",padding:"0.5rem 1rem",fontWeight:"500",color:"#4B5563",backgroundColor:"#F3F4F6",borderRadius:"0.375rem",cursor:"pointer",display:t.showSkip?"block":"none"},children:"Skip Tour"})]});var p=i(47650);let m=({viewportID:t,children:e})=>{let[i,r]=(0,n.useState)(null);return((0,n.useEffect)(()=>{if(t){let e=document.getElementById(t);e?r(e):(console.warn(`Element with ID "${t}" not found. Rendering into document body.`),r(document.body))}else r(document.body)},[t]),i)?(0,p.createPortal)(e,i):null},f=({x:t,y:e,width:i,height:n,padding:s,radius:o,shadowOpacity:a,shadowRgb:l})=>(0,r.jsx)("div",{style:{position:"absolute",inset:0,zIndex:998,pointerEvents:"none"},children:(0,r.jsxs)("svg",{width:"100%",height:"100%",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("mask",{id:"smooth-spotlight-mask",children:[(0,r.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,r.jsx)(h.P.rect,{initial:!1,animate:{x:t-s/2,y:e-s/2,width:i+s,height:n+s,rx:o,ry:o},transition:{duration:.4,ease:"easeInOut"},fill:"black"})]})}),(0,r.jsx)("rect",{width:"100%",height:"100%",fill:`rgba(${l}, ${a})`,mask:"url(#smooth-spotlight-mask)"})]})}),g=t=>{var e,i,s,a,p,g,b,x,w,k,S,T;let{children:P,steps:C,shadowRgb:E="0, 0, 0",shadowOpacity:A="0.2",cardTransition:M={ease:"anticipate",duration:.6},cardComponent:j,onStart:V=()=>{},onStepChange:D=()=>{},onComplete:R=()=>{},onSkip:F=()=>{},displayArrow:L=!0,clickThroughOverlay:O=!1,navigationAdapter:B=d,disableConsoleLogs:I=!1,scrollToTop:W=!0,noInViewScroll:N=!1}=t,{currentTour:U,currentStep:z,setCurrentStep:$,isNextStepVisible:q,closeNextStep:G}=o(),H=null==(e=C.find(t=>
1t.tour===U))?void 0:e.steps,[K,X]=(0,n.useState)(null),[Y,_]=(0,n.useState)(null),Q=(0,n.useRef)(null),Z=function(t){let{root:e,margin:i,amount:r,once:s=!1,initial:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[a,h]=(0,n.useState)(o);return(0,n.useEffect)(()=>{if(!t.current||s&&a)return;let n={root:e&&e.current||void 0,margin:i,amount:r};return function(t,e,{root:i,margin:r,amount:n="some"}={}){let s=(0,l.K)(t),o=new WeakMap,a=new IntersectionObserver(t=>{t.forEach(t=>{let i=o.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?o.set(t.target,i):a.unobserve(t.target)}else"function"==typeof i&&(i(t),o.delete(t.target))})},{root:i,rootMargin:r,threshold:"number"==typeof n?n:u[n]});return s.forEach(t=>a.observe(t)),()=>a.disconnect()}(t.current,()=>(h(!0),s?void 0:()=>h(!1)),n)},[e,t,i,s,r]),a}((0,n.useRef)(null)),[J,tt]=(0,n.useState)(0),[te,ti]=(0,n.useState)(null),[tr,tn]=(0,n.useState)(null),[ts,to]=(0,n.useState)(null),ta=B(),tl=(0,n.useCallback)(()=>{G()},[G]);(0,n.useEffect)(()=>(window.addEventListener("popstate",tl),()=>{window.removeEventListener("popstate",tl)}),[tl]),(0,n.useEffect)(()=>{ti(window.document.body),tn(window.document.body.getBoundingClientRect()),to(window.document.body)},[]);let tu=ta.getCurrentPath()||"/";(0,n.useEffect)(()=>{q&&(null==V||V(U))},[U,V,q]),(0,n.useEffect)(()=>{if(q&&H){I||console.log("NextStep: Current Step Changed");let e=H[z],i=window.document.body;if(e&&e.viewportID){let t=document.querySelector("#".concat(e.viewportID));t&&(i=t)}let r=i.getBoundingClientRect();if(ti(i),tn(r),to(v(i)),e&&e.selector){let i=document.querySelector(e.selector);if(i){_(td(i)),Q.current=i,X(i);let e=i.getBoundingClientRect();if(!(e.top>=-20&&e.bottom<=window.innerHeight+20)){var t;let e=tv((null==H||null==(t=H[z])?void 0:t.side)||"right");i.scrollIntoView({behavior:"smooth",block:e.includes("top")?"end":e.includes("bottom")?"start":"center"})}}}else e.viewportID?_({x:v(i).getBoundingClientRect().width/2,y:v(i).getBoundingClientRect().height/2,width:0,height:0}):_({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),Q.current=null,X(null)}},[z,H,Z,20,q]);let th=()=>{let t=window.document.body;if(H&&void 0!==z){let e=H[z];if(e.viewportID){let i=document.querySelector("#".concat(e.viewportID));i&&(t=i)}}ti(t),tn(t.getBoundingClientRect()),to(v(t))};(0,n.useEffect)(()=>{if(q)return th(),window.addEventListener("resize",th),()=>{window.removeEventListener("resize",th)}},[z,tu,H,q]);let td=t=>{let e=t.getBoundingClientRect(),i=window.document.body,r=window.document.body.getBoundingClientRect();if(H&&void 0!==z){let t=H[z];if(t.viewportID){let e=document.querySelector("#".concat(t.viewportID));e&&(r=(i=e).getBoundingClientRect())}}let n=e.top-r.top+i.scrollTop;return{x:e.left-r.left+i.scrollLeft,y:n,width:e.width,height:e.height}};(0,n.useEffect)(()=>{if(q&&H){I||console.log("NextStep: Current Step Changed");let e=H[z],i=window.document.body;if(e&&e.viewportID){let t=document.querySelector("#".concat(e.viewportID));t&&(i=t)}let r=i.getBoundingClientRect();if(ti(i),tn(r),to(v(i)),e&&e.selector){let i=document.querySelector(e.selector);if(i){_(td(i)),Q.current=i,X(i);let e=i.getBoundingClientRect();if(!(e.top>=-20&&e.bottom<=window.innerHeight+20)){var t;let e=tv((null==H||null==(t=H[z])?void 0:t.side)||"right");i.scrollIntoView({behavior:"smooth",block:e.includes("top")?"end":e.includes("bottom")?"start":"center"})}}}else e.viewportID?_({x:v(i).getBoundingClientRect().width/2,y:v(i).getBoundingClientRect().height/2,width:0,height:0}):_({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),Q.current=null,X(null)}},[z,H,Z,20,q]),(0,n.useEffect)(()=>{if(K&&!Z&&q){var t;I||console.log("NextStep: Element to Scroll Changed");let e=tv((null==H||null==(t=H[z])?void 0:t.side)||"right");N||K.scrollIntoView({behavior:"smooth",block:e.includes("top")?"end":e.includes("bottom")?"start":"center",inline:"center"})}else(W||!K)&&window.scrollTo({top:0,behavior:"smooth"})},[K,Z,q]);let tc=()=>{if(H){let t=H[z];if(t&&t.selector){let e=document.querySelector(t.selector);e&&_(td(e))}else{let e=document.querySelector("#".concat(t.viewportID));t.viewportID&&e&&ts?_({x:v(e).getBoundingClientRect().width/2,y:ts.getBoundingClientRect().height/2,width:0,height:0}):_({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),Q.current=null,X(null)}}};(0,n.useEffect)(()=>
1{if(q)return window.addEventListener("resize",tc),()=>window.removeEventListener("resize",tc)},[z,H,q]),(0,n.useEffect)(()=>{let t=()=>{tt(Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight))};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,n.useEffect)(()=>{if(!q||!U||!H||void 0===z)return;let t=H[z];if(!t.selector)return;let e=document.querySelector(t.selector);if(!e)return;let i=new ResizeObserver(()=>{tc(),th()});return i.observe(e),()=>{i.disconnect()}},[z,U]);let tp=()=>{if(H&&z<H.length-1)try{let t=z+1,e=H[z].nextRoute;if(null==D||D(t,U),e){ta.push(e);let i=H[t].selector;i?new MutationObserver((e,r)=>{document.querySelector(i)&&($(t),tg(t),r.disconnect())}).observe(document.body,{childList:!0,subtree:!0}):$(t)}else $(t),tg(t)}catch(t){I||console.error("Error navigating to next route",t)}else H&&z===H.length-1&&(null==R||R(U),G())},tm=()=>{if(H&&z>0)try{let t=z-1,e=H[z].prevRoute;if(null==D||D(t,U),e){ta.push(e);let i=H[t].selector;i?new MutationObserver((e,r)=>{document.querySelector(i)&&($(t),tg(t),r.disconnect())}).observe(document.body,{childList:!0,subtree:!0}):$(t)}else $(t),tg(t)}catch(t){I||console.error("Error navigating to previous route",t)}},tf=()=>{null==F||F(z,U),G()};(0,n.useEffect)(()=>{let t=t=>{var e;if(q&&!(null==H||null==(e=H[z])?void 0:e.blockKeyboardControl))switch(t.key){case"ArrowRight":tp();break;case"ArrowLeft":tm();break;case"Escape":tf()}};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[q,tp,tm,tf]);let tg=t=>{if(H){let i=H[t].selector;if(i){let r=document.querySelector(i);if(r){let{top:i}=r.getBoundingClientRect();if(!(i>=-20&&i<=window.innerHeight+20)){var e;let i=tv((null==H||null==(e=H[t])?void 0:e.side)||"right");r.scrollIntoView({behavior:"smooth",block:i.includes("top")?"end":i.includes("bottom")?"start":"center"})}_(td(r))}}else(null==H?void 0:H[z].viewportID)&&ts?_({x:ts.getBoundingClientRect().width/2,y:ts.getBoundingClientRect().height/2,width:0,height:0}):_({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),Q.current=null,X(null)}},tv=t=>{if(!t||!te)return t;let e=t,i=!1;return t.startsWith("right")&&Y&&te.scrollWidth<Y.x+Y.width+256?i=!0:t.startsWith("left")&&Y&&Y.x<256&&(i=!0),t.includes("top")&&Y&&Y.y<256?e=i?"bottom":t.replace("top","bottom"):t.includes("bottom")&&Y&&Y.y+Y.height+256>te.scrollHeight?e=i?"top":t.replace("bottom","top"):i&&(e=Y&&Y.y<256?"bottom":"top"),e},ty=t=>{var e;let{isVisible:i}=t;return i?(0,r.jsx)("svg",{viewBox:"0 0 54 54","data-name":"nextstep-arrow",style:{...(t=>{switch(t=tv(t)){case"bottom":return{transform:"translate(-50%, 0) rotate(270deg)",left:"50%",top:"-23px"};case"top":return{transform:"translate(-50%, 0) rotate(90deg)",left:"50%",bottom:"-23px"};case"right":return{transform:"translate(0, -50%) rotate(180deg)",top:"50%",left:"-23px"};case"left":return{transform:"translate(0, -50%) rotate(0deg)",top:"50%",right:"-23px"};case"top-left":return{transform:"rotate(90deg)",left:"10px",bottom:"-23px"};case"top-right":return{transform:"rotate(90deg)",right:"10px",bottom:"-23px"};case"bottom-left":return{transform:"rotate(270deg)",left:"10px",top:"-23px"};case"bottom-right":return{transform:"rotate(270deg)",right:"10px",top:"-23px"};case"right-bottom":return{transform:"rotate(180deg)",left:"-23px",bottom:"10px"};case"right-top":return{transform:"rotate(180deg)",left:"-23px",top:"10px"};case"left-bottom":return{transform:"rotate(0deg)",right:"-23px",bottom:"10px"};case"left-top":return{transform:"rotate(0deg)",right:"-23px",top:"10px"};default:return{display:"none"}}})(null==H||null==(e=H[z])?void 0:e.side),position:"absolute",width:"1.5rem",height:"1.5rem",transformOrigin:"center"},children:(0,r.jsx)("path",{id:"triangle",d:"M27 27L0 0V54L27 27Z",fill:"currentColor"})}):null},tb={visible:{opacity:1},hidden:{opacity:0}},tx=null!=(w=null==H||null==(i=H[z])?void 0:i.pointerPadding)?w:30,tw=tx/2,tk=null!=(k=null==H||null==(s=H[z])?void 0:s.pointerRadius)?k:28,tS=!!te&&y(te),tT=(0,n.useCallback)(t=>{console.warn("No navigation adapter provided. Please provide a navigation adapter or import one from nextstepjs/adapter
1s/*")},[]);return(0,n.useMemo)(()=>B||{push:tT,getCurrentPath:()=>"/"},[B,tT]),(0,r.jsxs)("div",{"data-name":"nextstep-wrapper","data-nextstep":"dev",style:{position:"relative",width:"100%"},children:[(0,r.jsx)("div",{"data-name":"nextstep-site",style:{display:"block",width:"100%"},children:P}),Y&&q&&te&&(0,r.jsx)(m,{viewportID:null==H||null==(a=H[z])?void 0:a.viewportID,children:(0,r.jsxs)(h.P.div,{"data-name":"nextstep-overlay",initial:"hidden",animate:q?"visible":"hidden",variants:tb,transition:{duration:.5},style:{position:"absolute",top:0,left:0,overflow:"hidden",height:tS?"".concat(te.scrollHeight,"px"):"100%",width:tS?"".concat(te.scrollWidth,"px"):"100%",zIndex:997,pointerEvents:"none"},children:[!O&&tr&&(0,r.jsxs)("div",{"data-name":"nextstep-prevent-click-overlay",style:{position:"absolute",inset:0,zIndex:998,pointerEvents:"none",height:"".concat(te.scrollHeight,"px"),width:"".concat(te.scrollWidth,"px")},children:[(0,r.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-top",style:{position:"absolute",top:0,left:0,right:0,pointerEvents:"auto",height:Math.max(Y.y-tw,0)}}),(0,r.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-bottom",style:{position:"absolute",left:0,right:0,bottom:0,pointerEvents:"auto",height:"".concat(Math.max(tr.height-(Y.y+Y.height+tw),0),"px")}}),(0,r.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-left",style:{position:"absolute",left:0,top:0,pointerEvents:"auto",width:Math.max(Y.x-tw,0),height:tr.height}}),(0,r.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-right",style:{position:"absolute",top:0,pointerEvents:"auto",left:"".concat(Y.x+Y.width+tw,"px"),right:0,height:tr.height}})]}),(0,r.jsx)(f,{x:Y.x-tw,y:Y.y-tw,width:Y.width+tx,height:Y.height+tx,padding:tx,radius:tk,shadowOpacity:A,shadowRgb:E}),(0,r.jsx)(h.P.div,{"data-name":"nextstep-pointer",style:{position:"relative",zIndex:999,borderRadius:"".concat(tk,"px ").concat(tk,"px ").concat(tk,"px ").concat(tk,"px"),pointerEvents:"none"},initial:Y?{x:Y.x-tw,y:Y.y-tw,width:Y.width+tx,height:Y.height+tx}:{},animate:Y?{x:Y.x-tw,y:Y.y-tw,width:Y.width+tx,height:Y.height+tx}:{},transition:M,children:(0,r.jsx)(h.P.div,{"data-name":"nextstep-card",transition:M,style:{...(t=>{if(!t||!(null==H?void 0:H[z].selector))return{top:"50%",left:"50%",transform:"translate(-50%, -50%)",position:"fixed",margin:"0"};switch(t=tv(t)){case"top":return{transform:"translate(-50%, 0)",left:"50%",bottom:"100%",marginBottom:"25px"};case"bottom":return{transform:"translate(-50%, 0)",left:"50%",top:"100%",marginTop:"25px"};case"left":return{transform:"translate(0, -50%)",right:"100%",top:"50%",marginRight:"25px"};case"right":return{transform:"translate(0, -50%)",left:"100%",top:"50%",marginLeft:"25px"};case"top-left":return{bottom:"100%",marginBottom:"25px"};case"top-right":return{right:0,bottom:"100%",marginBottom:"25px"};case"bottom-left":return{top:"100%",marginTop:"25px"};case"bottom-right":return{right:0,top:"100%",marginTop:"25px"};case"right-bottom":return{left:"100%",bottom:0,marginLeft:"25px"};case"right-top":return{left:"100%",top:0,marginLeft:"25px"};case"left-bottom":return{right:"100%",bottom:0,marginRight:"25px"};case"left-top":return{right:"100%",top:0,marginRight:"25px"};default:return{}}})(null==H||null==(p=H[z])?void 0:p.side),position:"absolute",display:"flex",flexDirection:"column",maxWidth:"100%",minWidth:"min-content",pointerEvents:"auto",zIndex:999},children:j?(0,r.jsx)(j,{step:null==H?void 0:H[z],currentStep:z,totalSteps:null!=(S=null==H?void 0:H.length)?S:0,nextStep:tp,prevStep:tm,arrow:(0,r.jsx)(ty,{isVisible:!!((null==H||null==(g=H[z])?void 0:g.selector)&&L)}),skipTour:tf}):(0,r.jsx)(c,{step:null==H?void 0:H[z],currentStep:z,totalSteps:null!=(T=null==H?void 0:H.length)?T:0,nextStep:tp,prevStep:tm,arrow:(0,r.jsx)(ty,{isVisible:!!((null==H||null==(b=H[z])?void 0:b.selector)&&L)}),skipTour:tf})})})]})}),Y&&q&&(null==H||null==(x=H[z])?void 0:x.viewportID)&&ts&&(0,r.jsx)(m,{children:(0,r.jsx)(h.P.div,{"data-name":"nextstep-overlay2",initial:"hidden",animate:q?"visible":"hidden",variants:tb,transition:{duration:.5},style:{position:"absolute",top:0,left:0,overflow:"hidden",height:"".concat(J,"px"),width:"".concat(document.body.scrollWidth,"px"),zIndex:997,pointerEvents:"none"},children:!O&&(0,r.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:998,pointerEvents:"none",width:"100vw",height:J},children:[(0,r.jsx)("div",{style:{position:"absolute",left:0,right:0,top:0,pointerEvents:"auto",height:ts.getBoundingClientRect().top+window.scrollY,width:"".concat(document.body.scrollWidth,"px"),backgroundColor:"rgba(".concat(E,", ").concat(A,")")}}),(0,r.jsx)("div",{style:{position:"absolute",left:0,right:0,pointerEvents:"auto",top:"".concat(ts.getBoundingClientRect().bottom+window.scrollY,"px"),height:"".concat(J-ts.getBoundingClientRect().bottom-window.scrollY,"px"),width:"".concat(document.body.scrollWidth,"px"),backgroundColor:"rgba(".concat(E,", ").concat(A,")")}}),(0,r.jsx)("div",{style:{position:"absolute",pointerEvents:"auto",left:"0",top:ts.getBoundingClientRect().top+window.scrollY,width:ts.getBoundingClientRect().left+window.scrollX,height:ts.getBoundingClientRect().height,backgroundColor:"rgba(".concat(E,", ").concat(A,")")}}),(0,r.jsx)("div",{style:{position:"absolute",pointerEvents:"auto",top:ts.getBoundingClientRect().top+window.scrollY,left:"".concat(ts.getBoundingClientRect().right+window.scrollX,"px"),width:"".concat(document.body.scrollWidth-ts.getBoundingClientRect().right-window.scrollX,"px"),height:ts.getBoundingClientRect().height,backgroundColor:"rgba(".concat(E,", ").concat(A,")")}})]})})})]})},v=t=>{let e=t.parentElement;for(;e;){let t=getComputedStyle(e),i=t.overflowY,r=t.overflowX,n="scroll"===r||"auto"===r;if(("scroll"===i||"auto"===i)&&e.scrollHeight>e.clientHeight||n&&e.scrollWidth>e.clientWidth)return e;e=e.parentElement}return t},y=t=>t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth||t===document.body;var b=i(35695);let x=()=>{let t=(0,b.useRouter)(),e=(0,b.usePathname)();return{push:e=>{t.push(e)},getCurrentPath:()=>e||"/"}},w=t=>{let{children:e,steps:i,shadowRgb:n="0, 0, 0",shadowOpacity:s="0.2",cardTransition:o={ease:"anticipate",duration:.6},cardComponent:a,onStart:l=()=>{},onStepChange:u=()=>{},onComplete:h=()=>{},onSkip:d=()=>{},displayArrow:c=!0,clickThroughOverlay:p=!1,navigationAdapter:m=x,disableConsoleLogs:f=!1,scrollToTop:v=!0,noInViewScroll:y=!1}=t;return(0,r.jsx)(g,{children:e,steps:i,shadowRgb:n,shadowOpacity:s,cardTransition:o,cardComponent:a,onStart:l,onStepChange:u,onComplete:h,onSkip:d,displayArrow:c,clickThroughOverlay:p,navigationAdapter:m,disableConsoleLogs:f,scrollToTop:v,noInViewScroll:y})}},4272:(t,e,i)=>{i.d(e,{y:()=>o});var r=i(1335),n=i(18476),s=i(9064);let o={test:t=>s.B.test(t)||r.u.test(t)||n.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):n.V.test(t)?n.V.parse(t):r.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):n.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},4608:(t,e,i)=>{i.d(e,{X:()=>s});var r=i(47215),n=i(52458);function s(t,e=100,i){let o=i({...t,keyframes:[0,e]}),a=Math.min((0,n.t)(o),n.Y);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,r.X)(a)}}},4756:(t,e,i)=>{i.d(e,{f:()=>tf});var r=i(78777);function n(t){t.duration=0,t.type="keyframes"}var s=i(69515),o=i(53191),a=i(53678),l=i(47215),u=i(74261),h=i(63704),d=i(26087);let c=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>s.Gt.update(e,t),stop:()=>(0,s.WG)(e),now:()=>s.uv.isProcessing?s.uv.timestamp:u.k.now()}};var p=i(84687),m=i(73945);function f({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,f=t[0],g={done:!1,value:f},v=i*e,y=f+v,b=void 0===o?y:o(y);b!==y&&(v=b-f);let x=t=>-v*Math.exp(-t/r),w=t=>b+x(t),k=t=>{let e=x(t),i=w(t);g.done=Math.abs(e)<=u,g.value=g.done?b:i},S=t=>{let e;if(e=g.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=(0,p.o)({keyframes:[g.value,(i=g.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:(0,m.Y)(w,t,g.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,k(t),S(t)),void 0!==d&&t>=d)?c.next(t-d):(e||k(t),g)}}}var g=i(19827);let v=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function y(t,e,i,r){return t===e&&i===r?g.l:n=>
10===n||1===n?n:v(function(t,e,i,r,n){let s,o,a=0;do(s=v(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(n,0,1,t,i),e,r)}let b=y(.42,0,1,1),x=y(0,0,.58,1),w=y(.42,0,.58,1);var k=i(61081),S=i(54542),T=i(91765),P=i(54180);let C=y(.33,1.53,.69,.99),E=(0,P.G)(C),A=(0,T.V)(E),M=t=>(t*=2)<1?.5*E(t):.5*(2-Math.pow(2,-10*(t-1)));var j=i(7712);let V=t=>Array.isArray(t)&&"number"==typeof t[0],D={linear:g.l,easeIn:b,easeInOut:w,easeOut:x,circIn:j.po,circInOut:j.tn,circOut:j.yT,backIn:E,backInOut:A,backOut:C,anticipate:M},R=t=>{if(V(t)){(0,S.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return y(e,i,r,n)}return"string"==typeof t?((0,S.V)(void 0!==D[t],`Invalid easing type '${t}'`,"invalid-easing-type"),D[t]):t};var F=i(6775),L=i(79115);function O({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=(0,k.h)(r)?r.map(R):R(r),o={done:!1,value:e[0]},a=(n=i&&i.length===e.length?i:(0,L.Z)(e),n.map(e=>e*t)),l=(0,F.G)(a,e,{ease:Array.isArray(s)?s:e.map(()=>s||w).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}var B=i(52458);let I=t=>null!==t;function W(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(I),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let N={decay:f,inertia:f,tween:O,keyframes:O,spring:p.o};function U(t){"string"==typeof t.type&&(t.type=N[t.type])}class z{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let $=t=>t/100;class q extends z{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==u.k.now()&&this.tick(u.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},h.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;U(t);let{type:e=O,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:a}=t,l=e||O;l!==O&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)($,(0,d.j)(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});"mirror"===n&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=(0,B.t)(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:p,type:m,onUpdate:g,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?y<0:y>r;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,w=i;if(d){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/o)):"mirror"===c&&(w=s)),x=(0,a.q)(0,1,i)*o}let k=b?{done:!1,value:h[0]}:w.next(x);n&&(k.value=n(k.value));let{done:S}=k;b||null===l||(S=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return T&&m!==f&&(k.value=W(h,this.options,v,this.speed)),g&&g(k.value),T&&this.finish(),k}then(t,e){return this.finished.then(t,e)}get duration(){return(0,l.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,l.X)(t)}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(u.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=c,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(u.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,h.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var G=i(23387),H=i(7322);function K(t){let e;return()=>(void 0===e&&(e=t()),e)}let X=K(()=>void 0!==window.ScrollTimeline);var Y=i(24744);let _={},Q=function(t,e){let i=K(t);return()=>_[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var Z=i(47705);let J=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,tt={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:J([0,.65,.55,1]),circOut:J([.55,0,1,.45]),backIn:J([.31,.01,.66,-.59]),backOut:J([.33,1.53,.69,.99])};var te=i(43128);class ti extends z{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,(0,S.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return(0,te.W)(t)&&Q()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let d={[e]:i};l&&(d.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?Q()?(0,Z.K)(e,i):"ease-out":V(e)?J(e):Array.isArray(e)?e.map(e=>t(e,i)||tt.easeOut):tt[e]}(a,n);Array.isArray(c)&&(d.easing=c),Y.Q.value&&h.q.waapi++;let p={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(p.pseudoElement=u);let m=t.animate(d,p);return Y.Q.value&&m.finished.finally(()=>{h.q.waapi--}),m}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=W(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,l.X)(t)}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,l.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&X())?(this.animation.timeline=t,g.l):e(this)}}let tr={anticipate:M,backInOut:A,circInOut:j.tn};class tn extends ti{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tr&&(t.ease=tr[t.ease])}(t),U(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new q({...s,autoplay:!1}),a=(0,l.f)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}var ts=i(60010);let to=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(ts.f.test(t)||"0"===t)&&!t.startsWith("url(")),ta=new Set(["opacity","clipPath","filter","transform"]),tl=K(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tu extends z{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=u.k.now();let c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:h,...d},p=h?.KeyframeResolver||H.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:d}=i;
1this.resolvedAt=u.k.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=to(n,e),a=to(s,e);return(0,S.$)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,te.W)(i))&&r)}(t,s,o,a)&&((G.W.instantAnimations||!l)&&d?.(W(t,i,e)),t[0]=t[t.length-1],n(i),i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=!h&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tl()&&i&&ta.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c)?new tn({...c,element:c.motionValue.owner.current}):new q(c);p.finished.then(()=>this.notifyFinished()).catch(g.l),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,H.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let th=t=>null!==t;var td=i(60018);let tc={type:"spring",stiffness:500,damping:25,restSpeed:10},tp={type:"keyframes",duration:.8},tm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tf=(t,e,i,o={},a,u)=>h=>{let d=(0,r.r)(o,t)||{},c=d.delay||o.delay||0,{elapsed:p=0}=o;p-=(0,l.f)(c);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:u?void 0:a};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(d)&&Object.assign(m,((t,{keyframes:e})=>e.length>2?tp:td.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tc:tm)(t,m)),m.duration&&(m.duration=(0,l.f)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,l.f)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let f=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(n(m),0===m.delay&&(f=!0)),(G.W.instantAnimations||G.W.ski
1pAnimations)&&(f=!0,n(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,f&&!u&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(th),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(m.keyframes,d);if(void 0!==t)return void s.Gt.update(()=>{m.onUpdate(t),m.onComplete()})}return d.isSync?new q(m):new tu(m)}},5910:(t,e,i)=>{i.d(e,{p:()=>r});let r=t=>Array.isArray(t)},6101:(t,e,i)=>{i.d(e,{s:()=>o,t:()=>s});var r=i(12115);function n(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function s(...t){return e=>{let i=!1,r=t.map(t=>{let r=n(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():n(t[e],null)}}}}function o(...t){return r.useCallback(s(...t),t)}},6340:(t,e,i)=>{i.d(e,{N:()=>r});function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},6642:(t,e,i)=>{i.d(e,{B:()=>n});let r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},n={};for(let t in r)n[t]={isEnabled:e=>r[t].some(t=>!!e[t])}},6775:(t,e,i)=>{i.d(e,{G:()=>h});var r=i(23387),n=i(19827),s=i(53191),o=i(54542),a=i(45818),l=i(53678),u=i(26087);function h(t,e,{clamp:i=!0,ease:d,mixer:c}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let o=[],a=i||r.W.mix||u.j,l=t.length-1;for(let i=0;i<l;i++){let r=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.l:e;r=(0,s.F)(t,r)}o.push(r)}return o}(e,d,c),g=f.length,v=i=>{if(m&&i<t[0])return e[0];let r=0;if(g>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=(0,a.q)(t[r],t[r+1],i);return f[r](n)};return i?e=>v((0,l.q)(t[0],t[p-1],e)):v}},6784:(t,e,i)=>{i.d(e,{II:()=>h,cc:()=>u,v_:()=>l});var r=i(50920),n=i(21239),s=i(73504),o=i(52020);function a(t){return Math.min(1e3*2**t,3e4)}function l(t){return(t??"online")!=="online"||n.t.isOnline()}var u=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function h(t){let e,i=!1,h=0,d=(0,s.T)(),c=()=>r.m.isFocused()&&("always"===t.networkMode||n.t.isOnline())&&t.canRun(),p=()=>l(t.networkMode)&&t.canRun(),m=t=>{"pending"===d.status&&(e?.(),d.resolve(t))},f=t=>{"pending"===d.status&&(e?.(),d.reject(t))},g=()=>new Promise(i=>{e=t=>{("pending"!==d.status||c())&&i(t)},t.onPause?.()}).then(()=>{e=void 0,"pending"===d.status&&t.onContinue?.()}),v=()=>{let e;if("pending"!==d.status)return;let r=0===h?t.initialPromise:void 0;try{e=r??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(m).catch(e=>{if("pending"!==d.status)return;let r=t.retry??3*!o.S$,n=t.retryDelay??a,s="function"==typeof n?n(h,e):n,l=!0===r||"number"==typeof r&&h<r||"function"==typeof r&&r(h,e);if(i||!l)return void f(e);h++,t.onFail?.(h,e),(0,o.yy)(s).then(()=>c()?void 0:g()).then(()=>{i?f(e):v()})})};return{promise:d,status:()=>d.status,cancel:e=>{"pending"===d.status&&(f(new u(e)),t.abort?.())},continue:()=>(e?.(),d),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:p,start:()=>(p()?v():g().then(v),d)}}},6983:(t,e,i)=>{i.d(e,{G:()=>r});function r(t){return"object"==typeof t&&null!==t}},7165:(t,e,i)=>{i.d(e,{jG:()=>n});var r=t=>setTimeout(t,0),n=function(){let t=[],e=0,i=t=>{t()},n=t=>{t()},s=r,o=r=>{e?t.push(r):s(()=>{i(r)})};return{batch:r=>{let o;e++;try{o=r()}finally{--e||(()=>{let e=t;t=[],e.length&&s(()=>{n(()=>{e.forEach(t=>{i(t)})})})})()}return o},batchCalls:t=>(...e)=>{o(()=>{t(...e)})},schedule:o,setNotifyFunction:t=>{i=t},setBatchNotifyFunction:t=>{n=t},setScheduler:t=>{s=t}}}()},7312:(t,e,i)=>{i.d(e,{$:()=>r});let r=t=>/^0[^.\s]+$/u.test(t)},7322:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var r=i(60280),n=i(69515);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,r.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}
1a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function d(){l=!0,h(),u(),l=!1}class c{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,n.Gt.read(h),n.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},7684:(t,e,i)=>{i.d(e,{O:()=>u});var r=i(60018),n=i(78606);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=i(72403);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=r.U.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(r.f.has(t)){c=!0;continue}if((0,n.j)(t)){h[t]=i;continue}{let e=s(i,o.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):u[t]=e}}if(!e.transform&&(c||i?u.transform=function(t,e,i){let n="",u=!0;for(let h=0;h<l;h++){let l=r.U[h],d=t[l];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=s(d,o.W[l]);if(!c){u=!1;let e=a[l]||l;n+=`${e}(${t}) `}i&&(e[l]=t)}}return n=n.trim(),i?n=i(e,u?"":n):u&&(n="none"),n}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;u.transformOrigin=`${t} ${e} ${i}`}}},7712:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var r=i(91765),n=i(54180);let s=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(s),a=(0,r.V)(s)},9064:(t,e,i)=>{i.d(e,{B:()=>l});var r=i(53678),n=i(57887),s=i(11557),o=i(55920);let a={...n.ai,transform:t=>Math.round((0,r.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(n.X4.transform(r))+")"}},11557:(t,e,i)=>{i.d(e,{a:()=>r});let r=t=>Math.round(1e5*t)/1e5},18476:(t,e,i)=>{i.d(e,{V:()=>a});var r=i(57887),n=i(34158),s=i(11557),o=i(55920);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.a)(e))+", "+n.KN.transform((0,s.a)(i))+", "+(0,s.a)(r.X4.transform(o))+")"}},19253:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>o});var r=i(6340),n=i(65305),s=i(98312);function o(t){return(0,r.N)(t.animate)||s._.some(e=>(0,n.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},19827:(t,e,i)=>{i.d(e,{l:()=>r});let r=t=>t},20419:(t,e,i)=>{i.d(e,{K:()=>n});var r=i(2735);function n(t,e,i){let n=t.getProps();return(0,r.a)(n,e,void 0!==i?i:n.custom,t)}},20600:(t,e,i)=>{i.d(e,{e:()=>r});function r(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}},20637:(t,e,i)=>{i.d(e,{$:()=>s,H:()=>n});var r=i(78606);let n={};function s(t){for(let e in t)n[e]=t[e],(0,r.j)(e)&&(n[e].isCSSVariable=!0)}},21239:(t,e,i)=>{i.d(e,{t:()=>s});var r=i(25910),n=i(52020),s=new class extends r.Q{#t=!0;#e;#i;constructor(){super(),this.#i=t=>{if(!n.S$&&window.addEventListener){let e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#i=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}
1setOnline(t){this.#t!==t&&(this.#t=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#t}}},23387:(t,e,i)=>{i.d(e,{W:()=>r});let r={}},24744:(t,e,i)=>{i.d(e,{Q:()=>r});let r={value:null,addProjectionMetrics:null}},25193:(t,e,i)=>{i.d(e,{b:()=>y});var r=i(58109),n=i(64050),s=i(54542),o=i(83014),a=i(78606);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=i(7322),h=i(7312),d=i(60010),c=i(47277);let p=new Set(["auto","none","0"]);var m=i(60280);class f extends u.h{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&(r=r.trim(),(0,a.p)(r))){let n=function t(e,i,r=1){(0,s.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,u]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let h=window.getComputedStyle(i).getPropertyValue(n);if(h){let t=h.trim();return(0,o.i)(t)?parseFloat(t):t}return(0,a.p)(u)?t(u,i,r+1):u}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!r.$.has(i)||2!==t.length)return;let[u,h]=t,d=(0,n.n)(u),c=(0,n.n)(h);if(d!==c)if((0,m.E4)(d)&&(0,m.E4)(c))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else m.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||(0,h.$)(r)))&&i.push(e)}i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!p.has(e)&&(0,d.V)(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=(0,c.J)(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=m.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=m.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var g=i(64803),v=i(63562);class y extends v.B{constructor(){super(...arguments),this.KeyframeResolver=f}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,g.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},25910:(t,e,i)=>{i.d(e,{Q:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},25943:(t,e,i)=>{i.d(e,{h:()=>n});var r=i(69782);function n(t){return(0,r.x)(t)&&"svg"===t.tagName}},26087:(t,e,i)=>{i.d(e,{j:()=>T});var r=i(53191),n=i(54542),s=i(78606),o=i(4272),a=i(60010),l=i(1335),u=i(18476);function h(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var d=i(9064);function c(t,e){return i=>i>0?e:t}var p=i(33210);let m=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},f=[l.u,d.B,u.V];function g(t){let e=f.find(e=>e.test(t));if((0,n.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===u.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=h(a,r,t+1/3),s=h(a,r,t),o=h(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let v=(t,e)=>{let i=g(t),r=g(e);if(!i||!r)return c(t,e);let n={...i};return t=>(n.red=m(i.red,r.red,t),n.green=m(i.green,r.green,t),n.blue=m(i.blue,r.blue,t),n.alpha=(0,p.k)(i.alpha,r.alpha,t),d.B.transform(n))},y=new Set(["none","hidden"]);function b(t,e){return i=>(0,p.k)(t,e,i)}function x(t){return"number"==typeof t?b:"string"==typeof t?(0,s.p)(t)?c:o.y.test(t)?v:S:Array.isArray(t)?w:"object"==typeof t?o.y.test(t)?v:k:c}function w(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>x(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function k(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=x(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let S=(t,e)=>{let i=a.f.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?y.has(t)&&!o.values.length||y.has(e)&&!s.values.length?function(t,e){return y.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,r.F)(w(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(s,o),o.values),i):((0,n.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),c(t,e))};function T(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):x(t)(t,e)}},26715:(t,e,i)=>{i.d(e,{Ht:()=>a,jE:()=>o});var r=i(12115),n=i(95155),s=r.createContext(void 0),o=t=>{let e=r.useContext(s);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},a=t=>{let{client:e,children:i}=t;return r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,n.jsx)(s.Provider,{value:e,children:i})}},27934:(t,e,i)=>{i.d(e,{$:()=>c});var r=i(78777),n=i(69515),s=i(58109),o=i(60098),a=i(5910),l=i(20419),u=i(76333),h=i(46926),d=i(4756);function c(t,e,{delay:i=0,transitionOverride:p,type:m}={}){let{transition:f=t.getDefaultTransition(),transitionEnd:g,...v}=e;p&&(f=p);let y=[],b=m&&t.animationState&&t.animationState.getState()[m];for(let e in v){let o=t.getValue(e,t.latestValues[e]??null),a=v[e];
1if(void 0===a||b&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(b,e))continue;let l={delay:i,...(0,r.r)(f||{},e)},c=o.get();if(void 0!==c&&!o.isAnimating&&!Array.isArray(a)&&a===c&&!l.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,n.Gt);null!==t&&(l.startTime=t,p=!0)}}(0,u.g)(t,e),o.start((0,d.f)(e,o,a,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:l,t,p));let m=o.animation;m&&y.push(m)}return g&&Promise.all(y).then(()=>{n.Gt.update(()=>{g&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=(0,l.K)(t,e)||{};for(let e in n={...n,...i}){var s;let i=(s=n[e],(0,a.p)(s)?s[s.length-1]||0:s);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,o.OQ)(i))}}(t,g)})}),y}},30614:(t,e,i)=>{i.d(e,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},31788:(t,e,i)=>{i.d(e,{n:()=>r});let r="data-"+(0,i(78450).I)("framerAppearId")},33055:(t,e,i)=>{i.d(e,{z:()=>s});var r=i(60018),n=i(20637);function s(t,{layout:e,layoutId:i}){return r.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!n.H[t]||"opacity"===t)}},33210:(t,e,i)=>{i.d(e,{k:()=>r});let r=(t,e,i)=>t+(e-t)*i},33757:(t,e,i)=>{i.d(e,{L:()=>o,m:()=>s});var r=i(78588),n=i(96147);function s(t,e){return(0,r.FY)((0,r.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let r=s(t,i),{scroll:o}=e;return o&&((0,n.Ql)(r.x,o.offset.x),(0,n.Ql)(r.y,o.offset.y)),r}},34158:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let r=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=r("deg"),s=r("%"),o=r("px"),a=r("vh"),l=r("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},34527:(t,e,i)=>{i.d(e,{x:()=>o});var r=i(64803),n=i(60018),s=i(60990);function o(t,e,i){let o=(0,s.x)(t,e,i);for(let i in t)((0,r.S)(t[i])||(0,r.S)(e[i]))&&(o[-1!==n.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},35580:(t,e,i)=>{i.d(e,{z:()=>o});var r=i(64803),n=i(60098),s=i(4756);function o(t,e,i){let o=(0,r.S)(t)?t:(0,n.OQ)(t);return o.start((0,s.f)("",o,e,i)),o.animation}},35695:(t,e,i)=>{var r=i(18999);i.o(r,"usePathname")&&i.d(e,{usePathname:function(){return r.usePathname}}),i.o(r,"useRouter")&&i.d(e,{useRouter:function(){return r.useRouter}}),i.o(r,"useSearchParams")&&i.d(e,{useSearchParams:function(){return r.useSearchParams}})},39688:(t,e,i)=>{i.d(e,{QP:()=>tt});let r=(t,e)=>{if(0===t.length)return e.classGroupId;let i=t[0],n=e.nextPart.get(i),s=n?r(t.slice(1),n):void 0;if(s)return s;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},n=/^\[(.+)\]$/,s=(t,e,i,r)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:o(e,t)).classGroupId=i;return}if("function"==typeof t)return a(t)?void s(t(r),e,i,r):void e.validators.push({validator:t,classGroupId:i});Object.entries(t).forEach(([t,n])=>{s(n,o(e,t),i,r)})})},o=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},a=t=>t.isThemeGetter,l=/\s+/;function u(){let t,e,i=0,r="";for(;i<arguments.length;)(t=arguments[i++])&&(e=h(t))&&(r&&(r+=" "),r+=e);return r}let h=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=h(t[r]))&&(i&&(i+=" "),i+=e);return i},d=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},c=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,p=/^\((?:(\w[\w-]*):)?(.+)\)$/i,m=/^\d+\/\d+$/,f=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,v=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,x=t=>m.test(t),w=t=>!!t&&!Number.isNaN(Number(t)),k=t=>!!t&&Number.isInteger(Number(t)),S=t=>t.endsWith("%")&&w(t.slice(0,-1)),T=t=>f.test(t),P=()=>!0,C=t=>g.test(t)&&!v.test(t),E=()=>!1,A=t=>y.test(t),M=t=>b.test(t),j=t=>!D(t)&&!I(t),V=t=>G(t,Y,E),D=t=>c.test(t),R=t=>G(t,_,C),F=t=>
1G(t,Q,w),L=t=>G(t,K,E),O=t=>G(t,X,M),B=t=>G(t,J,A),I=t=>p.test(t),W=t=>H(t,_),N=t=>H(t,Z),U=t=>H(t,K),z=t=>H(t,Y),$=t=>H(t,X),q=t=>H(t,J,!0),G=(t,e,i)=>{let r=c.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},H=(t,e,i=!1)=>{let r=p.exec(t);return!!r&&(r[1]?e(r[1]):i)},K=t=>"position"===t||"percentage"===t,X=t=>"image"===t||"url"===t,Y=t=>"length"===t||"size"===t||"bg-size"===t,_=t=>"length"===t,Q=t=>"number"===t,Z=t=>"family-name"===t,J=t=>"shadow"===t;Symbol.toStringTag;let tt=function(t,...e){let i,o,a,h=function(l){let u;return o=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,r=new Map,n=(n,s)=>{i.set(n,s),++e>t&&(e=0,r=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=r.get(t))?(n(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):n(t,e)}}})((u=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i,r=[],n=0,s=0,o=0;for(let i=0;i<t.length;i++){let a=t[i];if(0===n&&0===s){if(":"===a){r.push(t.slice(o,i)),o=i+1;continue}if("/"===a){e=i;continue}}"["===a?n++:"]"===a?n--:"("===a?s++:")"===a&&s--}let a=0===r.length?t:t.substring(o),l=(i=a).endsWith("!")?i.substring(0,i.length-1):i.startsWith("!")?i.substring(1):i;return{modifiers:r,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:e&&e>o?e-o:void 0}};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.substring(t.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:e,maybePostfixModifierPosition:void 0}}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(u),sortModifiers:(t=>{let e=Object.fromEntries(t.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;let i=[],r=[];return t.forEach(t=>{"["===t[0]||e[t]?(i.push(...r.sort(),t),r=[]):r.push(t)}),i.push(...r.sort()),i}})(u),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t,r={nextPart:new Map,validators:[]};for(let t in i)s(i[t],r,t,e);return r})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{let i=t.split("-");return""===i[0]&&1!==i.length&&i.shift(),r(i,e)||(t=>{if(n.test(t)){let e=n.exec(t)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}})(t)},getConflictingClassGroupIds:(t,e)=>{let r=i[t]||[];return e&&o[t]?[...r,...o[t]]:r}}})(u)}).cache.get,a=i.cache.set,h=d,d(l)};function d(t){let e=o(t);if(e)return e;let r=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(l),u="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:l,modifiers:h,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(e);if(l){u=e+(u.length>0?" "+u:u);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){u=e+(u.length>0?" "+u:u);continue}m=!1}let g=s(h).join(":"),v=d?g+"!":g,y=v+f;if(o.includes(y))continue;o.push(y);let b=n(f,m);for(let t=0;t<b.length;++t){let e=b[t];o.push(v+e)}u=e+(u.length>0?" "+u:u)}return u})(t,i);return a(t,r),r}return function(){return h(u.apply(null,arguments))}}(()=>{let t=d("color"),e=d("font"),i=d("text"),r=d("font-weight"),n=d("tracking"),s=d("leading"),o=d("breakpoint"),a=d("container"),l=d("spacing"),u=d("radius"),h=d("shadow"),c=d("inset-shadow"),p=d("text-shadow"),m=d("drop-shadow"),f=d("blur"),g=d("perspective"),v=d("aspect"),y=d("ease"),b=d("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],A=()=>[...E(),I,D],M=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],H=()=>[I,D,l],K=()=>[x,"full","auto",...H()],X=()=>[k,"none","subgrid",I,D],Y=()=>["auto",{span:["full",k,I,D]},k,I,D],_=()=>[k,"auto",I,D],Q=()=>["auto","min","max","fr",I,D],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...H()],te=()=>[x,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...H()],ti=()=>[t,I,D],tr=()=>[...E(),U,L,{position:[I,D]}],tn=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ts=()=>["auto","cover","contain",z,V,{size:[I,D]}],to=()=>[S,W,R],ta=()=>["","none","full",u,I,D],tl=()=>["",w,W,R],tu=()=>["solid","dashed","dotted","double"],th=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],td=()=>[w,S,U,L],tc=()=>["","none",f,I,D],tp=()=>["none",w,I,D],tm=()=>["none",w,I,D],tf=()=>[w,I,D],tg=()=>[x,"full",...H()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[T],breakpoint:[T],color:[P],container:[T],"drop-shadow":[T],ease:["in","out","in-out"],font:[j],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[T],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[T],shadow:[T],spacing:["px",w],text:[T],"text-shadow":[T],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",x,D,I,v]}
vendor: 4,410 bytes, line 1
1],container:["container"],columns:[{columns:[w,D,I,a]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:A()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{start:K()}],end:[{end:K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[k,"auto",I,D]}],basis:[{basis:[x,"full","auto",a,...H()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[w,x,"auto","initial","none",D]}],grow:[{grow:["",w,I,D]}],shrink:[{shrink:["",w,I,D]}],order:[{order:[k,"first","last","none",I,D]}],"grid-cols":[{"grid-cols":X()}],"col-start-end":[{col:Y()}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":X()}],"row-start-end":[{row:Y()}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Q()}],"auto-rows":[{"auto-rows":Q()}],gap:[{gap:H()}],"gap-x":[{"gap-x":H()}],"gap-y":[{"gap-y":H()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:H()}],px:[{px:H()}],py:[{py:H()}],ps:[{ps:H()}],pe:[{pe:H()}],pt:[{pt:H()}],pr:[{pr:H()}],pb:[{pb:H()}],pl:[{pl:H()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":H()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":H()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,W,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,I,F]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",S,D]}],"font-family":[{font:[N,D,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,I,D]}],"line-clamp":[{"line-clamp":[w,"none",I,F]}],leading:[{leading:[s,...H()]}],"list-image":[{"list-image":["none",I,D]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",I,D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tu(),"w
1avy"]}],"text-decoration-thickness":[{decoration:[w,"from-font","auto",I,R]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[w,"auto",I,D]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I,D]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",I,D]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:tn()}],"bg-size":[{bg:ts()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},k,I,D],radial:["",I,D],conic:[k,I,D]},$,O]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tu(),"hidden","none"]}],"divide-style":[{divide:[...tu(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...tu(),"none","hidden"]}],"outline-offset":[{"outline-offset":[w,I,D]}],"outline-w":[{outline:["",w,W,R]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",h,q,B]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",c,q,B]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[w,R]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",p,q,B]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[w,I,D]}],"mix-blend":[{"mix-blend":[...th(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":th()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[w]}],"mask-image-linear-from-pos":[{"mask-linear-from":td()}],"mask-image-linear-to-pos":[{"mask-linear-to":td()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":td()}],"mask-image-t-to-pos":[{"mask-t-to":td()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":td()}],"mask-image-r-to-pos":[{"mask-r-to":td()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":td()}],"mask-image-b-to-pos":[{"mask-b-to":td()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":td()}],"mask-image-l-to-pos":[{"mask-l-to":td()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":td()}],"mask-image-x-to-pos":[{"mask-x-to":td()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":td()}],"mask-image-y-to-pos":[{"mask-y-to":td()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[I,D]}],"mask-image-radial-from-pos":[{"mask-radial-from":td()}],"mask-image-radial-to-pos":[{"mask-radial-to":td()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[w]}],"mask-image-conic-from-pos":[{"mask-conic-from":td()}],"mask-image-conic-to-pos":[{"mask-conic-to":td()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:tn()}],"mask-size":[{mask:ts()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",I,D]}],filter:[{filter:["","none",I,D]}],blur:[{blur:tc()}],brightness:[{brightness:[w,I,D]}],contrast:[{contrast:[w,I,D]}],"drop-shadow":[{"drop-shadow":["","none",m,q,B]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",w,I,D]}],"hue-rotate":[{"hue-rotate":[w,I,D]}],invert:[{invert:["",w,I,D]}],saturate:[{saturate:[w,I,D]}],sepia:[{sepia:["",w,I,D]}],"backdrop-filter":[{"backdrop-filter":["","none",I,D]}],"backdrop-blur":[{"backdrop-blur":tc()}],"backdrop-brightness":[{"backdrop-brightness":[w,I,D]}],"backdrop-contrast":[{"backdrop-contrast":[w,I,D]}],"backdrop-grayscale":[{"backdrop-grayscale":["",w,I,D]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w,I,D]}],"backdrop-invert":[{"backdrop-invert":["",w,I,D]}],"backdrop-opacity":[{"backdrop-opacity":[w,I,D]}],"backdrop-saturate":[{"backdrop-saturate":[w,I,D]}],"backdrop-sepia":[{"backdrop-sepia":["",w,I,D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":H()}],"border-spacing-x":[{"border-spacing-x":H()}],"border-spacing-y":[{"border-spacing-y":H()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",I,D]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[w,"initial",I,D]}],ease:[{ease:["linear","initial",y,I,D]}],delay:[{delay:[w,I,D]}],animate:[{animate:["none",b,I,D]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,I,D]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:tp()}],"rotate-x":[{"rotate-x":tp()}],"rotate-y":[{"rotate-y":tp()}],"rotate-z":[{"rotate-z":tp()}],scale:[{scale:tm()}],"scale-x":[{"scale-x":tm()}],"scale-y":[{"scale-y":tm()}],"scale-z":[{"scale-z":tm()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[I,D,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",I,D]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",I,D]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[w,W,R,F]}],stroke:[{stroke:["none",...ti()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},39853:(t,e,i)=>{i.d(e,{X:()=>a,k:()=>l});var r=i(52020),n=i(7165),s=i(6784),o=i(57948),a=class extends o.k{#r;#n;#s;#o;#a;#l;#u;constructor(t){super(),this.#u=!1,this.#l=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#o=t.client,this.#s=this.#o.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#r=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,i=void 0!==e,r=i?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:i?r??Date.now():0,error:null,errorUpdate
1Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#r,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(t){this.options={...this.#l,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(t,e){let i=(0,r.pl)(this.state.data,t,this.options);return this.#h({data:i,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),i}setState(t,e){this.#h({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#a?.promise;return this.#a?.cancel(t),e?e.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#r)}isActive(){return this.observers.some(t=>!1!==(0,r.Eh)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,r.d2)(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!(0,r.j3)(this.state.dataUpdatedAt,t))}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#a&&(this.#u?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}async fetch(t,e){if("idle"!==this.state.fetchStatus&&this.#a?.status()!=="rejected"){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let i=new AbortController,n=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#u=!0,i.signal)})},o=()=>{let t=(0,r.ZM)(this.options,e),i=(()=>{let t={client:this.#o,queryKey:this.queryKey,meta:this.meta};return n(t),t})();return(this.#u=!1,this.options.persister)?this.options.persister(t,i,this):t(i)},a=(()=>{let t={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:o};return n(t),t})();this.options.behavior?.onFetch(a,this),this.#n=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#h({type:"fetch",meta:a.fetchOptions?.meta}),this.#a=(0,s.II)({initialPromise:e?.initialPromise,fn:a.fetchFn,abort:i.abort.bind(i),onFail:(t,e)=>{this.#h({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let t=await this.#a.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#s.config.onSuccess?.(t,this),this.#s.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof s.cc){if(t.silent)return this.#a.promise;else if(t.revert){if(this.setState({...this.#n,fetchStatus:"idle"}),void 0===this.state.data)throw t;return this.state.data}}throw this.#h({type:"error",error:t}),this.#s.config.onError?.(t,this),this.#s.config.onSettled?.(this.state.data,t,this),t}finally{this.scheduleGc()}}#h(t){let e=e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...l(e.data,this.options),fetchMeta:t.meta??null};case"success":let i={...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?i:void 0,i;case"error":let r=t.error;
1return{...e,error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),n.jG.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}};function l(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,s.v_)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}},41834:(t,e,i)=>{i.d(e,{D:()=>o});var r=i(4272),n=i(72171);let s={...i(72403).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:n.p,WebkitFilter:n.p},o=t=>s[t]},42198:(t,e,i)=>{i.d(e,{K:()=>r});function r(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}},43128:(t,e,i)=>{i.d(e,{W:()=>r});function r(t){return"function"==typeof t&&"applyToOptions"in t}},45818:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r}},46926:(t,e,i)=>{i.d(e,{P:()=>n});var r=i(31788);function n(t){return t.props[r.n]}},47215:(t,e,i)=>{i.d(e,{X:()=>n,f:()=>r});let r=t=>1e3*t,n=t=>t/1e3},47277:(t,e,i)=>{i.d(e,{J:()=>o});var r=i(60010),n=i(72171),s=i(41834);function o(t,e){let i=(0,s.D)(t);return i!==n.p&&(i=r.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},47705:(t,e,i)=>{i.d(e,{K:()=>r});let r=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}},50920:(t,e,i)=>{i.d(e,{m:()=>s});var r=i(25910),n=i(52020),s=new class extends r.Q{#d;#e;#i;constructor(){super(),this.#i=t=>{if(!n.S$&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#i=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#d!==t&&(this.#d=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#d?this.#d:globalThis.document?.visibilityState!=="hidden"}}},51362:(t,e,i)=>{i.d(e,{D:()=>u,N:()=>h});var r=i(12115),n=(t,e,i,r,n,s,o,a)=>{let l=document.documentElement,u=["light","dark"];function h(e){var i;(Array.isArray(t)?t:[t]).forEach(t=>{let i="class"===t,r=i&&s?n.map(t=>s[t]||t):n;i?(l.classList.remove(...r),l.classList.add(s&&s[e]?s[e]:e)):l.setAttribute(t,e)}),i=e,a&&u.includes(i)&&(l.style.colorScheme=i)}if(r)h(r);else try{let t=localStorage.getItem(e)||i,r=o&&"system"===t?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t;h(r)}catch(t){}},s=["light","dark"],o="(prefers-color-scheme: dark)",a=r.createContext(void 0),l={setTheme:t=>{},themes:[]},u=()=>{var t;return null!=(t=r.useContext(a))?t:l},h=t=>r.useContext(a)?r.createElement(r.Fragment,null,t.children):r.createElement(c,{...t}),d=["light","dark"],c=t=>{let{forcedTheme:e,disableTransitionOnChange:i=!1,enableSystem:n=!0,enableColorScheme:l=!0,storageKey:u="theme",themes:h=d,defaultTheme:c=n?"system":"light",attribute:v="data-theme",value:y,children:b,nonce:x,scriptProps:w}=t,[k,S]=r.useState(()=>m(u,c)),[T,P]=r.useState(()=>"system"===k?g():k),C=y?Object.values(y):h,E=r.useCallback(t=>{let e=t;if(!e)return;"system"===t&&n&&(e=g());let r=y?y[e]:e,o=i?f(x):null,a=document.documentElement,u=t=>{"class"===t?(a.classList.remove(...C),r&&a.classList.add(r)):t.startsWith("data-")&&(r?a.setAttribute(t,r):a.removeAttribute(t))};if(Array.isArray(v)?v.forEach(u):u(v),l){let t=s.includes(c)?c:null,i=s.includes(e)?e:t;a.style.colorScheme=i}null==o||o()},[x]),A=r.useCallback(t=>{let e="function"==typeof t?t(k):t;S(e);try{localStorage.setItem(u,e)}catch(t){}},[k]),M=r.useCallback(t=>{P(g(t)),"system"===k&&n&&!e&&E("system")},[k,e]);r.useEffect(()=>{let t=window.matchMedia(o);return t.addListener(M),M(t),()=>t.removeListener(M)},[M]),r.useEffect(()=>{let t=t=>{t.key===u&&(t.newValue?S(t.newValue):A(c))};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[A]),r.useEffect(()=>{E(null!=e?e:k)},[e,k]);let j=r.useMemo(()=>({theme:k,setTheme:A,forcedTheme:e,resolvedTheme:"system"===k?T:k,themes:n?[...h,"system"]:h,systemTheme:n?T:void 0}),[k,A,e,T,n,h]);return r.createElement(a.Provider,{value:j},r.createElement(p,{forcedTheme:e,storageKey:u,attribute:v,enableSystem:n,enableColorScheme:l,defaultTheme:c,value:y,themes:h,nonce:x,scriptProps:w}),b)},p=r.memo(t=>{let{forcedTheme:e,storageKey:i,attribute:s,enableSystem:o,enableColorScheme:a,defaultTheme:l,value:u,themes:h,nonce:
1d,scriptProps:c}=t,p=JSON.stringify([s,i,l,e,h,u,o,a]).slice(1,-1);return r.createElement("script",{...c,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(n.toString(),")(").concat(p,")")}})}),m=(t,e)=>{let i;try{i=localStorage.getItem(t)||void 0}catch(t){}return i||e},f=t=>{let e=document.createElement("style");return t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},g=t=>(t||(t=window.matchMedia(o)),t.matches?"dark":"light")},51508:(t,e,i)=>{i.d(e,{Q:()=>r});let r=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},52020:(t,e,i)=>{i.d(e,{Cp:()=>m,EN:()=>p,Eh:()=>u,F$:()=>c,GU:()=>P,MK:()=>h,S$:()=>r,ZM:()=>T,ZZ:()=>k,Zw:()=>s,d2:()=>l,f8:()=>f,gn:()=>o,hT:()=>S,j3:()=>a,lQ:()=>n,nJ:()=>d,pl:()=>x,y9:()=>w,yy:()=>b});var r="undefined"==typeof window||"Deno"in globalThis;function n(){}function s(t,e){return"function"==typeof t?t(e):t}function o(t){return"number"==typeof t&&t>=0&&t!==1/0}function a(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e){return"function"==typeof t?t(e):t}function u(t,e){return"function"==typeof t?t(e):t}function h(t,e){let{type:i="all",exact:r,fetchStatus:n,predicate:s,queryKey:o,stale:a}=t;if(o){if(r){if(e.queryHash!==c(o,e.options))return!1}else if(!m(e.queryKey,o))return!1}if("all"!==i){let t=e.isActive();if("active"===i&&!t||"inactive"===i&&t)return!1}return("boolean"!=typeof a||e.isStale()===a)&&(!n||n===e.state.fetchStatus)&&(!s||!!s(e))}function d(t,e){let{exact:i,status:r,predicate:n,mutationKey:s}=t;if(s){if(!e.options.mutationKey)return!1;if(i){if(p(e.options.mutationKey)!==p(s))return!1}else if(!m(e.options.mutationKey,s))return!1}return(!r||e.state.status===r)&&(!n||!!n(e))}function c(t,e){return(e?.queryKeyHashFn||p)(t)}function p(t){return JSON.stringify(t,(t,e)=>v(e)?Object.keys(e).sort().reduce((t,i)=>(t[i]=e[i],t),{}):e)}function m(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(i=>m(t[i],e[i]))}function f(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let i in t)if(t[i]!==e[i])return!1;return!0}function g(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function v(t){if(!y(t))return!1;let e=t.constructor;if(void 0===e)return!0;let i=e.prototype;return!!y(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function y(t){return"[object Object]"===Object.prototype.toString.call(t)}function b(t){return new Promise(e=>{setTimeout(e,t)})}function x(t,e,i){return"function"==typeof i.structuralSharing?i.structuralSharing(t,e):!1!==i.structuralSharing?function t(e,i){if(e===i)return e;let r=g(e)&&g(i);if(r||v(e)&&v(i)){let n=r?e:Object.keys(e),s=n.length,o=r?i:Object.keys(i),a=o.length,l=r?[]:{},u=new Set(n),h=0;for(let n=0;n<a;n++){let s=r?n:o[n];(!r&&u.has(s)||r)&&void 0===e[s]&&void 0===i[s]?(l[s]=void 0,h++):(l[s]=t(e[s],i[s]),l[s]===e[s]&&void 0!==e[s]&&h++)}return s===a&&h===s?e:l}return i}(t,e):e}function w(t,e,i=0){let r=[...t,e];return i&&r.length>i?r.slice(1):r}function k(t,e,i=0){let r=[e,...t];return i&&r.length>i?r.slice(0,-1):r}var S=Symbol();function T(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==S?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function P(t,e){return"function"==typeof t?t(...e):!!t}},52458:(t,e,i)=>{i.d(e,{Y:()=>r,t:()=>n});let r=2e4;function n(t){let e=0,i=t.next(e);for(;!i.done&&e<r;)e+=50,i=t.next(e);return e>=r?1/0:e}},52596:(t,e,i)=>{function r(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}i.d(e,{$:()=>r,A:()=>n});let n=r},53191:(t,e,i)=>{i.d(e,{F:()=>n});let r=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(r)},53678:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>i>e?e:i<t?t:i}
1,54180:(t,e,i)=>{i.d(e,{G:()=>r});let r=t=>e=>1-t(1-e)},54542:(t,e,i)=>{i.d(e,{$:()=>r,V:()=>n});let r=()=>{},n=()=>{}},55920:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var r=i(30614);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(r.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},56668:(t,e,i)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>r})},57887:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var r=i(53678);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,r.q)(0,1,t)},o={...n,default:1}},57948:(t,e,i)=>{i.d(e,{k:()=>n});var r=i(52020),n=class{#c;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.gcTime)&&(this.#c=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(r.S$?1/0:3e5))}clearGcTimeout(){this.#c&&(clearTimeout(this.#c),this.#c=void 0)}}},58109:(t,e,i)=>{i.d(e,{$:()=>r});let r=new Set(["width","height","top","left","right","bottom",...i(60018).U])},58437:(t,e,i)=>{i.d(e,{I:()=>o});var r=i(23387);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(24744);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=n.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let o=s&&n?i:r;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{r.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}n=!0,[i,r]=[r,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),n=!1,o&&(o=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:h,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:g,postRender:v}=u,y=()=>{let n=r.W.useManualTiming?a.timestamp:performance.now();i=!1,r.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,h.process(a),d.process(a),c.process(a),p.process(a),m.process(a),f.process(a),g.process(a),v.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(y))};return{schedule:n.reduce((e,r)=>{let n=u[r];return e[r]=(e,r=!1,s=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(y)),n.schedule(e,r,s)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)u[n[e]].cancel(t)},state:a,steps:u}}},60010:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var r=i(4272);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(30614),o=i(11557);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(r.y.test(t)?(n.color.push(o),s.push(l),i.push(r.y.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),i.push(t)):(n.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:n,types:s}}function d(t){return h(t).values}function c(t){let{split:e,types:i}=h(t),n=e.length;return t=>{let s="";for(let u=0;u<n;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=r.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:r.y.test(t)?r.y.getAnimatableNone(t):t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(n)?.length||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},60018:(t,e,i)=>{i.d(e,{U:()=>r,f:()=>n});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(r)},60098:(t,e,i)=>{i.d(e,{OQ:()=>u,bt:()=>a});var r=i(75626),n=i(62923),s=i(74261),o=i(69515);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}}
1,60280:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>d,W9:()=>h});var r=i(84160),n=i(60018),s=i(57887),o=i(34158);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),u=n.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,r.ry)(e,"x"),y:(t,{transform:e})=>(0,r.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},60728:(t,e,i)=>{i.d(e,{l:()=>p});var r=i(60018),n=i(41834),s=i(81786),o=i(25193),a=i(78450),l=i(82076);let u=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var h=i(93095),d=i(20600),c=i(34527);class p extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(r.f.has(e)){let t=(0,n.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,c.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in(0,d.e)(t,e,void 0,r),e.attrs)t.setAttribute(u.has(i)?i:(0,a.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},60990:(t,e,i)=>{i.d(e,{x:()=>s});var r=i(64803),n=i(33055);function s(t,e,i){let{style:s}=t,o={};for(let a in s)((0,r.S)(s[a])||e.style&&(0,r.S)(e.style[a])||(0,n.z)(a,t)||i?.getValue(a)?.liveStyle!==void 0)&&(o[a]=s[a]);return o}},61081:(t,e,i)=>{i.d(e,{h:()=>r});let r=t=>Array.isArray(t)&&"number"!=typeof t[0]},62662:(t,e,i)=>{function r(t){return void 0===t||1===t}function n({scale:t,scaleX:e,scaleY:i}){return!r(t)||!r(e)||!r(i)}function s(t){return n(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>o,vk:()=>n})},62923:(t,e,i)=>{i.d(e,{f:()=>r});function r(t,e){return e?1e3/e*t:0}},63562:(t,e,i)=>{i.d(e,{B:()=>A});var r=i(7322),n=i(74261),s=i(69515),o=i(64803),a=i(60018),l=i(60098),u=i(4272),h=i(60010),d=i(64050),c=i(73522);let p=[...d.T,u.y,h.f];var m=i(47277),f=i(87123),g=i(83014),v=i(7312),y=i(75626),b=i(6642),x=i(81786),w=i(68972);let k={current:null},S={current:!1};var T=i(65511),P=i(19253),C=i(2735);let E=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class A{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:l,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=r.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=n.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,s.Gt.render(this.render,!1,!0))};let{latestValues:d,renderState:c}=u;this.latestValues=d,this.baseTarget={...d},this.initialValues=e.initial?{...d}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=h,this.blockInitialAnimation=!!l,this.isControllingVariants=(0,P.e)(e),this.isVariantNode=(0,P.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...m}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in m){let e=m[t];void 0!==d[t]&&(0,o.S)(e)&&e.set(d[t])}}mount(t){this.current=t,T.C.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),S.current||function(){if(S.current=!0,w.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>k.current=t.matches;t.addEventListener("change",e),e()}else k.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||k.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,s.WG)(this.notifyUpdate),(0,s.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=a.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in b.B){let e=b.B[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,x.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<E.length;e++){let i=E[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if((0,o.S)(n))t.addValue(r,n);else if((0,o.S)(s))t.addValue(r,(0,l.OQ)(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,(0,l.OQ)(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,l.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&((0,g.i)(i)||(0,v.$)(i)))i=parseFloat(i);else{let r;r=i,!p.find((0,c.w)(r))&&h.f.test(e)&&(i=(0,m.J)(t,e))}this.setBaseTarget(t,(0,o.S)(i)?i.get():i)}return(0,o.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=(0,C.a)(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,o.S)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new y.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){f.k.render(this.render)}}},63704:(t,e,i)=>{i.d(e,{q:()=>r});let r={layout:0,mainThread:0,waapi:0}},64050:(t,e,i)=>{i.d(e,{T:()=>
1o,n:()=>a});var r=i(57887),n=i(34158),s=i(73522);let o=[r.ai,n.px,n.KN,n.uj,n.vw,n.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.w)(t))},64803:(t,e,i)=>{i.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},65305:(t,e,i)=>{i.d(e,{w:()=>r});function r(t){return"string"==typeof t||Array.isArray(t)}},65511:(t,e,i)=>{i.d(e,{C:()=>r});let r=new WeakMap},68972:(t,e,i)=>{i.d(e,{B:()=>r});let r="undefined"!=typeof window},69515:(t,e,i)=>{i.d(e,{Gt:()=>n,PP:()=>a,WG:()=>s,uv:()=>o});var r=i(19827);let{schedule:n,cancel:s,state:o,steps:a}=(0,i(58437).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},69782:(t,e,i)=>{i.d(e,{x:()=>n});var r=i(6983);function n(t){return(0,r.G)(t)&&"ownerSVGElement"in t}},72017:(t,e,i)=>{i.d(e,{f:()=>s});var r=i(45818),n=i(33210);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,r.q)(0,e,s);t.push((0,n.k)(i,1,o))}}},72171:(t,e,i)=>{i.d(e,{p:()=>l});var r=i(60010),n=i(30614);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(n.S)||[];if(!r)return t;let o=i.replace(r,""),a=+!!s.has(e);return r!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},72403:(t,e,i)=>{i.d(e,{W:()=>a});var r=i(57887);let n={...r.ai,transform:Math.round};var s=i(34158);let o={rotate:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:r.X4,originX:s.gQ,originY:s.gQ,originZ:s.px},a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o,zIndex:n,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:n}},73504:(t,e,i)=>{i.d(e,{T:()=>r});function r(){let t,e,i=new Promise((i,r)=>{t=i,e=r});function r(t){Object.assign(i,t),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=e=>{r({status:"fulfilled",value:e}),t(e)},i.reject=t=>{r({status:"rejected",reason:t}),e(t)},i}},73522:(t,e,i)=>{i.d(e,{w:()=>r});let r=t=>e=>e.test(t)},73945:(t,e,i)=>{i.d(e,{Y:()=>n});var r=i(62923);function n(t,e,i){let n=Math.max(e-5,0);return(0,r.f)(i-t(n),e-n)}},74261:(t,e,i)=>{let r;i.d(e,{k:()=>a});var n=i(23387),s=i(69515);function o(){r=void 0}let a={now:()=>(void 0===r&&a.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(o)}}},74466:(t,e,i)=>{i.d(e,{F:()=>o});var r=i(52596);let n=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,s=r.$,o=(t,e)=>i=>{var r;if((null==e?void 0:e.variants)==null)return s(t,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:o,defaultVariants:a}=e,l=Object.keys(o).map(t=>{let e=null==i?void 0:i[t],r=null==a?void 0:a[t];if(null===e)return null;let s=n(e)||n(r);return o[t][s]}),u=i&&Object.entries(i).reduce((t,e)=>{let[i,r]=e;return void 0===r||(t[i]=r),t},{});return s(t,l,null==e||null==(r=e.compoundVariants)?void 0:r.reduce((t,e)=>{let{class:i,className:r,...n}=e;return Object.entries(n).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...a,...u}[e]):({...a,...u})[e]===i})?[...t,i,r]:t},[]),null==i?void 0:i.class,null==i?void 0:i.className)}},75245:(t,e,i)=>{i.d(e,{M:()=>d});var r=i(60018),n=i(84160),s=i(78606),o=i(33757),a=i(25193),l=i(7684),u=i(20600),h=i(60990);class d extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(r.f.has(e))return this.projection?.isProjecting?(0,n.zs)(e):(0,n.Ib)(t,e);{let i=window.getComputedStyle(t),r=((0,s.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},75626:(t,e,i)=>{i.d(e,{v:()=>n});var r=i(56668);class n{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},76333:(t,e,i)=>{i.d(e,{g:()=>s});var r=i(23387),n=i(64803);function s(t,e){let i=t.getValue("willChange");if((0,n.S)(i)&&i.add)return i.add(e);if(!i&&r.W.WillChange){let i=new r.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},78450:(t,e,i)=>{i.d(e,{I:()=>r});let r=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},78588:(t,e,i)=>{function r({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function n({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}i.d(e,{FY:()=>r,bS:()=>s,pA:()=>n})},78606:(t,e,i)=>{i.d(e,{j:()=>n,p:()=>o});let r=t=>e=>"string"==typeof e&&e.startsWith(t),n=r("--"),s=r("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},78777:(t,e,i)=>{i.d(e,{r:()=>r});function r(t,e){return t?.[e]??t?.default??t}},79115:(t,e,i)=>{i.d(e,{Z:()=>n});var r=i(72017);function n(t){let e=[0];return(0,r.f)(e,t.length-1),e}},79218:(t,e,i)=>{i.d(e,{P:()=>iS});var r=i(12115),n=i(75245),s=i(60728);let o=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function a(t){if("string"!=typeof t||t.includes("-"));else if(o.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var l=i(95155);let u=(0,r.createContext)({}),h=(0,r.createContext)({strict:!1});var d=i(51508);let c=(0,r.createContext)({});var p=i(19253),m=i(65305);function f(t){return Array.isArray(t)?t.join(" "):t}var g=i(64803),v=i(33055),y=i(7684);let b=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function x(t,e,i){for(let r in e)(0,g.S)(e[r])||(0,v.z)(r,i)||(t[r]=e[r])}var w=i(82076);let k=()=>({...b(),attrs:{}});var S=i(93095);let T=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function P(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||T.has(t)}let C=t=>!P(t);try{!function(t){"function"==typeof t&&(C=e=>e.startsWith("on")?!P(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var E=i(6340);let A=(0,r.createContext)(null);var M=i(2735),j=i(82885);function V(t){return(0,g.S)(t)?t.get():t}let D=t=>(e,i)=>{let n=(0,r.useContext)(c),s=(0,r.useContext)(A),o=()=>(function(t,e,i,r){let{scrapeMotionValuesFromProps:n,createRenderState:s}=t;return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=V(s[t]);let{initial:o,animate:a}=t,l=(0,p.e)(t),u=(0,p.O)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,E.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let r=(0,M.a)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(e,i,r,n),renderState:s()}})(t,e,n,s);return i?o():(0,j.M)(o)},R=D({scrapeMotionValuesFromProps:i(60990).x,createRenderState:b}),F=D({scrapeMotionValuesFromProps:i(34527).x,createRenderState:k});var L=i(68972),O=i(6642);let B=Symbol.for("motionComponentSymbol");function I(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var W=i(31788);let N=(0,r.createContext)({});var U=i(97494);function z(t){var e,i;let{forwardMotionProps:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)O.B[e]={...O.B[e],...t[e]}}(s);let v=a(t)?F:R;function T(e,i){var s;let T,E={...(0,r.useContext)(d.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,r.useContext)(u).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:M}=E,j=function(t){let{initial:e,animate:i}=function(t,e){if((0,p.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,m.w)(e)?e:void 0,animate:(0,m.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(c));return(0,r.useMemo)(()=>({initial:e,animate:i}),[f(e),f(i)])}(e),V=v(e,M);
1if(!M&&L.B){(0,r.useContext)(h).strict;let e=function(t){let{drag:e,layout:i}=O.B;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(E);T=e.MeasureLayout,j.visualElement=function(t,e,i,n,s){var o,a,l,u;let{visualElement:p}=(0,r.useContext)(c),m=(0,r.useContext)(h),f=(0,r.useContext)(A),g=(0,r.useContext)(d.Q).reducedMotion,v=(0,r.useRef)(null);n=n||m.renderer,!v.current&&n&&(v.current=n(t,{visualState:e,parent:p,props:i,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:g}));let y=v.current,b=(0,r.useContext)(N);y&&!y.projection&&s&&("html"===y.type||"svg"===y.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&I(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u})}(v.current,i,s,b);let x=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{y&&x.current&&y.update(i,f)});let w=i[W.n],k=(0,r.useRef)(!!w&&!(null==(o=(a=window).MotionHandoffIsComplete)?void 0:o.call(a,w))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,w)));return(0,U.E)(()=>{y&&(x.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),k.current&&y.animationState&&y.animationState.animateChanges())}),(0,r.useEffect)(()=>{y&&(!k.current&&y.animationState&&y.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,w)}),k.current=!1),y.enteringChildren=void 0)}),y}(t,V,E,o,e.ProjectionNode)}return(0,l.jsxs)(c.Provider,{value:j,children:[T&&j.visualElement?(0,l.jsx)(T,{visualElement:j.visualElement,...E}):null,function(t,e,i,n,s){let{latestValues:o}=n,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=(a(t)?function(t,e,i,n){let s=(0,r.useMemo)(()=>{let i=k();return(0,w.B)(i,e,(0,S.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};x(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return x(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,r.useMemo)(()=>{let t=b();return(0,y.O)(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,o,s,t),h=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(C(n)||!0===i&&P(n)||!e&&!P(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,l),d=t!==r.Fragment?{...h,...u,ref:i}:{},{children:c}=e,p=(0,r.useMemo)(()=>(0,g.S)(c)?c.get():c,[c]);return(0,r.createElement)(t,{...d,children:p})}(t,e,(s=j.visualElement,(0,r.useCallback)(t=>{t&&V.onMount&&V.onMount(t),s&&(t?s.mount(t):s.unmount()),i&&("function"==typeof i?i(t):I(i)&&(i.current=t))},[s])),V,M,n)]})}T.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let E=(0,r.forwardRef)(T);return E[B]=t,E}var $=i(20419),q=i(27934);function G(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function H(t,e,i={}){let r=(0,$.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all((0,q.$)(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(H(l,e,{...o,delay:i+("function"==typeof r?0:r)+G(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}var K=i(5910);function X(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}var Y=i(98312);let _=Y._.length,Q=[...Y.U].reverse(),Z=Y.U.length;function J(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tt(){return{animate:J(!0),whileInView:J(),whileHover:J(),whileTap:J(),whileDrag:J(),whileFocus:J(),exit:J()}}class te{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ti extends te{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>H(t,e,i)));else if("string"==typeof e)r=H(t,e,i);else{let n="function"==typeof e?(0,$.K)(t,e,i.custom):e;r=Promise.all((0,q.$)(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=tt(),r=!0,n=e=>(i,r)=>{let n=(0,$.K)(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<_;t++){let r=Y._[t],n=e.props[r];((0,m.w)(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},l=[],u=new Set,h={},d=1/0;for(let e=0;e<Z;e++){var c,p;let f=Q[e],g=i[f],v=void 0!==o[f]?o[f]:a[f],y=(0,m.w)(v),b=f===s?g.isActive:null;!1===b&&(d=e);let x=v===a[f]&&v!==o[f]&&y;if(x&&r&&t.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...h},!g.isActive&&null===b||!v&&!g.prevProp||(0,E.N)(v)||"boolean"==typeof v)continue;let w=(c=g.prevProp,"string"==typeof(p=v)?p!==c:!!Array.isArray(p)&&!X(p,c)),k=w||f===s&&g.isActive&&!x&&y||e>d&&y,S=!1,T=Array.isArray(v)?v:[v],P=T.reduce(n(f),{});!1===b&&(P={});let{prevResolvedValues:C={}}=g,A={...C,...P},M=e=>{k=!0,u.has(e)&&(S=!0,u.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in A){let e=P[t],i=C[t];if(!h.hasOwnProperty(t))((0,K.p)(e)&&(0,K.p)(i)?X(e,i):e===i)?void 0!==e&&u.has(t)?M(t):g.protectedKeys[t]=!0:null!=e?M(t):u.add(t)}g.prevProp=v,g.prevResolvedValues=P,g.isActive&&(h={...h,...P}),r&&t.blockInitialAnimation&&(k=!1);let j=x&&w,V=!j||S;k&&V&&l.push(...T.map(e=>{let i={type:f};if("string"==typeof e&&r&&!j&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=(0,$.K)(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=G(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=(0,$.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),l.push({animation:e})}let f=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),r=!1,f?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=s(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tt()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,E.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tr=0;class tn extends te{constructor(){super(...arguments),this.id=tr++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var ts=i(19827);let to={x:!1,y:!1};var ta=i(34158),tl=i(69515),tu=i(33210),th=i(54542),td=i(4756);function tc(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let tp=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tm(t){return{point:{x:t.pageX,y:t.pageY}}}function tf(t,e,i,r){return tc(t,e,t=>tp(t)&&i(t,tm(t)),r)}var tg=i(78588);function tv(t){return t.max-t.min}function ty(t,e,i,r=.5){t.origin=r,t.originPoint=(0,tu.k)(e.min,e.max,t.origin),t.scale=tv(i)/tv(e),t.translate=(0,tu.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tb(t,e,i,r){ty(t.x,e.x,i.x,r?r.originX:void 0),ty(t.y,e.y,i.y,r?r.originY:void 0)}function tx(t,e,i){t.min=i.min+e.min,t.max=t.min+tv(e)}function tw(t,e,i){t.min=e.min-i.min,t.max=t.min+tv(e)}function tk(t,e,i){tw(t.x,e.x,i.x),tw(t.y,e.y,i.y)}var tS=i(81786);function tT(t){return[t("x"),t("y")]}var tP=i(33757);let tC=({current:t})=>t?t.ownerDocument.defaultView:null;var tE=i(76333),tA=i(53191),tM=i(47215);let tj=(t,e)=>Math.abs(t-e);class tV{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=tF(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(tj(t.x,e.x)**2+tj(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:r}=t,{timestamp:n}=tl.uv;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tD(e,this.transformPagePoint),tl.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tF("pointercancel"===t.type?this.lastMoveEventInfo:tD(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!tp(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;let o=tD(tm(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=tl.uv;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,tF(o,this.history)),this.removeListeners=(0,tA.F)(tf(this.contextWindow,"pointermove",this.handlePointerMove),tf(this.contextWindow,"pointerup",this.handlePointerUp),tf(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tl.WG)(this.updatePoint)}}function tD(t,e){return e?{point:e(t.point)}:t}function tR(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tF({point:t},e){return{point:t,delta:tR(t,tL(e)),offset:tR(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=tL(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>(0,tM.f)(.1)));)i--;if(!r)return{x:0,y:0};let s=(0,tM.X)(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tL(t){return t[t.length-1]}var tO=i(45818),tB=i(53678);function tI(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tW(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function tN(t,e,i){return{min:tU(t,e),max:tU(t,i)}}function tU(t,e){return"number"==typeof t?t:t[e]||0}let tz=new WeakMap;class t${constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tS.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tm(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(to[t])return null;else return to[t]=!0,()=>{to[t]=!1};return to.x||to.y?null:(to.x=to.y=!0,()=>{to.x=to.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tT(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ta.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=tv(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&tl.Gt.postRender(()=>n(t,e)),(0,tE.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>tT(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new tV(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:tC(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tl.Gt.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tq(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,tu.k)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,tu.k)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&I(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:tI(t.x,i,n),y:tI(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tN(t,"left","right"),y:tN(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tT(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!I(e))return!1;let r=e.current;(0,th.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=(0,tP.L)(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:tW(t.x,s.x),y:tW(t.y,s.y)});if(i){let t=i((0,tg.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tg.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tT(o=>{if(!tq(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tE.g)(this.visualElement,t),i.start((0,td.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tT(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tT(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tT(e=>{let{drag:i}=this.getProps();if(!tq(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-(0,tu.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!I(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};tT(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();r[t]=function(t,e){let i=.5,r=tv(t),n=tv(e);return n>r?i=(0,tO.q)(e.min,e.max-r,t.min):r>n&&(i=(0,tO.q)(t.min,t.max-n,e.min)),(0,tB.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tT(e=>{if(!tq(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,tu.k)(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;tz.set(this.visualElement,this);let t=tf(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();I(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tl.Gt.read(e);let n=tc(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tT(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function tq(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tG extends te{constructor(t){super(t),this.removeGroupControls=ts.l,this.removeListeners=ts.l,this.controls=new t$(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ts.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tH=t=>(e,i)=>{t&&tl.Gt.postRender(()=>t(e,i))};class tK extends te{constructor(){super(...arguments),this.removePointerDownListener=ts.l}onPointerDown(t){this.session=new tV(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tC(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:tH(t),onStart:tH(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&tl.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=tf(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tX=i(87123);let tY={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function t_(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tQ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!ta.px.test(t))return t;else t=parseFloat(t);let i=t_(t,e.target.x),r=t_(t,e.target.y);return`${i}% ${r}%`}};var tZ=i(60010),tJ=i(20637);let t0=!1;class t1 extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;(0,tJ.$)(t2),n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),t0&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),tY.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,t0=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||tl.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tX.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;t0=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t5(t){let[e,i]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,r.useContext)(A);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=e,o=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return s(o)},[t]);let a=(0,r.useCallback)(()=>t&&n&&n(o),[o,n,t]);return!i&&n?[!1,a]:[!0]}(),n=(0,r.useContext)(u);return(0,l.jsx)(t1,{...t,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(N),isPresent:e,safeToRemove:i})}let t2={borderRadius:{...tQ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tQ,borderTopRightRadius:tQ,borderBottomLeftRadius:tQ,borderBottomRightRadius:tQ,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tZ.f.parse(t);if(r.length>5)return t;let n=tZ.f.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=(0,tu.k)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var t3=i(24744),t7=i(69782),t6=i(25943),t8=i(78777),t4=i(74261),t9=i(63704),et=i(60098),ee=i(75626),ei=i(35580),er=i(46926),en=i(56668);let es=(t,e)=>t.depth-e.depth;class eo{constructor(){this.children=[],this.isDirty=!1}add(t){(0,en.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,en.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(es),this.isDirty=!1,this.children.forEac
1h(t)}}var ea=i(7712);let el=["TopLeft","TopRight","BottomLeft","BottomRight"],eu=el.length,eh=t=>"string"==typeof t?parseFloat(t):t,ed=t=>"number"==typeof t||ta.px.test(t);function ec(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ep=ef(0,.5,ea.yT),em=ef(.5,.95,ts.l);function ef(t,e,i){return r=>r<t?0:r>e?1:i((0,tO.q)(t,e,r))}function eg(t,e){t.min=e.min,t.max=e.max}function ev(t,e){eg(t.x,e.x),eg(t.y,e.y)}function ey(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eb=i(96147);function ex(t,e,i,r,n){return t-=e,t=(0,eb.hq)(t,1/i,r),void 0!==n&&(t=(0,eb.hq)(t,1/n,r)),t}function ew(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(ta.KN.test(e)&&(e=parseFloat(e),e=(0,tu.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tu.k)(s.min,s.max,r);t===s&&(a-=e),t.min=ex(t.min,e,i,a,n),t.max=ex(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let ek=["x","scaleX","originX"],eS=["y","scaleY","originY"];function eT(t,e,i,r){ew(t.x,e,ek,i?i.x:void 0,r?r.x:void 0),ew(t.y,e,eS,i?i.y:void 0,r?r.y:void 0)}function eP(t){return 0===t.translate&&1===t.scale}function eC(t){return eP(t.x)&&eP(t.y)}function eE(t,e){return t.min===e.min&&t.max===e.max}function eA(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eM(t,e){return eA(t.x,e.x)&&eA(t.y,e.y)}function ej(t){return tv(t.x)/tv(t.y)}function eV(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eD{constructor(){this.members=[]}add(t){(0,en.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,en.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var eR=i(62662);let eF={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eL=["","X","Y","Z"],eO=0;function eB(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function eI({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=eO++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,t3.Q.value&&(eF.nodes=eF.calculatedTargetDeltas=eF.calculatedProjections=0),this.nodes.forEach(eU),this.nodes.forEach(eX),this.nodes.forEach(eY),this.nodes.forEach(ez),t3.Q.addProjectionMetrics&&t3.Q.addProjectionMetrics(eF)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new eo)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ee.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,t7.x)(e)&&!(0,t6.h)(e),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;tl.Gt.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=t4.k.now(),r=({timestamp:e})=>{let n=e-i;n>=250&&((0,tl.WG)(r),t(n-250))};return tl.Gt.setup(r,!0),()=>(0,tl.WG)(r)}(n,250),tY.hasAnimatedSinceResize&&(tY.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(eK)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||e1,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!eM(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,t8.r)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||eK(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tl.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(e_),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,er.P)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tl.Gt,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eq);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eG);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eH),this.nodes.forEach(eW),this.nodes.forEach(eN)):this.nodes.forEach(eG),this.clearAllSnapshots();let t=t4.k.now();tl.uv.delta=(0,tB.q)(0,1e3/60,t-tl.uv.timestamp),tl.uv.timestamp=t,tl.uv.isProcessing=!0,tl.PP.update.process(tl.uv),tl.PP.preRender.process(tl.uv),tl.PP.render.process(tl.uv),tl.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tX.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e$),this.sharedNodes.forEach(eQ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tl.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tl.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tv(this.snapshot.measuredBox.x)||tv(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tS.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eC(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,eR.HD)(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),e3((e=r).x),e3(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tS.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(e6))){let{scroll:t}=this.root;t&&((0,eb.Ql)(e.x,t.offset.x),(0,eb.Ql)(e.y,t.offset.y))}return e}
1removeElementScroll(t){let e=(0,tS.ge)();if(ev(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&ev(e,t),(0,eb.Ql)(e.x,n.offset.x),(0,eb.Ql)(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=(0,tS.ge)();ev(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,eb.Ww)(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,eR.HD)(r.latestValues)&&(0,eb.Ww)(i,r.latestValues)}return(0,eR.HD)(this.latestValues)&&(0,eb.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,tS.ge)();ev(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,eR.HD)(i.latestValues))continue;(0,eR.vk)(i.latestValues)&&i.updateSnapshot();let r=(0,tS.ge)();ev(r,i.measurePageBox()),eT(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return(0,eR.HD)(this.latestValues)&&eT(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tl.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=tl.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tS.ge)(),this.relativeTargetOrigin=(0,tS.ge)(),tk(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ev(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tS.ge)(),this.targetWithTransforms=(0,tS.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,tx(s.x,o.x,a.x),tx(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ev(this.target,this.layout.layoutBox),(0,eb.o4)(this.target,this.targetDelta)):ev(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tS.ge)(),this.relativeTargetOrigin=(0,tS.ge)(),tk(this.relativeTargetOrigin,this.target,t.target),ev(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}t3.Q.value&&eF.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,eR.vk)(this.parent.latestValues)||(0,eR.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tl.uv.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;ev(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,eb.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,tS.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ey(this.prevProjectionDelta.x,this.projectionDelta.x),ey(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tb(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&eV(this.projectionDelta.x,this.prevProjectionDelta.x)&&eV(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),t3.Q.value&&eF.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tS.xU)(),this.projectionDelta=(0,tS.xU)(),this.projectionDeltaWithTransform=(0,tS.xU)()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=(0,tS.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tS.ge)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(e0));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(eZ(o.x,t.x,r),eZ(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,g;tk(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,eJ(p.x,m.x,f.x,g),eJ(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,c=i,eE(u.x,c.x)&&eE(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,tS.ge)()),ev(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=(0,tu.k)(0,i.opacity??1,ep(r)),t.opacityExit=(0,tu.k)(e.opacity??1,0,em(r))):s&&(t.opacity=(0,tu.k)(e.opacity??1,i.opacity??1,r));for(let n=0;n<eu;n++){let s=`border${el[n]}Radius`,o=ec(e,s),a=ec(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ed(o)===ed(a)?(t[s]=Math.max((0,tu.k)(eh(o),eh(a),r),0),(ta.KN.test(a)||ta.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tu.k)(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tl.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tl.Gt.update(()=>{tY.hasAnimatedSinceResize=!0,t9.q.layout++,this.motionValue||(this.motionValue=(0,et.OQ)(0)),this.currentAnimation=(0,ei.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t9.q.layout--},onComplete:()=>{t9.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&e7(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,tS.ge)();let e=tv(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=tv(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}ev(e,i),(0,eb.Ww)(e,n),tb(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eD),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&eB("z",t,r,this.animationValues);for(let e=0;e<eL.length;e++)eB(`rotate${eL[e]}`,t,r,this.animationValues),eB(`skew${eL[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=V(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=V(e?.pointerEvents)||""),this.hasProjected&&!(0,eR.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tJ.H){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tJ.H[e],l="none"===s?n[e]:i(n[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?V(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eq),this.root.sharedNodes.clear()}}}function eW(t){t.updateLayout()}function eN(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?tT(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=tv(r);r.min=i[t].min,r.max=r.min+n}):e7(n,e.layoutBox,i)&&tT(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=tv(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,tS.xU)();tb(o,i,e.layoutBox);let a=(0,tS.xU)();s?tb(a,t.applyTransform(r,!0),e.measuredBox):tb(a,i,e.layoutBox);let l=!eC(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=(0,tS.ge)();tk(o,e.layoutBox,n.layoutBox);let a=(0,tS.ge)();tk(a,i,s.layoutBox),eM(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eU(t){t3.Q.value&&eF.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ez(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function e$(t){t.clearSnapshot()}function eq(t){t.clearMeasurements()}function eG(t){t.isLayoutDirty=!1}function eH(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eK(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eX(t){t.resolveTargetDelta()}function eY(t){t.calcProjection()}function e_(t){t.resetSkewAndRotation()}function eQ(t){t.removeLeadSnapshot()}function eZ(t,e,i){t.translate=(0,tu.k)(e.translate,0,i),t.scale=(0,tu.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eJ(t,e,i,r){t.min=(0,tu.k)(e.min,i.min,r),t.max=(0,tu.k)(e.max,i.max,r)}function e0(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e1={duration:.45,ease:[.4,0,.1,1]},e5=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e2=e5("applewebkit/")&&!e5("chrome/")?Math.round:ts.l;function e3(t){t.min=e2(t.min),t.max=e2(t.max)}function e7(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ej(e)-ej(i)))}function e6(t){return t!==t.root&&t.scroll?.wasRoot}let e8=eI({attachResizeListener:(t,e)=>tc(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e4={current:void 0},e9=eI({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e4.current){let t=new e8({});t.mount(window),t.setOptions({layoutScroll:!0}),e4.current=t}return e4.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var it=i(42198);function ie(t,e){let i=(0,it.K)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function ii(t){return!("touch"===t.pointerType||to.x||to.y)}function ir(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&tl.Gt.postRender(()=>n(e,tm(e)))}class is extends te{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=ie(t,i),o=t=>{if(!ii(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{ii(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(ir(this.node,e,"Start"),t=>ir(this.node,t,"End"))))}unmount(){}}class io extends te{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tA.F)(tc(this.node.current,"focus",()=>this.onFocus()),tc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var ia=i(6983);let il=(t,e)=>!!e&&(t===e||il(t,e.parentElement)),iu=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ih=new WeakSet;function id(t){return e=>{"Enter"===e.key&&t(e)}}function ic(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ip(t){return tp(t)&&!(to.x||to.y)}function im(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&tl.Gt.postRender(()=>n(e,tm(e)))}class ig extends te{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=ie(t,i),o=t=>{let r=t.currentTarget;if(!ip(t))return;ih.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),ih.has(r)&&ih.delete(r),ip(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||il(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,ia.G)(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=id(()=>
1{if(ih.has(i))return;ic(i,"down");let t=id(()=>{ic(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>ic(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),iu.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(im(this.node,e,"Start"),(t,{success:e})=>im(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iv=new WeakMap,iy=new WeakMap,ib=t=>{let e=iv.get(t.target);e&&e(t)},ix=t=>{t.forEach(ib)},iw={some:0,all:1};class ik extends te{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:iw[r]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;iy.has(i)||iy.set(i,{});let r=iy.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(ix,{root:t,...e})),r[n]}(s);return iv.set(a,o),l.observe(a),()=>{iv.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let iS=function(t,e){if("undefined"==typeof Proxy)return z;let i=new Map,r=(i,r)=>z(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,z(s,void 0,t,e)),i.get(s))})}({animation:{Feature:ti},exit:{Feature:tn},inView:{Feature:ik},tap:{Feature:ig},focus:{Feature:io},hover:{Feature:is},pan:{Feature:tK},drag:{Feature:tG,ProjectionNode:e9,MeasureLayout:t5},layout:{ProjectionNode:e9,MeasureLayout:t5}},(t,e)=>a(t)?new s.l(e):new n.M(e,{allowProjection:t!==r.Fragment}))},81786:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>n});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),n=()=>({x:r(),y:r()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},82076:(t,e,i)=>{i.d(e,{B:()=>a});var r=i(7684),n=i(34158);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,{attrX:e,attrY:i,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...d},c,p,m){if((0,r.O)(t,d,p),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:g}=t;f.transform&&(g.transform=f.transform,delete f.transform),(g.transform||f.transformOrigin)&&(g.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),g.transform&&(g.transformBox=m?.transformBox??"fill-box",delete f.transformBox),void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==a&&(f.scale=a),void 0!==l&&function(t,e,i=1,r=0,a=!0){t.pathLength=1;let l=a?s:o;t[l.offset]=n.px.transform(-r);let u=n.px.transform(e),h=n.px.transform(i);t[l.array]=`${u} ${h}`}(f,l,u,h,!1)}},82885:(t,e,i)=>{i.d(e,{M:()=>n});var r=i(12115);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},83014:(t,e,i)=>{i.d(e,{i:()=>r});let r=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},84160:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>h});let r=t=>180*t/Math.PI,n=t=>o(r(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:n,rotateZ:n,skewX:t=>r(Math.atan(t[1])),skewY:t=>r(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(r(Math.atan2(t[6],t[5]))),rotateY:t=>o(r(Math.atan2(-t[2],t[0]))),rotateZ:n,rotate:n,skewX:t=>r(Math.atan(t[4])),skewY:t=>r(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function d(t,e){let i,r;if(!t||"none"===t)return h(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=u,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,r=e}if(!r)return h(e);let o=i[e],a=r[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},84687:(t,e,i)=>{i.d(e,{o:()=>f});var r=i(53678),n=i(47215),s=i(47705),o=i(52458),a=i(4608),l=i(73945);let u={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var h=i(54542);function d(t,e){return t*Math.sqrt(1-e*e)}let c=["duration","bounce"],p=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=u.visualDuration,e=u.bounce){let i,a="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:g,restDelta:v}=a,y=a.keyframes[0],b=a.keyframes[a.keyframes.length-1],x={done:!1,value:y},{stiffness:w,damping:k,mass:S,duration:T,velocity:P,isResolvedFromDuration:C}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!m(t,p)&&m(t,c))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,r.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:u.mass,stiffness:n,damping:s}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:s=u.mass}){let o,a;(0,h.$)(t<=(0,n.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,r.q)(u.minDamping,u.maxDamping,l),t=(0,r.q)(u.minDuration,u.maxDuration,(0,n.X)(t)),l<1?(o=e=>{let r=e*l,n=r*t;return .001-(r-i)/d(e,l)*Math.exp(-n)},a=e=>
1{let r=e*l*t,n=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-r),a=d(Math.pow(e,2),l);return(r*i+i-n)*s*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let c=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(o,a,5/t);if(t=(0,n.f)(t),isNaN(c))return{stiffness:u.stiffness,damping:u.damping,duration:t};{let e=Math.pow(c,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...a,velocity:-(0,n.X)(a.velocity||0)}),E=P||0,A=k/(2*Math.sqrt(w*S)),M=b-y,j=(0,n.X)(Math.sqrt(w/S)),V=5>Math.abs(M);if(g||(g=V?u.restSpeed.granular:u.restSpeed.default),v||(v=V?u.restDelta.granular:u.restDelta.default),A<1){let t=d(j,A);i=e=>b-Math.exp(-A*j*e)*((E+A*j*M)/t*Math.sin(t*e)+M*Math.cos(t*e))}else if(1===A)i=t=>b-Math.exp(-j*t)*(M+(E+j*M)*t);else{let t=j*Math.sqrt(A*A-1);i=e=>{let i=Math.exp(-A*j*e),r=Math.min(t*e,300);return b-i*((E+A*j*M)*Math.sinh(r)+t*M*Math.cosh(r))/t}}let D={calculatedDuration:C&&T||null,next:t=>{let e=i(t);if(C)x.done=t>=T;else{let r=0===t?E:0;A<1&&(r=0===t?(0,n.f)(E):(0,l.Y)(i,t,e));let s=Math.abs(b-e)<=v;x.done=Math.abs(r)<=g&&s}return x.value=x.done?b:e,x},toString:()=>{let t=Math.min((0,o.t)(D),o.Y),e=(0,s.K)(e=>D.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return D}f.applyToOptions=t=>{let e=(0,a.X)(t,100,f);return t.ease=e.ease,t.duration=(0,n.f)(e.duration),t.type="keyframes",t}},84742:(t,e,i)=>{i.d(e,{C1:()=>E,bL:()=>C});var r=i(12115),n=i.t(r,2),s=i(95155);i(47650);var o=i(6101),a=Symbol.for("react.lazy"),l=n[" use ".trim().toString()];function u(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===a&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}var h=Symbol("radix.slottable");function d(t){return r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===h}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,e)=>{let i=function(t){let e=function(t){let e=r.forwardRef((t,e)=>{let{children:i,...n}=t;if(u(i)&&"function"==typeof l&&(i=l(i._payload)),r.isValidElement(i)){var s;let t,a,l=(s=i,(a=(t=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.ref:(a=(t=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...t,...i}}(n,i.props);return i.type!==r.Fragment&&(u.ref=e?(0,o.t)(e,l):l),r.cloneElement(i,u)}return r.Children.count(i)>1?r.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),i=r.forwardRef((t,i)=>{let{children:n,...o}=t;u(n)&&"function"==typeof l&&(n=l(n._payload));let a=r.Children.toArray(n),h=a.find(d);if(h){let t=h.props.children,n=a.map(e=>e!==h?e:r.Children.count(t)>1?r.Children.only(null):r.isValidElement(t)?t.props.children:null);return(0,s.jsx)(e,{...o,ref:i,children:r.isValidElement(t)?r.cloneElement(t,void 0,n):null})}return(0,s.jsx)(e,{...o,ref:i,children:n})});return i.displayName=`${t}.Slot`,i}(`Primitive.${e}`),n=r.forwardRef((t,r)=>{let{asChild:n,...o}=t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(n?i:e,{...o,ref:r})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),p="Progress",[m,f]=function(t,e=[]){let i=[],n=()=>{let e=i.map(t=>r.createContext(t));return function(i){let n=i?.[t]||e;return r.useMemo(()=>({[`__scope${t}`]:{...i,[t]:n}}),[i,n])}};return n.scopeName=t,[function(e,n){let o=r.createContext(n);o.displayName=e+"Context";let a=i.length;i=[...i,n];let l=e=>{let{scope:i,children:n,...l}=e,u=i?.[t]?.[a]||o,h=r.useMemo(()=>l,Object.values(l));return(0,s.jsx)(u.Provider,{value:h,children:n})};return l.displayName=e+"Provider",[l,function(i,s){let l=s?.[t]?.[a]||o,u=r.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${i}\` must be used within \`${e}\``)}]},function(...t){let e=t[0];if(1===t.length)return e;let i=()=>{let i=t.map(t=>({useScope:t(),scopeName:t.scopeName}));
1return function(t){let n=i.reduce((e,{useScope:i,scopeName:r})=>{let n=i(t)[`__scope${r}`];return{...e,...n}},{});return r.useMemo(()=>({[`__scope${e.scopeName}`]:n}),[n])}};return i.scopeName=e.scopeName,i}(n,...e)]}(p),[g,v]=m(p),y=r.forwardRef((t,e)=>{var i,r,n,o;let{__scopeProgress:a,value:l=null,max:u,getValueLabel:h=w,...d}=t;(u||0===u)&&!T(u)&&console.error((i="".concat(u),r="Progress","Invalid prop `max` of value `".concat(i,"` supplied to `").concat(r,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")));let p=T(u)?u:100;null===l||P(l,p)||console.error((n="".concat(l),o="Progress","Invalid prop `value` of value `".concat(n,"` supplied to `").concat(o,"`. The `value` prop must be:\n  - a positive number\n  - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n  - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")));let m=P(l,p)?l:null,f=S(m)?h(m,p):void 0;return(0,s.jsx)(g,{scope:a,value:m,max:p,children:(0,s.jsx)(c.div,{"aria-valuemax":p,"aria-valuemin":0,"aria-valuenow":S(m)?m:void 0,"aria-valuetext":f,role:"progressbar","data-state":k(m,p),"data-value":null!=m?m:void 0,"data-max":p,...d,ref:e})})});y.displayName=p;var b="ProgressIndicator",x=r.forwardRef((t,e)=>{var i;let{__scopeProgress:r,...n}=t,o=v(b,r);return(0,s.jsx)(c.div,{"data-state":k(o.value,o.max),"data-value":null!=(i=o.value)?i:void 0,"data-max":o.max,...n,ref:e})});function w(t,e){return"".concat(Math.round(t/e*100),"%")}function k(t,e){return null==t?"indeterminate":t===e?"complete":"loading"}function S(t){return"number"==typeof t}function T(t){return S(t)&&!isNaN(t)&&t>0}function P(t,e){return S(t)&&!isNaN(t)&&t<=e&&t>=0}x.displayName=b;var C=y,E=x},87123:(t,e,i)=>{i.d(e,{k:()=>r});let{schedule:r}=(0,i(58437).I)(queueMicrotask,!1)},91765:(t,e,i)=>{i.d(e,{V:()=>r});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},93095:(t,e,i)=>{i.d(e,{n:()=>r});let r=t=>"string"==typeof t&&"svg"===t.toLowerCase()},96147:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>c,hq:()=>s,o4:()=>l});var r=i(33210),n=i(62662);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function a(t,e=0,i=1,r,n){t.min=o(t.min,e,i,r,n),t.max=o(t.max,e,i,r,n)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,r=!1){let s,o,a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=i[u]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&c(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),r&&(0,n.HD)(s.latestValues)&&c(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,n,s=.5){let o=(0,r.k)(t.min,t.max,s);a(t,e,i,o,n)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},97494:(t,e,i)=>{i.d(e,{E:()=>n});var r=i(12115);let n=i(68972).B?r.useLayoutEffect:r.useEffect},98312:(t,e,i)=>{i.d(e,{U:()=>r,_:()=>n});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...r]},99708:(t,e,i)=>{i.d(e,{DX:()=>a,Dc:()=>u,TL:()=>o});var r=i(12115),n=i(6101),s=i(95155);function o(t){let e=function(t){let e=r.forwardRef((t,e)=>{let{children:i,...s}=t;if(r.isValidElement(i)){var o;let t,a,l=(o=i,(a=(t=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?o.ref:(a=(t=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...t,...i}}(s,i.props);return i.type!==r.Fragment&&(u.ref=e?(0,n.t)(e,l):l),r.cloneElement(i,u)}return r.Children.count(i)>1?r.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),i=r.forwardRef((t,i)=>{let{children:n,...o}=t,a=r.Children.toArray(n),l=a.find(h);if(l){let t=l.props.children,n=a.map(e=>e!==l?e:r.Children.count(t)>1?r.Children.only(null):r.isValidElement(t)?t.props.children:null);return(0,s.jsx)(e,{...o,ref:i,children:r.isValidElement(t)?r.cloneElement(t,void 0,n):null})}return(0,s.jsx)(e,{...o,ref:i,children:n})});return i.displayName=`${t}.Slot`,i}var a=o("Slot"),l=Symbol("radix.slottable");function u(t){let e=({children:t})=>(0,s.jsx)(s.Fragment,{children:t});return e.displayName=`${t}.Slottable`,e.__radixId=l,e}function h(t){return r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===l}}}]);

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.