moi-computer 0.7.0 → 0.8.1-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/client/api/workspace-keys.ts +1 -2
- package/client/app/AppRouter.tsx +10 -3
- package/client/app/routes/HomeRoute.tsx +1 -1
- package/client/app/shell/SidebarLayout.tsx +2 -14
- package/client/components/shared/BottomPanel.tsx +2 -1
- package/client/components/shared/Composer.tsx +20 -7
- package/client/components/shared/PanelHeader.tsx +8 -1
- package/client/components/ui/button.tsx +3 -3
- package/client/components/ui/dialog.tsx +1 -1
- package/client/components/ui/dropdown-menu.tsx +2 -2
- package/client/components/ui/hover-card.tsx +1 -1
- package/client/components/ui/popover.tsx +1 -1
- package/client/components/ui/resizable.tsx +40 -0
- package/client/features/applets/AppletMount.tsx +9 -22
- package/client/features/applets/applet-cache.ts +7 -0
- package/client/features/applets/applet-styles.ts +21 -1
- package/client/features/applets/useApplet.ts +1 -1
- package/client/features/chat/ChatEmptyState.tsx +9 -11
- package/client/features/chat/ChatPanel.tsx +76 -48
- package/client/features/chat/ChatPopup.tsx +16 -2
- package/client/features/chat/ChatPromptBubbles.tsx +6 -8
- package/client/features/chat/ChatSelector.tsx +25 -8
- package/client/features/chat/ModelPicker.tsx +5 -4
- package/client/features/chat/TurnView.tsx +108 -13
- package/client/features/chat/api.ts +1 -18
- package/client/features/chat/chat-send.ts +2 -2
- package/client/features/chat/{ChatComposer.tsx → composer/ChatComposer.tsx} +24 -9
- package/client/features/chat/composer/banners/ChatErrorBanner.tsx +28 -0
- package/client/features/chat/composer/banners/ComposerBanner.tsx +30 -0
- package/client/features/chat/composer/banners/WorkspaceAgentAvailabilityBanner.tsx +91 -0
- package/client/features/{workspace → chat/composer/banners}/WorkspaceSkillUpdateBanner.tsx +9 -7
- package/client/features/chat/composer/useWorkspaceComposerState.tsx +74 -0
- package/client/features/{workspace → chat/composer}/useWorkspaceSkillUpdates.ts +1 -1
- package/client/features/chat/group-turns.ts +46 -28
- package/client/features/chat/interleave-notices.ts +84 -0
- package/client/features/chat/model-order.ts +9 -3
- package/client/features/chat/tool-group/TimelineRow.tsx +23 -11
- package/client/features/chat/tool-group/ToolCallGroup.tsx +38 -3
- package/client/features/chat/tool-group/format.ts +23 -7
- package/client/features/chat/useAppletChatMessage.ts +11 -16
- package/client/features/chat/useChat.ts +3 -7
- package/client/features/dev/ChatStatesPage.tsx +428 -0
- package/client/features/dev/DevIndexPage.tsx +52 -0
- package/client/features/dev/DevRoutes.tsx +6 -3
- package/client/features/dev/HarnessDebugPage.tsx +3 -3
- package/client/features/dev/chat-states-fixtures.ts +744 -0
- package/client/features/home/api.ts +0 -10
- package/client/features/home/workspace-setup/CreateWorkspaceDialog.tsx +21 -64
- package/client/features/home/workspace-setup/ImportWorkspaceDialog.tsx +1 -1
- package/client/features/scratchpad/Scratchpad.tsx +5 -3
- package/client/features/scratchpad/scratch-session.ts +71 -0
- package/client/features/views/ViewBuilderTab.tsx +5 -4
- package/client/features/views/ViewManager.tsx +258 -0
- package/client/features/views/useViewBuilderActions.ts +2 -2
- package/client/features/views/view-residency.ts +77 -0
- package/client/features/widgets/WidgetFrame.tsx +6 -2
- package/client/features/workspace/CustomizePanel.tsx +40 -24
- package/client/features/workspace/WorkspaceLayoutContext.tsx +12 -2
- package/client/features/workspace/WorkspaceScreen.tsx +131 -201
- package/client/features/workspace/WorkspaceSplitLayout.tsx +111 -0
- package/client/features/workspace/WorkspaceTabs.tsx +1 -1
- package/client/features/workspace/api.ts +33 -8
- package/client/features/workspace/useFitsSplitLayout.ts +31 -5
- package/client/index.css +5 -2
- package/client/lib/flags.ts +4 -3
- package/client/runtime/useWorkspaceEvents.ts +18 -1
- package/client/runtime/workspace-theme.ts +29 -10
- package/client/store/ui.ts +5 -1
- package/client/theme.css +96 -6
- package/dist/{chunk-0pcdwjkp.js → chunk-2vaafjp4.js} +1 -1
- package/dist/{chunk-9y2zbzqz.js → chunk-35fq49qa.js} +1 -1
- package/dist/chunk-gny990qx.css +1 -0
- package/dist/chunk-gt7n06ef.js +1 -0
- package/dist/{chunk-rxvx4ta9.js → chunk-kkj86722.js} +75 -75
- package/dist/chunk-n7pga5x3.js +80 -0
- package/dist/chunk-xeyxk7ep.js +10 -0
- package/dist/{chunk-w3tnv51j.js → chunk-xzx7c9hq.js} +1 -1
- package/dist/index.html +1 -1
- package/lib/format.ts +17 -1
- package/lib/themes.ts +123 -51
- package/lib/types.ts +40 -13
- package/lib/workspace-layout.ts +2 -2
- package/package.json +6 -4
- package/server/agent.ts +199 -0
- package/server/api.ts +38 -90
- package/server/bundler/build-applet.ts +7 -4
- package/server/cli.ts +46 -15
- package/server/control.ts +13 -6
- package/server/env-apply.ts +4 -0
- package/server/harness/README.md +28 -12
- package/server/harness/claude-code/auth.ts +54 -0
- package/server/harness/claude-code/index.ts +6 -1
- package/server/harness/codex/adapter.ts +9 -1
- package/server/harness/codex/auth.ts +50 -0
- package/server/harness/codex/index.ts +6 -1
- package/server/harness/codex/session.ts +33 -14
- package/server/harness/openclaw/NOTES.md +518 -187
- package/server/harness/openclaw/adapter.ts +125 -31
- package/server/harness/openclaw/compat.ts +99 -0
- package/server/harness/openclaw/cron-view.ts +78 -0
- package/server/harness/openclaw/discovery.ts +145 -52
- package/server/harness/openclaw/gateway.ts +224 -36
- package/server/harness/openclaw/index.ts +56 -21
- package/server/harness/openclaw/session.ts +971 -55
- package/server/harness/openclaw/strip.ts +87 -15
- package/server/harness/openclaw/thinking.ts +198 -0
- package/server/harness/types.ts +10 -5
- package/server/layout.ts +5 -2
- package/server/moi-scaffold.ts +1 -1
- package/server/registry.ts +0 -20
- package/server/theme.ts +24 -27
- package/workspace/.claude/skills/moi-workspace/DESIGN.md +100 -53
- package/workspace/.claude/skills/moi-workspace/SKILL.md +10 -12
- package/client/features/dev/PixelPainter.tsx +0 -94
- package/client/features/dev/PlaygroundPage.tsx +0 -69
- package/dist/chunk-175bm057.js +0 -27
- package/dist/chunk-55sh4dty.js +0 -2
- package/dist/chunk-afgbg75t.js +0 -50
- package/dist/chunk-agtetn7n.css +0 -1
- package/dist/chunk-dfs36zgc.js +0 -1
- package/dist/chunk-exj6hr30.js +0 -9
- package/dist/chunk-m11ckkxd.js +0 -51
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{Fc as b,Gc as f8,Ic as kG}from"/chunk-35fq49qa.js";var h=f8((PK,_9)=>{_9.exports=globalThis.__esm.react});var M0=f8((SK,A9)=>{A9.exports=globalThis.__esm["react/jsx-runtime"]});var m2=f8((jK,I9)=>{I9.exports=globalThis.__esm["react-dom/client"]});var X2=f8((V38,Y2)=>{Y2.exports=globalThis.__esm["react-dom"]});var A7=new Map;function kK(Q,J){if(J)A7.set(Q,J);else A7.delete(Q)}function bK(Q){return A7.get(Q)}var g8=b(h(),1),L9=b(M0(),1),T9=g8.createContext("default");function RK(){return g8.useContext(T9)}function CK({id:Q,children:J}){return L9.jsx(T9,{value:Q,children:J})}var d8=b(h(),1);function M9(Q){return`${location.protocol==="https:"?"wss":"ws"}://${location.host}${Q}`}var j1=new Set,e5=null,u8=!1;function E9(){if(e5||u8)return;u8=!0;let Q=new WebSocket(M9("/api/workspaces/ws"));Q.onopen=()=>{e5=Q,u8=!1},Q.onmessage=(J)=>{try{let Z=JSON.parse(J.data);for(let Y of j1)Y(Z)}catch{}},Q.onclose=()=>{if(e5=null,u8=!1,j1.size>0)setTimeout(E9,2000)},Q.onerror=()=>{Q.close()}}function fK(Q){let J=d8.useRef(Q);J.current=Q,d8.useEffect(()=>{let Z=(Y)=>J.current(Y);return j1.add(Z),E9(),()=>{if(j1.delete(Z),j1.size===0&&e5)e5.close(),e5=null}},[])}function P9(Q){var J,Z,Y="";if(typeof Q=="string"||typeof Q=="number")Y+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var X=Q.length;for(J=0;J<X;J++)Q[J]&&(Z=P9(Q[J]))&&(Y&&(Y+=" "),Y+=Z)}else for(Z in Q)Q[Z]&&(Y&&(Y+=" "),Y+=Z);return Y}function k1(){for(var Q,J,Z=0,Y="",X=arguments.length;Z<X;Z++)(Q=arguments[Z])&&(J=P9(Q))&&(Y&&(Y+=" "),Y+=J);return Y}var dK=k1;var l2=(Q,J)=>{let Z=Array(Q.length+J.length);for(let Y=0;Y<Q.length;Y++)Z[Y]=Q[Y];for(let Y=0;Y<J.length;Y++)Z[Q.length+Y]=J[Y];return Z},r2=(Q,J)=>({classGroupId:Q,validator:J}),R9=(Q=new Map,J=null,Z)=>({nextPart:Q,validators:J,classGroupId:Z});var S9=[];var i2=(Q)=>{let J=o2(Q),{conflictingClassGroups:Z,conflictingClassGroupModifiers:Y}=Q;return{getClassGroupId:($)=>{if($.startsWith("[")&&$.endsWith("]"))return s2($);let H=$.split("-"),W=H[0]===""&&H.length>1?1:0;return C9(H,W,J)},getConflictingClassGroupIds:($,H)=>{if(H){let W=Y[$],z=Z[$];if(W){if(z)return l2(z,W);return W}return z||S9}return Z[$]||S9}}},C9=(Q,J,Z)=>{if(Q.length-J===0)return Z.classGroupId;let X=Q[J],q=Z.nextPart.get(X);if(q){let z=C9(Q,J+1,q);if(z)return z}let $=Z.validators;if($===null)return;let H=J===0?Q.join("-"):Q.slice(J).join("-"),W=$.length;for(let z=0;z<W;z++){let G=$[z];if(G.validator(H))return G.classGroupId}return},s2=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let J=Q.slice(1,-1),Z=J.indexOf(":"),Y=J.slice(0,Z);return Y?"arbitrary.."+Y:void 0})(),o2=(Q)=>{let{theme:J,classGroups:Z}=Q;return n2(Z,J)},n2=(Q,J)=>{let Z=R9();for(let Y in Q){let X=Q[Y];T7(X,Z,Y,J)}return Z},T7=(Q,J,Z,Y)=>{let X=Q.length;for(let q=0;q<X;q++){let $=Q[q];a2($,J,Z,Y)}},a2=(Q,J,Z,Y)=>{if(typeof Q==="string"){t2(Q,J,Z);return}if(typeof Q==="function"){e2(Q,J,Z,Y);return}QX(Q,J,Z,Y)},t2=(Q,J,Z)=>{let Y=Q===""?J:x9(J,Q);Y.classGroupId=Z},e2=(Q,J,Z,Y)=>{if(JX(Q)){T7(Q(Y),J,Z,Y);return}if(J.validators===null)J.validators=[];J.validators.push(r2(Z,Q))},QX=(Q,J,Z,Y)=>{let X=Object.entries(Q),q=X.length;for(let $=0;$<q;$++){let[H,W]=X[$];T7(W,x9(J,H),Z,Y)}},x9=(Q,J)=>{let Z=Q,Y=J.split("-"),X=Y.length;for(let q=0;q<X;q++){let $=Y[q],H=Z.nextPart.get($);if(!H)H=R9(),Z.nextPart.set($,H);Z=H}return Z},JX=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,ZX=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let J=0,Z=Object.create(null),Y=Object.create(null),X=(q,$)=>{if(Z[q]=$,J++,J>Q)J=0,Y=Z,Z=Object.create(null)};return{get(q){let $=Z[q];if($!==void 0)return $;if(($=Y[q])!==void 0)return X(q,$),$},set(q,$){if(q in Z)Z[q]=$;else X(q,$)}}};var YX=[],j9=(Q,J,Z,Y,X)=>({modifiers:Q,hasImportantModifier:J,baseClassName:Z,maybePostfixModifierPosition:Y,isExternal:X}),XX=(Q)=>{let{prefix:J,experimentalParseClassName:Z}=Q,Y=(X)=>{let q=[],$=0,H=0,W=0,z,G=X.length;for(let N=0;N<G;N++){let D=X[N];if($===0&&H===0){if(D===":"){q.push(X.slice(W,N)),W=N+1;continue}if(D==="/"){z=N;continue}}if(D==="[")$++;else if(D==="]")$--;else if(D==="(")H++;else if(D===")")H--}let K=q.length===0?X:X.slice(W),B=K,O=!1;if(K.endsWith("!"))B=K.slice(0,-1),O=!0;else if(K.startsWith("!"))B=K.slice(1),O=!0;let U=z&&z>W?z-W:void 0;return j9(q,O,B,U)};if(J){let X=J+":",q=Y;Y=($)=>$.startsWith(X)?q($.slice(X.length)):j9(YX,!1,$,void 0,!0)}if(Z){let X=Y;Y=(q)=>Z({className:q,parseClassName:X})}return Y},$X=(Q)=>{let J=new Map;return Q.orderSensitiveModifiers.forEach((Z,Y)=>{J.set(Z,1e6+Y)}),(Z)=>{let Y=[],X=[];for(let q=0;q<Z.length;q++){let $=Z[q],H=$[0]==="[",W=J.has($);if(H||W){if(X.length>0)X.sort(),Y.push(...X),X=[];Y.push($)}else X.push($)}if(X.length>0)X.sort(),Y.push(...X);return Y}},qX=(Q)=>({cache:ZX(Q.cacheSize),parseClassName:XX(Q),sortModifiers:$X(Q),postfixLookupClassGroupIds:HX(Q),...i2(Q)}),HX=(Q)=>{let J=Object.create(null),Z=Q.postfixLookupClassGroups;if(Z)for(let Y=0;Y<Z.length;Y++)J[Z[Y]]=!0;return J},WX=/\s+/,zX=(Q,J)=>{let{parseClassName:Z,getClassGroupId:Y,getConflictingClassGroupIds:X,sortModifiers:q,postfixLookupClassGroupIds:$}=J,H=[],W=Q.trim().split(WX),z="";for(let G=W.length-1;G>=0;G-=1){let K=W[G],{isExternal:B,modifiers:O,hasImportantModifier:U,baseClassName:N,maybePostfixModifierPosition:D}=Z(K);if(B){z=K+(z.length>0?" "+z:z);continue}let V=!!D,I;if(V){let k=N.substring(0,D);I=Y(k);let A=I&&$[I]?Y(N):void 0;if(A&&A!==I)I=A,V=!1}else I=Y(N);if(!I){if(!V){z=K+(z.length>0?" "+z:z);continue}if(I=Y(N),!I){z=K+(z.length>0?" "+z:z);continue}V=!1}let _=O.length===0?"":O.length===1?O[0]:q(O).join(":"),w=U?_+"!":_,T=w+I;if(H.indexOf(T)>-1)continue;H.push(T);let L=X(I,V);for(let k=0;k<L.length;++k){let A=L[k];H.push(w+A)}z=K+(z.length>0?" "+z:z)}return z},GX=(...Q)=>{let J=0,Z,Y,X="";while(J<Q.length)if(Z=Q[J++]){if(Y=y9(Z))X&&(X+=" "),X+=Y}return X},y9=(Q)=>{if(typeof Q==="string")return Q;let J,Z="";for(let Y=0;Y<Q.length;Y++)if(Q[Y]){if(J=y9(Q[Y]))Z&&(Z+=" "),Z+=J}return Z},KX=(Q,...J)=>{let Z,Y,X,q,$=(W)=>{let z=J.reduce((G,K)=>K(G),Q());return Z=qX(z),Y=Z.cache.get,X=Z.cache.set,q=H,H(W)},H=(W)=>{let z=Y(W);if(z)return z;let G=zX(W,Z);return X(W,G),G};return q=$,(...W)=>q(GX(...W))},BX=[],Y0=(Q)=>{let J=(Z)=>Z[Q]||BX;return J.isThemeGetter=!0,J},v9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,f9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,FX=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,OX=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,UX=/\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$/,DX=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,wX=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,NX=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z5=(Q)=>FX.test(Q),x=(Q)=>!!Q&&!Number.isNaN(Number(Q)),R0=(Q)=>!!Q&&Number.isInteger(Number(Q)),I7=(Q)=>Q.endsWith("%")&&x(Q.slice(0,-1)),i0=(Q)=>OX.test(Q),g9=()=>!0,VX=(Q)=>UX.test(Q)&&!DX.test(Q),L7=()=>!1,_X=(Q)=>wX.test(Q),AX=(Q)=>NX.test(Q),IX=(Q)=>!P(Q)&&!S(Q),TX=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),LX=(Q)=>Y5(Q,c9,L7),P=(Q)=>v9.test(Q),A5=(Q)=>Y5(Q,p9,VX),k9=(Q)=>Y5(Q,hX,x),MX=(Q)=>Y5(Q,l9,g9),EX=(Q)=>Y5(Q,m9,L7),b9=(Q)=>Y5(Q,u9,L7),PX=(Q)=>Y5(Q,d9,AX),c8=(Q)=>Y5(Q,r9,_X),S=(Q)=>f9.test(Q),b1=(Q)=>I5(Q,p9),SX=(Q)=>I5(Q,m9),h9=(Q)=>I5(Q,u9),jX=(Q)=>I5(Q,c9),kX=(Q)=>I5(Q,d9),p8=(Q)=>I5(Q,r9,!0),bX=(Q)=>I5(Q,l9,!0),Y5=(Q,J,Z)=>{let Y=v9.exec(Q);if(Y){if(Y[1])return J(Y[1]);return Z(Y[2])}return!1},I5=(Q,J,Z=!1)=>{let Y=f9.exec(Q);if(Y){if(Y[1])return J(Y[1]);return Z}return!1},u9=(Q)=>Q==="position"||Q==="percentage",d9=(Q)=>Q==="image"||Q==="url",c9=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",p9=(Q)=>Q==="length",hX=(Q)=>Q==="number",m9=(Q)=>Q==="family-name",l9=(Q)=>Q==="number"||Q==="weight",r9=(Q)=>Q==="shadow";var RX=()=>{let Q=Y0("color"),J=Y0("font"),Z=Y0("text"),Y=Y0("font-weight"),X=Y0("tracking"),q=Y0("leading"),$=Y0("breakpoint"),H=Y0("container"),W=Y0("spacing"),z=Y0("radius"),G=Y0("shadow"),K=Y0("inset-shadow"),B=Y0("text-shadow"),O=Y0("drop-shadow"),U=Y0("blur"),N=Y0("perspective"),D=Y0("aspect"),V=Y0("ease"),I=Y0("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...w(),S,P],L=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],A=()=>[S,P,W],j=()=>[Z5,"full","auto",...A()],v=()=>[R0,"none","subgrid",S,P],o=()=>["auto",{span:["full",R0,S,P]},R0,S,P],u=()=>[R0,"auto",S,P],n=()=>["auto","min","max","fr",S,P],c=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],t=()=>["start","end","center","stretch","center-safe","end-safe"],f=()=>["auto",...A()],r=()=>[Z5,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],R=()=>[Z5,"screen","full","dvw","lvw","svw","min","max","fit",...A()],g=()=>[Z5,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],E=()=>[Q,S,P],r0=()=>[...w(),h9,b9,{position:[S,P]}],R8=()=>["no-repeat",{repeat:["","x","y","space","round"]}],w9=()=>["auto","cover","contain",jX,LX,{size:[S,P]}],V7=()=>[I7,b1,A5],G0=()=>["","none","full",z,S,P],K0=()=>["",x,b1,A5],C8=()=>["solid","dashed","dotted","double"],N9=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q0=()=>[x,I7,h9,b9],V9=()=>["","none",U,S,P],x8=()=>["none",x,S,P],y8=()=>["none",x,S,P],_7=()=>[x,S,P],v8=()=>[Z5,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[i0],breakpoint:[i0],color:[g9],container:[i0],"drop-shadow":[i0],ease:["in","out","in-out"],font:[IX],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[i0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[i0],shadow:[i0],spacing:["px",x],text:[i0],"text-shadow":[i0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Z5,P,S,D]}],container:["container"],"container-type":[{"@container":["","normal","size",S,P]}],"container-named":[TX],columns:[{columns:[x,P,S,H]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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:T()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{"inset-s":j(),start:j()}],end:[{"inset-e":j(),end:j()}],"inset-bs":[{"inset-bs":j()}],"inset-be":[{"inset-be":j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[R0,"auto",S,P]}],basis:[{basis:[Z5,"full","auto",H,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[x,Z5,"auto","initial","none",P]}],grow:[{grow:["",x,S,P]}],shrink:[{shrink:["",x,S,P]}],order:[{order:[R0,"first","last","none",S,P]}],"grid-cols":[{"grid-cols":v()}],"col-start-end":[{col:o()}],"col-start":[{"col-start":u()}],"col-end":[{"col-end":u()}],"grid-rows":[{"grid-rows":v()}],"row-start-end":[{row:o()}],"row-start":[{"row-start":u()}],"row-end":[{"row-end":u()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":n()}],"auto-rows":[{"auto-rows":n()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...c(),"normal"]}],"justify-items":[{"justify-items":[...t(),"normal"]}],"justify-self":[{"justify-self":["auto",...t()]}],"align-content":[{content:["normal",...c()]}],"align-items":[{items:[...t(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...t(),{baseline:["","last"]}]}],"place-content":[{"place-content":c()}],"place-items":[{"place-items":[...t(),"baseline"]}],"place-self":[{"place-self":["auto",...t()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:f()}],mx:[{mx:f()}],my:[{my:f()}],ms:[{ms:f()}],me:[{me:f()}],mbs:[{mbs:f()}],mbe:[{mbe:f()}],mt:[{mt:f()}],mr:[{mr:f()}],mb:[{mb:f()}],ml:[{ml:f()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:r()}],"inline-size":[{inline:["auto",...R()]}],"min-inline-size":[{"min-inline":["auto",...R()]}],"max-inline-size":[{"max-inline":["none",...R()]}],"block-size":[{block:["auto",...g()]}],"min-block-size":[{"min-block":["auto",...g()]}],"max-block-size":[{"max-block":["none",...g()]}],w:[{w:[H,"screen",...r()]}],"min-w":[{"min-w":[H,"screen","none",...r()]}],"max-w":[{"max-w":[H,"screen","none","prose",{screen:[$]},...r()]}],h:[{h:["screen","lh",...r()]}],"min-h":[{"min-h":["screen","lh","none",...r()]}],"max-h":[{"max-h":["screen","lh",...r()]}],"font-size":[{text:["base",Z,b1,A5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[Y,bX,MX]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",I7,P]}],"font-family":[{font:[SX,EX,J]}],"font-features":[{"font-features":[P]}],"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:[X,S,P]}],"line-clamp":[{"line-clamp":[x,"none",S,k9]}],leading:[{leading:[q,...A()]}],"list-image":[{"list-image":["none",S,P]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",S,P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...C8(),"wavy"]}],"text-decoration-thickness":[{decoration:[x,"from-font","auto",S,A5]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[x,"auto",S,P]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"tab-size":[{tab:[R0,S,P]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",S,P]}],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",S,P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:r0()}],"bg-repeat":[{bg:R8()}],"bg-size":[{bg:w9()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R0,S,P],radial:["",S,P],conic:[R0,S,P]},kX,PX]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:V7()}],"gradient-via-pos":[{via:V7()}],"gradient-to-pos":[{to:V7()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:G0()}],"rounded-s":[{"rounded-s":G0()}],"rounded-e":[{"rounded-e":G0()}],"rounded-t":[{"rounded-t":G0()}],"rounded-r":[{"rounded-r":G0()}],"rounded-b":[{"rounded-b":G0()}],"rounded-l":[{"rounded-l":G0()}],"rounded-ss":[{"rounded-ss":G0()}],"rounded-se":[{"rounded-se":G0()}],"rounded-ee":[{"rounded-ee":G0()}],"rounded-es":[{"rounded-es":G0()}],"rounded-tl":[{"rounded-tl":G0()}],"rounded-tr":[{"rounded-tr":G0()}],"rounded-br":[{"rounded-br":G0()}],"rounded-bl":[{"rounded-bl":G0()}],"border-w":[{border:K0()}],"border-w-x":[{"border-x":K0()}],"border-w-y":[{"border-y":K0()}],"border-w-s":[{"border-s":K0()}],"border-w-e":[{"border-e":K0()}],"border-w-bs":[{"border-bs":K0()}],"border-w-be":[{"border-be":K0()}],"border-w-t":[{"border-t":K0()}],"border-w-r":[{"border-r":K0()}],"border-w-b":[{"border-b":K0()}],"border-w-l":[{"border-l":K0()}],"divide-x":[{"divide-x":K0()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K0()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...C8(),"hidden","none"]}],"divide-style":[{divide:[...C8(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-bs":[{"border-bs":E()}],"border-color-be":[{"border-be":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...C8(),"none","hidden"]}],"outline-offset":[{"outline-offset":[x,S,P]}],"outline-w":[{outline:["",x,b1,A5]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",G,p8,c8]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",K,p8,c8]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:K0()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[x,A5]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":K0()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",B,p8,c8]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[x,S,P]}],"mix-blend":[{"mix-blend":[...N9(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":N9()}],"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":[x]}],"mask-image-linear-from-pos":[{"mask-linear-from":q0()}],"mask-image-linear-to-pos":[{"mask-linear-to":q0()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":q0()}],"mask-image-t-to-pos":[{"mask-t-to":q0()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":q0()}],"mask-image-r-to-pos":[{"mask-r-to":q0()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":q0()}],"mask-image-b-to-pos":[{"mask-b-to":q0()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":q0()}],"mask-image-l-to-pos":[{"mask-l-to":q0()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":q0()}],"mask-image-x-to-pos":[{"mask-x-to":q0()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":q0()}],"mask-image-y-to-pos":[{"mask-y-to":q0()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[S,P]}],"mask-image-radial-from-pos":[{"mask-radial-from":q0()}],"mask-image-radial-to-pos":[{"mask-radial-to":q0()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"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":w()}],"mask-image-conic-pos":[{"mask-conic":[x]}],"mask-image-conic-from-pos":[{"mask-conic-from":q0()}],"mask-image-conic-to-pos":[{"mask-conic-to":q0()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:r0()}],"mask-repeat":[{mask:R8()}],"mask-size":[{mask:w9()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",S,P]}],filter:[{filter:["","none",S,P]}],blur:[{blur:V9()}],brightness:[{brightness:[x,S,P]}],contrast:[{contrast:[x,S,P]}],"drop-shadow":[{"drop-shadow":["","none",O,p8,c8]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",x,S,P]}],"hue-rotate":[{"hue-rotate":[x,S,P]}],invert:[{invert:["",x,S,P]}],saturate:[{saturate:[x,S,P]}],sepia:[{sepia:["",x,S,P]}],"backdrop-filter":[{"backdrop-filter":["","none",S,P]}],"backdrop-blur":[{"backdrop-blur":V9()}],"backdrop-brightness":[{"backdrop-brightness":[x,S,P]}],"backdrop-contrast":[{"backdrop-contrast":[x,S,P]}],"backdrop-grayscale":[{"backdrop-grayscale":["",x,S,P]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x,S,P]}],"backdrop-invert":[{"backdrop-invert":["",x,S,P]}],"backdrop-opacity":[{"backdrop-opacity":[x,S,P]}],"backdrop-saturate":[{"backdrop-saturate":[x,S,P]}],"backdrop-sepia":[{"backdrop-sepia":["",x,S,P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",S,P]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[x,"initial",S,P]}],ease:[{ease:["linear","initial",V,S,P]}],delay:[{delay:[x,S,P]}],animate:[{animate:["none",I,S,P]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,S,P]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:x8()}],"rotate-x":[{"rotate-x":x8()}],"rotate-y":[{"rotate-y":x8()}],"rotate-z":[{"rotate-z":x8()}],scale:[{scale:y8()}],"scale-x":[{"scale-x":y8()}],"scale-y":[{"scale-y":y8()}],"scale-z":[{"scale-z":y8()}],"scale-3d":["scale-3d"],skew:[{skew:_7()}],"skew-x":[{"skew-x":_7()}],"skew-y":[{"skew-y":_7()}],transform:[{transform:[S,P,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:v8()}],"translate-x":[{"translate-x":v8()}],"translate-y":[{"translate-y":v8()}],"translate-z":[{"translate-z":v8()}],"translate-none":["translate-none"],zoom:[{zoom:[R0,S,P]}],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}],"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",S,P]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":E()}],"scrollbar-track-color":[{"scrollbar-track":E()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",S,P]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[x,b1,A5,k9]}],stroke:[{stroke:["none",...E()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var i9=KX(RX);function s9(...Q){return i9(k1(Q))}var _Q=b(h(),1);var J1=b(h(),1);function m8(){return typeof window<"u"}function L5(Q){if(n9(Q))return(Q.nodeName||"").toLowerCase();return"#document"}function O0(Q){var J;return(Q==null||(J=Q.ownerDocument)==null?void 0:J.defaultView)||window}function E0(Q){var J;return(J=(n9(Q)?Q.ownerDocument:Q.document)||window.document)==null?void 0:J.documentElement}function n9(Q){if(!m8())return!1;return Q instanceof Node||Q instanceof O0(Q).Node}function V0(Q){if(!m8())return!1;return Q instanceof Element||Q instanceof O0(Q).Element}function _0(Q){if(!m8())return!1;return Q instanceof HTMLElement||Q instanceof O0(Q).HTMLElement}function o9(Q){if(!m8()||typeof ShadowRoot>"u")return!1;return Q instanceof ShadowRoot||Q instanceof O0(Q).ShadowRoot}function Q1(Q){let{overflow:J,overflowX:Z,overflowY:Y,display:X}=A0(Q);return/auto|scroll|overlay|hidden|clip/.test(J+Y+Z)&&X!=="inline"&&X!=="contents"}function a9(Q){return/^(table|td|th)$/.test(L5(Q))}function h1(Q){try{if(Q.matches(":popover-open"))return!0}catch(J){}try{return Q.matches(":modal")}catch(J){return!1}}var CX=/transform|translate|scale|rotate|perspective|filter/,xX=/paint|layout|strict|content/,T5=(Q)=>!!Q&&Q!=="none",M7;function l8(Q){let J=V0(Q)?A0(Q):Q;return T5(J.transform)||T5(J.translate)||T5(J.scale)||T5(J.rotate)||T5(J.perspective)||!r8()&&(T5(J.backdropFilter)||T5(J.filter))||CX.test(J.willChange||"")||xX.test(J.contain||"")}function t9(Q){let J=s0(Q);while(_0(J)&&!M5(J)){if(l8(J))return J;else if(h1(J))return null;J=s0(J)}return null}function r8(){if(M7==null)M7=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return M7}function M5(Q){return/^(html|body|#document)$/.test(L5(Q))}function A0(Q){return O0(Q).getComputedStyle(Q)}function R1(Q){if(V0(Q))return{scrollLeft:Q.scrollLeft,scrollTop:Q.scrollTop};return{scrollLeft:Q.scrollX,scrollTop:Q.scrollY}}function s0(Q){if(L5(Q)==="html")return Q;let J=Q.assignedSlot||Q.parentNode||o9(Q)&&Q.host||E0(Q);return o9(J)?J.host:J}function e9(Q){let J=s0(Q);if(M5(J))return Q.ownerDocument?Q.ownerDocument.body:Q.body;if(_0(J)&&Q1(J))return J;return e9(J)}function X5(Q,J,Z){var Y;if(J===void 0)J=[];if(Z===void 0)Z=!0;let X=e9(Q),q=X===((Y=Q.ownerDocument)==null?void 0:Y.body),$=O0(X);if(q){let H=i8($);return J.concat($,$.visualViewport||[],Q1(X)?X:[],H&&Z?X5(H):[])}else return J.concat(X,X5(X,[],Z))}function i8(Q){return Q.parent&&Object.getPrototypeOf(Q.parent)?Q.frameElement:null}var P7=b(h(),1);var JQ=b(h(),1),QQ={};function C1(Q,J){let Z=JQ.useRef(QQ);if(Z.current===QQ)Z.current=Q(J);return Z}var E7=P7[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],yX=E7&&E7!==P7.useLayoutEffect?E7:(Q)=>Q();function S7(Q){let J=C1(vX).current;return J.next=Q,yX(J.effect),J.trampoline}function vX(){let Q={next:void 0,callback:fX,trampoline:(...J)=>Q.callback?.(...J),effect:()=>{Q.callback=Q.next}};return Q}function fX(){}var gX=b(h(),1),nK={...gX};var ZQ=b(h(),1),uX=()=>{},YQ=typeof document<"u"?ZQ.useLayoutEffect:uX;function x1(Q,J){if(Q&&!J)return Q;if(!Q&&J)return J;if(Q||J)return{...Q,...J};return}var v1={};function s8(Q,J,Z,Y,X){let q={...j7(Q,v1)};if(J)q=y1(q,J);if(Z)q=y1(q,Z);if(Y)q=y1(q,Y);if(X)q=y1(q,X);return q}function XQ(Q){if(Q.length===0)return v1;if(Q.length===1)return j7(Q[0],v1);let J={...j7(Q[0],v1)};for(let Z=1;Z<Q.length;Z+=1)J=y1(J,Q[Z]);return J}function y1(Q,J){if($Q(J))return J(Q);return dX(Q,J)}function dX(Q,J){if(!J)return Q;for(let Z in J){let Y=J[Z];switch(Z){case"style":{Q[Z]=x1(Q.style,Y);break}case"className":{Q[Z]=k7(Q.className,Y);break}default:if(cX(Z,Y))Q[Z]=pX(Q[Z],Y);else Q[Z]=Y}}return Q}function cX(Q,J){let Z=Q.charCodeAt(0),Y=Q.charCodeAt(1),X=Q.charCodeAt(2);return Z===111&&Y===110&&X>=65&&X<=90&&(typeof J==="function"||typeof J>"u")}function $Q(Q){return typeof Q==="function"}function j7(Q,J){if($Q(Q))return Q(J);return Q??v1}function pX(Q,J){if(!J)return Q;if(!Q)return J;return(Z)=>{if(mX(Z)){let X=Z;o8(X);let q=J(X);if(!X.baseUIHandlerPrevented)Q?.(X);return q}let Y=J(Z);return Q?.(Z),Y}}function o8(Q){return Q.preventBaseUIHandler=()=>{Q.baseUIHandlerPrevented=!0},Q}function k7(Q,J){if(J){if(Q)return J+" "+Q;return J}return Q}function mX(Q){return Q!=null&&typeof Q==="object"&&"nativeEvent"in Q}function f1(Q,...J){let Z=new URL("https://base-ui.com/production-error");return Z.searchParams.set("code",Q.toString()),J.forEach((Y)=>Z.searchParams.append("args[]",Y)),`Base UI error #${Q}; visit ${Z} for the full message.`}var n8=b(h(),1),lX=n8.createContext(void 0);function qQ(Q=!1){let J=n8.useContext(lX);if(J===void 0&&!Q)throw Error(f1(16));return J}var HQ=b(h(),1);function WQ(Q){let{focusableWhenDisabled:J,disabled:Z,composite:Y=!1,tabIndex:X=0,isNativeButton:q}=Q,$=Y&&J!==!1,H=Y&&J===!1;return{props:HQ.useMemo(()=>{let z={onKeyDown(G){if(Z&&J&&G.key!=="Tab")G.preventDefault()}};if(!Y){if(z.tabIndex=X,!q&&Z)z.tabIndex=J?X:-1}if(q&&(J||$)||!q&&Z)z["aria-disabled"]=Z;if(q&&(!J||H))z.disabled=Z;return z},[Y,Z,J,$,H,q,X])}}function zQ(Q={}){let{disabled:J=!1,focusableWhenDisabled:Z,tabIndex:Y=0,native:X=!0}=Q,q=J1.useRef(null),$=qQ(!0)!==void 0,H=S7(()=>{let B=q.current;return Boolean(B?.tagName==="A"&&B?.href)}),{props:W}=WQ({focusableWhenDisabled:Z,disabled:J,composite:$,tabIndex:Y,isNativeButton:X}),z=J1.useCallback(()=>{let B=q.current;if(!rX(B))return;if($&&J&&W.disabled===void 0&&B.disabled)B.disabled=!1},[J,W.disabled,$]);YQ(z,[z]);let G=J1.useCallback((B={})=>{let{onClick:O,onMouseDown:U,onKeyUp:N,onKeyDown:D,onPointerDown:V,...I}=B;return s8({type:X?"button":void 0,onClick(w){if(J){w.preventDefault();return}O?.(w)},onMouseDown(w){if(!J)U?.(w)},onKeyDown(w){if(!J)o8(w),D?.(w);if(w.baseUIHandlerPrevented)return;let T=w.target===w.currentTarget&&!X&&!H()&&!J,L=w.key==="Enter",k=w.key===" ";if(T){if(k||L)w.preventDefault();if(L)O?.(w)}},onKeyUp(w){if(!J)o8(w),N?.(w);if(w.baseUIHandlerPrevented)return;if(w.target===w.currentTarget&&!X&&!J&&w.key===" ")O?.(w)},onPointerDown(w){if(J){w.preventDefault();return}V?.(w)}},!X?{role:"button"}:void 0,W,I)},[J,W,X,H]),K=S7((B)=>{q.current=B,z()});return{getButtonProps:G,buttonRef:K}}function rX(Q){return _0(Q)&&Q.tagName==="BUTTON"}var q5=b(h(),1);function b7(Q,J,Z,Y){let X=C1(KQ).current;if(iX(X,Q,J,Z,Y))BQ(X,[Q,J,Z,Y]);return X.callback}function GQ(Q){let J=C1(KQ).current;if(sX(J,Q))BQ(J,Q);return J.callback}function KQ(){return{callback:null,cleanup:null,refs:[]}}function iX(Q,J,Z,Y,X){return Q.refs[0]!==J||Q.refs[1]!==Z||Q.refs[2]!==Y||Q.refs[3]!==X}function sX(Q,J){return Q.refs.length!==J.length||Q.refs.some((Z,Y)=>Z!==J[Y])}function BQ(Q,J){if(Q.refs=J,J.every((Z)=>Z==null)){Q.callback=null;return}Q.callback=(Z)=>{if(Q.cleanup)Q.cleanup(),Q.cleanup=null;if(Z!=null){let Y=Array(J.length).fill(null);for(let X=0;X<J.length;X+=1){let q=J[X];if(q==null)continue;switch(typeof q){case"function":{let $=q(Z);if(typeof $==="function")Y[X]=$;break}case"object":{q.current=Z;break}default:}}Q.cleanup=()=>{for(let X=0;X<J.length;X+=1){let q=J[X];if(q==null)continue;switch(typeof q){case"function":{let $=Y[X];if(typeof $==="function")$();else q(null);break}case"object":{q.current=null;break}default:}}}}}}var UQ=b(h(),1);var FQ=b(h(),1),oX=parseInt(FQ.version,10);function OQ(Q){return oX>=Q}function h7(Q){if(!UQ.isValidElement(Q))return null;let J=Q,Z=J.props;return(OQ(19)?Z?.ref:J.ref)??null}function DQ(Q,J){let Z={};for(let Y in Q){let X=Q[Y];if(J?.hasOwnProperty(Y)){let q=J[Y](X);if(q!=null)Object.assign(Z,q);continue}if(X===!0)Z[`data-${Y.toLowerCase()}`]="";else if(X)Z[`data-${Y.toLowerCase()}`]=X.toString()}return Z}function wQ(Q,J){return typeof Q==="function"?Q(J):Q}function NQ(Q,J){return typeof Q==="function"?Q(J):Q}function AB(){}var nX=Object.freeze([]),$5=Object.freeze({});var TB=500,LB=500,MB={style:{transition:"none"}},EB="data-base-ui-click-trigger",PB={fallbackAxisSide:"none"},SB={fallbackAxisSide:"end"},jB={clipPath:"inset(50%)",position:"fixed",top:0,left:0};var R7=b(h(),1);function VQ(Q,J,Z={}){let Y=J.render,X=aX(J,Z);if(Z.enabled===!1)return null;let q=Z.state??$5;return eX(Q,Y,X,q)}function aX(Q,J={}){let{className:Z,style:Y,render:X}=Q,{state:q=$5,ref:$,props:H,stateAttributesMapping:W,enabled:z=!0}=J,G=z?wQ(Z,q):void 0,K=z?NQ(Y,q):void 0,B=z?DQ(q,W):$5,O=z?x1(B,Array.isArray(H)?XQ(H):H)??$5:$5;if(typeof document<"u")if(!z)b7(null,null);else if(Array.isArray($))O.ref=GQ([O.ref,h7(X),...$]);else O.ref=b7(O.ref,h7(X),$);if(!z)return $5;if(G!==void 0)O.className=k7(O.className,G);if(K!==void 0)O.style=x1(O.style,K);return O}var tX=Symbol.for("react.lazy");function eX(Q,J,Z,Y){if(J){if(typeof J==="function")return J(Z,Y);let X=s8(Z,J.props);X.ref=Z.ref;let q=J;if(q?.$$typeof===tX)q=q5.Children.toArray(J)[0];return q5.cloneElement(q,X)}if(Q){if(typeof Q==="string")return Q3(Q,Z)}throw Error(f1(8))}function Q3(Q,J){if(Q==="button")return R7.createElement("button",{type:"button",...J,key:J.key});if(Q==="img")return R7.createElement("img",{alt:"",...J,key:J.key});return q5.createElement(Q,J)}var C7=_Q.forwardRef(function(J,Z){let{render:Y,className:X,disabled:q=!1,focusableWhenDisabled:$=!1,nativeButton:H=!0,...W}=J,{getButtonProps:z,buttonRef:G}=zQ({disabled:q,focusableWhenDisabled:$,native:H});return VQ("button",J,{state:{disabled:q},ref:[Z,G],props:[W,z]})});var AQ=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,IQ=k1,TQ=(Q,J)=>(Z)=>{var Y;if((J===null||J===void 0?void 0:J.variants)==null)return IQ(Q,Z===null||Z===void 0?void 0:Z.class,Z===null||Z===void 0?void 0:Z.className);let{variants:X,defaultVariants:q}=J,$=Object.keys(X).map((z)=>{let G=Z===null||Z===void 0?void 0:Z[z],K=q===null||q===void 0?void 0:q[z];if(G===null)return null;let B=AQ(G)||AQ(K);return X[z][B]}),H=Z&&Object.entries(Z).reduce((z,G)=>{let[K,B]=G;if(B===void 0)return z;return z[K]=B,z},{}),W=J===null||J===void 0?void 0:(Y=J.compoundVariants)===null||Y===void 0?void 0:Y.reduce((z,G)=>{let{class:K,className:B,...O}=G;return Object.entries(O).every((U)=>{let[N,D]=U;return Array.isArray(D)?D.includes({...q,...H}[N]):{...q,...H}[N]===D})?[...z,K,B]:z},[]);return IQ(Q,$,W,Z===null||Z===void 0?void 0:Z.class,Z===null||Z===void 0?void 0:Z.className)};var LQ=b(M0(),1),J3=TQ("inline-flex shrink-0 cursor-pointer items-center justify-center gap-1.5 rounded-lg text-sm font-medium whitespace-nowrap transition-all duration-100 outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 disabled:bg-accent disabled:text-muted-foreground disabled:opacity-100",secondary:"bg-accent text-foreground hover:bg-[color-mix(in_oklch,var(--accent),var(--foreground)_5%)] hover:text-accent-foreground",outline:"bg-background shadow-xs hover:text-accent-foreground hover:shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20"},size:{sm:"h-7 gap-1.5 rounded-md px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg]:size-4",default:"h-8 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&_svg]:size-5",lg:"h-10 rounded-xl px-4 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3 [&_svg]:size-5","icon-sm":"size-7 rounded-md [&_svg]:size-4",icon:"size-8 [&_svg]:size-5","icon-lg":"size-10 rounded-xl [&_svg]:size-5"}},defaultVariants:{variant:"default",size:"default"}});function tB({className:Q,variant:J="default",size:Z="default",...Y}){return LQ.jsx(C7,{"data-slot":"button",className:s9(J3({variant:J,size:Z,className:Q})),...Y})}var Z1=b(h(),1);var MQ={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};var F=(Q,J,Z,Y)=>{let X=Z1.forwardRef(({color:q="currentColor",size:$=24,stroke:H=2,title:W,className:z,children:G,...K},B)=>Z1.createElement("svg",{ref:B,...MQ[Q],width:$,height:$,className:["tabler-icon",`tabler-icon-${J}`,z].join(" "),...Q==="filled"?{fill:q}:{strokeWidth:H,stroke:q},...K},[W&&Z1.createElement("title",{key:"svg-title"},W),...Y.map(([O,U])=>Z1.createElement(O,U)),...Array.isArray(G)?G:[G]]));return X.displayName=`${Z}`,X};var Z3=[["path",{d:"M12.802 2.165l5.575 2.389c.48 .206 .863 .589 1.07 1.07l2.388 5.574c.22 .512 .22 1.092 0 1.604l-2.389 5.575c-.206 .48 -.589 .863 -1.07 1.07l-5.574 2.388c-.512 .22 -1.092 .22 -1.604 0l-5.575 -2.389a2.036 2.036 0 0 1 -1.07 -1.07l-2.388 -5.574a2.036 2.036 0 0 1 0 -1.604l2.389 -5.575c.206 -.48 .589 -.863 1.07 -1.07l5.574 -2.388a2.036 2.036 0 0 1 1.604 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],Y3=F("outline","alert-octagon","AlertOctagon",Z3);var X3=[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],$3=F("outline","alert-triangle","AlertTriangle",X3);var q3=[["path",{d:"M17 7l-10 10",key:"svg-0"}],["path",{d:"M8 7l9 0l0 9",key:"svg-1"}]],H3=F("outline","arrow-up-right","ArrowUpRight",q3);var W3=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 12l2 2l4 -4",key:"svg-1"}]],z3=F("outline","circle-check","CircleCheck",W3);var G3=[["path",{d:"M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3",key:"svg-0"}],["path",{d:"M18 13.3l-6.3 -6.3",key:"svg-1"}]],K3=F("outline","eraser","Eraser",G3);var B3=[["path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5",key:"svg-0"}],["path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5",key:"svg-1"}],["path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5",key:"svg-2"}],["path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47",key:"svg-3"}]],F3=F("outline","hand-stop","HandStop",B3);var O3=[["path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M12.5 5.5l4 4",key:"svg-1"}],["path",{d:"M4.5 13.5l4 4",key:"svg-2"}],["path",{d:"M21 15v4h-8l4 -4l4 0",key:"svg-3"}]],U3=F("outline","highlight","Highlight",O3);var D3=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]],w3=F("outline","info-circle","InfoCircle",D3);var N3=[["path",{d:"M4 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M16 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M7.5 16.5l9 -9",key:"svg-2"}]],V3=F("outline","line","Line",N3);var _3=[["path",{d:"M12 6l0 -3",key:"svg-0"}],["path",{d:"M16.25 7.75l2.15 -2.15",key:"svg-1"}],["path",{d:"M18 12l3 0",key:"svg-2"}],["path",{d:"M16.25 16.25l2.15 2.15",key:"svg-3"}],["path",{d:"M12 18l0 3",key:"svg-4"}],["path",{d:"M7.75 16.25l-2.15 2.15",key:"svg-5"}],["path",{d:"M6 12l-3 0",key:"svg-6"}],["path",{d:"M7.75 7.75l-2.15 -2.15",key:"svg-7"}]],A3=F("outline","loader","Loader",_3);var I3=[["path",{d:"M14.185 13.14l5.644 -2.202c1.625 -.634 1.538 -2.962 -.13 -3.473l-14.319 -4.382c-1.41 -.431 -2.73 .888 -2.298 2.298l4.382 14.318c.51 1.668 2.84 1.755 3.473 .13l2.202 -5.644a1.84 1.84 0 0 1 1.045 -1.045",key:"svg-0"}]],T3=F("outline","pointer-2","Pointer2",I3);var L3=[["path",{d:"M4 15c2 -4.97 7.356 -11 9 -11c4.25 0 -5.5 11.958 -3 13s5.65 -6.678 7.4 -5.902c1.75 .777 -1.05 7.589 -.3 8.63s3.15 -.897 3.9 -2.728",key:"svg-0"}]],M3=F("outline","sketching","Sketching",L3);var E3=[["path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14",key:"svg-0"}]],P3=F("outline","square","Square",E3);var S3=[["path",{d:"M6 4h12a2 2 0 0 1 2 2v7h-5a2 2 0 0 0 -2 2v5h-7a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M20 13v.172a2 2 0 0 1 -.586 1.414l-4.828 4.828a2 2 0 0 1 -1.414 .586h-.172",key:"svg-1"}]],j3=F("outline","sticker-2","Sticker2",S3);var k3=[["path",{d:"M4 20l3 0",key:"svg-0"}],["path",{d:"M14 20l7 0",key:"svg-1"}],["path",{d:"M6.9 15l6.9 0",key:"svg-2"}],["path",{d:"M10.2 6.3l5.8 13.7",key:"svg-3"}],["path",{d:"M5 20l6 -16l2 0l7 16",key:"svg-4"}]],b3=F("outline","typography","Typography",k3);var h3=[["path",{d:"M10 7a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2l0 -10",key:"svg-0"}],["path",{d:"M7 7l0 10",key:"svg-1"}],["path",{d:"M4 8l0 8",key:"svg-2"}]],R3=F("outline","versions","Versions",h3);var C3=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],x3=F("outline","x","X",C3);var y3=[["path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5",key:"svg-0"}],["path",{d:"M12 12l8 -4.5",key:"svg-1"}],["path",{d:"M12 12l0 9",key:"svg-2"}],["path",{d:"M12 12l-8 -4.5",key:"svg-3"}],["path",{d:"M16 5.25l-8 4.5",key:"svg-4"}]],EQ=F("outline","package","Package",y3);var v3=[["path",{d:"M3 12h4l3 8l4 -16l3 8h4",key:"svg-0"}]],f3=F("outline","activity","Activity",v3);var g3=[["path",{d:"M4 13h5",key:"svg-0"}],["path",{d:"M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3",key:"svg-1"}],["path",{d:"M20 8v8",key:"svg-2"}],["path",{d:"M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5",key:"svg-3"}]],u3=F("outline","api","Api",g3);var d3=[["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2",key:"svg-0"}],["path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10",key:"svg-1"}],["path",{d:"M10 12l4 0",key:"svg-2"}]],c3=F("outline","archive","Archive",d3);var p3=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M18 11l-6 -6",key:"svg-1"}],["path",{d:"M6 11l6 -6",key:"svg-2"}]],m3=F("outline","arrow-up","ArrowUp",p3);var l3=[["path",{d:"M18 4l3 3l-3 3",key:"svg-0"}],["path",{d:"M18 20l3 -3l-3 -3",key:"svg-1"}],["path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5",key:"svg-2"}],["path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3",key:"svg-3"}]],r3=F("outline","arrows-shuffle","ArrowsShuffle",l3);var i3=[["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M7 8h10",key:"svg-1"}],["path",{d:"M7 12h10",key:"svg-2"}],["path",{d:"M7 16h10",key:"svg-3"}]],s3=F("outline","article","Article",i3);var o3=[["path",{d:"M12 12v.01",key:"svg-0"}],["path",{d:"M19.071 4.929c-1.562 -1.562 -6 .337 -9.9 4.243c-3.905 3.905 -5.804 8.337 -4.242 9.9c1.562 1.561 6 -.338 9.9 -4.244c3.905 -3.905 5.804 -8.337 4.242 -9.9",key:"svg-1"}],["path",{d:"M4.929 4.929c-1.562 1.562 .337 6 4.243 9.9c3.905 3.905 8.337 5.804 9.9 4.242c1.561 -1.562 -.338 -6 -4.244 -9.9c-3.905 -3.905 -8.337 -5.804 -9.9 -4.242",key:"svg-2"}]],n3=F("outline","atom","Atom",o3);var a3=[["path",{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6",key:"svg-0"}],["path",{d:"M9 17v1a3 3 0 0 0 6 0v-1",key:"svg-1"}]],t3=F("outline","bell","Bell",a3);var e3=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],Q$=F("outline","bolt","Bolt",e3);var J$=[["path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0",key:"svg-0"}],["path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0",key:"svg-1"}],["path",{d:"M3 6l0 13",key:"svg-2"}],["path",{d:"M12 6l0 13",key:"svg-3"}],["path",{d:"M21 6l0 13",key:"svg-4"}]],Z$=F("outline","book","Book",J$);var Y$=[["path",{d:"M15.5 13a3.5 3.5 0 0 0 -3.5 3.5v1a3.5 3.5 0 0 0 7 0v-1.8",key:"svg-0"}],["path",{d:"M8.5 13a3.5 3.5 0 0 1 3.5 3.5v1a3.5 3.5 0 0 1 -7 0v-1.8",key:"svg-1"}],["path",{d:"M17.5 16a3.5 3.5 0 0 0 0 -7h-.5",key:"svg-2"}],["path",{d:"M19 9.3v-2.8a3.5 3.5 0 0 0 -7 0",key:"svg-3"}],["path",{d:"M6.5 16a3.5 3.5 0 0 1 0 -7h.5",key:"svg-4"}],["path",{d:"M5 9.3v-2.8a3.5 3.5 0 0 1 7 0v10",key:"svg-5"}]],X$=F("outline","brain","Brain",Y$);var $$=[["path",{d:"M3 9a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -9",key:"svg-0"}],["path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2",key:"svg-1"}],["path",{d:"M12 12l0 .01",key:"svg-2"}],["path",{d:"M3 13a20 20 0 0 0 18 0",key:"svg-3"}]],q$=F("outline","briefcase","Briefcase",$$);var H$=[["path",{d:"M4 8h16",key:"svg-0"}],["path",{d:"M12 20h-6a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v6",key:"svg-1"}],["path",{d:"M8 4v4",key:"svg-2"}],["path",{d:"M16 19h6",key:"svg-3"}],["path",{d:"M19 16v6",key:"svg-4"}]],W$=F("outline","browser-plus","BrowserPlus",H$);var z$=[["path",{d:"M9 9v-1a3 3 0 0 1 6 0v1",key:"svg-0"}],["path",{d:"M8 9h8a6 6 0 0 1 1 3v3a5 5 0 0 1 -10 0v-3a6 6 0 0 1 1 -3",key:"svg-1"}],["path",{d:"M3 13l4 0",key:"svg-2"}],["path",{d:"M17 13l4 0",key:"svg-3"}],["path",{d:"M12 20l0 -6",key:"svg-4"}],["path",{d:"M4 19l3.35 -2",key:"svg-5"}],["path",{d:"M20 19l-3.35 -2",key:"svg-6"}],["path",{d:"M4 7l3.75 2.4",key:"svg-7"}],["path",{d:"M20 7l-3.75 2.4",key:"svg-8"}]],G$=F("outline","bug","Bug",z$);var K$=[["path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7",key:"svg-0"}],["path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3",key:"svg-1"}],["path",{d:"M9.7 17l4.6 0",key:"svg-2"}]],B$=F("outline","bulb","Bulb",K$);var F$=[["path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12",key:"svg-0"}],["path",{d:"M16 3v4",key:"svg-1"}],["path",{d:"M8 3v4",key:"svg-2"}],["path",{d:"M4 11h16",key:"svg-3"}],["path",{d:"M11 15h1",key:"svg-4"}],["path",{d:"M12 15v3",key:"svg-5"}]],O$=F("outline","calendar","Calendar",F$);var U$=[["path",{d:"M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M9 13a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]],D$=F("outline","camera","Camera",U$);var w$=[["path",{d:"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -6",key:"svg-0"}],["path",{d:"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -10",key:"svg-1"}],["path",{d:"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -14",key:"svg-2"}],["path",{d:"M4 20h14",key:"svg-3"}]],N$=F("outline","chart-bar","ChartBar",w$);var V$=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],_$=F("outline","check","Check",V$);var A$=[["path",{d:"M12 3c1.918 0 3.52 1.35 3.91 3.151a4 4 0 0 1 2.09 7.723l0 7.126h-12v-7.126a4 4 0 1 1 2.092 -7.723a4 4 0 0 1 3.908 -3.151",key:"svg-0"}],["path",{d:"M6.161 17.009l11.839 -.009",key:"svg-1"}]],I$=F("outline","chef-hat","ChefHat",A$);var T$=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],L$=F("outline","chevron-down","ChevronDown",T$);var M$=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],E$=F("outline","chevron-right","ChevronRight",M$);var P$=[["path",{d:"M7 7l5 5l-5 5",key:"svg-0"}],["path",{d:"M13 7l5 5l-5 5",key:"svg-1"}]],S$=F("outline","chevrons-right","ChevronsRight",P$);var j$=[["path",{d:"M20.042 16.045a9 9 0 0 0 -12.087 -12.087m-2.318 1.677a9 9 0 1 0 12.725 12.73",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]],k$=F("outline","circle-off","CircleOff",j$);var b$=[["path",{d:"M6.657 18c-2.572 0 -4.657 -2.007 -4.657 -4.483c0 -2.475 2.085 -4.482 4.657 -4.482c.393 -1.762 1.794 -3.2 3.675 -3.773c1.88 -.572 3.956 -.193 5.444 1c1.488 1.19 2.162 3.007 1.77 4.769h.99c1.913 0 3.464 1.56 3.464 3.486c0 1.927 -1.551 3.487 -3.465 3.487h-11.878",key:"svg-0"}]],h$=F("outline","cloud","Cloud",b$);var R$=[["path",{d:"M7 8l-4 4l4 4",key:"svg-0"}],["path",{d:"M17 8l4 4l-4 4",key:"svg-1"}],["path",{d:"M14 4l-4 16",key:"svg-2"}]],C$=F("outline","code","Code",R$);var x$=[["path",{d:"M8 16l2 -6l6 -2l-2 6l-6 2",key:"svg-0"}],["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-1"}],["path",{d:"M12 3l0 2",key:"svg-2"}],["path",{d:"M12 19l0 2",key:"svg-3"}],["path",{d:"M3 12l2 0",key:"svg-4"}],["path",{d:"M19 12l2 0",key:"svg-5"}]],y$=F("outline","compass","Compass",x$);var v$=[["path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667l0 -8.666",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]],f$=F("outline","copy","Copy",v$);var g$=[["path",{d:"M5 6a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-12a1 1 0 0 1 -1 -1l0 -12",key:"svg-0"}],["path",{d:"M9 9h6v6h-6l0 -6",key:"svg-1"}],["path",{d:"M3 10h2",key:"svg-2"}],["path",{d:"M3 14h2",key:"svg-3"}],["path",{d:"M10 3v2",key:"svg-4"}],["path",{d:"M14 3v2",key:"svg-5"}],["path",{d:"M21 10h-2",key:"svg-6"}],["path",{d:"M21 14h-2",key:"svg-7"}],["path",{d:"M14 21v-2",key:"svg-8"}],["path",{d:"M10 21v-2",key:"svg-9"}]],u$=F("outline","cpu","Cpu",g$);var d$=[["path",{d:"M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718",key:"svg-0"}],["path",{d:"M12 22v-10",key:"svg-1"}],["path",{d:"M12 12l8.73 -5.04",key:"svg-2"}],["path",{d:"M3.27 6.96l8.73 5.04",key:"svg-3"}]],c$=F("outline","cube","Cube",d$);var p$=[["path",{d:"M4 6a8 3 0 1 0 16 0a8 3 0 1 0 -16 0",key:"svg-0"}],["path",{d:"M4 6v6a8 3 0 0 0 16 0v-6",key:"svg-1"}],["path",{d:"M4 12v6a8 3 0 0 0 16 0v-6",key:"svg-2"}]],m$=F("outline","database","Database",p$);var l$=[["path",{d:"M12 5h3.5a5 5 0 0 1 0 10h-5.5l-4.015 4.227a2.3 2.3 0 0 1 -3.923 -2.035l1.634 -8.173a5 5 0 0 1 4.904 -4.019h3.4",key:"svg-0"}],["path",{d:"M14 15l4.07 4.284a2.3 2.3 0 0 0 3.925 -2.023l-1.6 -8.232",key:"svg-1"}],["path",{d:"M8 9v2",key:"svg-2"}],["path",{d:"M7 10h2",key:"svg-3"}],["path",{d:"M14 10h2",key:"svg-4"}]],r$=F("outline","device-gamepad-2","DeviceGamepad2",l$);var i$=[["path",{d:"M6 5h12l3 5l-8.5 9.5a.7 .7 0 0 1 -1 0l-8.5 -9.5l3 -5",key:"svg-0"}],["path",{d:"M10 12l-2 -2.2l.6 -1",key:"svg-1"}]],s$=F("outline","diamond","Diamond",i$);var o$=[["path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1",key:"svg-0"}],["path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415",key:"svg-1"}],["path",{d:"M16 5l3 3",key:"svg-2"}]],n$=F("outline","edit","Edit",o$);var a$=[["path",{d:"M19 14.083c0 4.154 -2.966 6.74 -7 6.917c-4.2 0 -7 -2.763 -7 -6.917c0 -5.538 3.5 -11.09 7 -11.083c3.5 .007 7 5.545 7 11.083",key:"svg-0"}],["path",{d:"M12 3l-1.5 5l3.5 2.5l-2 3.5",key:"svg-1"}]],t$=F("outline","egg-cracked","EggCracked",a$);var e$=[["path",{d:"M4 20l10 -10m0 -5v5h5m-9 -1v5h5m-9 -1v5h5m-5 -5l4 -4l4 -4",key:"svg-0"}],["path",{d:"M19 10c.638 -.636 1 -1.515 1 -2.486a3.515 3.515 0 0 0 -3.517 -3.514c-.97 0 -1.847 .367 -2.483 1m-3 13l4 -4l4 -4",key:"svg-1"}]],Qq=F("outline","feather","Feather",e$);var Jq=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M12 21h-5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v4.5",key:"svg-1"}],["path",{d:"M14 17.5a2.5 2.5 0 1 0 5 0a2.5 2.5 0 1 0 -5 0",key:"svg-2"}],["path",{d:"M18.5 19.5l2.5 2.5",key:"svg-3"}]],Zq=F("outline","file-search","FileSearch",Jq);var Yq=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2",key:"svg-1"}]],Xq=F("outline","file","File",Yq);var $q=[["path",{d:"M12 10.941c2.333 -3.308 .167 -7.823 -1 -8.941c0 3.395 -2.235 5.299 -3.667 6.706c-1.43 1.408 -2.333 3.294 -2.333 5.588c0 3.704 3.134 6.706 7 6.706c3.866 0 7 -3.002 7 -6.706c0 -1.712 -1.232 -4.403 -2.333 -5.588c-2.084 3.353 -3.257 3.353 -4.667 2.235",key:"svg-0"}]],qq=F("outline","flame","Flame",$q);var Hq=[["path",{d:"M9 3l6 0",key:"svg-0"}],["path",{d:"M10 9l4 0",key:"svg-1"}],["path",{d:"M10 3v6l-4 11a.7 .7 0 0 0 .5 1h11a.7 .7 0 0 0 .5 -1l-4 -11v-6",key:"svg-2"}]],Wq=F("outline","flask","Flask",Hq);var zq=[["path",{d:"M15 19h-10a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v3.5",key:"svg-0"}],["path",{d:"M19 16v3",key:"svg-1"}],["path",{d:"M19 22v.01",key:"svg-2"}]],Gq=F("outline","folder-exclamation","FolderExclamation",zq);var Kq=[["path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2",key:"svg-0"}]],Bq=F("outline","folder","Folder",Kq);var Fq=[["path",{d:"M5 11a7 7 0 0 1 14 0v7a1.78 1.78 0 0 1 -3.1 1.4a1.65 1.65 0 0 0 -2.6 0a1.65 1.65 0 0 1 -2.6 0a1.65 1.65 0 0 0 -2.6 0a1.78 1.78 0 0 1 -3.1 -1.4v-7",key:"svg-0"}],["path",{d:"M10 10l.01 0",key:"svg-1"}],["path",{d:"M14 10l.01 0",key:"svg-2"}],["path",{d:"M10 14a3.5 3.5 0 0 0 4 0",key:"svg-3"}]],Oq=F("outline","ghost","Ghost",Fq);var Uq=[["path",{d:"M3 9a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1l0 -2",key:"svg-0"}],["path",{d:"M12 8l0 13",key:"svg-1"}],["path",{d:"M19 12v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-7",key:"svg-2"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0 -5a4.8 8 0 0 1 4.5 5a4.8 8 0 0 1 4.5 -5a2.5 2.5 0 0 1 0 5",key:"svg-3"}]],Dq=F("outline","gift","Gift",Uq);var wq=[["path",{d:"M7 9a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M5.75 15a8.015 8.015 0 1 0 9.25 -13",key:"svg-1"}],["path",{d:"M11 17v4",key:"svg-2"}],["path",{d:"M7 21h8",key:"svg-3"}]],Nq=F("outline","globe","Globe",wq);var Vq=[["path",{d:"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572",key:"svg-0"}]],_q=F("outline","heart","Heart",Vq);var Aq=[["path",{d:"M19.875 6.27a2.225 2.225 0 0 1 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033",key:"svg-0"}]],Iq=F("outline","hexagon","Hexagon",Aq);var Tq=[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]],Lq=F("outline","home","Home",Tq);var Mq=[["path",{d:"M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0",key:"svg-0"}],["path",{d:"M15 9h.01",key:"svg-1"}]],Eq=F("outline","key","Key",Mq);var Pq=[["path",{d:"M4 6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -1",key:"svg-0"}],["path",{d:"M4 15a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -3",key:"svg-1"}],["path",{d:"M14 6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -3",key:"svg-2"}],["path",{d:"M14 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -1",key:"svg-3"}]],Sq=F("outline","layout-2","Layout2",Pq);var jq=[["path",{d:"M4 6a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M15 4l0 16",key:"svg-1"}]],kq=F("outline","layout-sidebar-right","LayoutSidebarRight",jq);var bq=[["path",{d:"M5 21c.5 -4.5 2.5 -8 7 -10",key:"svg-0"}],["path",{d:"M9 18c6.218 0 10.5 -3.288 11 -12v-2h-4.014c-9 0 -11.986 4 -12 9c0 1 0 3 2 5h3l.014 0",key:"svg-1"}]],hq=F("outline","leaf","Leaf",bq);var Rq=[["path",{d:"M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0",key:"svg-0"}],["path",{d:"M3 19v-10.5a3.5 3.5 0 0 1 7 0v10.5",key:"svg-1"}],["path",{d:"M3 13h7",key:"svg-2"}],["path",{d:"M21 12v7",key:"svg-3"}]],Cq=F("outline","letter-case","LetterCase",Rq);var xq=[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]],yq=F("outline","loader-2","Loader2",xq);var vq=[["path",{d:"M15 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M21 12h-13l3 -3",key:"svg-1"}],["path",{d:"M11 15l-3 -3",key:"svg-2"}]],fq=F("outline","login","Login",vq);var gq=[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10",key:"svg-0"}],["path",{d:"M3 7l9 6l9 -6",key:"svg-1"}]],uq=F("outline","mail","Mail",gq);var dq=[["path",{d:"M3 7l6 -3l6 3l6 -3v13l-6 3l-6 -3l-6 3v-13",key:"svg-0"}],["path",{d:"M9 4v13",key:"svg-1"}],["path",{d:"M15 7v13",key:"svg-2"}]],cq=F("outline","map","Map",dq);var pq=[["path",{d:"M8 9h8",key:"svg-0"}],["path",{d:"M8 13h6",key:"svg-1"}],["path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12",key:"svg-2"}]],mq=F("outline","message","Message",pq);var lq=[["path",{d:"M5 12l14 0",key:"svg-0"}]],rq=F("outline","minus","Minus",lq);var iq=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 10l.01 0",key:"svg-1"}],["path",{d:"M15 10l.01 0",key:"svg-2"}],["path",{d:"M9.5 15.25a3.5 3.5 0 0 1 5 0",key:"svg-3"}]],sq=F("outline","mood-sad","MoodSad",iq);var oq=[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454l0 .008",key:"svg-0"}]],nq=F("outline","moon","Moon",oq);var aq=[["path",{d:"M3 20h18l-6.921 -14.612a2.3 2.3 0 0 0 -4.158 0l-6.921 14.612",key:"svg-0"}],["path",{d:"M7.5 11l2 2.5l2.5 -2.5l2 3l2.5 -2",key:"svg-1"}]],tq=F("outline","mountain","Mountain",aq);var eq=[["path",{d:"M3 17a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M13 17a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}],["path",{d:"M9 17v-13h10v13",key:"svg-2"}],["path",{d:"M9 8h10",key:"svg-3"}]],QH=F("outline","music","Music",eq);var JH=[["path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25",key:"svg-0"}],["path",{d:"M7.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M11.5 7.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}],["path",{d:"M15.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-3"}]],ZH=F("outline","palette","Palette",JH);var YH=[["path",{d:"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5",key:"svg-0"}]],XH=F("outline","paperclip","Paperclip",YH);var $H=[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12",key:"svg-1"}],["path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5",key:"svg-2"}],["path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3",key:"svg-3"}]],qH=F("outline","photo","Photo",$H);var HH=[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10",key:"svg-0"}],["path",{d:"M9 19v-6",key:"svg-1"}],["path",{d:"M8 5v8h2v-8",key:"svg-2"}],["path",{d:"M15 19v-6",key:"svg-3"}],["path",{d:"M14 5v8h2v-8",key:"svg-4"}]],WH=F("outline","piano","Piano",HH);var zH=[["path",{d:"M18.816 13.58c2.292 2.138 3.546 4 3.092 4.9c-.745 1.46 -5.783 -.259 -11.255 -3.838c-5.47 -3.579 -9.304 -7.664 -8.56 -9.123c.464 -.91 2.926 -.444 5.803 .805",key:"svg-0"}],["path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-1"}]],GH=F("outline","planet","Planet",zH);var KH=[["path",{d:"M9.007 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M5 21l3 -3l.75 -1.5",key:"svg-1"}],["path",{d:"M14 21v-4l-4 -3l.5 -6",key:"svg-2"}],["path",{d:"M5 12l1 -3l4.5 -1l3.5 3l4 -.5",key:"svg-3"}],["path",{d:"M18.007 15.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0",key:"svg-4"}]],BH=F("outline","play-basketball","PlayBasketball",KH);var FH=[["path",{d:"M3 17l5 1l.75 -1.5",key:"svg-0"}],["path",{d:"M14 21v-4l-4 -3l1 -6",key:"svg-1"}],["path",{d:"M6 12v-3l5 -1l3 3l3 1",key:"svg-2"}],["path",{d:"M18.007 19.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0",key:"svg-3"}],["path",{d:"M10.007 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-4"}]],OH=F("outline","play-football","PlayFootball",FH);var UH=[["path",{d:"M11.007 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M19.007 9.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0",key:"svg-1"}],["path",{d:"M2 16l5 1l.5 -2.5",key:"svg-2"}],["path",{d:"M11.5 21l2.5 -5.5l-5.5 -3.5l3.5 -4l3 4l4 2",key:"svg-3"}]],DH=F("outline","play-volleyball","PlayVolleyball",UH);var wH=[["path",{d:"M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5",key:"svg-0"}],["path",{d:"M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5",key:"svg-1"}],["path",{d:"M3 21l2.5 -2.5",key:"svg-2"}],["path",{d:"M18.5 5.5l2.5 -2.5",key:"svg-3"}],["path",{d:"M10 11l-2 2",key:"svg-4"}],["path",{d:"M13 14l-2 2",key:"svg-5"}]],NH=F("outline","plug-connected","PlugConnected",wH);var VH=[["path",{d:"M9.785 6l8.215 8.215l-2.054 2.054a5.81 5.81 0 1 1 -8.215 -8.215l2.054 -2.054",key:"svg-0"}],["path",{d:"M4 20l3.5 -3.5",key:"svg-1"}],["path",{d:"M15 4l-3.5 3.5",key:"svg-2"}],["path",{d:"M20 9l-3.5 3.5",key:"svg-3"}]],_H=F("outline","plug","Plug",VH);var AH=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],IH=F("outline","plus","Plus",AH);var TH=[["path",{d:"M6 6a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l0 -4",key:"svg-0"}],["path",{d:"M12 2v2",key:"svg-1"}],["path",{d:"M9 12v9",key:"svg-2"}],["path",{d:"M15 12v9",key:"svg-3"}],["path",{d:"M5 16l4 -2",key:"svg-4"}],["path",{d:"M15 14l4 2",key:"svg-5"}],["path",{d:"M9 18h6",key:"svg-6"}],["path",{d:"M10 8v.01",key:"svg-7"}],["path",{d:"M14 8v.01",key:"svg-8"}]],LH=F("outline","robot","Robot",TH);var MH=[["path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3",key:"svg-0"}],["path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3",key:"svg-1"}],["path",{d:"M14 9a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]],EH=F("outline","rocket","Rocket",MH);var PH=[["path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]],SH=F("outline","settings","Settings",PH);var jH=[["path",{d:"M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3",key:"svg-0"}]],kH=F("outline","shield","Shield",jH);var bH=[["path",{d:"M4 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M15 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M17 17h-11v-14h-2",key:"svg-2"}],["path",{d:"M6 5l14 1l-1 7h-13",key:"svg-3"}]],hH=F("outline","shopping-cart","ShoppingCart",bH);var RH=[["path",{d:"M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105",key:"svg-0"}],["path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0",key:"svg-1"}]],CH=F("outline","smart-home","SmartHome",RH);var xH=[["path",{d:"M10 4l2 1l2 -1",key:"svg-0"}],["path",{d:"M12 2v6.5l3 1.72",key:"svg-1"}],["path",{d:"M17.928 6.268l.134 2.232l1.866 1.232",key:"svg-2"}],["path",{d:"M20.66 7l-5.629 3.25l.01 3.458",key:"svg-3"}],["path",{d:"M19.928 14.268l-1.866 1.232l-.134 2.232",key:"svg-4"}],["path",{d:"M20.66 17l-5.629 -3.25l-2.99 1.738",key:"svg-5"}],["path",{d:"M14 20l-2 -1l-2 1",key:"svg-6"}],["path",{d:"M12 22v-6.5l-3 -1.72",key:"svg-7"}],["path",{d:"M6.072 17.732l-.134 -2.232l-1.866 -1.232",key:"svg-8"}],["path",{d:"M3.34 17l5.629 -3.25l-.01 -3.458",key:"svg-9"}],["path",{d:"M4.072 9.732l1.866 -1.232l.134 -2.232",key:"svg-10"}],["path",{d:"M3.34 7l5.629 3.25l2.99 -1.738",key:"svg-11"}]],yH=F("outline","snowflake","Snowflake",xH);var vH=[["path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6",key:"svg-0"}]],fH=F("outline","sparkles","Sparkles",vH);var gH=[["path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873l-6.158 -3.245",key:"svg-0"}]],uH=F("outline","star","Star",gH);var dH=[["path",{d:"M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",key:"svg-0"}],["path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7",key:"svg-1"}]],cH=F("outline","sun","Sun",dH);var pH=[["path",{d:"M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M7 12a5 5 0 1 0 10 0a5 5 0 1 0 -10 0",key:"svg-1"}],["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-2"}]],mH=F("outline","target","Target",pH);var lH=[["path",{d:"M8 9l3 3l-3 3",key:"svg-0"}],["path",{d:"M13 15l3 0",key:"svg-1"}],["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12",key:"svg-2"}]],rH=F("outline","terminal-2","Terminal2",lH);var iH=[["path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5",key:"svg-0"}]],sH=F("outline","tool","Tool",iH);var oH=[["path",{d:"M4 7l16 0",key:"svg-0"}],["path",{d:"M10 11l0 6",key:"svg-1"}],["path",{d:"M14 11l0 6",key:"svg-2"}],["path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12",key:"svg-3"}],["path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3",key:"svg-4"}]],nH=F("outline","trash","Trash",oH);var aH=[["path",{d:"M8 21l8 0",key:"svg-0"}],["path",{d:"M12 17l0 4",key:"svg-1"}],["path",{d:"M7 4l10 0",key:"svg-2"}],["path",{d:"M17 4v8a5 5 0 0 1 -10 0v-8",key:"svg-3"}],["path",{d:"M3 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-4"}],["path",{d:"M17 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-5"}]],tH=F("outline","trophy","Trophy",aH);var eH=[["path",{d:"M5.343 7.343a8 8 0 1 1 11.314 11.314l-11.314 -11.314",key:"svg-0"}],["path",{d:"M10.828 13.34l-4.242 4.243a2 2 0 1 0 2.828 2.828",key:"svg-1"}]],QW=F("outline","umbrella-2","Umbrella2",eH);var JW=[["path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M7 9l5 -5l5 5",key:"svg-1"}],["path",{d:"M12 4l0 12",key:"svg-2"}]],ZW=F("outline","upload","Upload",JW);var YW=[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]],XW=F("outline","user","User",YW);var $W=[["path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3",key:"svg-0"}],["path",{d:"M15 6l3 3",key:"svg-1"}],["path",{d:"M9 3a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2",key:"svg-2"}],["path",{d:"M19 13a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2",key:"svg-3"}]],qW=F("outline","wand","Wand",$W);var HW=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]],WW=F("outline","world","World",HW);var zW=[["path",{d:"M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm.01 13l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z",key:"svg-0"}]],GW=F("filled","alert-circle-filled","AlertCircleFilled",zW);var KW=[["path",{d:"M13 2l.018 .001l.016 .001l.083 .005l.011 .002h.011l.038 .009l.052 .008l.016 .006l.011 .001l.029 .011l.052 .014l.019 .009l.015 .004l.028 .014l.04 .017l.021 .012l.022 .01l.023 .015l.031 .017l.034 .024l.018 .011l.013 .012l.024 .017l.038 .034l.022 .017l.008 .01l.014 .012l.036 .041l.026 .027l.006 .009c.12 .147 .196 .322 .218 .513l.001 .012l.002 .041l.004 .064v6h5a1 1 0 0 1 .868 1.497l-.06 .091l-8 11c-.568 .783 -1.808 .38 -1.808 -.588v-6h-5a1 1 0 0 1 -.868 -1.497l.06 -.091l8 -11l.01 -.013l.018 -.024l.033 -.038l.018 -.022l.009 -.008l.013 -.014l.04 -.036l.028 -.026l.008 -.006a1 1 0 0 1 .402 -.199l.011 -.001l.027 -.005l.074 -.013l.011 -.001l.041 -.002z",key:"svg-0"}]],BW=F("filled","bolt-filled","BoltFilled",KW);var FW=[["path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z",key:"svg-0"}]],OW=F("filled","circle-check-filled","CircleCheckFilled",FW);var UW=[["path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",key:"svg-0"}]],DW=F("filled","player-stop-filled","PlayerStopFilled",UW);var g1=b(h(),1);var PQ=(Q)=>{let J,Z=new Set,Y=(z,G)=>{let K=typeof z==="function"?z(J):z;if(!Object.is(K,J)){let B=J;J=(G!=null?G:typeof K!=="object"||K===null)?K:Object.assign({},J,K),Z.forEach((O)=>O(J,B))}},X=()=>J,H={setState:Y,getState:X,getInitialState:()=>W,subscribe:(z)=>{return Z.add(z),()=>Z.delete(z)}},W=J=Q(Y,X,H);return H},SQ=(Q)=>Q?PQ(Q):PQ;var wW=(Q)=>Q;function NW(Q,J=wW){let Z=g1.default.useSyncExternalStore(Q.subscribe,g1.default.useCallback(()=>J(Q.getState()),[Q,J]),g1.default.useCallback(()=>J(Q.getInitialState()),[Q,J]));return g1.default.useDebugValue(Z),Z}var jQ=(Q)=>{let J=SQ(Q),Z=(Y)=>NW(J,Y);return Object.assign(Z,J),Z},Yt1=(Q)=>Q?jQ(Q):jQ;function VW(Q,J){let Z;try{Z=Q()}catch(X){return}return{getItem:(X)=>{var q;let $=(W)=>{if(W===null)return null;return JSON.parse(W,J==null?void 0:J.reviver)},H=(q=Z.getItem(X))!=null?q:null;if(H instanceof Promise)return H.then($);return $(H)},setItem:(X,q)=>Z.setItem(X,JSON.stringify(q,J==null?void 0:J.replacer)),removeItem:(X)=>Z.removeItem(X)}}var x7=(Q)=>(J)=>{try{let Z=Q(J);if(Z instanceof Promise)return Z;return{then(Y){return x7(Y)(Z)},catch(Y){return this}}}catch(Z){return{then(Y){return this},catch(Y){return x7(Y)(Z)}}}},_W=(Q,J)=>(Z,Y,X)=>{let q={storage:VW(()=>window.localStorage),partialize:(D)=>D,version:0,merge:(D,V)=>({...V,...D}),...J},$=!1,H=0,W=new Set,z=new Set,G=q.storage;if(!G)return Q((...D)=>{console.warn(`[zustand persist middleware] Unable to update item '${q.name}', the given storage is currently unavailable.`),Z(...D)},Y,X);let K=()=>{let D=q.partialize({...Y()});return G.setItem(q.name,{state:D,version:q.version})},B=X.setState;X.setState=(D,V)=>{return B(D,V),K()};let O=Q((...D)=>{return Z(...D),K()},Y,X);X.getInitialState=()=>O;let U,N=()=>{var D,V;if(!G)return;let I=++H;$=!1,W.forEach((w)=>{var T;return w((T=Y())!=null?T:O)});let _=((V=q.onRehydrateStorage)==null?void 0:V.call(q,(D=Y())!=null?D:O))||void 0;return x7(G.getItem.bind(G))(q.name).then((w)=>{if(w)if(typeof w.version==="number"&&w.version!==q.version){if(q.migrate){let T=q.migrate(w.state,w.version);if(T instanceof Promise)return T.then((L)=>[!0,L]);return[!0,T]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,w.state];return[!1,void 0]}).then((w)=>{var T;if(I!==H)return;let[L,k]=w;if(U=q.merge(k,(T=Y())!=null?T:O),Z(U,!0),L)return K()}).then(()=>{if(I!==H)return;_==null||_(Y(),void 0),U=Y(),$=!0,z.forEach((w)=>w(U))}).catch((w)=>{if(I!==H)return;_==null||_(void 0,w)})};if(X.persist={setOptions:(D)=>{if(q={...q,...D},D.storage)G=D.storage},clearStorage:()=>{G==null||G.removeItem(q.name)},getOptions:()=>q,rehydrate:()=>N(),hasHydrated:()=>$,onHydrate:(D)=>{return W.add(D),()=>{W.delete(D)}},onFinishHydration:(D)=>{return z.add(D),()=>{z.delete(D)}}},!q.skipHydration)N();return U||O},$t1=_W;function E5(Q,J){if(Q.indexOf(J)===-1)Q.push(J)}function H5(Q,J){let Z=Q.indexOf(J);if(Z>-1)Q.splice(Z,1)}var e=(Q,J,Z)=>{if(Z>J)return J;if(Z<Q)return Q;return Z};function y7(Q,J){return J?`${Q}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${J}`:Q}var C0=()=>{},U0=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")C0=(Q,J,Z)=>{if(!Q&&typeof console<"u")console.warn(y7(J,Z))},U0=(Q,J,Z)=>{if(!Q)throw Error(y7(J,Z))};var W0={};var u1=(Q)=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(Q);function d1(Q){return typeof Q==="object"&&Q!==null}var c1=(Q)=>/^0[^.\s]+$/u.test(Q);function p1(Q){let J;return()=>{if(J===void 0)J=Q();return J}}var i=(Q)=>Q;var AW=(Q,J)=>(Z)=>J(Q(Z)),P0=(...Q)=>Q.reduce(AW);var x0=(Q,J,Z)=>{let Y=J-Q;return Y===0?1:(Z-Q)/Y};class W5{constructor(){this.subscriptions=[]}add(Q){return E5(this.subscriptions,Q),()=>H5(this.subscriptions,Q)}notify(Q,J,Z){let Y=this.subscriptions.length;if(!Y)return;if(Y===1)this.subscriptions[0](Q,J,Z);else for(let X=0;X<Y;X++){let q=this.subscriptions[X];q&&q(Q,J,Z)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var Q0=(Q)=>Q*1000,X0=(Q)=>Q/1000;function m1(Q,J){return J?Q*(1000/J):0}var kQ=(Q,J,Z)=>(((1-3*Z+3*J)*Q+(3*Z-6*J))*Q+3*J)*Q,IW=0.0000001,TW=12;function LW(Q,J,Z,Y,X){let q,$,H=0;do if($=J+(Z-J)/2,q=kQ($,Y,X)-Q,q>0)Z=$;else J=$;while(Math.abs(q)>IW&&++H<TW);return $}function z5(Q,J,Z,Y){if(Q===J&&Z===Y)return i;let X=(q)=>LW(q,0,1,Q,Z);return(q)=>q===0||q===1?q:kQ(X(q),J,Y)}var a8=(Q)=>(J)=>J<=0.5?Q(2*J)/2:(2-Q(2*(1-J)))/2;var t8=(Q)=>(J)=>1-Q(1-J);var e8=z5(0.33,1.53,0.69,0.99),Y1=t8(e8),l1=a8(Y1);var r1=(Q)=>(Q*=2)<1?0.5*Y1(Q):0.5*(2-Math.pow(2,-10*(Q-1)));var i1=(Q)=>1-Math.sin(Math.acos(Q)),s1=t8(i1),o1=a8(i1);var v7=z5(0.42,0,1,1),f7=z5(0,0,0.58,1),n1=z5(0.42,0,0.58,1);var g7=(Q)=>{return Array.isArray(Q)&&typeof Q[0]!=="number"};var a1=(Q)=>Array.isArray(Q)&&typeof Q[0]==="number";var bQ={linear:i,easeIn:v7,easeInOut:n1,easeOut:f7,circIn:i1,circInOut:o1,circOut:s1,backIn:Y1,backInOut:l1,backOut:e8,anticipate:r1},MW=(Q)=>{return typeof Q==="string"},Q6=(Q)=>{if(a1(Q)){U0(Q.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[J,Z,Y,X]=Q;return z5(J,Z,Y,X)}else if(MW(Q))return U0(bQ[Q]!==void 0,`Invalid easing type '${Q}'`,"invalid-easing-type"),bQ[Q];return Q};var t1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var w0={value:null,addProjectionMetrics:null};function hQ(Q,J){let Z=new Set,Y=new Set,X=!1,q=!1,$=new WeakSet,H={delta:0,timestamp:0,isProcessing:!1},W=0;function z(K){if($.has(K))G.schedule(K),Q();W++,K(H)}let G={schedule:(K,B=!1,O=!1)=>{let N=O&&X?Z:Y;if(B)$.add(K);if(!N.has(K))N.add(K);return K},cancel:(K)=>{Y.delete(K),$.delete(K)},process:(K)=>{if(H=K,X){q=!0;return}if(X=!0,[Z,Y]=[Y,Z],Z.forEach(z),J&&w0.value)w0.value.frameloop[J].push(W);if(W=0,Z.clear(),X=!1,q)q=!1,G.process(K)}};return G}var EW=40;function J6(Q,J){let Z=!1,Y=!0,X={delta:0,timestamp:0,isProcessing:!1},q=()=>Z=!0,$=t1.reduce((_,w)=>{return _[w]=hQ(q,J?w:void 0),_},{}),{setup:H,read:W,resolveKeyframes:z,preUpdate:G,update:K,preRender:B,render:O,postRender:U}=$,N=()=>{let _=W0.useManualTiming?X.timestamp:performance.now();if(Z=!1,!W0.useManualTiming)X.delta=Y?16.666666666666668:Math.max(Math.min(_-X.timestamp,EW),1);if(X.timestamp=_,X.isProcessing=!0,H.process(X),W.process(X),z.process(X),G.process(X),K.process(X),B.process(X),O.process(X),U.process(X),X.isProcessing=!1,Z&&J)Y=!1,Q(N)},D=()=>{if(Z=!0,Y=!0,!X.isProcessing)Q(N)};return{schedule:t1.reduce((_,w)=>{let T=$[w];return _[w]=(L,k=!1,A=!1)=>{if(!Z)D();return T.schedule(L,k,A)},_},{}),cancel:(_)=>{for(let w=0;w<t1.length;w++)$[t1[w]].cancel(_)},state:X,steps:$}}var{schedule:C,cancel:D0,state:a,steps:e1}=J6(typeof requestAnimationFrame<"u"?requestAnimationFrame:i,!0);var Z6;function PW(){Z6=void 0}var s={now:()=>{if(Z6===void 0)s.set(a.isProcessing||W0.useManualTiming?a.timestamp:performance.now());return Z6},set:(Q)=>{Z6=Q,queueMicrotask(PW)}};var y0={layout:0,mainThread:0,waapi:0};var RQ=(Q)=>(J)=>typeof J==="string"&&J.startsWith(Q),Y6=RQ("--"),SW=RQ("var(--"),X1=(Q)=>{if(!SW(Q))return!1;return jW.test(Q.split("/*")[0].trim())},jW=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function u7(Q){if(typeof Q!=="string")return!1;return Q.split("/*")[0].includes("var(--")}var v0={test:(Q)=>typeof Q==="number",parse:parseFloat,transform:(Q)=>Q},o0={...v0,transform:(Q)=>e(0,1,Q)},Q8={...v0,default:1};var G5=(Q)=>Math.round(Q*1e5)/1e5;var $1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function CQ(Q){return Q==null}var xQ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var q1=(Q,J)=>(Z)=>{return Boolean(typeof Z==="string"&&xQ.test(Z)&&Z.startsWith(Q)||J&&!CQ(Z)&&Object.prototype.hasOwnProperty.call(Z,J))},X6=(Q,J,Z)=>(Y)=>{if(typeof Y!=="string")return Y;let[X,q,$,H]=Y.match($1);return{[Q]:parseFloat(X),[J]:parseFloat(q),[Z]:parseFloat($),alpha:H!==void 0?parseFloat(H):1}};var kW=(Q)=>e(0,255,Q),d7={...v0,transform:(Q)=>Math.round(kW(Q))},f0={test:q1("rgb","red"),parse:X6("red","green","blue"),transform:({red:Q,green:J,blue:Z,alpha:Y=1})=>"rgba("+d7.transform(Q)+", "+d7.transform(J)+", "+d7.transform(Z)+", "+G5(o0.transform(Y))+")"};function bW(Q){let J="",Z="",Y="",X="";if(Q.length>5)J=Q.substring(1,3),Z=Q.substring(3,5),Y=Q.substring(5,7),X=Q.substring(7,9);else J=Q.substring(1,2),Z=Q.substring(2,3),Y=Q.substring(3,4),X=Q.substring(4,5),J+=J,Z+=Z,Y+=Y,X+=X;return{red:parseInt(J,16),green:parseInt(Z,16),blue:parseInt(Y,16),alpha:X?parseInt(X,16)/255:1}}var J8={test:q1("#"),parse:bW,transform:f0.transform};var Z8=(Q)=>({test:(J)=>typeof J==="string"&&J.endsWith(Q)&&J.split(" ").length===1,parse:parseFloat,transform:(J)=>`${J}${Q}`}),S0=Z8("deg"),z0=Z8("%"),M=Z8("px"),c7=Z8("vh"),p7=Z8("vw"),$6=(()=>({...z0,parse:(Q)=>z0.parse(Q)/100,transform:(Q)=>z0.transform(Q*100)}))();var K5={test:q1("hsl","hue"),parse:X6("hue","saturation","lightness"),transform:({hue:Q,saturation:J,lightness:Z,alpha:Y=1})=>{return"hsla("+Math.round(Q)+", "+z0.transform(G5(J))+", "+z0.transform(G5(Z))+", "+G5(o0.transform(Y))+")"}};var m={test:(Q)=>f0.test(Q)||J8.test(Q)||K5.test(Q),parse:(Q)=>{if(f0.test(Q))return f0.parse(Q);else if(K5.test(Q))return K5.parse(Q);else return J8.parse(Q)},transform:(Q)=>{return typeof Q==="string"?Q:Q.hasOwnProperty("red")?f0.transform(Q):K5.transform(Q)},getAnimatableNone:(Q)=>{let J=m.parse(Q);return J.alpha=0,m.transform(J)}};var yQ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function hW(Q){return isNaN(Q)&&typeof Q==="string"&&(Q.match($1)?.length||0)+(Q.match(yQ)?.length||0)>0}var fQ="number",gQ="color",RW="var",CW="var(",vQ="${}",xW=/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 P5(Q){let J=Q.toString(),Z=[],Y={color:[],number:[],var:[]},X=[],q=0,H=J.replace(xW,(W)=>{if(m.test(W))Y.color.push(q),X.push(gQ),Z.push(m.parse(W));else if(W.startsWith(CW))Y.var.push(q),X.push(RW),Z.push(W);else Y.number.push(q),X.push(fQ),Z.push(parseFloat(W));return++q,vQ}).split(vQ);return{values:Z,split:H,indexes:Y,types:X}}function uQ(Q){return P5(Q).values}function dQ(Q){let{split:J,types:Z}=P5(Q),Y=J.length;return(X)=>{let q="";for(let $=0;$<Y;$++)if(q+=J[$],X[$]!==void 0){let H=Z[$];if(H===fQ)q+=G5(X[$]);else if(H===gQ)q+=m.transform(X[$]);else q+=X[$]}return q}}var yW=(Q)=>typeof Q==="number"?0:m.test(Q)?m.getAnimatableNone(Q):Q;function vW(Q){let J=uQ(Q);return dQ(Q)(J.map(yW))}var $0={test:hW,parse:uQ,createTransformer:dQ,getAnimatableNone:vW};function m7(Q,J,Z){if(Z<0)Z+=1;if(Z>1)Z-=1;if(Z<0.16666666666666666)return Q+(J-Q)*6*Z;if(Z<0.5)return J;if(Z<0.6666666666666666)return Q+(J-Q)*(0.6666666666666666-Z)*6;return Q}function cQ({hue:Q,saturation:J,lightness:Z,alpha:Y}){Q/=360,J/=100,Z/=100;let X=0,q=0,$=0;if(!J)X=q=$=Z;else{let H=Z<0.5?Z*(1+J):Z+J-Z*J,W=2*Z-H;X=m7(W,H,Q+0.3333333333333333),q=m7(W,H,Q),$=m7(W,H,Q-0.3333333333333333)}return{red:Math.round(X*255),green:Math.round(q*255),blue:Math.round($*255),alpha:Y}}function H1(Q,J){return(Z)=>Z>0?J:Q}var y=(Q,J,Z)=>{return Q+(J-Q)*Z};var l7=(Q,J,Z)=>{let Y=Q*Q,X=Z*(J*J-Y)+Y;return X<0?0:Math.sqrt(X)},fW=[J8,f0,K5],gW=(Q)=>fW.find((J)=>J.test(Q));function pQ(Q){let J=gW(Q);if(C0(Boolean(J),`'${Q}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(J))return!1;let Z=J.parse(Q);if(J===K5)Z=cQ(Z);return Z}var r7=(Q,J)=>{let Z=pQ(Q),Y=pQ(J);if(!Z||!Y)return H1(Q,J);let X={...Z};return(q)=>{return X.red=l7(Z.red,Y.red,q),X.green=l7(Z.green,Y.green,q),X.blue=l7(Z.blue,Y.blue,q),X.alpha=y(Z.alpha,Y.alpha,q),f0.transform(X)}};var q6=new Set(["none","hidden"]);function mQ(Q,J){if(q6.has(Q))return(Z)=>Z<=0?Q:J;else return(Z)=>Z>=1?J:Q}function uW(Q,J){return(Z)=>y(Q,J,Z)}function H6(Q){if(typeof Q==="number")return uW;else if(typeof Q==="string")return X1(Q)?H1:m.test(Q)?r7:pW;else if(Array.isArray(Q))return lQ;else if(typeof Q==="object")return m.test(Q)?r7:dW;return H1}function lQ(Q,J){let Z=[...Q],Y=Z.length,X=Q.map((q,$)=>H6(q)(q,J[$]));return(q)=>{for(let $=0;$<Y;$++)Z[$]=X[$](q);return Z}}function dW(Q,J){let Z={...Q,...J},Y={};for(let X in Z)if(Q[X]!==void 0&&J[X]!==void 0)Y[X]=H6(Q[X])(Q[X],J[X]);return(X)=>{for(let q in Y)Z[q]=Y[q](X);return Z}}function cW(Q,J){let Z=[],Y={color:0,var:0,number:0};for(let X=0;X<J.values.length;X++){let q=J.types[X],$=Q.indexes[q][Y[q]],H=Q.values[$]??0;Z[X]=H,Y[q]++}return Z}var pW=(Q,J)=>{let Z=$0.createTransformer(J),Y=P5(Q),X=P5(J);if(Y.indexes.var.length===X.indexes.var.length&&Y.indexes.color.length===X.indexes.color.length&&Y.indexes.number.length>=X.indexes.number.length){if(q6.has(Q)&&!X.values.length||q6.has(J)&&!Y.values.length)return mQ(Q,J);return P0(lQ(cW(Y,X),X.values),Z)}else return C0(!0,`Complex values '${Q}' and '${J}' 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"),H1(Q,J)};function W6(Q,J,Z){if(typeof Q==="number"&&typeof J==="number"&&typeof Z==="number")return y(Q,J,Z);return H6(Q)(Q,J)}var rQ=(Q)=>{let J=({timestamp:Z})=>Q(Z);return{start:(Z=!0)=>C.update(J,Z),stop:()=>D0(J),now:()=>a.isProcessing?a.timestamp:s.now()}};var z6=(Q,J,Z=10)=>{let Y="",X=Math.max(Math.round(J/Z),2);for(let q=0;q<X;q++)Y+=Math.round(Q(q/(X-1))*1e4)/1e4+", ";return`linear(${Y.substring(0,Y.length-2)})`};var G6=20000;function W1(Q){let J=0,Z=50,Y=Q.next(J);while(!Y.done&&J<20000)J+=Z,Y=Q.next(J);return J>=20000?1/0:J}function iQ(Q,J=100,Z){let Y=Z({...Q,keyframes:[0,J]}),X=Math.min(W1(Y),G6);return{type:"keyframes",ease:(q)=>{return Y.next(X*q).value/J},duration:X0(X)}}var mW=5;function K6(Q,J,Z){let Y=Math.max(J-mW,0);return m1(Z-Q(Y),J-Y)}var p={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:0.3,visualDuration:0.3,restSpeed:{granular:0.01,default:2},restDelta:{granular:0.005,default:0.5},minDuration:0.01,maxDuration:10,minDamping:0.05,maxDamping:1};var i7=0.001;function sQ({duration:Q=p.duration,bounce:J=p.bounce,velocity:Z=p.velocity,mass:Y=p.mass}){let X,q;C0(Q<=Q0(p.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let $=1-J;if($=e(p.minDamping,p.maxDamping,$),Q=e(p.minDuration,p.maxDuration,X0(Q)),$<1)X=(z)=>{let G=z*$,K=G*Q,B=G-Z,O=B6(z,$),U=Math.exp(-K);return i7-B/O*U},q=(z)=>{let K=z*$*Q,B=K*Z+Z,O=Math.pow($,2)*Math.pow(z,2)*Q,U=Math.exp(-K),N=B6(Math.pow(z,2),$);return(-X(z)+i7>0?-1:1)*((B-O)*U)/N};else X=(z)=>{let G=Math.exp(-z*Q),K=(z-Z)*Q+1;return-i7+G*K},q=(z)=>{let G=Math.exp(-z*Q),K=(Z-z)*(Q*Q);return G*K};let H=5/Q,W=rW(X,q,H);if(Q=Q0(Q),isNaN(W))return{stiffness:p.stiffness,damping:p.damping,duration:Q};else{let z=Math.pow(W,2)*Y;return{stiffness:z,damping:$*2*Math.sqrt(Y*z),duration:Q}}}var lW=12;function rW(Q,J,Z){let Y=Z;for(let X=1;X<lW;X++)Y=Y-Q(Y)/J(Y);return Y}function B6(Q,J){return Q*Math.sqrt(1-J*J)}var iW=["duration","bounce"],sW=["stiffness","damping","mass"];function oQ(Q,J){return J.some((Z)=>Q[Z]!==void 0)}function oW(Q){let J={velocity:p.velocity,stiffness:p.stiffness,damping:p.damping,mass:p.mass,isResolvedFromDuration:!1,...Q};if(!oQ(Q,sW)&&oQ(Q,iW))if(J.velocity=0,Q.visualDuration){let Z=Q.visualDuration,Y=2*Math.PI/(Z*1.2),X=Y*Y,q=2*e(0.05,1,1-(Q.bounce||0))*Math.sqrt(X);J={...J,mass:p.mass,stiffness:X,damping:q}}else{let Z=sQ({...Q,velocity:0});J={...J,...Z,mass:p.mass},J.isResolvedFromDuration=!0}return J}function z1(Q=p.visualDuration,J=p.bounce){let Z=typeof Q!=="object"?{visualDuration:Q,keyframes:[0,1],bounce:J}:Q,{restSpeed:Y,restDelta:X}=Z,q=Z.keyframes[0],$=Z.keyframes[Z.keyframes.length-1],H={done:!1,value:q},{stiffness:W,damping:z,mass:G,duration:K,velocity:B,isResolvedFromDuration:O}=oW({...Z,velocity:-X0(Z.velocity||0)}),U=B||0,N=z/(2*Math.sqrt(W*G)),D=$-q,V=X0(Math.sqrt(W/G)),I=Math.abs(D)<5;Y||(Y=I?p.restSpeed.granular:p.restSpeed.default),X||(X=I?p.restDelta.granular:p.restDelta.default);let _;if(N<1){let T=B6(V,N);_=(L)=>{let k=Math.exp(-N*V*L);return $-k*((U+N*V*D)/T*Math.sin(T*L)+D*Math.cos(T*L))}}else if(N===1)_=(T)=>$-Math.exp(-V*T)*(D+(U+V*D)*T);else{let T=V*Math.sqrt(N*N-1);_=(L)=>{let k=Math.exp(-N*V*L),A=Math.min(T*L,300);return $-k*((U+N*V*D)*Math.sinh(A)+T*D*Math.cosh(A))/T}}let w={calculatedDuration:O?K||null:null,next:(T)=>{let L=_(T);if(!O){let k=T===0?U:0;if(N<1)k=T===0?Q0(U):K6(_,T,L);let A=Math.abs(k)<=Y,j=Math.abs($-L)<=X;H.done=A&&j}else H.done=T>=K;return H.value=H.done?$:L,H},toString:()=>{let T=Math.min(W1(w),G6),L=z6((k)=>w.next(T*k).value,T,30);return T+"ms "+L},toTransition:()=>{}};return w}z1.applyToOptions=(Q)=>{let J=iQ(Q,100,z1);return Q.ease=J.ease,Q.duration=Q0(J.duration),Q.type="keyframes",Q};function Y8({keyframes:Q,velocity:J=0,power:Z=0.8,timeConstant:Y=325,bounceDamping:X=10,bounceStiffness:q=500,modifyTarget:$,min:H,max:W,restDelta:z=0.5,restSpeed:G}){let K=Q[0],B={done:!1,value:K},O=(A)=>H!==void 0&&A<H||W!==void 0&&A>W,U=(A)=>{if(H===void 0)return W;if(W===void 0)return H;return Math.abs(H-A)<Math.abs(W-A)?H:W},N=Z*J,D=K+N,V=$===void 0?D:$(D);if(V!==D)N=V-K;let I=(A)=>-N*Math.exp(-A/Y),_=(A)=>V+I(A),w=(A)=>{let j=I(A),v=_(A);B.done=Math.abs(j)<=z,B.value=B.done?V:v},T,L,k=(A)=>{if(!O(B.value))return;T=A,L=z1({keyframes:[B.value,U(B.value)],velocity:K6(_,A,B.value),damping:X,stiffness:q,restDelta:z,restSpeed:G})};return k(0),{calculatedDuration:null,next:(A)=>{let j=!1;if(!L&&T===void 0)j=!0,w(A),k(A);if(T!==void 0&&A>=T)return L.next(A-T);else return!j&&w(A),B}}}function nW(Q,J,Z){let Y=[],X=Z||W0.mix||W6,q=Q.length-1;for(let $=0;$<q;$++){let H=X(Q[$],Q[$+1]);if(J){let W=Array.isArray(J)?J[$]||i:J;H=P0(W,H)}Y.push(H)}return Y}function nQ(Q,J,{clamp:Z=!0,ease:Y,mixer:X}={}){let q=Q.length;if(U0(q===J.length,"Both input and output ranges must be the same length","range-length"),q===1)return()=>J[0];if(q===2&&J[0]===J[1])return()=>J[1];let $=Q[0]===Q[1];if(Q[0]>Q[q-1])Q=[...Q].reverse(),J=[...J].reverse();let H=nW(J,Y,X),W=H.length,z=(G)=>{if($&&G<Q[0])return J[0];let K=0;if(W>1){for(;K<Q.length-2;K++)if(G<Q[K+1])break}let B=x0(Q[K],Q[K+1],G);return H[K](B)};return Z?(G)=>z(e(Q[0],Q[q-1],G)):z}function aQ(Q,J){let Z=Q[Q.length-1];for(let Y=1;Y<=J;Y++){let X=x0(0,J,Y);Q.push(y(Z,1,X))}}function tQ(Q){let J=[0];return aQ(J,Q.length-1),J}function eQ(Q,J){return Q.map((Z)=>Z*J)}function aW(Q,J){return Q.map(()=>J||n1).splice(0,Q.length-1)}function S5({duration:Q=300,keyframes:J,times:Z,ease:Y="easeInOut"}){let X=g7(Y)?Y.map(Q6):Q6(Y),q={done:!1,value:J[0]},$=eQ(Z&&Z.length===J.length?Z:tQ(J),Q),H=nQ($,J,{ease:Array.isArray(X)?X:aW(J,X)});return{calculatedDuration:Q,next:(W)=>{return q.value=H(W),q.done=W>=Q,q}}}var tW=(Q)=>Q!==null;function G1(Q,{repeat:J,repeatType:Z="loop"},Y,X=1){let q=Q.filter(tW),H=X<0||J&&Z!=="loop"&&J%2===1?0:q.length-1;return!H||Y===void 0?q[H]:Y}var eW={decay:Y8,inertia:Y8,tween:S5,keyframes:S5,spring:z1};function F6(Q){if(typeof Q.type==="string")Q.type=eW[Q.type]}class j5{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise((Q)=>{this.resolve=Q})}notifyFinished(){this.resolve()}then(Q,J){return this.finished.then(Q,J)}}var Qz=(Q)=>Q/100;class k5 extends j5{constructor(Q){super();if(this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:J}=this.options;if(J&&J.updatedAt!==s.now())this.tick(s.now());if(this.isStopped=!0,this.state==="idle")return;this.teardown(),this.options.onStop?.()},y0.mainThread++,this.options=Q,this.initAnimation(),this.play(),Q.autoplay===!1)this.pause()}initAnimation(){let{options:Q}=this;F6(Q);let{type:J=S5,repeat:Z=0,repeatDelay:Y=0,repeatType:X,velocity:q=0}=Q,{keyframes:$}=Q,H=J||S5;if(H!==S5&&typeof $[0]!=="number")this.mixKeyframes=P0(Qz,W6($[0],$[1])),$=[0,100];let W=H({...Q,keyframes:$});if(X==="mirror")this.mirroredGenerator=H({...Q,keyframes:[...$].reverse(),velocity:-q});if(W.calculatedDuration===null)W.calculatedDuration=W1(W);let{calculatedDuration:z}=W;this.calculatedDuration=z,this.resolvedDuration=z+Y,this.totalDuration=this.resolvedDuration*(Z+1)-Y,this.generator=W}updateTime(Q){let J=Math.round(Q-this.startTime)*this.playbackSpeed;if(this.holdTime!==null)this.currentTime=this.holdTime;else this.currentTime=J}tick(Q,J=!1){let{generator:Z,totalDuration:Y,mixKeyframes:X,mirroredGenerator:q,resolvedDuration:$,calculatedDuration:H}=this;if(this.startTime===null)return Z.next(0);let{delay:W=0,keyframes:z,repeat:G,repeatType:K,repeatDelay:B,type:O,onUpdate:U,finalKeyframe:N}=this.options;if(this.speed>0)this.startTime=Math.min(this.startTime,Q);else if(this.speed<0)this.startTime=Math.min(Q-Y/this.speed,this.startTime);if(J)this.currentTime=Q;else this.updateTime(Q);let D=this.currentTime-W*(this.playbackSpeed>=0?1:-1),V=this.playbackSpeed>=0?D<0:D>Y;if(this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null)this.currentTime=Y;let I=this.currentTime,_=Z;if(G){let k=Math.min(this.currentTime,Y)/$,A=Math.floor(k),j=k%1;if(!j&&k>=1)j=1;if(j===1&&A--,A=Math.min(A,G+1),Boolean(A%2)){if(K==="reverse"){if(j=1-j,B)j-=B/$}else if(K==="mirror")_=q}I=e(0,1,j)*$}let w=V?{done:!1,value:z[0]}:_.next(I);if(X&&!V)w.value=X(w.value);let{done:T}=w;if(!V&&H!==null)T=this.playbackSpeed>=0?this.currentTime>=Y:this.currentTime<=0;let L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);if(L&&O!==Y8)w.value=G1(z,this.options,N,this.speed);if(U)U(w.value);if(L)this.finish();return w}then(Q,J){return this.finished.then(Q,J)}get duration(){return X0(this.calculatedDuration)}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+X0(Q)}get time(){return X0(this.currentTime)}set time(Q){if(Q=Q0(Q),this.currentTime=Q,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0)this.holdTime=Q;else if(this.driver)this.startTime=this.driver.now()-Q/this.playbackSpeed;if(this.driver)this.driver.start(!1);else this.startTime=0,this.state="paused",this.holdTime=Q,this.tick(Q)}get speed(){return this.playbackSpeed}set speed(Q){let J=this.playbackSpeed!==Q;if(J&&this.driver)this.updateTime(s.now());if(this.playbackSpeed=Q,J&&this.driver)this.time=X0(this.currentTime)}play(){if(this.isStopped)return;let{driver:Q=rQ,startTime:J}=this.options;if(!this.driver)this.driver=Q((Y)=>this.tick(Y));this.options.onPlay?.();let Z=this.driver.now();if(this.state==="finished")this.updateFinished(),this.startTime=Z;else if(this.holdTime!==null)this.startTime=Z-this.holdTime;else if(!this.startTime)this.startTime=J??Z;if(this.state==="finished"&&this.speed<0)this.startTime+=this.calculatedDuration;this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s.now()),this.holdTime=this.currentTime}complete(){if(this.state!=="running")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,y0.mainThread--}stopDriver(){if(!this.driver)return;this.driver.stop(),this.driver=void 0}sample(Q){return this.startTime=0,this.tick(Q,!0)}attachTimeline(Q){if(this.options.allowFlatten)this.options.type="keyframes",this.options.ease="linear",this.initAnimation();return this.driver?.stop(),Q.observe(this)}}function QJ(Q){for(let J=1;J<Q.length;J++)Q[J]??(Q[J]=Q[J-1])}var b5=(Q)=>Q*180/Math.PI,s7=(Q)=>{let J=b5(Math.atan2(Q[1],Q[0]));return o7(J)},Jz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(Q)=>(Math.abs(Q[0])+Math.abs(Q[3]))/2,rotate:s7,rotateZ:s7,skewX:(Q)=>b5(Math.atan(Q[1])),skewY:(Q)=>b5(Math.atan(Q[2])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[2]))/2},o7=(Q)=>{if(Q=Q%360,Q<0)Q+=360;return Q},JJ=s7,ZJ=(Q)=>Math.sqrt(Q[0]*Q[0]+Q[1]*Q[1]),YJ=(Q)=>Math.sqrt(Q[4]*Q[4]+Q[5]*Q[5]),Zz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ZJ,scaleY:YJ,scale:(Q)=>(ZJ(Q)+YJ(Q))/2,rotateX:(Q)=>o7(b5(Math.atan2(Q[6],Q[5]))),rotateY:(Q)=>o7(b5(Math.atan2(-Q[2],Q[0]))),rotateZ:JJ,rotate:JJ,skewX:(Q)=>b5(Math.atan(Q[4])),skewY:(Q)=>b5(Math.atan(Q[1])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[4]))/2};function O6(Q){return Q.includes("scale")?1:0}function U6(Q,J){if(!Q||Q==="none")return O6(J);let Z=Q.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),Y,X;if(Z)Y=Zz,X=Z;else{let H=Q.match(/^matrix\(([-\d.e\s,]+)\)$/u);Y=Jz,X=H}if(!X)return O6(J);let q=Y[J],$=X[1].split(",").map(Yz);return typeof q==="function"?q($):$[q]}var XJ=(Q,J)=>{let{transform:Z="none"}=getComputedStyle(Q);return U6(Z,J)};function Yz(Q){return parseFloat(Q.trim())}var g0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],I0=(()=>new Set(g0))();var n7=(Q)=>Q===v0||Q===M,Xz=new Set(["x","y","z"]),$z=g0.filter((Q)=>!Xz.has(Q));function $J(Q){let J=[];return $z.forEach((Z)=>{let Y=Q.getValue(Z);if(Y!==void 0)J.push([Z,Y.get()]),Y.set(Z.startsWith("scale")?1:0)}),J}var n0={width:({x:Q},{paddingLeft:J="0",paddingRight:Z="0"})=>Q.max-Q.min-parseFloat(J)-parseFloat(Z),height:({y:Q},{paddingTop:J="0",paddingBottom:Z="0"})=>Q.max-Q.min-parseFloat(J)-parseFloat(Z),top:(Q,{top:J})=>parseFloat(J),left:(Q,{left:J})=>parseFloat(J),bottom:({y:Q},{top:J})=>parseFloat(J)+(Q.max-Q.min),right:({x:Q},{left:J})=>parseFloat(J)+(Q.max-Q.min),x:(Q,{transform:J})=>U6(J,"x"),y:(Q,{transform:J})=>U6(J,"y")};n0.translateX=n0.x;n0.translateY=n0.y;var h5=new Set,a7=!1,t7=!1,e7=!1;function qJ(){if(t7){let Q=Array.from(h5).filter((Y)=>Y.needsMeasurement),J=new Set(Q.map((Y)=>Y.element)),Z=new Map;J.forEach((Y)=>{let X=$J(Y);if(!X.length)return;Z.set(Y,X),Y.render()}),Q.forEach((Y)=>Y.measureInitialState()),J.forEach((Y)=>{Y.render();let X=Z.get(Y);if(X)X.forEach(([q,$])=>{Y.getValue(q)?.set($)})}),Q.forEach((Y)=>Y.measureEndState()),Q.forEach((Y)=>{if(Y.suspendedScrollY!==void 0)window.scrollTo(0,Y.suspendedScrollY)})}t7=!1,a7=!1,h5.forEach((Q)=>Q.complete(e7)),h5.clear()}function HJ(){h5.forEach((Q)=>{if(Q.readKeyframes(),Q.needsMeasurement)t7=!0})}function WJ(){e7=!0,HJ(),qJ(),e7=!1}class R5{constructor(Q,J,Z,Y,X,q=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...Q],this.onComplete=J,this.name=Z,this.motionValue=Y,this.element=X,this.isAsync=q}scheduleResolve(){if(this.state="scheduled",this.isAsync){if(h5.add(this),!a7)a7=!0,C.read(HJ),C.resolveKeyframes(qJ)}else this.readKeyframes(),this.complete()}readKeyframes(){let{unresolvedKeyframes:Q,name:J,element:Z,motionValue:Y}=this;if(Q[0]===null){let X=Y?.get(),q=Q[Q.length-1];if(X!==void 0)Q[0]=X;else if(Z&&J){let $=Z.readValue(J,q);if($!==void 0&&$!==null)Q[0]=$}if(Q[0]===void 0)Q[0]=q;if(Y&&X===void 0)Y.set(Q[0])}QJ(Q)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(Q=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,Q),h5.delete(this)}cancel(){if(this.state==="scheduled")h5.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var zJ=(Q)=>Q.startsWith("--");function D6(Q,J,Z){zJ(J)?Q.style.setProperty(J,Z):Q.style[J]=Z}var GJ={};function w6(Q,J){let Z=p1(Q);return()=>GJ[J]??Z()}var KJ=w6(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var N6=w6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(Q){return!1}return!0},"linearEasing");var C5=([Q,J,Z,Y])=>`cubic-bezier(${Q}, ${J}, ${Z}, ${Y})`;var Q4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:C5([0,0.65,0.55,1]),circOut:C5([0.55,0,1,0.45]),backIn:C5([0.31,0.01,0.66,-0.59]),backOut:C5([0.33,1.53,0.69,0.99])};function J4(Q,J){if(!Q)return;else if(typeof Q==="function")return N6()?z6(Q,J):"ease-out";else if(a1(Q))return C5(Q);else if(Array.isArray(Q))return Q.map((Z)=>J4(Z,J)||Q4.easeOut);else return Q4[Q]}function BJ(Q,J,Z,{delay:Y=0,duration:X=300,repeat:q=0,repeatType:$="loop",ease:H="easeOut",times:W}={},z=void 0){let G={[J]:Z};if(W)G.offset=W;let K=J4(H,X);if(Array.isArray(K))G.easing=K;if(w0.value)y0.waapi++;let B={delay:Y,duration:X,easing:!Array.isArray(K)?K:"linear",fill:"both",iterations:q+1,direction:$==="reverse"?"alternate":"normal"};if(z)B.pseudoElement=z;let O=Q.animate(G,B);if(w0.value)O.finished.finally(()=>{y0.waapi--});return O}function V6(Q){return typeof Q==="function"&&"applyToOptions"in Q}function FJ({type:Q,...J}){if(V6(Q)&&N6())return Q.applyToOptions(J);else J.duration??(J.duration=300),J.ease??(J.ease="easeOut");return J}class X8 extends j5{constructor(Q){super();if(this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!Q)return;let{element:J,name:Z,keyframes:Y,pseudoElement:X,allowFlatten:q=!1,finalKeyframe:$,onComplete:H}=Q;this.isPseudoElement=Boolean(X),this.allowFlatten=q,this.options=Q,U0(typeof Q.type!=="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let W=FJ(Q);if(this.animation=BJ(J,Z,Y,W,X),W.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!X){let z=G1(Y,this.options,$,this.speed);if(this.updateMotionValue)this.updateMotionValue(z);D6(J,Z,z),this.animation.cancel()}H?.(),this.notifyFinished()}}play(){if(this.isStopped)return;if(this.manualStartTime=null,this.animation.play(),this.state==="finished")this.updateFinished()}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(Q){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:Q}=this;if(Q==="idle"||Q==="finished")return;if(this.updateMotionValue)this.updateMotionValue();else this.commitStyles();if(!this.isPseudoElement)this.cancel()}commitStyles(){let Q=this.options?.element;if(!this.isPseudoElement&&Q?.isConnected)this.animation.commitStyles?.()}get duration(){let Q=this.animation.effect?.getComputedTiming?.().duration||0;return X0(Number(Q))}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+X0(Q)}get time(){return X0(Number(this.animation.currentTime)||0)}set time(Q){let J=this.finishedTime!==null;if(this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Q0(Q),J)this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(Q){if(Q<0)this.finishedTime=null;this.animation.playbackRate=Q}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(Q){this.manualStartTime=this.animation.startTime=Q}attachTimeline({timeline:Q,rangeStart:J,rangeEnd:Z,observe:Y}){if(this.allowFlatten)this.animation.effect?.updateTiming({easing:"linear"});if(this.animation.onfinish=null,Q&&KJ()){if(this.animation.timeline=Q,J)this.animation.rangeStart=J;if(Z)this.animation.rangeEnd=Z;return i}else return Y(this)}}var OJ={anticipate:r1,backInOut:l1,circInOut:o1};function qz(Q){return Q in OJ}function UJ(Q){if(typeof Q.ease==="string"&&qz(Q.ease))Q.ease=OJ[Q.ease]}var Z4=10;class Y4 extends X8{constructor(Q){UJ(Q),F6(Q);super(Q);if(Q.startTime!==void 0)this.startTime=Q.startTime;this.options=Q}updateMotionValue(Q){let{motionValue:J,onUpdate:Z,onComplete:Y,element:X,...q}=this.options;if(!J)return;if(Q!==void 0){J.set(Q);return}let $=new k5({...q,autoplay:!1}),H=Math.max(Z4,s.now()-this.startTime),W=e(0,Z4,H-Z4),z=$.sample(H).value,{name:G}=this.options;if(X&&G)D6(X,G,z);J.setWithVelocity($.sample(Math.max(0,H-W)).value,z,W),$.stop()}}var X4=(Q,J)=>{if(J==="zIndex")return!1;if(typeof Q==="number"||Array.isArray(Q))return!0;if(typeof Q==="string"&&($0.test(Q)||Q==="0")&&!Q.startsWith("url("))return!0;return!1};function Hz(Q){let J=Q[0];if(Q.length===1)return!0;for(let Z=0;Z<Q.length;Z++)if(Q[Z]!==J)return!0}function DJ(Q,J,Z,Y){let X=Q[0];if(X===null)return!1;if(J==="display"||J==="visibility")return!0;let q=Q[Q.length-1],$=X4(X,J),H=X4(q,J);if(C0($===H,`You are trying to animate ${J} from "${X}" to "${q}". "${$?q:X}" is not an animatable value.`,"value-not-animatable"),!$||!H)return!1;return Hz(Q)||(Z==="spring"||V6(Z))&&Y}function $8(Q){Q.duration=0,Q.type="keyframes"}var Wz=new Set(["opacity","clipPath","filter","transform"]),zz=p1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function wJ(Q){let{motionValue:J,name:Z,repeatDelay:Y,repeatType:X,damping:q,type:$}=Q;if(!(J?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:W,transformTemplate:z}=J.owner.getProps();return zz()&&Z&&Wz.has(Z)&&(Z!=="transform"||!z)&&!W&&!Y&&X!=="mirror"&&q!==0&&$!=="inertia"}var Gz=40;class $4 extends j5{constructor({autoplay:Q=!0,delay:J=0,type:Z="keyframes",repeat:Y=0,repeatDelay:X=0,repeatType:q="loop",keyframes:$,name:H,motionValue:W,element:z,...G}){super();this.stop=()=>{if(this._animation)this._animation.stop(),this.stopTimeline?.();this.keyframeResolver?.cancel()},this.createdAt=s.now();let K={autoplay:Q,delay:J,type:Z,repeat:Y,repeatDelay:X,repeatType:q,name:H,motionValue:W,element:z,...G},B=z?.KeyframeResolver||R5;this.keyframeResolver=new B($,(O,U,N)=>this.onKeyframesResolved(O,U,K,!N),H,W,z),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(Q,J,Z,Y){this.keyframeResolver=void 0;let{name:X,type:q,velocity:$,delay:H,isHandoff:W,onUpdate:z}=Z;if(this.resolvedAt=s.now(),!DJ(Q,X,q,$)){if(W0.instantAnimations||!H)z?.(G1(Q,Z,J));Q[0]=Q[Q.length-1],$8(Z),Z.repeat=0}let K={startTime:Y?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>Gz?this.resolvedAt:this.createdAt:void 0,finalKeyframe:J,...Z,keyframes:Q},B=!W&&wJ(K),O=K.motionValue?.owner?.current,U=B?new Y4({...K,element:O}):new k5(K);if(U.finished.then(()=>{this.notifyFinished()}).catch(i),this.pendingTimeline)this.stopTimeline=U.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0;this._animation=U}get finished(){if(!this._animation)return this._finished;else return this.animation.finished}then(Q,J){return this.finished.finally(Q).then(()=>{})}get animation(){if(!this._animation)this.keyframeResolver?.resume(),WJ();return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(Q){this.animation.time=Q}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(Q){this.animation.speed=Q}get startTime(){return this.animation.startTime}attachTimeline(Q){if(this._animation)this.stopTimeline=this.animation.attachTimeline(Q);else this.pendingTimeline=Q;return()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){if(this._animation)this.animation.cancel();this.keyframeResolver?.cancel()}}function _6(Q,J,Z,Y=0,X=1){let q=Array.from(Q).sort((z,G)=>z.sortNodePosition(G)).indexOf(J),$=Q.size,H=($-1)*Y;return typeof Z==="function"?Z(q,$):X===1?q*Y:H-q*Y}var Kz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Bz(Q){let J=Kz.exec(Q);if(!J)return[,];let[,Z,Y,X]=J;return[`--${Z??Y}`,X]}var Fz=4;function q4(Q,J,Z=1){U0(Z<=Fz,`Max CSS variable fallback depth detected in property "${Q}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[Y,X]=Bz(Q);if(!Y)return;let q=window.getComputedStyle(J).getPropertyValue(Y);if(q){let $=q.trim();return u1($)?parseFloat($):$}return X1(X)?q4(X,J,Z+1):X}var Oz={type:"spring",stiffness:500,damping:25,restSpeed:10},Uz=(Q)=>({type:"spring",stiffness:550,damping:Q===0?2*Math.sqrt(550):30,restSpeed:10}),Dz={type:"keyframes",duration:0.8},wz={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},NJ=(Q,{keyframes:J})=>{if(J.length>2)return Dz;else if(I0.has(Q))return Q.startsWith("scale")?Uz(J[1]):Oz;return wz};var Nz=(Q)=>Q!==null;function VJ(Q,{repeat:J,repeatType:Z="loop"},Y){let X=Q.filter(Nz),q=J&&Z!=="loop"&&J%2===1?0:X.length-1;return!q||Y===void 0?X[q]:Y}function A6(Q,J){if(Q?.inherit&&J){let{inherit:Z,...Y}=Q;return{...J,...Y}}return Q}function K1(Q,J){let Z=Q?.[J]??Q?.default??Q;if(Z!==Q)return A6(Z,Q);return Z}function _J({when:Q,delay:J,delayChildren:Z,staggerChildren:Y,staggerDirection:X,repeat:q,repeatType:$,repeatDelay:H,from:W,elapsed:z,...G}){return!!Object.keys(G).length}var x5=(Q,J,Z,Y={},X,q)=>($)=>{let H=K1(Y,Q)||{},W=H.delay||Y.delay||0,{elapsed:z=0}=Y;z=z-Q0(W);let G={keyframes:Array.isArray(Z)?Z:[null,Z],ease:"easeOut",velocity:J.getVelocity(),...H,delay:-z,onUpdate:(B)=>{J.set(B),H.onUpdate&&H.onUpdate(B)},onComplete:()=>{$(),H.onComplete&&H.onComplete()},name:Q,motionValue:J,element:q?void 0:X};if(!_J(H))Object.assign(G,NJ(Q,G));if(G.duration&&(G.duration=Q0(G.duration)),G.repeatDelay&&(G.repeatDelay=Q0(G.repeatDelay)),G.from!==void 0)G.keyframes[0]=G.from;let K=!1;if(G.type===!1||G.duration===0&&!G.repeatDelay){if($8(G),G.delay===0)K=!0}if(W0.instantAnimations||W0.skipAnimations||X?.shouldSkipAnimations)K=!0,$8(G),G.delay=0;if(G.allowFlatten=!H.type&&!H.ease,K&&!q&&J.get()!==void 0){let B=VJ(G.keyframes,H);if(B!==void 0){C.update(()=>{G.onUpdate(B),G.onComplete()});return}}return H.isSync?new k5(G):new $4(G)};function AJ(Q){let J=[{},{}];return Q?.values.forEach((Z,Y)=>{J[0][Y]=Z.get(),J[1][Y]=Z.getVelocity()}),J}function y5(Q,J,Z,Y){if(typeof J==="function"){let[X,q]=AJ(Y);J=J(Z!==void 0?Z:Q.custom,X,q)}if(typeof J==="string")J=Q.variants&&Q.variants[J];if(typeof J==="function"){let[X,q]=AJ(Y);J=J(Z!==void 0?Z:Q.custom,X,q)}return J}function u0(Q,J,Z){let Y=Q.getProps();return y5(Y,J,Z!==void 0?Z:Y.custom,Q)}var I6=new Set(["width","height","top","left","right","bottom",...g0]);var IJ=30,_z=(Q)=>{return!isNaN(parseFloat(Q))},TJ={current:void 0};class LJ{constructor(Q,J={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(Z)=>{let Y=s.now();if(this.updatedAt!==Y)this.setPrevFrameValue();if(this.prev=this.current,this.setCurrent(Z),this.current!==this.prev){if(this.events.change?.notify(this.current),this.dependents)for(let X of this.dependents)X.dirty()}},this.hasAnimated=!1,this.setCurrent(Q),this.owner=J.owner}setCurrent(Q){if(this.current=Q,this.updatedAt=s.now(),this.canTrackVelocity===null&&Q!==void 0)this.canTrackVelocity=_z(this.current)}setPrevFrameValue(Q=this.current){this.prevFrameValue=Q,this.prevUpdatedAt=this.updatedAt}onChange(Q){return this.on("change",Q)}on(Q,J){if(!this.events[Q])this.events[Q]=new W5;let Z=this.events[Q].add(J);if(Q==="change")return()=>{Z(),C.read(()=>{if(!this.events.change.getSize())this.stop()})};return Z}clearListeners(){for(let Q in this.events)this.events[Q].clear()}attach(Q,J){this.passiveEffect=Q,this.stopPassiveEffect=J}set(Q){if(!this.passiveEffect)this.updateAndNotify(Q);else this.passiveEffect(Q,this.updateAndNotify)}setWithVelocity(Q,J,Z){this.set(J),this.prev=void 0,this.prevFrameValue=Q,this.prevUpdatedAt=this.updatedAt-Z}jump(Q,J=!0){if(this.updateAndNotify(Q),this.prev=Q,this.prevUpdatedAt=this.prevFrameValue=void 0,J&&this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(Q){if(!this.dependents)this.dependents=new Set;this.dependents.add(Q)}removeDependent(Q){if(this.dependents)this.dependents.delete(Q)}get(){if(TJ.current)TJ.current.push(this);return this.current}getPrevious(){return this.prev}getVelocity(){let Q=s.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||Q-this.updatedAt>IJ)return 0;let J=Math.min(this.updatedAt-this.prevUpdatedAt,IJ);return m1(parseFloat(this.current)-parseFloat(this.prevFrameValue),J)}start(Q){return this.stop(),new Promise((J)=>{if(this.hasAnimated=!0,this.animation=Q(J),this.events.animationStart)this.events.animationStart.notify()}).then(()=>{if(this.events.animationComplete)this.events.animationComplete.notify();this.clearAnimation()})}stop(){if(this.animation){if(this.animation.stop(),this.events.animationCancel)this.events.animationCancel.notify()}this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){if(this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}}function j0(Q,J){return new LJ(Q,J)}var q8=(Q)=>{return Array.isArray(Q)};function Az(Q,J,Z){if(Q.hasValue(J))Q.getValue(J).set(Z);else Q.addValue(J,j0(Z))}function Iz(Q){return q8(Q)?Q[Q.length-1]||0:Q}function MJ(Q,J){let Z=u0(Q,J),{transitionEnd:Y={},transition:X={},...q}=Z||{};q={...q,...Y};for(let $ in q){let H=Iz(q[$]);Az(Q,$,H)}}var d=(Q)=>Boolean(Q&&Q.getVelocity);function EJ(Q){return Boolean(d(Q)&&Q.add)}function B1(Q,J){let Z=Q.getValue("willChange");if(EJ(Z))return Z.add(J);else if(!Z&&W0.WillChange){let Y=new W0.WillChange("auto");Q.addValue("willChange",Y),Y.add(J)}}function F1(Q){return Q.replace(/([A-Z])/g,(J)=>`-${J.toLowerCase()}`)}var PJ="framerAppearId",H8="data-"+F1(PJ);function T6(Q){return Q.props[H8]}function Tz({protectedKeys:Q,needsAnimating:J},Z){let Y=Q.hasOwnProperty(Z)&&J[Z]!==!0;return J[Z]=!1,Y}function L6(Q,J,{delay:Z=0,transitionOverride:Y,type:X}={}){let{transition:q,transitionEnd:$,...H}=J,W=Q.getDefaultTransition();q=q?A6(q,W):W;let z=q?.reduceMotion;if(Y)q=Y;let G=[],K=X&&Q.animationState&&Q.animationState.getState()[X];for(let B in H){let O=Q.getValue(B,Q.latestValues[B]??null),U=H[B];if(U===void 0||K&&Tz(K,B))continue;let N={delay:Z,...K1(q||{},B)},D=O.get();if(D!==void 0&&!O.isAnimating&&!Array.isArray(U)&&U===D&&!N.velocity)continue;let V=!1;if(window.MotionHandoffAnimation){let w=T6(Q);if(w){let T=window.MotionHandoffAnimation(w,B,C);if(T!==null)N.startTime=T,V=!0}}B1(Q,B);let I=z??Q.shouldReduceMotion;O.start(x5(B,O,U,I&&I6.has(B)?{type:!1}:N,Q,V));let _=O.animation;if(_)G.push(_)}if($){let B=()=>C.update(()=>{$&&MJ(Q,$)});if(G.length)Promise.all(G).then(B);else B()}return G}function M6(Q,J,Z={}){let Y=u0(Q,J,Z.type==="exit"?Q.presenceContext?.custom:void 0),{transition:X=Q.getDefaultTransition()||{}}=Y||{};if(Z.transitionOverride)X=Z.transitionOverride;let q=Y?()=>Promise.all(L6(Q,Y,Z)):()=>Promise.resolve(),$=Q.variantChildren&&Q.variantChildren.size?(W=0)=>{let{delayChildren:z=0,staggerChildren:G,staggerDirection:K}=X;return Lz(Q,J,W,z,G,K,Z)}:()=>Promise.resolve(),{when:H}=X;if(H){let[W,z]=H==="beforeChildren"?[q,$]:[$,q];return W().then(()=>z())}else return Promise.all([q(),$(Z.delay)])}function Lz(Q,J,Z=0,Y=0,X=0,q=1,$){let H=[];for(let W of Q.variantChildren)W.notify("AnimationStart",J),H.push(M6(W,J,{...$,delay:Z+(typeof Y==="function"?0:Y)+_6(Q.variantChildren,W,Y,X,q)}).then(()=>W.notify("AnimationComplete",J)));return Promise.all(H)}function SJ(Q,J,Z={}){Q.notify("AnimationStart",J);let Y;if(Array.isArray(J)){let X=J.map((q)=>M6(Q,q,Z));Y=Promise.all(X)}else if(typeof J==="string")Y=M6(Q,J,Z);else{let X=typeof J==="function"?u0(Q,J,Z.custom):J;Y=Promise.all(L6(Q,X,Z))}return Y.then(()=>{Q.notify("AnimationComplete",J)})}var jJ={test:(Q)=>Q==="auto",parse:(Q)=>Q};var E6=(Q)=>(J)=>J.test(Q);var H4=[v0,M,z0,S0,p7,c7,jJ],W4=(Q)=>H4.find(E6(Q));function kJ(Q){if(typeof Q==="number")return Q===0;else if(Q!==null)return Q==="none"||Q==="0"||c1(Q);else return!0}var Mz=new Set(["brightness","contrast","saturate","opacity"]);function Ez(Q){let[J,Z]=Q.slice(0,-1).split("(");if(J==="drop-shadow")return Q;let[Y]=Z.match($1)||[];if(!Y)return Q;let X=Z.replace(Y,""),q=Mz.has(J)?1:0;if(Y!==Z)q*=100;return J+"("+q+X+")"}var Pz=/\b([a-z-]*)\(.*?\)/gu,W8={...$0,getAnimatableNone:(Q)=>{let J=Q.match(Pz);return J?J.map(Ez).join(" "):Q}};var z8={...$0,getAnimatableNone:(Q)=>{let J=$0.parse(Q);return $0.createTransformer(Q)(J.map((Y)=>typeof Y==="number"?0:typeof Y==="object"?{...Y,alpha:1}:Y))}};var z4={...v0,transform:Math.round};var bJ={rotate:S0,rotateX:S0,rotateY:S0,rotateZ:S0,scale:Q8,scaleX:Q8,scaleY:Q8,scaleZ:Q8,skew:S0,skewX:S0,skewY:S0,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:o0,originX:$6,originY:$6,originZ:M};var O1={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,top:M,right:M,bottom:M,left:M,inset:M,insetBlock:M,insetBlockStart:M,insetBlockEnd:M,insetInline:M,insetInlineStart:M,insetInlineEnd:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,paddingBlock:M,paddingBlockStart:M,paddingBlockEnd:M,paddingInline:M,paddingInlineStart:M,paddingInlineEnd:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,marginBlock:M,marginBlockStart:M,marginBlockEnd:M,marginInline:M,marginInlineStart:M,marginInlineEnd:M,fontSize:M,backgroundPositionX:M,backgroundPositionY:M,...bJ,zIndex:z4,fillOpacity:o0,strokeOpacity:o0,numOctaves:z4};var Sz={...O1,color:m,backgroundColor:m,outlineColor:m,fill:m,stroke:m,borderColor:m,borderTopColor:m,borderRightColor:m,borderBottomColor:m,borderLeftColor:m,filter:W8,WebkitFilter:W8,mask:z8,WebkitMask:z8},P6=(Q)=>Sz[Q];var jz=new Set([W8,z8]);function S6(Q,J){let Z=P6(Q);if(!jz.has(Z))Z=$0;return Z.getAnimatableNone?Z.getAnimatableNone(J):void 0}var kz=new Set(["auto","none","0"]);function hJ(Q,J,Z){let Y=0,X=void 0;while(Y<Q.length&&!X){let q=Q[Y];if(typeof q==="string"&&!kz.has(q)&&P5(q).values.length)X=Q[Y];Y++}if(X&&Z)for(let q of J)Q[q]=S6(Z,X)}class G4 extends R5{constructor(Q,J,Z,Y,X){super(Q,J,Z,Y,X,!0)}readKeyframes(){let{unresolvedKeyframes:Q,element:J,name:Z}=this;if(!J||!J.current)return;super.readKeyframes();for(let z=0;z<Q.length;z++){let G=Q[z];if(typeof G==="string"){if(G=G.trim(),X1(G)){let K=q4(G,J.current);if(K!==void 0)Q[z]=K;if(z===Q.length-1)this.finalKeyframe=G}}}if(this.resolveNoneKeyframes(),!I6.has(Z)||Q.length!==2)return;let[Y,X]=Q,q=W4(Y),$=W4(X),H=u7(Y),W=u7(X);if(H!==W&&n0[Z]){this.needsMeasurement=!0;return}if(q===$)return;if(n7(q)&&n7($))for(let z=0;z<Q.length;z++){let G=Q[z];if(typeof G==="string")Q[z]=parseFloat(G)}else if(n0[Z])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:Q,name:J}=this,Z=[];for(let Y=0;Y<Q.length;Y++)if(Q[Y]===null||kJ(Q[Y]))Z.push(Y);if(Z.length)hJ(Q,Z,J)}measureInitialState(){let{element:Q,unresolvedKeyframes:J,name:Z}=this;if(!Q||!Q.current)return;if(Z==="height")this.suspendedScrollY=window.pageYOffset;this.measuredOrigin=n0[Z](Q.measureViewportBox(),window.getComputedStyle(Q.current)),J[0]=this.measuredOrigin;let Y=J[J.length-1];if(Y!==void 0)Q.getValue(Z,Y).jump(Y,!1)}measureEndState(){let{element:Q,name:J,unresolvedKeyframes:Z}=this;if(!Q||!Q.current)return;let Y=Q.getValue(J);Y&&Y.jump(this.measuredOrigin,!1);let X=Z.length-1,q=Z[X];if(Z[X]=n0[J](Q.measureViewportBox(),window.getComputedStyle(Q.current)),q!==null&&this.finalKeyframe===void 0)this.finalKeyframe=q;if(this.removedTransforms?.length)this.removedTransforms.forEach(([$,H])=>{Q.getValue($).set(H)});this.resolveNoneKeyframes()}}var RJ=new Set(["opacity","clipPath","filter","transform"]);function j6(Q,J,Z){if(Q==null)return[];if(Q instanceof EventTarget)return[Q];else if(typeof Q==="string"){let Y=document;if(J)Y=J.current;let X=Z?.[Q]??Y.querySelectorAll(Q);return X?Array.from(X):[]}return Array.from(Q).filter((Y)=>Y!=null)}var k6=(Q,J)=>{return J&&typeof Q==="number"?J.transform(Q):Q};function U1(Q){return d1(Q)&&"offsetHeight"in Q}var{schedule:v5,cancel:bz}=J6(queueMicrotask,!1);var T0={x:!1,y:!1};function b6(){return T0.x||T0.y}function K4(Q){if(Q==="x"||Q==="y")if(T0[Q])return null;else return T0[Q]=!0,()=>{T0[Q]=!1};else if(T0.x||T0.y)return null;else return T0.x=T0.y=!0,()=>{T0.x=T0.y=!1}}function h6(Q,J){let Z=j6(Q),Y=new AbortController,X={passive:!0,...J,signal:Y.signal};return[Z,X,()=>Y.abort()]}function hz(Q){return!(Q.pointerType==="touch"||b6())}function B4(Q,J,Z={}){let[Y,X,q]=h6(Q,Z);return Y.forEach(($)=>{let H=!1,W=!1,z,G=()=>{$.removeEventListener("pointerleave",U)},K=(D)=>{if(z)z(D),z=void 0;G()},B=(D)=>{if(H=!1,window.removeEventListener("pointerup",B),window.removeEventListener("pointercancel",B),W)W=!1,K(D)},O=()=>{H=!0,window.addEventListener("pointerup",B,X),window.addEventListener("pointercancel",B,X)},U=(D)=>{if(D.pointerType==="touch")return;if(H){W=!0;return}K(D)},N=(D)=>{if(!hz(D))return;W=!1;let V=J($,D);if(typeof V!=="function")return;z=V,$.addEventListener("pointerleave",U,X)};$.addEventListener("pointerenter",N,X),$.addEventListener("pointerdown",O,X)}),q}var F4=(Q,J)=>{if(!J)return!1;else if(Q===J)return!0;else return F4(Q,J.parentElement)};var f5=(Q)=>{if(Q.pointerType==="mouse")return typeof Q.button!=="number"||Q.button<=0;else return Q.isPrimary!==!1};var Rz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function O4(Q){return Rz.has(Q.tagName)||Q.isContentEditable===!0}var Cz=new Set(["INPUT","SELECT","TEXTAREA"]);function U4(Q){return Cz.has(Q.tagName)||Q.isContentEditable===!0}var D1=new WeakSet;function CJ(Q){return(J)=>{if(J.key!=="Enter")return;Q(J)}}function D4(Q,J){Q.dispatchEvent(new PointerEvent("pointer"+J,{isPrimary:!0,bubbles:!0}))}var xJ=(Q,J)=>{let Z=Q.currentTarget;if(!Z)return;let Y=CJ(()=>{if(D1.has(Z))return;D4(Z,"down");let X=CJ(()=>{D4(Z,"up")}),q=()=>D4(Z,"cancel");Z.addEventListener("keyup",X,J),Z.addEventListener("blur",q,J)});Z.addEventListener("keydown",Y,J),Z.addEventListener("blur",()=>Z.removeEventListener("keydown",Y),J)};function yJ(Q){return f5(Q)&&!b6()}var vJ=new WeakSet;function w4(Q,J,Z={}){let[Y,X,q]=h6(Q,Z),$=(H)=>{let W=H.currentTarget;if(!yJ(H))return;if(vJ.has(H))return;if(D1.add(W),Z.stopPropagation)vJ.add(H);let z=J(W,H),G=(O,U)=>{if(window.removeEventListener("pointerup",K),window.removeEventListener("pointercancel",B),D1.has(W))D1.delete(W);if(!yJ(O))return;if(typeof z==="function")z(O,{success:U})},K=(O)=>{G(O,W===window||W===document||Z.useGlobalTarget||F4(W,O.target))},B=(O)=>{G(O,!1)};window.addEventListener("pointerup",K,X),window.addEventListener("pointercancel",B,X)};return Y.forEach((H)=>{if((Z.useGlobalTarget?window:H).addEventListener("pointerdown",$,X),U1(H)){if(H.addEventListener("focus",(z)=>xJ(z,X)),!O4(H)&&!H.hasAttribute("tabindex"))H.tabIndex=0}}),q}function w1(Q){return d1(Q)&&"ownerSVGElement"in Q}var R6=new WeakMap,C6,fJ=(Q,J,Z)=>(Y,X)=>{if(X&&X[0])return X[0][Q+"Size"];else if(w1(Y)&&"getBBox"in Y)return Y.getBBox()[J];else return Y[Z]},xz=fJ("inline","width","offsetWidth"),yz=fJ("block","height","offsetHeight");function vz({target:Q,borderBoxSize:J}){R6.get(Q)?.forEach((Z)=>{Z(Q,{get width(){return xz(Q,J)},get height(){return yz(Q,J)}})})}function fz(Q){Q.forEach(vz)}function gz(){if(typeof ResizeObserver>"u")return;C6=new ResizeObserver(fz)}function gJ(Q,J){if(!C6)gz();let Z=j6(Q);return Z.forEach((Y)=>{let X=R6.get(Y);if(!X)X=new Set,R6.set(Y,X);X.add(J),C6?.observe(Y)}),()=>{Z.forEach((Y)=>{let X=R6.get(Y);if(X?.delete(J),!X?.size)C6?.unobserve(Y)})}}var x6=new Set,N1;function uz(){N1=()=>{let Q={get width(){return window.innerWidth},get height(){return window.innerHeight}};x6.forEach((J)=>J(Q))},window.addEventListener("resize",N1)}function uJ(Q){if(x6.add(Q),!N1)uz();return()=>{if(x6.delete(Q),!x6.size&&typeof N1==="function")window.removeEventListener("resize",N1),N1=void 0}}function y6(Q,J){return typeof Q==="function"?uJ(Q):gJ(Q,J)}function dJ(Q){return w1(Q)&&Q.tagName==="svg"}var dz=[...H4,m,$0],cJ=(Q)=>dz.find(E6(Q));var N4=()=>({translate:0,scale:1,origin:0,originPoint:0}),B5=()=>({x:N4(),y:N4()}),V4=()=>({min:0,max:0}),l=()=>({x:V4(),y:V4()});var pJ=new WeakMap;function a0(Q){return Q!==null&&typeof Q==="object"&&typeof Q.start==="function"}function d0(Q){return typeof Q==="string"||Array.isArray(Q)}var v6=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],G8=["initial",...v6];function F5(Q){return a0(Q.animate)||G8.some((J)=>d0(Q[J]))}function K8(Q){return Boolean(F5(Q)||Q.variants)}function mJ(Q,J,Z){for(let Y in J){let X=J[Y],q=Z[Y];if(d(X))Q.addValue(Y,X);else if(d(q))Q.addValue(Y,j0(X,{owner:Q}));else if(q!==X)if(Q.hasValue(Y)){let $=Q.getValue(Y);if($.liveStyle===!0)$.jump(X);else if(!$.hasAnimated)$.set(X)}else{let $=Q.getStaticValue(Y);Q.addValue(Y,j0($!==void 0?$:X,{owner:Q}))}}for(let Y in Z)if(J[Y]===void 0)Q.removeValue(Y);return J}var O5={current:null},g5={current:!1};var cz=typeof window<"u";function B8(){if(g5.current=!0,!cz)return;if(window.matchMedia){let Q=window.matchMedia("(prefers-reduced-motion)"),J=()=>O5.current=Q.matches;Q.addEventListener("change",J),J()}else O5.current=!1}var lJ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],f6={};function F8(Q){f6=Q}function _4(){return f6}class g6{scrapeMotionValuesFromProps(Q,J,Z){return{}}constructor({parent:Q,props:J,presenceContext:Z,reducedMotionConfig:Y,skipAnimations:X,blockInitialAnimation:q,visualState:$},H={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=R5,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{if(!this.current)return;this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection)},this.renderScheduledAt=0,this.scheduleRender=()=>{let B=s.now();if(this.renderScheduledAt<B)this.renderScheduledAt=B,C.render(this.render,!1,!0)};let{latestValues:W,renderState:z}=$;if(this.latestValues=W,this.baseTarget={...W},this.initialValues=J.initial?{...W}:{},this.renderState=z,this.parent=Q,this.props=J,this.presenceContext=Z,this.depth=Q?Q.depth+1:0,this.reducedMotionConfig=Y,this.skipAnimationsConfig=X,this.options=H,this.blockInitialAnimation=Boolean(q),this.isControllingVariants=F5(J),this.isVariantNode=K8(J),this.isVariantNode)this.variantChildren=new Set;this.manuallyAnimateOnMount=Boolean(Q&&Q.current);let{willChange:G,...K}=this.scrapeMotionValuesFromProps(J,{},this);for(let B in K){let O=K[B];if(W[B]!==void 0&&d(O))O.set(W[B])}}mount(Q){if(this.hasBeenMounted)for(let J in this.initialValues)this.values.get(J)?.jump(this.initialValues[J]),this.latestValues[J]=this.initialValues[J];if(this.current=Q,pJ.set(Q,this),this.projection&&!this.projection.instance)this.projection.mount(Q);if(this.parent&&this.isVariantNode&&!this.isControllingVariants)this.removeFromVariantTree=this.parent.addVariantChild(this);if(this.values.forEach((J,Z)=>this.bindToMotionValue(Z,J)),this.reducedMotionConfig==="never")this.shouldReduceMotion=!1;else if(this.reducedMotionConfig==="always")this.shouldReduceMotion=!0;else{if(!g5.current)B8();this.shouldReduceMotion=O5.current}this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),D0(this.notifyUpdate),D0(this.render),this.valueSubscriptions.forEach((Q)=>Q()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let Q in this.events)this.events[Q].clear();for(let Q in this.features){let J=this.features[Q];if(J)J.unmount(),J.isMounted=!1}this.current=null}addChild(Q){this.children.add(Q),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(Q)}removeChild(Q){this.children.delete(Q),this.enteringChildren&&this.enteringChildren.delete(Q)}bindToMotionValue(Q,J){if(this.valueSubscriptions.has(Q))this.valueSubscriptions.get(Q)();if(J.accelerate&&RJ.has(Q)&&this.current instanceof HTMLElement){let{factory:q,keyframes:$,times:H,ease:W,duration:z}=J.accelerate,G=new X8({element:this.current,name:Q,keyframes:$,times:H,ease:W,duration:Q0(z)}),K=q(G);this.valueSubscriptions.set(Q,()=>{K(),G.cancel()});return}let Z=I0.has(Q);if(Z&&this.onBindTransform)this.onBindTransform();let Y=J.on("change",(q)=>{if(this.latestValues[Q]=q,this.props.onUpdate&&C.preRender(this.notifyUpdate),Z&&this.projection)this.projection.isTransformDirty=!0;this.scheduleRender()}),X;if(typeof window<"u"&&window.MotionCheckAppearSync)X=window.MotionCheckAppearSync(this,Q,J);this.valueSubscriptions.set(Q,()=>{if(Y(),X)X();if(J.owner)J.stop()})}sortNodePosition(Q){if(!this.current||!this.sortInstanceNodePosition||this.type!==Q.type)return 0;return this.sortInstanceNodePosition(this.current,Q.current)}updateFeatures(){let Q="animation";for(Q in f6){let J=f6[Q];if(!J)continue;let{isEnabled:Z,Feature:Y}=J;if(!this.features[Q]&&Y&&Z(this.props))this.features[Q]=new Y(this);if(this.features[Q]){let X=this.features[Q];if(X.isMounted)X.update();else X.mount(),X.isMounted=!0}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):l()}getStaticValue(Q){return this.latestValues[Q]}setStaticValue(Q,J){this.latestValues[Q]=J}update(Q,J){if(Q.transformTemplate||this.props.transformTemplate)this.scheduleRender();this.prevProps=this.props,this.props=Q,this.prevPresenceContext=this.presenceContext,this.presenceContext=J;for(let Z=0;Z<lJ.length;Z++){let Y=lJ[Z];if(this.propEventSubscriptions[Y])this.propEventSubscriptions[Y](),delete this.propEventSubscriptions[Y];let X="on"+Y,q=Q[X];if(q)this.propEventSubscriptions[Y]=this.on(Y,q)}if(this.prevMotionValues=mJ(this,this.scrapeMotionValuesFromProps(Q,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue)this.handleChildMotionValue()}getProps(){return this.props}getVariant(Q){return this.props.variants?this.props.variants[Q]: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(Q){let J=this.getClosestVariantNode();if(J)return J.variantChildren&&J.variantChildren.add(Q),()=>J.variantChildren.delete(Q)}addValue(Q,J){let Z=this.values.get(Q);if(J!==Z){if(Z)this.removeValue(Q);this.bindToMotionValue(Q,J),this.values.set(Q,J),this.latestValues[Q]=J.get()}}removeValue(Q){this.values.delete(Q);let J=this.valueSubscriptions.get(Q);if(J)J(),this.valueSubscriptions.delete(Q);delete this.latestValues[Q],this.removeValueFromRenderState(Q,this.renderState)}hasValue(Q){return this.values.has(Q)}getValue(Q,J){if(this.props.values&&this.props.values[Q])return this.props.values[Q];let Z=this.values.get(Q);if(Z===void 0&&J!==void 0)Z=j0(J===null?void 0:J,{owner:this}),this.addValue(Q,Z);return Z}readValue(Q,J){let Z=this.latestValues[Q]!==void 0||!this.current?this.latestValues[Q]:this.getBaseTargetFromProps(this.props,Q)??this.readValueFromInstance(this.current,Q,this.options);if(Z!==void 0&&Z!==null){if(typeof Z==="string"&&(u1(Z)||c1(Z)))Z=parseFloat(Z);else if(!cJ(Z)&&$0.test(J))Z=S6(Q,J);this.setBaseTarget(Q,d(Z)?Z.get():Z)}return d(Z)?Z.get():Z}setBaseTarget(Q,J){this.baseTarget[Q]=J}getBaseTarget(Q){let{initial:J}=this.props,Z;if(typeof J==="string"||typeof J==="object"){let X=y5(this.props,J,this.presenceContext?.custom);if(X)Z=X[Q]}if(J&&Z!==void 0)return Z;let Y=this.getBaseTargetFromProps(this.props,Q);if(Y!==void 0&&!d(Y))return Y;return this.initialValues[Q]!==void 0&&Z===void 0?void 0:this.baseTarget[Q]}on(Q,J){if(!this.events[Q])this.events[Q]=new W5;return this.events[Q].add(J)}notify(Q,...J){if(this.events[Q])this.events[Q].notify(...J)}scheduleRenderMicrotask(){v5.render(this.render)}}class O8 extends g6{constructor(){super(...arguments);this.KeyframeResolver=G4}sortInstanceNodePosition(Q,J){return Q.compareDocumentPosition(J)&2?1:-1}getBaseTargetFromProps(Q,J){let Z=Q.style;return Z?Z[J]:void 0}removeValueFromRenderState(Q,{vars:J,style:Z}){delete J[Q],delete Z[Q]}handleChildMotionValue(){if(this.childSubscription)this.childSubscription(),delete this.childSubscription;let{children:Q}=this.props;if(d(Q))this.childSubscription=Q.on("change",(J)=>{if(this.current)this.current.textContent=`${J}`})}}class H0{constructor(Q){this.isMounted=!1,this.node=Q}update(){}}function U8({top:Q,left:J,right:Z,bottom:Y}){return{x:{min:J,max:Z},y:{min:Q,max:Y}}}function A4({x:Q,y:J}){return{top:J.min,right:Q.max,bottom:J.max,left:Q.min}}function I4(Q,J){if(!J)return Q;let Z=J({x:Q.left,y:Q.top}),Y=J({x:Q.right,y:Q.bottom});return{top:Z.y,left:Z.x,bottom:Y.y,right:Y.x}}function T4(Q){return Q===void 0||Q===1}function u6({scale:Q,scaleX:J,scaleY:Z}){return!T4(Q)||!T4(J)||!T4(Z)}function t0(Q){return u6(Q)||L4(Q)||Q.z||Q.rotate||Q.rotateX||Q.rotateY||Q.skewX||Q.skewY}function L4(Q){return rJ(Q.x)||rJ(Q.y)}function rJ(Q){return Q&&Q!=="0%"}function D8(Q,J,Z){let Y=Q-Z,X=J*Y;return Z+X}function iJ(Q,J,Z,Y,X){if(X!==void 0)Q=D8(Q,X,Y);return D8(Q,Z,Y)+J}function M4(Q,J=0,Z=1,Y,X){Q.min=iJ(Q.min,J,Z,Y,X),Q.max=iJ(Q.max,J,Z,Y,X)}function E4(Q,{x:J,y:Z}){M4(Q.x,J.translate,J.scale,J.originPoint),M4(Q.y,Z.translate,Z.scale,Z.originPoint)}var sJ=0.999999999999,oJ=1.0000000000001;function tJ(Q,J,Z,Y=!1){let X=Z.length;if(!X)return;J.x=J.y=1;let q,$;for(let H=0;H<X;H++){q=Z[H],$=q.projectionDelta;let{visualElement:W}=q.options;if(W&&W.props.style&&W.props.style.display==="contents")continue;if(Y&&q.options.layoutScroll&&q.scroll&&q!==q.root)u5(Q,{x:-q.scroll.offset.x,y:-q.scroll.offset.y});if($)J.x*=$.x.scale,J.y*=$.y.scale,E4(Q,$);if(Y&&t0(q.latestValues))u5(Q,q.latestValues)}if(J.x<oJ&&J.x>sJ)J.x=1;if(J.y<oJ&&J.y>sJ)J.y=1}function U5(Q,J){Q.min=Q.min+J,Q.max=Q.max+J}function nJ(Q,J,Z,Y,X=0.5){let q=y(Q.min,Q.max,X);M4(Q,J,Z,q,Y)}function aJ(Q,J){if(typeof Q==="string")return parseFloat(Q)/100*(J.max-J.min);return Q}function u5(Q,J){nJ(Q.x,aJ(J.x,Q.x),J.scaleX,J.scale,J.originX),nJ(Q.y,aJ(J.y,Q.y),J.scaleY,J.scale,J.originY)}function d6(Q,J){return U8(I4(Q.getBoundingClientRect(),J))}function P4(Q,J,Z){let Y=d6(Q,Z),{scroll:X}=J;if(X)U5(Y.x,X.offset.x),U5(Y.y,X.offset.y);return Y}var pz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mz=g0.length;function eJ(Q,J,Z){let Y="",X=!0;for(let q=0;q<mz;q++){let $=g0[q],H=Q[$];if(H===void 0)continue;let W=!0;if(typeof H==="number")W=H===($.startsWith("scale")?1:0);else{let z=parseFloat(H);W=$.startsWith("scale")?z===1:z===0}if(!W||Z){let z=k6(H,O1[$]);if(!W){X=!1;let G=pz[$]||$;Y+=`${G}(${z}) `}if(Z)J[$]=z}}if(Y=Y.trim(),Z)Y=Z(J,X?"":Y);else if(X)Y="none";return Y}function d5(Q,J,Z){let{style:Y,vars:X,transformOrigin:q}=Q,$=!1,H=!1;for(let W in J){let z=J[W];if(I0.has(W)){$=!0;continue}else if(Y6(W)){X[W]=z;continue}else{let G=k6(z,O1[W]);if(W.startsWith("origin"))H=!0,q[W]=G;else Y[W]=G}}if(!J.transform){if($||Z)Y.transform=eJ(J,Q.transform,Z);else if(Y.transform)Y.transform="none"}if(H){let{originX:W="50%",originY:z="50%",originZ:G=0}=q;Y.transformOrigin=`${W} ${z} ${G}`}}function c6(Q,{style:J,vars:Z},Y,X){let q=Q.style,$;for($ in J)q[$]=J[$];X?.applyProjectionStyles(q,Y);for($ in Z)q.setProperty($,Z[$])}function QZ(Q,J){if(J.max===J.min)return 0;return Q/(J.max-J.min)*100}var V1={correct:(Q,J)=>{if(!J.target)return Q;if(typeof Q==="string")if(M.test(Q))Q=parseFloat(Q);else return Q;let Z=QZ(Q,J.target.x),Y=QZ(Q,J.target.y);return`${Z}% ${Y}%`}};var JZ={correct:(Q,{treeScale:J,projectionDelta:Z})=>{let Y=Q,X=$0.parse(Q);if(X.length>5)return Y;let q=$0.createTransformer(Q),$=typeof X[0]!=="number"?1:0,H=Z.x.scale*J.x,W=Z.y.scale*J.y;X[0+$]/=H,X[1+$]/=W;let z=y(H,W,0.5);if(typeof X[2+$]==="number")X[2+$]/=z;if(typeof X[3+$]==="number")X[3+$]/=z;return q(X)}};var w8={borderRadius:{...V1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:V1,borderTopRightRadius:V1,borderBottomLeftRadius:V1,borderBottomRightRadius:V1,boxShadow:JZ};function N8(Q,{layout:J,layoutId:Z}){return I0.has(Q)||Q.startsWith("origin")||(J||Z!==void 0)&&(!!w8[Q]||Q==="opacity")}function c5(Q,J,Z){let Y=Q.style,X=J?.style,q={};if(!Y)return q;for(let $ in Y)if(d(Y[$])||X&&d(X[$])||N8($,Q)||Z?.getValue($)?.liveStyle!==void 0)q[$]=Y[$];return q}function lz(Q){return window.getComputedStyle(Q)}class p6 extends O8{constructor(){super(...arguments);this.type="html",this.renderInstance=c6}readValueFromInstance(Q,J){if(I0.has(J))return this.projection?.isProjecting?O6(J):XJ(Q,J);else{let Z=lz(Q),Y=(Y6(J)?Z.getPropertyValue(J):Z[J])||0;return typeof Y==="string"?Y.trim():Y}}measureInstanceViewportBox(Q,{transformPagePoint:J}){return d6(Q,J)}build(Q,J,Z){d5(Q,J,Z.transformTemplate)}scrapeMotionValuesFromProps(Q,J,Z){return c5(Q,J,Z)}}var rz={offset:"stroke-dashoffset",array:"stroke-dasharray"},iz={offset:"strokeDashoffset",array:"strokeDasharray"};function ZZ(Q,J,Z=1,Y=0,X=!0){Q.pathLength=1;let q=X?rz:iz;Q[q.offset]=`${-Y}`,Q[q.array]=`${J} ${Z}`}var sz=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function V8(Q,{attrX:J,attrY:Z,attrScale:Y,pathLength:X,pathSpacing:q=1,pathOffset:$=0,...H},W,z,G){if(d5(Q,H,z),W){if(Q.style.viewBox)Q.attrs.viewBox=Q.style.viewBox;return}Q.attrs=Q.style,Q.style={};let{attrs:K,style:B}=Q;if(K.transform)B.transform=K.transform,delete K.transform;if(B.transform||K.transformOrigin)B.transformOrigin=K.transformOrigin??"50% 50%",delete K.transformOrigin;if(B.transform)B.transformBox=G?.transformBox??"fill-box",delete K.transformBox;for(let O of sz)if(K[O]!==void 0)B[O]=K[O],delete K[O];if(J!==void 0)K.x=J;if(Z!==void 0)K.y=Z;if(Y!==void 0)K.scale=Y;if(X!==void 0)ZZ(K,X,q,$,!1)}var m6=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 _8=(Q)=>typeof Q==="string"&&Q.toLowerCase()==="svg";function YZ(Q,J,Z,Y){c6(Q,J,void 0,Y);for(let X in J.attrs)Q.setAttribute(!m6.has(X)?F1(X):X,J.attrs[X])}function A8(Q,J,Z){let Y=c5(Q,J,Z);for(let X in Q)if(d(Q[X])||d(J[X])){let q=g0.indexOf(X)!==-1?"attr"+X.charAt(0).toUpperCase()+X.substring(1):X;Y[q]=Q[X]}return Y}class l6 extends O8{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=l}getBaseTargetFromProps(Q,J){return Q[J]}readValueFromInstance(Q,J){if(I0.has(J)){let Z=P6(J);return Z?Z.default||0:0}return J=!m6.has(J)?F1(J):J,Q.getAttribute(J)}scrapeMotionValuesFromProps(Q,J,Z){return A8(Q,J,Z)}build(Q,J,Z){V8(Q,J,this.isSVGTag,Z.transformTemplate,Z.style)}renderInstance(Q,J,Z,Y){YZ(Q,J,Z,Y)}mount(Q){this.isSVGTag=_8(Q.tagName),super.mount(Q)}}var oz=G8.length;function S4(Q){if(!Q)return;if(!Q.isControllingVariants){let Z=Q.parent?S4(Q.parent)||{}:{};if(Q.props.initial!==void 0)Z.initial=Q.props.initial;return Z}let J={};for(let Z=0;Z<oz;Z++){let Y=G8[Z],X=Q.props[Y];if(d0(X)||X===!1)J[Y]=X}return J}function j4(Q,J){if(!Array.isArray(J))return!1;let Z=J.length;if(Z!==Q.length)return!1;for(let Y=0;Y<Z;Y++)if(J[Y]!==Q[Y])return!1;return!0}var nz=[...v6].reverse(),az=v6.length;function tz(Q){return(J)=>{return Promise.all(J.map(({animation:Z,options:Y})=>SJ(Q,Z,Y)))}}function k4(Q){let J=tz(Q),Z=XZ(),Y=!0,X=!1,q=(z)=>(G,K)=>{let B=u0(Q,K,z==="exit"?Q.presenceContext?.custom:void 0);if(B){let{transition:O,transitionEnd:U,...N}=B;G={...G,...N,...U}}return G};function $(z){J=z(Q)}function H(z){let{props:G}=Q,K=S4(Q.parent)||{},B=[],O=new Set,U={},N=1/0;for(let V=0;V<az;V++){let I=nz[V],_=Z[I],w=G[I]!==void 0?G[I]:K[I],T=d0(w),L=I===z?_.isActive:null;if(L===!1)N=V;let k=w===K[I]&&w!==G[I]&&T;if(k&&(Y||X)&&Q.manuallyAnimateOnMount)k=!1;if(_.protectedKeys={...U},!_.isActive&&L===null||!w&&!_.prevProp||a0(w)||typeof w==="boolean")continue;if(I==="exit"&&_.isActive&&L!==!0){if(_.prevResolvedValues)U={...U,..._.prevResolvedValues};continue}let A=$Z(_.prevProp,w),j=A||I===z&&_.isActive&&!k&&T||V>N&&T,v=!1,o=Array.isArray(w)?w:[w],u=o.reduce(q(I),{});if(L===!1)u={};let{prevResolvedValues:n={}}=_,c={...n,...u},t=(R)=>{if(j=!0,O.has(R))v=!0,O.delete(R);_.needsAnimating[R]=!0;let g=Q.getValue(R);if(g)g.liveStyle=!1};for(let R in c){let g=u[R],E=n[R];if(U.hasOwnProperty(R))continue;let r0=!1;if(q8(g)&&q8(E))r0=!j4(g,E);else r0=g!==E;if(r0)if(g!==void 0&&g!==null)t(R);else O.add(R);else if(g!==void 0&&O.has(R))t(R);else _.protectedKeys[R]=!0}if(_.prevProp=w,_.prevResolvedValues=u,_.isActive)U={...U,...u};if((Y||X)&&Q.blockInitialAnimation)j=!1;let f=k&&A;if(j&&(!f||v))B.push(...o.map((R)=>{let g={type:I};if(typeof R==="string"&&(Y||X)&&!f&&Q.manuallyAnimateOnMount&&Q.parent){let{parent:E}=Q,r0=u0(E,R);if(E.enteringChildren&&r0){let{delayChildren:R8}=r0.transition||{};g.delay=_6(E.enteringChildren,Q,R8)}}return{animation:R,options:g}}))}if(O.size){let V={};if(typeof G.initial!=="boolean"){let I=u0(Q,Array.isArray(G.initial)?G.initial[0]:G.initial);if(I&&I.transition)V.transition=I.transition}O.forEach((I)=>{let _=Q.getBaseTarget(I),w=Q.getValue(I);if(w)w.liveStyle=!0;V[I]=_??null}),B.push({animation:V})}let D=Boolean(B.length);if(Y&&(G.initial===!1||G.initial===G.animate)&&!Q.manuallyAnimateOnMount)D=!1;return Y=!1,X=!1,D?J(B):Promise.resolve()}function W(z,G){if(Z[z].isActive===G)return Promise.resolve();Q.variantChildren?.forEach((B)=>B.animationState?.setActive(z,G)),Z[z].isActive=G;let K=H(z);for(let B in Z)Z[B].protectedKeys={};return K}return{animateChanges:H,setActive:W,setAnimateFunction:$,getState:()=>Z,reset:()=>{Z=XZ(),X=!0}}}function $Z(Q,J){if(typeof J==="string")return J!==Q;else if(Array.isArray(J))return!j4(J,Q);return!1}function p5(Q=!1){return{isActive:Q,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function XZ(){return{animate:p5(!0),whileInView:p5(),whileHover:p5(),whileTap:p5(),whileDrag:p5(),whileFocus:p5(),exit:p5()}}function qZ(Q,J){Q.min=J.min,Q.max=J.max}function L0(Q,J){qZ(Q.x,J.x),qZ(Q.y,J.y)}function b4(Q,J){Q.translate=J.translate,Q.scale=J.scale,Q.originPoint=J.originPoint,Q.origin=J.origin}var HZ=0.0001,ez=1-HZ,QG=1+HZ,WZ=0.01,JG=0-WZ,ZG=0+WZ;function J0(Q){return Q.max-Q.min}function x4(Q,J,Z){return Math.abs(Q-J)<=Z}function h4(Q,J,Z,Y=0.5){if(Q.origin=Y,Q.originPoint=y(J.min,J.max,Q.origin),Q.scale=J0(Z)/J0(J),Q.translate=y(Z.min,Z.max,Q.origin)-Q.originPoint,Q.scale>=ez&&Q.scale<=QG||isNaN(Q.scale))Q.scale=1;if(Q.translate>=JG&&Q.translate<=ZG||isNaN(Q.translate))Q.translate=0}function m5(Q,J,Z,Y){h4(Q.x,J.x,Z.x,Y?Y.originX:void 0),h4(Q.y,J.y,Z.y,Y?Y.originY:void 0)}function R4(Q,J,Z){Q.min=Z.min+J.min,Q.max=Q.min+J0(J)}function y4(Q,J,Z){R4(Q.x,J.x,Z.x),R4(Q.y,J.y,Z.y)}function C4(Q,J,Z){Q.min=J.min-Z.min,Q.max=Q.min+J0(J)}function _1(Q,J,Z){C4(Q.x,J.x,Z.x),C4(Q.y,J.y,Z.y)}function zZ(Q,J,Z,Y,X){if(Q-=J,Q=D8(Q,1/Z,Y),X!==void 0)Q=D8(Q,1/X,Y);return Q}function YG(Q,J=0,Z=1,Y=0.5,X,q=Q,$=Q){if(z0.test(J))J=parseFloat(J),J=y($.min,$.max,J/100)-$.min;if(typeof J!=="number")return;let H=y(q.min,q.max,Y);if(Q===q)H-=J;Q.min=zZ(Q.min,J,Z,H,X),Q.max=zZ(Q.max,J,Z,H,X)}function GZ(Q,J,[Z,Y,X],q,$){YG(Q,J[Z],J[Y],J[X],J.scale,q,$)}var XG=["x","scaleX","originX"],$G=["y","scaleY","originY"];function v4(Q,J,Z,Y){GZ(Q.x,J,XG,Z?Z.x:void 0,Y?Y.x:void 0),GZ(Q.y,J,$G,Z?Z.y:void 0,Y?Y.y:void 0)}function KZ(Q){return Q.translate===0&&Q.scale===1}function f4(Q){return KZ(Q.x)&&KZ(Q.y)}function BZ(Q,J){return Q.min===J.min&&Q.max===J.max}function OZ(Q,J){return BZ(Q.x,J.x)&&BZ(Q.y,J.y)}function FZ(Q,J){return Math.round(Q.min)===Math.round(J.min)&&Math.round(Q.max)===Math.round(J.max)}function g4(Q,J){return FZ(Q.x,J.x)&&FZ(Q.y,J.y)}function u4(Q){return J0(Q.x)/J0(Q.y)}function d4(Q,J){return Q.translate===J.translate&&Q.scale===J.scale&&Q.originPoint===J.originPoint}function N0(Q){return[Q("x"),Q("y")]}function UZ(Q,J,Z){let Y="",X=Q.x.translate/J.x,q=Q.y.translate/J.y,$=Z?.z||0;if(X||q||$)Y=`translate3d(${X}px, ${q}px, ${$}px) `;if(J.x!==1||J.y!==1)Y+=`scale(${1/J.x}, ${1/J.y}) `;if(Z){let{transformPerspective:z,rotate:G,rotateX:K,rotateY:B,skewX:O,skewY:U}=Z;if(z)Y=`perspective(${z}px) ${Y}`;if(G)Y+=`rotate(${G}deg) `;if(K)Y+=`rotateX(${K}deg) `;if(B)Y+=`rotateY(${B}deg) `;if(O)Y+=`skewX(${O}deg) `;if(U)Y+=`skewY(${U}deg) `}let H=Q.x.scale*J.x,W=Q.y.scale*J.y;if(H!==1||W!==1)Y+=`scale(${H}, ${W})`;return Y||"none"}var VZ=["TopLeft","TopRight","BottomLeft","BottomRight"],qG=VZ.length,DZ=(Q)=>typeof Q==="string"?parseFloat(Q):Q,wZ=(Q)=>typeof Q==="number"||M.test(Q);function _Z(Q,J,Z,Y,X,q){if(X)Q.opacity=y(0,Z.opacity??1,HG(Y)),Q.opacityExit=y(J.opacity??1,0,WG(Y));else if(q)Q.opacity=y(J.opacity??1,Z.opacity??1,Y);for(let $=0;$<qG;$++){let H=`border${VZ[$]}Radius`,W=NZ(J,H),z=NZ(Z,H);if(W===void 0&&z===void 0)continue;if(W||(W=0),z||(z=0),W===0||z===0||wZ(W)===wZ(z)){if(Q[H]=Math.max(y(DZ(W),DZ(z),Y),0),z0.test(z)||z0.test(W))Q[H]+="%"}else Q[H]=z}if(J.rotate||Z.rotate)Q.rotate=y(J.rotate||0,Z.rotate||0,Y)}function NZ(Q,J){return Q[J]!==void 0?Q[J]:Q.borderRadius}var HG=AZ(0,0.5,s1),WG=AZ(0.5,0.95,i);function AZ(Q,J,Z){return(Y)=>{if(Y<Q)return 0;if(Y>J)return 1;return Z(x0(Q,J,Y))}}function IZ(Q,J,Z){let Y=d(Q)?Q:j0(Q);return Y.start(x5("",Y,J,Z)),Y.animation}function c0(Q,J,Z,Y={passive:!0}){return Q.addEventListener(J,Z,Y),()=>Q.removeEventListener(J,Z)}var TZ=(Q,J)=>Q.depth-J.depth;class c4{constructor(){this.children=[],this.isDirty=!1}add(Q){E5(this.children,Q),this.isDirty=!0}remove(Q){H5(this.children,Q),this.isDirty=!0}forEach(Q){this.isDirty&&this.children.sort(TZ),this.isDirty=!1,this.children.forEach(Q)}}function LZ(Q,J){let Z=s.now(),Y=({timestamp:X})=>{let q=X-Z;if(q>=J)D0(Y),Q(q-J)};return C.setup(Y,!0),()=>D0(Y)}function l5(Q){return d(Q)?Q.get():Q}class p4{constructor(){this.members=[]}add(Q){E5(this.members,Q);for(let J=this.members.length-1;J>=0;J--){let Z=this.members[J];if(Z===Q||Z===this.lead||Z===this.prevLead)continue;let Y=Z.instance;if((!Y||Y.isConnected===!1)&&!Z.snapshot)H5(this.members,Z),Z.unmount()}Q.scheduleRender()}remove(Q){if(H5(this.members,Q),Q===this.prevLead)this.prevLead=void 0;if(Q===this.lead){let J=this.members[this.members.length-1];if(J)this.promote(J)}}relegate(Q){for(let J=this.members.indexOf(Q)-1;J>=0;J--){let Z=this.members[J];if(Z.isPresent!==!1&&Z.instance?.isConnected!==!1)return this.promote(Z),!0}return!1}promote(Q,J){let Z=this.lead;if(Q===Z)return;if(this.prevLead=Z,this.lead=Q,Q.show(),Z){Z.updateSnapshot(),Q.scheduleRender();let{layoutDependency:Y}=Z.options,{layoutDependency:X}=Q.options;if(Y===void 0||Y!==X){if(Q.resumeFrom=Z,J)Z.preserveOpacity=!0;if(Z.snapshot)Q.snapshot=Z.snapshot,Q.snapshot.latestValues=Z.animationValues||Z.latestValues;if(Q.root?.isUpdating)Q.isLayoutDirty=!0}if(Q.options.crossfade===!1)Z.hide()}}exitAnimationComplete(){this.members.forEach((Q)=>{Q.options.onExitComplete?.(),Q.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach((Q)=>Q.instance&&Q.scheduleRender(!1))}removeLeadSnapshot(){if(this.lead?.snapshot)this.lead.snapshot=void 0}}var r5={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var i5={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},m4=["","X","Y","Z"],zG=1000,GG=0;function l4(Q,J,Z,Y){let{latestValues:X}=J;if(X[Q]){if(Z[Q]=X[Q],J.setStaticValue(Q,0),Y)Y[Q]=0}}function RZ(Q){if(Q.hasCheckedOptimisedAppear=!0,Q.root===Q)return;let{visualElement:J}=Q.options;if(!J)return;let Z=T6(J);if(window.MotionHasOptimisedAnimation(Z,"transform")){let{layout:X,layoutId:q}=Q.options;window.MotionCancelOptimisedAnimation(Z,"transform",C,!(X||q))}let{parent:Y}=Q;if(Y&&!Y.hasCheckedOptimisedAppear)RZ(Y)}function r6({attachResizeListener:Q,defaultParent:J,measureScroll:Z,checkIsScrollRoot:Y,resetTransform:X}){return class{constructor($={},H=J?.()){this.id=GG++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{if(this.isUpdating)this.isUpdating=!1,this.clearAllSnapshots()},this.updateProjection=()=>{if(this.projectionUpdateScheduled=!1,w0.value)i5.nodes=i5.calculatedTargetDeltas=i5.calculatedProjections=0;if(this.nodes.forEach(FG),this.nodes.forEach(wG),this.nodes.forEach(NG),this.nodes.forEach(OG),w0.addProjectionMetrics)w0.addProjectionMetrics(i5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=$,this.root=H?H.root||H:this,this.path=H?[...H.path,H]:[],this.parent=H,this.depth=H?H.depth+1:0;for(let W=0;W<this.path.length;W++)this.path[W].shouldResetTransform=!0;if(this.root===this)this.nodes=new c4}addEventListener($,H){if(!this.eventHandlers.has($))this.eventHandlers.set($,new W5);return this.eventHandlers.get($).add(H)}notifyListeners($,...H){let W=this.eventHandlers.get($);W&&W.notify(...H)}hasListeners($){return this.eventHandlers.has($)}mount($){if(this.instance)return;this.isSVG=w1($)&&!dJ($),this.instance=$;let{layoutId:H,layout:W,visualElement:z}=this.options;if(z&&!z.current)z.mount($);if(this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(W||H))this.isLayoutDirty=!0;if(Q){let G,K=0,B=()=>this.root.updateBlockedByResize=!1;C.read(()=>{K=window.innerWidth}),Q($,()=>{let O=window.innerWidth;if(O===K)return;if(K=O,this.root.updateBlockedByResize=!0,G&&G(),G=LZ(B,250),r5.hasAnimatedSinceResize)r5.hasAnimatedSinceResize=!1,this.nodes.forEach(PZ)})}if(H)this.root.registerSharedNode(H,this);if(this.options.animate!==!1&&z&&(H||W))this.addEventListener("didUpdate",({delta:G,hasLayoutChanged:K,hasRelativeLayoutChanged:B,layout:O})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let U=this.options.transition||z.getDefaultTransition()||TG,{onLayoutAnimationStart:N,onLayoutAnimationComplete:D}=z.getProps(),V=!this.targetLayout||!g4(this.targetLayout,O),I=!K&&B;if(this.options.layoutRoot||this.resumeFrom||I||K&&(V||!this.currentAnimation)){if(this.resumeFrom)this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0;let _={...K1(U,"layout"),onPlay:N,onComplete:D};if(z.shouldReduceMotion||this.options.layoutRoot)_.delay=0,_.type=!1;this.startAnimation(_),this.setAnimationOrigin(G,I)}else{if(!K)PZ(this);if(this.isLead()&&this.options.onExitComplete)this.options.onExitComplete()}this.targetLayout=O})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let $=this.getStack();$&&$.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),D0(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(){if(this.isUpdateBlocked())return;this.isUpdating=!0,this.nodes&&this.nodes.forEach(VG),this.animationId++}getTransformTemplate(){let{visualElement:$}=this.options;return $&&$.getProps().transformTemplate}willUpdate($=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear)RZ(this);if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let G=0;G<this.path.length;G++){let K=this.path[G];if(K.shouldResetTransform=!0,K.updateScroll("snapshot"),K.options.layoutRoot)K.willUpdate(!1)}let{layoutId:H,layout:W}=this.options;if(H===void 0&&!W)return;let z=this.getTransformTemplate();this.prevTransformTemplateValue=z?z(this.latestValues,""):void 0,this.updateSnapshot(),$&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(MZ);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(EZ);return}if(this.animationCommitId=this.animationId,!this.isUpdating)this.nodes.forEach(EZ);else this.isUpdating=!1,this.nodes.forEach(DG),this.nodes.forEach(KG),this.nodes.forEach(BG);this.clearAllSnapshots();let H=s.now();a.delta=e(0,16.666666666666668,H-a.timestamp),a.timestamp=H,a.isProcessing=!0,e1.update.process(a),e1.preRender.process(a),e1.render.process(a),a.isProcessing=!1}didUpdate(){if(!this.updateScheduled)this.updateScheduled=!0,v5.read(this.scheduleUpdate)}clearAllSnapshots(){this.nodes.forEach(UG),this.sharedNodes.forEach(_G)}scheduleUpdateProjection(){if(!this.projectionUpdateScheduled)this.projectionUpdateScheduled=!0,C.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){C.postRender(()=>{if(this.isLayoutDirty)this.root.didUpdate();else this.root.checkUpdateFailed()})}updateSnapshot(){if(this.snapshot||!this.instance)return;if(this.snapshot=this.measure(),this.snapshot&&!J0(this.snapshot.measuredBox.x)&&!J0(this.snapshot.measuredBox.y))this.snapshot=void 0}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let W=0;W<this.path.length;W++)this.path[W].updateScroll();let $=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=l(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:H}=this.options;H&&H.notify("LayoutMeasure",this.layout.layoutBox,$?$.layoutBox:void 0)}updateScroll($="measure"){let H=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===$)H=!1;if(H&&this.instance){let W=Y(this.instance);this.scroll={animationId:this.root.animationId,phase:$,isRoot:W,offset:Z(this.instance),wasRoot:this.scroll?this.scroll.isRoot:W}}}resetTransform(){if(!X)return;let $=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,H=this.projectionDelta&&!f4(this.projectionDelta),W=this.getTransformTemplate(),z=W?W(this.latestValues,""):void 0,G=z!==this.prevTransformTemplateValue;if($&&this.instance&&(H||t0(this.latestValues)||G))X(this.instance,z),this.shouldResetTransform=!1,this.scheduleRender()}measure($=!0){let H=this.measurePageBox(),W=this.removeElementScroll(H);if($)W=this.removeTransform(W);return LG(W),{animationId:this.root.animationId,measuredBox:H,layoutBox:W,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:$}=this.options;if(!$)return l();let H=$.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(MG))){let{scroll:z}=this.root;if(z)U5(H.x,z.offset.x),U5(H.y,z.offset.y)}return H}removeElementScroll($){let H=l();if(L0(H,$),this.scroll?.wasRoot)return H;for(let W=0;W<this.path.length;W++){let z=this.path[W],{scroll:G,options:K}=z;if(z!==this.root&&G&&K.layoutScroll){if(G.wasRoot)L0(H,$);U5(H.x,G.offset.x),U5(H.y,G.offset.y)}}return H}applyTransform($,H=!1){let W=l();L0(W,$);for(let z=0;z<this.path.length;z++){let G=this.path[z];if(!H&&G.options.layoutScroll&&G.scroll&&G!==G.root)u5(W,{x:-G.scroll.offset.x,y:-G.scroll.offset.y});if(!t0(G.latestValues))continue;u5(W,G.latestValues)}if(t0(this.latestValues))u5(W,this.latestValues);return W}removeTransform($){let H=l();L0(H,$);for(let W=0;W<this.path.length;W++){let z=this.path[W];if(!z.instance)continue;if(!t0(z.latestValues))continue;u6(z.latestValues)&&z.updateSnapshot();let G=l(),K=z.measurePageBox();L0(G,K),v4(H,z.latestValues,z.snapshot?z.snapshot.layoutBox:void 0,G)}if(t0(this.latestValues))v4(H,this.latestValues);return H}setTargetDelta($){this.targetDelta=$,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions($){this.options={...this.options,...$,crossfade:$.crossfade!==void 0?$.crossfade:!0}}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(){if(!this.relativeParent)return;if(this.relativeParent.resolvedRelativeTargetAt!==a.timestamp)this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta($=!1){let H=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=H.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=H.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=H.isSharedProjectionDirty);let W=Boolean(this.resumingFrom)||this!==H;if(!($||W&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:G,layoutId:K}=this.options;if(!this.layout||!(G||K))return;this.resolvedRelativeTargetAt=a.timestamp;let B=this.getClosestProjectingParent();if(B&&this.linkedParentVersion!==B.layoutVersion&&!B.options.layoutRoot)this.removeRelativeTarget();if(!this.targetDelta&&!this.relativeTarget)if(B&&B.layout)this.createRelativeTarget(B,this.layout.layoutBox,B.layout.layoutBox);else this.removeRelativeTarget();if(!this.relativeTarget&&!this.targetDelta)return;if(!this.target)this.target=l(),this.targetWithTransforms=l();if(this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)this.forceRelativeParentToResolveTarget(),y4(this.target,this.relativeTarget,this.relativeParent.target);else if(this.targetDelta){if(Boolean(this.resumingFrom))this.target=this.applyTransform(this.layout.layoutBox);else L0(this.target,this.layout.layoutBox);E4(this.target,this.targetDelta)}else L0(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget)if(this.attemptToResolveRelativeTarget=!1,B&&Boolean(B.resumingFrom)===Boolean(this.resumingFrom)&&!B.options.layoutScroll&&B.target&&this.animationProgress!==1)this.createRelativeTarget(B,this.target,B.target);else this.relativeParent=this.relativeTarget=void 0;if(w0.value)i5.calculatedTargetDeltas++}getClosestProjectingParent(){if(!this.parent||u6(this.parent.latestValues)||L4(this.parent.latestValues))return;if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget($,H,W){this.relativeParent=$,this.linkedParentVersion=$.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=l(),this.relativeTargetOrigin=l(),_1(this.relativeTargetOrigin,H,W),L0(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let $=this.getLead(),H=Boolean(this.resumingFrom)||this!==$,W=!0;if(this.isProjectionDirty||this.parent?.isProjectionDirty)W=!1;if(H&&(this.isSharedProjectionDirty||this.isTransformDirty))W=!1;if(this.resolvedRelativeTargetAt===a.timestamp)W=!1;if(W)return;let{layout:z,layoutId:G}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),!this.isTreeAnimating)this.targetDelta=this.relativeTarget=void 0;if(!this.layout||!(z||G))return;L0(this.layoutCorrected,this.layout.layoutBox);let K=this.treeScale.x,B=this.treeScale.y;if(tJ(this.layoutCorrected,this.treeScale,this.path,H),$.layout&&!$.target&&(this.treeScale.x!==1||this.treeScale.y!==1))$.target=$.layout.layoutBox,$.targetWithTransforms=l();let{target:O}=$;if(!O){if(this.prevProjectionDelta)this.createProjectionDeltas(),this.scheduleRender();return}if(!this.projectionDelta||!this.prevProjectionDelta)this.createProjectionDeltas();else b4(this.prevProjectionDelta.x,this.projectionDelta.x),b4(this.prevProjectionDelta.y,this.projectionDelta.y);if(m5(this.projectionDelta,this.layoutCorrected,O,this.latestValues),this.treeScale.x!==K||this.treeScale.y!==B||!d4(this.projectionDelta.x,this.prevProjectionDelta.x)||!d4(this.projectionDelta.y,this.prevProjectionDelta.y))this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",O);if(w0.value)i5.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender($=!0){if(this.options.visualElement?.scheduleRender(),$){let H=this.getStack();H&&H.scheduleRender()}if(this.resumingFrom&&!this.resumingFrom.instance)this.resumingFrom=void 0}createProjectionDeltas(){this.prevProjectionDelta=B5(),this.projectionDelta=B5(),this.projectionDeltaWithTransform=B5()}setAnimationOrigin($,H=!1){let W=this.snapshot,z=W?W.latestValues:{},G={...this.latestValues},K=B5();if(!this.relativeParent||!this.relativeParent.options.layoutRoot)this.relativeTarget=this.relativeTargetOrigin=void 0;this.attemptToResolveRelativeTarget=!H;let B=l(),O=W?W.source:void 0,U=this.layout?this.layout.source:void 0,N=O!==U,D=this.getStack(),V=!D||D.members.length<=1,I=Boolean(N&&!V&&this.options.crossfade===!0&&!this.path.some(IG));this.animationProgress=0;let _;this.mixTargetDelta=(w)=>{let T=w/1000;if(SZ(K.x,$.x,T),SZ(K.y,$.y,T),this.setTargetDelta(K),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){if(_1(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox),AG(this.relativeTarget,this.relativeTargetOrigin,B,T),_&&OZ(this.relativeTarget,_))this.isProjectionDirty=!1;if(!_)_=l();L0(_,this.relativeTarget)}if(N)this.animationValues=G,_Z(G,z,this.latestValues,T,I,V);this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1000:0)}startAnimation($){if(this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation)D0(this.pendingAnimation),this.pendingAnimation=void 0;this.pendingAnimation=C.update(()=>{if(r5.hasAnimatedSinceResize=!0,y0.layout++,this.motionValue||(this.motionValue=j0(0)),this.motionValue.jump(0,!1),this.currentAnimation=IZ(this.motionValue,[0,1000],{...$,velocity:0,isSync:!0,onUpdate:(H)=>{this.mixTargetDelta(H),$.onUpdate&&$.onUpdate(H)},onStop:()=>{y0.layout--},onComplete:()=>{y0.layout--,$.onComplete&&$.onComplete(),this.completeAnimation()}}),this.resumingFrom)this.resumingFrom.currentAnimation=this.currentAnimation;this.pendingAnimation=void 0})}completeAnimation(){if(this.resumingFrom)this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0;let $=this.getStack();$&&$.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){if(this.currentAnimation)this.mixTargetDelta&&this.mixTargetDelta(zG),this.currentAnimation.stop();this.completeAnimation()}applyTransformsToTarget(){let $=this.getLead(),{targetWithTransforms:H,target:W,layout:z,latestValues:G}=$;if(!H||!W||!z)return;if(this!==$&&this.layout&&z&&CZ(this.options.animationType,this.layout.layoutBox,z.layoutBox)){W=this.target||l();let K=J0(this.layout.layoutBox.x);W.x.min=$.target.x.min,W.x.max=W.x.min+K;let B=J0(this.layout.layoutBox.y);W.y.min=$.target.y.min,W.y.max=W.y.min+B}L0(H,W),u5(H,G),m5(this.projectionDeltaWithTransform,this.layoutCorrected,H,G)}registerSharedNode($,H){if(!this.sharedNodes.has($))this.sharedNodes.set($,new p4);this.sharedNodes.get($).add(H);let z=H.options.initialPromotionConfig;H.promote({transition:z?z.transition:void 0,preserveFollowOpacity:z&&z.shouldPreserveFollowOpacity?z.shouldPreserveFollowOpacity(H):void 0})}isLead(){let $=this.getStack();return $?$.lead===this:!0}getLead(){let{layoutId:$}=this.options;return $?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:$}=this.options;return $?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:$}=this.options;if($)return this.root.sharedNodes.get($)}promote({needsReset:$,transition:H,preserveFollowOpacity:W}={}){let z=this.getStack();if(z)z.promote(this,W);if($)this.projectionDelta=void 0,this.needsReset=!0;if(H)this.setOptions({transition:H})}relegate(){let $=this.getStack();if($)return $.relegate(this);else return!1}resetSkewAndRotation(){let{visualElement:$}=this.options;if(!$)return;let H=!1,{latestValues:W}=$;if(W.z||W.rotate||W.rotateX||W.rotateY||W.rotateZ||W.skewX||W.skewY)H=!0;if(!H)return;let z={};if(W.z)l4("z",$,z,this.animationValues);for(let G=0;G<m4.length;G++)l4(`rotate${m4[G]}`,$,z,this.animationValues),l4(`skew${m4[G]}`,$,z,this.animationValues);$.render();for(let G in z)if($.setStaticValue(G,z[G]),this.animationValues)this.animationValues[G]=z[G];$.scheduleRender()}applyProjectionStyles($,H){if(!this.instance||this.isSVG)return;if(!this.isVisible){$.visibility="hidden";return}let W=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,$.visibility="",$.opacity="",$.pointerEvents=l5(H?.pointerEvents)||"",$.transform=W?W(this.latestValues,""):"none";return}let z=this.getLead();if(!this.projectionDelta||!this.layout||!z.target){if(this.options.layoutId)$.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,$.pointerEvents=l5(H?.pointerEvents)||"";if(this.hasProjected&&!t0(this.latestValues))$.transform=W?W({},""):"none",this.hasProjected=!1;return}$.visibility="";let G=z.animationValues||z.latestValues;this.applyTransformsToTarget();let K=UZ(this.projectionDeltaWithTransform,this.treeScale,G);if(W)K=W(G,K);$.transform=K;let{x:B,y:O}=this.projectionDelta;if($.transformOrigin=`${B.origin*100}% ${O.origin*100}% 0`,z.animationValues)$.opacity=z===this?G.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:G.opacityExit;else $.opacity=z===this?G.opacity!==void 0?G.opacity:"":G.opacityExit!==void 0?G.opacityExit:0;for(let U in w8){if(G[U]===void 0)continue;let{correct:N,applyTo:D,isCSSVariable:V}=w8[U],I=K==="none"?G[U]:N(G[U],z);if(D){let _=D.length;for(let w=0;w<_;w++)$[D[w]]=I}else if(V)this.options.visualElement.renderState.vars[U]=I;else $[U]=I}if(this.options.layoutId)$.pointerEvents=z===this?l5(H?.pointerEvents)||"":"none"}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(($)=>$.currentAnimation?.stop()),this.root.nodes.forEach(MZ),this.root.sharedNodes.clear()}}}function KG(Q){Q.updateLayout()}function BG(Q){let J=Q.resumeFrom?.snapshot||Q.snapshot;if(Q.isLead()&&Q.layout&&J&&Q.hasListeners("didUpdate")){let{layoutBox:Z,measuredBox:Y}=Q.layout,{animationType:X}=Q.options,q=J.source!==Q.layout.source;if(X==="size")N0((G)=>{let K=q?J.measuredBox[G]:J.layoutBox[G],B=J0(K);K.min=Z[G].min,K.max=K.min+B});else if(CZ(X,J.layoutBox,Z))N0((G)=>{let K=q?J.measuredBox[G]:J.layoutBox[G],B=J0(Z[G]);if(K.max=K.min+B,Q.relativeTarget&&!Q.currentAnimation)Q.isProjectionDirty=!0,Q.relativeTarget[G].max=Q.relativeTarget[G].min+B});let $=B5();m5($,Z,J.layoutBox);let H=B5();if(q)m5(H,Q.applyTransform(Y,!0),J.measuredBox);else m5(H,Z,J.layoutBox);let W=!f4($),z=!1;if(!Q.resumeFrom){let G=Q.getClosestProjectingParent();if(G&&!G.resumeFrom){let{snapshot:K,layout:B}=G;if(K&&B){let O=l();_1(O,J.layoutBox,K.layoutBox);let U=l();if(_1(U,Z,B.layoutBox),!g4(O,U))z=!0;if(G.options.layoutRoot)Q.relativeTarget=U,Q.relativeTargetOrigin=O,Q.relativeParent=G}}}Q.notifyListeners("didUpdate",{layout:Z,snapshot:J,delta:H,layoutDelta:$,hasLayoutChanged:W,hasRelativeLayoutChanged:z})}else if(Q.isLead()){let{onExitComplete:Z}=Q.options;Z&&Z()}Q.options.transition=void 0}function FG(Q){if(w0.value)i5.nodes++;if(!Q.parent)return;if(!Q.isProjecting())Q.isProjectionDirty=Q.parent.isProjectionDirty;Q.isSharedProjectionDirty||(Q.isSharedProjectionDirty=Boolean(Q.isProjectionDirty||Q.parent.isProjectionDirty||Q.parent.isSharedProjectionDirty)),Q.isTransformDirty||(Q.isTransformDirty=Q.parent.isTransformDirty)}function OG(Q){Q.isProjectionDirty=Q.isSharedProjectionDirty=Q.isTransformDirty=!1}function UG(Q){Q.clearSnapshot()}function MZ(Q){Q.clearMeasurements()}function EZ(Q){Q.isLayoutDirty=!1}function DG(Q){let{visualElement:J}=Q.options;if(J&&J.getProps().onBeforeLayoutMeasure)J.notify("BeforeLayoutMeasure");Q.resetTransform()}function PZ(Q){Q.finishAnimation(),Q.targetDelta=Q.relativeTarget=Q.target=void 0,Q.isProjectionDirty=!0}function wG(Q){Q.resolveTargetDelta()}function NG(Q){Q.calcProjection()}function VG(Q){Q.resetSkewAndRotation()}function _G(Q){Q.removeLeadSnapshot()}function SZ(Q,J,Z){Q.translate=y(J.translate,0,Z),Q.scale=y(J.scale,1,Z),Q.origin=J.origin,Q.originPoint=J.originPoint}function jZ(Q,J,Z,Y){Q.min=y(J.min,Z.min,Y),Q.max=y(J.max,Z.max,Y)}function AG(Q,J,Z,Y){jZ(Q.x,J.x,Z.x,Y),jZ(Q.y,J.y,Z.y,Y)}function IG(Q){return Q.animationValues&&Q.animationValues.opacityExit!==void 0}var TG={duration:0.45,ease:[0.4,0,0.1,1]},kZ=(Q)=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(Q),bZ=kZ("applewebkit/")&&!kZ("chrome/")?Math.round:i;function hZ(Q){Q.min=bZ(Q.min),Q.max=bZ(Q.max)}function LG(Q){hZ(Q.x),hZ(Q.y)}function CZ(Q,J,Z){return Q==="position"||Q==="preserve-aspect"&&!x4(u4(J),u4(Z),0.2)}function MG(Q){return Q!==Q.root&&Q.scroll?.wasRoot}var xZ=r6({attachResizeListener:(Q,J)=>c0(Q,"resize",J),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var EG=(Q)=>!Q.isLayoutDirty&&Q.willUpdate(!1);function i6(){let Q=new Set,J=new WeakMap,Z=()=>Q.forEach(EG);return{add:(Y)=>{Q.add(Y),J.set(Y,Y.addEventListener("willUpdate",Z))},remove:(Y)=>{Q.delete(Y);let X=J.get(Y);if(X)X(),J.delete(Y);Z()},dirty:Z}}var s6={current:void 0},I8=r6({measureScroll:(Q)=>({x:Q.scrollLeft,y:Q.scrollTop}),defaultParent:()=>{if(!s6.current){let Q=new xZ({});Q.mount(window),Q.setOptions({layoutScroll:!0}),s6.current=Q}return s6.current},resetTransform:(Q,J)=>{Q.style.transform=J!==void 0?J:"none"},checkIsScrollRoot:(Q)=>Boolean(window.getComputedStyle(Q).position==="fixed")});var vZ=b(h(),1);var yZ=["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 A1(Q){if(typeof Q!=="string"||Q.includes("-"))return!1;else if(yZ.indexOf(Q)>-1||/[A-Z]/u.test(Q))return!0;return!1}var fZ=(Q,J)=>{return J.isSVG??A1(Q)?new l6(J):new p6(J,{allowProjection:Q!==vZ.Fragment})};var Z7=b(M0(),1);var P1=b(h(),1);var gZ=b(h(),1),e0=gZ.createContext({});var uZ=b(h(),1),o6=uZ.createContext({strict:!1});var dZ=b(h(),1),I1=dZ.createContext({transformPagePoint:(Q)=>Q,isStatic:!1,reducedMotion:"never"});var cZ=b(h(),1),D5=cZ.createContext({});var n6=b(h(),1);function pZ(Q,J){if(F5(Q)){let{initial:Z,animate:Y}=Q;return{initial:Z===!1||d0(Z)?Z:void 0,animate:d0(Y)?Y:void 0}}return Q.inherit!==!1?J:{}}function lZ(Q){let{initial:J,animate:Z}=pZ(Q,n6.useContext(D5));return n6.useMemo(()=>({initial:J,animate:Z}),[mZ(J),mZ(Z)])}function mZ(Q){return Array.isArray(Q)?Q.join(" "):Q}var L1=b(h(),1);var rZ=b(h(),1);var T1=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function r4(Q,J,Z){for(let Y in J)if(!d(J[Y])&&!N8(Y,Z))Q[Y]=J[Y]}function PG({transformTemplate:Q},J){return rZ.useMemo(()=>{let Z=T1();return d5(Z,J,Q),Object.assign({},Z.vars,Z.style)},[J])}function SG(Q,J){let Z=Q.style||{},Y={};return r4(Y,Z,Q),Object.assign(Y,PG(Q,J)),Y}function iZ(Q,J){let Z={},Y=SG(Q,J);if(Q.drag&&Q.dragListener!==!1)Z.draggable=!1,Y.userSelect=Y.WebkitUserSelect=Y.WebkitTouchCallout="none",Y.touchAction=Q.drag===!0?"none":`pan-${Q.drag==="x"?"y":"x"}`;if(Q.tabIndex===void 0&&(Q.onTap||Q.onTapStart||Q.whileTap))Z.tabIndex=0;return Z.style=Y,Z}var sZ=b(h(),1);var a6=()=>({...T1(),attrs:{}});function oZ(Q,J,Z,Y){let X=sZ.useMemo(()=>{let q=a6();return V8(q,J,_8(Y),Q.transformTemplate,Q.style),{...q.attrs,style:{...q.style}}},[J]);if(Q.style){let q={};r4(q,Q.style,Q),X.style={...q,...X.style}}return X}var jG=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","propagate","ignoreStrict","viewport"]);function T8(Q){return Q.startsWith("while")||Q.startsWith("drag")&&Q!=="draggable"||Q.startsWith("layout")||Q.startsWith("onTap")||Q.startsWith("onPan")||Q.startsWith("onLayout")||jG.has(Q)}var nZ=(Q)=>!T8(Q);function bG(Q){if(typeof Q!=="function")return;nZ=(J)=>J.startsWith("on")?!T8(J):Q(J)}try{bG((()=>{throw new Error("Cannot require module "+"@emotion/is-prop-valid");})().default)}catch{}function aZ(Q,J,Z){let Y={};for(let X in Q){if(X==="values"&&typeof Q.values==="object")continue;if(nZ(X)||Z===!0&&T8(X)||!J&&!T8(X)||Q.draggable&&X.startsWith("onDrag"))Y[X]=Q[X]}return Y}function tZ(Q,J,Z,{latestValues:Y},X,q=!1,$){let W=($??A1(Q)?oZ:iZ)(J,Y,X,Q),z=aZ(J,typeof Q==="string",q),G=Q!==L1.Fragment?{...z,...W,ref:Z}:{},{children:K}=J,B=L1.useMemo(()=>d(K)?K.get():K,[K]);return L1.createElement(Q,{...G,children:B})}var i4=b(h(),1);var eZ=b(h(),1),w5=eZ.createContext(null);var QY=b(h(),1);function M1(Q){let J=QY.useRef(null);if(J.current===null)J.current=Q();return J.current}function hG({scrapeMotionValuesFromProps:Q,createRenderState:J},Z,Y,X){return{latestValues:RG(Z,Y,X,Q),renderState:J()}}function RG(Q,J,Z,Y){let X={},q=Y(Q,{});for(let B in q)X[B]=l5(q[B]);let{initial:$,animate:H}=Q,W=F5(Q),z=K8(Q);if(J&&z&&!W&&Q.inherit!==!1){if($===void 0)$=J.initial;if(H===void 0)H=J.animate}let G=Z?Z.initial===!1:!1;G=G||$===!1;let K=G?H:$;if(K&&typeof K!=="boolean"&&!a0(K)){let B=Array.isArray(K)?K:[K];for(let O=0;O<B.length;O++){let U=y5(Q,B[O]);if(U){let{transitionEnd:N,transition:D,...V}=U;for(let I in V){let _=V[I];if(Array.isArray(_)){let w=G?_.length-1:0;_=_[w]}if(_!==null)X[I]=_}for(let I in N)X[I]=N[I]}}}return X}var t6=(Q)=>(J,Z)=>{let Y=i4.useContext(D5),X=i4.useContext(w5),q=()=>hG(Q,J,Y,X);return Z?q():M1(q)};var JY=t6({scrapeMotionValuesFromProps:c5,createRenderState:T1});var ZY=t6({scrapeMotionValuesFromProps:A8,createRenderState:a6});var YY={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"]},XY=!1;function CG(){if(XY)return;let Q={};for(let J in YY)Q[J]={isEnabled:(Z)=>YY[J].some((Y)=>!!Z[Y])};F8(Q),XY=!0}function e6(){return CG(),_4()}function $Y(Q){let J=e6();for(let Z in Q)J[Z]={...J[Z],...Q[Z]};F8(J)}var qY=Symbol.for("motionComponentSymbol");var s5=b(h(),1);function HY(Q,J,Z){let Y=s5.useRef(Z);s5.useInsertionEffect(()=>{Y.current=Z});let X=s5.useRef(null);return s5.useCallback((q)=>{if(q)Q.onMount?.(q);let $=Y.current;if(typeof $==="function")if(q){let H=$(q);if(typeof H==="function")X.current=H}else if(X.current)X.current(),X.current=null;else $(q);else if($)$.current=q;if(J)q?J.mount(q):J.unmount()},[J])}var B0=b(h(),1);var WY=b(h(),1),Q7=WY.createContext({});function N5(Q){return Q&&typeof Q==="object"&&Object.prototype.hasOwnProperty.call(Q,"current")}var J7=b(h(),1);var zY=typeof window<"u";var E1=zY?J7.useLayoutEffect:J7.useEffect;function GY(Q,J,Z,Y,X,q){let{visualElement:$}=B0.useContext(D5),H=B0.useContext(o6),W=B0.useContext(w5),z=B0.useContext(I1),G=z.reducedMotion,K=z.skipAnimations,B=B0.useRef(null),O=B0.useRef(!1);if(Y=Y||H.renderer,!B.current&&Y){if(B.current=Y(Q,{visualState:J,parent:$,props:Z,presenceContext:W,blockInitialAnimation:W?W.initial===!1:!1,reducedMotionConfig:G,skipAnimations:K,isSVG:q}),O.current&&B.current)B.current.manuallyAnimateOnMount=!0}let U=B.current,N=B0.useContext(Q7);if(U&&!U.projection&&X&&(U.type==="html"||U.type==="svg"))xG(B.current,Z,X,N);let D=B0.useRef(!1);B0.useInsertionEffect(()=>{if(U&&D.current)U.update(Z,W)});let V=Z[H8],I=B0.useRef(Boolean(V)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(V)&&window.MotionHasOptimisedAnimation?.(V));return E1(()=>{if(O.current=!0,!U)return;if(D.current=!0,window.MotionIsMounted=!0,U.updateFeatures(),U.scheduleRenderMicrotask(),I.current&&U.animationState)U.animationState.animateChanges()}),B0.useEffect(()=>{if(!U)return;if(!I.current&&U.animationState)U.animationState.animateChanges();if(I.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(V)}),I.current=!1;U.enteringChildren=void 0}),U}function xG(Q,J,Z,Y){let{layoutId:X,layout:q,drag:$,dragConstraints:H,layoutScroll:W,layoutRoot:z,layoutCrossfade:G}=J;Q.projection=new Z(Q.latestValues,J["data-framer-portal-id"]?void 0:KY(Q.parent)),Q.projection.setOptions({layoutId:X,layout:q,alwaysMeasureLayout:Boolean($)||H&&N5(H),visualElement:Q,animationType:typeof q==="string"?q:"both",initialPromotionConfig:Y,crossfade:G,layoutScroll:W,layoutRoot:z})}function KY(Q){if(!Q)return;return Q.options.allowProjection!==!1?Q.projection:KY(Q.parent)}function Y7(Q,{forwardMotionProps:J=!1,type:Z}={},Y,X){Y&&$Y(Y);let q=Z?Z==="svg":A1(Q),$=q?ZY:JY;function H(z,G){let K,B={...P1.useContext(I1),...z,layoutId:yG(z)},{isStatic:O}=B,U=lZ(z),N=$(z,O);if(!O&&typeof window<"u"){vG(B,Y);let D=fG(B);K=D.MeasureLayout,U.visualElement=GY(Q,N,B,X,D.ProjectionNode,q)}return Z7.jsxs(D5.Provider,{value:U,children:[K&&U.visualElement?Z7.jsx(K,{visualElement:U.visualElement,...B}):null,tZ(Q,z,HY(N,U.visualElement,G),N,O,J,q)]})}H.displayName=`motion.${typeof Q==="string"?Q:`create(${Q.displayName??Q.name??""})`}`;let W=P1.forwardRef(H);return W[qY]=Q,W}function yG({layoutId:Q}){let J=P1.useContext(e0).id;return J&&Q!==void 0?J+"-"+Q:Q}function vG(Q,J){let Z=P1.useContext(o6).strict}function fG(Q){let J=e6(),{drag:Z,layout:Y}=J;if(!Z&&!Y)return{};let X={...Z,...Y};return{MeasureLayout:Z?.isEnabled(Q)||Y?.isEnabled(Q)?X.MeasureLayout:void 0,ProjectionNode:X.ProjectionNode}}function BY(Q,J){if(typeof Proxy>"u")return Y7;let Z=new Map,Y=(q,$)=>{return Y7(q,$,Q,J)};return new Proxy((q,$)=>{return Y(q,$)},{get:(q,$)=>{if($==="create")return Y;if(!Z.has($))Z.set($,Y7($,void 0,Q,J));return Z.get($)}})}class s4 extends H0{constructor(Q){super(Q);Q.animationState||(Q.animationState=k4(Q))}updateAnimationControlsSubscription(){let{animate:Q}=this.node.getProps();if(a0(Q))this.unmountControls=Q.subscribe(this.node)}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:Q}=this.node.getProps(),{animate:J}=this.node.prevProps||{};if(Q!==J)this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var gG=0;class o4 extends H0{constructor(){super(...arguments);this.id=gG++}update(){if(!this.node.presenceContext)return;let{isPresent:Q,onExitComplete:J}=this.node.presenceContext,{isPresent:Z}=this.node.prevPresenceContext||{};if(!this.node.animationState||Q===Z)return;let Y=this.node.animationState.setActive("exit",!Q);if(J&&!Q)Y.then(()=>{J(this.id)})}mount(){let{register:Q,onExitComplete:J}=this.node.presenceContext||{};if(J)J(this.id);if(Q)this.unmount=Q(this.id)}unmount(){}}var FY={animation:{Feature:s4},exit:{Feature:o4}};function Q5(Q){return{point:{x:Q.pageX,y:Q.pageY}}}var OY=(Q)=>{return(J)=>f5(J)&&Q(J,Q5(J))};function V5(Q,J,Z,Y){return c0(Q,J,OY(Z),Y)}var X7=({current:Q})=>{return Q?Q.ownerDocument.defaultView:null};var UY=(Q,J)=>Math.abs(Q-J);function DY(Q,J){let Z=UY(Q.x,J.x),Y=UY(Q.y,J.y);return Math.sqrt(Z**2+Y**2)}var wY=new Set(["auto","scroll"]);class L8{constructor(Q,J,{transformPagePoint:Z,contextWindow:Y=window,dragSnapToOrigin:X=!1,distanceThreshold:q=3,element:$}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=(B)=>{this.handleScroll(B.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let B=a4(this.lastMoveEventInfo,this.history),O=this.startEvent!==null,U=DY(B.offset,{x:0,y:0})>=this.distanceThreshold;if(!O&&!U)return;let{point:N}=B,{timestamp:D}=a;this.history.push({...N,timestamp:D});let{onStart:V,onMove:I}=this.handlers;if(!O)V&&V(this.lastMoveEvent,B),this.startEvent=this.lastMoveEvent;I&&I(this.lastMoveEvent,B)},this.handlePointerMove=(B,O)=>{this.lastMoveEvent=B,this.lastMoveEventInfo=n4(O,this.transformPagePoint),C.update(this.updatePoint,!0)},this.handlePointerUp=(B,O)=>{this.end();let{onEnd:U,onSessionEnd:N,resumeAnimation:D}=this.handlers;if(this.dragSnapToOrigin||!this.startEvent)D&&D();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let V=a4(B.type==="pointercancel"?this.lastMoveEventInfo:n4(O,this.transformPagePoint),this.history);if(this.startEvent&&U)U(B,V);N&&N(B,V)},!f5(Q))return;this.dragSnapToOrigin=X,this.handlers=J,this.transformPagePoint=Z,this.distanceThreshold=q,this.contextWindow=Y||window;let H=Q5(Q),W=n4(H,this.transformPagePoint),{point:z}=W,{timestamp:G}=a;this.history=[{...z,timestamp:G}];let{onSessionStart:K}=J;if(K&&K(Q,a4(W,this.history)),this.removeListeners=P0(V5(this.contextWindow,"pointermove",this.handlePointerMove),V5(this.contextWindow,"pointerup",this.handlePointerUp),V5(this.contextWindow,"pointercancel",this.handlePointerUp)),$)this.startScrollTracking($)}startScrollTracking(Q){let J=Q.parentElement;while(J){let Z=getComputedStyle(J);if(wY.has(Z.overflowX)||wY.has(Z.overflowY))this.scrollPositions.set(J,{x:J.scrollLeft,y:J.scrollTop});J=J.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(Q){let J=this.scrollPositions.get(Q);if(!J)return;let Z=Q===window,Y=Z?{x:window.scrollX,y:window.scrollY}:{x:Q.scrollLeft,y:Q.scrollTop},X={x:Y.x-J.x,y:Y.y-J.y};if(X.x===0&&X.y===0)return;if(Z){if(this.lastMoveEventInfo)this.lastMoveEventInfo.point.x+=X.x,this.lastMoveEventInfo.point.y+=X.y}else if(this.history.length>0)this.history[0].x-=X.x,this.history[0].y-=X.y;this.scrollPositions.set(Q,Y),C.update(this.updatePoint,!0)}updateHandlers(Q){this.handlers=Q}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),D0(this.updatePoint)}}function n4(Q,J){return J?{point:J(Q.point)}:Q}function NY(Q,J){return{x:Q.x-J.x,y:Q.y-J.y}}function a4({point:Q},J){return{point:Q,delta:NY(Q,VY(J)),offset:NY(Q,uG(J)),velocity:dG(J,0.1)}}function uG(Q){return Q[0]}function VY(Q){return Q[Q.length-1]}function dG(Q,J){if(Q.length<2)return{x:0,y:0};let Z=Q.length-1,Y=null,X=VY(Q);while(Z>=0){if(Y=Q[Z],X.timestamp-Y.timestamp>Q0(J))break;Z--}if(!Y)return{x:0,y:0};if(Y===Q[0]&&Q.length>2&&X.timestamp-Y.timestamp>Q0(J)*2)Y=Q[1];let q=X0(X.timestamp-Y.timestamp);if(q===0)return{x:0,y:0};let $={x:(X.x-Y.x)/q,y:(X.y-Y.y)/q};if($.x===1/0)$.x=0;if($.y===1/0)$.y=0;return $}function LY(Q,{min:J,max:Z},Y){if(J!==void 0&&Q<J)Q=Y?y(J,Q,Y.min):Math.max(Q,J);else if(Z!==void 0&&Q>Z)Q=Y?y(Z,Q,Y.max):Math.min(Q,Z);return Q}function _Y(Q,J,Z){return{min:J!==void 0?Q.min+J:void 0,max:Z!==void 0?Q.max+Z-(Q.max-Q.min):void 0}}function MY(Q,{top:J,left:Z,bottom:Y,right:X}){return{x:_Y(Q.x,Z,X),y:_Y(Q.y,J,Y)}}function AY(Q,J){let Z=J.min-Q.min,Y=J.max-Q.max;if(J.max-J.min<Q.max-Q.min)[Z,Y]=[Y,Z];return{min:Z,max:Y}}function EY(Q,J){return{x:AY(Q.x,J.x),y:AY(Q.y,J.y)}}function PY(Q,J){let Z=0.5,Y=J0(Q),X=J0(J);if(X>Y)Z=x0(J.min,J.max-Y,Q.min);else if(Y>X)Z=x0(Q.min,Q.max-X,J.min);return e(0,1,Z)}function SY(Q,J){let Z={};if(J.min!==void 0)Z.min=J.min-Q.min;if(J.max!==void 0)Z.max=J.max-Q.min;return Z}var $7=0.35;function jY(Q=$7){if(Q===!1)Q=0;else if(Q===!0)Q=$7;return{x:IY(Q,"left","right"),y:IY(Q,"top","bottom")}}function IY(Q,J,Z){return{min:TY(Q,J),max:TY(Q,Z)}}function TY(Q,J){return typeof Q==="number"?Q:Q[J]||0}var cG=new WeakMap;class t4{constructor(Q){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=l(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=Q}start(Q,{snapToCursor:J=!1,distanceThreshold:Z}={}){let{presenceContext:Y}=this.visualElement;if(Y&&Y.isPresent===!1)return;let X=(G)=>{if(J)this.snapToCursor(Q5(G).point);this.stopAnimation()},q=(G,K)=>{let{drag:B,dragPropagation:O,onDragStart:U}=this.getProps();if(B&&!O){if(this.openDragLock)this.openDragLock();if(this.openDragLock=K4(B),!this.openDragLock)return}if(this.latestPointerEvent=G,this.latestPanInfo=K,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection)this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0;if(N0((D)=>{let V=this.getAxisMotionValue(D).get()||0;if(z0.test(V)){let{projection:I}=this.visualElement;if(I&&I.layout){let _=I.layout.layoutBox[D];if(_)V=J0(_)*(parseFloat(V)/100)}}this.originPoint[D]=V}),U)C.update(()=>U(G,K),!1,!0);B1(this.visualElement,"transform");let{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},$=(G,K)=>{this.latestPointerEvent=G,this.latestPanInfo=K;let{dragPropagation:B,dragDirectionLock:O,onDirectionLock:U,onDrag:N}=this.getProps();if(!B&&!this.openDragLock)return;let{offset:D}=K;if(O&&this.currentDirection===null){if(this.currentDirection=mG(D),this.currentDirection!==null)U&&U(this.currentDirection);return}if(this.updateAxis("x",K.point,D),this.updateAxis("y",K.point,D),this.visualElement.render(),N)C.update(()=>N(G,K),!1,!0)},H=(G,K)=>{this.latestPointerEvent=G,this.latestPanInfo=K,this.stop(G,K),this.latestPointerEvent=null,this.latestPanInfo=null},W=()=>{let{dragSnapToOrigin:G}=this.getProps();if(G||this.constraints)this.startAnimation({x:0,y:0})},{dragSnapToOrigin:z}=this.getProps();this.panSession=new L8(Q,{onSessionStart:X,onStart:q,onMove:$,onSessionEnd:H,resumeAnimation:W},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:z,distanceThreshold:Z,contextWindow:X7(this.visualElement),element:this.visualElement.current})}stop(Q,J){let Z=Q||this.latestPointerEvent,Y=J||this.latestPanInfo,X=this.isDragging;if(this.cancel(),!X||!Y||!Z)return;let{velocity:q}=Y;this.startAnimation(q);let{onDragEnd:$}=this.getProps();if($)C.postRender(()=>$(Z,Y))}cancel(){this.isDragging=!1;let{projection:Q,animationState:J}=this.visualElement;if(Q)Q.isAnimationBlocked=!1;this.endPanSession();let{dragPropagation:Z}=this.getProps();if(!Z&&this.openDragLock)this.openDragLock(),this.openDragLock=null;J&&J.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(Q,J,Z){let{drag:Y}=this.getProps();if(!Z||!q7(Q,Y,this.currentDirection))return;let X=this.getAxisMotionValue(Q),q=this.originPoint[Q]+Z[Q];if(this.constraints&&this.constraints[Q])q=LY(q,this.constraints[Q],this.elastic[Q]);X.set(q)}resolveConstraints(){let{dragConstraints:Q,dragElastic:J}=this.getProps(),Z=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,Y=this.constraints;if(Q&&N5(Q)){if(!this.constraints)this.constraints=this.resolveRefConstraints()}else if(Q&&Z)this.constraints=MY(Z.layoutBox,Q);else this.constraints=!1;if(this.elastic=jY(J),Y!==this.constraints&&!N5(Q)&&Z&&this.constraints&&!this.hasMutatedConstraints)N0((X)=>{if(this.constraints!==!1&&this.getAxisMotionValue(X))this.constraints[X]=SY(Z.layoutBox[X],this.constraints[X])})}resolveRefConstraints(){let{dragConstraints:Q,onMeasureDragConstraints:J}=this.getProps();if(!Q||!N5(Q))return!1;let Z=Q.current;U0(Z!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:Y}=this.visualElement;if(!Y||!Y.layout)return!1;let X=P4(Z,Y.root,this.visualElement.getTransformPagePoint()),q=EY(Y.layout.layoutBox,X);if(J){let $=J(A4(q));if(this.hasMutatedConstraints=!!$,$)q=U8($)}return q}startAnimation(Q){let{drag:J,dragMomentum:Z,dragElastic:Y,dragTransition:X,dragSnapToOrigin:q,onDragTransitionEnd:$}=this.getProps(),H=this.constraints||{},W=N0((z)=>{if(!q7(z,J,this.currentDirection))return;let G=H&&H[z]||{};if(q)G={min:0,max:0};let K=Y?200:1e6,B=Y?40:1e7,O={type:"inertia",velocity:Z?Q[z]:0,bounceStiffness:K,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...X,...G};return this.startAxisValueAnimation(z,O)});return Promise.all(W).then($)}startAxisValueAnimation(Q,J){let Z=this.getAxisMotionValue(Q);return B1(this.visualElement,Q),Z.start(x5(Q,Z,0,J,this.visualElement,!1))}stopAnimation(){N0((Q)=>this.getAxisMotionValue(Q).stop())}getAxisMotionValue(Q){let J=`_drag${Q.toUpperCase()}`,Z=this.visualElement.getProps(),Y=Z[J];return Y?Y:this.visualElement.getValue(Q,(Z.initial?Z.initial[Q]:void 0)||0)}snapToCursor(Q){N0((J)=>{let{drag:Z}=this.getProps();if(!q7(J,Z,this.currentDirection))return;let{projection:Y}=this.visualElement,X=this.getAxisMotionValue(J);if(Y&&Y.layout){let{min:q,max:$}=Y.layout.layoutBox[J],H=X.get()||0;X.set(Q[J]-y(q,$,0.5)+H)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:Q,dragConstraints:J}=this.getProps(),{projection:Z}=this.visualElement;if(!N5(J)||!Z||!this.constraints)return;this.stopAnimation();let Y={x:0,y:0};N0((q)=>{let $=this.getAxisMotionValue(q);if($&&this.constraints!==!1){let H=$.get();Y[q]=PY({min:H,max:H},this.constraints[q])}});let{transformTemplate:X}=this.visualElement.getProps();this.visualElement.current.style.transform=X?X({},""):"none",Z.root&&Z.root.updateScroll(),Z.updateLayout(),this.constraints=!1,this.resolveConstraints(),N0((q)=>{if(!q7(q,Q,null))return;let $=this.getAxisMotionValue(q),{min:H,max:W}=this.constraints[q];$.set(y(H,W,Y[q]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;cG.set(this.visualElement,this);let Q=this.visualElement.current,J=V5(Q,"pointerdown",(W)=>{let{drag:z,dragListener:G=!0}=this.getProps(),K=W.target,B=K!==Q&&U4(K);if(z&&G&&!B)this.start(W)}),Z,Y=()=>{let{dragConstraints:W}=this.getProps();if(N5(W)&&W.current){if(this.constraints=this.resolveRefConstraints(),!Z)Z=pG(Q,W.current,()=>this.scalePositionWithinConstraints())}},{projection:X}=this.visualElement,q=X.addEventListener("measure",Y);if(X&&!X.layout)X.root&&X.root.updateScroll(),X.updateLayout();C.read(Y);let $=c0(window,"resize",()=>this.scalePositionWithinConstraints()),H=X.addEventListener("didUpdate",({delta:W,hasLayoutChanged:z})=>{if(this.isDragging&&z)N0((G)=>{let K=this.getAxisMotionValue(G);if(!K)return;this.originPoint[G]+=W[G].translate,K.set(K.get()+W[G].translate)}),this.visualElement.render()});return()=>{$(),J(),q(),H&&H(),Z&&Z()}}getProps(){let Q=this.visualElement.getProps(),{drag:J=!1,dragDirectionLock:Z=!1,dragPropagation:Y=!1,dragConstraints:X=!1,dragElastic:q=$7,dragMomentum:$=!0}=Q;return{...Q,drag:J,dragDirectionLock:Z,dragPropagation:Y,dragConstraints:X,dragElastic:q,dragMomentum:$}}}function kY(Q){let J=!0;return()=>{if(J){J=!1;return}Q()}}function pG(Q,J,Z){let Y=y6(Q,kY(Z)),X=y6(J,kY(Z));return()=>{Y(),X()}}function q7(Q,J,Z){return(J===!0||J===Q)&&(Z===null||Z===Q)}function mG(Q,J=10){let Z=null;if(Math.abs(Q.y)>J)Z="y";else if(Math.abs(Q.x)>J)Z="x";return Z}class e4 extends H0{constructor(Q){super(Q);this.removeGroupControls=i,this.removeListeners=i,this.controls=new t4(Q)}mount(){let{dragControls:Q}=this.node.getProps();if(Q)this.removeGroupControls=Q.subscribe(this.controls);this.removeListeners=this.controls.addListeners()||i}update(){let{dragControls:Q}=this.node.getProps(),{dragControls:J}=this.node.prevProps||{};if(Q!==J){if(this.removeGroupControls(),Q)this.removeGroupControls=Q.subscribe(this.controls)}}unmount(){if(this.removeGroupControls(),this.removeListeners(),!this.controls.isDragging)this.controls.endPanSession()}}var Q9=(Q)=>(J,Z)=>{if(Q)C.update(()=>Q(J,Z),!1,!0)};class J9 extends H0{constructor(){super(...arguments);this.removePointerDownListener=i}onPointerDown(Q){this.session=new L8(Q,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:X7(this.node)})}createPanHandlers(){let{onPanSessionStart:Q,onPanStart:J,onPan:Z,onPanEnd:Y}=this.node.getProps();return{onSessionStart:Q9(Q),onStart:Q9(J),onMove:Q9(Z),onEnd:(X,q)=>{if(delete this.session,Y)C.postRender(()=>Y(X,q))}}}mount(){this.removePointerDownListener=V5(this.node.current,"pointerdown",(Q)=>this.onPointerDown(Q))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var bY=b(M0(),1);var M8=b(h(),1);var _5=b(h(),1);function H7(Q=!0){let J=_5.useContext(w5);if(J===null)return[!0,null];let{isPresent:Z,onExitComplete:Y,register:X}=J,q=_5.useId();_5.useEffect(()=>{if(Q)return X(q)},[Q]);let $=_5.useCallback(()=>Q&&Y&&Y(q),[q,Y,Q]);return!Z&&Y?[!1,$]:[!0]}var Z9=!1;class hY extends M8.Component{componentDidMount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z,layoutId:Y}=this.props,{projection:X}=Q;if(X){if(J.group)J.group.add(X);if(Z&&Z.register&&Y)Z.register(X);if(Z9)X.root.didUpdate();X.addEventListener("animationComplete",()=>{this.safeToRemove()}),X.setOptions({...X.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})}r5.hasEverUpdated=!0}getSnapshotBeforeUpdate(Q){let{layoutDependency:J,visualElement:Z,drag:Y,isPresent:X}=this.props,{projection:q}=Z;if(!q)return null;if(q.isPresent=X,Q.layoutDependency!==J)q.setOptions({...q.options,layoutDependency:J});if(Z9=!0,Y||Q.layoutDependency!==J||J===void 0||Q.isPresent!==X)q.willUpdate();else this.safeToRemove();if(Q.isPresent!==X){if(X)q.promote();else if(!q.relegate())C.postRender(()=>{let $=q.getStack();if(!$||!$.members.length)this.safeToRemove()})}return null}componentDidUpdate(){let{projection:Q}=this.props.visualElement;if(Q)Q.root.didUpdate(),v5.postRender(()=>{if(!Q.currentAnimation&&Q.isLead())this.safeToRemove()})}componentWillUnmount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z}=this.props,{projection:Y}=Q;if(Z9=!0,Y){if(Y.scheduleCheckAfterUnmount(),J&&J.group)J.group.remove(Y);if(Z&&Z.deregister)Z.deregister(Y)}}safeToRemove(){let{safeToRemove:Q}=this.props;Q&&Q()}render(){return null}}function W7(Q){let[J,Z]=H7(),Y=M8.useContext(e0);return bY.jsx(hY,{...Q,layoutGroup:Y,switchLayoutGroup:M8.useContext(Q7),isPresent:J,safeToRemove:Z})}var RY={pan:{Feature:J9},drag:{Feature:e4,ProjectionNode:I8,MeasureLayout:W7}};function CY(Q,J,Z){let{props:Y}=Q;if(Q.animationState&&Y.whileHover)Q.animationState.setActive("whileHover",Z==="Start");let X="onHover"+Z,q=Y[X];if(q)C.postRender(()=>q(J,Q5(J)))}class Y9 extends H0{mount(){let{current:Q}=this.node;if(!Q)return;this.unmount=B4(Q,(J,Z)=>{return CY(this.node,Z,"Start"),(Y)=>CY(this.node,Y,"End")})}unmount(){}}class X9 extends H0{constructor(){super(...arguments);this.isActive=!1}onFocus(){let Q=!1;try{Q=this.node.current.matches(":focus-visible")}catch(J){Q=!0}if(!Q||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!0),this.isActive=!0}onBlur(){if(!this.isActive||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!1),this.isActive=!1}mount(){this.unmount=P0(c0(this.node.current,"focus",()=>this.onFocus()),c0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function xY(Q,J,Z){let{props:Y}=Q;if(Q.current instanceof HTMLButtonElement&&Q.current.disabled)return;if(Q.animationState&&Y.whileTap)Q.animationState.setActive("whileTap",Z==="Start");let X="onTap"+(Z==="End"?"":Z),q=Y[X];if(q)C.postRender(()=>q(J,Q5(J)))}class $9 extends H0{mount(){let{current:Q}=this.node;if(!Q)return;let{globalTapTarget:J,propagate:Z}=this.node.props;this.unmount=w4(Q,(Y,X)=>{return xY(this.node,X,"Start"),(q,{success:$})=>xY(this.node,q,$?"End":"Cancel")},{useGlobalTarget:J,stopPropagation:Z?.tap===!1})}unmount(){}}var H9=new WeakMap,q9=new WeakMap,lG=(Q)=>{let J=H9.get(Q.target);J&&J(Q)},rG=(Q)=>{Q.forEach(lG)};function iG({root:Q,...J}){let Z=Q||document;if(!q9.has(Z))q9.set(Z,{});let Y=q9.get(Z),X=JSON.stringify(J);if(!Y[X])Y[X]=new IntersectionObserver(rG,{root:Q,...J});return Y[X]}function yY(Q,J,Z){let Y=iG(J);return H9.set(Q,Z),Y.observe(Q),()=>{H9.delete(Q),Y.unobserve(Q)}}var sG={some:0,all:1};class W9 extends H0{constructor(){super(...arguments);this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:Q={}}=this.node.getProps(),{root:J,margin:Z,amount:Y="some",once:X}=Q,q={root:J?J.current:void 0,rootMargin:Z,threshold:typeof Y==="number"?Y:sG[Y]},$=(H)=>{let{isIntersecting:W}=H;if(this.isInView===W)return;if(this.isInView=W,X&&!W&&this.hasEnteredView)return;else if(W)this.hasEnteredView=!0;if(this.node.animationState)this.node.animationState.setActive("whileInView",W);let{onViewportEnter:z,onViewportLeave:G}=this.node.getProps(),K=W?z:G;K&&K(H)};return yY(this.node.current,q,$)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:Q,prevProps:J}=this.node;if(["amount","margin","root"].some(oG(Q,J)))this.startObserver()}unmount(){}}function oG({viewport:Q={}},{viewport:J={}}={}){return(Z)=>Q[Z]!==J[Z]}var vY={inView:{Feature:W9},tap:{Feature:$9},focus:{Feature:X9},hover:{Feature:Y9}};var fY={layout:{ProjectionNode:I8,MeasureLayout:W7}};var gY={...FY,...vY,...RY,...fY};var uY=BY(gY,fZ);var S8=b(M0(),1),k0=b(h(),1);var z9=b(M0(),1),iY=b(h(),1),E8=b(h(),1);var mY=b(M0(),1);var z7=b(h(),1),J5=b(h(),1);var cY=b(h(),1);function dY(Q,J){if(typeof Q==="function")return Q(J);else if(Q!==null&&Q!==void 0)Q.current=J}function nG(...Q){return(J)=>{let Z=!1,Y=Q.map((X)=>{let q=dY(X,J);if(!Z&&typeof q==="function")Z=!0;return q});if(Z)return()=>{for(let X=0;X<Y.length;X++){let q=Y[X];if(typeof q==="function")q();else dY(Q[X],null)}}}}function pY(...Q){return cY.useCallback(nG(...Q),Q)}class lY extends z7.Component{getSnapshotBeforeUpdate(Q){let J=this.props.childRef.current;if(J&&Q.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let Z=J.offsetParent,Y=U1(Z)?Z.offsetWidth||0:0,X=U1(Z)?Z.offsetHeight||0:0,q=this.props.sizeRef.current;q.height=J.offsetHeight||0,q.width=J.offsetWidth||0,q.top=J.offsetTop,q.left=J.offsetLeft,q.right=Y-q.width-q.left,q.bottom=X-q.height-q.top}return null}componentDidUpdate(){}render(){return this.props.children}}function rY({children:Q,isPresent:J,anchorX:Z,anchorY:Y,root:X,pop:q}){let $=J5.useId(),H=J5.useRef(null),W=J5.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:z}=J5.useContext(I1),G=Q.props?.ref??Q?.ref,K=pY(H,G);return J5.useInsertionEffect(()=>{let{width:B,height:O,top:U,left:N,right:D,bottom:V}=W.current;if(J||q===!1||!H.current||!B||!O)return;let I=Z==="left"?`left: ${N}`:`right: ${D}`,_=Y==="bottom"?`bottom: ${V}`:`top: ${U}`;H.current.dataset.motionPopId=$;let w=document.createElement("style");if(z)w.nonce=z;let T=X??document.head;if(T.appendChild(w),w.sheet)w.sheet.insertRule(`
|
|
2
|
+
[data-motion-pop-id="${$}"] {
|
|
3
|
+
position: absolute !important;
|
|
4
|
+
width: ${B}px !important;
|
|
5
|
+
height: ${O}px !important;
|
|
6
|
+
${I}px !important;
|
|
7
|
+
${_}px !important;
|
|
8
|
+
}
|
|
9
|
+
`);return()=>{if(T.contains(w))T.removeChild(w)}},[J]),mY.jsx(lY,{isPresent:J,childRef:H,sizeRef:W,pop:q,children:q===!1?Q:z7.cloneElement(Q,{ref:K})})}var sY=({children:Q,initial:J,isPresent:Z,onExitComplete:Y,custom:X,presenceAffectsLayout:q,mode:$,anchorX:H,anchorY:W,root:z})=>{let G=M1(aG),K=E8.useId(),B=!0,O=E8.useMemo(()=>{return B=!1,{id:K,initial:J,isPresent:Z,custom:X,onExitComplete:(U)=>{G.set(U,!0);for(let N of G.values())if(!N)return;Y&&Y()},register:(U)=>{return G.set(U,!1),()=>G.delete(U)}}},[Z,G,Y]);if(q&&B)O={...O};return E8.useMemo(()=>{G.forEach((U,N)=>G.set(N,!1))},[Z]),iY.useEffect(()=>{!Z&&!G.size&&Y&&Y()},[Z]),Q=z9.jsx(rY,{pop:$==="popLayout",isPresent:Z,anchorX:H,anchorY:W,root:z,children:Q}),z9.jsx(w5.Provider,{value:O,children:Q})};function aG(){return new Map}var G7=b(h(),1),P8=(Q)=>Q.key||"";function G9(Q){let J=[];return G7.Children.forEach(Q,(Z)=>{if(G7.isValidElement(Z))J.push(Z)}),J}var tG=({children:Q,custom:J,initial:Z=!0,onExitComplete:Y,presenceAffectsLayout:X=!0,mode:q="sync",propagate:$=!1,anchorX:H="left",anchorY:W="top",root:z})=>{let[G,K]=H7($),B=k0.useMemo(()=>G9(Q),[Q]),O=$&&!G?[]:B.map(P8),U=k0.useRef(!0),N=k0.useRef(B),D=M1(()=>new Map),V=k0.useRef(new Set),[I,_]=k0.useState(B),[w,T]=k0.useState(B);E1(()=>{U.current=!1,N.current=B;for(let A=0;A<w.length;A++){let j=P8(w[A]);if(!O.includes(j)){if(D.get(j)!==!0)D.set(j,!1)}else D.delete(j),V.current.delete(j)}},[w,O.length,O.join("-")]);let L=[];if(B!==I){let A=[...B];for(let j=0;j<w.length;j++){let v=w[j],o=P8(v);if(!O.includes(o))A.splice(j,0,v),L.push(v)}if(q==="wait"&&L.length)A=L;return T(G9(A)),_(B),null}let{forceRender:k}=k0.useContext(e0);return S8.jsx(S8.Fragment,{children:w.map((A)=>{let j=P8(A),v=$&&!G?!1:B===w||O.includes(j),o=()=>{if(V.current.has(j))return;if(V.current.add(j),D.has(j))D.set(j,!0);else return;let u=!0;if(D.forEach((n)=>{if(!n)u=!1}),u)k?.(),T(N.current),$&&K?.(),Y&&Y()};return S8.jsx(sY,{isPresent:v,initial:!U.current||Z?void 0:!1,custom:J,presenceAffectsLayout:X,mode:q,root:z,onExitComplete:v?void 0:o,anchorX:H,anchorY:W,children:A},j)})})};var Q2=b(M0(),1),o5=b(h(),1);var oY=b(h(),1),nY=oY.createContext(null);var j8=b(h(),1);var aY=b(h(),1);function tY(){let Q=aY.useRef(!1);return E1(()=>{return Q.current=!0,()=>{Q.current=!1}},[]),Q}function eY(){let Q=tY(),[J,Z]=j8.useState(0),Y=j8.useCallback(()=>{Q.current&&Z(J+1)},[J]);return[j8.useCallback(()=>C.postRender(Y),[Y]),J]}var J2=(Q)=>Q===!0,eG=(Q)=>J2(Q===!0)||Q==="id",QK=({children:Q,id:J,inherit:Z=!0})=>{let Y=o5.useContext(e0),X=o5.useContext(nY),[q,$]=eY(),H=o5.useRef(null),W=Y.id||X;if(H.current===null){if(eG(Z)&&W)J=J?W+"-"+J:W;H.current={id:J,group:J2(Z)?Y.group||i6():i6()}}let z=o5.useMemo(()=>({...H.current,forceRender:q}),[$]);return Q2.jsx(e0.Provider,{value:z,children:Q})};var Z2=b(h(),1);function JK(){!g5.current&&B8();let[Q]=Z2.useState(O5.current);return Q}var H2=["top","right","bottom","left"];var{min:p0,max:F0,round:b8,floor:h8}=Math,b0=(Q)=>({x:Q,y:Q}),ZK={left:"right",right:"left",bottom:"top",top:"bottom"};function B7(Q,J,Z){return F0(Q,p0(J,Z))}function m0(Q,J){return typeof Q==="function"?Q(J):Q}function l0(Q){return Q.split("-")[0]}function n5(Q){return Q.split("-")[1]}function F7(Q){return Q==="x"?"y":"x"}function O7(Q){return Q==="y"?"height":"width"}function h0(Q){let J=Q[0];return J==="t"||J==="b"?"y":"x"}function U7(Q){return F7(h0(Q))}function W2(Q,J,Z){if(Z===void 0)Z=!1;let Y=n5(Q),X=U7(Q),q=O7(X),$=X==="x"?Y===(Z?"end":"start")?"right":"left":Y==="start"?"bottom":"top";if(J.reference[q]>J.floating[q])$=k8($);return[$,k8($)]}function z2(Q){let J=k8(Q);return[K7(Q),J,K7(J)]}function K7(Q){return Q.includes("start")?Q.replace("start","end"):Q.replace("end","start")}var $2=["left","right"],q2=["right","left"],YK=["top","bottom"],XK=["bottom","top"];function $K(Q,J,Z){switch(Q){case"top":case"bottom":if(Z)return J?q2:$2;return J?$2:q2;case"left":case"right":return J?YK:XK;default:return[]}}function G2(Q,J,Z,Y){let X=n5(Q),q=$K(l0(Q),Z==="start",Y);if(X){if(q=q.map(($)=>$+"-"+X),J)q=q.concat(q.map(K7))}return q}function k8(Q){let J=l0(Q);return ZK[J]+Q.slice(J.length)}function qK(Q){return{top:0,right:0,bottom:0,left:0,...Q}}function K9(Q){return typeof Q!=="number"?qK(Q):{top:Q,right:Q,bottom:Q,left:Q}}function a5(Q){let{x:J,y:Z,width:Y,height:X}=Q;return{width:Y,height:X,top:Z,left:J,right:J+Y,bottom:Z+X,x:J,y:Z}}function K2(Q,J,Z){let{reference:Y,floating:X}=Q,q=h0(J),$=U7(J),H=O7($),W=l0(J),z=q==="y",G=Y.x+Y.width/2-X.width/2,K=Y.y+Y.height/2-X.height/2,B=Y[H]/2-X[H]/2,O;switch(W){case"top":O={x:G,y:Y.y-X.height};break;case"bottom":O={x:G,y:Y.y+Y.height};break;case"right":O={x:Y.x+Y.width,y:K};break;case"left":O={x:Y.x-X.width,y:K};break;default:O={x:Y.x,y:Y.y}}switch(n5(J)){case"start":O[$]-=B*(Z&&z?-1:1);break;case"end":O[$]+=B*(Z&&z?-1:1);break}return O}async function O2(Q,J){var Z;if(J===void 0)J={};let{x:Y,y:X,platform:q,rects:$,elements:H,strategy:W}=Q,{boundary:z="clippingAncestors",rootBoundary:G="viewport",elementContext:K="floating",altBoundary:B=!1,padding:O=0}=m0(J,Q),U=K9(O),D=H[B?K==="floating"?"reference":"floating":K],V=a5(await q.getClippingRect({element:((Z=await(q.isElement==null?void 0:q.isElement(D)))!=null?Z:!0)?D:D.contextElement||await(q.getDocumentElement==null?void 0:q.getDocumentElement(H.floating)),boundary:z,rootBoundary:G,strategy:W})),I=K==="floating"?{x:Y,y:X,width:$.floating.width,height:$.floating.height}:$.reference,_=await(q.getOffsetParent==null?void 0:q.getOffsetParent(H.floating)),w=await(q.isElement==null?void 0:q.isElement(_))?await(q.getScale==null?void 0:q.getScale(_))||{x:1,y:1}:{x:1,y:1},T=a5(q.convertOffsetParentRelativeRectToViewportRelativeRect?await q.convertOffsetParentRelativeRectToViewportRelativeRect({elements:H,rect:I,offsetParent:_,strategy:W}):I);return{top:(V.top-T.top+U.top)/w.y,bottom:(T.bottom-V.bottom+U.bottom)/w.y,left:(V.left-T.left+U.left)/w.x,right:(T.right-V.right+U.right)/w.x}}var HK=50,U2=async(Q,J,Z)=>{let{placement:Y="bottom",strategy:X="absolute",middleware:q=[],platform:$}=Z,H=$.detectOverflow?$:{...$,detectOverflow:O2},W=await($.isRTL==null?void 0:$.isRTL(J)),z=await $.getElementRects({reference:Q,floating:J,strategy:X}),{x:G,y:K}=K2(z,Y,W),B=Y,O=0,U={};for(let N=0;N<q.length;N++){let D=q[N];if(!D)continue;let{name:V,fn:I}=D,{x:_,y:w,data:T,reset:L}=await I({x:G,y:K,initialPlacement:Y,placement:B,strategy:X,middlewareData:U,rects:z,platform:H,elements:{reference:Q,floating:J}});if(G=_!=null?_:G,K=w!=null?w:K,U[V]={...U[V],...T},L&&O<HK){if(O++,typeof L==="object"){if(L.placement)B=L.placement;if(L.rects)z=L.rects===!0?await $.getElementRects({reference:Q,floating:J,strategy:X}):L.rects;({x:G,y:K}=K2(z,B,W))}N=-1}}return{x:G,y:K,placement:B,strategy:X,middlewareData:U}},D2=(Q)=>({name:"arrow",options:Q,async fn(J){let{x:Z,y:Y,placement:X,rects:q,platform:$,elements:H,middlewareData:W}=J,{element:z,padding:G=0}=m0(Q,J)||{};if(z==null)return{};let K=K9(G),B={x:Z,y:Y},O=U7(X),U=O7(O),N=await $.getDimensions(z),D=O==="y",V=D?"top":"left",I=D?"bottom":"right",_=D?"clientHeight":"clientWidth",w=q.reference[U]+q.reference[O]-B[O]-q.floating[U],T=B[O]-q.reference[O],L=await($.getOffsetParent==null?void 0:$.getOffsetParent(z)),k=L?L[_]:0;if(!k||!await($.isElement==null?void 0:$.isElement(L)))k=H.floating[_]||q.floating[U];let A=w/2-T/2,j=k/2-N[U]/2-1,v=p0(K[V],j),o=p0(K[I],j),u=v,n=k-N[U]-o,c=k/2-N[U]/2+A,t=B7(u,c,n),f=!W.arrow&&n5(X)!=null&&c!==t&&q.reference[U]/2-(c<u?v:o)-N[U]/2<0,r=f?c<u?c-u:c-n:0;return{[O]:B[O]+r,data:{[O]:t,centerOffset:c-t-r,...f&&{alignmentOffset:r}},reset:f}}});var w2=function(Q){if(Q===void 0)Q={};return{name:"flip",options:Q,async fn(J){var Z,Y;let{placement:X,middlewareData:q,rects:$,initialPlacement:H,platform:W,elements:z}=J,{mainAxis:G=!0,crossAxis:K=!0,fallbackPlacements:B,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:U="none",flipAlignment:N=!0,...D}=m0(Q,J);if((Z=q.arrow)!=null&&Z.alignmentOffset)return{};let V=l0(X),I=h0(H),_=l0(H)===H,w=await(W.isRTL==null?void 0:W.isRTL(z.floating)),T=B||(_||!N?[k8(H)]:z2(H)),L=U!=="none";if(!B&&L)T.push(...G2(H,N,U,w));let k=[H,...T],A=await W.detectOverflow(J,D),j=[],v=((Y=q.flip)==null?void 0:Y.overflows)||[];if(G)j.push(A[V]);if(K){let c=W2(X,$,w);j.push(A[c[0]],A[c[1]])}if(v=[...v,{placement:X,overflows:j}],!j.every((c)=>c<=0)){var o,u;let c=(((o=q.flip)==null?void 0:o.index)||0)+1,t=k[c];if(t){if(!(K==="alignment"?I!==h0(t):!1)||v.every((R)=>h0(R.placement)===I?R.overflows[0]>0:!0))return{data:{index:c,overflows:v},reset:{placement:t}}}let f=(u=v.filter((r)=>r.overflows[0]<=0).sort((r,R)=>r.overflows[1]-R.overflows[1])[0])==null?void 0:u.placement;if(!f)switch(O){case"bestFit":{var n;let r=(n=v.filter((R)=>{if(L){let g=h0(R.placement);return g===I||g==="y"}return!0}).map((R)=>[R.placement,R.overflows.filter((g)=>g>0).reduce((g,E)=>g+E,0)]).sort((R,g)=>R[1]-g[1])[0])==null?void 0:n[0];if(r)f=r;break}case"initialPlacement":f=H;break}if(X!==f)return{reset:{placement:f}}}return{}}}};function B2(Q,J){return{top:Q.top-J.height,right:Q.right-J.width,bottom:Q.bottom-J.height,left:Q.left-J.width}}function F2(Q){return H2.some((J)=>Q[J]>=0)}var N2=function(Q){if(Q===void 0)Q={};return{name:"hide",options:Q,async fn(J){let{rects:Z,platform:Y}=J,{strategy:X="referenceHidden",...q}=m0(Q,J);switch(X){case"referenceHidden":{let $=await Y.detectOverflow(J,{...q,elementContext:"reference"}),H=B2($,Z.reference);return{data:{referenceHiddenOffsets:H,referenceHidden:F2(H)}}}case"escaped":{let $=await Y.detectOverflow(J,{...q,altBoundary:!0}),H=B2($,Z.floating);return{data:{escapedOffsets:H,escaped:F2(H)}}}default:return{}}}}};var V2=new Set(["left","top"]);async function WK(Q,J){let{placement:Z,platform:Y,elements:X}=Q,q=await(Y.isRTL==null?void 0:Y.isRTL(X.floating)),$=l0(Z),H=n5(Z),W=h0(Z)==="y",z=V2.has($)?-1:1,G=q&&W?-1:1,K=m0(J,Q),{mainAxis:B,crossAxis:O,alignmentAxis:U}=typeof K==="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};if(H&&typeof U==="number")O=H==="end"?U*-1:U;return W?{x:O*G,y:B*z}:{x:B*z,y:O*G}}var _2=function(Q){if(Q===void 0)Q=0;return{name:"offset",options:Q,async fn(J){var Z,Y;let{x:X,y:q,placement:$,middlewareData:H}=J,W=await WK(J,Q);if($===((Z=H.offset)==null?void 0:Z.placement)&&(Y=H.arrow)!=null&&Y.alignmentOffset)return{};return{x:X+W.x,y:q+W.y,data:{...W,placement:$}}}}},A2=function(Q){if(Q===void 0)Q={};return{name:"shift",options:Q,async fn(J){let{x:Z,y:Y,placement:X,platform:q}=J,{mainAxis:$=!0,crossAxis:H=!1,limiter:W={fn:(V)=>{let{x:I,y:_}=V;return{x:I,y:_}}},...z}=m0(Q,J),G={x:Z,y:Y},K=await q.detectOverflow(J,z),B=h0(l0(X)),O=F7(B),U=G[O],N=G[B];if($){let V=O==="y"?"top":"left",I=O==="y"?"bottom":"right",_=U+K[V],w=U-K[I];U=B7(_,U,w)}if(H){let V=B==="y"?"top":"left",I=B==="y"?"bottom":"right",_=N+K[V],w=N-K[I];N=B7(_,N,w)}let D=W.fn({...J,[O]:U,[B]:N});return{...D,data:{x:D.x-Z,y:D.y-Y,enabled:{[O]:$,[B]:H}}}}}},I2=function(Q){if(Q===void 0)Q={};return{options:Q,fn(J){let{x:Z,y:Y,placement:X,rects:q,middlewareData:$}=J,{offset:H=0,mainAxis:W=!0,crossAxis:z=!0}=m0(Q,J),G={x:Z,y:Y},K=h0(X),B=F7(K),O=G[B],U=G[K],N=m0(H,J),D=typeof N==="number"?{mainAxis:N,crossAxis:0}:{mainAxis:0,crossAxis:0,...N};if(W){let _=B==="y"?"height":"width",w=q.reference[B]-q.floating[_]+D.mainAxis,T=q.reference[B]+q.reference[_]-D.mainAxis;if(O<w)O=w;else if(O>T)O=T}if(z){var V,I;let _=B==="y"?"width":"height",w=V2.has(l0(X)),T=q.reference[K]-q.floating[_]+(w?((V=$.offset)==null?void 0:V[K])||0:0)+(w?0:D.crossAxis),L=q.reference[K]+q.reference[_]+(w?0:((I=$.offset)==null?void 0:I[K])||0)-(w?D.crossAxis:0);if(U<T)U=T;else if(U>L)U=L}return{[B]:O,[K]:U}}}},T2=function(Q){if(Q===void 0)Q={};return{name:"size",options:Q,async fn(J){var Z,Y;let{placement:X,rects:q,platform:$,elements:H}=J,{apply:W=()=>{},...z}=m0(Q,J),G=await $.detectOverflow(J,z),K=l0(X),B=n5(X),O=h0(X)==="y",{width:U,height:N}=q.floating,D,V;if(K==="top"||K==="bottom")D=K,V=B===(await($.isRTL==null?void 0:$.isRTL(H.floating))?"start":"end")?"left":"right";else V=K,D=B==="end"?"top":"bottom";let I=N-G.top-G.bottom,_=U-G.left-G.right,w=p0(N-G[D],I),T=p0(U-G[V],_),L=!J.middlewareData.shift,k=w,A=T;if((Z=J.middlewareData.shift)!=null&&Z.enabled.x)A=_;if((Y=J.middlewareData.shift)!=null&&Y.enabled.y)k=I;if(L&&!B){let v=F0(G.left,0),o=F0(G.right,0),u=F0(G.top,0),n=F0(G.bottom,0);if(O)A=U-2*(v!==0||o!==0?v+o:F0(G.left,G.right));else k=N-2*(u!==0||n!==0?u+n:F0(G.top,G.bottom))}await W({...J,availableWidth:A,availableHeight:k});let j=await $.getDimensions(H.floating);if(U!==j.width||N!==j.height)return{reset:{rects:!0}};return{}}}};function P2(Q){let J=A0(Q),Z=parseFloat(J.width)||0,Y=parseFloat(J.height)||0,X=_0(Q),q=X?Q.offsetWidth:Z,$=X?Q.offsetHeight:Y,H=b8(Z)!==q||b8(Y)!==$;if(H)Z=q,Y=$;return{width:Z,height:Y,$:H}}function F9(Q){return!V0(Q)?Q.contextElement:Q}function S1(Q){let J=F9(Q);if(!_0(J))return b0(1);let Z=J.getBoundingClientRect(),{width:Y,height:X,$:q}=P2(J),$=(q?b8(Z.width):Z.width)/Y,H=(q?b8(Z.height):Z.height)/X;if(!$||!Number.isFinite($))$=1;if(!H||!Number.isFinite(H))H=1;return{x:$,y:H}}var zK=b0(0);function S2(Q){let J=O0(Q);if(!r8()||!J.visualViewport)return zK;return{x:J.visualViewport.offsetLeft,y:J.visualViewport.offsetTop}}function GK(Q,J,Z){if(J===void 0)J=!1;if(!Z||J&&Z!==O0(Q))return!1;return J}function t5(Q,J,Z,Y){if(J===void 0)J=!1;if(Z===void 0)Z=!1;let X=Q.getBoundingClientRect(),q=F9(Q),$=b0(1);if(J)if(Y){if(V0(Y))$=S1(Y)}else $=S1(Q);let H=GK(q,Z,Y)?S2(q):b0(0),W=(X.left+H.x)/$.x,z=(X.top+H.y)/$.y,G=X.width/$.x,K=X.height/$.y;if(q){let B=O0(q),O=Y&&V0(Y)?O0(Y):Y,U=B,N=i8(U);while(N&&Y&&O!==U){let D=S1(N),V=N.getBoundingClientRect(),I=A0(N),_=V.left+(N.clientLeft+parseFloat(I.paddingLeft))*D.x,w=V.top+(N.clientTop+parseFloat(I.paddingTop))*D.y;W*=D.x,z*=D.y,G*=D.x,K*=D.y,W+=_,z+=w,U=O0(N),N=i8(U)}}return a5({width:G,height:K,x:W,y:z})}function D7(Q,J){let Z=R1(Q).scrollLeft;if(!J)return t5(E0(Q)).left+Z;return J.left+Z}function j2(Q,J){let Z=Q.getBoundingClientRect(),Y=Z.left+J.scrollLeft-D7(Q,Z),X=Z.top+J.scrollTop;return{x:Y,y:X}}function KK(Q){let{elements:J,rect:Z,offsetParent:Y,strategy:X}=Q,q=X==="fixed",$=E0(Y),H=J?h1(J.floating):!1;if(Y===$||H&&q)return Z;let W={scrollLeft:0,scrollTop:0},z=b0(1),G=b0(0),K=_0(Y);if(K||!K&&!q){if(L5(Y)!=="body"||Q1($))W=R1(Y);if(K){let O=t5(Y);z=S1(Y),G.x=O.x+Y.clientLeft,G.y=O.y+Y.clientTop}}let B=$&&!K&&!q?j2($,W):b0(0);return{width:Z.width*z.x,height:Z.height*z.y,x:Z.x*z.x-W.scrollLeft*z.x+G.x+B.x,y:Z.y*z.y-W.scrollTop*z.y+G.y+B.y}}function BK(Q){return Array.from(Q.getClientRects())}function FK(Q){let J=E0(Q),Z=R1(Q),Y=Q.ownerDocument.body,X=F0(J.scrollWidth,J.clientWidth,Y.scrollWidth,Y.clientWidth),q=F0(J.scrollHeight,J.clientHeight,Y.scrollHeight,Y.clientHeight),$=-Z.scrollLeft+D7(Q),H=-Z.scrollTop;if(A0(Y).direction==="rtl")$+=F0(J.clientWidth,Y.clientWidth)-X;return{width:X,height:q,x:$,y:H}}var L2=25;function OK(Q,J){let Z=O0(Q),Y=E0(Q),X=Z.visualViewport,q=Y.clientWidth,$=Y.clientHeight,H=0,W=0;if(X){q=X.width,$=X.height;let G=r8();if(!G||G&&J==="fixed")H=X.offsetLeft,W=X.offsetTop}let z=D7(Y);if(z<=0){let G=Y.ownerDocument,K=G.body,B=getComputedStyle(K),O=G.compatMode==="CSS1Compat"?parseFloat(B.marginLeft)+parseFloat(B.marginRight)||0:0,U=Math.abs(Y.clientWidth-K.clientWidth-O);if(U<=L2)q-=U}else if(z<=L2)q+=z;return{width:q,height:$,x:H,y:W}}function UK(Q,J){let Z=t5(Q,!0,J==="fixed"),Y=Z.top+Q.clientTop,X=Z.left+Q.clientLeft,q=_0(Q)?S1(Q):b0(1),$=Q.clientWidth*q.x,H=Q.clientHeight*q.y,W=X*q.x,z=Y*q.y;return{width:$,height:H,x:W,y:z}}function M2(Q,J,Z){let Y;if(J==="viewport")Y=OK(Q,Z);else if(J==="document")Y=FK(E0(Q));else if(V0(J))Y=UK(J,Z);else{let X=S2(Q);Y={x:J.x-X.x,y:J.y-X.y,width:J.width,height:J.height}}return a5(Y)}function k2(Q,J){let Z=s0(Q);if(Z===J||!V0(Z)||M5(Z))return!1;return A0(Z).position==="fixed"||k2(Z,J)}function DK(Q,J){let Z=J.get(Q);if(Z)return Z;let Y=X5(Q,[],!1).filter((H)=>V0(H)&&L5(H)!=="body"),X=null,q=A0(Q).position==="fixed",$=q?s0(Q):Q;while(V0($)&&!M5($)){let H=A0($),W=l8($);if(!W&&H.position==="fixed")X=null;if(q?!W&&!X:!W&&H.position==="static"&&!!X&&(X.position==="absolute"||X.position==="fixed")||Q1($)&&!W&&k2(Q,$))Y=Y.filter((G)=>G!==$);else X=H;$=s0($)}return J.set(Q,Y),Y}function wK(Q){let{element:J,boundary:Z,rootBoundary:Y,strategy:X}=Q,$=[...Z==="clippingAncestors"?h1(J)?[]:DK(J,this._c):[].concat(Z),Y],H=M2(J,$[0],X),W=H.top,z=H.right,G=H.bottom,K=H.left;for(let B=1;B<$.length;B++){let O=M2(J,$[B],X);W=F0(O.top,W),z=p0(O.right,z),G=p0(O.bottom,G),K=F0(O.left,K)}return{width:z-K,height:G-W,x:K,y:W}}function NK(Q){let{width:J,height:Z}=P2(Q);return{width:J,height:Z}}function VK(Q,J,Z){let Y=_0(J),X=E0(J),q=Z==="fixed",$=t5(Q,!0,q,J),H={scrollLeft:0,scrollTop:0},W=b0(0);function z(){W.x=D7(X)}if(Y||!Y&&!q){if(L5(J)!=="body"||Q1(X))H=R1(J);if(Y){let O=t5(J,!0,q,J);W.x=O.x+J.clientLeft,W.y=O.y+J.clientTop}else if(X)z()}if(q&&!Y&&X)z();let G=X&&!Y&&!q?j2(X,H):b0(0),K=$.left+H.scrollLeft-W.x-G.x,B=$.top+H.scrollTop-W.y-G.y;return{x:K,y:B,width:$.width,height:$.height}}function B9(Q){return A0(Q).position==="static"}function E2(Q,J){if(!_0(Q)||A0(Q).position==="fixed")return null;if(J)return J(Q);let Z=Q.offsetParent;if(E0(Q)===Z)Z=Z.ownerDocument.body;return Z}function b2(Q,J){let Z=O0(Q);if(h1(Q))return Z;if(!_0(Q)){let X=s0(Q);while(X&&!M5(X)){if(V0(X)&&!B9(X))return X;X=s0(X)}return Z}let Y=E2(Q,J);while(Y&&a9(Y)&&B9(Y))Y=E2(Y,J);if(Y&&M5(Y)&&B9(Y)&&!l8(Y))return Z;return Y||t9(Q)||Z}var _K=async function(Q){let J=this.getOffsetParent||b2,Z=this.getDimensions,Y=await Z(Q.floating);return{reference:VK(Q.reference,await J(Q.floating),Q.strategy),floating:{x:0,y:0,width:Y.width,height:Y.height}}};function AK(Q){return A0(Q).direction==="rtl"}var h2={convertOffsetParentRelativeRectToViewportRelativeRect:KK,getDocumentElement:E0,getClippingRect:wK,getOffsetParent:b2,getElementRects:_K,getClientRects:BK,getDimensions:NK,getScale:S1,isElement:V0,isRTL:AK};function R2(Q,J){return Q.x===J.x&&Q.y===J.y&&Q.width===J.width&&Q.height===J.height}function IK(Q,J){let Z=null,Y,X=E0(Q);function q(){var H;clearTimeout(Y),(H=Z)==null||H.disconnect(),Z=null}function $(H,W){if(H===void 0)H=!1;if(W===void 0)W=1;q();let z=Q.getBoundingClientRect(),{left:G,top:K,width:B,height:O}=z;if(!H)J();if(!B||!O)return;let U=h8(K),N=h8(X.clientWidth-(G+B)),D=h8(X.clientHeight-(K+O)),V=h8(G),_={rootMargin:-U+"px "+-N+"px "+-D+"px "+-V+"px",threshold:F0(0,p0(1,W))||1},w=!0;function T(L){let k=L[0].intersectionRatio;if(k!==W){if(!w)return $();if(!k)Y=setTimeout(()=>{$(!1,0.0000001)},1000);else $(!1,k)}if(k===1&&!R2(z,Q.getBoundingClientRect()))$();w=!1}try{Z=new IntersectionObserver(T,{..._,root:X.ownerDocument})}catch(L){Z=new IntersectionObserver(T,_)}Z.observe(Q)}return $(!0),q}function TK(Q,J,Z,Y){if(Y===void 0)Y={};let{ancestorScroll:X=!0,ancestorResize:q=!0,elementResize:$=typeof ResizeObserver==="function",layoutShift:H=typeof IntersectionObserver==="function",animationFrame:W=!1}=Y,z=F9(Q),G=X||q?[...z?X5(z):[],...J?X5(J):[]]:[];G.forEach((V)=>{X&&V.addEventListener("scroll",Z,{passive:!0}),q&&V.addEventListener("resize",Z)});let K=z&&H?IK(z,Z):null,B=-1,O=null;if($){if(O=new ResizeObserver((V)=>{let[I]=V;if(I&&I.target===z&&O&&J)O.unobserve(J),cancelAnimationFrame(B),B=requestAnimationFrame(()=>{var _;(_=O)==null||_.observe(J)});Z()}),z&&!W)O.observe(z);if(J)O.observe(J)}let U,N=W?t5(Q):null;if(W)D();function D(){let V=t5(Q);if(N&&!R2(N,V))Z();N=V,U=requestAnimationFrame(D)}return Z(),()=>{var V;if(G.forEach((I)=>{X&&I.removeEventListener("scroll",Z),q&&I.removeEventListener("resize",Z)}),K==null||K(),(V=O)==null||V.disconnect(),O=null,W)cancelAnimationFrame(U)}}var C2=_2;var x2=A2,y2=w2,v2=T2,f2=N2,O9=D2;var g2=I2,U9=(Q,J,Z)=>{let Y=new Map,X={platform:h2,...Z},q={...X.platform,_c:Y};return U2(Q,J,{...X,platform:q})};var Z0=b(h(),1),d2=b(h(),1),c2=b(X2(),1),LK=typeof document<"u",MK=function(){},w7=LK?d2.useLayoutEffect:MK;function N7(Q,J){if(Q===J)return!0;if(typeof Q!==typeof J)return!1;if(typeof Q==="function"&&Q.toString()===J.toString())return!0;let Z,Y,X;if(Q&&J&&typeof Q==="object"){if(Array.isArray(Q)){if(Z=Q.length,Z!==J.length)return!1;for(Y=Z;Y--!==0;)if(!N7(Q[Y],J[Y]))return!1;return!0}if(X=Object.keys(Q),Z=X.length,Z!==Object.keys(J).length)return!1;for(Y=Z;Y--!==0;)if(!{}.hasOwnProperty.call(J,X[Y]))return!1;for(Y=Z;Y--!==0;){let q=X[Y];if(q==="_owner"&&Q.$$typeof)continue;if(!N7(Q[q],J[q]))return!1}return!0}return Q!==Q&&J!==J}function p2(Q){if(typeof window>"u")return 1;return(Q.ownerDocument.defaultView||window).devicePixelRatio||1}function u2(Q,J){let Z=p2(Q);return Math.round(J*Z)/Z}function D9(Q){let J=Z0.useRef(Q);return w7(()=>{J.current=Q}),J}function y38(Q){if(Q===void 0)Q={};let{placement:J="bottom",strategy:Z="absolute",middleware:Y=[],platform:X,elements:{reference:q,floating:$}={},transform:H=!0,whileElementsMounted:W,open:z}=Q,[G,K]=Z0.useState({x:0,y:0,strategy:Z,placement:J,middlewareData:{},isPositioned:!1}),[B,O]=Z0.useState(Y);if(!N7(B,Y))O(Y);let[U,N]=Z0.useState(null),[D,V]=Z0.useState(null),I=Z0.useCallback((R)=>{if(R!==L.current)L.current=R,N(R)},[]),_=Z0.useCallback((R)=>{if(R!==k.current)k.current=R,V(R)},[]),w=q||U,T=$||D,L=Z0.useRef(null),k=Z0.useRef(null),A=Z0.useRef(G),j=W!=null,v=D9(W),o=D9(X),u=D9(z),n=Z0.useCallback(()=>{if(!L.current||!k.current)return;let R={placement:J,strategy:Z,middleware:B};if(o.current)R.platform=o.current;U9(L.current,k.current,R).then((g)=>{let E={...g,isPositioned:u.current!==!1};if(c.current&&!N7(A.current,E))A.current=E,c2.flushSync(()=>{K(E)})})},[B,J,Z,o,u]);w7(()=>{if(z===!1&&A.current.isPositioned)A.current.isPositioned=!1,K((R)=>({...R,isPositioned:!1}))},[z]);let c=Z0.useRef(!1);w7(()=>{return c.current=!0,()=>{c.current=!1}},[]),w7(()=>{if(w)L.current=w;if(T)k.current=T;if(w&&T){if(v.current)return v.current(w,T,n);n()}},[w,T,n,v,j]);let t=Z0.useMemo(()=>({reference:L,floating:k,setReference:I,setFloating:_}),[I,_]),f=Z0.useMemo(()=>({reference:w,floating:T}),[w,T]),r=Z0.useMemo(()=>{let R={position:Z,left:0,top:0};if(!f.floating)return R;let g=u2(f.floating,G.x),E=u2(f.floating,G.y);if(H)return{...R,transform:"translate("+g+"px, "+E+"px)",...p2(f.floating)>=1.5&&{willChange:"transform"}};return{position:Z,left:g,top:E}},[Z,H,f.floating,G.x,G.y]);return Z0.useMemo(()=>({...G,update:n,refs:t,elements:f,floatingStyles:r}),[G,n,t,f,r])}var EK=(Q)=>{function J(Z){return{}.hasOwnProperty.call(Z,"current")}return{name:"arrow",options:Q,fn(Z){let{element:Y,padding:X}=typeof Q==="function"?Q(Z):Q;if(Y&&J(Y)){if(Y.current!=null)return O9({element:Y.current,padding:X}).fn(Z);return{}}if(Y)return O9({element:Y,padding:X}).fn(Z);return{}}}},v38=(Q,J)=>{let Z=C2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},f38=(Q,J)=>{let Z=x2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},g38=(Q,J)=>{return{fn:g2(Q).fn,options:[Q,J]}},u38=(Q,J)=>{let Z=y2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},d38=(Q,J)=>{let Z=v2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};var c38=(Q,J)=>{let Z=f2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};var p38=(Q,J)=>{let Z=EK(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};
|
|
10
|
+
export{h as b,M0 as c,X2 as d,m2 as e,C1 as f,f1 as g,OQ as h,S7 as i,YQ as j,AB as k,nX as l,$5 as m,L5 as n,O0 as o,n9 as p,V0 as q,_0 as r,o9 as s,Q1 as t,r8 as u,M5 as v,A0 as w,s0 as x,X5 as y,b8 as z,h8 as A,B7 as B,m0 as C,l0 as D,n5 as E,O7 as F,h0 as G,U7 as H,K9 as I,b7 as J,s8 as K,TB as L,LB as M,MB as N,EB as O,PB as P,SB as Q,jB as R,VQ as S,nK as T,qQ as U,zQ as V,TK as W,y38 as X,v38 as Y,f38 as Z,g38 as _,u38 as $,d38 as aa,c38 as ba,p38 as ca,dK as da,s9 as ea,TQ as fa,J3 as ga,tB as ha,EQ as ia,f3 as ja,Y3 as ka,$3 as la,u3 as ma,c3 as na,H3 as oa,m3 as pa,r3 as qa,s3 as ra,n3 as sa,t3 as ta,Q$ as ua,Z$ as va,X$ as wa,q$ as xa,W$ as ya,G$ as za,B$ as Aa,O$ as Ba,D$ as Ca,N$ as Da,_$ as Ea,I$ as Fa,L$ as Ga,E$ as Ha,S$ as Ia,z3 as Ja,k$ as Ka,h$ as La,C$ as Ma,y$ as Na,f$ as Oa,u$ as Pa,c$ as Qa,m$ as Ra,r$ as Sa,s$ as Ta,n$ as Ua,t$ as Va,K3 as Wa,Qq as Xa,Zq as Ya,Xq as Za,qq as _a,Wq as $a,Gq as ab,Bq as bb,Oq as cb,Dq as db,Nq as eb,F3 as fb,_q as gb,Iq as hb,U3 as ib,Lq as jb,w3 as kb,Eq as lb,Sq as mb,kq as nb,hq as ob,Cq as pb,V3 as qb,yq as rb,A3 as sb,fq as tb,uq as ub,cq as vb,mq as wb,rq as xb,sq as yb,nq as zb,tq as Ab,QH as Bb,ZH as Cb,XH as Db,qH as Eb,WH as Fb,GH as Gb,BH as Hb,OH as Ib,DH as Jb,NH as Kb,_H as Lb,IH as Mb,T3 as Nb,LH as Ob,EH as Pb,SH as Qb,kH as Rb,hH as Sb,M3 as Tb,CH as Ub,yH as Vb,fH as Wb,P3 as Xb,uH as Yb,j3 as Zb,cH as _b,mH as $b,rH as ac,sH as bc,nH as cc,tH as dc,b3 as ec,QW as fc,ZW as gc,XW as hc,R3 as ic,qW as jc,WW as kc,x3 as lc,GW as mc,BW as nc,OW as oc,DW as pc,M9 as qc,SQ as rc,NW as sc,Yt1 as tc,kK as uc,bK as vc,RK as wc,CK as xc,fK as yc,VW as zc,$t1 as Ac,tG as Bc,QK as Cc,uY as Dc,JK as Ec};
|