@magic-ext/wallet-kit 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es/index.mjs CHANGED
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import*as a from"react";import n,{forwardRef as o,useMemo as i,createElement as l,useState as s,useRef as c,useCallback as d,useContext as u,useEffect as v,useReducer as p,createContext as f,Children as g,cloneElement as h,useLayoutEffect as m,useImperativeHandle as b,isValidElement as C}from"react";import y,{flushSync as w}from"react-dom";import{useConnect as x,useAccount as E,useDisconnect as k,useSignMessage as L,useChainId as I,WagmiProvider as S}from"wagmi";import{QueryClient as M,QueryClientProvider as T}from"@tanstack/react-query";import{Extension as _,MagicRPCError as P}from"@magic-sdk/provider";import{getAccount as A,reconnect as N,getConnectorClient as R,watchAccount as O}from"@wagmi/core";import{WagmiAdapter as D}from"@reown/appkit-adapter-wagmi";import{mainnet as F,sepolia as j}from"@reown/appkit/networks";import{toHex as z}from"viem";import{EthereumProvider as B}from"@walletconnect/ethereum-provider";import{createAppKit as V}from"@reown/appkit";function H(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}function W(e){return Object.fromEntries(Object.entries(e??{}).filter(([e,r])=>void 0!==r))}function U(e){return String.fromCharCode(e+(e>25?39:97))}function Y(e){return function(e){let r,t="";for(r=Math.abs(e);r>52;r=r/52|0)t=U(r%52)+t;return U(r%52)+t}(function(e,r){let t=r.length;for(;t;)e=33*e^r.charCodeAt(--t);return e}(5381,e)>>>0)}var Z=/\s*!(important)?/i;function G(e){return"string"==typeof e?e.replaceAll(" ","_"):e}var q=e=>{const r=new Map;return(...t)=>{const a=JSON.stringify(t);if(r.has(a))return r.get(a);const n=e(...t);return r.set(a,n),n}};function X(...e){return e.filter(Boolean).reduce((e,r)=>(Object.keys(r).forEach(t=>{const a=e[t],n=r[t];H(a)&&H(n)?e[t]=X(a,n):e[t]=n}),e),{})}var K=e=>null!=e;function Q(e,r,t={}){const{stop:a,getKey:n}=t;return function e(t,o=[]){if(H(t)||Array.isArray(t)){const i={};for(const[l,s]of Object.entries(t)){const c=n?.(l,s)??l,d=[...o,c];if(a?.(t,d))return r(t,o);const u=e(s,d);K(u)&&(i[c]=u)}return i}return r(t,o)}(e)}function J(e,r,t=!0){const{utility:a,conditions:n}=r,{hasShorthand:o,resolveShorthand:i}=a;return Q(e,e=>{return Array.isArray(e)?(r=e,t=n.breakpoints.keys,r.reduce((e,r,a)=>{const n=t[a];return null!=r&&(e[n]=r),e},{})):e;var r,t},{stop:e=>Array.isArray(e),getKey:t?e=>o?i(e):e:void 0})}var $={shift:e=>e,finalize:e=>e,breakpoints:{keys:[]}};var ee=/([A-Z])/g,re=/^ms-/,te=q(e=>e.startsWith("--")?e:e.replace(ee,"-$1").replace(re,"-ms-").toLowerCase()),ae=new RegExp(`^(${["min","max","clamp","calc"].join("|")})\\(.*\\)`),ne=`(?:${"cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%".split(",").join("|")})`,oe=new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${ne}$`),ie={map:function(e,r){return Array.isArray(e)?e.map(e=>r(e)):H(e)?Q(e,e=>r(e)):r(e)},isCssFunction:e=>"string"==typeof e&&ae.test(e),isCssVar:e=>"string"==typeof e&&/^var\(--.+\)$/.test(e),isCssUnit:e=>"string"==typeof e&&oe.test(e)},le=(e,r)=>{if(!e.defaultValues)return r;const t="function"==typeof e.defaultValues?e.defaultValues(r):e.defaultValues;return Object.assign({},t,W(r))},se=(e,r)=>e.filter(e=>e.css[r]).map(e=>({...e,css:e.css[r]}));function ce(e,...r){const t=Object.getOwnPropertyDescriptors(e),a=Object.keys(t),n=e=>{const r={};for(let a=0;a<e.length;a++){const n=e[a];t[n]&&(Object.defineProperty(r,n,t[n]),delete t[n])}return r};return r.map(e=>n(Array.isArray(e)?e:a.filter(e))).concat(n(a))}var de=["htmlSize","htmlTranslate","htmlWidth","htmlHeight"];function ue(e){return de.includes(e)?e.replace("html","").toLowerCase():e}function ve(e){return Object.fromEntries(Object.entries(e).map(([e,r])=>[ue(e),r]))}ve.keys=de;const pe=new Set("_light,_dark,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base".split(","));function fe(e){return pe.has(e)||/^@|&|&$/.test(e)}const ge=/^_/,he=/&|@/;const me=new Map,be=new Map;"aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:object,objectFit:object,overscrollBehavior:overscroll,overscrollBehaviorX:overscroll-x,overscrollBehaviorY:overscroll-y,position:pos/1,top:top,left:left,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,inset:inset,insetBlockEnd:inset-b,insetBlockStart:inset-t,insetInlineEnd:end/insetEnd/1,insetInlineStart:start/insetStart/1,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:basis,flex:flex,flexDirection:flex/flexDir,flexGrow:grow,flexShrink:shrink,gridTemplateColumns:grid-cols,gridTemplateRows:grid-rows,gridColumn:col-span,gridRow:row-span,gridColumnStart:col-start,gridColumnEnd:col-end,gridAutoFlow:grid-flow,gridAutoColumns:auto-cols,gridAutoRows:auto-rows,gap:gap,gridGap:gap,gridRowGap:gap-x,gridColumnGap:gap-y,rowGap:gap-x,columnGap:gap-y,justifyContent:justify,alignContent:content,alignItems:items,alignSelf:self,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pb,paddingBlockStart:pt,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mb,marginBlockStart:mt,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,outlineWidth:ring/ringWidth,outlineColor:ring/ringColor,outline:ring/1,outlineOffset:ring/ringOffset,divideX:divide-x,divideY:divide-y,divideColor:divide,divideStyle:divide,width:w/1,inlineSize:w,minWidth:min-w/minW,minInlineSize:min-w,maxWidth:max-w/maxW,maxInlineSize:max-w,height:h/1,blockSize:h,minHeight:min-h/minH,minBlockSize:min-h,maxHeight:max-h/maxH,maxBlockSize:max-b,color:text,fontFamily:font,fontSize:fs,fontWeight:font,fontSmoothing:smoothing,fontVariantNumeric:numeric,letterSpacing:tracking,lineHeight:leading,textAlign:text,textDecoration:text-decor,textDecorationColor:text-decor,textEmphasisColor:text-emphasis,textDecorationStyle:decoration,textDecorationThickness:decoration,textUnderlineOffset:underline-offset,textTransform:text,textIndent:indent,textShadow:text-shadow,textShadowColor:text-shadow/textShadowColor,textOverflow:text,verticalAlign:align,wordBreak:break,textWrap:text,truncate:truncate,lineClamp:clamp,listStyleType:list,listStylePosition:list,listStyleImage:list-img,backgroundPosition:bg/bgPosition,backgroundPositionX:bg-x/bgPositionX,backgroundPositionY:bg-y/bgPositionY,backgroundAttachment:bg/bgAttachment,backgroundClip:bg-clip/bgClip,background:bg/1,backgroundColor:bg/bgColor,backgroundOrigin:bg-origin/bgOrigin,backgroundImage:bg-img/bgImage,backgroundRepeat:bg-repeat/bgRepeat,backgroundBlendMode:bg-blend/bgBlendMode,backgroundSize:bg/bgSize,backgroundGradient:bg-gradient/bgGradient,textGradient:text-gradient,gradientFrom:from,gradientTo:to,gradientVia:via,borderRadius:rounded/1,borderTopLeftRadius:rounded-tl/roundedTopLeft,borderTopRightRadius:rounded-tr/roundedTopRight,borderBottomRightRadius:rounded-br/roundedBottomRight,borderBottomLeftRadius:rounded-bl/roundedBottomLeft,borderTopRadius:rounded-t/roundedTop,borderRightRadius:rounded-r/roundedRight,borderBottomRadius:rounded-b/roundedBottom,borderLeftRadius:rounded-l/roundedLeft,borderStartStartRadius:rounded-ss/roundedStartStart,borderStartEndRadius:rounded-se/roundedStartEnd,borderStartRadius:rounded-s/roundedStart,borderEndStartRadius:rounded-es/roundedEndStart,borderEndEndRadius:rounded-ee/roundedEndEnd,borderEndRadius:rounded-e/roundedEnd,border:border,borderWidth:border-w,borderTopWidth:border-tw,borderLeftWidth:border-lw,borderRightWidth:border-rw,borderBottomWidth:border-bw,borderColor:border,borderInline:border-x/borderX,borderInlineWidth:border-x/borderXWidth,borderInlineColor:border-x/borderXColor,borderBlock:border-y/borderY,borderBlockWidth:border-y/borderYWidth,borderBlockColor:border-y/borderYColor,borderLeft:border-l,borderLeftColor:border-l,borderInlineStart:border-s/borderStart,borderInlineStartWidth:border-s/borderStartWidth,borderInlineStartColor:border-s/borderStartColor,borderRight:border-r,borderRightColor:border-r,borderInlineEnd:border-e/borderEnd,borderInlineEndWidth:border-e/borderEndWidth,borderInlineEndColor:border-e/borderEndColor,borderTop:border-t,borderTopColor:border-t,borderBottom:border-b,borderBottomColor:border-b,borderBlockEnd:border-be,borderBlockEndColor:border-be,borderBlockStart:border-bs,borderBlockStartColor:border-bs,boxShadow:shadow/1,boxShadowColor:shadow/shadowColor,mixBlendMode:mix-blend,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:backdrop,backdropBlur:backdrop-blur,backdropBrightness:backdrop-brightness,backdropContrast:backdrop-contrast,backdropGrayscale:backdrop-grayscale,backdropHueRotate:backdrop-hue-rotate,backdropInvert:backdrop-invert,backdropOpacity:backdrop-opacity,backdropSaturate:backdrop-saturate,backdropSepia:backdrop-sepia,borderCollapse:border,borderSpacing:border-spacing,borderSpacingX:border-spacing-x,borderSpacingY:border-spacing-y,tableLayout:table,transitionTimingFunction:ease,transitionDelay:delay,transitionDuration:duration,transitionProperty:transition-prop,transition:transition,animation:animation,animationName:animation-name,animationDelay:animation-delay,transformOrigin:origin,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,accentColor:accent,caretColor:caret,scrollBehavior:scroll,scrollbar:scrollbar,scrollMargin:scroll-m,scrollMarginLeft:scroll-ml,scrollMarginRight:scroll-mr,scrollMarginTop:scroll-mt,scrollMarginBottom:scroll-mb,scrollMarginBlock:scroll-my/scrollMarginY,scrollMarginBlockEnd:scroll-mb,scrollMarginBlockStart:scroll-mt,scrollMarginInline:scroll-mx/scrollMarginX,scrollMarginInlineEnd:scroll-me,scrollMarginInlineStart:scroll-ms,scrollPadding:scroll-p,scrollPaddingBlock:scroll-pb/scrollPaddingY,scrollPaddingBlockStart:scroll-pt,scrollPaddingBlockEnd:scroll-pb,scrollPaddingInline:scroll-px/scrollPaddingX,scrollPaddingInlineEnd:scroll-pe,scrollPaddingInlineStart:scroll-ps,scrollPaddingLeft:scroll-pl,scrollPaddingRight:scroll-pr,scrollPaddingTop:scroll-pt,scrollPaddingBottom:scroll-pb,scrollSnapAlign:snap,scrollSnapStop:snap,scrollSnapType:snap,scrollSnapStrictness:strictness,scrollSnapMargin:snap-m,scrollSnapMarginTop:snap-mt,scrollSnapMarginBottom:snap-mb,scrollSnapMarginLeft:snap-ml,scrollSnapMarginRight:snap-mr,touchAction:touch,userSelect:select,fill:fill,stroke:stroke,strokeWidth:stroke-w,srOnly:sr,debug:debug,appearance:appearance,backfaceVisibility:backface,clipPath:clip-path,hyphens:hyphens,mask:mask,maskImage:mask-image,maskSize:mask-size,textSizeAdjust:text-size-adjust,container:cq,containerName:cq-name,containerType:cq-type,textStyle:textStyle".split(",").forEach(e=>{const[r,t]=e.split(":"),[a,...n]=t.split("/");me.set(r,a),n.length&&n.forEach(e=>{be.set("1"===e?a:e,r)})});const Ce=e=>be.get(e)||e,ye={conditions:{shift:function(e){return e.sort((e,r)=>{const t=fe(e),a=fe(r);return t&&!a?1:!t&&a?-1:0})},finalize:function(e){return e.map(e=>pe.has(e)?e.replace(ge,""):he.test(e)?`[${G(e.trim())}]`:e)},breakpoints:{keys:["base","sm","md","lg","xl","2xl"]}},utility:{transform:(e,r)=>{const t=Ce(e);return{className:`${me.get(t)||te(t)}_${G(r)}`}},hasShorthand:!0,toHash:(e,r)=>r(e.join(":")),resolveShorthand:Ce}},we=function(e){const{utility:r,conditions:t=$}=e,a=(e,a)=>{let n;{const i=[...t.finalize(e),a];o=r.toHash(i,Y),n=[r.prefix,o].filter(Boolean).join("-")}var o;return n};return q(({base:n,...o}={})=>{const i=J(Object.assign(o,n),e),l=new Set;return Q(i,(e,n)=>{const o=function(e){return"string"==typeof e&&Z.test(e)}(e);if(null==e)return;const[i,...s]=t.shift(n),c=function(e){return e.slice().filter(e=>!(e=>"base"===e)(e))}(s),d=r.transform(i,function(e){return"string"==typeof e?e.replace(Z,"").trim():e}((e=>"string"==typeof e?e.replaceAll(/[\n\s]+/g," "):e)(e)));let u=a(c,d.className);o&&(u=`${u}!`),l.add(u)}),Array.from(l).join(" ")})}(ye),xe=(...e)=>we(Ee(...e));xe.raw=(...e)=>Ee(...e);const{mergeCss:Ee}=function(e){function r(r){const t=function(...e){return e.filter(e=>H(e)&&Object.keys(W(e)).length>0)}(...r);return 1===t.length?t:t.map(r=>J(r,e))}return{mergeCss:q(function(...e){return X(...r(e))}),assignCss:function(...e){return Object.assign({},...r(e))}}}(ye);function ke(){let e,r="",t=0;for(;t<arguments.length;)(e=arguments[t++])&&"string"==typeof e&&(r&&(r+=" "),r+=e);return r}const Le=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function Ie(e){const{base:r,variants:t,defaultVariants:a,compoundVariants:n}=Le(e);function o(e={}){const o={...a,...W(e)};let i={...r};for(const[e,r]of Object.entries(o))t[e]?.[r]&&(i=Ee(i,t[e][r]));const l=function(e,r){let t={};return e.forEach(e=>{Object.entries(e).every(([e,t])=>{if("css"===e)return!0;return(Array.isArray(t)?t:[t]).some(t=>r[e]===t)})&&(t=Ee(t,e.css))}),t}(n,o);return Ee(i,l)}const i=Object.keys(t);const l=Object.fromEntries(Object.entries(t).map(([e,r])=>[e,Object.keys(r)]));return Object.assign(q(function(e){return xe(o(e))}),{__cva__:!0,variantMap:l,variantKeys:i,raw:o,config:e,merge:function(e){const o=Le(e.config),i=((...e)=>e.filter(Boolean).reduce((e,r)=>Array.from(new Set([...e,...r])),[]))(e.variantKeys,Object.keys(t));return Ie({base:Ee(r,o.base),variants:Object.fromEntries(i.map(e=>[e,Ee(t[e],o.variants[e])])),defaultVariants:X(a,o.defaultVariants),compoundVariants:[...n,...o.compoundVariants]})},splitVariantProps:function(e){return ce(e,i)}})}const Se=(e,r)=>e+"__"+r;function Me(e){const r=Object.entries(((e={})=>{const r=r=>({className:[e.className,r].filter(Boolean).join("__"),base:e.base?.[r]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?se(e.compoundVariants,r):[]}),t=(e.slots??[]).map(e=>[e,r(e)]);for(const[r,a]of Object.entries(e.variants??{}))for(const[e,n]of Object.entries(a))t.forEach(([t,a])=>{a.variants[r]??={},a.variants[r][e]=n[t]??{}});return Object.fromEntries(t)})(e)).map(([e,r])=>[e,Ie(r)]);const t=e.variants??{},a=Object.keys(t);const n=Object.fromEntries(Object.entries(t).map(([e,r])=>[e,Object.keys(r)]));return Object.assign(q(function(t){const a=r.map(([r,a])=>[r,ke(a(t),e.className&&Se(e.className,r))]);return Object.fromEntries(a)}),{__cva__:!1,raw:function(e){const t=r.map(([r,t])=>[r,t.raw(e)]);return Object.fromEntries(t)},variantMap:n,variantKeys:a,splitVariantProps:function(e){return ce(e,a)}})}var Te="css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,strokeWidth,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,colorPalette,_light,_dark,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,textStyle".split(","),_e="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect".split(",").concat(Te),Pe=new Map(_e.map(e=>[e,!0])),Ae=/&|@/,Ne=q(e=>Pe.has(e)||e.startsWith("--")||Ae.test(e));const Re=(e,r)=>!r.includes(e)&&!Ne(e);function Oe(e,r={},t={}){const a=r.__cva__||r.__recipe__?r:Ie(r),n=t.shouldForwardProp||Re,s=e=>n(e,a.variantKeys),c=Object.assign(t.dataAttr&&r.__name__?{"data-recipe":r.__name__}:{},t.defaultProps),d=((e,r)=>{if(e&&!r)return e;if(!e&&r)return r;if(e.__cva__&&r.__cva__||e.__recipe__&&r.__recipe__)return e.merge(r);const t=new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");throw TypeError.captureStackTrace?.(t),t})(e.__cva__,a),u=((e,r)=>e.__shouldForwardProps__&&r?t=>e.__shouldForwardProps__(t)&&r(t):r)(e,s),v=e.__base__||e,p=o(function(e,t){const{as:a=v,children:n,...o}=e,s=i(()=>Object.assign({},c,o),[o]),[p,f,g,h,m]=i(()=>ce(s,ve.keys,u,d.variantKeys,Ne),[s]);const b=r.__recipe__?function(){const{css:e,...r}=h,t=d.__getCompoundVariantCss__?.(g);return ke(d(g,!1),xe(t,r,e),s.className)}:function(){const{css:e,...r}=h,t=d.raw(g);return ke(xe(t,r,e),s.className)};return l(a,{ref:t,...f,...m,...ve(p),className:b()},s.children??n)}),f="string"==typeof(g=v)?g:g?.displayName||g?.name||"Component";var g;return p.displayName=`styled.${f}`,p.__cva__=d,p.__base__=v,p.__shouldForwardProps__=s,p}function De(){const e=new Map;return new Proxy(Oe,{apply:(e,r,t)=>Oe(...t),get:(r,t)=>(e.has(t)||e.set(t,Oe(t)),e.get(t))})}const Fe=De(),je={transform:e=>e},ze=o(function(e,r){const[t,a]=ce(e,[]),n={ref:r,...((e={})=>{const r=le(je,e);return je.transform(r,ie)})(t),...a};return l(Fe.div,n)}),Be={transform(e){const{direction:r,align:t,justify:a,wrap:n,basis:o,grow:i,shrink:l,...s}=e;return{display:"flex",flexDirection:r,alignItems:t,justifyContent:a,flexWrap:n,flexBasis:o,flexGrow:i,flexShrink:l,...s}}},Ve=(e={})=>{const r=le(Be,e);return Be.transform(r,ie)},He=e=>xe(Ve(e));He.raw=Ve;const We=o(function(e,r){const[t,a]=ce(e,["align","justify","direction","wrap","basis","grow","shrink"]),n={ref:r,...Ve(t),...a};return l(Fe.div,n)}),Ue={transform(e){const{align:r,justify:t,direction:a,gap:n,...o}=e;return{display:"flex",flexDirection:a,alignItems:r,justifyContent:t,gap:n,...o}},defaultValues:{direction:"column",gap:"10px"}},Ye=o(function(e,r){const[t,a]=ce(e,["align","justify","direction","gap"]),n={ref:r,...((e={})=>{const r=le(Ue,e);return Ue.transform(r,ie)})(t),...a};return l(Fe.div,n)}),Ze={transform(e){const{justify:r,gap:t,...a}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:t,flexDirection:"column",...a}},defaultValues:{gap:"10px"}},Ge=(e={})=>{const r=le(Ze,e);return Ze.transform(r,ie)},qe=e=>xe(Ge(e));qe.raw=Ge;const Xe=o(function(e,r){const[t,a]=ce(e,["justify","gap"]),n={ref:r,...Ge(t),...a};return l(Fe.div,n)}),Ke={transform(e){const{justify:r,gap:t,...a}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:t,flexDirection:"row",...a}},defaultValues:{gap:"10px"}},Qe=o(function(e,r){const[t,a]=ce(e,["justify","gap"]),n={ref:r,...((e={})=>{const r=le(Ke,e);return Ke.transform(r,ie)})(t),...a};return l(Fe.div,n)}),Je={transform(e){const{size:r,...t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",flex:"0 0 auto",width:r,height:r,borderRadius:"9999px",...t}}},$e=(e={})=>{const r=le(Je,e);return Je.transform(r,ie)},er=e=>xe($e(e));er.raw=$e;const rr=o(function(e,r){const[t,a]=ce(e,["size"]),n={ref:r,...$e(t),...a};return l(Fe.div,n)}),tr={transform(e){const{inline:r,...t}=e;return{display:r?"inline-flex":"flex",alignItems:"center",justifyContent:"center",...t}}},ar=o(function(e,r){const[t,a]=ce(e,["inline"]),n={ref:r,...((e={})=>{const r=le(tr,e);return tr.transform(r,ie)})(t),...a};return l(Fe.div,n)}),nr={transform(e,{map:r}){const{orientation:t,thickness:a,color:n,...o}=e;return{"--thickness":a,width:r(t,e=>"vertical"===e?void 0:"100%"),height:r(t,e=>"horizontal"===e?void 0:"100%"),borderBlockEndWidth:r(t,e=>"horizontal"===e?"var(--thickness)":void 0),borderInlineEndWidth:r(t,e=>"vertical"===e?"var(--thickness)":void 0),borderColor:n,...o}},defaultValues:{orientation:"horizontal",thickness:"1px"}},or=o(function(e,r){const[t,a]=ce(e,["orientation","thickness","color"]),n={ref:r,...((e={})=>{const r=le(nr,e);return nr.transform(r,ie)})(t),...a};return l(Fe.div,n)}),ir={"aspectRatios.square":{value:"1 / 1",variable:"var(--cUJial)"},"aspectRatios.landscape":{value:"4 / 3",variable:"var(--joSgrv)"},"aspectRatios.portrait":{value:"3 / 4",variable:"var(--dXjFHz)"},"aspectRatios.wide":{value:"16 / 9",variable:"var(--gqpqIn)"},"aspectRatios.ultrawide":{value:"18 / 5",variable:"var(--lixcAJ)"},"aspectRatios.golden":{value:"1.618 / 1",variable:"var(--hSWVDT)"},"borders.none":{value:"none",variable:"var(--dzOvWn)"},"easings.default":{value:"cubic-bezier(0.4, 0, 0.2, 1)",variable:"var(--drrWcF)"},"easings.linear":{value:"linear",variable:"var(--hgfxJf)"},"easings.in":{value:"cubic-bezier(0.4, 0, 1, 1)",variable:"var(--hCLxzh)"},"easings.out":{value:"cubic-bezier(0, 0, 0.2, 1)",variable:"var(--byCBno)"},"easings.in-out":{value:"cubic-bezier(0.4, 0, 0.2, 1)",variable:"var(--gSAVQW)"},"durations.fastest":{value:"50ms",variable:"var(--fuVfvZ)"},"durations.faster":{value:"100ms",variable:"var(--fVBMec)"},"durations.fast":{value:"150ms",variable:"var(--mUhz)"},"durations.normal":{value:"200ms",variable:"var(--cWTXGg)"},"durations.slow":{value:"300ms",variable:"var(--cifMdM)"},"durations.slower":{value:"400ms",variable:"var(--goNNlj)"},"durations.slowest":{value:"500ms",variable:"var(--bPXfWW)"},"fontWeights.thin":{value:"100",variable:"var(--dRPRGd)"},"fontWeights.extralight":{value:"200",variable:"var(--dooANa)"},"fontWeights.light":{value:"300",variable:"var(--fVSZDc)"},"fontWeights.normal":{value:"400",variable:"var(--llFanx)"},"fontWeights.medium":{value:"500",variable:"var(--leEsKL)"},"fontWeights.semibold":{value:"600",variable:"var(--hmvyHR)"},"fontWeights.bold":{value:"700",variable:"var(--ghWdwL)"},"fontWeights.extrabold":{value:"800",variable:"var(--janwPd)"},"fontWeights.black":{value:"900",variable:"var(--bvnjIx)"},"lineHeights.none":{value:"1",variable:"var(--ekeMrS)"},"lineHeights.tight":{value:"1.25",variable:"var(--jyTpIu)"},"lineHeights.snug":{value:"1.375",variable:"var(--ipEwfb)"},"lineHeights.normal":{value:"1.5",variable:"var(--lomeBD)"},"lineHeights.relaxed":{value:"1.625",variable:"var(--kwMYUX)"},"lineHeights.loose":{value:"2",variable:"var(--dVGecO)"},"fonts.sans":{value:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',variable:"var(--dywXPJ)"},"fonts.serif":{value:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',variable:"var(--guQdxN)"},"fonts.mono":{value:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',variable:"var(--gxQaAd)"},"letterSpacings.tighter":{value:"-0.05em",variable:"var(--jrseCf)"},"letterSpacings.tight":{value:"-0.025em",variable:"var(--glKTKc)"},"letterSpacings.normal":{value:"0em",variable:"var(--knaPyh)"},"letterSpacings.wide":{value:"0.025em",variable:"var(--jwdARF)"},"letterSpacings.wider":{value:"0.05em",variable:"var(--eUSVTv)"},"letterSpacings.widest":{value:"0.1em",variable:"var(--lhSeXO)"},"fontSizes.2xs":{value:"0.5rem",variable:"var(--kWjDjq)"},"fontSizes.xs":{value:"0.75rem",variable:"var(--loLyxA)"},"fontSizes.sm":{value:"0.875rem",variable:"var(--eRgJXV)"},"fontSizes.md":{value:"1rem",variable:"var(--daFrau)"},"fontSizes.lg":{value:"1.125rem",variable:"var(--gKFLFQ)"},"fontSizes.xl":{value:"1.25rem",variable:"var(--gFqSQX)"},"fontSizes.2xl":{value:"1.5rem",variable:"var(--dllMvh)"},"fontSizes.3xl":{value:"1.875rem",variable:"var(--jaXqkI)"},"fontSizes.4xl":{value:"2.25rem",variable:"var(--cLogVb)"},"fontSizes.5xl":{value:"3rem",variable:"var(--izMrAu)"},"fontSizes.6xl":{value:"3.75rem",variable:"var(--hdlyfR)"},"fontSizes.7xl":{value:"4.5rem",variable:"var(--bDBsww)"},"fontSizes.8xl":{value:"6rem",variable:"var(--fwhTbD)"},"fontSizes.9xl":{value:"8rem",variable:"var(--lkGdGW)"},"shadows.xs":{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)",variable:"var(--bUWovs)"},"shadows.sm":{value:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",variable:"var(--cDhNnp)"},"shadows.md":{value:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",variable:"var(--jMKUKK)"},"shadows.lg":{value:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",variable:"var(--kNVcRA)"},"shadows.xl":{value:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",variable:"var(--bnVgij)"},"shadows.2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)",variable:"var(--IghlV)"},"shadows.inner":{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",variable:"var(--gmhFEB)"},"blurs.sm":{value:"4px",variable:"var(--aZLOC)"},"blurs.base":{value:"8px",variable:"var(--jDYzax)"},"blurs.md":{value:"12px",variable:"var(--kMMDaR)"},"blurs.lg":{value:"16px",variable:"var(--dyIDQb)"},"blurs.xl":{value:"24px",variable:"var(--TtVDs)"},"blurs.2xl":{value:"40px",variable:"var(--btncja)"},"blurs.3xl":{value:"64px",variable:"var(--esAhmv)"},"spacing.0":{value:"0rem",variable:"var(--fcTUxn)"},"spacing.1":{value:"0.25rem",variable:"var(--dacYEG)"},"spacing.2":{value:"0.5rem",variable:"var(--ebuyxV)"},"spacing.3":{value:"0.75rem",variable:"var(--bYDCFo)"},"spacing.4":{value:"1rem",variable:"var(--hIimNX)"},"spacing.5":{value:"1.25rem",variable:"var(--fFrqVq)"},"spacing.6":{value:"1.5rem",variable:"var(--gGIQOF)"},"spacing.7":{value:"1.75rem",variable:"var(--eDRUVY)"},"spacing.8":{value:"2rem",variable:"var(--flZesP)"},"spacing.9":{value:"2.25rem",variable:"var(--djiiAi)"},"spacing.10":{value:"2.5rem",variable:"var(--ieMJEa)"},"spacing.11":{value:"2.75rem",variable:"var(--cBFxYr)"},"spacing.12":{value:"3rem",variable:"var(--uyqLg)"},"spacing.14":{value:"3.5rem",variable:"var(--hXmVPi)"},"spacing.16":{value:"4rem",variable:"var(--mYCWo)"},"spacing.20":{value:"5rem",variable:"var(--jgejxp)"},"spacing.24":{value:"6rem",variable:"var(--iYEvIx)"},"spacing.28":{value:"7rem",variable:"var(--dzpWeZ)"},"spacing.32":{value:"8rem",variable:"var(--fifqnK)"},"spacing.36":{value:"9rem",variable:"var(--faFCyS)"},"spacing.40":{value:"10rem",variable:"var(--bxwoov)"},"spacing.44":{value:"11rem",variable:"var(--huPzrf)"},"spacing.48":{value:"12rem",variable:"var(--hgdKvb)"},"spacing.52":{value:"13rem",variable:"var(--cZMJbQ)"},"spacing.56":{value:"14rem",variable:"var(--iXfUeA)"},"spacing.60":{value:"15rem",variable:"var(--vWSpd)"},"spacing.64":{value:"16rem",variable:"var(--gtqdrN)"},"spacing.72":{value:"18rem",variable:"var(--hNtIEu)"},"spacing.80":{value:"20rem",variable:"var(--kqIPsj)"},"spacing.96":{value:"24rem",variable:"var(--wdMRQ)"},"spacing.0.5":{value:"0.125rem",variable:"var(--gEfgCY)"},"spacing.1.5":{value:"0.375rem",variable:"var(--jJIQbV)"},"spacing.2.5":{value:"0.625rem",variable:"var(--cqwGG)"},"spacing.3.5":{value:"0.875rem",variable:"var(--dhUgfD)"},"animations.spin":{value:"spin 1s linear infinite",variable:"var(--bJeTGz)"},"animations.ping":{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",variable:"var(--cxTetH)"},"animations.pulse":{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",variable:"var(--jjLJjo)"},"animations.bounce":{value:"bounce 1s infinite",variable:"var(--eUTuJH)"},"colors.current":{value:"currentColor",variable:"var(--bLinLB)"},"colors.black":{value:"#000",variable:"var(--qLIrn)"},"colors.white":{value:"#fff",variable:"var(--RiClf)"},"colors.transparent":{value:"rgb(0 0 0 / 0)",variable:"var(--edNtiq)"},"colors.rose.50":{value:"#fff1f2",variable:"var(--cQacUT)"},"colors.rose.100":{value:"#ffe4e6",variable:"var(--fFtaKH)"},"colors.rose.200":{value:"#fecdd3",variable:"var(--eUoFZM)"},"colors.rose.300":{value:"#fda4af",variable:"var(--bPMUxN)"},"colors.rose.400":{value:"#fb7185",variable:"var(--bvZVli)"},"colors.rose.500":{value:"#f43f5e",variable:"var(--jGTTif)"},"colors.rose.600":{value:"#e11d48",variable:"var(--iVPyxk)"},"colors.rose.700":{value:"#be123c",variable:"var(--fRnMVl)"},"colors.rose.800":{value:"#9f1239",variable:"var(--hxzBoW)"},"colors.rose.900":{value:"#881337",variable:"var(--esXPMX)"},"colors.rose.950":{value:"#4c0519",variable:"var(--epiLsK)"},"colors.pink.50":{value:"#fdf2f8",variable:"var(--hPYfGc)"},"colors.pink.100":{value:"#fce7f3",variable:"var(--ioAkJk)"},"colors.pink.200":{value:"#fbcfe8",variable:"var(--eyVWNz)"},"colors.pink.300":{value:"#f9a8d4",variable:"var(--nXIqK)"},"colors.pink.400":{value:"#f472b6",variable:"var(--hGgStN)"},"colors.pink.500":{value:"#ec4899",variable:"var(--dviDWY)"},"colors.pink.600":{value:"#db2777",variable:"var(--kUZZAj)"},"colors.pink.700":{value:"#be185d",variable:"var(--gKbLdu)"},"colors.pink.800":{value:"#9d174d",variable:"var(--UhnuV)"},"colors.pink.900":{value:"#831843",variable:"var(--hYEIxc)"},"colors.pink.950":{value:"#500724",variable:"var(--dPgAHx)"},"colors.fuchsia.50":{value:"#fdf4ff",variable:"var(--kpTESD)"},"colors.fuchsia.100":{value:"#fae8ff",variable:"var(--jfJgr)"},"colors.fuchsia.200":{value:"#f5d0fe",variable:"var(--gZeVto)"},"colors.fuchsia.300":{value:"#f0abfc",variable:"var(--gfHpEZ)"},"colors.fuchsia.400":{value:"#e879f9",variable:"var(--dSTUoK)"},"colors.fuchsia.500":{value:"#d946ef",variable:"var(--cZwoAv)"},"colors.fuchsia.600":{value:"#c026d3",variable:"var(--jPvANs)"},"colors.fuchsia.700":{value:"#a21caf",variable:"var(--iVXUZd)"},"colors.fuchsia.800":{value:"#86198f",variable:"var(--hYKnEO)"},"colors.fuchsia.900":{value:"#701a75",variable:"var(--hfmHQz)"},"colors.fuchsia.950":{value:"#4a044e",variable:"var(--cYPdae)"},"colors.purple.50":{value:"#faf5ff",variable:"var(--ksTgfC)"},"colors.purple.100":{value:"#f3e8ff",variable:"var(--iCdJRO)"},"colors.purple.200":{value:"#e9d5ff",variable:"var(--dWAXWh)"},"colors.purple.300":{value:"#d8b4fe",variable:"var(--jcWlLI)"},"colors.purple.400":{value:"#c084fc",variable:"var(--eLlnzT)"},"colors.purple.500":{value:"#a855f7",variable:"var(--jRGBpu)"},"colors.purple.600":{value:"#9333ea",variable:"var(--fmdPtN)"},"colors.purple.700":{value:"#7e22ce",variable:"var(--kszdjo)"},"colors.purple.800":{value:"#6b21a8",variable:"var(--kMigIv)"},"colors.purple.900":{value:"#581c87",variable:"var(--eDhKZa)"},"colors.purple.950":{value:"#3b0764",variable:"var(--eadxYH)"},"colors.violet.50":{value:"#f5f3ff",variable:"var(--elZfLV)"},"colors.violet.100":{value:"#ede9fe",variable:"var(--jcWAkV)"},"colors.violet.200":{value:"#ddd6fe",variable:"var(--gHfMHa)"},"colors.violet.300":{value:"#c4b5fd",variable:"var(--jSzuYT)"},"colors.violet.400":{value:"#a78bfa",variable:"var(--jDVPUQ)"},"colors.violet.500":{value:"#8b5cf6",variable:"var(--bzTONN)"},"colors.violet.600":{value:"#7c3aed",variable:"var(--ktyKIO)"},"colors.violet.700":{value:"#6d28d9",variable:"var(--cpwJBL)"},"colors.violet.800":{value:"#5b21b6",variable:"var(--foWeJc)"},"colors.violet.900":{value:"#4c1d95",variable:"var(--iApNaV)"},"colors.violet.950":{value:"#2e1065",variable:"var(--cfTfyk)"},"colors.indigo.50":{value:"#eef2ff",variable:"var(--kbclAu)"},"colors.indigo.100":{value:"#e0e7ff",variable:"var(--gAzkHe)"},"colors.indigo.200":{value:"#c7d2fe",variable:"var(--gRHwoJ)"},"colors.indigo.300":{value:"#a5b4fc",variable:"var(--iYtjYI)"},"colors.indigo.400":{value:"#818cf8",variable:"var(--jCTsMf)"},"colors.indigo.500":{value:"#6366f1",variable:"var(--ujwXi)"},"colors.indigo.600":{value:"#4f46e5",variable:"var(--LrIEN)"},"colors.indigo.700":{value:"#4338ca",variable:"var(--cSdwoM)"},"colors.indigo.800":{value:"#3730a3",variable:"var(--irwviH)"},"colors.indigo.900":{value:"#312e81",variable:"var(--kyiiSG)"},"colors.indigo.950":{value:"#1e1b4b",variable:"var(--hgSANP)"},"colors.blue.50":{value:"#eff6ff",variable:"var(--glmLoi)"},"colors.blue.100":{value:"#dbeafe",variable:"var(--bYrJpO)"},"colors.blue.200":{value:"#bfdbfe",variable:"var(--hoTvPd)"},"colors.blue.300":{value:"#93c5fd",variable:"var(--bMEoOM)"},"colors.blue.400":{value:"#60a5fa",variable:"var(--hIEEwj)"},"colors.blue.500":{value:"#3b82f6",variable:"var(--cgpxvS)"},"colors.blue.600":{value:"#2563eb",variable:"var(--hwRjVh)"},"colors.blue.700":{value:"#1d4ed8",variable:"var(--bUCcUQ)"},"colors.blue.800":{value:"#1e40af",variable:"var(--golFsv)"},"colors.blue.900":{value:"#1e3a8a",variable:"var(--LWyse)"},"colors.blue.950":{value:"#172554",variable:"var(--eJQij)"},"colors.cyan.50":{value:"#ecfeff",variable:"var(--dyXAhp)"},"colors.cyan.100":{value:"#cffafe",variable:"var(--eeWoox)"},"colors.cyan.200":{value:"#a5f3fc",variable:"var(--fnHbwe)"},"colors.cyan.300":{value:"#67e8f9",variable:"var(--cLmYYf)"},"colors.cyan.400":{value:"#22d3ee",variable:"var(--bpLSHw)"},"colors.cyan.500":{value:"#06b6d4",variable:"var(--kcNzIt)"},"colors.cyan.600":{value:"#0891b2",variable:"var(--llymQa)"},"colors.cyan.700":{value:"#0e7490",variable:"var(--iJeksb)"},"colors.cyan.800":{value:"#155e75",variable:"var(--jTKpqw)"},"colors.cyan.900":{value:"#164e63",variable:"var(--hrqmSx)"},"colors.cyan.950":{value:"#083344",variable:"var(--bcqAnE)"},"colors.teal.50":{value:"#f0fdfa",variable:"var(--jqQOis)"},"colors.teal.100":{value:"#ccfbf1",variable:"var(--hsCMHs)"},"colors.teal.200":{value:"#99f6e4",variable:"var(--jcJhxj)"},"colors.teal.300":{value:"#5eead4",variable:"var(--czjDVi)"},"colors.teal.400":{value:"#2dd4bf",variable:"var(--kfgCt)"},"colors.teal.500":{value:"#14b8a6",variable:"var(--eWbmzo)"},"colors.teal.600":{value:"#0d9488",variable:"var(--gGhHpf)"},"colors.teal.700":{value:"#0f766e",variable:"var(--cIdNe)"},"colors.teal.800":{value:"#115e59",variable:"var(--catTvB)"},"colors.teal.900":{value:"#134e4a",variable:"var(--gMpZsw)"},"colors.teal.950":{value:"#042f2e",variable:"var(--bnTNlF)"},"colors.emerald.50":{value:"#ecfdf5",variable:"var(--jVPfey)"},"colors.emerald.100":{value:"#d1fae5",variable:"var(--gSyYHy)"},"colors.emerald.200":{value:"#a7f3d0",variable:"var(--dOyJRJ)"},"colors.emerald.300":{value:"#6ee7b7",variable:"var(--jOMcLk)"},"colors.emerald.400":{value:"#34d399",variable:"var(--bLsBkr)"},"colors.emerald.500":{value:"#10b981",variable:"var(--hLFUdS)"},"colors.emerald.600":{value:"#059669",variable:"var(--eHFFod)"},"colors.emerald.700":{value:"#047857",variable:"var(--kHSYhE)"},"colors.emerald.800":{value:"#065f46",variable:"var(--iuBcgT)"},"colors.emerald.900":{value:"#064e3b",variable:"var(--dfsLBy)"},"colors.emerald.950":{value:"#022c22",variable:"var(--jJEloz)"},"colors.green.50":{value:"#f0fdf4",variable:"var(--hXozqf)"},"colors.green.100":{value:"#dcfce7",variable:"var(--iDDIAz)"},"colors.green.200":{value:"#bbf7d0",variable:"var(--khfuXU)"},"colors.green.300":{value:"#86efac",variable:"var(--hypAVx)"},"colors.green.400":{value:"#4ade80",variable:"var(--wGfza)"},"colors.green.500":{value:"#22c55e",variable:"var(--jdlUVz)"},"colors.green.600":{value:"#16a34a",variable:"var(--kGNHsU)"},"colors.green.700":{value:"#15803d",variable:"var(--hXXNqx)"},"colors.green.800":{value:"#166534",variable:"var(--bAQeLK)"},"colors.green.900":{value:"#14532d",variable:"var(--khvUij)"},"colors.green.950":{value:"#052e16",variable:"var(--cbdKOS)"},"colors.lime.50":{value:"#f7fee7",variable:"var(--dhEleJ)"},"colors.lime.100":{value:"#ecfccb",variable:"var(--gFFbyh)"},"colors.lime.200":{value:"#d9f99d",variable:"var(--fjFsBy)"},"colors.lime.300":{value:"#bef264",variable:"var(--cfdGZz)"},"colors.lime.400":{value:"#a3e635",variable:"var(--bxLPEk)"},"colors.lime.500":{value:"#84cc16",variable:"var(--jIFNBh)"},"colors.lime.600":{value:"#65a30d",variable:"var(--imGeEy)"},"colors.lime.700":{value:"#4d7c0f",variable:"var(--fietcz)"},"colors.lime.800":{value:"#3f6212",variable:"var(--crovfQ)"},"colors.lime.900":{value:"#365314",variable:"var(--kCitcN)"},"colors.lime.950":{value:"#1a2e05",variable:"var(--gEQkrg)"},"colors.yellow.50":{value:"#fefce8",variable:"var(--cLFWMs)"},"colors.yellow.100":{value:"#fef9c3",variable:"var(--kxGpio)"},"colors.yellow.200":{value:"#fef08a",variable:"var(--cbZZGT)"},"colors.yellow.300":{value:"#fde047",variable:"var(--fwcFBW)"},"colors.yellow.400":{value:"#facc15",variable:"var(--hUTJsd)"},"colors.yellow.500":{value:"#eab308",variable:"var(--loWpng)"},"colors.yellow.600":{value:"#ca8a04",variable:"var(--cTpZLL)"},"colors.yellow.700":{value:"#a16207",variable:"var(--gnsFGO)"},"colors.yellow.800":{value:"#854d0e",variable:"var(--ByZWN)"},"colors.yellow.900":{value:"#713f12",variable:"var(--dVBFRQ)"},"colors.yellow.950":{value:"#422006",variable:"var(--iLqZUR)"},"colors.amber.50":{value:"#fffbeb",variable:"var(--kVxzTd)"},"colors.amber.100":{value:"#fef3c7",variable:"var(--jZPQXp)"},"colors.amber.200":{value:"#fde68a",variable:"var(--hCWpXC)"},"colors.amber.300":{value:"#fcd34d",variable:"var(--bCKrrD)"},"colors.amber.400":{value:"#fbbf24",variable:"var(--wuHbc)"},"colors.amber.500":{value:"#f59e0b",variable:"var(--fLErTZ)"},"colors.amber.600":{value:"#d97706",variable:"var(--doKQUm)"},"colors.amber.700":{value:"#b45309",variable:"var(--iDUBNj)"},"colors.amber.800":{value:"#92400e",variable:"var(--iOnUJo)"},"colors.amber.900":{value:"#78350f",variable:"var(--cObWdp)"},"colors.amber.950":{value:"#451a03",variable:"var(--frxesg)"},"colors.orange.50":{value:"#fff7ed",variable:"var(--NQTLQ)"},"colors.orange.100":{value:"#ffedd5",variable:"var(--JsfmQ)"},"colors.orange.200":{value:"#fed7aa",variable:"var(--gBjjlD)"},"colors.orange.300":{value:"#fdba74",variable:"var(--QMCLK)"},"colors.orange.400":{value:"#fb923c",variable:"var(--ijESlZ)"},"colors.orange.500":{value:"#f97316",variable:"var(--czilMg)"},"colors.orange.600":{value:"#ea580c",variable:"var(--iqZpKT)"},"colors.orange.700":{value:"#c2410c",variable:"var(--cGCJla)"},"colors.orange.800":{value:"#9a3412",variable:"var(--dUhLNN)"},"colors.orange.900":{value:"#7c2d12",variable:"var(--jzgOMQ)"},"colors.orange.950":{value:"#431407",variable:"var(--igBpVl)"},"colors.red.50":{value:"#fef2f2",variable:"var(--bINrJX)"},"colors.red.100":{value:"#fee2e2",variable:"var(--fKgVwH)"},"colors.red.200":{value:"#fecaca",variable:"var(--bLdQLg)"},"colors.red.300":{value:"#fca5a5",variable:"var(--fMUQaR)"},"colors.red.400":{value:"#f87171",variable:"var(--hwCQam)"},"colors.red.500":{value:"#ef4444",variable:"var(--iYfRb)"},"colors.red.600":{value:"#dc2626",variable:"var(--hzqKEw)"},"colors.red.700":{value:"#b91c1c",variable:"var(--lMavl)"},"colors.red.800":{value:"#991b1b",variable:"var(--bLDcWa)"},"colors.red.900":{value:"#7f1d1d",variable:"var(--fNuclL)"},"colors.red.950":{value:"#450a0a",variable:"var(--jHDsLG)"},"colors.neutral.50":{value:"#fafafa",variable:"var(--kltIHN)"},"colors.neutral.100":{value:"#f5f5f5",variable:"var(--hzpwrB)"},"colors.neutral.200":{value:"#e5e5e5",variable:"var(--lbfZji)"},"colors.neutral.300":{value:"#d4d4d4",variable:"var(--fcfsVb)"},"colors.neutral.400":{value:"#a3a3a3",variable:"var(--kPKNfw)"},"colors.neutral.500":{value:"#737373",variable:"var(--eQKgRp)"},"colors.neutral.600":{value:"#525252",variable:"var(--isAJIW)"},"colors.neutral.700":{value:"#404040",variable:"var(--ctAduP)"},"colors.neutral.800":{value:"#262626",variable:"var(--bqFRBA)"},"colors.neutral.900":{value:"#171717",variable:"var(--gHaUMp)"},"colors.neutral.950":{value:"#0a0a0a",variable:"var(--fhFoEQ)"},"colors.stone.50":{value:"#fafaf9",variable:"var(--NNaBX)"},"colors.stone.100":{value:"#f5f5f4",variable:"var(--juQpUX)"},"colors.stone.200":{value:"#e7e5e4",variable:"var(--jjsRgY)"},"colors.stone.300":{value:"#d6d3d1",variable:"var(--hxarzx)"},"colors.stone.400":{value:"#a8a29e",variable:"var(--dmyqvy)"},"colors.stone.500":{value:"#78716c",variable:"var(--bAfQNX)"},"colors.stone.600":{value:"#57534e",variable:"var(--boIrZY)"},"colors.stone.700":{value:"#44403c",variable:"var(--kRLBRt)"},"colors.stone.800":{value:"#292524",variable:"var(--iKBpmW)"},"colors.stone.900":{value:"#1c1917",variable:"var(--gYiPFv)"},"colors.stone.950":{value:"#0c0a09",variable:"var(--kshUcS)"},"colors.zinc.50":{value:"#fafafa",variable:"var(--dhFdXS)"},"colors.zinc.100":{value:"#f4f4f5",variable:"var(--dGhjba)"},"colors.zinc.200":{value:"#e4e4e7",variable:"var(--efoVXJ)"},"colors.zinc.300":{value:"#d4d4d8",variable:"var(--ljOqfc)"},"colors.zinc.400":{value:"#a1a1aa",variable:"var(--cXLRGr)"},"colors.zinc.500":{value:"#71717a",variable:"var(--kcllNK)"},"colors.zinc.600":{value:"#52525b",variable:"var(--kBsYKt)"},"colors.zinc.700":{value:"#3f3f46",variable:"var(--gqwJsQ)"},"colors.zinc.800":{value:"#27272a",variable:"var(--ylgyn)"},"colors.zinc.900":{value:"#18181b",variable:"var(--hCKAFG)"},"colors.zinc.950":{value:"#09090b",variable:"var(--dtmsQb)"},"colors.gray.50":{value:"#f9fafb",variable:"var(--dcmCJN)"},"colors.gray.100":{value:"#f3f4f6",variable:"var(--ePJGsV)"},"colors.gray.200":{value:"#e5e7eb",variable:"var(--dnVpUm)"},"colors.gray.300":{value:"#d1d5db",variable:"var(--bMJKSL)"},"colors.gray.400":{value:"#9ca3af",variable:"var(--jSiOQk)"},"colors.gray.500":{value:"#6b7280",variable:"var(--iqXjOJ)"},"colors.gray.600":{value:"#4b5563",variable:"var(--gPiTqa)"},"colors.gray.700":{value:"#374151",variable:"var(--fnXooz)"},"colors.gray.800":{value:"#1f2937",variable:"var(--fKIyfA)"},"colors.gray.900":{value:"#111827",variable:"var(--ejwTdZ)"},"colors.gray.950":{value:"#030712",variable:"var(--jympbw)"},"colors.slate.0":{value:"#19191A",variable:"var(--oXohi)"},"colors.slate.1":{value:"#252525",variable:"var(--gyKIIT)"},"colors.slate.2":{value:"#303030",variable:"var(--eSphig)"},"colors.slate.3":{value:"#383838",variable:"var(--lccBJR)"},"colors.slate.4":{value:"#474747",variable:"var(--lfBdGG)"},"colors.slate.50":{value:"#f8fafc",variable:"var(--kcXOlL)"},"colors.slate.100":{value:"#f1f5f9",variable:"var(--kbRDfH)"},"colors.slate.200":{value:"#e2e8f0",variable:"var(--ivwbEU)"},"colors.slate.300":{value:"#cbd5e1",variable:"var(--dpNMHJ)"},"colors.slate.400":{value:"#94a3b8",variable:"var(--dtmoEy)"},"colors.slate.500":{value:"#64748b",variable:"var(--jCZJgj)"},"colors.slate.600":{value:"#475569",variable:"var(--hWEhFw)"},"colors.slate.700":{value:"#334155",variable:"var(--cQVSIl)"},"colors.slate.800":{value:"#1e293b",variable:"var(--hVLXiS)"},"colors.slate.900":{value:"#0f172a",variable:"var(--cQdIlH)"},"colors.slate.950":{value:"#020617",variable:"var(--iFDdka)"},"colors.ink.10":{value:"#F8F8FA",variable:"var(--izlnso)"},"colors.ink.20":{value:"#EDEDF3",variable:"var(--eRgqfH)"},"colors.ink.30":{value:"#E2E0E5",variable:"var(--KVTme)"},"colors.ink.40":{value:"#CCCAD0",variable:"var(--dkJQoR)"},"colors.ink.50":{value:"#B6B4BA",variable:"var(--ktVcUk)"},"colors.ink.60":{value:"#97959A",variable:"var(--gLQfHD)"},"colors.ink.70":{value:"#77767A",variable:"var(--cFFIOa)"},"colors.ink.80":{value:"#4E4D52",variable:"var(--cJEYlt)"},"colors.ink.90":{value:"#18171A",variable:"var(--jSQkQM)"},"colors.magic.10":{value:"#EDEBFF",variable:"var(--hLOWYd)"},"colors.magic.20":{value:"#CAC2FF",variable:"var(--bVhZHK)"},"colors.magic.30":{value:"#A799FF",variable:"var(--jYNVEH)"},"colors.magic.40":{value:"#8875FF",variable:"var(--emDeSE)"},"colors.magic.50":{value:"#6851FF",variable:"var(--aNrqF)"},"colors.magic.60":{value:"#5D40EA",variable:"var(--gzCdzi)"},"colors.magic.70":{value:"#522FD4",variable:"var(--dnMpXj)"},"colors.magic.80":{value:"#4421C3",variable:"var(--cLqlCI)"},"colors.magic.90":{value:"#3512B2",variable:"var(--kOWhzF)"},"colors.leaf.10":{value:"#E3FAF3",variable:"var(--dNokDG)"},"colors.leaf.20":{value:"#BAF5E3",variable:"var(--fIEsRl)"},"colors.leaf.30":{value:"#90F0D3",variable:"var(--kuAyOg)"},"colors.leaf.40":{value:"#48DEB1",variable:"var(--hUmnXD)"},"colors.leaf.50":{value:"#00CC8F",variable:"var(--bqMKvC)"},"colors.leaf.60":{value:"#00AA77",variable:"var(--dmcSJh)"},"colors.leaf.70":{value:"#00875F",variable:"var(--hXYYGc)"},"colors.leaf.80":{value:"#007753",variable:"var(--domHof)"},"colors.leaf.90":{value:"#006647",variable:"var(--iaiNla)"},"colors.ruby.10":{value:"#FFEAE5",variable:"var(--dDaZDc)"},"colors.ruby.20":{value:"#FFC3B3",variable:"var(--bYjnoT)"},"colors.ruby.30":{value:"#FF9B80",variable:"var(--jcIHwm)"},"colors.ruby.40":{value:"#FE7C58",variable:"var(--iuhUtx)"},"colors.ruby.50":{value:"#FC5C30",variable:"var(--ejlFbU)"},"colors.ruby.60":{value:"#E84718",variable:"var(--cEtSNL)"},"colors.ruby.70":{value:"#D43100",variable:"var(--jITmVe)"},"colors.ruby.80":{value:"#C12E02",variable:"var(--hhKBFJ)"},"colors.ruby.90":{value:"#AD2B03",variable:"var(--cWOmog)"},"colors.gold.10":{value:"#FCF4E5",variable:"var(--loKVxo)"},"colors.gold.20":{value:"#FEE5BD",variable:"var(--crbXrL)"},"colors.gold.30":{value:"#FFD594",variable:"var(--eXQnMG)"},"colors.gold.40":{value:"#EDBD72",variable:"var(--dYBcpd)"},"colors.gold.50":{value:"#DBA550",variable:"var(--gFpsJY)"},"colors.gold.60":{value:"#BF8832",variable:"var(--iXcedr)"},"colors.gold.70":{value:"#A36B14",variable:"var(--ouKZq)"},"colors.gold.80":{value:"#97630C",variable:"var(--kXQUUR)"},"colors.gold.90":{value:"#8A5A03",variable:"var(--cpjBQQ)"},"colors.sky.10":{value:"#EBF0FE",variable:"var(--dpZiSB)"},"colors.sky.20":{value:"#AFC4FF",variable:"var(--bZrrvu)"},"colors.sky.30":{value:"#7398FF",variable:"var(--cGNUcb)"},"colors.sky.40":{value:"#5482FB",variable:"var(--cGWcRs)"},"colors.sky.50":{value:"#346BF7",variable:"var(--dosFxZ)"},"colors.sky.60":{value:"#295EE7",variable:"var(--bXKOaS)"},"colors.sky.70":{value:"#1E50D6",variable:"var(--cFhqHz)"},"colors.sky.80":{value:"#1344C7",variable:"var(--cvyBYk)"},"colors.sky.90":{value:"#0737B8",variable:"var(--dcVeER)"},"colors.sky.100":{value:"#e0f2fe",variable:"var(--bMxFwZ)"},"colors.sky.200":{value:"#bae6fd",variable:"var(--vPNZS)"},"colors.sky.300":{value:"#7dd3fc",variable:"var(--bdmqGz)"},"colors.sky.400":{value:"#38bdf8",variable:"var(--bduzvQ)"},"colors.sky.500":{value:"#0ea5e9",variable:"var(--bKRccx)"},"colors.sky.600":{value:"#0284c7",variable:"var(--ujkFq)"},"colors.sky.700":{value:"#0369a1",variable:"var(--bbFNlX)"},"colors.sky.800":{value:"#075985",variable:"var(--RWYCI)"},"colors.sky.900":{value:"#0c4a6e",variable:"var(--bztBjp)"},"colors.sky.950":{value:"#082f49",variable:"var(--iNVpnc)"},"colors.chalk":{value:"#FFFFFF",variable:"var(--cemPJF)"},"colors.paper":{value:"#FFFFFF",variable:"var(--iTjmdu)"},"borderWidths.thin":{value:"0.0625rem",variable:"var(--fFEzoc)"},"borderWidths.medium":{value:"0.09375rem",variable:"var(--fCuVLy)"},"borderWidths.thick":{value:"0.125rem",variable:"var(--hiYFxW)"},"radii.xs":{value:"0.125rem",variable:"var(--ixNmpi)"},"radii.sm":{value:"0.25rem",variable:"var(--bewZvn)"},"radii.md":{value:"0.375rem",variable:"var(--kLOfAE)"},"radii.lg":{value:"0.5rem",variable:"var(--dxfumK)"},"radii.xl":{value:"0.75rem",variable:"var(--UXfgJ)"},"radii.2xl":{value:"1rem",variable:"var(--bphCwb)"},"radii.3xl":{value:"1.5rem",variable:"var(--eougbK)"},"radii.full":{value:"9999px",variable:"var(--kkkBVq)"},"radii.button":{value:"var(--button-radius, 9999px)",variable:"var(--cDRSmz)"},"radii.container":{value:"var(--container-radius, 1.75rem)",variable:"var(--insZoq)"},"radii.input":{value:"var(--input-radius, 0.5rem)",variable:"var(--hxxJkr)"},"sizes.0":{value:"0rem",variable:"var(--kTdGYg)"},"sizes.1":{value:"0.25rem",variable:"var(--cCUBeV)"},"sizes.2":{value:"0.5rem",variable:"var(--gsUKim)"},"sizes.3":{value:"0.75rem",variable:"var(--jshnNX)"},"sizes.4":{value:"1rem",variable:"var(--juMtMc)"},"sizes.5":{value:"1.25rem",variable:"var(--beDnSR)"},"sizes.6":{value:"1.5rem",variable:"var(--eUDwWi)"},"sizes.7":{value:"1.75rem",variable:"var(--hTQaBT)"},"sizes.8":{value:"2rem",variable:"var(--cAmzCM)"},"sizes.9":{value:"2.25rem",variable:"var(--fzzdix)"},"sizes.10":{value:"2.5rem",variable:"var(--dDnfaV)"},"sizes.11":{value:"2.75rem",variable:"var(--cpjPHA)"},"sizes.12":{value:"3rem",variable:"var(--ckODEv)"},"sizes.13":{value:"3.25rem",variable:"var(--WLola)"},"sizes.14":{value:"3.5rem",variable:"var(--hTmzdp)"},"sizes.15":{value:"3.75rem",variable:"var(--gFjjJU)"},"sizes.16":{value:"4rem",variable:"var(--gANXGP)"},"sizes.20":{value:"5rem",variable:"var(--htnoem)"},"sizes.24":{value:"6rem",variable:"var(--tQYHK)"},"sizes.28":{value:"7rem",variable:"var(--kcGldO)"},"sizes.32":{value:"8rem",variable:"var(--gMkTEx)"},"sizes.36":{value:"9rem",variable:"var(--lcknGR)"},"sizes.40":{value:"10rem",variable:"var(--kveXIc)"},"sizes.44":{value:"11rem",variable:"var(--gsriJI)"},"sizes.48":{value:"12rem",variable:"var(--bPcliI)"},"sizes.52":{value:"13rem",variable:"var(--Mxqsr)"},"sizes.56":{value:"14rem",variable:"var(--hZfkST)"},"sizes.60":{value:"15rem",variable:"var(--fUWaSi)"},"sizes.64":{value:"16rem",variable:"var(--bSilTO)"},"sizes.72":{value:"18rem",variable:"var(--fnTGst)"},"sizes.80":{value:"20rem",variable:"var(--dAFdyM)"},"sizes.96":{value:"24rem",variable:"var(--jxszKr)"},"sizes.0.5":{value:"0.125rem",variable:"var(--hghuKL)"},"sizes.1.5":{value:"0.375rem",variable:"var(--drtIxO)"},"sizes.2.5":{value:"0.625rem",variable:"var(--siblR)"},"sizes.3.5":{value:"0.875rem",variable:"var(--hSPYxQ)"},"sizes.xs":{value:"20rem",variable:"var(--izvCpj)"},"sizes.sm":{value:"24rem",variable:"var(--aTIGG)"},"sizes.md":{value:"28rem",variable:"var(--kMQJUV)"},"sizes.lg":{value:"32rem",variable:"var(--dyNKmL)"},"sizes.xl":{value:"36rem",variable:"var(--ToPgI)"},"sizes.2xl":{value:"42rem",variable:"var(--btoFLe)"},"sizes.3xl":{value:"48rem",variable:"var(--esBjqP)"},"sizes.4xl":{value:"56rem",variable:"var(--hrOPNc)"},"sizes.5xl":{value:"64rem",variable:"var(--krbtsN)"},"sizes.6xl":{value:"72rem",variable:"var(--cRFSXi)"},"sizes.7xl":{value:"80rem",variable:"var(--fQSwCT)"},"sizes.8xl":{value:"90rem",variable:"var(--iQceEA)"},"sizes.prose":{value:"65ch",variable:"var(--jAesVz)"},"sizes.full":{value:"100%",variable:"var(--khWApH)"},"sizes.min":{value:"min-content",variable:"var(--eOXrSu)"},"sizes.max":{value:"max-content",variable:"var(--jNBRbM)"},"sizes.fit":{value:"fit-content",variable:"var(--UhpHH)"},"sizes.breakpoint-sm":{value:"640px",variable:"var(--eomHOU)"},"sizes.breakpoint-md":{value:"768px",variable:"var(--iujnmj)"},"sizes.breakpoint-lg":{value:"1024px",variable:"var(--gThSgZ)"},"sizes.breakpoint-xl":{value:"1280px",variable:"var(--cssArG)"},"sizes.breakpoint-2xl":{value:"1536px",variable:"var(--jESPPc)"},"zIndex.max":{value:"2147483647",variable:"var(--exvVve)"},"breakpoints.sm":{value:"640px",variable:"var(--ikokJA)"},"breakpoints.md":{value:"768px",variable:"var(--kSvAmr)"},"breakpoints.lg":{value:"1024px",variable:"var(--uwdhN)"},"breakpoints.xl":{value:"1280px",variable:"var(--eyfDzy)"},"breakpoints.2xl":{value:"1536px",variable:"var(--dgHGKE)"},"colors.surface.primary":{value:"var(--jlmaOs)",variable:"var(--jlmaOs)"},"colors.surface.secondary":{value:"var(--Iycdi)",variable:"var(--Iycdi)"},"colors.surface.tertiary":{value:"var(--crPUBo)",variable:"var(--crPUBo)"},"colors.surface.quaternary":{value:"var(--kJiqPO)",variable:"var(--kJiqPO)"},"colors.text.primary":{value:"var(--iagzVE)",variable:"var(--iagzVE)"},"colors.text.secondary":{value:"var(--YyYdq)",variable:"var(--YyYdq)"},"colors.text.tertiary":{value:"var(--kFAOBM)",variable:"var(--kFAOBM)"},"colors.text.quaternary":{value:"var(--iodyUC)",variable:"var(--iodyUC)"},"colors.neutral.primary":{value:"var(--DLYOY)",variable:"var(--DLYOY)"},"colors.neutral.secondary":{value:"var(--gfUEye)",variable:"var(--gfUEye)"},"colors.neutral.tertiary":{value:"var(--qsPVo)",variable:"var(--qsPVo)"},"colors.neutral.quaternary":{value:"var(--kyjnqS)",variable:"var(--kyjnqS)"},"colors.brand.lightest":{value:"var(--iAjuTO)",variable:"var(--iAjuTO)"},"colors.brand.lighter":{value:"var(--gzHfkH)",variable:"var(--gzHfkH)"},"colors.brand.base":{value:"var(--gBHQLb)",variable:"var(--gBHQLb)"},"colors.brand.darker":{value:"var(--etZyR)",variable:"var(--etZyR)"},"colors.brand.darkest":{value:"var(--enVPNY)",variable:"var(--enVPNY)"},"colors.positive.lightest":{value:"var(--itfeCm)",variable:"var(--itfeCm)"},"colors.positive.lighter":{value:"var(--qkXv)",variable:"var(--qkXv)"},"colors.positive.base":{value:"var(--gHzsmL)",variable:"var(--gHzsmL)"},"colors.positive.darker":{value:"var(--cOyFst)",variable:"var(--cOyFst)"},"colors.positive.darkest":{value:"var(--fKbyps)",variable:"var(--fKbyps)"},"colors.negative.lightest":{value:"var(--dxaFjW)",variable:"var(--dxaFjW)"},"colors.negative.lighter":{value:"var(--dnTPVf)",variable:"var(--dnTPVf)"},"colors.negative.base":{value:"var(--bWuoqD)",variable:"var(--bWuoqD)"},"colors.negative.darker":{value:"var(--iqIoUR)",variable:"var(--iqIoUR)"},"colors.negative.darkest":{value:"var(--iZlvjY)",variable:"var(--iZlvjY)"},"colors.warning.lightest":{value:"var(--ldafrz)",variable:"var(--ldafrz)"},"colors.warning.lighter":{value:"var(--leQkZS)",variable:"var(--leQkZS)"},"colors.warning.base":{value:"var(--jmTbXW)",variable:"var(--jmTbXW)"},"colors.warning.darker":{value:"var(--dLLYUY)",variable:"var(--dLLYUY)"},"colors.warning.darkest":{value:"var(--dZIprB)",variable:"var(--dZIprB)"},"colors.dedicated.lightest":{value:"var(--gaBiDO)",variable:"var(--gaBiDO)"},"colors.dedicated.lighter":{value:"var(--fxHMpn)",variable:"var(--fxHMpn)"},"colors.dedicated.base":{value:"var(--fQFmqL)",variable:"var(--fQFmqL)"},"colors.dedicated.darker":{value:"var(--dUMcYZ)",variable:"var(--dUMcYZ)"},"colors.dedicated.darkest":{value:"var(--dntrJc)",variable:"var(--dntrJc)"},"spacing.-1":{value:"calc(var(--dacYEG) * -1)",variable:"var(--dacYEG)"},"spacing.-2":{value:"calc(var(--ebuyxV) * -1)",variable:"var(--ebuyxV)"},"spacing.-3":{value:"calc(var(--bYDCFo) * -1)",variable:"var(--bYDCFo)"},"spacing.-4":{value:"calc(var(--hIimNX) * -1)",variable:"var(--hIimNX)"},"spacing.-5":{value:"calc(var(--fFrqVq) * -1)",variable:"var(--fFrqVq)"},"spacing.-6":{value:"calc(var(--gGIQOF) * -1)",variable:"var(--gGIQOF)"},"spacing.-7":{value:"calc(var(--eDRUVY) * -1)",variable:"var(--eDRUVY)"},"spacing.-8":{value:"calc(var(--flZesP) * -1)",variable:"var(--flZesP)"},"spacing.-9":{value:"calc(var(--djiiAi) * -1)",variable:"var(--djiiAi)"},"spacing.-10":{value:"calc(var(--ieMJEa) * -1)",variable:"var(--ieMJEa)"},"spacing.-11":{value:"calc(var(--cBFxYr) * -1)",variable:"var(--cBFxYr)"},"spacing.-12":{value:"calc(var(--uyqLg) * -1)",variable:"var(--uyqLg)"},"spacing.-14":{value:"calc(var(--hXmVPi) * -1)",variable:"var(--hXmVPi)"},"spacing.-16":{value:"calc(var(--mYCWo) * -1)",variable:"var(--mYCWo)"},"spacing.-20":{value:"calc(var(--jgejxp) * -1)",variable:"var(--jgejxp)"},"spacing.-24":{value:"calc(var(--iYEvIx) * -1)",variable:"var(--iYEvIx)"},"spacing.-28":{value:"calc(var(--dzpWeZ) * -1)",variable:"var(--dzpWeZ)"},"spacing.-32":{value:"calc(var(--fifqnK) * -1)",variable:"var(--fifqnK)"},"spacing.-36":{value:"calc(var(--faFCyS) * -1)",variable:"var(--faFCyS)"},"spacing.-40":{value:"calc(var(--bxwoov) * -1)",variable:"var(--bxwoov)"},"spacing.-44":{value:"calc(var(--huPzrf) * -1)",variable:"var(--huPzrf)"},"spacing.-48":{value:"calc(var(--hgdKvb) * -1)",variable:"var(--hgdKvb)"},"spacing.-52":{value:"calc(var(--cZMJbQ) * -1)",variable:"var(--cZMJbQ)"},"spacing.-56":{value:"calc(var(--iXfUeA) * -1)",variable:"var(--iXfUeA)"},"spacing.-60":{value:"calc(var(--vWSpd) * -1)",variable:"var(--vWSpd)"},"spacing.-64":{value:"calc(var(--gtqdrN) * -1)",variable:"var(--gtqdrN)"},"spacing.-72":{value:"calc(var(--hNtIEu) * -1)",variable:"var(--hNtIEu)"},"spacing.-80":{value:"calc(var(--kqIPsj) * -1)",variable:"var(--kqIPsj)"},"spacing.-96":{value:"calc(var(--wdMRQ) * -1)",variable:"var(--wdMRQ)"},"spacing.-0.5":{value:"calc(var(--gEfgCY) * -1)",variable:"var(--gEfgCY)"},"spacing.-1.5":{value:"calc(var(--jJIQbV) * -1)",variable:"var(--jJIQbV)"},"spacing.-2.5":{value:"calc(var(--cqwGG) * -1)",variable:"var(--cqwGG)"},"spacing.-3.5":{value:"calc(var(--dhUgfD) * -1)",variable:"var(--dhUgfD)"},"colors.colorPalette":{value:"var(--idUrcU)",variable:"var(--idUrcU)"},"colors.colorPalette.50":{value:"var(--bgowFI)",variable:"var(--bgowFI)"},"colors.colorPalette.100":{value:"var(--iSScQY)",variable:"var(--iSScQY)"},"colors.colorPalette.200":{value:"var(--bdPmBD)",variable:"var(--bdPmBD)"},"colors.colorPalette.300":{value:"var(--EuecW)",variable:"var(--EuecW)"},"colors.colorPalette.400":{value:"var(--dIdJaV)",variable:"var(--dIdJaV)"},"colors.colorPalette.500":{value:"var(--iOGEjQ)",variable:"var(--iOGEjQ)"},"colors.colorPalette.600":{value:"var(--ZDNUv)",variable:"var(--ZDNUv)"},"colors.colorPalette.700":{value:"var(--AiFvO)",variable:"var(--AiFvO)"},"colors.colorPalette.800":{value:"var(--iCIPjV)",variable:"var(--iCIPjV)"},"colors.colorPalette.900":{value:"var(--ctQaTU)",variable:"var(--ctQaTU)"},"colors.colorPalette.950":{value:"var(--eHAyIp)",variable:"var(--eHAyIp)"},"colors.colorPalette.0":{value:"var(--fWGYml)",variable:"var(--fWGYml)"},"colors.colorPalette.1":{value:"var(--ldjTvg)",variable:"var(--ldjTvg)"},"colors.colorPalette.2":{value:"var(--dohdfL)",variable:"var(--dohdfL)"},"colors.colorPalette.3":{value:"var(--cOLUHe)",variable:"var(--cOLUHe)"},"colors.colorPalette.4":{value:"var(--fSvzFd)",variable:"var(--fSvzFd)"},"colors.colorPalette.10":{value:"var(--bkzVmQ)",variable:"var(--bkzVmQ)"},"colors.colorPalette.20":{value:"var(--eKSOwr)",variable:"var(--eKSOwr)"},"colors.colorPalette.30":{value:"var(--elxFXK)",variable:"var(--elxFXK)"},"colors.colorPalette.40":{value:"var(--hphkVJ)",variable:"var(--hphkVJ)"},"colors.colorPalette.60":{value:"var(--eGHpPj)",variable:"var(--eGHpPj)"},"colors.colorPalette.70":{value:"var(--ehmhqC)",variable:"var(--ehmhqC)"},"colors.colorPalette.80":{value:"var(--UqHFN)",variable:"var(--UqHFN)"},"colors.colorPalette.90":{value:"var(--gaTCOI)",variable:"var(--gaTCOI)"},"colors.colorPalette.primary":{value:"var(--gbCbhR)",variable:"var(--gbCbhR)"},"colors.colorPalette.secondary":{value:"var(--dDofdL)",variable:"var(--dDofdL)"},"colors.colorPalette.tertiary":{value:"var(--fMuFOV)",variable:"var(--fMuFOV)"},"colors.colorPalette.quaternary":{value:"var(--eTxsRn)",variable:"var(--eTxsRn)"},"colors.colorPalette.lightest":{value:"var(--cKrWrJ)",variable:"var(--cKrWrJ)"},"colors.colorPalette.lighter":{value:"var(--jxGibo)",variable:"var(--jxGibo)"},"colors.colorPalette.base":{value:"var(--fEVzA)",variable:"var(--fEVzA)"},"colors.colorPalette.darker":{value:"var(--bHCqTC)",variable:"var(--bHCqTC)"},"colors.colorPalette.darkest":{value:"var(--iPnjZj)",variable:"var(--iPnjZj)"}};function lr(e,r){return ir[e]?.value||r}lr.var=function(e,r){return ir[e]?.variable||r};const sr="undefined"!=typeof document?n.useLayoutEffect:()=>{};const cr={prefix:String(Math.round(1e10*Math.random())),current:0},dr=n.createContext(cr),ur=n.createContext(!1);let vr=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),pr=new WeakMap;const fr="function"==typeof n.useId?function(e){let r=n.useId(),[t]=s(br()),a=t||"test"===process.env.NODE_ENV?"react-aria":`react-aria${cr.prefix}`;return e||`${a}-${r}`}:function(e){let r=u(dr);r!==cr||vr||"production"===process.env.NODE_ENV||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let t=function(e=!1){let r=u(dr),t=c(null);if(null===t.current&&!e){var a,o;let e=null===(o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o||null===(a=o.ReactCurrentOwner)||void 0===a?void 0:a.current;if(e){let t=pr.get(e);null==t?pr.set(e,{id:r.current,state:e.memoizedState}):e.memoizedState!==t.state&&(r.current=t.id,pr.delete(e))}t.current=++r.current}return t.current}(!!e),a=r===cr&&"test"===process.env.NODE_ENV?"react-aria":`react-aria${r.prefix}`;return e||`${a}-${t}`};function gr(){return!1}function hr(){return!0}function mr(e){return()=>{}}function br(){return"function"==typeof n.useSyncExternalStore?n.useSyncExternalStore(mr,gr,hr):u(ur)}let Cr,yr=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),wr=new Map;function xr(e){let[r,t]=s(e),a=c(null),n=fr(r),o=c(null);if(Cr&&Cr.register(o,n),yr){const e=wr.get(n);e&&!e.includes(a)?e.push(a):wr.set(n,[a])}return sr(()=>{let e=n;return()=>{Cr&&Cr.unregister(o),wr.delete(e)}},[n]),v(()=>{let e=a.current;return e&&t(e),()=>{e&&(a.current=null)}}),n}function Er(e,r){if(e===r)return e;let t=wr.get(e);if(t)return t.forEach(e=>e.current=r),r;let a=wr.get(r);return a?(a.forEach(r=>r.current=e),e):r}function kr(e=[]){let r=xr(),[t,a]=function(e){let[r,t]=s(e),a=c(r),n=c(null),o=c(()=>{if(!n.current)return;let e=n.current.next();e.done?n.current=null:a.current===e.value?o.current():t(e.value)});sr(()=>{a.current=r,n.current&&o.current()});let i=d(e=>{n.current=e(a.current),o.current()},[o]);return[r,i]}(r),n=d(()=>{a(function*(){yield r,yield document.getElementById(r)?r:void 0})},[r,a]);return sr(n,[r,n,...e]),t}function Lr(...e){return(...r)=>{for(let t of e)"function"==typeof t&&t(...r)}}"undefined"!=typeof FinalizationRegistry&&(Cr=new FinalizationRegistry(e=>{wr.delete(e)}));const Ir=e=>{var r;return null!==(r=null==e?void 0:e.ownerDocument)&&void 0!==r?r:document},Sr=e=>{if(e&&"window"in e&&e.window===e)return e;return Ir(e).defaultView||window};function Mr(e,r){return!(!r||!e)&&e.contains(r)}const Tr=(e=document)=>e.activeElement;function _r(e){return e.target}function Pr(e){var r,t,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=Pr(e[r]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function Ar(){for(var e,r,t=0,a="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=Pr(e))&&(a&&(a+=" "),a+=r);return a}function Nr(...e){let r={...e[0]};for(let t=1;t<e.length;t++){let a=e[t];for(let e in a){let t=r[e],n=a[e];"function"==typeof t&&"function"==typeof n&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?r[e]=Lr(t,n):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof t||"string"!=typeof n?"id"===e&&t&&n?r.id=Er(t,n):r[e]=void 0!==n?n:t:r[e]=Ar(t,n)}}return r}const Rr=new Set(["id"]),Or=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Dr=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Fr=new Set(["dir","lang","hidden","inert","translate"]),jr=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),zr=/^(data-.*)$/;function Br(e,r={}){let{labelable:t,isLink:a,global:n,events:o=n,propNames:i}=r,l={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Rr.has(r)||t&&Or.has(r)||a&&Dr.has(r)||n&&Fr.has(r)||o&&(jr.has(r)||r.endsWith("Capture")&&jr.has(r.slice(0,-7)))||(null==i?void 0:i.has(r))||zr.test(r))&&(l[r]=e[r]);return l}function Vr(e){if(function(){if(null==Hr){Hr=!1;try{document.createElement("div").focus({get preventScroll(){return Hr=!0,!0}})}catch{}}return Hr}())e.focus({preventScroll:!0});else{let r=function(e){let r=e.parentNode,t=[],a=document.scrollingElement||document.documentElement;for(;r instanceof HTMLElement&&r!==a;)(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)&&t.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),r=r.parentNode;a instanceof HTMLElement&&t.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft});return t}(e);e.focus(),function(e){for(let{element:r,scrollTop:t,scrollLeft:a}of e)r.scrollTop=t,r.scrollLeft=a}(r)}}let Hr=null;function Wr(e){var r;if("undefined"==typeof window||null==window.navigator)return!1;let t=null===(r=window.navigator.userAgentData)||void 0===r?void 0:r.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Ur(e){var r;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(r=window.navigator.userAgentData)||void 0===r?void 0:r.platform)||window.navigator.platform)}function Yr(e){if("test"===process.env.NODE_ENV)return e;let r=null;return()=>(null==r&&(r=e()),r)}const Zr=Yr(function(){return Ur(/^Mac/i)}),Gr=Yr(function(){return Ur(/^iPhone/i)}),qr=Yr(function(){return Ur(/^iPad/i)||Zr()&&navigator.maxTouchPoints>1}),Xr=Yr(function(){return Gr()||qr()});Yr(function(){return Zr()||Xr()});const Kr=Yr(function(){return Wr(/AppleWebKit/i)&&!Qr()}),Qr=Yr(function(){return Wr(/Chrome/i)}),Jr=Yr(function(){return Wr(/Android/i)}),$r=Yr(function(){return Wr(/Firefox/i)});function et(e,r,t=!0){var a,n;let{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}=r;$r()&&(null===(n=window.event)||void 0===n||null===(a=n.type)||void 0===a?void 0:a.startsWith("key"))&&"_blank"===e.target&&(Zr()?o=!0:i=!0);let c=Kr()&&Zr()&&!qr()&&"test"!==process.env.NODE_ENV?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});et.isOpening=t,Vr(e),e.dispatchEvent(c),et.isOpening=!1}et.isOpening=!1;let rt=new Map,tt=new Set;function at(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let r=t=>{if(!e(t)||!t.target)return;let a=rt.get(t.target);if(a&&(a.delete(t.propertyName),0===a.size&&(t.target.removeEventListener("transitioncancel",r),rt.delete(t.target)),0===rt.size)){for(let e of tt)e();tt.clear()}};document.body.addEventListener("transitionrun",t=>{if(!e(t)||!t.target)return;let a=rt.get(t.target);a||(a=new Set,rt.set(t.target,a),t.target.addEventListener("transitioncancel",r,{once:!0})),a.add(t.propertyName)}),document.body.addEventListener("transitionend",r)}function nt(e){requestAnimationFrame(()=>{!function(){for(const[e]of rt)"isConnected"in e&&!e.isConnected&&rt.delete(e)}(),0===rt.size?e():tt.add(e)})}function ot(){let e=c(new Map),r=d((r,t,a,n)=>{let o=(null==n?void 0:n.once)?(...r)=>{e.current.delete(a),a(...r)}:a;e.current.set(a,{type:t,eventTarget:r,fn:o,options:n}),r.addEventListener(t,o,n)},[]),t=d((r,t,a,n)=>{var o;let i=(null===(o=e.current.get(a))||void 0===o?void 0:o.fn)||a;r.removeEventListener(t,i,n),e.current.delete(a)},[]),a=d(()=>{e.current.forEach((e,r)=>{t(e.eventTarget,e.type,r,e.options)})},[t]);return v(()=>a,[a]),{addGlobalListener:r,removeGlobalListener:t,removeAllGlobalListeners:a}}var it;"undefined"!=typeof document&&("loading"!==document.readyState?at():document.addEventListener("DOMContentLoaded",at));const lt=null!==(it=n.useInsertionEffect)&&void 0!==it?it:sr;function st(e){const r=c(null);return lt(()=>{r.current=e},[e]),d((...e)=>{const t=r.current;return null==t?void 0:t(...e)},[])}function ct(e){const{ref:r,box:t,onResize:a}=e;let n=st(a);v(()=>{let e=null==r?void 0:r.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{const r=new window.ResizeObserver(e=>{e.length&&n()});return r.observe(e,{box:t}),()=>{e&&r.unobserve(e)}}}},[r,t])}function dt(e,r){sr(()=>{if(e&&e.ref&&r)return e.ref.current=r.current,()=>{e.ref&&(e.ref.current=null)}})}function ut(e,r){if(!e)return!1;let t=window.getComputedStyle(e),a=/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY);return a&&r&&(a=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),a}function vt(e,r){let t=e;for(ut(t,r)&&(t=t.parentElement);t&&!ut(t,r);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const pt=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ft(e){return e instanceof HTMLInputElement&&!pt.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function gt(e){return!(""!==e.pointerType||!e.isTrusted)||(Jr()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function ht(e,r,t){let a=st(()=>{t&&t(r)});v(()=>{var r;let t=null==e||null===(r=e.current)||void 0===r?void 0:r.form;return null==t||t.addEventListener("reset",a),()=>{null==t||t.removeEventListener("reset",a)}},[e])}const mt="undefined"!=typeof Element&&"checkVisibility"in Element.prototype;function bt(e,r){return mt?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){const r=Sr(e);if(!(e instanceof r.HTMLElement||e instanceof r.SVGElement))return!1;let{display:t,visibility:a}=e.style,n="none"!==t&&"hidden"!==a&&"collapse"!==a;if(n){const{getComputedStyle:r}=e.ownerDocument.defaultView;let{display:t,visibility:a}=r(e);n="none"!==t&&"hidden"!==a&&"collapse"!==a}return n}(e)&&function(e,r){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!r||"SUMMARY"===r.nodeName||e.hasAttribute("open"))}(e,r)&&(!e.parentElement||bt(e.parentElement,e))}const Ct=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],yt=Ct.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ct.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const wt=Ct.join(':not([hidden]):not([tabindex="-1"]),');function xt(e){return e.matches(yt)&&bt(e)&&!kt(e)}function Et(e){return e.matches(wt)&&bt(e)&&!kt(e)}function kt(e){let r=e;for(;null!=r;){if(r instanceof r.ownerDocument.defaultView.HTMLElement&&r.inert)return!0;r=r.parentElement}return!1}var Lt;const It="undefined"!=typeof document?null!==(Lt=n.useInsertionEffect)&&void 0!==Lt?Lt:n.useLayoutEffect:()=>{};function St(e,r=-1/0,t=1/0){return Math.min(Math.max(e,r),t)}function Mt(e){let r=e;return r.nativeEvent=e,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function Tt(e,r){Object.defineProperty(e,"target",{value:r}),Object.defineProperty(e,"currentTarget",{value:r})}function _t(e){let r=c({isFocused:!1,observer:null});return sr(()=>{const e=r.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),d(t=>{if(t.target instanceof HTMLButtonElement||t.target instanceof HTMLInputElement||t.target instanceof HTMLTextAreaElement||t.target instanceof HTMLSelectElement){r.current.isFocused=!0;let a=t.target,n=t=>{if(r.current.isFocused=!1,a.disabled){let r=Mt(t);null==e||e(r)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};a.addEventListener("focusout",n,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&a.disabled){var e;null===(e=r.current.observer)||void 0===e||e.disconnect();let t=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}}),r.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let Pt=!1;function At(e){for(;e&&!xt(e);)e=e.parentElement;let r=Sr(e),t=r.document.activeElement;if(!t||t===e)return;Pt=!0;let a=!1,n=e=>{(e.target===t||a)&&e.stopImmediatePropagation()},o=r=>{(r.target===t||a)&&(r.stopImmediatePropagation(),e||a||(a=!0,Vr(t),s()))},i=r=>{(r.target===e||a)&&r.stopImmediatePropagation()},l=r=>{(r.target===e||a)&&(r.stopImmediatePropagation(),a||(a=!0,Vr(t),s()))};r.addEventListener("blur",n,!0),r.addEventListener("focusout",o,!0),r.addEventListener("focusin",l,!0),r.addEventListener("focus",i,!0);let s=()=>{cancelAnimationFrame(c),r.removeEventListener("blur",n,!0),r.removeEventListener("focusout",o,!0),r.removeEventListener("focusin",l,!0),r.removeEventListener("focus",i,!0),Pt=!1,a=!1},c=requestAnimationFrame(s);return s}let Nt="default",Rt="",Ot=new WeakMap;function Dt(e){if(Xr()){if("default"===Nt){const r=Ir(e);Rt=r.documentElement.style.webkitUserSelect,r.documentElement.style.webkitUserSelect="none"}Nt="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let r="userSelect"in e.style?"userSelect":"webkitUserSelect";Ot.set(e,e.style[r]),e.style[r]="none"}}function Ft(e){if(Xr()){if("disabled"!==Nt)return;Nt="restoring",setTimeout(()=>{nt(()=>{if("restoring"===Nt){const r=Ir(e);"none"===r.documentElement.style.webkitUserSelect&&(r.documentElement.style.webkitUserSelect=Rt||""),Rt="",Nt="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ot.has(e)){let r=Ot.get(e),t="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[t]&&(e.style[t]=r),""===e.getAttribute("style")&&e.removeAttribute("style"),Ot.delete(e)}}const jt=n.createContext({register:()=>{}});function zt(e,r,t){if(!r.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return r.get(e)}function Bt(e,r,t){!function(e,r){if(r.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,r),r.set(e,t)}function Vt(e,r,t){return function(e,r,t){if(r.set)r.set.call(e,t);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=t}}(e,zt(e,r,"set"),t),t}jt.displayName="PressResponderContext";var Ht=new WeakMap;class Wt{continuePropagation(){Vt(this,Ht,!1)}get shouldStopPropagation(){return function(e,r){return r.get?r.get.call(e):r.value}(e=this,zt(e,Ht,"get"));var e}constructor(e,r,t,a){var n;Bt(this,Ht,{writable:!0,value:void 0}),Vt(this,Ht,!0);let o=null!==(n=null==a?void 0:a.target)&&void 0!==n?n:t.currentTarget;const i=null==o?void 0:o.getBoundingClientRect();let l,s,c=0,d=null;null!=t.clientX&&null!=t.clientY&&(s=t.clientX,d=t.clientY),i&&(null!=s&&null!=d?(l=s-i.left,c=d-i.top):(l=i.width/2,c=i.height/2)),this.type=e,this.pointerType=r,this.target=t.currentTarget,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.x=l,this.y=c}}const Ut=Symbol("linkClicked"),Yt="react-aria-pressable-style",Zt="data-react-aria-pressable";function Gt(e){let{onPress:r,onPressChange:t,onPressStart:a,onPressEnd:n,onPressUp:o,onClick:l,isDisabled:p,isPressed:f,preventFocusOnPress:g,shouldCancelOnPointerExit:h,allowTextSelectionOnPress:m,ref:b,...C}=function(e){let r=u(jt);if(r){let{register:t,...a}=r;e=Nr(a,e),t()}return dt(r,e.ref),e}(e),[y,x]=s(!1),E=c({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:k,removeAllGlobalListeners:L,removeGlobalListener:I}=ot(),S=d((e,r)=>{let n=E.current;if(p||n.didFirePressStart)return!1;let o=!0;if(n.isTriggeringEvent=!0,a){let t=new Wt("pressstart",r,e);a(t),o=t.shouldStopPropagation}return t&&t(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,x(!0),o},[p,a,t]),M=d((e,a,o=!0)=>{let i=E.current;if(!i.didFirePressStart)return!1;i.didFirePressStart=!1,i.isTriggeringEvent=!0;let l=!0;if(n){let r=new Wt("pressend",a,e);n(r),l=r.shouldStopPropagation}if(t&&t(!1),x(!1),r&&o&&!p){let t=new Wt("press",a,e);r(t),l&&(l=t.shouldStopPropagation)}return i.isTriggeringEvent=!1,l},[p,n,t,r]),T=st(M),_=d((e,r)=>{let t=E.current;if(p)return!1;if(o){t.isTriggeringEvent=!0;let a=new Wt("pressup",r,e);return o(a),t.isTriggeringEvent=!1,a.shouldStopPropagation}return!0},[p,o]),P=st(_),A=d(e=>{let r=E.current;if(r.isPressed&&r.target){r.didFirePressStart&&null!=r.pointerType&&M(Jt(r.target,e),r.pointerType,!1),r.isPressed=!1,V(null),r.isOverTarget=!1,r.activePointerId=null,r.pointerType=null,L(),m||Ft(r.target);for(let e of r.disposables)e();r.disposables=[]}},[m,L,M]),N=st(A),R=d(e=>{h&&A(e)},[h,A]),O=d(e=>{p||null==l||l(e)},[p,l]),D=d((e,r)=>{if(!p&&l){let t=new MouseEvent("click",e);Tt(t,r),l(Mt(t))}},[p,l]),F=st(D),[j,z]=s(!1);sr(()=>{let e=E.current;if(j){let r=r=>{var t;if(e.isPressed&&e.target&&Xt(r,e.target)){var a;ea(_r(r),r.key)&&r.preventDefault();let t=_r(r),n=Mr(e.target,_r(r));T(Jt(e.target,r),"keyboard",n),n&&F(r,e.target),L(),"Enter"!==r.key&&qt(e.target)&&Mr(e.target,t)&&!r[Ut]&&(r[Ut]=!0,et(e.target,r,!1)),e.isPressed=!1,z(!1),null===(a=e.metaKeyEvents)||void 0===a||a.delete(r.key)}else if("Meta"===r.key&&(null===(t=e.metaKeyEvents)||void 0===t?void 0:t.size)){var n;let r=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let t of r.values())null===(n=e.target)||void 0===n||n.dispatchEvent(new KeyboardEvent("keyup",t))}},t=e.target,a=r=>{t&&Xt(r,t)&&!r.repeat&&Mr(t,_r(r))&&e.target&&P(Jt(e.target,r),"keyboard")},n=Lr(a,r);return k(Ir(e.target),"keyup",n,!0),()=>{I(Ir(e.target),"keyup",n,!0)}}},[j,k,L,I]);let[B,V]=s(null);sr(()=>{let e=E.current;if("pointer"===B){let r=r=>{if(r.pointerId===e.activePointerId&&e.isPressed&&0===r.button&&e.target){if(Mr(e.target,_r(r))&&null!=e.pointerType){let t=!1,a=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(t?N(r):(Vr(e.target),e.target.click()))},80);k(r.currentTarget,"click",()=>t=!0,!0),e.disposables.push(()=>clearTimeout(a))}else N(r);e.isOverTarget=!1}},t=e=>{N(e)};return k(Ir(e.target),"pointerup",r,!1),k(Ir(e.target),"pointercancel",t,!1),()=>{I(Ir(e.target),"pointerup",r,!1),I(Ir(e.target),"pointercancel",t,!1)}}if("mouse"===B&&"test"===process.env.NODE_ENV){let r=r=>{0===r.button&&(e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:(e.target&&e.target.contains(r.target)&&null!=e.pointerType||N(r),e.isOverTarget=!1))};return k(Ir(e.target),"mouseup",r,!1),()=>{I(Ir(e.target),"mouseup",r,!1)}}if("touch"===B&&"test"===process.env.NODE_ENV){let r=r=>{e.isPressed&&Mr(_r(r),e.target)&&N({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};return k(Sr(e.target),"scroll",r,!0),()=>{I(Sr(e.target),"scroll",r,!0)}}},[B,k,I]);let H=i(()=>{let e=E.current,r={onKeyDown(r){if(Xt(r.nativeEvent,r.currentTarget)&&Mr(r.currentTarget,_r(r.nativeEvent))){var t;ea(_r(r.nativeEvent),r.key)&&r.preventDefault();let a=!0;e.isPressed||r.repeat||(e.target=r.currentTarget,e.isPressed=!0,z(!0),e.pointerType="keyboard",a=S(r,"keyboard")),a&&r.stopPropagation(),r.metaKey&&Zr()&&(null===(t=e.metaKeyEvents)||void 0===t||t.set(r.key,r.nativeEvent))}else"Meta"===r.key&&(e.metaKeyEvents=new Map)},onClick(r){if((!r||Mr(r.currentTarget,_r(r.nativeEvent)))&&r&&0===r.button&&!e.isTriggeringEvent&&!et.isOpening){let t=!0;if(p&&r.preventDefault(),e.ignoreEmulatedMouseEvents||e.isPressed||"virtual"!==e.pointerType&&!gt(r.nativeEvent)){if(e.isPressed&&"keyboard"!==e.pointerType){let a=e.pointerType||r.nativeEvent.pointerType||"virtual",n=_(Jt(r.currentTarget,r),a),o=M(Jt(r.currentTarget,r),a,!0);t=n&&o,e.isOverTarget=!1,O(r),A(r)}}else{let e=S(r,"virtual"),a=_(r,"virtual"),n=M(r,"virtual");O(r),t=e&&a&&n}e.ignoreEmulatedMouseEvents=!1,t&&r.stopPropagation()}}};return"undefined"!=typeof PointerEvent?(r.onPointerDown=r=>{if(0!==r.button||!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(t=r.nativeEvent,!Jr()&&0===t.width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"===t.pointerType)return void(e.pointerType="virtual");var t;e.pointerType=r.pointerType;let a=!0;if(!e.isPressed){e.isPressed=!0,V("pointer"),e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,m||Dt(e.target),a=S(r,e.pointerType);let t=_r(r.nativeEvent);"releasePointerCapture"in t&&t.releasePointerCapture(r.pointerId)}a&&r.stopPropagation()},r.onMouseDown=r=>{if(Mr(r.currentTarget,_r(r.nativeEvent))&&0===r.button){if(g){let t=At(r.target);t&&e.disposables.push(t)}r.stopPropagation()}},r.onPointerUp=r=>{Mr(r.currentTarget,_r(r.nativeEvent))&&"virtual"!==e.pointerType&&(0!==r.button||e.isPressed||_(r,e.pointerType||r.pointerType))},r.onPointerEnter=r=>{r.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,S(Jt(e.target,r),e.pointerType))},r.onPointerLeave=r=>{r.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,M(Jt(e.target,r),e.pointerType,!1),R(r))},r.onDragStart=e=>{Mr(e.currentTarget,_r(e.nativeEvent))&&A(e)}):"test"===process.env.NODE_ENV&&(r.onMouseDown=r=>{if(0!==r.button||!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(e.ignoreEmulatedMouseEvents)return void r.stopPropagation();if(e.isPressed=!0,V("mouse"),e.isOverTarget=!0,e.target=r.currentTarget,e.pointerType=gt(r.nativeEvent)?"virtual":"mouse",w(()=>S(r,e.pointerType))&&r.stopPropagation(),g){let t=At(r.target);t&&e.disposables.push(t)}},r.onMouseEnter=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;let t=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,t=S(r,e.pointerType)),t&&r.stopPropagation()},r.onMouseLeave=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;let t=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,t=M(r,e.pointerType,!1),R(r)),t&&r.stopPropagation()},r.onMouseUp=r=>{Mr(r.currentTarget,_r(r.nativeEvent))&&(e.ignoreEmulatedMouseEvents||0!==r.button||e.isPressed||_(r,e.pointerType||"mouse"))},r.onTouchStart=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;let t=function(e){const{targetTouches:r}=e;return r.length>0?r[0]:null}(r.nativeEvent);t&&(e.activePointerId=t.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,V("touch"),e.target=r.currentTarget,e.pointerType="touch",m||Dt(e.target),S(Qt(e.target,r),e.pointerType)&&r.stopPropagation())},r.onTouchMove=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(!e.isPressed)return void r.stopPropagation();let t=Kt(r.nativeEvent,e.activePointerId),a=!0;t&&$t(t,r.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,a=S(Qt(e.target,r),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,a=M(Qt(e.target,r),e.pointerType,!1),R(Qt(e.target,r))),a&&r.stopPropagation()},r.onTouchEnd=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(!e.isPressed)return void r.stopPropagation();let t=Kt(r.nativeEvent,e.activePointerId),a=!0;t&&$t(t,r.currentTarget)&&null!=e.pointerType?(_(Qt(e.target,r),e.pointerType),a=M(Qt(e.target,r),e.pointerType),D(r.nativeEvent,e.target)):e.isOverTarget&&null!=e.pointerType&&(a=M(Qt(e.target,r),e.pointerType,!1)),a&&r.stopPropagation(),e.isPressed=!1,V(null),e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!m&&Ft(e.target),L()},r.onTouchCancel=r=>{Mr(r.currentTarget,_r(r.nativeEvent))&&(r.stopPropagation(),e.isPressed&&A(Qt(e.target,r)))},r.onDragStart=e=>{Mr(e.currentTarget,_r(e.nativeEvent))&&A(e)}),r},[p,g,L,m,A,R,M,S,_,O,D]);return v(()=>{if(!b||"test"===process.env.NODE_ENV)return;const e=Ir(b.current);if(!e||!e.head||e.getElementById(Yt))return;const r=e.createElement("style");r.id=Yt,r.textContent=`\n@layer {\n [${Zt}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim(),e.head.prepend(r)},[b]),v(()=>{let e=E.current;return()=>{var r;m||Ft(null!==(r=e.target)&&void 0!==r?r:void 0);for(let r of e.disposables)r();e.disposables=[]}},[m]),{isPressed:f||y,pressProps:Nr(C,H,{[Zt]:!0})}}function qt(e){return"A"===e.tagName&&e.hasAttribute("href")}function Xt(e,r){const{key:t,code:a}=e,n=r,o=n.getAttribute("role");return!("Enter"!==t&&" "!==t&&"Spacebar"!==t&&"Space"!==a||n instanceof Sr(n).HTMLInputElement&&!ta(n,t)||n instanceof Sr(n).HTMLTextAreaElement||n.isContentEditable||("link"===o||!o&&qt(n))&&"Enter"!==t)}function Kt(e,r){const t=e.changedTouches;for(let e=0;e<t.length;e++){const a=t[e];if(a.identifier===r)return a}return null}function Qt(e,r){let t=0,a=0;return r.targetTouches&&1===r.targetTouches.length&&(t=r.targetTouches[0].clientX,a=r.targetTouches[0].clientY),{currentTarget:e,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey,clientX:t,clientY:a}}function Jt(e,r){let t=r.clientX,a=r.clientY;return{currentTarget:e,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey,clientX:t,clientY:a}}function $t(e,r){let t=r.getBoundingClientRect(),a=function(e){let r=0,t=0;return void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiusX),void 0!==e.height?t=e.height/2:void 0!==e.radiusY&&(t=e.radiusY),{top:e.clientY-t,right:e.clientX+r,bottom:e.clientY+t,left:e.clientX-r}}(e);return function(e,r){return!(e.left>r.right||r.left>e.right||e.top>r.bottom||r.top>e.bottom)}(t,a)}function ea(e,r){return e instanceof HTMLInputElement?!ta(e,r):function(e){return!(e instanceof HTMLInputElement||(e instanceof HTMLButtonElement?"submit"===e.type||"reset"===e.type:qt(e)))}(e)}const ra=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ta(e,r){return"checkbox"===e.type||"radio"===e.type?" "===r:ra.has(e.type)}let aa=null,na=new Set,oa=new Map,ia=!1,la=!1;const sa={Tab:!0,Escape:!0};function ca(e,r){for(let t of na)t(e,r)}function da(e){ia=!0,!et.isOpening&&function(e){return!(e.metaKey||!Zr()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(aa="keyboard",ca("keyboard",e))}function ua(e){aa="pointer",!("pointerType"in e)||e.pointerType,"mousedown"!==e.type&&"pointerdown"!==e.type||(ia=!0,ca("pointer",e))}function va(e){!et.isOpening&&gt(e)&&(ia=!0,aa="virtual")}function pa(e){e.target!==window&&e.target!==document&&!Pt&&e.isTrusted&&(ia||la||(aa="virtual",ca("virtual",e)),ia=!1,la=!1)}function fa(){Pt||(ia=!1,la=!0)}function ga(e){if("undefined"==typeof window||"undefined"==typeof document||oa.get(Sr(e)))return;const r=Sr(e),t=Ir(e);let a=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){ia=!0,a.apply(this,arguments)},t.addEventListener("keydown",da,!0),t.addEventListener("keyup",da,!0),t.addEventListener("click",va,!0),r.addEventListener("focus",pa,!0),r.addEventListener("blur",fa,!1),"undefined"!=typeof PointerEvent?(t.addEventListener("pointerdown",ua,!0),t.addEventListener("pointermove",ua,!0),t.addEventListener("pointerup",ua,!0)):"test"===process.env.NODE_ENV&&(t.addEventListener("mousedown",ua,!0),t.addEventListener("mousemove",ua,!0),t.addEventListener("mouseup",ua,!0)),r.addEventListener("beforeunload",()=>{ha(e)},{once:!0}),oa.set(r,{focus:a})}const ha=(e,r)=>{const t=Sr(e),a=Ir(e);r&&a.removeEventListener("DOMContentLoaded",r),oa.has(t)&&(t.HTMLElement.prototype.focus=oa.get(t).focus,a.removeEventListener("keydown",da,!0),a.removeEventListener("keyup",da,!0),a.removeEventListener("click",va,!0),t.removeEventListener("focus",pa,!0),t.removeEventListener("blur",fa,!1),"undefined"!=typeof PointerEvent?(a.removeEventListener("pointerdown",ua,!0),a.removeEventListener("pointermove",ua,!0),a.removeEventListener("pointerup",ua,!0)):"test"===process.env.NODE_ENV&&(a.removeEventListener("mousedown",ua,!0),a.removeEventListener("mousemove",ua,!0),a.removeEventListener("mouseup",ua,!0)),oa.delete(t))};function ma(){return"pointer"!==aa}function ba(){return aa}"undefined"!=typeof document&&function(e){const r=Ir(e);let t;"loading"!==r.readyState?ga(e):(t=()=>{ga(e)},r.addEventListener("DOMContentLoaded",t))}();const Ca=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ya(e,r,t){ga(),v(()=>{let r=(r,a)=>{(function(e,r,t){let a=Ir(null==t?void 0:t.target);const n="undefined"!=typeof window?Sr(null==t?void 0:t.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?Sr(null==t?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,i="undefined"!=typeof window?Sr(null==t?void 0:t.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?Sr(null==t?void 0:t.target).KeyboardEvent:KeyboardEvent;return!((e=e||a.activeElement instanceof n&&!Ca.has(a.activeElement.type)||a.activeElement instanceof o||a.activeElement instanceof i&&a.activeElement.isContentEditable)&&"keyboard"===r&&t instanceof l&&!sa[t.key])})(!!(null==t?void 0:t.isTextInput),r,a)&&e(ma())};return na.add(r),()=>{na.delete(r)}},r)}function wa(e){const r=Ir(e);if("virtual"===ba()){let t=Tr(r);nt(()=>{const a=Tr(r);a!==t&&a!==r.body||!e.isConnected||Vr(e)})}else Vr(e)}function xa(e){let{isDisabled:r,onFocus:t,onBlur:a,onFocusChange:n}=e;const o=d(e=>{if(e.target===e.currentTarget)return a&&a(e),n&&n(!1),!0},[a,n]),i=_t(o),l=d(e=>{const r=Ir(e.target),a=r?Tr(r):Tr();e.target===e.currentTarget&&a===_r(e.nativeEvent)&&(t&&t(e),n&&n(!0),i(e))},[n,t,i]);return{focusProps:{onFocus:!r&&(t||n||a)?l:void 0,onBlur:r||!a&&!n?void 0:o}}}function Ea(e){if(!e)return;let r=!0;return t=>{let a={...t,preventDefault(){t.preventDefault()},isDefaultPrevented:()=>t.isDefaultPrevented(),stopPropagation(){r&&"production"!==process.env.NODE_ENV?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):r=!0},continuePropagation(){r=!1},isPropagationStopped:()=>r};e(a),r&&t.stopPropagation()}}let ka=n.createContext(null);function La(e,r){let{focusProps:t}=xa(e),{keyboardProps:a}=function(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ea(e.onKeyDown),onKeyUp:Ea(e.onKeyUp)}}}(e),n=Nr(t,a),o=function(e){let r=u(ka)||{};dt(r,e);let{ref:t,...a}=r;return a}(r),i=e.isDisabled?{}:o,l=c(e.autoFocus);v(()=>{l.current&&r.current&&wa(r.current),l.current=!1},[r]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:Nr({...n,tabIndex:s},i)}}function Ia({children:e}){let r=i(()=>({register:()=>{}}),[]);return n.createElement(jt.Provider,{value:r},e)}function Sa(e){let{isDisabled:r,onBlurWithin:t,onFocusWithin:a,onFocusWithinChange:n}=e,o=c({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=ot(),s=d(e=>{e.currentTarget.contains(e.target)&&o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,l(),t&&t(e),n&&n(!1))},[t,n,o,l]),u=_t(s),v=d(e=>{if(!e.currentTarget.contains(e.target))return;const r=Ir(e.target),t=Tr(r);if(!o.current.isFocusWithin&&t===_r(e.nativeEvent)){a&&a(e),n&&n(!0),o.current.isFocusWithin=!0,u(e);let t=e.currentTarget;i(r,"focus",e=>{if(o.current.isFocusWithin&&!Mr(t,e.target)){let a=new r.defaultView.FocusEvent("blur",{relatedTarget:e.target});Tt(a,t);let n=Mt(a);s(n)}},{capture:!0})}},[a,n,u,i,s]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:v,onBlur:s}}}let Ma=!1,Ta=0;function _a(){Ma=!0,setTimeout(()=>{Ma=!1},50)}function Pa(e){"touch"===e.pointerType&&_a()}function Aa(){if("undefined"!=typeof document)return 0===Ta&&("undefined"!=typeof PointerEvent?document.addEventListener("pointerup",Pa):"test"===process.env.NODE_ENV&&document.addEventListener("touchend",_a)),Ta++,()=>{Ta--,Ta>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",Pa):"test"===process.env.NODE_ENV&&document.removeEventListener("touchend",_a))}}function Na(e){let{onHoverStart:r,onHoverChange:t,onHoverEnd:a,isDisabled:n}=e,[o,l]=s(!1),d=c({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;v(Aa,[]);let{addGlobalListener:u,removeAllGlobalListeners:p}=ot(),{hoverProps:f,triggerHoverEnd:g}=i(()=>{let e=(e,a)=>{if(d.pointerType=a,n||"touch"===a||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let i=e.currentTarget;d.target=i,u(Ir(e.target),"pointerover",e=>{d.isHovered&&d.target&&!Mr(d.target,e.target)&&o(e,e.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:i,pointerType:a}),t&&t(!0),l(!0)},o=(e,r)=>{let n=d.target;d.pointerType="",d.target=null,"touch"!==r&&d.isHovered&&n&&(d.isHovered=!1,p(),a&&a({type:"hoverend",target:n,pointerType:r}),t&&t(!1),l(!1))},i={};return"undefined"!=typeof PointerEvent?(i.onPointerEnter=r=>{Ma&&"mouse"===r.pointerType||e(r,r.pointerType)},i.onPointerLeave=e=>{!n&&e.currentTarget.contains(e.target)&&o(e,e.pointerType)}):"test"===process.env.NODE_ENV&&(i.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},i.onMouseEnter=r=>{d.ignoreEmulatedMouseEvents||Ma||e(r,"mouse"),d.ignoreEmulatedMouseEvents=!1},i.onMouseLeave=e=>{!n&&e.currentTarget.contains(e.target)&&o(e,"mouse")}),{hoverProps:i,triggerHoverEnd:o}},[r,t,a,n,d,u,p]);return v(()=>{n&&g({currentTarget:d.target},d.pointerType)},[n]),{hoverProps:f,isHovered:o}}function Ra(e,r){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target))return!1;if(e.target.closest("[data-react-aria-top-layer]"))return!1}return!!r.current&&!e.composedPath().includes(r.current)}const Oa=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Da=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Fa(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),t="function"==typeof r.getTextInfo?r.getTextInfo():r.textInfo;if(t)return"rtl"===t.direction;if(r.script)return Oa.has(r.script)}let r=e.split("-")[0];return Da.has(r)}const ja=Symbol.for("react-aria.i18n.locale");function za(){let e="undefined"!=typeof window&&window[ja]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Fa(e)?"rtl":"ltr"}}let Ba=za(),Va=new Set;function Ha(){Ba=za();for(let e of Va)e(Ba)}const Wa=n.createContext(null);function Ua(){let e=function(){let e=br(),[r,t]=s(Ba);if(v(()=>(0===Va.size&&window.addEventListener("languagechange",Ha),Va.add(t),()=>{Va.delete(t),0===Va.size&&window.removeEventListener("languagechange",Ha)}),[]),e)return{locale:"undefined"!=typeof window&&window[ja]||"en-US",direction:"ltr"};return r}();return u(Wa)||e}function Ya(e,r){let t,{elementType:a="button",isDisabled:n,onPress:o,onPressStart:i,onPressEnd:l,onPressUp:s,onPressChange:c,preventFocusOnPress:d,allowFocusWhenDisabled:u,onClick:v,href:p,target:f,rel:g,type:h="button"}=e;t="button"===a?{type:h,disabled:n,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==a||n?void 0:p,target:"a"===a?f:void 0,type:"input"===a?h:void 0,disabled:"input"===a?n:void 0,"aria-disabled":n&&"input"!==a?n:void 0,rel:"a"===a?g:void 0};let{pressProps:m,isPressed:b}=Gt({onPressStart:i,onPressEnd:l,onPressChange:c,onPress:o,onPressUp:s,onClick:v,isDisabled:n,preventFocusOnPress:d,ref:r}),{focusableProps:C}=La(e,r);u&&(C.tabIndex=n?-1:C.tabIndex);let y=Nr(C,m,Br(e,{labelable:!0}));return{isPressed:b,buttonProps:Nr(t,y,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}const Za=n.createContext(null),Ga="react-aria-focus-scope-restore";let qa=null;function Xa(e){let{children:r,contain:t,restoreFocus:a,autoFocus:o}=e,l=c(null),s=c(null),d=c([]),{parentNode:p}=u(Za)||{},f=i(()=>new dn({scopeRef:d}),[d]);sr(()=>{let e=p||un.root;if(un.getTreeNode(e.scopeRef)&&qa&&!rn(qa,e.scopeRef)){let r=un.getTreeNode(qa);r&&(e=r)}e.addChild(f),un.addNode(f)},[f,p]),sr(()=>{let e=un.getTreeNode(d);e&&(e.contain=!!t)},[t]),sr(()=>{var e;let r=null===(e=l.current)||void 0===e?void 0:e.nextSibling,t=[],a=e=>e.stopPropagation();for(;r&&r!==s.current;)t.push(r),r.addEventListener(Ga,a),r=r.nextSibling;return d.current=t,()=>{for(let e of t)e.removeEventListener(Ga,a)}},[r]),function(e,r,t){sr(()=>{if(r||t)return;let a=e.current;const n=Ir(a?a[0]:void 0);let o=r=>{let t=_r(r);$a(t,e.current)?qa=e:Ja(t)||(qa=null)};return n.addEventListener("focusin",o,!1),null==a||a.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{n.removeEventListener("focusin",o,!1),null==a||a.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,r,t])}(d,a,t),function(e,r){let t=c(void 0),a=c(void 0);sr(()=>{let n=e.current;if(!r)return void(a.current&&(cancelAnimationFrame(a.current),a.current=void 0));const o=Ir(n?n[0]:void 0);let i=r=>{if("Tab"!==r.key||r.altKey||r.ctrlKey||r.metaKey||!Qa(e)||r.isComposing)return;let t=Tr(o),a=e.current;if(!a||!$a(t,a))return;let n=sn(Ka(a),{tabbable:!0},a);if(!t)return;n.currentNode=t;let i=r.shiftKey?n.previousNode():n.nextNode();i||(n.currentNode=r.shiftKey?a[a.length-1].nextElementSibling:a[0].previousElementSibling,i=r.shiftKey?n.previousNode():n.nextNode()),r.preventDefault(),i&&tn(i,!0)},l=r=>{qa&&!rn(qa,e)||!$a(_r(r),e.current)?Qa(e)&&!en(_r(r),e)?t.current?t.current.focus():qa&&qa.current&&nn(qa.current):Qa(e)&&(t.current=_r(r)):(qa=e,t.current=_r(r))},s=r=>{a.current&&cancelAnimationFrame(a.current),a.current=requestAnimationFrame(()=>{let a=ba(),n=("virtual"===a||null===a)&&Jr()&&Qr(),i=Tr(o);if(!n&&i&&Qa(e)&&!en(i,e)){qa=e;let a=_r(r);var l;if(a&&a.isConnected)t.current=a,null===(l=t.current)||void 0===l||l.focus();else qa.current&&nn(qa.current)}})};return o.addEventListener("keydown",i,!1),o.addEventListener("focusin",l,!1),null==n||n.forEach(e=>e.addEventListener("focusin",l,!1)),null==n||n.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",i,!1),o.removeEventListener("focusin",l,!1),null==n||n.forEach(e=>e.removeEventListener("focusin",l,!1)),null==n||n.forEach(e=>e.removeEventListener("focusout",s,!1))}},[e,r]),sr(()=>()=>{a.current&&cancelAnimationFrame(a.current)},[a])}(d,t),function(e,r,t){const a=c("undefined"!=typeof document?Tr(Ir(e.current?e.current[0]:void 0)):null);sr(()=>{let a=e.current;const n=Ir(a?a[0]:void 0);if(!r||t)return;let o=()=>{qa&&!rn(qa,e)||!$a(Tr(n),e.current)||(qa=e)};return n.addEventListener("focusin",o,!1),null==a||a.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{n.removeEventListener("focusin",o,!1),null==a||a.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,t]),sr(()=>{const a=Ir(e.current?e.current[0]:void 0);if(!r)return;let n=r=>{if("Tab"!==r.key||r.altKey||r.ctrlKey||r.metaKey||!Qa(e)||r.isComposing)return;let t=a.activeElement;if(!en(t,e)||!on(e))return;let n=un.getTreeNode(e);if(!n)return;let o=n.nodeToRestore,i=sn(a.body,{tabbable:!0});i.currentNode=t;let l=r.shiftKey?i.previousNode():i.nextNode();if(o&&o.isConnected&&o!==a.body||(o=void 0,n.nodeToRestore=void 0),(!l||!en(l,e))&&o){i.currentNode=o;do{l=r.shiftKey?i.previousNode():i.nextNode()}while(en(l,e));r.preventDefault(),r.stopPropagation(),l?tn(l,!0):Ja(o)?tn(o,!0):t.blur()}};return t||a.addEventListener("keydown",n,!0),()=>{t||a.removeEventListener("keydown",n,!0)}},[e,r,t]),sr(()=>{const t=Ir(e.current?e.current[0]:void 0);if(!r)return;let n=un.getTreeNode(e);var o;return n?(n.nodeToRestore=null!==(o=a.current)&&void 0!==o?o:void 0,()=>{let a=un.getTreeNode(e);if(!a)return;let n=a.nodeToRestore,o=Tr(t);if(r&&n&&(o&&en(o,e)||o===t.body&&on(e))){let r=un.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=r.getTreeNode(e);for(;t;){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void ln(t.nodeToRestore);t=t.parent}for(t=r.getTreeNode(e);t;){if(t.scopeRef&&t.scopeRef.current&&un.getTreeNode(t.scopeRef)){return void ln(an(t.scopeRef.current,!0))}t=t.parent}}})}}):void 0},[e,r])}(d,a,t),function(e,r){const t=n.useRef(r);v(()=>{if(t.current){qa=e;const r=Ir(e.current?e.current[0]:void 0);!$a(Tr(r),qa.current)&&e.current&&nn(e.current)}t.current=!1},[e])}(d,o),v(()=>{const e=Tr(Ir(d.current?d.current[0]:void 0));let r=null;if($a(e,d.current)){for(let t of un.traverse())t.scopeRef&&$a(e,t.scopeRef.current)&&(r=t);r===un.getTreeNode(d)&&(qa=r.scopeRef)}},[d]),sr(()=>()=>{var e,r,t;let a=null!==(t=null===(r=un.getTreeNode(d))||void 0===r||null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null;d!==qa&&!rn(d,qa)||a&&!un.getTreeNode(a)||(qa=a),un.removeTreeNode(d)},[d]);let g=i(()=>function(e){return{focusNext(r={}){let t=e.current,{from:a,tabbable:n,wrap:o,accept:i}=r;var l;let s=a||Tr(Ir(null!==(l=t[0])&&void 0!==l?l:void 0)),c=t[0].previousElementSibling,d=sn(Ka(t),{tabbable:n,accept:i},t);d.currentNode=$a(s,t)?s:c;let u=d.nextNode();return!u&&o&&(d.currentNode=c,u=d.nextNode()),u&&tn(u,!0),u},focusPrevious(r={}){let t=e.current,{from:a,tabbable:n,wrap:o,accept:i}=r;var l;let s=a||Tr(Ir(null!==(l=t[0])&&void 0!==l?l:void 0)),c=t[t.length-1].nextElementSibling,d=sn(Ka(t),{tabbable:n,accept:i},t);d.currentNode=$a(s,t)?s:c;let u=d.previousNode();return!u&&o&&(d.currentNode=c,u=d.previousNode()),u&&tn(u,!0),u},focusFirst(r={}){let t=e.current,{tabbable:a,accept:n}=r,o=sn(Ka(t),{tabbable:a,accept:n},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&tn(i,!0),i},focusLast(r={}){let t=e.current,{tabbable:a,accept:n}=r,o=sn(Ka(t),{tabbable:a,accept:n},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&tn(i,!0),i}}}(d),[]),h=i(()=>({focusManager:g,parentNode:f}),[f,g]);return n.createElement(Za.Provider,{value:h},n.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),r,n.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:s}))}function Ka(e){return e[0].parentElement}function Qa(e){let r=un.getTreeNode(qa);for(;r&&r.scopeRef!==e;){if(r.contain)return!1;r=r.parent}return!0}function Ja(e){return en(e)}function $a(e,r){return!!e&&(!!r&&r.some(r=>r.contains(e)))}function en(e,r=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of un.traverse(un.getTreeNode(r)))if(t&&$a(e,t.current))return!0;return!1}function rn(e,r){var t;let a=null===(t=un.getTreeNode(r))||void 0===t?void 0:t.parent;for(;a;){if(a.scopeRef===e)return!0;a=a.parent}return!1}function tn(e,r=!1){if(null==e||r){if(null!=e)try{e.focus()}catch{}}else try{wa(e)}catch{}}function an(e,r=!0){let t=e[0].previousElementSibling,a=Ka(e),n=sn(a,{tabbable:r},e);n.currentNode=t;let o=n.nextNode();return r&&!o&&(a=Ka(e),n=sn(a,{tabbable:!1},e),n.currentNode=t,o=n.nextNode()),o}function nn(e,r=!0){tn(an(e,r))}function on(e){let r=un.getTreeNode(qa);for(;r&&r.scopeRef!==e;){if(r.nodeToRestore)return!1;r=r.parent}return(null==r?void 0:r.scopeRef)===e}function ln(e){e.dispatchEvent(new CustomEvent(Ga,{bubbles:!0,cancelable:!0}))&&tn(e)}function sn(e,r,t){let a=(null==r?void 0:r.tabbable)?Et:xt,n=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,o=Ir(n),i=function(e,r,t,a){return e.createTreeWalker(r,t,a)}(o,e||o,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var n;if(null==r||null===(n=r.from)||void 0===n?void 0:n.contains(e))return NodeFilter.FILTER_REJECT;if((null==r?void 0:r.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")){if(!function(e){if(e.checked)return!0;let r=[];if(e.form){var t,a;let n=null===(a=e.form)||void 0===a||null===(t=a.elements)||void 0===t?void 0:t.namedItem(e.name);r=[...null!=n?n:[]]}else r=[...Ir(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!r&&!r.some(e=>e.checked)}(e))return NodeFilter.FILTER_REJECT;if("INPUT"===i.currentNode.tagName&&"radio"===i.currentNode.type&&i.currentNode.name===e.name)return NodeFilter.FILTER_REJECT}return!a(e)||t&&!$a(e,t)||(null==r?void 0:r.accept)&&!r.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==r?void 0:r.from)&&(i.currentNode=r.from),i}class cn{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,r,t){let a=this.fastMap.get(null!=r?r:null);if(!a)return;let n=new dn({scopeRef:e});a.addChild(n),n.parent=a,this.fastMap.set(e,n),t&&(n.nodeToRestore=t)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let r=this.fastMap.get(e);if(!r)return;let t=r.parent;for(let e of this.traverse())e!==r&&r.nodeToRestore&&e.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&$a(e.nodeToRestore,r.scopeRef.current)&&(e.nodeToRestore=r.nodeToRestore);let a=r.children;t&&(t.removeChild(r),a.size>0&&a.forEach(e=>t&&t.addChild(e))),this.fastMap.delete(r.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let r of e.children)yield*this.traverse(r)}clone(){var e;let r=new cn;var t;for(let a of this.traverse())r.addTreeNode(a.scopeRef,null!==(t=null===(e=a.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new dn({scopeRef:null}),this.fastMap.set(null,this.root)}}class dn{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let un=new cn;function vn(e={}){let{autoFocus:r=!1,isTextInput:t,within:a}=e,n=c({isFocused:!1,isFocusVisible:r||ma()}),[o,i]=s(!1),[l,u]=s(()=>n.current.isFocused&&n.current.isFocusVisible),v=d(()=>u(n.current.isFocused&&n.current.isFocusVisible),[]),p=d(e=>{n.current.isFocused=e,i(e),v()},[v]);ya(e=>{n.current.isFocusVisible=e,v()},[],{isTextInput:t});let{focusProps:f}=xa({isDisabled:a,onFocusChange:p}),{focusWithinProps:g}=Sa({isDisabled:!a,onFocusWithinChange:p});return{isFocused:o,isFocusVisible:l,focusProps:a?g:f}}const pn={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},fn={...pn,customError:!0,valid:!1},gn={isInvalid:!1,validationDetails:pn,validationErrors:[]},hn=f({}),mn="__formValidationState"+Date.now();function bn(e){if(e[mn]){let{realtimeValidation:r,displayValidation:t,updateValidation:a,resetValidation:n,commitValidation:o}=e[mn];return{realtimeValidation:r,displayValidation:t,updateValidation:a,resetValidation:n,commitValidation:o}}return function(e){let{isInvalid:r,validationState:t,name:a,value:n,builtinValidation:o,validate:l,validationBehavior:d="aria"}=e;t&&(r||(r="invalid"===t));let p=void 0!==r?{isInvalid:r,validationErrors:[],validationDetails:fn}:null,f=i(()=>{if(!l||null==n)return null;let e=function(e,r){if("function"==typeof e){let t=e(r);if(t&&"boolean"!=typeof t)return Cn(t)}return[]}(l,n);return yn(e)},[l,n]);(null==o?void 0:o.validationDetails.valid)&&(o=void 0);let g=u(hn),h=i(()=>a?Array.isArray(a)?a.flatMap(e=>Cn(g[e])):Cn(g[a]):[],[g,a]),[m,b]=s(g),[C,y]=s(!1);g!==m&&(b(g),y(!1));let w=i(()=>yn(C?[]:h),[C,h]),x=c(gn),[E,k]=s(gn),L=c(gn),I=()=>{if(!S)return;M(!1);let e=f||o||x.current;wn(e,L.current)||(L.current=e,k(e))},[S,M]=s(!1);return v(I),{realtimeValidation:p||w||f||o||gn,displayValidation:"native"===d?p||w||E:p||w||f||o||E,updateValidation(e){"aria"!==d||wn(E,e)?x.current=e:k(e)},resetValidation(){let e=gn;wn(e,L.current)||(L.current=e,k(e)),"native"===d&&M(!1),y(!0)},commitValidation(){"native"===d&&M(!0),y(!0)}}}(e)}function Cn(e){return e?Array.isArray(e)?e:[e]:[]}function yn(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:fn}:null}function wn(e,r){return e===r||!!e&&!!r&&e.isInvalid===r.isInvalid&&e.validationErrors.length===r.validationErrors.length&&e.validationErrors.every((e,t)=>e===r.validationErrors[t])&&Object.entries(e.validationDetails).every(([e,t])=>r.validationDetails[e]===t)}function xn(e,r,t){let{validationBehavior:a,focus:n}=e;sr(()=>{if("native"===a&&(null==t?void 0:t.current)&&!t.current.disabled){let a=r.realtimeValidation.isInvalid?r.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";t.current.setCustomValidity(a),t.current.hasAttribute("title")||(t.current.title=""),r.realtimeValidation.isInvalid||r.updateValidation({isInvalid:!(e=t.current).validity.valid,validationDetails:En(e),validationErrors:e.validationMessage?[e.validationMessage]:[]})}var e});let o=c(!1),i=st(()=>{o.current||r.resetValidation()}),l=st(e=>{var a;r.displayValidation.isInvalid||r.commitValidation();let o=null==t||null===(a=t.current)||void 0===a?void 0:a.form;var i,l;!e.defaultPrevented&&t&&o&&function(e){for(let r=0;r<e.elements.length;r++){let t=e.elements[r];if(!t.validity.valid)return t}return null}(o)===t.current&&(n?n():null===(i=t.current)||void 0===i||i.focus(),aa=l="keyboard",ca(l,null));e.preventDefault()}),s=st(()=>{r.commitValidation()});v(()=>{let e=null==t?void 0:t.current;if(!e)return;let r=e.form,a=null==r?void 0:r.reset;return r&&(r.reset=()=>{o.current=!window.event||"message"===window.event.type&&window.event.target instanceof MessagePort,null==a||a.call(r),o.current=!1}),e.addEventListener("invalid",l),e.addEventListener("change",s),null==r||r.addEventListener("reset",i),()=>{e.removeEventListener("invalid",l),e.removeEventListener("change",s),null==r||r.removeEventListener("reset",i),r&&(r.reset=a)}},[t,a])}function En(e){let r=e.validity;return{badInput:r.badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid}}function kn(e,r,t){let a=bn({...e,value:r.isSelected}),{isInvalid:n,validationErrors:o,validationDetails:l}=a.displayValidation,{labelProps:s,inputProps:c,isSelected:d,isPressed:u,isDisabled:p,isReadOnly:f}=function(e,r,t){let{isDisabled:a=!1,isReadOnly:n=!1,value:o,name:i,form:l,children:s,"aria-label":c,"aria-labelledby":d,validationState:u="valid",isInvalid:v,onPressStart:p,onPressEnd:f,onPressChange:g,onPress:h,onPressUp:m,onClick:b}=e;null!=s||null!=c||null!=d||"production"===process.env.NODE_ENV||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:C,isPressed:y}=Gt({onPressStart:p,onPressEnd:f,onPressChange:g,onPress:h,onPressUp:m,onClick:b,isDisabled:a}),{pressProps:w,isPressed:x}=Gt({onPressStart:p,onPressEnd:f,onPressChange:g,onPressUp:m,onClick:b,onPress(e){var a;null==h||h(e),r.toggle(),null===(a=t.current)||void 0===a||a.focus()},isDisabled:a||n}),{focusableProps:E}=La(e,t),k=Nr(C,E),L=Br(e,{labelable:!0});return ht(t,r.defaultSelected,r.setSelected),{labelProps:Nr(w,{onClick:e=>e.preventDefault()}),inputProps:Nr(L,{"aria-invalid":v||"invalid"===u||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":n||void 0,onChange:e=>{e.stopPropagation(),r.setSelected(e.target.checked)},disabled:a,...null==o?{}:{value:o},name:i,form:l,type:"checkbox",...k}),isSelected:r.isSelected,isPressed:y||x,isDisabled:a,isReadOnly:n,isInvalid:v||"invalid"===u}}({...e,isInvalid:n},r,t);xn(e,a,t);let{isIndeterminate:g,isRequired:h,validationBehavior:m="aria"}=e;v(()=>{t.current&&(t.current.indeterminate=!!g)});let{pressProps:b}=Gt({isDisabled:p||f,onPress(){let{[mn]:r}=e,{commitValidation:t}=r||a;t()}});return{labelProps:Nr(s,b,i(()=>({onMouseDown:e=>e.preventDefault()}),[])),inputProps:{...c,checked:d,"aria-required":h&&"aria"===m||void 0,required:h&&"native"===m},isSelected:d,isPressed:u,isDisabled:p,isReadOnly:f,isInvalid:n,validationErrors:o,validationDetails:l}}function Ln(e){let{id:r,label:t,"aria-labelledby":a,"aria-label":n,labelElementType:o="label"}=e;r=xr(r);let i=xr(),l={};t?(a=a?`${i} ${a}`:i,l={id:i,htmlFor:"label"===o?r:void 0}):a||n||"production"===process.env.NODE_ENV||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=function(e,r){let{id:t,"aria-label":a,"aria-labelledby":n}=e;if(t=xr(t),n&&a){let e=new Set([t,...n.trim().split(/\s+/)]);n=[...e].join(" ")}else n&&(n=n.trim().split(/\s+/).join(" "));return a||n||!r||(a=r),{id:t,"aria-label":a,"aria-labelledby":n}}({id:r,"aria-label":n,"aria-labelledby":a});return{labelProps:l,fieldProps:s}}const In={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Sn(e){let{children:r,elementType:t="div",isFocusable:a,style:o,...l}=e,{visuallyHiddenProps:c}=function(e={}){let{style:r,isFocusable:t}=e,[a,n]=s(!1),{focusWithinProps:o}=Sa({isDisabled:!t,onFocusWithinChange:e=>n(e)});return{visuallyHiddenProps:{...o,style:i(()=>a?r:r?{...In,...r}:In,[a])}}}(e);return n.createElement(t,Nr(l,c),r)}function Mn(e,r){let{inputElementType:t="input",isDisabled:a=!1,isRequired:o=!1,isReadOnly:i=!1,type:l="text",validationBehavior:u="aria"}=e,[f,g]=function(e,r,t){let[a,n]=s(e||r),o=c(a),i=c(void 0!==e),l=void 0!==e;v(()=>{let e=i.current;e!==l&&"production"!==process.env.NODE_ENV&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),i.current=l},[l]);let u=l?e:a;It(()=>{o.current=u});let[,f]=p(()=>({}),{}),g=d((e,...r)=>{let a="function"==typeof e?e(o.current):e;Object.is(o.current,a)||(o.current=a,n(a),f(),null==t||t(a,...r))},[t]);return[u,g]}(e.value,e.defaultValue||"",e.onChange),{focusableProps:h}=La(e,r),m=bn({...e,value:f}),{isInvalid:b,validationErrors:C,validationDetails:y}=m.displayValidation,{labelProps:w,fieldProps:x,descriptionProps:E,errorMessageProps:k}=function(e){let{description:r,errorMessage:t,isInvalid:a,validationState:n}=e,{labelProps:o,fieldProps:i}=Ln(e),l=kr([Boolean(r),Boolean(t),a,n]),s=kr([Boolean(r),Boolean(t),a,n]);return i=Nr(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}({...e,isInvalid:b,errorMessage:e.errorMessage||C}),L=Br(e,{labelable:!0});const I={type:l,pattern:e.pattern};let[S]=s(f);var M;return ht(r,null!==(M=e.defaultValue)&&void 0!==M?M:S,g),xn(e,m,r),{labelProps:w,inputProps:Nr(L,"input"===t?I:void 0,{disabled:a,readOnly:i,required:o&&"native"===u,"aria-required":o&&"aria"===u||void 0,"aria-invalid":b||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:f,onChange:e=>g(e.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(n.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...h,...x}),descriptionProps:E,errorMessageProps:k,isInvalid:b,validationErrors:C,validationDetails:y}}const Tn={top:"top",bottom:"top",left:"left",right:"left"},_n={top:"bottom",bottom:"top",left:"right",right:"left"},Pn={top:"left",left:"top"},An={top:"height",left:"width"},Nn={width:"totalWidth",height:"totalHeight"},Rn={};function On(e,r){let t=0,a=0,n=0,o=0,i=0,l=0,s={};var c;let d=(null!==(c=null==r?void 0:r.scale)&&void 0!==c?c:1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let c=document.documentElement;var u,v;n=c.clientWidth,o=c.clientHeight,t=null!==(u=null==r?void 0:r.width)&&void 0!==u?u:n,a=null!==(v=null==r?void 0:r.height)&&void 0!==v?v:o,s.top=c.scrollTop||e.scrollTop,s.left=c.scrollLeft||e.scrollLeft,r&&(i=r.offsetTop,l=r.offsetLeft)}else({width:t,height:a,top:i,left:l}=Wn(e,!1)),s.top=e.scrollTop,s.left=e.scrollLeft,n=t,o=a;var p,f;Kr()&&("BODY"===e.tagName||"HTML"===e.tagName)&&d&&(s.top=0,s.left=0,i=null!==(p=null==r?void 0:r.pageTop)&&void 0!==p?p:0,l=null!==(f=null==r?void 0:r.pageLeft)&&void 0!==f?f:0);return{width:t,height:a,totalWidth:n,totalHeight:o,scroll:s,top:i,left:l}}function Dn(e,r,t,a,n,o,i){var l;let s=null!==(l=n.scroll[e])&&void 0!==l?l:0,c=a[An[e]],d=i[e]+a.scroll[Tn[e]]+o,u=i[e]+a.scroll[Tn[e]]+c-o,v=r-s+a.scroll[Tn[e]]+i[e]-a[Tn[e]],p=r-s+t+a.scroll[Tn[e]]+i[e]-a[Tn[e]];return v<d?d-v:p>u?Math.max(u-p,d-v):0}function Fn(e){if(Rn[e])return Rn[e];let[r,t]=e.split(" "),a=Tn[r]||"right",n=Pn[a];Tn[t]||(t="center");let o=An[a],i=An[n];return Rn[e]={placement:r,crossPlacement:t,axis:a,crossAxis:n,size:o,crossSize:i},Rn[e]}function jn(e,r,t,a,n,o,i,l,s,c,d){let{placement:u,crossPlacement:v,axis:p,crossAxis:f,size:g,crossSize:h}=a,m={};var b,C,y,w,x;m[f]=null!==(b=e[f])&&void 0!==b?b:0,"center"===v?m[f]+=((null!==(C=e[h])&&void 0!==C?C:0)-(null!==(y=t[h])&&void 0!==y?y:0))/2:v!==f&&(m[f]+=(null!==(w=e[h])&&void 0!==w?w:0)-(null!==(x=t[h])&&void 0!==x?x:0)),m[f]+=o;const E=e[f]-t[h]+s+c,k=e[f]+e[h]-s-c;if(m[f]=St(m[f],E,k),u===p){let r=l?d[g]:d[Nn[g]];m[_n[p]]=Math.floor(r-e[p]+n)}else m[p]=Math.floor(e[p]+e[g]+n);return m}function zn(e,r,t,a,n,o,i,l){let{placement:s,axis:c,size:d}=o;var u,v,p,f;return s===c?Math.max(0,t[c]-(null!==(u=i.scroll[c])&&void 0!==u?u:0)-(e[c]+(l?r[c]:0))-(null!==(v=a[c])&&void 0!==v?v:0)-a[_n[c]]-n):Math.max(0,e[d]+e[c]+(l?r[c]:0)-t[c]-t[d]+(null!==(p=i.scroll[c])&&void 0!==p?p:0)-(null!==(f=a[c])&&void 0!==f?f:0)-a[_n[c]]-n)}function Bn(e,r,t,a,n,o,i,l,s,c,d,u,v,p,f,g,h,m){let b=Fn(e),{size:C,crossAxis:y,crossSize:w,placement:x,crossPlacement:E}=b,k=jn(r,0,t,b,d,u,0,v,f,g,s),L=d,I=zn(l,c,r,n,o+d,b,s,h);if(i&&t[C]>I){let e=Fn(`${_n[x]} ${E}`),a=jn(r,0,t,e,d,u,0,v,f,g,s);zn(l,c,r,n,o+d,e,s,h)>I&&(b=e,k=a,L=d)}let S="bottom";"top"===b.axis?"top"===b.placement?S="top":"bottom"===b.placement&&(S="bottom"):"top"===b.crossAxis&&("top"===b.crossPlacement?S="bottom":"bottom"===b.crossPlacement&&(S="top"));let M=Dn(y,k[y],t[w],l,s,o,c);k[y]+=M;let T=function(e,r,t,a,n,o,i,l,s,c,d){var u,v;let p=(null!=e.top?e.top:s[Nn.height]-(null!==(u=e.bottom)&&void 0!==u?u:0)-i)-(null!==(v=s.scroll.top)&&void 0!==v?v:0),f=c?t.top:0;var g,h,m;let b=Math.max(r.top+f,(null!==(g=null==d?void 0:d.offsetTop)&&void 0!==g?g:r.top)+f),C=Math.min(r.top+r.height+f,(null!==(h=null==d?void 0:d.offsetTop)&&void 0!==h?h:0)+(null!==(m=null==d?void 0:d.height)&&void 0!==m?m:0));var y,w,x,E;return"top"!==l?Math.max(0,C-p-((null!==(y=n.top)&&void 0!==y?y:0)+(null!==(w=n.bottom)&&void 0!==w?w:0)+o)):Math.max(0,p+i-b-((null!==(x=n.top)&&void 0!==x?x:0)+(null!==(E=n.bottom)&&void 0!==E?E:0)+o))}(k,l,c,0,n,o,t.height,S,s,h,m);p&&p<T&&(T=p),t.height=Math.min(t.height,T),k=jn(r,0,t,b,L,u,0,v,f,g,s),M=Dn(y,k[y],t[w],l,s,o,c),k[y]+=M;let _={},P=r[y]-k[y]-n[Tn[y]],A=P+.5*r[w];const N=f/2+g;var R,O,D,F;const j="left"===Tn[y]?(null!==(R=n.left)&&void 0!==R?R:0)+(null!==(O=n.right)&&void 0!==O?O:0):(null!==(D=n.top)&&void 0!==D?D:0)+(null!==(F=n.bottom)&&void 0!==F?F:0),z=t[w]-j-f/2-g,B=St(A,r[y]+f/2-(k[y]+n[Tn[y]]),r[y]+r[w]-f/2-(k[y]+n[Tn[y]]));_[y]=St(B,N,z),({placement:x,crossPlacement:E}=b),f?P=_[y]:"right"===E?P+=r[w]:"center"===E&&(P+=r[w]/2);let V="left"===x||"top"===x?t[C]:0,H={x:"top"===x||"bottom"===x?P:V,y:"left"===x||"right"===x?P:V};return{position:k,maxHeight:T,arrowOffsetLeft:_.left,arrowOffsetTop:_.top,placement:x,triggerAnchorPoint:H}}function Vn(e){let{placement:r,targetNode:t,overlayNode:a,scrollNode:n,padding:o,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:v=0}=e,p="undefined"!=typeof document?window.visualViewport:null,f=a instanceof HTMLElement?function(e){let r=e.offsetParent;r&&r===document.body&&"static"===window.getComputedStyle(r).position&&!Yn(r)&&(r=document.documentElement);if(null==r)for(r=e.parentElement;r&&!Yn(r);)r=r.parentElement;return r||document.documentElement}(a):document.documentElement,g=f===document.documentElement;const h=window.getComputedStyle(f).position;let m=!!h&&"static"!==h,b=g?Wn(t,!1):Un(t,f,!1);if(!g){let{marginTop:e,marginLeft:r}=window.getComputedStyle(t);b.top+=parseInt(e,10)||0,b.left+=parseInt(r,10)||0}let C=Wn(a,!0),y=function(e){let r=window.getComputedStyle(e);return{top:parseInt(r.marginTop,10)||0,bottom:parseInt(r.marginBottom,10)||0,left:parseInt(r.marginLeft,10)||0,right:parseInt(r.marginRight,10)||0}}(a);var w,x,E,k;C.width+=(null!==(w=y.left)&&void 0!==w?w:0)+(null!==(x=y.right)&&void 0!==x?x:0),C.height+=(null!==(E=y.top)&&void 0!==E?E:0)+(null!==(k=y.bottom)&&void 0!==k?k:0);(L=n).scrollTop,L.scrollLeft,L.scrollWidth,L.scrollHeight;var L;return Bn(r,b,C,0,y,o,i,On(l,p),On(f,p),Un(l,f,!1),s,c,m,d,u,v,l.contains(f),p)}function Hn(e,r){let{top:t,left:a,width:n,height:o}=e.getBoundingClientRect();return r&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(n=e.offsetWidth,o=e.offsetHeight),{top:t,left:a,width:n,height:o}}function Wn(e,r){let{top:t,left:a,width:n,height:o}=Hn(e,r),{scrollTop:i,scrollLeft:l,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+i-s,left:a+l-c,width:n,height:o}}function Un(e,r,t){let a,n=window.getComputedStyle(e);if("fixed"===n.position)a=Hn(e,t);else{a=Wn(e,t);let n=Wn(r,t),o=window.getComputedStyle(r);n.top+=(parseInt(o.borderTopWidth,10)||0)-r.scrollTop,n.left+=(parseInt(o.borderLeftWidth,10)||0)-r.scrollLeft,a.top-=n.top,a.left-=n.left}return a.top-=parseInt(n.marginTop,10)||0,a.left-=parseInt(n.marginLeft,10)||0,a}function Yn(e){let r=window.getComputedStyle(e);return"none"!==r.transform||/transform|perspective/.test(r.willChange)||"none"!==r.filter||"paint"===r.contain||"backdropFilter"in r&&"none"!==r.backdropFilter||"WebkitBackdropFilter"in r&&"none"!==r.WebkitBackdropFilter}const Zn=new WeakMap;let Gn="undefined"!=typeof document?window.visualViewport:null;function qn(e){let{direction:r}=Ua(),{arrowSize:t,targetRef:a,overlayRef:n,arrowRef:o,scrollRef:i=n,placement:l="bottom",containerPadding:u=12,shouldFlip:p=!0,boundaryElement:f=("undefined"!=typeof document?document.body:null),offset:g=0,crossOffset:h=0,shouldUpdatePosition:m=!0,isOpen:b=!0,onClose:C,maxHeight:y,arrowBoundaryOffset:w=0}=e,[x,E]=s(null),k=[m,l,n.current,a.current,null==o?void 0:o.current,i.current,u,p,f,g,h,b,r,y,w,t],L=c(null==Gn?void 0:Gn.scale);v(()=>{b&&(L.current=null==Gn?void 0:Gn.scale)},[b]);let I=d(()=>{if(!(!1!==m&&b&&n.current&&a.current&&f))return;if((null==Gn?void 0:Gn.scale)!==L.current)return;let e=null;if(i.current&&i.current.contains(document.activeElement)){var s;let r=null===(s=document.activeElement)||void 0===s?void 0:s.getBoundingClientRect(),t=i.current.getBoundingClientRect();var c,d;if(e={type:"top",offset:(null!==(c=null==r?void 0:r.top)&&void 0!==c?c:0)-t.top},e.offset>t.height/2)e.type="bottom",e.offset=(null!==(d=null==r?void 0:r.bottom)&&void 0!==d?d:0)-t.bottom}let v=n.current;var C,x;!y&&n.current&&(v.style.top="0px",v.style.bottom="",v.style.maxHeight=(null!==(x=null===(C=window.visualViewport)||void 0===C?void 0:C.height)&&void 0!==x?x:window.innerHeight)+"px");let k=Vn({placement:Xn(l,r),overlayNode:n.current,targetNode:a.current,scrollNode:i.current||n.current,padding:u,shouldFlip:p,boundaryElement:f,offset:g,crossOffset:h,maxHeight:y,arrowSize:null!=t?t:(null==o?void 0:o.current)?Hn(o.current,!0).width:0,arrowBoundaryOffset:w});if(k.position){if(v.style.top="",v.style.bottom="",v.style.left="",v.style.right="",Object.keys(k.position).forEach(e=>v.style[e]=k.position[e]+"px"),v.style.maxHeight=null!=k.maxHeight?k.maxHeight+"px":"",e&&document.activeElement&&i.current){let r=document.activeElement.getBoundingClientRect(),t=i.current.getBoundingClientRect(),a=r[e.type]-t[e.type];i.current.scrollTop+=a-e.offset}E(k)}},k);var S;sr(I,k),sr(()=>(window.addEventListener("resize",S,!1),()=>{window.removeEventListener("resize",S,!1)}),[S=I]),ct({ref:n,onResize:I}),ct({ref:a,onResize:I});let M=c(!1);sr(()=>{let e,r=()=>{M.current=!0,clearTimeout(e),e=setTimeout(()=>{M.current=!1},500),I()},t=()=>{M.current&&r()};return null==Gn||Gn.addEventListener("resize",r),null==Gn||Gn.addEventListener("scroll",t),()=>{null==Gn||Gn.removeEventListener("resize",r),null==Gn||Gn.removeEventListener("scroll",t)}},[I]);let T=d(()=>{M.current||null==C||C()},[C,M]);var _,P,A;return function(e){let{triggerRef:r,isOpen:t,onClose:a}=e;v(()=>{if(!t||null===a)return;let e=e=>{let t=e.target;if(!r.current||t instanceof Node&&!t.contains(r.current))return;if(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let n=a||Zn.get(r.current);n&&n()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[t,a,r])}({triggerRef:a,isOpen:b,onClose:C&&T}),{overlayProps:{style:{position:x?"absolute":"fixed",top:x?void 0:0,left:x?void 0:0,zIndex:1e5,...null==x?void 0:x.position,maxHeight:null!==(_=null==x?void 0:x.maxHeight)&&void 0!==_?_:"100vh"}},placement:null!==(P=null==x?void 0:x.placement)&&void 0!==P?P:null,triggerAnchorPoint:null!==(A=null==x?void 0:x.triggerAnchorPoint)&&void 0!==A?A:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==x?void 0:x.arrowOffsetLeft,top:null==x?void 0:x.arrowOffsetTop}},updatePosition:I}}function Xn(e,r){return"rtl"===r?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Kn=[];function Qn(e,r){let{onClose:t,shouldCloseOnBlur:a,isOpen:n,isDismissable:o=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;v(()=>{if(n&&!Kn.includes(r))return Kn.push(r),()=>{let e=Kn.indexOf(r);e>=0&&Kn.splice(e,1)}},[n,r]);let s=()=>{Kn[Kn.length-1]===r&&t&&t()};!function(e){let{ref:r,onInteractOutside:t,isDisabled:a,onInteractOutsideStart:n}=e,o=c({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=st(e=>{t&&Ra(e,r)&&(n&&n(e),o.current.isPointerDown=!0)}),l=st(e=>{t&&t(e)});v(()=>{let e=o.current;if(a)return;const t=r.current,n=Ir(t);if("undefined"!=typeof PointerEvent){let t=t=>{e.isPointerDown&&Ra(t,r)&&l(t),e.isPointerDown=!1};return n.addEventListener("pointerdown",i,!0),n.addEventListener("click",t,!0),()=>{n.removeEventListener("pointerdown",i,!0),n.removeEventListener("click",t,!0)}}if("test"===process.env.NODE_ENV){let t=t=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&Ra(t,r)&&l(t),e.isPointerDown=!1},a=t=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&Ra(t,r)&&l(t),e.isPointerDown=!1};return n.addEventListener("mousedown",i,!0),n.addEventListener("mouseup",t,!0),n.addEventListener("touchstart",i,!0),n.addEventListener("touchend",a,!0),()=>{n.removeEventListener("mousedown",i,!0),n.removeEventListener("mouseup",t,!0),n.removeEventListener("touchstart",i,!0),n.removeEventListener("touchend",a,!0)}}},[r,a])}({ref:r,onInteractOutside:o&&n?e=>{l&&!l(e.target)||(Kn[Kn.length-1]===r&&(e.stopPropagation(),e.preventDefault()),s())}:void 0,onInteractOutsideStart:e=>{l&&!l(e.target)||Kn[Kn.length-1]===r&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:d}=Sa({isDisabled:!a,onBlurWithin:e=>{e.relatedTarget&&!en(e.relatedTarget,qa)&&(l&&!l(e.relatedTarget)||null==t||t())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||i||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),s())},...d},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}const Jn="undefined"!=typeof document&&window.visualViewport;let $n,eo=0;function ro(e={}){let{isDisabled:r}=e;sr(()=>{if(!r)return eo++,1===eo&&($n=Xr()?function(){let e,r=!1,t=t=>{let a=t.target;e=ut(a)?a:vt(a,!0),r=!1;let n=a.ownerDocument.defaultView.getSelection();n&&!n.isCollapsed&&n.containsNode(a,!0)&&(r=!0),"selectionStart"in a&&"selectionEnd"in a&&a.selectionStart<a.selectionEnd&&a.ownerDocument.activeElement===a&&(r=!0)},a=document.createElement("style");a.textContent="\n@layer {\n * {\n overscroll-behavior: contain;\n }\n}".trim(),document.head.prepend(a);let n=t=>{2===t.touches.length||r||(e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault():t.preventDefault())},o=e=>{let r=e.target,t=e.relatedTarget;if(t&&ft(t))t.focus({preventScroll:!0}),no(t,ft(r));else if(!t){var a;let e=null===(a=r.parentElement)||void 0===a?void 0:a.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},i=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let r=null!=document.activeElement&&ft(document.activeElement);i.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||no(this,r)};let l=Lr(ao(document,"touchstart",t,{passive:!1,capture:!0}),ao(document,"touchmove",n,{passive:!1,capture:!0}),ao(document,"blur",o,!0));return()=>{l(),a.remove(),HTMLElement.prototype.focus=i}}():function(){let e=window.innerWidth-document.documentElement.clientWidth;return Lr(e>0&&("scrollbarGutter"in document.documentElement.style?to(document.documentElement,"scrollbarGutter","stable"):to(document.documentElement,"paddingRight",`${e}px`)),to(document.documentElement,"overflow","hidden"))}()),()=>{eo--,0===eo&&$n()}},[r])}function to(e,r,t){let a=e.style[r];return e.style[r]=t,()=>{e.style[r]=a}}function ao(e,r,t,a){return e.addEventListener(r,t,a),()=>{e.removeEventListener(r,t,a)}}function no(e,r){r||!Jn?oo(e):Jn.addEventListener("resize",()=>oo(e),{once:!0})}function oo(e){let r=document.scrollingElement||document.documentElement,t=e;for(;t&&t!==r;){let e=vt(t);if(e!==document.documentElement&&e!==document.body&&e!==t){let r=e.getBoundingClientRect(),a=t.getBoundingClientRect();if(a.top<r.top||a.bottom>r.top+t.clientHeight){let t=r.bottom;Jn&&(t=Math.min(t,Jn.offsetTop+Jn.height));let n=a.top-r.top-((t-r.top)/2-a.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+n)),behavior:"smooth"})}}t=e.parentElement}}const io=f({});const lo="undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype;let so=new WeakMap,co=[];function uo(e,r){let t=Sr(null==e?void 0:e[0]),a=r instanceof t.Element?{root:r}:r;var n;let o=null!==(n=null==a?void 0:a.root)&&void 0!==n?n:document.body,i=(null==a?void 0:a.shouldUseInert)&&lo,l=new Set(e),s=new Set,c=(e,r)=>{i&&e instanceof t.HTMLElement?e.inert=r:r?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof t.HTMLElement&&(e.inert=!1))},d=e=>{for(let r of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))l.add(r);let r=e=>{if(s.has(e)||l.has(e)||e.parentElement&&s.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let r of l)if(e.contains(r))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r}),a=r(e);if(a===NodeFilter.FILTER_ACCEPT&&u(e),a!==NodeFilter.FILTER_REJECT){let e=t.nextNode();for(;null!=e;)u(e),e=t.nextNode()}},u=e=>{var r;let a=null!==(r=so.get(e))&&void 0!==r?r:0;var n;(n=e,(i&&n instanceof t.HTMLElement?n.inert:"true"===n.getAttribute("aria-hidden"))&&0===a)||(0===a&&c(e,!0),s.add(e),so.set(e,a+1))};co.length&&co[co.length-1].disconnect(),d(o);let v=new MutationObserver(e=>{for(let r of e)if("childList"===r.type&&![...l,...s].some(e=>e.contains(r.target)))for(let e of r.addedNodes)!(e instanceof HTMLElement||e instanceof SVGElement)||"true"!==e.dataset.liveAnnouncer&&"true"!==e.dataset.reactAriaTopLayer?e instanceof Element&&d(e):l.add(e)});v.observe(o,{childList:!0,subtree:!0});let p={visibleNodes:l,hiddenNodes:s,observe(){v.observe(o,{childList:!0,subtree:!0})},disconnect(){v.disconnect()}};return co.push(p),()=>{v.disconnect();for(let e of s){let r=so.get(e);null!=r&&(1===r?(c(e,!1),so.delete(e)):so.set(e,r-1))}p===co[co.length-1]?(co.pop(),co.length&&co[co.length-1].observe()):co.splice(co.indexOf(p),1)}}function vo(e,r){let{triggerRef:t,popoverRef:a,groupRef:n,isNonModal:o,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l,...s}=e,c="SubmenuTrigger"===s.trigger,{overlayProps:d,underlayProps:u}=Qn({isOpen:r.isOpen,onClose:r.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l},null!=n?n:a),{overlayProps:p,arrowProps:f,placement:g,triggerAnchorPoint:h}=qn({...s,targetRef:t,overlayRef:a,isOpen:r.isOpen,onClose:o&&!c?r.close:null});return ro({isDisabled:o||!r.isOpen}),v(()=>{var e,t;if(r.isOpen&&a.current)return o?function(e){let r=co[co.length-1];if(r&&!r.visibleNodes.has(e))return r.visibleNodes.add(e),()=>{r.visibleNodes.delete(e)}}(null!==(e=null==n?void 0:n.current)&&void 0!==e?e:a.current):uo([null!==(t=null==n?void 0:n.current)&&void 0!==t?t:a.current],{shouldUseInert:!0})},[o,r.isOpen,a,n]),{popoverProps:Nr(d,p),arrowProps:f,underlayProps:u,placement:g,triggerAnchorPoint:h}}const po=n.createContext(null);function fo(e){let r=br(),{portalContainer:t=(r?null:document.body),isExiting:a}=e,[o,l]=s(!1),c=i(()=>({contain:o,setContain:l}),[o,l]),{getContainer:d}=null!==(v=u(io))&&void 0!==v?v:{};var v;if(!e.portalContainer&&d&&(t=d()),!t)return null;let p=e.children;return e.disableFocusManagement||(p=n.createElement(Xa,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!a},p)),p=n.createElement(po.Provider,{value:c},n.createElement(Ia,null,p)),y.createPortal(p,t)}var go="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};const ho=o(({children:r,className:t,borderRadius:a,disabled:n,expand:o,onHover:i,shadow:l,...s},d)=>{const u=c(null),v=d||u,{buttonProps:p}=Ya({...s,isDisabled:n??!1},v),{hoverProps:f}=Na({isDisabled:n??!1}),{isFocusVisible:g,focusProps:h}=vn();return e("button",{ref:v,className:ke(xe({_active:{transform:"scale(0.95)"},_disabled:{opacity:"0.8",pointerEvents:"none"},cursor:"pointer",h:"auto",outline:"none",position:"relative",transition:"all 0.1s ease",willChange:"transform, opacity",...o?{w:"full"}:{},...l?{_before:{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,borderRadius:"inherit",backgroundImage:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05))",_dark:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))"},opacity:0,transition:"opacity 0.1s ease"},_hover:{_before:{opacity:1}}}:{}}),g&&xe({outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}),t),style:{borderRadius:a??lr("radii.button")},...Nr(p,f,h),"aria-disabled":n,onMouseEnter:i,onTouchStart:i,children:e(Xe,{children:r})})});ho.displayName="ButtonContainer";const mo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0164 14.1589C18.3279 12.9836 18.3279 11.0163 17.0164 9.84113L9.66738 3.25527C9.25608 2.88669 8.62386 2.92132 8.25528 3.33261C7.8867 3.74391 7.92132 4.37613 8.33262 4.74471L15.6817 11.3306C16.1061 11.7109 16.1061 12.2891 15.6817 12.6694L8.33262 19.2553C7.92132 19.6239 7.8867 20.2561 8.25528 20.6674C8.62386 21.0787 9.25608 21.1133 9.66738 20.7447L17.0164 14.1589Z",fill:"currentColor"})]})},bo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7069 5.70735C20.0974 5.31683 20.0974 4.68366 19.7069 4.29314C19.3163 3.90261 18.6832 3.90261 18.2926 4.29314L12 10.5858L5.70735 4.29314C5.31682 3.90261 4.68366 3.90261 4.29314 4.29314C3.90261 4.68366 3.90261 5.31683 4.29314 5.70735L10.5858 12L4.29295 18.2928C3.90242 18.6834 3.90242 19.3165 4.29295 19.7071C4.68347 20.0976 5.31664 20.0976 5.70716 19.7071L12 13.4142L18.2928 19.7071C18.6834 20.0976 19.3165 20.0976 19.707 19.7071C20.0976 19.3165 20.0976 18.6834 19.707 18.2928L13.4142 12L19.7069 5.70735Z",fill:"currentColor"})]})},Co=Me({slots:["container","label","description","icon","button","focus"],base:{container:{px:4,py:3,rounded:10,w:"full"},button:{cursor:"pointer",outline:"none",_focusVisible:{outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5,rounded:2}},label:{textAlign:"left"}},variants:{size:{sm:{label:{fontSize:"sm"}},md:{label:{fontSize:"md"}},lg:{label:{fontSize:"lg"}}},variant:{branded:{container:{bg:"brand.lightest",_focusVisible:{outlineColor:"brand.lightest"}},label:{color:"brand.darkest"},description:{color:"brand.darkest"},icon:{color:"brand.darkest"},button:{color:"brand.darkest"}},success:{container:{bg:"positive.lightest",_focusVisible:{outlineColor:"positive.lightest"}},label:{color:"positive.darkest"},description:{color:"positive.darkest"},icon:{color:"positive.darkest"},button:{color:"positive.darkest"}},error:{container:{bg:"negative.lightest",_focusVisible:{outlineColor:"negative.lightest"}},label:{color:"negative.darkest",_dark:{color:"negative.base"}},description:{color:"negative.darkest",_dark:{color:"negative.base"}},icon:{color:"negative.darkest",_dark:{color:"negative.base"}},button:{color:"negative.darkest",_dark:{color:"negative.base"}}},warning:{container:{bg:"warning.lightest",_focusVisible:{outlineColor:"warning.lightest"}},label:{color:"warning.darkest"},description:{color:"warning.darkest"},icon:{color:"warning.darkest"},button:{color:"warning.darkest"}},neutral:{container:{bg:"surface.secondary",_focusVisible:{outlineColor:"surface.secondary"}},label:{color:"text.secondary"},description:{color:"text.secondary"},icon:{color:"text.secondary"},button:{color:"text.secondary"}}},icon:{true:{description:{ml:7}}},dismissible:{true:{description:{mr:7}}},interactive:{true:{container:{cursor:"pointer",transition:"transform 0.2s ease, opacity 0.2s ease",_active:{transform:"scale(0.95)"},_hover:{opacity:.8},_focusVisible:{outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}}}},description:{true:{label:{textTransform:"uppercase",fontSize:"xs",fontWeight:"semibold",letterSpacing:"0.06rem"}}},isDismissed:{true:{container:{animationFillMode:"forwards",animationName:"scaleOut",animationDuration:"150ms",_motionReduce:{scale:1}}}}}}),yo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM17.7731 8.63425C18.1234 8.20725 18.0612 7.57715 17.6342 7.22688C17.2072 6.87661 16.5771 6.93881 16.2268 7.36581L10.4197 14.445L7.75841 11.3483C7.39844 10.9294 6.76708 10.8817 6.34822 11.2416C5.92936 11.6016 5.88161 12.233 6.24157 12.6518L9.67907 16.6518C9.87165 16.8759 10.1535 17.0033 10.4489 17C10.7444 16.9966 11.0232 16.8627 11.2106 16.6343L17.7731 8.63425Z",fill:"currentColor"})]})},wo={branded:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2628 0.239095C7.79128 -1.14294 1.99999 3.65189 1.99999 9.83699C1.99999 13.2747 4.14256 16.424 6.77979 18.1918V18.9377C6.77979 18.9839 6.77854 19.0279 6.77689 19.0861L6.77576 19.1265C6.77382 19.197 6.77152 19.2924 6.7751 19.3913C6.78188 19.579 6.81104 19.8992 7.00168 20.2136C7.4269 20.9149 8.24323 21.005 8.87914 20.9998H15.1605C15.9708 20.9998 16.6864 20.7352 17.0486 20.0545C17.2016 19.7671 17.2421 19.4859 17.2542 19.294C17.2604 19.1958 17.2597 19.1085 17.2585 19.0454C17.2576 19.003 17.2569 18.9807 17.2564 18.9653C17.2559 18.9499 17.2557 18.9413 17.2557 18.9265V18.1804C21.0065 15.6598 23.5296 10.3805 20.9575 5.31469C19.6385 2.71676 17.1206 0.858741 14.2659 0.239749L14.2628 0.239095ZM12.599 6.19416C13.0441 6.52115 13.1399 7.14703 12.8129 7.59211L11.4112 9.50004H13.0859C13.6185 9.50004 14.3124 9.64028 14.7256 10.209C15.215 10.8828 14.9729 11.6331 14.6277 12.0985L12.8155 14.5885C12.4905 15.035 11.8651 15.1336 11.4185 14.8086C10.972 14.4836 10.8735 13.8581 11.1984 13.4116L12.5897 11.5H10.9109C10.3791 11.5 9.69468 11.356 9.28221 10.7972C8.79008 10.1305 9.01522 9.37741 9.37068 8.89946L11.2011 6.40799C11.5281 5.96291 12.154 5.86717 12.599 6.19416ZM13.033 10.89C13.033 10.89 13.0326 10.8907 13.0317 10.8921L13.033 10.89ZM10.9656 10.1074C10.9656 10.1074 10.9658 10.1071 10.9661 10.1065L10.9668 10.1055L10.9656 10.1074ZM8.49998 22C7.9477 22 7.49998 22.4477 7.49998 23C7.49998 23.5523 7.9477 24 8.49998 24H15.5C16.0522 24 16.5 23.5523 16.5 23C16.5 22.4477 16.0522 22 15.5 22H8.49998Z",fill:"currentColor"})]})},success:yo,error:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 4.69686e-07 18.6274 1.04907e-06 12C1.62846e-06 5.37258 5.37259 -1.62846e-06 12 -1.04907e-06C18.6274 -4.69686e-07 24 5.37258 24 12ZM13.5 17C13.5 17.8284 12.8284 18.5 12 18.5L11.991 18.5C11.1626 18.5 10.491 17.8284 10.491 17C10.491 16.1716 11.1626 15.5 11.991 15.5L12 15.5C12.8284 15.5 13.5 16.1716 13.5 17ZM11.9946 13C11.4423 13 10.9946 12.5523 10.9946 12L10.9946 6C10.9946 5.44771 11.4423 5 11.9946 5C12.5469 5 12.9946 5.44771 12.9946 6L12.9946 12C12.9946 12.5523 12.5469 13 11.9946 13Z",fill:"currentColor"})]})},warning:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.36635 3.74008C10.5034 1.65549 13.4967 1.65548 14.6337 3.74008L23.2646 19.5634C24.355 21.5626 22.9081 24 20.6309 24H3.36909C1.09191 24 -0.355028 21.5625 0.735407 19.5634L9.36635 3.74008L10.2442 4.21893L9.36635 3.74008ZM12 9C12.5523 9 13 9.44772 13 10V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V10C11 9.44772 11.4477 9 12 9ZM10.4946 19C10.4946 18.1716 11.1662 17.5 11.9946 17.5H12.0036C12.832 17.5 13.5036 18.1716 13.5036 19C13.5036 19.8284 12.832 20.5 12.0036 20.5H11.9946C11.1662 20.5 10.4946 19.8284 10.4946 19Z",fill:"currentColor"})]})},neutral:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM10.5 7C10.5 6.17157 11.1716 5.5 12 5.5H12.009C12.8374 5.5 13.509 6.17157 13.509 7C13.509 7.82843 12.8374 8.5 12.009 8.5H12C11.1716 8.5 10.5 7.82843 10.5 7ZM12.0054 11C12.5577 11 13.0054 11.4477 13.0054 12V18C13.0054 18.5523 12.5577 19 12.0054 19C11.4531 19 11.0054 18.5523 11.0054 18V12C11.0054 11.4477 11.4531 11 12.0054 11Z",fill:"currentColor"})]})}},xo=r=>{const{variant:t="branded",...a}=r;return e(Qe,{children:e(wo[t],{...a})})},Eo=o((t,a)=>{const{label:n,description:o,size:i="md",variant:l="branded",icon:d=!1,dismissible:u=!1,onPress:v}=t,[p,f]=s(!0),[g,h]=s(!1),m={sm:lr("spacing.4"),md:lr("spacing.5"),lg:lr("spacing.6")},b=o?m.sm:m[i],C=Co({size:i,variant:l,icon:d,description:!!o,isDismissed:g,dismissible:u,interactive:!!v}),y=()=>{h(!0)},w=c(null),x=a||w,{buttonProps:E}=Ya({onPress:v},x),k=()=>r(Qe,{className:v?"":C.container,onAnimationEnd:()=>f(!1),ref:x,children:[r(Xe,{alignItems:"flex-start",gap:1.5,children:[r(Qe,{w:"full",justifyContent:"space-between",children:[r(Qe,{alignItems:"center",children:[d&&e(xo,{variant:l,className:C.icon,width:b,height:b}),e("p",{className:C.label,children:n})]}),u&&e("button",{className:C.button,onClick:y,"aria-label":"dismiss callout",children:e(bo,{className:C.button,width:m.sm,height:m.sm})})]}),!!o&&e("p",{className:C.description,children:o})]}),!!v&&e(mo,{className:C.button,width:m.sm,height:m.sm})]});return p?v?e("button",{...E,className:C.container,children:e(k,{})}):e(k,{}):null});Eo.displayName="Callout";const ko=({inverted:t,neutral:a,progress:n=30,size:o=64,strokeWidth:i=6})=>{const l=o/2,s=Math.abs(n)/100,c=2*Math.PI*l,d=t?"surface.primary":a?"text.primary":"brand.base";return e(ar,{inline:!0,children:r("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,fill:"none",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("circle",{className:xe({stroke:d,strokeOpacity:.12}),cx:"50%",cy:"50%",r:l-i/2,strokeLinecap:"round",strokeWidth:i}),e("circle",{className:xe({animation:"spin 1s linear infinite",stroke:d,transformOrigin:"center center"}),cx:"50%",cy:"50%",r:l-i/2,strokeDasharray:c,strokeDashoffset:c-c*s+4*i,strokeLinecap:"round",strokeWidth:i})]})})};lr("colors.brand.lighter"),lr("colors.negative.lighter"),lr("colors.neutral.secondary"),lr("colors.positive.lighter"),lr("colors.warning.lighter");const Lo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6449 4.23573C22.067 4.59188 22.1205 5.22279 21.7643 5.64489L9.9518 19.6449C9.76439 19.867 9.48962 19.9966 9.19902 20C8.90842 20.0033 8.63074 19.8801 8.43826 19.6623L2.25076 12.6623C1.88499 12.2485 1.92393 11.6166 2.33773 11.2508C2.75152 10.885 3.38349 10.924 3.74926 11.3378L9.16991 17.4702L20.2357 4.35515C20.5919 3.93304 21.2228 3.87958 21.6449 4.23573Z",fill:"currentColor"})]})},Io=Ie({base:{textWrap:"wrap"},variants:{mono:{false:{},true:{}},scale:{false:{},true:{}},variant:{text:{color:"text.primary"},error:{color:"negative.darker"},info:{color:"brand.base"},success:{color:"positive.base"},warning:{color:"warning.base"}},size:{xs:{textStyle:"body-xs"},sm:{textStyle:"body-sm"},md:{textStyle:"body-md"},lg:{textStyle:"body-lg"}}},compoundVariants:[{scale:!0,size:"sm",css:{textStyle:"body-sm-scaled"}},{scale:!0,size:"md",css:{textStyle:"body-md-scaled"}},{scale:!0,size:"lg",css:{textStyle:"body-lg-scaled"}},{mono:!0,size:"sm",css:{textStyle:"mono-sm"}},{mono:!0,size:"md",css:{textStyle:"mono-md"}},{mono:!0,size:"lg",css:{textStyle:"mono-lg"}}],defaultVariants:{mono:!1,variant:"text",size:"md"}}),So="text.primary",Mo=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h1",{ref:i,className:xe({textStyle:a?"h1-scaled":"h1",color:n,...o}),style:t,children:r})),To=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h2",{ref:i,className:xe({textStyle:a?"h2-scaled":"h2",color:n,...o}),style:t,children:r})),_o=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h3",{ref:i,className:xe({textStyle:a?"h3-scaled":"h3",color:n,...o}),style:t,children:r})),Po=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h4",{ref:i,className:xe({textStyle:a?"h4-scaled":"h4",color:n,...o}),style:t,children:r})),Ao=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h5",{ref:i,className:xe({textStyle:a?"h5-scaled":"h5",color:n,...o}),style:t,children:r})),No=o(({children:r,styles:t={},scale:a,fontColor:n="text.secondary",...o},i)=>e("h6",{ref:i,className:xe({textStyle:a?"h6-scaled":"h6",color:n,...o}),style:t,children:r})),Ro=o(({children:r,styles:t={},scale:a,inline:n=!1,mono:o=!1,variant:i="text",size:l="md",truncate:s=!1,fontWeight:c,fontColor:d,...u},v)=>{const p={ref:v,className:ke(Io({mono:o,variant:i,size:l,scale:a}),xe({truncate:s,fontWeight:c??("text"!==i?"medium":"normal"),color:d,...u})),style:t};return e(n?"span":"p",{...p,children:r})}),Oo=o((r,t)=>e(Ro,{ref:t,mono:!0,...r})),Do=Object.assign(Ro,{H1:Mo,H2:To,H3:_o,H4:Po,H5:Ao,H6:No,Mono:Oo});Ro.displayName="Text",Mo.displayName="Text.H1",To.displayName="Text.H2",_o.displayName="Text.H3",Po.displayName="Text.H4",Ao.displayName="Text.H5",No.displayName="Text.H6",Oo.displayName="Text.Mono";const Fo=({isSelected:e,onChange:r,defaultSelected:t=!1})=>{const[a,n]=s(t),o=void 0!==e,i=o?e:a,l=e=>{o||n(e),r&&r(e)};return v(()=>{o&&n(e)},[e]),{isSelected:i,setSelected:l,toggle:()=>l(!i)}},jo=o((t,a)=>{const{label:n,indeterminate:o=!1,disabled:i=!1,checked:l,"aria-label":s,...d}=t,u=Fo({...t,isSelected:l}),p=c(null),f=a||p;v(()=>{const e="current"in f?f.current:null;e&&(e.indeterminate=!!o)},[o,f]);const{inputProps:g}=kn({...d,"aria-label":n||s||"Checkbox",isDisabled:i,isIndeterminate:o},u,f),{isFocusVisible:h,focusProps:m}=vn();return r("label",{className:xe({display:"flex",alignItems:"center",rounded:"sm",opacity:i?.3:1}),children:[e(Sn,{children:e("input",{...Nr(g,m),ref:f})}),e("div",{className:xe({display:"flex",alignItems:"center",justifyContent:"center",width:5,height:5,bg:u.isSelected?"brand.base":"transparent",borderWidth:"thick",borderColor:u.isSelected||h?"brand.base":"text.tertiary",transition:"background-color 0.2s ease, border-color 0.2s ease",_hover:{cursor:"pointer",borderColor:"brand.base"},pointerEvents:i?"none":"auto",rounded:"sm",boxSizing:"border-box",outlineColor:h?"brand.base":"transparent",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}),children:r("span",{children:[u.isSelected&&!o&&e(Lo,{height:16,width:16,color:lr("colors.surface.primary")}),u.isSelected&&!!o&&e(We,{justifyContent:"center",alignItems:"center",children:e("div",{className:xe({w:2.5,h:.5,bg:"surface.primary"})})})]})}),n&&e(ze,{ml:3,children:e(Do,{fontWeight:"medium",styles:{lineHeight:1},children:n})})]})});jo.displayName="Checkbox";const zo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.84115 16.0164C11.0164 17.3279 12.9837 17.3279 14.1589 16.0164L20.7447 8.66738C21.1133 8.25608 21.0787 7.62386 20.6674 7.25528C20.2561 6.8867 19.6239 6.92132 19.2553 7.33262L12.6694 14.6817C12.2891 15.1061 11.7109 15.1061 11.3306 14.6817L4.74473 7.33262C4.37614 6.92132 3.74393 6.8867 3.33263 7.25528C2.92133 7.62386 2.88671 8.25608 3.25529 8.66738L9.84115 16.0164Z",fill:"currentColor"})]})},Bo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM12.0248 7C10.9095 7 10 7.9061 10 9V9.5C10 10.0523 9.55228 10.5 9 10.5C8.44771 10.5 8 10.0523 8 9.5V9C8 6.78019 9.82639 5 12.0248 5C14.1982 5 16 6.76512 16 8.95565C16 10.8064 14.7234 12.3651 13 12.7883V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V11.9605C11 11.3757 11.4741 10.9016 12.0588 10.9016C13.1288 10.9016 14 10.0299 14 8.95565C14 7.8868 13.1108 7 12.0248 7ZM10.75 18C10.75 17.3096 11.3096 16.75 12 16.75H12.009C12.6993 16.75 13.259 17.3096 13.259 18C13.259 18.6904 12.6993 19.25 12.009 19.25H12C11.3096 19.25 10.75 18.6904 10.75 18Z",fill:"currentColor"})]})},Vo=f({selectedValue:void 0,setSelectedValue:()=>{}}),Ho=o((t,a)=>{const{label:n,value:o}=t,i=u(Vo),l=c(null),s=a||l,v=d(()=>{i.setSelectedValue(o)},[i,o]),{hoverProps:p}=Na({}),{focusProps:f,isFocusVisible:g}=vn(),{pressProps:h}=Gt({onPress:v}),m=i.selectedValue===o,b=m?0:-1;return r("label",{className:He({alignItems:"center"}),children:[e(Sn,{children:e("input",{...Nr(h,f,p),ref:s,type:"radio",checked:m,tabIndex:b,readOnly:!0})}),e(We,{justifyContent:"center",alignItems:"center",borderWidth:"thick",borderColor:g||m?"brand.base":"text.tertiary",transition:"border-color 0.2s ease",outlineColor:"brand.base",outlineStyle:g?"solid":"none",outlineWidth:"thick",outlineOffset:.5,_hover:{borderColor:"brand.base"},cursor:"pointer",w:6,h:6,rounded:"full","aria-hidden":"true",children:m&&e(rr,{size:3,bg:"brand.base"})}),e(ze,{ml:3,children:e(Do,{size:"lg",fontWeight:"medium",children:n})})]})});Ho.displayName="Radio";var Wo=typeof window>"u"?a.useEffect:a.useLayoutEffect,Uo=["$$typeof","render","displayName","defaultProps"],Yo="slots-wrapper",Zo=new RegExp(`^<${Yo}>.*</${Yo}>$`),Go=({name:e,forceUpdate:r,children:t})=>{let n=a.useRef(null),o=a.useRef(!1);return Wo(()=>{var t;if(!o.current&&(null==(t=n.current)?void 0:t.innerHTML)){let r=n.current.innerHTML;r&&!Zo.test(r)&&console.warn(`Unwrapped children found in "${e}", either wrap them in slots or remove`)}o.current=!0,r()},[e]),o.current?a.createElement(a.Fragment,null,t):a.createElement(Yo,{ref:n},t)},qo=(e=>{let r=a.createContext(e);return r.displayName="SlotsContext",r})(void 0),Xo=({children:e})=>e(),Ko=({children:e,callback:r})=>{let t=a.useReducer(()=>[],[])[1],n=a.useMemo(()=>(e=>{let r=new Map;return{register(e,t){r.set(e,t)},update(t,a){r.set(t,a),e(t)},unmount(t){r.delete(t),e(t)},get:e=>r.get(e),getProps(e){let t=r.get(e);if(!t)return;let{ref:a,props:n}=t;return a?{...n,ref:a}:n}}})(t),[t]);return a.createElement(a.Fragment,null,a.createElement(qo.Provider,{value:n},"production"===process.env.NODE_ENV?e:a.createElement(Go,{name:"HostSlots",forceUpdate:t},e)),a.createElement(Xo,null,()=>r(n)))},Qo=(e,r)=>a.createElement(Ko,{children:e,callback:r}),Jo=e=>{let r=(r,n)=>{let o=a.useContext(qo);if(!o)return e?a.createElement(e,{ref:n,...r}):null;let i=a.createElement(t,{ref:n,...r});return a.useState(()=>o.register(t,i)),a.useEffect(()=>o.update(t,i)),a.useEffect(()=>()=>o.unmount(t),[o]),null};r.displayName=e?`Slot(${(e=>"string"==typeof e?e:e.displayName||e.name||"Component")(e)})`:"Slot";let t=a.forwardRef(r);return e?((e,r)=>{if("string"==typeof r)return e;let t=Object.getOwnPropertyNames(r).reduce((e,t)=>(Uo.includes(t)||(e[t]=r[t]),e),{});return Object.assign(e,t)})(t,e):t};const $o=f({currentTab:void 0,setCurrentTab:()=>{},tabRefs:{current:{}},disabled:!1}),ei=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>h(e,t))})),ri=o((t,a)=>{const{label:n,id:o}=t,{currentTab:i,setCurrentTab:l,tabRefs:s,size:p,disabled:f}=u($o),g=i===o,h="sm"===p?8:"md"===p?10:13,m="sm"===p?16:20,b=c(null),C=a||b;v(()=>{"object"==typeof C&&s.current&&(s.current[o]=C.current)},[o]);const y=d(()=>{l(o)},[l,o]),{buttonProps:w,isPressed:x}=Ya({onPress:y,isDisabled:f},C),{hoverProps:E}=Na({}),{isFocusVisible:k,focusProps:L}=vn();return Qo(t.children,t=>{const a=t.get(ei);return e("button",{className:xe({display:"flex",justifyContent:"center",alignItems:"center",h:h,w:"full",rounded:"button",zIndex:0,cursor:"pointer",color:g?"text.primary":"text.secondary",fontSize:p,fontWeight:"semibold",whiteSpace:"nowrap",bg:"transparent",outlineColor:k?"brand.base":"transparent",outlineStyle:"solid",outlineWidth:"thick",transition:g?"background 0s":"background 0.2s ease",_disabled:{opacity:"0.3",pointerEvents:"none"},_hover:{bg:g?"transparent":"ink.20",_dark:{bg:g?"transparent":"slate.1"}}}),ref:C,...Nr(w,E,L),disabled:f,children:r(We,{opacity:x&&!g?.5:1,align:"center",justify:"center",children:[a&&{...a,props:{...a.props,className:xe({mr:1,color:g?"text.primary":"text.secondary"}),width:m,height:m}},n]})})})});Object.assign(ri,{Icon:ei}),ri.displayName="Tab";const ti=o((t,a)=>{const{checked:n,disabled:o=!1,label:i,className:l,...s}=t,d=c(null),u=a||d,v=Fo({...t,isSelected:n}),{buttonProps:p}=function(e,r,t){const{isSelected:a}=r,{isPressed:n,buttonProps:o}=Ya({...e,onPress:Lr(r.toggle,e.onPress)},t);return{isPressed:n,isSelected:a,isDisabled:e.isDisabled||!1,buttonProps:Nr(o,{"aria-pressed":a})}}({...s,isDisabled:o},v,u),{isFocusVisible:f,focusProps:g}=vn();return r(We,{alignItems:"center",children:[i&&e(ze,{mr:2,children:e(Do,{fontWeight:"medium",styles:{lineHeight:1},children:i})}),e("button",{...Nr(p,g),className:ke(xe({px:.5,h:5,width:11,_disabled:{opacity:.3,pointerEvents:"none"},bg:v.isSelected?"brand.base":"neutral.primary",_hover:{bg:v.isSelected?"brand.base":"ink.70",_dark:{bg:v.isSelected?"brand.base":"slate.4"}},transition:"background-color 0.2s ease",rounded:"full",outlineColor:f?"brand.base":"transparent",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5,cursor:"pointer"}),l),children:e("span",{className:er({h:4,w:4,bg:"paper",position:"relative",left:v.isSelected?6:0,transition:"left 0.2s ease"})})})]})});ti.displayName="Switch";const ai="hover",ni=Jo(({children:r})=>e(t,{children:r})),oi=Jo(({children:r,...t})=>{const{onPress:a,...n}=t;return e(ar,{children:g.map(r,e=>h(e,n))})}),ii=Jo(r=>e(bi.LeadingIcon,{...r})),li=Jo(r=>e(bi.TrailingIcon,{...r})),si=Object.assign(({children:a,...n})=>Qo(a,a=>{var o;const{isOpen:l,defaultOpen:s,onOpenChange:u,trigger:p=ai,iconSize:f,onPress:g,...h}=n,{isSelected:m,setSelected:b}=Fo({defaultSelected:s,onChange:u,...n}),C=void 0!==l?l:m,y=24,w=i(()=>({isOpen:C,open:()=>{b(!0)},close:()=>{b(!1)},setOpen(e){b(e)},toggle(){}}),[C]),x=a.getProps(ni),E=c(null),{triggerProps:k,overlayProps:L}=function(e,r,t){let a,{isOpen:n}=r;v(()=>{t&&t.current&&Zn.set(t.current,r.close)});let o=xr();return{triggerProps:{"aria-haspopup":a,"aria-expanded":n,"aria-controls":n?o:void 0,onPress:r.toggle},overlayProps:{id:o}}}(0,w,E),I=c(null),{popoverProps:S,underlayProps:M}=vo({placement:n.placement||"bottom left",offset:8,popoverRef:I,triggerRef:E,...x},w),T=Nr(x,S);null!==(o=T?.style)&&void 0!==o&&o.zIndex&&(T.style.zIndex=lr("zIndex.max"));const{className:_,...P}=T,A=d(()=>{w.open()},[w]),N=d(e=>{var r,t;const a=null===(r=E.current)||void 0===r?void 0:r.getBoundingClientRect(),n=null===(t=I.current)||void 0===t?void 0:t.getBoundingClientRect();if(a&&n){const r=e.clientX>=a.left-y&&e.clientX<=a.right+y&&e.clientY>=a.top-y&&e.clientY<=a.bottom+y,t=e.clientX>=n.left-y&&e.clientX<=n.right+y&&e.clientY>=n.top-y&&e.clientY<=n.bottom+y;!r&&!t&&w.close()}},[w]),R=()=>{if(I.current){const e=I.current.querySelectorAll('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');e.length>0&&e[0].focus()}};v(()=>(document.addEventListener("mousemove",N),()=>{document.removeEventListener("mousemove",N)}),[N]);const O=a.get(oi),D=a.getProps(ii),F=a.getProps(li),j=f?{height:f,width:f}:{};return r(t,{children:[e(ze,O?{display:"inline-block",ref:E,...h,children:O&&{...O,props:{...O.props,...k}}}:{display:"inline-block",ref:E,children:r(bi,{...Nr(k,h),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),l?w.close():(w.open(),setTimeout(R,0)))},onHover:()=>"hover"===p&&A(),onPress:()=>"click"===p&&A(),children:[D&&e(bi.LeadingIcon,{...D,...j}),F&&e(bi.TrailingIcon,{...F,...j})]})}),C&&r(fo,{...L,children:[e("div",{...M,className:"underlay"}),e("div",{ref:I,...P,className:ke(qe({bg:"surface.secondary",p:3,gap:0,color:"text.secondary",borderWidth:1,borderColor:"neutral.secondary",borderRadius:"xl",boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.10)",maxW:52,alignItems:"start"}),_),children:a.get(ni)})]})]})}),{Trigger:oi,LeadingIcon:ii,TrailingIcon:li,Content:ni}),ci=o((r,t)=>{var a;const{container:n,...o}=r,[i,l]=s(!1);m(()=>l(!0),[]);const c=n||i&&(null===(a=globalThis?.document)||void 0===a?void 0:a.body);return c?y.createPortal(e("div",{...o,ref:t}),c):null});ci.displayName="Portal";const di=e=>()=>{throw new Error("TOAST_PROVIDER_REQUIRED",{cause:`Before calling \`${e}\`, wrap your application with \`<ToastProvider>\`.`})};f({createToast:di("createToast"),removeToast:di("removeToast")}),Me({slots:["container","portal","toast","icon","dismiss"],base:{portal:{boxSizing:"border-box",position:"fixed",zIndex:"max",top:0,left:0,height:"100vh",width:"100vw",pointerEvents:"none"},container:{height:"full",width:"full",p:"20px"},toast:{py:2,px:4,rounded:10,boxShadow:"4px 8px 20px 0px rgba(0, 0, 0, 0.15)"},dismiss:{cursor:"pointer",pointerEvents:"all"},icon:{color:"surface.primary",height:"1rem",width:"1rem"}},variants:{variant:{branded:{toast:{backgroundColor:"brand.base"}},success:{toast:{backgroundColor:"positive.darker"}},warning:{toast:{backgroundColor:"warning.darker"}},error:{toast:{backgroundColor:"negative.darker"}},neutral:{toast:{backgroundColor:"text.tertiary",_dark:{backgroundColor:"text.secondary"}}}},position:{top:{container:{alignItems:"center",justifyContent:"flex-start"}},"top-left":{container:{alignItems:"flex-start",justifyContent:"flex-start"}},"top-right":{container:{alignItems:"flex-end",justifyContent:"flex-start"}},bottom:{container:{alignItems:"center",justifyContent:"flex-end"}},"bottom-left":{container:{alignItems:"flex-start",justifyContent:"flex-end"}},"bottom-right":{container:{alignItems:"flex-end",justifyContent:"flex-end"}}}},defaultVariants:{position:"top-right",variant:"branded"}});const ui=Me({slots:["trigger","content","spacer"],base:{trigger:{position:"relative",w:"auto"},content:{w:"max",maxW:72,color:"text.secondary",bg:"surface.primary",borderColor:"neutral.secondary",borderWidth:"thin",_dark:{bg:"surface.tertiary"},position:"absolute",py:2,px:3,rounded:"xl",boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.10)",zIndex:"max",display:"none"},spacer:{position:"absolute"}},variants:{expand:{true:{trigger:{w:"full"}}},isOpen:{true:{content:{display:"block"}}},placement:{top:{content:{top:"0%",left:"50%",transform:"translateX(-50%) translateY(calc(-100% - 0.75rem))"}},"top left":{content:{top:"0%",right:"100%",transform:"translateX(10%) translateY(calc(-100% - 0.75rem))"}},"top right":{content:{top:"0%",left:"100%",transform:"translateX(-10%) translateY(calc(-100% - 0.75rem))"}},left:{content:{top:"50%",left:"0%",transform:"translateX(calc(-100% - 0.75rem)) translateY(-50%)"}},"left top":{content:{top:"50%",left:"0%",transform:"translateX(calc(-100% - 0.75rem)) translateY(-75%)"}},"left bottom":{content:{top:"50%",left:"0%",transform:"translateX(calc(-100% - 0.75rem)) translateY(-25%)"}},right:{content:{top:"50%",right:"0%",transform:"translateX(calc(100% + 0.75rem)) translateY(-50%)"}},"right top":{content:{top:"50%",right:"0%",transform:"translateX(calc(100% + 0.75rem)) translateY(-75%)"}},"right bottom":{content:{top:"50%",right:"0%",transform:"translateX(calc(100% + 0.75rem)) translateY(-25%)"}},bottom:{content:{bottom:"0%",left:"50%",transform:"translateX(-50%) translateY(calc(100% + 0.75rem))"}},"bottom left":{content:{bottom:"0%",right:"100%",transform:"translateX(10%) translateY(calc(100% + 0.75rem))"}},"bottom right":{content:{bottom:"0%",left:"100%",transform:"translateX(-10%) translateY(calc(100% + 0.75rem))"}}},position:{top:{spacer:{width:72,height:4,bottom:0,left:"50%",transform:"translateX(-50%) translateY(0.75rem)"}},bottom:{spacer:{width:72,height:4,top:0,left:"50%",transform:"translateX(-50%) translateY(-0.75rem)"}},left:{spacer:{width:4,height:48,top:"50%",right:-6,transform:"translateX(-0.75rem) translateY(-50%)"}},right:{spacer:{width:4,height:48,top:"50%",left:-6,transform:"translateX(0.75rem) translateY(-50%)"}}}}}),vi=o((t,a)=>{const n="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.maxTouchPoints>0,{children:o,content:l,width:d=288,closeDelay:u=2500,defaultOpen:p,placement:f="top",expand:g=!1,...b}=t,[C,y]=s(!1),{isSelected:w,setSelected:x}=Fo({isOpen:t.isOpen,defaultSelected:p,onChange(e){e||y(!1)},...t}),E=i(()=>({isOpen:w,open:()=>{x(!0)},close:e=>{e||n?x(!1):(C&&setTimeout(()=>{x(!1),y(!1)},u),C||x(!1))}}),[w,C]),k=c(null),{triggerProps:L,tooltipProps:I}=function(e,r,t){let{isDisabled:a,trigger:n,shouldCloseOnPress:o=!0}=e,i=xr(),l=c(!1),s=c(!1),d=()=>{(l.current||s.current)&&r.open(s.current)},u=e=>{l.current||s.current||r.close(e)};v(()=>{let e=e=>{t&&t.current&&"Escape"===e.key&&(e.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[t,r]);let p=()=>{o&&(s.current=!1,l.current=!1,u(!0))},{hoverProps:f}=Na({isDisabled:a,onHoverStart:()=>{"focus"!==n&&("pointer"===ba()?l.current=!0:l.current=!1,d())},onHoverEnd:()=>{"focus"!==n&&(s.current=!1,l.current=!1,u())}}),{focusableProps:g}=La({isDisabled:a,onFocus:()=>{ma()&&(s.current=!0,d())},onBlur:()=>{s.current=!1,l.current=!1,u(!0)}},t);return{triggerProps:{"aria-describedby":r.isOpen?i:void 0,...Nr(g,f,{onPointerDown:p,onKeyDown:p}),tabIndex:void 0},tooltipProps:{id:i}}}(t,E,k);L.onClick=()=>{E.open(),y(!0)};const S=function(e){const r=c(null),t=c(e);return m(()=>{t.current=e}),v(()=>{const e=e=>{const a=r.current;a&&!a.contains(e.target)&&t.current(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[]),r}(()=>{E.close(!0)}),M=f.split(" ")[0],T=ui({expand:g,isOpen:E.isOpen,placement:f,position:M});return r(ze,{ref:S,className:T.trigger,onMouseLeave:()=>{E.close()},onFocus:()=>{E.open()},onBlur:()=>{E.close()},children:[h(o,{...L,tabIndex:0}),r(ze,{ref:a,"aria-describedby":"tooltip",role:"tooltip",className:T.content,style:{width:d},onMouseEnter:()=>{E.open()},...Nr(I,b),children:[e(Do,{size:"sm",children:l}),E.isOpen&&e(ze,{onMouseEnter:()=>{E.open()},className:T.spacer})]})]})});vi.displayName="Tooltip",f({selectedOption:null,setSelectedOption:()=>{}});const pi=Me({slots:["button","label","focus","icon","iconContainer"],base:{button:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",fontWeight:"semibold",boxSizing:"border-box",borderRadius:"button",border:"thin solid",borderColor:"transparent",cursor:"pointer",transition:"all 0.1s ease",outline:"none",willChange:"transform, opacity",bg:"none",_active:{transform:"scale(0.95)"},_disabled:{opacity:"0.3",pointerEvents:"none"},_before:{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,borderRadius:"inherit",backgroundImage:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05))",_dark:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))"},opacity:0,transition:"opacity 0.1s ease"},_hover:{_before:{opacity:1}}},label:{display:"flex",textAlign:"center",justifyContent:"center",whiteSpace:"nowrap",transition:"all 0.1s ease"},focus:{outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5},icon:{transition:"all 0.1s ease"}},variants:{size:{sm:{button:{h:9,py:1.5,px:4},label:{fontSize:"sm",lineHeight:"1.5rem"},iconContainer:{w:9,p:1.5}},md:{button:{h:12,py:3,px:6},label:{fontSize:"md",lineHeight:"1.5rem"},iconContainer:{w:12,p:3}},lg:{button:{h:15,py:4,px:6},label:{fontSize:"lg",lineHeight:"1.75rem"},iconContainer:{w:15,p:4}}},variant:{primary:{button:{bg:"brand.base"},label:{color:"surface.primary"},icon:{color:"surface.primary"}},secondary:{button:{bg:"brand.lightest"},label:{color:"brand.darker"},icon:{color:"brand.darker"}},positive:{button:{bg:"positive.darker"},label:{color:"surface.primary"},icon:{color:"surface.primary"}},negative:{button:{bg:"negative.darker"},label:{color:"surface.primary"},icon:{color:"surface.primary"}},neutral:{button:{bg:"neutral.tertiary",_light:{mixBlendMode:"multiply"}},label:{color:"text.primary"},icon:{color:"text.primary"}},tertiary:{button:{bg:"transparent",borderColor:"neutral.primary"},label:{color:"text.primary"},icon:{color:"brand.base"}},text:{button:{p:0,h:"fit-content",_hover:{_before:{opacity:0}}},label:{color:"brand.base",_groupHover:{color:"brand.darkest",_dark:{color:"brand.lighter"}}},icon:{color:"brand.base",_groupHover:{color:"brand.darkest",_dark:{color:"brand.lighter"}}}},transparent:{button:{bg:{base:"#ffffff14",_hover:"#ffffff4d"},_dark:{bg:"#ffffff29"},backdropFilter:"blur(3px)",_before:{display:"none"}},label:{color:"chalk"},icon:{color:"chalk"}},inverse:{button:{bg:"ink.90",_dark:{bg:"paper"},_before:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))",_dark:{backgroundImage:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05))"}}},label:{color:"chalk",_dark:{color:"ink.90"}},icon:{color:"chalk",_dark:{color:"ink.90"}}}},validating:{true:{button:{pointerEvents:"none"}}},expand:{true:{button:{width:"full"}}},iconOnly:{true:{button:{borderRadius:"full"}}},textStyle:{positive:{},negative:{},neutral:{},subtle:{}}},compoundVariants:[{textStyle:"positive",css:{label:{color:"positive.base"},icon:{color:"positive.base"}}},{variant:"text",textStyle:"positive",css:{label:{_groupHover:{color:"positive.darker",_dark:{color:"positive.darker"}}},icon:{_groupHover:{color:"positive.darker",_dark:{color:"positive.darker"}}}}},{textStyle:"negative",css:{label:{color:"negative.darker",_dark:{color:"negative.base"}},icon:{color:"negative.darker",_dark:{color:"negative.base"}}}},{variant:"text",textStyle:"negative",css:{label:{_groupHover:{color:"negative.darkest",_dark:{color:"negative.lighter"}}},icon:{_groupHover:{color:"negative.darkest",_dark:{color:"negative.lighter"}}}}},{textStyle:"neutral",css:{label:{color:"text.primary"},icon:{color:"text.primary"}}},{variant:"text",textStyle:"neutral",css:{label:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}},icon:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}}}},{textStyle:"subtle",css:{label:{color:"text.tertiary"},icon:{color:"text.tertiary"}}},{variant:"text",textStyle:"subtle",css:{label:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}},icon:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}}}},{variant:"text",iconOnly:!0,css:{iconContainer:{p:1.5,w:"fit-content"}}}],defaultVariants:{size:"md",variant:"primary"}}),fi=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>h(e,t))})),gi=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>h(e,t))})),hi=({variant:r="primary",size:t="md"})=>e(ko,{size:{sm:20,md:24,lg:28}[t],strokeWidth:2.5,inverted:"primary"===r||"negative"===r,neutral:"neutral"===r||"tertiary"===r}),mi=o((t,a)=>{const{label:n,variant:o="primary",textStyle:i,size:l="md",disabled:s,expand:d,validating:u,iconSize:v,onHover:p,centerContent:f}=t,g=v||("sm"===l?16:24),h=n&&d&&!f,m=pi({variant:o,textStyle:i,expand:d,size:l,validating:u,iconOnly:!n}),b=c(null),C=a||b,{buttonProps:y}=Ya({...t,isDisabled:s??!1},C),{hoverProps:w}=Na({isDisabled:s??!1}),{isFocusVisible:x,focusProps:E}=vn();return Qo(t.children,t=>{const a=t.get(fi),i=t.get(gi),c=g/4;return e("button",{className:ke(m.button,"group",!n&&m.iconContainer,x&&m.focus),ref:C,...Nr(y,w,E),"aria-disabled":s,onMouseEnter:p,onTouchStart:p,children:u?e(hi,{variant:o,size:l}):r(Qe,{w:"full",gap:2,justify:n&&(a||i)&&!f?"space-between":"center",children:[a&&{...a,props:{className:a.props.color?void 0:m.icon,width:g,height:g,...a.props}},i&&h&&e(ze,{w:c}),n&&e("span",{className:m.label,children:n}),a&&h&&e(ze,{w:c}),i&&{...i,props:{className:i.props.color?void 0:m.icon,width:g,height:g,...i.props}}]})})})}),bi=Object.assign(mi,{LeadingIcon:fi,TrailingIcon:gi});mi.displayName="Button";const Ci=Ie({base:{bgColor:"surface.primary",borderRadius:"1rem"},variants:{asButton:{false:{cursor:"default"},true:{alignItems:"center",cursor:"pointer",h:"10.75rem",justifyContent:"center",p:4,transition:"all 0.1s ease",w:"10.75rem",_active:{transform:"scale(0.95)"}}},alignment:{center:{alignItems:"center"},left:{alignItems:"flex-start"},right:{alignItems:"flex-end"}},alt:{true:{}},expand:{false:{overflow:"hidden"},true:{overflow:"visible",w:"full"}},gapType:{none:{gap:0},sm:{gap:4},md:{gap:5},lg:{gap:6}},heavyShadow:{false:{boxShadow:"0px 1px 2px rgba(189, 189, 189, 0.3)"},true:{boxShadow:"8px 8px 48px rgba(16, 15, 17, 0.14)"}},paddingType:{none:{p:0},sm:{px:4,py:3},md:{px:8,py:6},lg:{p:12}},widthMax:{true:{flex:1,maxW:"29.125rem",mdDown:{maxW:"full"}}},disabled:{true:{opacity:.3,pointerEvents:"none"}},validating:{true:{pointerEvents:"none"}}},compoundVariants:[{asButton:!0,alt:!0,css:{bgColor:"surface.tertiary",color:"text.secondary",_hover:{filter:"brightness(0.9)"}}}],defaultVariants:{alt:!1,expand:!1,gapType:"md",heavyShadow:!1,paddingType:"md",widthMax:!1}}),yi=o(({children:r,className:t,id:a,asButton:n,stack:o,onClick:i,validating:l,...s},c)=>{const d=Ci({asButton:n,validating:l,...s});return o||n?e(We,{id:a,className:ke(d,t),flexDirection:"column",role:n?"button":"none",onClick:n?i:void 0,ref:c,children:l?e(ko,{neutral:!0}):r}):e(ze,{id:a,className:ke(d,t),ref:c,children:r})});yi.displayName="Card";const wi=({isOpen:a=!1,title:n,onToggle:o,children:i,showCloseButton:l=!0})=>{const[u,p]=s(a),[f,g]=s(a),h=c(null);v(()=>{let e;return a?(p(!0),e=setTimeout(()=>g(!0),10)):g(!1),()=>clearTimeout(e)},[a]),v(()=>{const e=e=>{h.current&&!h.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]);const m=d(()=>{o(!1)},[o]);return r(t,{children:[e(ze,{position:"absolute",display:a?"block":"none",h:"full",bottom:0,left:0,right:0,bg:"text.primary/20",_dark:{bg:"rgba(0, 0, 0, .7)"},backdropFilter:"blur(3px)"}),u&&r(ze,{ref:h,position:"absolute",transform:f?"translateY(0)":"translateY(100%)",transition:"transform 0.3s",bottom:0,left:0,right:0,bg:"surface.primary",_dark:{bg:"surface.secondary"},roundedTop:"3xl",boxShadow:"0px -12px 56px 0px rgba(119, 118, 122, 0.15)",onTransitionEnd:()=>{a||p(!1)},zIndex:10,children:[r(Qe,{justifyContent:"space-between",px:6,py:4,children:[e(Do,{fontWeight:"medium",children:n}),l&&e(bi,{size:"sm",variant:"neutral",onPress:m,children:e(bi.LeadingIcon,{children:e(zo,{})})})]}),e(ze,{px:6,pb:6,children:i})]})]})},xi=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M11.2625 0.24827C11.4758 0.0870459 11.7344 0 12 0C12.2656 0 12.5242 0.0870459 12.7375 0.24827C14.2625 1.36858 17.625 4.81861 17.625 13.1445C17.625 15.8944 16.65 19.2044 15.925 21.2285C15.75 21.725 15.2875 22.056 14.7625 22.056H9.25C8.725 22.056 8.25 21.725 8.075 21.2285C7.35 19.2044 6.375 15.8944 6.375 13.1445C6.375 4.81861 9.7375 1.36858 11.2625 0.24827ZM14.5 10.5984C14.5 9.19799 13.375 8.05222 12 8.05222C10.625 8.05222 9.5 9.19799 9.5 10.5984C9.5 11.9988 10.625 13.1445 12 13.1445C13.375 13.1445 14.5 11.9988 14.5 10.5984ZM6.6125 22.718C6.0125 21.1522 4.7125 17.4093 4.525 13.972L3.1125 14.9268C2.4125 15.4106 2 16.1999 2 17.0529V22.718C2 23.6219 2.8875 24.233 3.7125 23.902L6.6125 22.718ZM22 22.718V17.0529C22 16.1999 21.5875 15.4106 20.8875 14.9396L19.475 13.9848C19.2875 17.4093 17.975 21.1649 17.3875 22.7308L20.2875 23.9147C21.1125 24.233 22 23.6219 22 22.718Z",fill:"currentColor"})]})},Ei="2.625rem",ki=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))}));Object.assign(r=>{const{assetUri:a}=r;return Qo(r.children,r=>{const n=r.get(ki);return e(t,{children:a&&"https://assets.fortmatic.com/MagicLogos/blank.png"!==a?e("img",{className:xe({height:Ei,width:Ei,overflow:"hidden"}),alt:"logo",src:a}):n?{...n,props:{...n.props,width:Ei,height:Ei}}:e(xi,{height:Ei,width:Ei,color:lr("colors.brand.lighter")})})})},{PlaceholderIcon:ki});var Li={},Ii={exports:{}};!function(e,r){var t="__lodash_hash_undefined__",a=9007199254740991,n="[object Arguments]",o="[object Array]",i="[object Boolean]",l="[object Date]",s="[object Error]",c="[object Function]",d="[object Map]",u="[object Number]",v="[object Object]",p="[object Promise]",f="[object RegExp]",g="[object Set]",h="[object String]",m="[object Symbol]",b="[object WeakMap]",C="[object ArrayBuffer]",y="[object DataView]",w=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,E={};E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E[n]=E[o]=E[C]=E[i]=E[y]=E[l]=E[s]=E[c]=E[d]=E[u]=E[v]=E[f]=E[g]=E[h]=E[b]=!1;var k="object"==typeof go&&go&&go.Object===Object&&go,L="object"==typeof self&&self&&self.Object===Object&&self,I=k||L||Function("return this")(),S=r&&!r.nodeType&&r,M=S&&e&&!e.nodeType&&e,T=M&&M.exports===S,_=T&&k.process,P=function(){try{return _&&_.binding&&_.binding("util")}catch(e){}}(),A=P&&P.isTypedArray;function N(e,r){for(var t=-1,a=null==e?0:e.length;++t<a;)if(r(e[t],t,e))return!0;return!1}function R(e){var r=-1,t=Array(e.size);return e.forEach(function(e,a){t[++r]=[a,e]}),t}function O(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t}var D,F,j,z=Array.prototype,B=Function.prototype,V=Object.prototype,H=I["__core-js_shared__"],W=B.toString,U=V.hasOwnProperty,Y=(D=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",Z=V.toString,G=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=T?I.Buffer:void 0,X=I.Symbol,K=I.Uint8Array,Q=V.propertyIsEnumerable,J=z.splice,$=X?X.toStringTag:void 0,ee=Object.getOwnPropertySymbols,re=q?q.isBuffer:void 0,te=(F=Object.keys,j=Object,function(e){return F(j(e))}),ae=Pe(I,"DataView"),ne=Pe(I,"Map"),oe=Pe(I,"Promise"),ie=Pe(I,"Set"),le=Pe(I,"WeakMap"),se=Pe(Object,"create"),ce=Oe(ae),de=Oe(ne),ue=Oe(oe),ve=Oe(ie),pe=Oe(le),fe=X?X.prototype:void 0,ge=fe?fe.valueOf:void 0;function he(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}function me(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}function be(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}function Ce(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new be;++r<t;)this.add(e[r])}function ye(e){var r=this.__data__=new me(e);this.size=r.size}function we(e,r){var t=je(e),a=!t&&Fe(e),n=!t&&!a&&ze(e),o=!t&&!a&&!n&&Ue(e),i=t||a||n||o,l=i?function(e,r){for(var t=-1,a=Array(e);++t<e;)a[t]=r(t);return a}(e.length,String):[],s=l.length;for(var c in e)!U.call(e,c)||i&&("length"==c||n&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Re(c,s))||l.push(c);return l}function xe(e,r){for(var t=e.length;t--;)if(De(e[t][0],r))return t;return-1}function Ee(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var r=U.call(e,$),t=e[$];try{e[$]=void 0;var a=!0}catch(e){}var n=Z.call(e);a&&(r?e[$]=t:delete e[$]);return n}(e):function(e){return Z.call(e)}(e)}function ke(e){return We(e)&&Ee(e)==n}function Le(e,r,t,a,c){return e===r||(null==e||null==r||!We(e)&&!We(r)?e!=e&&r!=r:function(e,r,t,a,c,p){var b=je(e),w=je(r),x=b?o:Ne(e),E=w?o:Ne(r),k=(x=x==n?v:x)==v,L=(E=E==n?v:E)==v,I=x==E;if(I&&ze(e)){if(!ze(r))return!1;b=!0,k=!1}if(I&&!k)return p||(p=new ye),b||Ue(e)?Me(e,r,t,a,c,p):function(e,r,t,a,n,o,c){switch(t){case y:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case C:return!(e.byteLength!=r.byteLength||!o(new K(e),new K(r)));case i:case l:case u:return De(+e,+r);case s:return e.name==r.name&&e.message==r.message;case f:case h:return e==r+"";case d:var v=R;case g:var p=1&a;if(v||(v=O),e.size!=r.size&&!p)return!1;var b=c.get(e);if(b)return b==r;a|=2,c.set(e,r);var w=Me(v(e),v(r),a,n,o,c);return c.delete(e),w;case m:if(ge)return ge.call(e)==ge.call(r)}return!1}(e,r,x,t,a,c,p);if(!(1&t)){var S=k&&U.call(e,"__wrapped__"),M=L&&U.call(r,"__wrapped__");if(S||M){var T=S?e.value():e,_=M?r.value():r;return p||(p=new ye),c(T,_,t,a,p)}}if(!I)return!1;return p||(p=new ye),function(e,r,t,a,n,o){var i=1&t,l=Te(e),s=l.length,c=Te(r),d=c.length;if(s!=d&&!i)return!1;var u=s;for(;u--;){var v=l[u];if(!(i?v in r:U.call(r,v)))return!1}var p=o.get(e);if(p&&o.get(r))return p==r;var f=!0;o.set(e,r),o.set(r,e);var g=i;for(;++u<s;){var h=e[v=l[u]],m=r[v];if(a)var b=i?a(m,h,v,r,e,o):a(h,m,v,e,r,o);if(!(void 0===b?h===m||n(h,m,t,a,o):b)){f=!1;break}g||(g="constructor"==v)}if(f&&!g){var C=e.constructor,y=r.constructor;C==y||!("constructor"in e)||!("constructor"in r)||"function"==typeof C&&C instanceof C&&"function"==typeof y&&y instanceof y||(f=!1)}return o.delete(e),o.delete(r),f}(e,r,t,a,c,p)}(e,r,t,a,Le,c))}function Ie(e){return!(!He(e)||function(e){return!!Y&&Y in e}(e))&&(Be(e)?G:w).test(Oe(e))}function Se(e){if(t=(r=e)&&r.constructor,a="function"==typeof t&&t.prototype||V,r!==a)return te(e);var r,t,a,n=[];for(var o in Object(e))U.call(e,o)&&"constructor"!=o&&n.push(o);return n}function Me(e,r,t,a,n,o){var i=1&t,l=e.length,s=r.length;if(l!=s&&!(i&&s>l))return!1;var c=o.get(e);if(c&&o.get(r))return c==r;var d=-1,u=!0,v=2&t?new Ce:void 0;for(o.set(e,r),o.set(r,e);++d<l;){var p=e[d],f=r[d];if(a)var g=i?a(f,p,d,r,e,o):a(p,f,d,e,r,o);if(void 0!==g){if(g)continue;u=!1;break}if(v){if(!N(r,function(e,r){if(i=r,!v.has(i)&&(p===e||n(p,e,t,a,o)))return v.push(r);var i})){u=!1;break}}else if(p!==f&&!n(p,f,t,a,o)){u=!1;break}}return o.delete(e),o.delete(r),u}function Te(e){return function(e,r,t){var a=r(e);return je(e)?a:function(e,r){for(var t=-1,a=r.length,n=e.length;++t<a;)e[n+t]=r[t];return e}(a,t(e))}(e,Ye,Ae)}function _e(e,r){var t,a,n=e.__data__;return("string"==(a=typeof(t=r))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==t:null===t)?n["string"==typeof r?"string":"hash"]:n.map}function Pe(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return Ie(t)?t:void 0}he.prototype.clear=function(){this.__data__=se?se(null):{},this.size=0},he.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},he.prototype.get=function(e){var r=this.__data__;if(se){var a=r[e];return a===t?void 0:a}return U.call(r,e)?r[e]:void 0},he.prototype.has=function(e){var r=this.__data__;return se?void 0!==r[e]:U.call(r,e)},he.prototype.set=function(e,r){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=se&&void 0===r?t:r,this},me.prototype.clear=function(){this.__data__=[],this.size=0},me.prototype.delete=function(e){var r=this.__data__,t=xe(r,e);return!(t<0)&&(t==r.length-1?r.pop():J.call(r,t,1),--this.size,!0)},me.prototype.get=function(e){var r=this.__data__,t=xe(r,e);return t<0?void 0:r[t][1]},me.prototype.has=function(e){return xe(this.__data__,e)>-1},me.prototype.set=function(e,r){var t=this.__data__,a=xe(t,e);return a<0?(++this.size,t.push([e,r])):t[a][1]=r,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new he,map:new(ne||me),string:new he}},be.prototype.delete=function(e){var r=_e(this,e).delete(e);return this.size-=r?1:0,r},be.prototype.get=function(e){return _e(this,e).get(e)},be.prototype.has=function(e){return _e(this,e).has(e)},be.prototype.set=function(e,r){var t=_e(this,e),a=t.size;return t.set(e,r),this.size+=t.size==a?0:1,this},Ce.prototype.add=Ce.prototype.push=function(e){return this.__data__.set(e,t),this},Ce.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.clear=function(){this.__data__=new me,this.size=0},ye.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},ye.prototype.get=function(e){return this.__data__.get(e)},ye.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.set=function(e,r){var t=this.__data__;if(t instanceof me){var a=t.__data__;if(!ne||a.length<199)return a.push([e,r]),this.size=++t.size,this;t=this.__data__=new be(a)}return t.set(e,r),this.size=t.size,this};var Ae=ee?function(e){return null==e?[]:(e=Object(e),function(e,r){for(var t=-1,a=null==e?0:e.length,n=0,o=[];++t<a;){var i=e[t];r(i,t,e)&&(o[n++]=i)}return o}(ee(e),function(r){return Q.call(e,r)}))}:function(){return[]},Ne=Ee;function Re(e,r){return!!(r=null==r?a:r)&&("number"==typeof e||x.test(e))&&e>-1&&e%1==0&&e<r}function Oe(e){if(null!=e){try{return W.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function De(e,r){return e===r||e!=e&&r!=r}(ae&&Ne(new ae(new ArrayBuffer(1)))!=y||ne&&Ne(new ne)!=d||oe&&Ne(oe.resolve())!=p||ie&&Ne(new ie)!=g||le&&Ne(new le)!=b)&&(Ne=function(e){var r=Ee(e),t=r==v?e.constructor:void 0,a=t?Oe(t):"";if(a)switch(a){case ce:return y;case de:return d;case ue:return p;case ve:return g;case pe:return b}return r});var Fe=ke(function(){return arguments}())?ke:function(e){return We(e)&&U.call(e,"callee")&&!Q.call(e,"callee")},je=Array.isArray;var ze=re||function(){return!1};function Be(e){if(!He(e))return!1;var r=Ee(e);return r==c||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function He(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function We(e){return null!=e&&"object"==typeof e}var Ue=A?function(e){return function(r){return e(r)}}(A):function(e){return We(e)&&Ve(e.length)&&!!E[Ee(e)]};function Ye(e){return null!=(r=e)&&Ve(r.length)&&!Be(r)?we(e):Se(e);var r}e.exports=function(e,r){return Le(e,r)}}(Ii,Ii.exports);var Si=Ii.exports,Mi={exports:{}};!function(e){var r=function(){var e=function(e,r){var t=e,a=d[r],n=null,o=0,i=null,l=[],s={},c=function(e,r){n=function(e){for(var r=new Array(e),t=0;t<e;t+=1){r[t]=new Array(e);for(var a=0;a<e;a+=1)r[t][a]=null}return r}(o=4*t+17),u(0,0),u(o-7,0),u(0,o-7),p(),v(),g(e,r),t>=7&&f(e),null==i&&(i=m(t,a,l)),h(i,r)},u=function(e,r){for(var t=-1;t<=7;t+=1)if(!(e+t<=-1||o<=e+t))for(var a=-1;a<=7;a+=1)r+a<=-1||o<=r+a||(n[e+t][r+a]=0<=t&&t<=6&&(0==a||6==a)||0<=a&&a<=6&&(0==t||6==t)||2<=t&&t<=4&&2<=a&&a<=4)},v=function(){for(var e=8;e<o-8;e+=1)null==n[e][6]&&(n[e][6]=e%2==0);for(var r=8;r<o-8;r+=1)null==n[6][r]&&(n[6][r]=r%2==0)},p=function(){for(var e=C.getPatternPosition(t),r=0;r<e.length;r+=1)for(var a=0;a<e.length;a+=1){var o=e[r],i=e[a];if(null==n[o][i])for(var l=-2;l<=2;l+=1)for(var s=-2;s<=2;s+=1)n[o+l][i+s]=-2==l||2==l||-2==s||2==s||0==l&&0==s}},f=function(e){for(var r=C.getBCHTypeNumber(t),a=0;a<18;a+=1){var i=!e&&1==(r>>a&1);n[Math.floor(a/3)][a%3+o-8-3]=i}for(a=0;a<18;a+=1){i=!e&&1==(r>>a&1);n[a%3+o-8-3][Math.floor(a/3)]=i}},g=function(e,r){for(var t=a<<3|r,i=C.getBCHTypeInfo(t),l=0;l<15;l+=1){var s=!e&&1==(i>>l&1);l<6?n[l][8]=s:l<8?n[l+1][8]=s:n[o-15+l][8]=s}for(l=0;l<15;l+=1){s=!e&&1==(i>>l&1);l<8?n[8][o-l-1]=s:l<9?n[8][15-l-1+1]=s:n[8][15-l-1]=s}n[o-8][8]=!e},h=function(e,r){for(var t=-1,a=o-1,i=7,l=0,s=C.getMaskFunction(r),c=o-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var d=0;d<2;d+=1)if(null==n[a][c-d]){var u=!1;l<e.length&&(u=1==(e[l]>>>i&1)),s(a,c-d)&&(u=!u),n[a][c-d]=u,-1==(i-=1)&&(l+=1,i=7)}if((a+=t)<0||o<=a){a-=t,t=-t;break}}},m=function(e,r,t){for(var a=x.getRSBlocks(e,r),n=E(),o=0;o<t.length;o+=1){var i=t[o];n.put(i.getMode(),4),n.put(i.getLength(),C.getLengthInBits(i.getMode(),e)),i.write(n)}var l=0;for(o=0;o<a.length;o+=1)l+=a[o].dataCount;if(n.getLengthInBits()>8*l)throw"code length overflow. ("+n.getLengthInBits()+">"+8*l+")";for(n.getLengthInBits()+4<=8*l&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*l||(n.put(236,8),n.getLengthInBits()>=8*l));)n.put(17,8);return function(e,r){for(var t=0,a=0,n=0,o=new Array(r.length),i=new Array(r.length),l=0;l<r.length;l+=1){var s=r[l].dataCount,c=r[l].totalCount-s;a=Math.max(a,s),n=Math.max(n,c),o[l]=new Array(s);for(var d=0;d<o[l].length;d+=1)o[l][d]=255&e.getBuffer()[d+t];t+=s;var u=C.getErrorCorrectPolynomial(c),v=w(o[l],u.getLength()-1).mod(u);for(i[l]=new Array(u.getLength()-1),d=0;d<i[l].length;d+=1){var p=d+v.getLength()-i[l].length;i[l][d]=p>=0?v.getAt(p):0}}var f=0;for(d=0;d<r.length;d+=1)f+=r[d].totalCount;var g=new Array(f),h=0;for(d=0;d<a;d+=1)for(l=0;l<r.length;l+=1)d<o[l].length&&(g[h]=o[l][d],h+=1);for(d=0;d<n;d+=1)for(l=0;l<r.length;l+=1)d<i[l].length&&(g[h]=i[l][d],h+=1);return g}(n,a)};s.addData=function(e,r){var t=null;switch(r=r||"Byte"){case"Numeric":t=k(e);break;case"Alphanumeric":t=L(e);break;case"Byte":t=I(e);break;case"Kanji":t=S(e);break;default:throw"mode:"+r}l.push(t),i=null},s.isDark=function(e,r){if(e<0||o<=e||r<0||o<=r)throw e+","+r;return n[e][r]},s.getModuleCount=function(){return o},s.make=function(){if(t<1){for(var e=1;e<40;e++){for(var r=x.getRSBlocks(e,a),n=E(),o=0;o<l.length;o++){var i=l[o];n.put(i.getMode(),4),n.put(i.getLength(),C.getLengthInBits(i.getMode(),e)),i.write(n)}var d=0;for(o=0;o<r.length;o++)d+=r[o].dataCount;if(n.getLengthInBits()<=8*d)break}t=e}c(!1,function(){for(var e=0,r=0,t=0;t<8;t+=1){c(!0,t);var a=C.getLostPoint(s);(0==t||e>a)&&(e=a,r=t)}return r}())},s.createTableTag=function(e,r){e=e||2;var t="";t+='<table style="',t+=" border-width: 0px; border-style: none;",t+=" border-collapse: collapse;",t+=" padding: 0px; margin: "+(r=void 0===r?4*e:r)+"px;",t+='">',t+="<tbody>";for(var a=0;a<s.getModuleCount();a+=1){t+="<tr>";for(var n=0;n<s.getModuleCount();n+=1)t+='<td style="',t+=" border-width: 0px; border-style: none;",t+=" border-collapse: collapse;",t+=" padding: 0px; margin: 0px;",t+=" width: "+e+"px;",t+=" height: "+e+"px;",t+=" background-color: ",t+=s.isDark(a,n)?"#000000":"#ffffff",t+=";",t+='"/>';t+="</tr>"}return t+="</tbody>",t+="</table>"},s.createSvgTag=function(e,r,t,a){var n={};"object"==typeof arguments[0]&&(e=(n=arguments[0]).cellSize,r=n.margin,t=n.alt,a=n.title),e=e||2,r=void 0===r?4*e:r,(t="string"==typeof t?{text:t}:t||{}).text=t.text||null,t.id=t.text?t.id||"qrcode-description":null,(a="string"==typeof a?{text:a}:a||{}).text=a.text||null,a.id=a.text?a.id||"qrcode-title":null;var o,i,l,c,d=s.getModuleCount()*e+2*r,u="";for(c="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",u+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',u+=n.scalable?"":' width="'+d+'px" height="'+d+'px"',u+=' viewBox="0 0 '+d+" "+d+'" ',u+=' preserveAspectRatio="xMinYMin meet"',u+=a.text||t.text?' role="img" aria-labelledby="'+b([a.id,t.id].join(" ").trim())+'"':"",u+=">",u+=a.text?'<title id="'+b(a.id)+'">'+b(a.text)+"</title>":"",u+=t.text?'<description id="'+b(t.id)+'">'+b(t.text)+"</description>":"",u+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',u+='<path d="',i=0;i<s.getModuleCount();i+=1)for(l=i*e+r,o=0;o<s.getModuleCount();o+=1)s.isDark(i,o)&&(u+="M"+(o*e+r)+","+l+c);return u+='" stroke="transparent" fill="black"/>',u+="</svg>"},s.createDataURL=function(e,r){e=e||2,r=void 0===r?4*e:r;var t=s.getModuleCount()*e+2*r,a=r,n=t-r;return _(t,t,function(r,t){if(a<=r&&r<n&&a<=t&&t<n){var o=Math.floor((r-a)/e),i=Math.floor((t-a)/e);return s.isDark(i,o)?0:1}return 1})},s.createImgTag=function(e,r,t){e=e||2,r=void 0===r?4*e:r;var a=s.getModuleCount()*e+2*r,n="";return n+="<img",n+=' src="',n+=s.createDataURL(e,r),n+='"',n+=' width="',n+=a,n+='"',n+=' height="',n+=a,n+='"',t&&(n+=' alt="',n+=b(t),n+='"'),n+="/>"};var b=function(e){for(var r="",t=0;t<e.length;t+=1){var a=e.charAt(t);switch(a){case"<":r+="&lt;";break;case">":r+="&gt;";break;case"&":r+="&amp;";break;case'"':r+="&quot;";break;default:r+=a}}return r};return s.createASCII=function(e,r){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var r,t,a,n,o,i=1*s.getModuleCount()+2*e,l=e,c=i-e,d={"██":"█","█ ":"▀"," █":"▄"," ":" "},u={"██":"▀","█ ":"▀"," █":" "," ":" "},v="";for(r=0;r<i;r+=2){for(a=Math.floor((r-l)/1),n=Math.floor((r+1-l)/1),t=0;t<i;t+=1)o="█",l<=t&&t<c&&l<=r&&r<c&&s.isDark(a,Math.floor((t-l)/1))&&(o=" "),l<=t&&t<c&&l<=r+1&&r+1<c&&s.isDark(n,Math.floor((t-l)/1))?o+=" ":o+="█",v+=e<1&&r+1>=c?u[o]:d[o];v+="\n"}return i%2&&e>0?v.substring(0,v.length-i-1)+Array(i+1).join("▀"):v.substring(0,v.length-1)}(r);e-=1,r=void 0===r?2*e:r;var t,a,n,o,i=s.getModuleCount()*e+2*r,l=r,c=i-r,d=Array(e+1).join("██"),u=Array(e+1).join(" "),v="",p="";for(t=0;t<i;t+=1){for(n=Math.floor((t-l)/e),p="",a=0;a<i;a+=1)o=1,l<=a&&a<c&&l<=t&&t<c&&s.isDark(n,Math.floor((a-l)/e))&&(o=0),p+=o?d:u;for(n=0;n<e;n+=1)v+=p+"\n"}return v.substring(0,v.length-1)},s.renderTo2dContext=function(e,r){r=r||2;for(var t=s.getModuleCount(),a=0;a<t;a++)for(var n=0;n<t;n++)e.fillStyle=s.isDark(a,n)?"black":"white",e.fillRect(a*r,n*r,r,r)},s};e.stringToBytesFuncs={default:function(e){for(var r=[],t=0;t<e.length;t+=1){var a=e.charCodeAt(t);r.push(255&a)}return r}},e.stringToBytes=e.stringToBytesFuncs.default,e.createStringToBytes=function(e,r){var t=function(){for(var t=T(e),a=function(){var e=t.read();if(-1==e)throw"eof";return e},n=0,o={};;){var i=t.read();if(-1==i)break;var l=a(),s=a()<<8|a();o[String.fromCharCode(i<<8|l)]=s,n+=1}if(n!=r)throw n+" != "+r;return o}(),a="?".charCodeAt(0);return function(e){for(var r=[],n=0;n<e.length;n+=1){var o=e.charCodeAt(n);if(o<128)r.push(o);else{var i=t[e.charAt(n)];"number"==typeof i?(255&i)==i?r.push(i):(r.push(i>>>8),r.push(255&i)):r.push(a)}}return r}};var r,t,a,n,o,i=1,l=2,s=4,c=8,d={L:1,M:0,Q:3,H:2},u=0,v=1,p=2,f=3,g=4,h=5,m=6,b=7,C=(r=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],t=1335,a=7973,o=function(e){for(var r=0;0!=e;)r+=1,e>>>=1;return r},(n={}).getBCHTypeInfo=function(e){for(var r=e<<10;o(r)-o(t)>=0;)r^=t<<o(r)-o(t);return 21522^(e<<10|r)},n.getBCHTypeNumber=function(e){for(var r=e<<12;o(r)-o(a)>=0;)r^=a<<o(r)-o(a);return e<<12|r},n.getPatternPosition=function(e){return r[e-1]},n.getMaskFunction=function(e){switch(e){case u:return function(e,r){return(e+r)%2==0};case v:return function(e,r){return e%2==0};case p:return function(e,r){return r%3==0};case f:return function(e,r){return(e+r)%3==0};case g:return function(e,r){return(Math.floor(e/2)+Math.floor(r/3))%2==0};case h:return function(e,r){return e*r%2+e*r%3==0};case m:return function(e,r){return(e*r%2+e*r%3)%2==0};case b:return function(e,r){return(e*r%3+(e+r)%2)%2==0};default:throw"bad maskPattern:"+e}},n.getErrorCorrectPolynomial=function(e){for(var r=w([1],0),t=0;t<e;t+=1)r=r.multiply(w([1,y.gexp(t)],0));return r},n.getLengthInBits=function(e,r){if(1<=r&&r<10)switch(e){case i:return 10;case l:return 9;case s:case c:return 8;default:throw"mode:"+e}else if(r<27)switch(e){case i:return 12;case l:return 11;case s:return 16;case c:return 10;default:throw"mode:"+e}else{if(!(r<41))throw"type:"+r;switch(e){case i:return 14;case l:return 13;case s:return 16;case c:return 12;default:throw"mode:"+e}}},n.getLostPoint=function(e){for(var r=e.getModuleCount(),t=0,a=0;a<r;a+=1)for(var n=0;n<r;n+=1){for(var o=0,i=e.isDark(a,n),l=-1;l<=1;l+=1)if(!(a+l<0||r<=a+l))for(var s=-1;s<=1;s+=1)n+s<0||r<=n+s||0==l&&0==s||i==e.isDark(a+l,n+s)&&(o+=1);o>5&&(t+=3+o-5)}for(a=0;a<r-1;a+=1)for(n=0;n<r-1;n+=1){var c=0;e.isDark(a,n)&&(c+=1),e.isDark(a+1,n)&&(c+=1),e.isDark(a,n+1)&&(c+=1),e.isDark(a+1,n+1)&&(c+=1),0!=c&&4!=c||(t+=3)}for(a=0;a<r;a+=1)for(n=0;n<r-6;n+=1)e.isDark(a,n)&&!e.isDark(a,n+1)&&e.isDark(a,n+2)&&e.isDark(a,n+3)&&e.isDark(a,n+4)&&!e.isDark(a,n+5)&&e.isDark(a,n+6)&&(t+=40);for(n=0;n<r;n+=1)for(a=0;a<r-6;a+=1)e.isDark(a,n)&&!e.isDark(a+1,n)&&e.isDark(a+2,n)&&e.isDark(a+3,n)&&e.isDark(a+4,n)&&!e.isDark(a+5,n)&&e.isDark(a+6,n)&&(t+=40);var d=0;for(n=0;n<r;n+=1)for(a=0;a<r;a+=1)e.isDark(a,n)&&(d+=1);return t+=Math.abs(100*d/r/r-50)/5*10},n),y=function(){for(var e=new Array(256),r=new Array(256),t=0;t<8;t+=1)e[t]=1<<t;for(t=8;t<256;t+=1)e[t]=e[t-4]^e[t-5]^e[t-6]^e[t-8];for(t=0;t<255;t+=1)r[e[t]]=t;var a={glog:function(e){if(e<1)throw"glog("+e+")";return r[e]},gexp:function(r){for(;r<0;)r+=255;for(;r>=256;)r-=255;return e[r]}};return a}();function w(e,r){if(void 0===e.length)throw e.length+"/"+r;var t=function(){for(var t=0;t<e.length&&0==e[t];)t+=1;for(var a=new Array(e.length-t+r),n=0;n<e.length-t;n+=1)a[n]=e[n+t];return a}(),a={getAt:function(e){return t[e]},getLength:function(){return t.length},multiply:function(e){for(var r=new Array(a.getLength()+e.getLength()-1),t=0;t<a.getLength();t+=1)for(var n=0;n<e.getLength();n+=1)r[t+n]^=y.gexp(y.glog(a.getAt(t))+y.glog(e.getAt(n)));return w(r,0)},mod:function(e){if(a.getLength()-e.getLength()<0)return a;for(var r=y.glog(a.getAt(0))-y.glog(e.getAt(0)),t=new Array(a.getLength()),n=0;n<a.getLength();n+=1)t[n]=a.getAt(n);for(n=0;n<e.getLength();n+=1)t[n]^=y.gexp(y.glog(e.getAt(n))+r);return w(t,0).mod(e)}};return a}var x=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],r=function(e,r){var t={};return t.totalCount=e,t.dataCount=r,t},t={};return t.getRSBlocks=function(t,a){var n=function(r,t){switch(t){case d.L:return e[4*(r-1)+0];case d.M:return e[4*(r-1)+1];case d.Q:return e[4*(r-1)+2];case d.H:return e[4*(r-1)+3];default:return}}(t,a);if(void 0===n)throw"bad rs block @ typeNumber:"+t+"/errorCorrectionLevel:"+a;for(var o=n.length/3,i=[],l=0;l<o;l+=1)for(var s=n[3*l+0],c=n[3*l+1],u=n[3*l+2],v=0;v<s;v+=1)i.push(r(c,u));return i},t}(),E=function(){var e=[],r=0,t={getBuffer:function(){return e},getAt:function(r){var t=Math.floor(r/8);return 1==(e[t]>>>7-r%8&1)},put:function(e,r){for(var a=0;a<r;a+=1)t.putBit(1==(e>>>r-a-1&1))},getLengthInBits:function(){return r},putBit:function(t){var a=Math.floor(r/8);e.length<=a&&e.push(0),t&&(e[a]|=128>>>r%8),r+=1}};return t},k=function(e){var r=i,t=e,a={getMode:function(){return r},getLength:function(e){return t.length},write:function(e){for(var r=t,a=0;a+2<r.length;)e.put(n(r.substring(a,a+3)),10),a+=3;a<r.length&&(r.length-a==1?e.put(n(r.substring(a,a+1)),4):r.length-a==2&&e.put(n(r.substring(a,a+2)),7))}},n=function(e){for(var r=0,t=0;t<e.length;t+=1)r=10*r+o(e.charAt(t));return r},o=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return a},L=function(e){var r=l,t=e,a={getMode:function(){return r},getLength:function(e){return t.length},write:function(e){for(var r=t,a=0;a+1<r.length;)e.put(45*n(r.charAt(a))+n(r.charAt(a+1)),11),a+=2;a<r.length&&e.put(n(r.charAt(a)),6)}},n=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return a},I=function(r){var t=s,a=e.stringToBytes(r),n={getMode:function(){return t},getLength:function(e){return a.length},write:function(e){for(var r=0;r<a.length;r+=1)e.put(a[r],8)}};return n},S=function(r){var t=c,a=e.stringToBytesFuncs.SJIS;if(!a)throw"sjis not supported.";!function(){var e=a("友");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var n=a(r),o={getMode:function(){return t},getLength:function(e){return~~(n.length/2)},write:function(e){for(var r=n,t=0;t+1<r.length;){var a=(255&r[t])<<8|255&r[t+1];if(33088<=a&&a<=40956)a-=33088;else{if(!(57408<=a&&a<=60351))throw"illegal char at "+(t+1)+"/"+a;a-=49472}a=192*(a>>>8&255)+(255&a),e.put(a,13),t+=2}if(t<r.length)throw"illegal char at "+(t+1)}};return o},M=function(){var e=[],r={writeByte:function(r){e.push(255&r)},writeShort:function(e){r.writeByte(e),r.writeByte(e>>>8)},writeBytes:function(e,t,a){t=t||0,a=a||e.length;for(var n=0;n<a;n+=1)r.writeByte(e[n+t])},writeString:function(e){for(var t=0;t<e.length;t+=1)r.writeByte(e.charCodeAt(t))},toByteArray:function(){return e},toString:function(){var r="";r+="[";for(var t=0;t<e.length;t+=1)t>0&&(r+=","),r+=e[t];return r+="]"}};return r},T=function(e){var r=e,t=0,a=0,n=0,o={read:function(){for(;n<8;){if(t>=r.length){if(0==n)return-1;throw"unexpected end of file./"+n}var e=r.charAt(t);if(t+=1,"="==e)return n=0,-1;e.match(/^\s$/)||(a=a<<6|i(e.charCodeAt(0)),n+=6)}var o=a>>>n-8&255;return n-=8,o}},i=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return o},_=function(e,r,t){for(var a=function(e,r){var t=e,a=r,n=new Array(e*r),o={setPixel:function(e,r,a){n[r*t+e]=a},write:function(e){e.writeString("GIF87a"),e.writeShort(t),e.writeShort(a),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(t),e.writeShort(a),e.writeByte(0);var r=i(2);e.writeByte(2);for(var n=0;r.length-n>255;)e.writeByte(255),e.writeBytes(r,n,255),n+=255;e.writeByte(r.length-n),e.writeBytes(r,n,r.length-n),e.writeByte(0),e.writeString(";")}},i=function(e){for(var r=1<<e,t=1+(1<<e),a=e+1,o=l(),i=0;i<r;i+=1)o.add(String.fromCharCode(i));o.add(String.fromCharCode(r)),o.add(String.fromCharCode(t));var s,c,d,u=M(),v=(s=u,c=0,d=0,{write:function(e,r){if(e>>>r!=0)throw"length over";for(;c+r>=8;)s.writeByte(255&(e<<c|d)),r-=8-c,e>>>=8-c,d=0,c=0;d|=e<<c,c+=r},flush:function(){c>0&&s.writeByte(d)}});v.write(r,a);var p=0,f=String.fromCharCode(n[p]);for(p+=1;p<n.length;){var g=String.fromCharCode(n[p]);p+=1,o.contains(f+g)?f+=g:(v.write(o.indexOf(f),a),o.size()<4095&&(o.size()==1<<a&&(a+=1),o.add(f+g)),f=g)}return v.write(o.indexOf(f),a),v.write(t,a),v.flush(),u.toByteArray()},l=function(){var e={},r=0,t={add:function(a){if(t.contains(a))throw"dup key:"+a;e[a]=r,r+=1},size:function(){return r},indexOf:function(r){return e[r]},contains:function(r){return void 0!==e[r]}};return t};return o}(e,r),n=0;n<r;n+=1)for(var o=0;o<e;o+=1)a.setPixel(o,n,t(o,n));var i=M();a.write(i);for(var l=function(){var e=0,r=0,t=0,a="",n={},o=function(e){a+=String.fromCharCode(i(63&e))},i=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return n.writeByte=function(a){for(e=e<<8|255&a,r+=8,t+=1;r>=6;)o(e>>>r-6),r-=6},n.flush=function(){if(r>0&&(o(e<<6-r),e=0,r=0),t%3!=0)for(var n=3-t%3,i=0;i<n;i+=1)a+="="},n.toString=function(){return a},n}(),s=i.toByteArray(),c=0;c<s.length;c+=1)l.writeByte(s[c]);return l.flush(),"data:image/gif;base64,"+l};return e}();r.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var r=[],t=0;t<e.length;t++){var a=e.charCodeAt(t);a<128?r.push(a):a<2048?r.push(192|a>>6,128|63&a):a<55296||a>=57344?r.push(224|a>>12,128|a>>6&63,128|63&a):(t++,a=65536+((1023&a)<<10|1023&e.charCodeAt(t)),r.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a))}return r}(e)},e.exports=r}(Mi);var Ti,_i=Mi.exports,Pi=go&&go.__extends||(Ti=function(e,r){return Ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},Ti(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}Ti(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}),Ai=go&&go.__assign||function(){return Ai=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},Ai.apply(this,arguments)};Object.defineProperty(Li,"__esModule",{value:!0});var Ni=Li.QRCode=void 0,Ri=Si,Oi=_i,Di=n,Fi=function(e){function r(r){var t=e.call(this,r)||this;return t.canvasRef=Di.createRef(),t}return Pi(r,e),r.prototype.download=function(e,r){if(this.canvasRef.current){var t=void 0;switch(e){case"jpg":t="image/jpeg";break;case"webp":t="image/webp";break;default:t="image/png"}var a=this.canvasRef.current.toDataURL(t,1),n=document.createElement("a");n.download=null!=r?r:"react-qrcode-logo",n.href=a,n.click()}},r.prototype.utf16to8=function(e){var r,t,a="",n=e.length;for(r=0;r<n;r++)(t=e.charCodeAt(r))>=1&&t<=127?a+=e.charAt(r):t>2047?(a+=String.fromCharCode(224|t>>12&15),a+=String.fromCharCode(128|t>>6&63),a+=String.fromCharCode(128|63&t)):(a+=String.fromCharCode(192|t>>6&31),a+=String.fromCharCode(128|63&t));return a},r.prototype.drawRoundedSquare=function(e,r,t,a,n,o,i,l){l.lineWidth=e,l.fillStyle=n,l.strokeStyle=n,t+=e/2,r+=e/2,a-=e,Array.isArray(o)||(o=[o,o,o,o]),o=o.map(function(e){return(e=Math.min(e,a/2))<0?0:e});var s=o[0]||0,c=o[1]||0,d=o[2]||0,u=o[3]||0;l.beginPath(),l.moveTo(r+s,t),l.lineTo(r+a-c,t),c&&l.quadraticCurveTo(r+a,t,r+a,t+c),l.lineTo(r+a,t+a-d),d&&l.quadraticCurveTo(r+a,t+a,r+a-d,t+a),l.lineTo(r+u,t+a),u&&l.quadraticCurveTo(r,t+a,r,t+a-u),l.lineTo(r,t+s),s&&l.quadraticCurveTo(r,t,r+s,t),l.closePath(),l.stroke(),i&&l.fill()},r.prototype.drawPositioningPattern=function(e,r,t,a,n,o,i){void 0===i&&(i=[0,0,0,0]);var l,s,c,d,u=Math.ceil(r);"number"==typeof i||Array.isArray(i)?s=l=i:(l=i.outer||0,s=i.inner||0),"string"!=typeof o?(c=o.outer,d=o.inner):(c=o,d=o);var v=a*r+t,p=n*r+t,f=7*r;this.drawRoundedSquare(u,p,v,f,c,l,!1,e),f=3*r,v+=2*r,p+=2*r,this.drawRoundedSquare(u,p,v,f,d,s,!0,e)},r.prototype.isInPositioninZone=function(e,r,t){return t.some(function(t){return r>=t.row&&r<=t.row+7&&e>=t.col&&e<=t.col+7})},r.prototype.transformPixelLengthIntoNumberOfCells=function(e,r){return e/r},r.prototype.isCoordinateInImage=function(e,r,t,a,n,o,i,l){if(l){var s=this.transformPixelLengthIntoNumberOfCells(n,i),c=this.transformPixelLengthIntoNumberOfCells(o,i),d=this.transformPixelLengthIntoNumberOfCells(t,i)-1,u=this.transformPixelLengthIntoNumberOfCells(a,i)-1;return r>=s-2&&r<=s+d+2&&e>=c-2&&e<=c+u+2}return!1},r.prototype.shouldComponentUpdate=function(e){return!Ri(this.props,e)},r.prototype.componentDidMount=function(){this.update()},r.prototype.componentDidUpdate=function(){this.update()},r.prototype.update=function(){var e,r=this.props,t=r.value,a=r.ecLevel,n=r.enableCORS,o=r.bgColor,i=r.fgColor,l=r.logoImage,s=r.logoOpacity,c=r.logoOnLoad,d=r.removeQrCodeBehindLogo,u=r.qrStyle,v=r.eyeRadius,p=r.eyeColor,f=r.logoPaddingStyle,g=+this.props.size,h=+this.props.quietZone,m=this.props.logoWidth?+this.props.logoWidth:0,b=this.props.logoHeight?+this.props.logoHeight:0,C=this.props.logoPadding?+this.props.logoPadding:0,y=Oi(0,a);y.addData(this.utf16to8(t)),y.make();var w=null===(e=this.canvasRef)||void 0===e?void 0:e.current,x=w.getContext("2d"),E=g+2*h,k=y.getModuleCount(),L=g/k,I=window.devicePixelRatio||1;w.height=w.width=E*I,x.scale(I,I),x.fillStyle=o,x.fillRect(0,0,E,E);var S=h,M=[{row:0,col:0},{row:0,col:k-7},{row:k-7,col:0}];if(x.strokeStyle=i,"dots"===u){x.fillStyle=i;for(var T=L/2,_=0;_<k;_++)for(var P=0;P<k;P++)y.isDark(_,P)&&!this.isInPositioninZone(_,P,M)&&(x.beginPath(),x.arc(Math.round(P*L)+T+S,Math.round(_*L)+T+S,T/100*75,0,2*Math.PI,!1),x.closePath(),x.fill())}else if("fluid"===u){for(T=Math.ceil(L/2),_=0;_<k;_++)for(P=0;P<k;P++)if(y.isDark(_,P)&&!this.isInPositioninZone(_,P,M)){var A=[!1,!1,!1,!1];_>0&&!y.isDark(_-1,P)&&P>0&&!y.isDark(_,P-1)&&(A[0]=!0),_>0&&!y.isDark(_-1,P)&&P<k-1&&!y.isDark(_,P+1)&&(A[1]=!0),_<k-1&&!y.isDark(_+1,P)&&P<k-1&&!y.isDark(_,P+1)&&(A[2]=!0),_<k-1&&!y.isDark(_+1,P)&&P>0&&!y.isDark(_,P-1)&&(A[3]=!0);var N=Math.ceil((P+1)*L)-Math.floor(P*L),R=Math.ceil((_+1)*L)-Math.floor(_*L);x.fillStyle=i,x.beginPath(),x.arc(Math.round(P*L)+T+S,Math.round(_*L)+T+S,T,0,2*Math.PI,!1),x.closePath(),x.fill(),A[0]||x.fillRect(Math.round(P*L)+S,Math.round(_*L)+S,N/2,R/2),A[1]||x.fillRect(Math.round(P*L)+S+Math.floor(N/2),Math.round(_*L)+S,N/2,R/2),A[2]||x.fillRect(Math.round(P*L)+S+Math.floor(N/2),Math.round(_*L)+S+Math.floor(R/2),N/2,R/2),A[3]||x.fillRect(Math.round(P*L)+S,Math.round(_*L)+S+Math.floor(R/2),N/2,R/2)}}else for(_=0;_<k;_++)for(P=0;P<k;P++)if(y.isDark(_,P)&&!this.isInPositioninZone(_,P,M)){x.fillStyle=i;N=Math.ceil((P+1)*L)-Math.floor(P*L),R=Math.ceil((_+1)*L)-Math.floor(_*L);x.fillRect(Math.round(P*L)+S,Math.round(_*L)+S,N,R)}for(var O=0;O<3;O++){var D=M[O],F=(_=D.row,P=D.col,v),j=void 0;Array.isArray(F)&&(F=F[O]),"number"==typeof F&&(F=[F,F,F,F]),j=p?Array.isArray(p)?p[O]:p:i,this.drawPositioningPattern(x,L,S,_,P,j,F)}if(l){var z=new Image;n&&(z.crossOrigin="Anonymous"),z.onload=function(e){x.save();var r=m||.2*g,t=b||r,a=(g-r)/2,n=(g-t)/2;if(d||C){x.beginPath(),x.strokeStyle=o,x.fillStyle=o;var i=r+2*C,l=t+2*C,u=a+S-C,v=n+S-C;if("circle"===f){var p=u+i/2,h=v+l/2;x.ellipse(p,h,i/2,l/2,0,0,2*Math.PI),x.stroke(),x.fill()}else x.fillRect(u,v,i,l)}x.globalAlpha=s,x.drawImage(z,a+S,n+S,r,t),x.restore(),c&&c(e)},z.src=l}},r.prototype.render=function(){var e,r=+this.props.size+2*+this.props.quietZone;return Di.createElement("canvas",{id:null!==(e=this.props.id)&&void 0!==e?e:"react-qrcode-logo",height:r,width:r,style:Ai({height:r+"px",width:r+"px"},this.props.style),ref:this.canvasRef})},r.defaultProps={value:"https://reactjs.org/",ecLevel:"M",enableCORS:!1,size:150,quietZone:10,bgColor:"#FFFFFF",fgColor:"#000000",logoOpacity:1,qrStyle:"squares",eyeRadius:[0,0,0],logoPaddingStyle:"square"},r}(Di.Component);Ni=Li.QRCode=Fi;const ji=({enableLink:t=!0,label:a="Secured by",onLinkClick:n})=>{const o=t?{fill:'url("#logo-gradient")'}:{},i=r("svg",{width:62,height:23,viewBox:"0 0 83 31",xmlns:"http://www.w3.org/2000/svg",children:[e("defs",{children:r("linearGradient",{id:"logo-gradient",x1:"-100%",y1:"0%",x2:"100%",y2:"0%",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0%",stopColor:"#402FC3"}),e("stop",{offset:"33%",stopColor:"#C970FF"}),e("stop",{offset:"67%",stopColor:"#C970FF"}),e("stop",{offset:"100%",stopColor:"#402FC3"}),e("animate",{attributeName:"x1",from:"-100%",to:"100%",dur:"4s",repeatCount:"indefinite"}),e("animate",{attributeName:"x2",from:"0%",to:"200%",dur:"4s",repeatCount:"indefinite"})]})}),r("g",{children:[e("path",{d:"M45.1797 20.8929H47.7932V8.70022H44.1379L41.1771 16.3047L38.2163 8.70022H34.5792V20.8929H37.1745V12.1186L40.6105 20.8929H41.7437L45.1797 12.1186V20.8929Z"}),e("path",{d:"M55.4597 20.8929H57.7808V15.1896C57.7808 12.6487 55.9349 11.8444 53.9245 11.8444C52.5354 11.8444 51.1464 12.2831 50.0681 13.2336L50.9454 14.7874C51.6947 14.0928 52.572 13.7455 53.5224 13.7455C54.6921 13.7455 55.4597 14.3304 55.4597 15.2262V16.4509C54.8748 15.738 53.8331 15.3724 52.6634 15.3724C51.2561 15.3724 49.5929 16.1219 49.5929 18.1875C49.5929 20.1617 51.2561 21.1123 52.6634 21.1123C53.8148 21.1123 54.8566 20.6918 55.4597 19.9789V20.8929ZM55.4597 18.7725C55.0759 19.2843 54.3448 19.5402 53.5955 19.5402C52.6816 19.5402 51.9323 19.0649 51.9323 18.2423C51.9323 17.4015 52.6816 16.9079 53.5955 16.9079C54.3448 16.9079 55.0759 17.1638 55.4597 17.6757V18.7725Z"}),e("path",{d:"M59.9003 23.1596C60.9969 24.1285 62.1849 24.4758 63.7019 24.4758C65.8768 24.4758 68.4721 23.6532 68.4721 20.2897V12.0637H66.1327V13.1971C65.4199 12.3014 64.4695 11.8444 63.4094 11.8444C61.1797 11.8444 59.5165 13.453 59.5165 16.3412C59.5165 19.2843 61.198 20.8381 63.4094 20.8381C64.4878 20.8381 65.4382 20.3262 66.1327 19.4488V20.3445C66.1327 22.0811 64.8167 22.5747 63.7019 22.5747C62.587 22.5747 61.6549 22.2639 60.9421 21.4779L59.9003 23.1596ZM66.1327 17.7671C65.7489 18.3337 64.9081 18.7725 64.1405 18.7725C62.8246 18.7725 61.9108 17.8585 61.9108 16.3412C61.9108 14.824 62.8246 13.91 64.1405 13.91C64.9081 13.91 65.7489 14.3304 66.1327 14.9154V17.7671Z"}),e("path",{d:"M71.9256 10.7659C72.6933 10.7659 73.3147 10.1443 73.3147 9.37658C73.3147 8.60882 72.6933 7.9873 71.9256 7.9873C71.1763 7.9873 70.5366 8.60882 70.5366 9.37658C70.5366 10.1443 71.1763 10.7659 71.9256 10.7659ZM70.7742 20.8929H73.0953V12.0637H70.7742V20.8929Z"}),e("path",{d:"M74.8303 16.4692C74.8303 19.1929 76.7859 21.1123 79.5092 21.1123C81.3185 21.1123 82.4151 20.3262 83 19.5037L81.483 18.0961C81.0627 18.6811 80.423 19.0467 79.6188 19.0467C78.2115 19.0467 77.2246 18.0047 77.2246 16.4692C77.2246 14.9337 78.2115 13.91 79.6188 13.91C80.423 13.91 81.0627 14.2573 81.483 14.8606L83 13.453C82.4151 12.6304 81.3185 11.8444 79.5092 11.8444C76.7859 11.8444 74.8303 13.7638 74.8303 16.4692Z"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7002 -5.55184e-07C14.0256 1.62362 15.4875 3.13142 17.0683 4.50592C16.0151 7.92275 15.4481 11.5529 15.4481 15.3154C15.4481 19.078 16.0151 22.7082 17.0684 26.125C15.4876 27.4995 14.0257 29.0073 12.7003 30.6309C11.375 29.0075 9.91333 27.4998 8.33271 26.1255C9.38605 22.7085 9.95313 19.0782 9.95313 15.3154C9.95313 11.5527 9.38605 7.92237 8.3327 4.50537C9.9133 3.13103 11.375 1.6234 12.7002 -5.55184e-07ZM5.3107 23.7627C3.63771 22.5899 1.86221 21.5534 0.000311902 20.6694C0.516837 18.976 0.794702 17.1784 0.794702 15.316C0.794702 13.4532 0.516736 11.6553 3.00821e-05 9.9616C1.86203 9.07753 3.63762 8.04101 5.3107 6.86817C5.95048 9.57999 6.28902 12.4082 6.28902 15.3154C6.28902 18.2227 5.95049 21.0509 5.3107 23.7627ZM19.1114 15.3154C19.1114 18.2227 19.4499 21.051 20.0897 23.7628C21.763 22.5898 23.5388 21.5531 25.4011 20.669C24.8847 18.9757 24.6069 17.1783 24.6069 15.3159C24.6069 13.4534 24.8848 11.6557 25.4014 9.96213C23.539 9.07794 21.7631 8.04124 20.0897 6.86817C19.4499 9.57999 19.1114 12.4082 19.1114 15.3154Z"})]})]}),l=r(We,{className:xe({display:"flex",justifyContent:"center",alignItems:"center",fill:"ink.50",_dark:{fill:"ink.70"},_hover:{...o},_active:{...o},_focus:{...o}}),children:[e("p",{className:xe({color:"ink.50",_dark:{color:"ink.70"},_groupHover:t?{color:"text.tertiary"}:{},fontSize:"xs",mr:2}),children:a}),i]});return r("div",{className:xe({cursor:t?"pointer":"default"})+" group",children:[t&&e("a",{onClick:n,tabIndex:0,"aria-label":"Secured by Magic",href:"https://magic.link/docs/home/faqs/wallet-end-users",target:"_blank",rel:"noopener noreferrer",children:l}),!t&&l]})};ji.displayName="SecuredByMagic";const zi=({children:t,showLogo:a=!0,...n})=>r(Xe,{alignItems:"center",className:xe({width:"full",p:8}),children:[t,a&&e(ji,{...n})]}),Bi=Jo("div"),Vi=Jo("div"),Hi=Jo("div"),Wi=Object.assign(({children:t,position:a="absolute"})=>Qo(t,t=>{var n,o;return r(Qe,{alignItems:"center",justifyContent:"space-between",className:xe({"& >":{_first:{minWidth:8},_last:{minWidth:8}},position:a,p:4,left:0,right:0,top:0,width:"full"}),children:[null!==(n=t.get(Vi))&&void 0!==n?n:e(ze,{}),t.get(Bi),null!==(o=t.get(Hi))&&void 0!==o?o:e(ze,{})]})}),{Content:Bi,LeftAction:Vi,RightAction:Hi}),Ui=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),e("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),e("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.44772 2.44772 5 3 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H3C2.44772 7 2 6.55228 2 6ZM2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12ZM3 17C2.44772 17 2 17.4477 2 18C2 18.5523 2.44772 19 3 19H21C21.5523 19 22 18.5523 22 18C22 17.4477 21.5523 17 21 17H3Z",fill:"currentColor"})]})},Yi=Jo("div"),Zi=Jo("div"),Gi=Jo("div"),qi=Object.assign(({children:a,placement:n="right",isOpen:o=!1})=>{const[i,l]=s(o),[d,u]=s(i),p=c(null),f="left"===n;return v(()=>{l(o)},[o]),v(()=>{let e;return i?e=setTimeout(()=>u(!0),10):u(!1),()=>clearTimeout(e)},[i]),v(()=>{const e=e=>{p.current&&!p.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[l]),Qo(a,a=>r(t,{children:[e(bi,{onPress:()=>l(e=>!e),textStyle:"neutral",variant:"text",children:e(bi.TrailingIcon,{children:e(Ui,{})})}),e(ze,{position:"absolute",display:i?"block":"none",h:"full",bottom:0,left:0,right:0,bg:"text.primary/20",_dark:{bg:"rgba(0, 0, 0, .7)"}}),r(Ye,{ref:p,position:"absolute",transform:d?"translateX(0)":f?"translateX(-100%)":"translateX(100%)",transition:"transform 0.3s",top:0,bottom:0,...f?{left:0}:{right:0},bg:"surface.primary",_dark:{bg:"surface.secondary"},...f?{roundedRight:"2xl"}:{roundedLeft:"2xl"},zIndex:10,justifyContent:"space-between",p:4,pb:6,w:80,children:[r(Ye,{gap:6,children:[e(Ye,{h:"full",justifyContent:"space-between",children:a.get(Yi)}),e(or,{color:"surface.quaternary"}),e(Ye,{children:a.get(Zi)})]}),a.get(Gi)]})]}))},{Header:Yi,Content:Zi,Footer:Gi}),Xi=({animate:e,show:r,onHidden:t,onShown:a})=>{const[n,o]=s(r),i=d(()=>a(),[]),l=d(()=>{o(!1),t()},[]);return v(()=>{r?o(!0):e||o(!1)},[r]),{displayed:n,onShow:i,onHide:l}},Ki=Me({slots:["content","wrapper"],base:{content:{height:"full",width:"full",boxSizing:"border-box"},wrapper:{height:"full",width:"full",bg:"surface.primary",position:"relative",overflow:"auto",scrollbarWidth:"none"}},variants:{fullscreen:{true:{wrapper:{height:"100vh",width:"100vw"}},false:{wrapper:{"@media (min-width: 48rem)":{top:12,mx:"auto",width:"25rem",height:"fit-content",boxShadow:"0px 12px 56px {colors.ink.70/15}",borderRadius:"container",_dark:{boxShadow:"none"}}}}},animate:{false:{wrapper:{animationName:"none",scale:1}}},isOpen:{true:{}},paddingType:{none:{wrapper:{p:0}},sm:{wrapper:{p:2,pb:0}},md:{wrapper:{p:4,pb:0}},lg:{wrapper:{p:8,pb:0}}},showBorder:{true:{wrapper:{"@media (min-width: 48rem)":{_dark:{borderWidth:1,borderBlock:"solid",borderColor:"neutral.secondary"}}}}},isMobileBrowser:{true:{}},isWidget:{true:{wrapper:{height:"auto","@media (min-width: 48rem)":{top:0}}}}},compoundVariants:[{animate:!0,isOpen:!0,css:{wrapper:{animationFillMode:"forwards",animationName:"scaleIn",animationDuration:"250ms",_motionReduce:{scale:1}}}},{animate:!0,isOpen:!1,css:{wrapper:{animationFillMode:"forwards",animationName:"scaleOut",animationDuration:"150ms",_motionReduce:{scale:1}}}},{fullscreen:!0,isMobileBrowser:!0,css:{wrapper:{"@media only screen and (max-width: 767px)":{height:"100dvh"}}}},{fullscreen:!1,isWidget:!0,css:{wrapper:{maxWidth:"25rem",mx:"auto",borderRadius:"container",_dark:{borderWidth:1,borderBlock:"solid",borderColor:"neutral.secondary"}}}}],defaultVariants:{animate:!0,isOpen:!0,paddingType:"none"}}),Qi=(()=>{if(typeof navigator>"u")return!1;const e=navigator.userAgent;return/Mobi|Android|iPhone|iPad/i.test(e)})(),Ji=({animate:r=!0,paddingType:t="none",gap:a=2.5,isOpen:n=!0,onAnimated:o=()=>{},onClosed:i=()=>{},showBorder:l=!0,fullscreen:s=!1,isWidget:c=!1,children:d})=>{const u=Ki({animate:r,isOpen:n,paddingType:t,showBorder:l,fullscreen:s,isWidget:c,isMobileBrowser:Qi}),{displayed:v,onHide:p,onShow:f}=Xi({animate:r,show:n,onHidden:i,onShown:o});return v?e("div",{className:u.wrapper,onAnimationEnd:n?f:p,children:e(Xe,{alignItems:"center",gap:a,className:u.content,children:d})}):null};Ji.displayName="Modal";const $i=Me({slots:["bg","container"],base:{bg:{height:"full",width:"full",pointerEvents:"all",position:"fixed",top:0,left:0},container:{height:"100vh",width:"100vw",maxWidth:"100rem",position:"relative",margin:"0 auto","@media (min-width: 48rem)":{height:"fit-content"}}},variants:{fullscreen:{true:{container:{maxWidth:"none"}}},animate:{false:{bg:{animationName:"none"}}},backgroundType:{blurred:{bg:{backdropBlur:"0.375rem",backdropFilter:"auto"}},solid:{bg:{backgroundColor:"surface.tertiary"}},transparent:{},none:{}},hide:{false:{}}},compoundVariants:[{animate:!0,hide:!1,css:{bg:{animationFillMode:"forwards",animationName:"fadeIn",animationDuration:"400ms"}}},{animate:!0,hide:!0,css:{bg:{animationFillMode:"forwards",animationName:"fadeOut",animationDuration:"400ms"}}}],defaultVariants:{animate:!0,backgroundType:"none",hide:!1}}),el=({animate:t=!0,backgroundType:a="none",hide:n=!1,fullscreen:o=!1,onAnimated:i=()=>{},onHidden:l=()=>{},children:s})=>{const c=$i({animate:t,backgroundType:a,hide:n,fullscreen:o}),{displayed:d,onHide:u,onShow:v}=Xi({animate:t,show:!n,onHidden:l,onShown:i});if(!d)return null;const p="none"!==a;return r(Xe,{alignItems:"center",className:c.container,children:[p&&e("div",{className:c.bg,onAnimationEnd:n?u:v}),s]})};el.displayName="Overlay";const rl=({title:t,titleId:a,...n})=>r("svg",{width:78,height:24,viewBox:"0 0 78 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M9.41316 1.84616H3.41316C3.02854 1.84616 2.64393 2.15385 2.567 2.53847L0.182389 17.9231C0.105466 18.2308 0.336235 18.4615 0.643928 18.4615H3.49008C3.8747 18.4615 4.25931 18.1539 4.33624 17.7692L4.95162 13.6154C5.02854 13.2308 5.33624 12.9231 5.79777 12.9231H7.72085C11.6439 12.9231 13.9516 11 14.567 7.23078C14.7978 5.61539 14.567 4.3077 13.7978 3.38462C12.9516 2.38462 11.4132 1.84616 9.41316 1.84616ZM10.1055 7.46155C9.79777 9.61539 8.10547 9.61539 6.567 9.61539H5.64393L6.25931 5.61539C6.25931 5.38462 6.49008 5.23078 6.72085 5.23078H7.10547C8.18239 5.23078 9.18239 5.23078 9.72085 5.84616C10.1055 6.15385 10.2593 6.69232 10.1055 7.46155Z",fill:"#003087"}),e("path",{d:"M27.2593 7.38462H24.4131C24.1824 7.38462 23.9516 7.53846 23.9516 7.76923L23.7978 8.53846L23.567 8.23077C22.9516 7.30769 21.567 7 20.1824 7C17.0285 7 14.3362 9.38461 13.7978 12.7692C13.4901 14.4615 13.8747 16.0769 14.8747 17.1538C15.7208 18.1538 17.0285 18.6154 18.4901 18.6154C21.0285 18.6154 22.4901 17 22.4901 17L22.3362 17.7692C22.2593 18.0769 22.4901 18.3846 22.7978 18.3846H25.4131C25.7978 18.3846 26.1824 18.0769 26.2593 17.6923L27.7978 7.84615C27.8747 7.69231 27.567 7.38462 27.2593 7.38462ZM23.3362 12.9231C23.0285 14.5385 21.7978 15.6923 20.1055 15.6923C19.2593 15.6923 18.6439 15.4615 18.1824 14.9231C17.7208 14.3846 17.567 13.6923 17.7208 12.9231C17.9516 11.3077 19.3362 10.1538 20.9516 10.1538C21.7978 10.1538 22.4131 10.4615 22.8747 10.9231C23.2593 11.4615 23.4131 12.1538 23.3362 12.9231Z",fill:"#003087"}),e("path",{d:"M42.5669 7.38461H39.7207C39.413 7.38461 39.1823 7.53846 39.0284 7.76923L35.0284 13.6154L33.3361 8C33.2592 7.61538 32.8746 7.38461 32.5669 7.38461H29.7207C29.413 7.38461 29.1053 7.69231 29.2592 8.07692L32.413 17.3846L29.413 21.5385C29.1823 21.8462 29.413 22.3077 29.7976 22.3077H32.6438C32.9515 22.3077 33.1823 22.1538 33.3361 21.9231L42.9515 8.07692C43.1823 7.84615 42.9515 7.38461 42.5669 7.38461Z",fill:"#003087"}),e("path",{d:"M52.1053 1.84616H46.1053C45.7207 1.84616 45.3361 2.15385 45.2591 2.53847L42.8745 17.8462C42.7976 18.1539 43.0284 18.3846 43.3361 18.3846H46.413C46.7207 18.3846 46.9515 18.1539 46.9515 17.9231L47.6438 13.5385C47.7207 13.1539 48.0284 12.8462 48.4899 12.8462H50.413C54.3361 12.8462 56.6438 10.9231 57.2591 7.15385C57.4899 5.53847 57.2591 4.23078 56.4899 3.3077C55.5668 2.38462 54.1053 1.84616 52.1053 1.84616ZM52.7976 7.46154C52.4899 9.61539 50.7976 9.61539 49.2591 9.61539H48.3361L48.9515 5.61539C48.9515 5.38462 49.1822 5.23078 49.413 5.23078H49.7976C50.8745 5.23078 51.8745 5.23078 52.413 5.84616C52.7976 6.15385 52.8745 6.69231 52.7976 7.46154Z",fill:"#009CDE"}),e("path",{d:"M69.9514 7.38462H67.1053C66.8745 7.38462 66.6437 7.53846 66.6437 7.76923L66.4899 8.53846L66.2591 8.23077C65.6437 7.30769 64.2591 7 62.8745 7C59.7207 7 57.0284 9.38461 56.4899 12.7692C56.1822 14.4615 56.5668 16.0769 57.5668 17.1538C58.413 18.1538 59.7207 18.6154 61.1822 18.6154C63.7207 18.6154 65.1822 17 65.1822 17L65.0284 17.7692C64.9514 18.0769 65.1822 18.3846 65.4899 18.3846H68.1053C68.4899 18.3846 68.8745 18.0769 68.9514 17.6923L70.4899 7.84615C70.4899 7.69231 70.2591 7.38462 69.9514 7.38462ZM65.9514 12.9231C65.6437 14.5385 64.413 15.6923 62.7207 15.6923C61.8745 15.6923 61.2591 15.4615 60.7976 14.9231C60.3361 14.3846 60.1822 13.6923 60.3361 12.9231C60.5668 11.3077 61.9514 10.1538 63.5668 10.1538C64.413 10.1538 65.0284 10.4615 65.4899 10.9231C65.9514 11.4615 66.1053 12.1538 65.9514 12.9231Z",fill:"#009CDE"}),e("path",{d:"M73.3363 2.23078L70.8748 17.8462C70.7978 18.1539 71.0286 18.3846 71.3363 18.3846H73.7978C74.1825 18.3846 74.5671 18.0769 74.644 17.6923L77.1055 2.38462C77.1825 2.07693 76.9517 1.84616 76.644 1.84616H73.8748C73.5671 1.84616 73.4132 2.00001 73.3363 2.23078Z",fill:"#009CDE"})]}),tl=o((t,a)=>{const{disabled:n,validating:o}=t;return e(ho,{ref:a,className:xe({bg:"#ffc439",outlineColor:"#ffc439",border:"1px solid transparent",px:6,py:2.5}),"aria-disabled":n,shadow:!0,...t,children:o?e(ko,{size:24,strokeWidth:2.5,inverted:!0}):r(Qe,{w:"full",gap:1,justifyContent:"center",children:[e(Do,{fontWeight:"semibold",styles:{color:lr("colors.ink.90")},children:"Pay with"}),e(ze,{mt:.5,children:e(rl,{width:60})})]})})});tl.displayName="PayPalButton";const al=({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M22.556 12.2409C22.556 11.3365 22.4826 10.6766 22.3238 9.99219H11.9968V14.074H18.0585C17.9364 15.0884 17.2764 16.6161 15.8098 17.6426L15.7893 17.7793L19.0545 20.3088L19.2807 20.3314C21.3583 18.4126 22.556 15.5895 22.556 12.2409Z",fill:"#4285F4"}),e("path",{d:"M11.9987 23C14.9684 23 17.4615 22.0223 19.2825 20.3358L15.8117 17.6471C14.8829 18.2948 13.6363 18.747 11.9987 18.747C9.09006 18.747 6.62139 16.8283 5.74137 14.1763L5.61238 14.1873L2.21719 16.8148L2.17279 16.9383C3.98152 20.5313 7.69678 23 11.9987 23Z",fill:"#34A853"}),e("path",{d:"M5.74179 14.1771C5.5096 13.4927 5.37521 12.7594 5.37521 12.0017C5.37521 11.2439 5.5096 10.5107 5.72958 9.82631L5.72343 9.68055L2.28569 7.01077L2.17321 7.06427C1.42775 8.55528 1 10.2296 1 12.0017C1 13.7738 1.42775 15.448 2.17321 16.939L5.74179 14.1771Z",fill:"#FBBC05"}),e("path",{d:"M11.9987 5.25296C14.0641 5.25296 15.4572 6.14511 16.2517 6.89066L19.3558 3.85977C17.4494 2.0877 14.9684 1 11.9987 1C7.69678 1 3.98152 3.46867 2.17279 7.06169L5.72916 9.82373C6.62139 7.17172 9.09006 5.25296 11.9987 5.25296Z",fill:"#EB4335"})]});var nl;(nl||(nl={})).GOOGLE="google",e(al,{});const ol=({width:r="100px",height:t="20px",speed:a="1.5s",borderRadius:n="24px",backgroundColor:o})=>e(ze,{style:{width:r,height:t,borderRadius:n,backgroundColor:o},bg:"neutral.tertiary",overflow:"hidden",position:"relative",_dark:{bg:"surface.primary"},children:e(ze,{style:{animation:`slideRight ${a} infinite ease-in-out`},w:"full",h:"full",position:"absolute",top:0,left:"-50%",transform:"skewX(-20deg)",backgroundImage:"linear-gradient(90deg, transparent,rgba(0, 0, 0, .1), transparent)",_dark:{backgroundImage:"linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent)"}})}),il=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2408 13.3492C17.6002 12.9299 18.2315 12.8813 18.6508 13.2407C19.0701 13.6002 19.1187 14.2315 18.7593 14.6508L12.7593 21.6508C12.5693 21.8724 12.2919 22 12 22C11.7081 22 11.4307 21.8724 11.2408 21.6508L5.24076 14.6508C4.88133 14.2315 4.9299 13.6002 5.34922 13.2407C5.76855 12.8813 6.39985 12.9299 6.75927 13.3492L11 18.2968L11 3C11 2.44772 11.4477 2 12 2C12.5523 2 13 2.44772 13 3L13 18.2967L17.2408 13.3492Z",fill:"currentColor"})]})},ll=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6508 6.75927C11.0701 6.39985 11.1187 5.76855 10.7593 5.34923C10.3998 4.9299 9.76853 4.88134 9.34921 5.24076L2.34921 11.2408C2.12756 11.4307 2 11.7081 2 12C2 12.2919 2.12756 12.5693 2.34921 12.7593L9.34921 18.7593C9.76853 19.1187 10.3998 19.0701 10.7593 18.6508C11.1187 18.2315 11.0701 17.6002 10.6508 17.2408L5.70324 13H21C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11H5.70328L10.6508 6.75927Z",fill:"currentColor"})]})},sl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3492 6.75927C12.9299 6.39985 12.8813 5.76855 13.2407 5.34923C13.6002 4.9299 14.2315 4.88134 14.6508 5.24076L21.6508 11.2408C21.8724 11.4307 22 11.7081 22 12C22 12.2919 21.8724 12.5693 21.6508 12.7593L14.6508 18.7593C14.2315 19.1187 13.6002 19.0701 13.2407 18.6508C12.8813 18.2315 12.9299 17.6002 13.3492 17.2408L18.2968 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H18.2967L13.3492 6.75927Z",fill:"currentColor"})]})},cl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.98355 14.1589C5.67215 12.9836 5.67215 11.0163 6.98355 9.84113L14.3326 3.25527C14.7439 2.88669 15.3761 2.92132 15.7447 3.33261C16.1133 3.74391 16.0787 4.37613 15.6674 4.74471L8.31831 11.3306C7.8939 11.7109 7.8939 12.2891 8.31831 12.6694L15.6674 19.2553C16.0787 19.6239 16.1133 20.2561 15.7447 20.6674C15.3761 21.0787 14.7439 21.1133 14.3326 20.7447L6.98355 14.1589Z",fill:"currentColor"})]})},dl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 2C4.23858 2 2 4.23858 2 7V15H1C0.447715 15 0 15.4477 0 16V17C0 19.7614 2.23858 22 5 22H19C21.7614 22 24 19.7614 24 17V16C24 15.4477 23.5523 15 23 15H22V7C22 4.23858 19.7614 2 17 2H7ZM20 15V7C20 5.34315 18.6569 4 17 4H7C5.34315 4 4 5.34315 4 7V15H7.5C7.70188 15 7.89903 15.0611 8.06553 15.1753L9.30432 16.0247C9.47082 16.1389 9.66797 16.2 9.86985 16.2H14.2984C14.5255 16.2 14.7458 16.1227 14.9231 15.9809L15.8753 15.2191C16.0526 15.0773 16.2729 15 16.5 15H20ZM5 20C3.34315 20 2 18.6569 2 17H7.19008L8.17326 17.6742C8.67275 18.0167 9.26421 18.2 9.86985 18.2H14.2984C14.9797 18.2 15.6406 17.9682 16.1725 17.5426L16.8508 17H22C22 18.6569 20.6569 20 19 20H5ZM10.8321 12.5547C11.1384 12.0952 11.0142 11.4743 10.5547 11.168L8.80278 10L10.5547 8.83207C11.0142 8.52571 11.1384 7.90484 10.8321 7.44532C10.5257 6.98579 9.90483 6.86161 9.4453 7.16797L6.4453 9.16797C6.1671 9.35343 6 9.66566 6 10C6 10.3344 6.1671 10.6466 6.4453 10.8321L9.4453 12.8321C9.90483 13.1384 10.5257 13.0142 10.8321 12.5547ZM13.4453 11.168C12.9858 11.4743 12.8616 12.0952 13.1679 12.5547C13.4743 13.0142 14.0952 13.1384 14.5547 12.8321L17.5547 10.8321C17.8329 10.6466 18 10.3344 18 10C18 9.66566 17.8329 9.35343 17.5547 9.16797L14.5547 7.16797C14.0952 6.86161 13.4743 6.98579 13.1679 7.44532C12.8616 7.90484 12.9858 8.52571 13.4453 8.83207L15.1972 10L13.4453 11.168Z",fill:"currentColor"})]})},ul=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5.39073C9.05751 3.78449 10.3778 2.5 11.998 2.5H14.053L14.0166 6.47252C14.0013 8.14005 15.3489 9.5 17.0165 9.5H20.998V13.5C20.998 15.1569 19.6549 16.5 17.998 16.5H16H11.998C10.3412 16.5 8.99805 15.1569 8.99805 13.5V7H9V5.39073ZM7.02273 5C7.2736 2.47334 9.40537 0.5 11.998 0.5H15.3412C16.6673 0.5 17.939 1.02678 18.8767 1.96446L21.5336 4.62132C22.4713 5.559 22.998 6.83077 22.998 8.15685V13.5C22.998 16.2614 20.7595 18.5 17.998 18.5H17.9753C17.7245 21.0267 15.5927 23 13 23H7C4.23858 23 2 20.7614 2 18V10C2 7.23858 4.23858 5 7 5H7.02273ZM6.99805 7C5.34209 7.00106 4 8.3438 4 10V18C4 19.6569 5.34315 21 7 21H13C14.4865 21 15.7205 19.9189 15.9585 18.5H11.998C9.23662 18.5 6.99805 16.2614 6.99805 13.5V7ZM16.0165 6.49084L16.0523 2.58548C16.5818 2.71468 17.0707 2.9869 17.4625 3.37868L20.1194 6.03553C20.5245 6.44065 20.8018 6.94969 20.9253 7.5H17.0165C16.4606 7.5 16.0114 7.04668 16.0165 6.49084Z",fill:"currentColor"})]})},vl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM7.24423 7.24408C7.56967 6.91864 8.09732 6.91864 8.42276 7.24408L12.0001 10.8214L15.5774 7.24408C15.9028 6.91864 16.4305 6.91864 16.7559 7.24408C17.0814 7.56952 17.0814 8.09717 16.7559 8.42261L13.1786 11.9999L16.7561 15.5774C17.0815 15.9028 17.0815 16.4305 16.7561 16.7559C16.4306 17.0814 15.903 17.0814 15.5775 16.7559L12.0001 13.1785L8.42261 16.7559C8.09717 17.0814 7.56952 17.0814 7.24408 16.7559C6.91864 16.4305 6.91864 15.9028 7.24408 15.5774L10.8215 11.9999L7.24423 8.42261C6.91879 8.09717 6.91879 7.56952 7.24423 7.24408Z",fill:"currentColor"})]})},pl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7593 1.01286C19.8032 0.913334 20.7881 1.38715 21.7056 2.31092C22.6252 3.23091 23.0901 4.21699 22.9858 5.25765C22.8868 6.24527 22.2941 7.02988 21.7042 7.61965L15.482 13.8409C15.2599 14.0628 14.9809 14.2375 14.7308 14.3606C14.4794 14.4843 14.1756 14.5959 13.8732 14.6391L13.8718 14.6393L11.498 14.9749L11.4956 14.9753C10.8018 15.0716 10.1076 14.8858 9.61095 14.3893C9.11427 13.8927 8.92841 13.1985 9.02479 12.5046L9.02513 12.5022L9.36082 10.1288L9.36102 10.1274C9.40422 9.825 9.51588 9.52118 9.63956 9.26987C9.76267 9.01972 9.93742 8.74076 10.1594 8.51879L16.3817 2.29759C16.9777 1.70167 17.7672 1.10743 18.7593 1.01286ZM18.9491 3.00383C18.6772 3.02975 18.3409 3.19717 17.9151 3.59637C17.9339 3.63918 17.9499 3.68383 17.9629 3.73016C18.2755 4.84553 19.1495 5.72512 20.2683 6.03667C20.316 6.04995 20.3619 6.06647 20.4058 6.08592C20.7998 5.66553 20.9684 5.33079 20.9958 5.05815C21.0203 4.81373 20.9522 4.3858 20.2901 3.72391M18.9491 3.00383C19.1934 2.98053 19.6228 3.05162 20.2875 3.72124L18.9491 3.00383ZM11.5735 9.93312L16.366 5.1415C16.8887 6.22815 17.7679 7.11131 18.8597 7.63554L14.0679 12.4265C14.0501 12.4443 13.9754 12.5033 13.8479 12.566C13.7222 12.6279 13.6247 12.6542 13.5909 12.6591L13.5904 12.6592L11.2205 12.9943L11.2194 12.9944C11.1326 13.0063 11.0798 12.9967 11.0551 12.9893C11.0423 12.9854 11.0348 12.9816 11.0311 12.9794C11.0275 12.9772 11.0258 12.9757 11.025 12.9749C11.0243 12.9742 11.0227 12.9725 11.0206 12.9689C11.0184 12.9652 11.0146 12.9577 11.0108 12.945C11.0033 12.9203 10.9937 12.8676 11.0056 12.7808L11.0058 12.7798L11.3409 10.4103L11.341 10.4099C11.3458 10.3763 11.3721 10.2788 11.434 10.153C11.4967 10.0255 11.5558 9.95088 11.5735 9.93312ZM3 6C3 4.34315 4.34315 3 6 3H12C12.5523 3 13 2.55228 13 2C13 1.44772 12.5523 1 12 1H6C3.23858 1 1 3.23858 1 6V18C1 20.7614 3.23858 23 6 23H18C20.7614 23 23 20.7614 23 18V12C23 11.4477 22.5523 11 22 11C21.4477 11 21 11.4477 21 12V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6Z",fill:"currentColor"})]})},fl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3C3.23858 3 1 5.23858 1 8V16C1 18.7614 3.23858 21 6 21H18C20.7614 21 23 18.7614 23 16V8C23 5.23858 20.7614 3 18 3H6ZM4.7087 5.29136C5.0998 5.10457 5.53769 5 6 5H18C18.4623 5 18.9002 5.10457 19.2913 5.29136L12.6585 11.0951C12.2815 11.425 11.7185 11.425 11.3415 11.0951L4.7087 5.29136ZM3.29235 6.70663C3.10494 7.09825 3 7.53687 3 8V16C3 17.6569 4.34315 19 6 19H18C19.6569 19 21 17.6569 21 16V8C21 7.53687 20.8951 7.09825 20.7076 6.70662C20.6919 6.72237 20.6755 6.73771 20.6585 6.75259L13.9755 12.6002C12.8444 13.5899 11.1556 13.5899 10.0245 12.6002L3.34149 6.75259C3.32449 6.73771 3.3081 6.72238 3.29235 6.70663Z",fill:"currentColor"})]})},gl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C3 4.34315 4.34315 3 6 3H12C12.5523 3 13 2.55228 13 2C13 1.44772 12.5523 1 12 1H6C3.23858 1 1 3.23858 1 6V18C1 20.7614 3.23858 23 6 23H18C20.7614 23 23 20.7614 23 18V12C23 11.4477 22.5523 11 22 11C21.4477 11 21 11.4477 21 12V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6ZM16.2 2C16.2 1.44772 16.6477 1 17.2 1H22C22.5522 1 23 1.44772 23 2V6.8C23 7.35228 22.5522 7.8 22 7.8C21.4477 7.8 21 7.35228 21 6.8V4.41431L13.7071 11.7072C13.3166 12.0977 12.6834 12.0977 12.2929 11.7072C11.9024 11.3166 11.9024 10.6835 12.2929 10.2929L19.5858 3H17.2C16.6477 3 16.2 2.55228 16.2 2Z",fill:"currentColor"})]})},hl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5229 6.47715 22 12 22C17.5229 22 22 17.5229 22 12C22 6.47715 17.5229 2 12 2Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 11.4477 0.447715 11 1 11H23C23.5523 11 24 11.4477 24 12C24 12.5523 23.5523 13 23 13H1C0.447715 13 0 12.5523 0 12Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 6.5C2.2 5.94772 2.64772 5.5 3.2 5.5H20.8C21.3523 5.5 21.8 5.94772 21.8 6.5C21.8 7.05228 21.3523 7.5 20.8 7.5H3.2C2.64772 7.5 2.2 7.05228 2.2 6.5Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 17.5C2.2 16.9477 2.64772 16.5 3.2 16.5H20.8C21.3523 16.5 21.8 16.9477 21.8 17.5C21.8 18.0523 21.3523 18.5 20.8 18.5H3.2C2.64772 18.5 2.2 18.0523 2.2 17.5Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.50347 1.16265C10.1745 0.481475 11.0187 0 11.9999 0C12.9811 0 13.8253 0.481475 14.4963 1.16265C15.1639 1.8403 15.7191 2.76958 16.1639 3.83721C17.0554 5.97684 17.5832 8.8634 17.5832 12C17.5832 15.1366 17.0554 18.0232 16.1639 20.1628C15.7191 21.2304 15.1639 22.1597 14.4963 22.8374C13.8253 23.5185 12.9811 24 11.9999 24C11.0187 24 10.1745 23.5185 9.50347 22.8374C8.83591 22.1597 8.28077 21.2304 7.83592 20.1628C6.94441 18.0232 6.41658 15.1366 6.41658 12C6.41658 8.8634 6.94441 5.97684 7.83592 3.83721C8.28077 2.76958 8.83591 1.8403 9.50347 1.16265ZM9.68208 4.60644C8.91475 6.44802 8.41658 9.06146 8.41658 12C8.41658 14.9385 8.91475 17.552 9.68208 19.3936C10.0666 20.3165 10.4991 20.9982 10.9283 21.4338C11.3539 21.8659 11.7154 22 11.9999 22C12.2844 22 12.6459 21.8659 13.0716 21.4338C13.5007 20.9982 13.9332 20.3165 14.3177 19.3936C15.0851 17.552 15.5832 14.9385 15.5832 12C15.5832 9.06146 15.0851 6.44802 14.3177 4.60644C13.9332 3.68346 13.5007 3.00183 13.0716 2.56622C12.6459 2.13413 12.2844 2 11.9999 2C11.7154 2 11.3539 2.13413 10.9283 2.56622C10.4991 3.00183 10.0666 3.68346 9.68208 4.60644Z",fill:"currentColor"})]})},ml=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M11.8666 5.73325C11.3716 5.73325 10.8968 5.53659 10.5467 5.18653C10.1967 4.83647 10 4.36169 10 3.86663C10 3.37157 10.1967 2.89678 10.5467 2.54672C10.8968 2.19666 11.3716 2 11.8666 2C12.3617 2 12.8365 2.19666 13.1865 2.54672C13.5366 2.89678 13.7333 3.37157 13.7333 3.86663C13.7333 4.36169 13.5366 4.83647 13.1865 5.18653C12.8365 5.53659 12.3617 5.73325 11.8666 5.73325Z",fill:"currentColor"}),e("path",{d:"M11.8666 13.8665C11.3716 13.8665 10.8968 13.6699 10.5467 13.3198C10.1967 12.9697 10 12.495 10 11.9999C10 11.5048 10.1967 11.0301 10.5467 10.68C10.8968 10.3299 11.3716 10.1333 11.8666 10.1333C12.3617 10.1333 12.8365 10.3299 13.1865 10.68C13.5366 11.0301 13.7333 11.5048 13.7333 11.9999C13.7333 12.495 13.5366 12.9697 13.1865 13.3198C12.8365 13.6699 12.3617 13.8665 11.8666 13.8665Z",fill:"currentColor"}),e("path",{d:"M10 20.1334C10 20.6284 10.1967 21.1032 10.5467 21.4533C10.8968 21.8033 11.3716 22 11.8666 22C12.3617 22 12.8365 21.8033 13.1865 21.4533C13.5366 21.1032 13.7333 20.6284 13.7333 20.1334C13.7333 19.6383 13.5366 19.1635 13.1865 18.8135C12.8365 18.4634 12.3617 18.2668 11.8666 18.2668C11.3716 18.2668 10.8968 18.4634 10.5467 18.8135C10.1967 19.1635 10 19.6383 10 20.1334Z",fill:"currentColor"})]})},bl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M10 15C9.44771 15 9 15.4477 9 16C9 16.5523 9.44771 17 10 17H14C14.5523 17 15 16.5523 15 16C15 15.4477 14.5523 15 14 15H10Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 7V9C3.23858 9 1 11.2386 1 14V18C1 20.7614 3.23858 23 6 23H18C20.7614 23 23 20.7614 23 18V14C23 11.2386 20.7614 9 18 9V7C18 3.68629 15.3137 1 12 1C8.68629 1 6 3.68629 6 7ZM12 3C9.79086 3 8 4.79086 8 7V9H16V7C16 4.79086 14.2091 3 12 3ZM6 11C4.34315 11 3 12.3431 3 14V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V14C21 12.3431 19.6569 11 18 11H6Z",fill:"currentColor"})]})},Cl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7103 0.248918C11.2866 -0.0829728 11.9961 -0.0829728 12.5725 0.248918L21.3507 5.31672C21.927 5.64861 22.2828 6.26469 22.2828 6.93046V17.068C22.2828 17.7338 21.927 18.3479 21.3507 18.6818L12.5725 23.7496C11.9961 24.0835 11.2866 24.0835 10.7103 23.7496L1.93208 18.6818C1.35574 18.3499 1 17.7338 1 17.068V6.93046C1 6.26469 1.35574 5.6506 1.93208 5.31672L10.7103 0.248918ZM11.3602 1.57251C11.4993 1.33204 11.8451 1.33204 11.9842 1.57251L20.8817 16.9846C21.0208 17.225 20.8479 17.5251 20.5697 17.5251H2.77274C2.49451 17.5251 2.32161 17.225 2.46073 16.9846L11.3582 1.57251H11.3602ZM16.1537 12.1155C16.1537 14.6196 14.1246 16.6487 11.6205 16.6487C9.11643 16.6487 7.08732 14.6196 7.08732 12.1155C7.08732 9.61143 9.11643 7.58232 11.6205 7.58232C14.1246 7.58232 16.1537 9.61143 16.1537 12.1155ZM9.75437 10.5614C9.75437 10.3885 9.89349 10.2494 10.0664 10.2494H13.1746C13.3475 10.2494 13.4867 10.3885 13.4867 10.5614V13.6696C13.4867 13.8425 13.3475 13.9817 13.1746 13.9817H10.0664C9.89349 13.9817 9.75437 13.8425 9.75437 13.6696V10.5614Z",fill:"currentColor"})]})},yl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6983 3.36856C18.6892 2.70507 19.8674 3.03265 20.4165 3.58246C20.9667 4.13335 21.2935 5.31535 20.6352 7.30603L20.6349 7.30692L17.449 16.8625L17.4489 16.863C16.9354 18.4058 16.3635 19.4846 15.8074 20.1579C15.2487 20.8344 14.798 21 14.5017 21C14.2053 21 13.7547 20.8344 13.1959 20.1579C12.6419 19.4871 12.0722 18.4139 11.5602 16.8803L10.8755 14.5387L14.7071 10.7071C15.0976 10.3166 15.0976 9.6834 14.7071 9.29288C14.3166 8.90235 13.6834 8.90235 13.2929 9.29288L9.46037 13.1254L7.12061 12.4416C5.58635 11.9296 4.51271 11.3606 3.84169 10.8074C3.16483 10.2493 3 9.80002 3 9.50524C3 9.21015 3.16515 8.75995 3.84249 8.20031C4.51624 7.64364 5.59547 7.07057 7.13862 6.55443L7.13935 6.55419L16.6983 3.36856ZM22.5337 7.93501C23.2939 5.637 23.1646 3.50385 21.8316 2.16915C20.4975 0.833267 18.3652 0.704914 16.066 1.47116L6.50602 4.65711L6.50503 4.65745C4.83378 5.21636 3.50214 5.88718 2.5686 6.65849C1.63855 7.42693 1 8.38888 1 9.50524C1 10.6219 1.63887 11.5833 2.56941 12.3505C3.50327 13.1205 4.83519 13.7891 6.50652 14.3451C6.51817 14.349 6.52989 14.3526 6.54167 14.3561L8.94354 15.058L9.64582 17.4595C9.64927 17.4713 9.65292 17.483 9.6568 17.4946C10.213 19.1659 10.8826 20.4977 11.6538 21.4315C12.4223 22.362 13.3849 23 14.5017 23C15.6184 23 16.581 22.362 17.3495 21.4315C18.1206 20.4978 18.7901 19.1662 19.3464 17.4951L19.3465 17.4946L22.533 7.93725L22.5337 7.93501Z",fill:"currentColor"})]})},wl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M8 21.0002H4C3.73478 21.0002 3.48043 20.8948 3.29289 20.7073C3.10536 20.5198 3 20.2654 3 20.0002V16.0002C3 15.735 2.89464 15.4806 2.70711 15.2931C2.51957 15.1055 2.26522 15.0002 2 15.0002C1.73478 15.0002 1.48043 15.1055 1.29289 15.2931C1.10536 15.4806 1 15.735 1 16.0002V20.0002C1 20.7958 1.31607 21.5589 1.87868 22.1215C2.44129 22.6841 3.20435 23.0002 4 23.0002H8C8.26522 23.0002 8.51957 22.8948 8.70711 22.7073C8.89464 22.5198 9 22.2654 9 22.0002C9 21.735 8.89464 21.4806 8.70711 21.2931C8.51957 21.1055 8.26522 21.0002 8 21.0002ZM22 15.0002C21.7348 15.0002 21.4804 15.1055 21.2929 15.2931C21.1054 15.4806 21 15.735 21 16.0002V20.0002C21 20.2654 20.8946 20.5198 20.7071 20.7073C20.5196 20.8948 20.2652 21.0002 20 21.0002H16C15.7348 21.0002 15.4804 21.1055 15.2929 21.2931C15.1054 21.4806 15 21.735 15 22.0002C15 22.2654 15.1054 22.5198 15.2929 22.7073C15.4804 22.8948 15.7348 23.0002 16 23.0002H20C20.7956 23.0002 21.5587 22.6841 22.1213 22.1215C22.6839 21.5589 23 20.7958 23 20.0002V16.0002C23 15.735 22.8946 15.4806 22.7071 15.2931C22.5196 15.1055 22.2652 15.0002 22 15.0002ZM20 1.00018H16C15.7348 1.00018 15.4804 1.10554 15.2929 1.29308C15.1054 1.48061 15 1.73497 15 2.00018C15 2.2654 15.1054 2.51975 15.2929 2.70729C15.4804 2.89483 15.7348 3.00018 16 3.00018H20C20.2652 3.00018 20.5196 3.10554 20.7071 3.29308C20.8946 3.48061 21 3.73497 21 4.00018V8.00018C21 8.2654 21.1054 8.51975 21.2929 8.70729C21.4804 8.89483 21.7348 9.00018 22 9.00018C22.2652 9.00018 22.5196 8.89483 22.7071 8.70729C22.8946 8.51975 23 8.2654 23 8.00018V4.00018C23 3.20453 22.6839 2.44147 22.1213 1.87886C21.5587 1.31625 20.7956 1.00018 20 1.00018ZM2 9.00018C2.26522 9.00018 2.51957 8.89483 2.70711 8.70729C2.89464 8.51975 3 8.2654 3 8.00018V4.00018C3 3.73497 3.10536 3.48061 3.29289 3.29308C3.48043 3.10554 3.73478 3.00018 4 3.00018H8C8.26522 3.00018 8.51957 2.89483 8.70711 2.70729C8.89464 2.51975 9 2.2654 9 2.00018C9 1.73497 8.89464 1.48061 8.70711 1.29308C8.51957 1.10554 8.26522 1.00018 8 1.00018H4C3.20435 1.00018 2.44129 1.31625 1.87868 1.87886C1.31607 2.44147 1 3.20453 1 4.00018V8.00018C1 8.2654 1.10536 8.51975 1.29289 8.70729C1.48043 8.89483 1.73478 9.00018 2 9.00018ZM10 5.00018H6C5.73478 5.00018 5.48043 5.10554 5.29289 5.29308C5.10536 5.48061 5 5.73497 5 6.00018V10.0002C5 10.2654 5.10536 10.5198 5.29289 10.7073C5.48043 10.8948 5.73478 11.0002 6 11.0002H10C10.2652 11.0002 10.5196 10.8948 10.7071 10.7073C10.8946 10.5198 11 10.2654 11 10.0002V6.00018C11 5.73497 10.8946 5.48061 10.7071 5.29308C10.5196 5.10554 10.2652 5.00018 10 5.00018ZM9 9.00018H7V7.00018H9V9.00018ZM14 11.0002H18C18.2652 11.0002 18.5196 10.8948 18.7071 10.7073C18.8946 10.5198 19 10.2654 19 10.0002V6.00018C19 5.73497 18.8946 5.48061 18.7071 5.29308C18.5196 5.10554 18.2652 5.00018 18 5.00018H14C13.7348 5.00018 13.4804 5.10554 13.2929 5.29308C13.1054 5.48061 13 5.73497 13 6.00018V10.0002C13 10.2654 13.1054 10.5198 13.2929 10.7073C13.4804 10.8948 13.7348 11.0002 14 11.0002ZM15 7.00018H17V9.00018H15V7.00018ZM10 13.0002H6C5.73478 13.0002 5.48043 13.1055 5.29289 13.2931C5.10536 13.4806 5 13.735 5 14.0002V18.0002C5 18.2654 5.10536 18.5198 5.29289 18.7073C5.48043 18.8948 5.73478 19.0002 6 19.0002H10C10.2652 19.0002 10.5196 18.8948 10.7071 18.7073C10.8946 18.5198 11 18.2654 11 18.0002V14.0002C11 13.735 10.8946 13.4806 10.7071 13.2931C10.5196 13.1055 10.2652 13.0002 10 13.0002ZM9 17.0002H7V15.0002H9V17.0002ZM14 16.0002C14.2652 16.0002 14.5196 15.8948 14.7071 15.7073C14.8946 15.5198 15 15.2654 15 15.0002C15.2652 15.0002 15.5196 14.8948 15.7071 14.7073C15.8946 14.5198 16 14.2654 16 14.0002C16 13.735 15.8946 13.4806 15.7071 13.2931C15.5196 13.1055 15.2652 13.0002 15 13.0002H14C13.7348 13.0002 13.4804 13.1055 13.2929 13.2931C13.1054 13.4806 13 13.735 13 14.0002V15.0002C13 15.2654 13.1054 15.5198 13.2929 15.7073C13.4804 15.8948 13.7348 16.0002 14 16.0002ZM18 13.0002C17.7348 13.0002 17.4804 13.1055 17.2929 13.2931C17.1054 13.4806 17 13.735 17 14.0002V17.0002C16.7348 17.0002 16.4804 17.1055 16.2929 17.2931C16.1054 17.4806 16 17.735 16 18.0002C16 18.2654 16.1054 18.5198 16.2929 18.7073C16.4804 18.8948 16.7348 19.0002 17 19.0002H18C18.2652 19.0002 18.5196 18.8948 18.7071 18.7073C18.8946 18.5198 19 18.2654 19 18.0002V14.0002C19 13.735 18.8946 13.4806 18.7071 13.2931C18.5196 13.1055 18.2652 13.0002 18 13.0002ZM14 17.0002C13.8022 17.0002 13.6089 17.0588 13.4444 17.1687C13.28 17.2786 13.1518 17.4348 13.0761 17.6175C13.0004 17.8002 12.9806 18.0013 13.0192 18.1953C13.0578 18.3893 13.153 18.5674 13.2929 18.7073C13.4327 18.8471 13.6109 18.9424 13.8049 18.981C13.9989 19.0196 14.2 18.9998 14.3827 18.9241C14.5654 18.8484 14.7216 18.7202 14.8315 18.5558C14.9413 18.3913 15 18.198 15 18.0002C15 17.735 14.8946 17.4806 14.7071 17.2931C14.5196 17.1055 14.2652 17.0002 14 17.0002Z",fill:"currentColor"})]})},xl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C6.99489 3 3 7.02968 3 12C3 12.5523 2.55228 13 2 13C1.44772 13 1 12.5523 1 12C1 5.93033 5.88511 1 12 1C15.6319 1 18.3508 2.518 20.1418 4.01211C20.4554 4.27365 20.7414 4.53515 21 4.78871V2.56C21 2.00772 21.4477 1.56 22 1.56C22.5523 1.56 23 2.00772 23 2.56V7.56C23 8.11228 22.5523 8.56 22 8.56H17.56C17.0077 8.56 16.56 8.11228 16.56 7.56C16.56 7.00772 17.0077 6.56 17.56 6.56H19.9367C19.6339 6.23948 19.2751 5.89363 18.8607 5.54789C17.3192 4.262 15.0381 3 12 3ZM22 11C22.5523 11 23 11.4477 23 12C23 18.0723 18.0723 23 12 23C8.89272 23 6.44015 21.4364 4.81317 19.9607C4.56094 19.7319 4.32638 19.5034 4.11 19.2803V21.44C4.11 21.9923 3.66228 22.44 3.11 22.44C2.55772 22.44 2.11 21.9923 2.11 21.44V16.44C2.11 15.8877 2.55772 15.44 3.11 15.44H7.63C8.18228 15.44 8.63 15.8877 8.63 16.44C8.63 16.9923 8.18228 17.44 7.63 17.44H5.12977C5.42214 17.769 5.76564 18.1245 6.15683 18.4793C7.59485 19.7836 9.58728 21 12 21C16.9677 21 21 16.9677 21 12C21 11.4477 21.4477 11 22 11Z",fill:"currentColor"})]})},El=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 11.4477 3.44772 11 4 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H4C3.44772 13 3 12.5523 3 12Z",fill:"currentColor"})]})},kl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M13 13.235C13.6003 12.8898 14.0045 12.2421 14.0045 11.5C14.0045 10.3954 13.109 9.49999 12.0045 9.49999H11.9955C10.8909 9.49999 9.99548 10.3954 9.99548 11.5C9.99548 12.2421 10.3997 12.8899 11 13.235V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V13.235Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.79565 2.08066C11.1665 1.31906 12.8335 1.31906 14.2043 2.08066L20.3574 5.49903C21.3712 6.06226 22 7.13087 22 8.29065V13C22 18.5228 17.5228 23 12 23C6.47715 23 2 18.5228 2 13V8.29065C2 7.13087 2.62877 6.06226 3.6426 5.49903L9.79565 2.08066ZM13.2331 3.82898C12.4662 3.40295 11.5338 3.40295 10.7669 3.82898L4.61388 7.24734C4.23499 7.45784 4 7.85721 4 8.29065V13C4 17.4183 7.58172 21 12 21C16.4183 21 20 17.4183 20 13V8.29065C20 7.85721 19.765 7.45784 19.3861 7.24734L13.2331 3.82898Z",fill:"currentColor"})]})},Ll=({email:t})=>{const a=t.split("@");return r("span",{className:xe({overflowWrap:"break-word",wordBreak:"break-word",fontWeight:600}),children:[a[0],e("wbr",{}),"@",a[1]]})};Ll.displayName="EmailWbr";const Il=o((a,n)=>{const{address:o,onCopy:i,size:l="md",icon:c,fontColor:u="text.tertiary",fontWeight:p="normal",fontFamily:f="inherit"}=a,[g,h]=s(!1),m=`${o.slice(0,6)}...${o?.slice(-4)}`,b="sm"===l?16:20,C=d(()=>{i&&i(o),h(!0)},[o]);return v(()=>{if(g){const e=setTimeout(()=>{h(!1)},1500);return()=>clearTimeout(e)}},[g]),i?e(ho,{className:xe({fontSize:l,color:g?"positive.base":u,fontWeight:g?"medium":p,rounded:"button",fontVariant:"no-contextual",transition:"none",fontFamily:f}),onPress:C,ref:n,children:r(Qe,{gap:2,children:[g?c?"Copied":"Copied!":m,c&&e(t,{children:g?e(Lo,{width:b,height:b,color:lr("colors.positive.base")}):e(ul,{width:b,height:b,color:lr("colors.text.tertiary")})})]})}):e("span",{className:xe({fontSize:l,color:u,fontWeight:p,fontVariant:"no-contextual",fontFamily:f}),children:m})});Il.displayName="WalletAddress";var Sl=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54",{default:"(..) .... ....","/^11/":"(..) .... ....","/^15/":"(..) ... ....","/^(2|3|4|5)/":"(.) .... ....","/^9/":"(.) .... ....."},0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973",".... ...."],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) .....-...."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Cayman Islands","ky","1","... ... ....",4,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253",".. .. ...."],["Dominica","dm","1767"],["Dominican Republic","do","1","(...) ...-....",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251",".. ... ...."],["Faroe Islands","fo","298",".. .. .."],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594","... .. .. .."],["French Polynesia","pf","689",{"/^44/":".. .. ..","/^80[0-5]/":"... .. .. ..",default:".. .. .. .."}],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49","... ........."],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30"],["Greenland","gl","299",".. .. .."],["Grenada","gd","1473"],["Guadeloupe","gp","590","... .. .. ..",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965",".... ...."],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596","... .. .. .."],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262","... .. .. ..",1,["269","639"]],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",{"/^06/":"(.). .........","/^6/":". .........","/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":"(.).. ........","/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":".. ........","/^0/":"(.)... .......",default:"... ......."}],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968",".... ...."],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63","... ... ...."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","(...) ...-....",3,["787","939"]],["Qatar","qa","974",".... ...."],["Réunion","re","262","... .. .. ..",0],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Pierre & Miquelon","pm","508",{"/^708/":"... ... ...","/^8/":"... .. .. ..",default:".. .. .."}],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966",".. ... ...."],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971",{default:".. ... ....","/^5[024568]/":".. ... ....","/^[234679]/":". ... ...."}],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis & Futuna","wf","681",".. .. .."],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],Ml=(...e)=>e.filter(e=>!!e).join(" ").trim(),Tl=({addPrefix:e,rawClassNames:r})=>Ml(((...e)=>Ml(...e).split(" ").map(e=>`react-international-phone-${e}`).join(" "))(...e),...r),_l=e=>!!e&&/^\d+$/.test(e),Pl=e=>e.replace(/\D/g,""),Al=({phone:e,prefix:r})=>e?`${r}${Pl(e)}`:"";function Nl({value:e,country:r,insertDialCodeOnEmpty:t,trimNonDigitsEnd:a,countries:n,prefix:o,charAfterDialCode:i,forceDialCode:l,disableDialCodeAndPrefix:s,defaultMask:c,countryGuessingEnabled:d,disableFormatting:u}){let v=e;s&&(v=v.startsWith(`${o}`)?v:`${o}${r.dialCode}${v}`);let p=d?es({phone:v,countries:n,currentCountryIso2:r?.iso2}):void 0,f=p?.country??r,g=((e,r)=>{let t=!r.disableDialCodeAndPrefix&&r.forceDialCode,a=!r.disableDialCodeAndPrefix&&r.insertDialCodeOnEmpty,n=e,o=e=>r.trimNonDigitsEnd?e.trim():e;if(!n)return a&&!n.length||t?o(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`):o(n);if(n=Pl(n),n===r.dialCode&&!r.disableDialCodeAndPrefix)return o(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`);if(r.dialCode.startsWith(n)&&!r.disableDialCodeAndPrefix)return o(t?`${r.prefix}${r.dialCode}${r.charAfterDialCode}`:`${r.prefix}${n}`);if(!n.startsWith(r.dialCode)&&!r.disableDialCodeAndPrefix){if(t)return o(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`);if(n.length<r.dialCode.length)return o(`${r.prefix}${n}`)}let{phoneLeftSide:i,phoneRightSide:l}=(()=>{let e=r.dialCode.length;return{phoneLeftSide:n.slice(0,e),phoneRightSide:n.slice(e)}})();return i=`${r.prefix}${i}${r.charAfterDialCode}`,l=(({value:e,mask:r,maskSymbol:t,offset:a=0,trimNonMaskCharsLeftover:n=!1})=>{if(e.length<a)return e;let o=e.slice(0,a),i=e.slice(a),l=o,s=0;for(let e of r.split("")){if(s>=i.length){if(!n&&e!==t){l+=e;continue}break}e===t?(l+=i[s],s+=1):l+=e}return l})({value:l,mask:r.mask,maskSymbol:r.maskChar,trimNonMaskCharsLeftover:r.trimNonDigitsEnd||r.disableDialCodeAndPrefix&&0===l.length}),r.disableDialCodeAndPrefix&&(i=""),o(`${i}${l}`)})(v,{prefix:o,mask:Ql({phone:v,country:f,defaultMask:c,disableFormatting:u}),maskChar:Fl,dialCode:f.dialCode,trimNonDigitsEnd:a,charAfterDialCode:i,forceDialCode:l,insertDialCodeOnEmpty:t,disableDialCodeAndPrefix:s}),h=d&&!p?.fullDialCodeMatch?r:f;return{phone:Al({phone:s?`${h.dialCode}${g}`:g,prefix:o}),inputValue:g,country:h}}var Rl=(e,{country:r,insertDialCodeOnEmpty:t,phoneBeforeInput:a,prefix:n,charAfterDialCode:o,forceDialCode:i,disableDialCodeAndPrefix:l,countryGuessingEnabled:s,defaultMask:c,disableFormatting:d,countries:u})=>{let v=e.nativeEvent,p=v.inputType,f=(e=>{if(e?.toLocaleLowerCase().includes("delete"))return e?.toLocaleLowerCase().includes("forward")?"forward":"backward"})(p),g=!!p?.startsWith("insertFrom"),h="insertText"===p,m=v?.data||void 0,b=e.target.value,C=e.target.selectionStart??0;if(p?.includes("history"))return{inputValue:a,phone:Al({phone:a,prefix:n}),cursorPosition:a.length,country:r};if(h&&!_l(m)&&b!==n)return{inputValue:a,phone:Al({phone:l?`${r.dialCode}${a}`:a,prefix:n}),cursorPosition:C-(m?.length??0),country:r};if(i&&!b.startsWith(`${n}${r.dialCode}`)&&!g){let e=b?a:`${n}${r.dialCode}${o}`;return{inputValue:e,phone:Al({phone:e,prefix:n}),cursorPosition:n.length+r.dialCode.length+o.length,country:r}}let{phone:y,inputValue:w,country:x}=Nl({value:b,country:r,trimNonDigitsEnd:"backward"===f,insertDialCodeOnEmpty:t,countryGuessingEnabled:s,countries:u,prefix:n,charAfterDialCode:o,forceDialCode:i,disableDialCodeAndPrefix:l,disableFormatting:d,defaultMask:c}),E=(({phoneBeforeInput:e,phoneAfterInput:r,phoneAfterFormatted:t,cursorPositionAfterInput:a,leftOffset:n=0,deletion:o})=>{if(a<n)return n;if(!e)return t.length;let i=null;for(let e=a-1;e>=0;e-=1)if(_l(r[e])){i=e;break}if(null===i){for(let e=0;e<r.length;e+=1)if(_l(t[e]))return e;return r.length}let l=0;for(let e=0;e<i;e+=1)_l(r[e])&&(l+=1);let s=0,c=0;for(let e=0;e<t.length&&(s+=1,_l(t[e])&&(c+=1),!(c>=l+1));e+=1);if("backward"!==o)for(;!_l(t[s])&&s<t.length;)s+=1;return s})({cursorPositionAfterInput:C,phoneBeforeInput:a,phoneAfterInput:b,phoneAfterFormatted:w,leftOffset:i?n.length+r.dialCode.length+o.length:0,deletion:f});return{phone:y,inputValue:w,cursorPosition:E,country:x}},Ol={size:20,overrideLastItemDebounceMS:-1};function Dl(e,r){let{size:t,overrideLastItemDebounceMS:a,onChange:n}={...Ol,...r},[o,l]=s(e),u=c([o]),v=c(0),p=(()=>{let e=c(),r=c(Date.now()),t=d(()=>{let t=Date.now(),a=e.current?t-r.current:void 0;return e.current=r.current,r.current=t,a},[]);return i(()=>({check:t}),[t])})(),f=d((e,r)=>{let o=u.current[v.current];if(e===o||"object"==typeof e&&"object"==typeof o&&((e,r)=>{let t=Object.keys(e),a=Object.keys(r);if(t.length!==a.length)return!1;for(let a of t)if(e[a]!==r[a])return!1;return!0})(e,o))return;let i=a>0,s=p.check(),c=!i||void 0===s||s>a;if(void 0!==r?.overrideLastItem?r.overrideLastItem:!c)u.current=[...u.current.slice(0,v.current),e];else{let r=u.current.length>=t;u.current=[...u.current.slice(r?1:0,v.current+1),e],r||(v.current+=1)}l(e),n?.(e)},[n,a,t,p]),g=d(()=>{if(v.current<=0)return{success:!1};let e=u.current[v.current-1];return l(e),v.current-=1,n?.(e),{success:!0,value:e}},[n]),h=d(()=>{if(v.current+1>=u.current.length)return{success:!1};let e=u.current[v.current+1];return l(e),v.current+=1,n?.(e),{success:!0,value:e}},[n]);return[o,f,g,h]}var Fl=".",jl="us",zl="",Bl="+",Vl="............",Hl=" ",Wl=200,Ul=!1,Yl=!1,Zl=!1,Gl=!1,ql=!1,Xl=Sl,Kl=({defaultCountry:e=jl,value:r=zl,countries:t=Xl,prefix:a=Bl,defaultMask:n=Vl,charAfterDialCode:o=Hl,historySaveDebounceMS:l=Wl,disableCountryGuess:u=Ul,disableDialCodePrefill:p=Yl,forceDialCode:f=Zl,disableDialCodeAndPrefix:g=Gl,disableFormatting:h=ql,onChange:m,inputRef:b})=>{let C={countries:t,prefix:a,charAfterDialCode:o,forceDialCode:!g&&f,disableDialCodeAndPrefix:g,defaultMask:n,countryGuessingEnabled:!u,disableFormatting:h},y=c(null),w=b||y,x=e=>{Promise.resolve().then(()=>{typeof window>"u"||w.current!==document?.activeElement||w.current?.setSelectionRange(e,e)})},E=d(e=>$l({value:e,field:"iso2",countries:t}),[t]),k=d(({inputValue:e,phone:r,country:t})=>{if(!m)return;let a=E(t);m({phone:r,inputValue:e,country:a})},[E,m]),[{phone:L,inputValue:I,country:S},M,T,_]=Dl(()=>{let a=$l({value:e,field:"iso2",countries:t});a||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let n=a||$l({value:"us",field:"iso2",countries:t}),{phone:o,inputValue:i,country:l}=Nl({value:r,country:n,insertDialCodeOnEmpty:!p,...C});return x(i.length),{phone:o,inputValue:i,country:l.iso2}},{overrideLastItemDebounceMS:l,onChange:k}),P=i(()=>E(S),[S,E]);v(()=>{let e=w.current;if(!e)return;let r=e=>{if(!e.key)return;let r=e.ctrlKey,t=e.metaKey,a=e.shiftKey;if("z"===e.key.toLowerCase()){if(typeof window>"u"||!window.navigator.userAgent.toLowerCase().includes("macintosh")){if(!r)return}else if(!t)return;a?_():T()}};return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)}},[w,T,_]);let A=d((e,r={focusOnInput:!1})=>{let n=$l({value:e,field:"iso2",countries:t});if(!n)return void console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let i=g?"":`${a}${n.dialCode}${o}`;M({inputValue:i,phone:`${a}${n.dialCode}`,country:n.iso2}),r.focusOnInput&&Promise.resolve().then(()=>{w.current?.focus()})},[t,g,a,o,M,w]),[N,R]=s(!1);return v(()=>{if(!N)return R(!0),void(r!==L&&m?.({inputValue:I,phone:L,country:P}));if(r===L)return;let{phone:e,inputValue:t,country:a}=Nl({value:r,country:P,insertDialCodeOnEmpty:!p,...C});M({phone:e,inputValue:t,country:a.iso2})},[r]),{phone:L,inputValue:I,country:P,setCountry:A,handlePhoneValueChange:e=>{e.preventDefault();let{phone:t,inputValue:a,country:n,cursorPosition:o}=Rl(e,{country:P,phoneBeforeInput:I,insertDialCodeOnEmpty:!1,...C});return M({inputValue:a,phone:t,country:n.iso2}),x(o),r},inputRef:w}},Ql=({phone:e,country:r,defaultMask:t="............",disableFormatting:a=!1})=>{let n=r.format,o=e=>a?e.replace(new RegExp(`[^${Fl}]`,"g"),""):e;if(!n)return o(t);if("string"==typeof n)return o(n);if(!n.default)return console.error(`[react-international-phone]: default mask for ${r.iso2} is not provided`),o(t);let i=Object.keys(n).find(t=>{if("default"===t)return!1;if("/"!==t.charAt(0)||"/"!==t.charAt(t.length-1))return console.error(`[react-international-phone]: format regex "${t}" for ${r.iso2} is not valid`),!1;let a=new RegExp(t.substring(1,t.length-1)),n=e.replace(r.dialCode,"");return a.test(Pl(n))});return o(i?n[i]:n.default)},Jl=e=>{let[r,t,a,n,o,i]=e;return{name:r,iso2:t,dialCode:a,format:n,priority:o,areaCodes:i}},$l=({field:e,value:r,countries:t=Sl})=>{if(["priority"].includes(e))throw new Error((e=>`Field "${e}" is not supported`)(e));let a=t.find(t=>{let a=Jl(t);return r===a[e]});if(a)return Jl(a)},es=({phone:e,countries:r=Sl,currentCountryIso2:t})=>{let a={country:void 0,fullDialCodeMatch:!1};if(!e)return a;let n=Pl(e);if(!n)return a;let o=a,i=({country:e,fullDialCodeMatch:r})=>{let t=e.dialCode===o.country?.dialCode,a=(e.priority??0)<(o.country?.priority??0);(!t||a)&&(o={country:e,fullDialCodeMatch:r})};for(let e of r){let r=Jl(e),{dialCode:t,areaCodes:a}=r;if(n.startsWith(t)){let e=!o.country||Number(t)>=Number(o.country.dialCode);if(a){let e=n.substring(t.length);for(let t of a)if(e.startsWith(t))return{country:r,fullDialCodeMatch:!0}}(e||t===n||!o.fullDialCodeMatch)&&i({country:r,fullDialCodeMatch:!0})}o.fullDialCodeMatch||n.length<t.length&&t.startsWith(n)&&(!o.country||Number(t)<=Number(o.country.dialCode))&&i({country:r,fullDialCodeMatch:!1})}if(t){let e=$l({value:t,field:"iso2",countries:r});if(!e)return o;let a=!!e&&(e=>{if(!e?.areaCodes)return!1;let r=n.substring(e.dialCode.length);return e.areaCodes.some(e=>e.startsWith(r))})(e);o&&o.country?.dialCode===e.dialCode&&o.country!==e&&o.fullDialCodeMatch&&(!e.areaCodes||a)&&(o={country:e,fullDialCodeMatch:!0})}return o},rs=(e,r)=>{let t=parseInt(e,16);return Number(t+r).toString(16)},ts="abcdefghijklmnopqrstuvwxyz".split("").reduce((e,r,t)=>({...e,[r]:rs("1f1e6",t)}),{}),as=({iso2:e,size:r,src:t,protocol:a="https",disableLazyLoading:o,className:i,style:l,...s})=>{if(!e)return n.createElement("img",{className:Tl({addPrefix:["flag-emoji"],rawClassNames:[i]}),width:r,height:r,...s});return n.createElement("img",{className:Tl({addPrefix:["flag-emoji"],rawClassNames:[i]}),src:(()=>{if(t)return t;let r=(e=>[ts[e[0]],ts[e[1]]].join("-"))(e);return`${a}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${r}.svg`})(),width:r,height:r,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:r,height:r,...l},alt:"",...s})},ns=({show:e,dialCodePrefix:r="+",selectedCountry:t,countries:a=Sl,preferredCountries:o=[],flags:l,onSelect:u,onClose:p,...f})=>{let g=c(null),h=c(),m=i(()=>{if(!o||!o.length)return a;let e=[],r=[...a];for(let t of o){let a=r.findIndex(e=>Jl(e).iso2===t);if(-1!==a){let t=r.splice(a,1)[0];e.push(t)}}return e.concat(r)},[a,o]),b=c({updatedAt:void 0,value:""}),C=d(e=>m.findIndex(r=>Jl(r).iso2===e),[m]),[y,w]=s(C(t)),x=()=>{h.current!==t&&w(C(t))},E=d(e=>{w(C(e.iso2)),u?.(e)},[u,C]),k=e=>{let r=m.length-1;w(t=>{let a=(t=>"prev"===e?t-1:"next"===e?t+1:"last"===e?r:0)(t);return a<0?0:a>r?r:a})},L=d(()=>{if(!g.current||void 0===y)return;let e=Jl(m[y]).iso2;if(e===h.current)return;let r=g.current.querySelector(`[data-country="${e}"]`);r&&(((e,r)=>{let t=e.style.display;"block"!==t&&(e.style.display="block");let a=e.getBoundingClientRect(),n=r.getBoundingClientRect(),o=n.top-a.top,i=a.bottom-n.bottom;o>=0&&i>=0||(Math.abs(o)<Math.abs(i)?e.scrollTop+=o:e.scrollTop-=i),e.style.display=t})(g.current,r),h.current=e)},[y,m]);return v(()=>{L()},[y,L]),v(()=>{g.current&&(e?g.current.focus():x())},[e]),v(()=>{x()},[t]),n.createElement("ul",{ref:g,role:"listbox",className:Tl({addPrefix:["country-selector-dropdown"],rawClassNames:[f.className]}),style:{display:e?"block":"none",...f.style},onKeyDown:e=>{if(e.stopPropagation(),"Enter"===e.key){e.preventDefault();let r=Jl(m[y]);return void E(r)}if("Escape"!==e.key)return"ArrowUp"===e.key?(e.preventDefault(),void k("prev")):"ArrowDown"===e.key?(e.preventDefault(),void k("next")):"PageUp"===e.key?(e.preventDefault(),void k("first")):"PageDown"===e.key?(e.preventDefault(),void k("last")):(" "===e.key&&e.preventDefault(),void(1===e.key.length&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&(e=>{let r=b.current.updatedAt&&(new Date).getTime()-b.current.updatedAt.getTime()>1e3;b.current={value:r?e:`${b.current.value}${e}`,updatedAt:new Date};let t=m.findIndex(e=>Jl(e).name.toLowerCase().startsWith(b.current.value));-1!==t&&w(t)})(e.key.toLocaleLowerCase())));p?.()},onBlur:p,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Jl(m[y]).iso2}-option`},m.map((e,a)=>{let i=Jl(e),s=i.iso2===t,c=a===y,d=o.includes(i.iso2),u=a===o.length-1,v=l?.find(e=>e.iso2===i.iso2);return n.createElement(n.Fragment,{key:i.iso2},n.createElement("li",{"data-country":i.iso2,role:"option","aria-selected":s,"aria-label":`${i.name} ${r}${i.dialCode}`,id:`react-international-phone__${i.iso2}-option`,className:Tl({addPrefix:["country-selector-dropdown__list-item",d&&"country-selector-dropdown__list-item--preferred",s&&"country-selector-dropdown__list-item--selected",c&&"country-selector-dropdown__list-item--focused"],rawClassNames:[f.listItemClassName,d&&f.listItemPreferredClassName,s&&f.listItemSelectedClassName,c&&f.listItemFocusedClassName]}),onClick:()=>E(i),style:f.listItemStyle,title:i.name},n.createElement(as,{iso2:i.iso2,src:v?.src,className:Tl({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[f.listItemFlagClassName]}),style:f.listItemFlagStyle}),n.createElement("span",{className:Tl({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[f.listItemCountryNameClassName]}),style:f.listItemCountryNameStyle},i.name),n.createElement("span",{className:Tl({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[f.listItemDialCodeClassName]}),style:f.listItemDialCodeStyle},r,i.dialCode)),u?n.createElement("hr",{className:Tl({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[f.preferredListDividerClassName]}),style:f.preferredListDividerStyle}):null)}))},os=n.memo(({selectedCountry:e,onSelect:r,disabled:t,hideDropdown:a,countries:o=Sl,preferredCountries:l=[],flags:d,renderButtonWrapper:u,...v})=>{let[p,f]=s(!1),g=i(()=>{if(e)return $l({value:e,field:"iso2",countries:o})},[o,e]),h=c(null),m=e=>{e.key&&["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),f(!0))};return n.createElement("div",{className:Tl({addPrefix:["country-selector"],rawClassNames:[v.className]}),style:v.style,ref:h},(()=>{let r={title:g?.name,onClick:()=>f(e=>!e),onMouseDown:e=>e.preventDefault(),onKeyDown:m,disabled:a||t,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":p},o=n.createElement("div",{className:Tl({addPrefix:["country-selector-button__button-content"],rawClassNames:[v.buttonContentWrapperClassName]}),style:v.buttonContentWrapperStyle},n.createElement(as,{iso2:e,src:d?.find(r=>r.iso2===e)?.src,className:Tl({addPrefix:["country-selector-button__flag-emoji",t&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[v.flagClassName]}),style:{visibility:e?"visible":"hidden",...v.flagStyle}}),!a&&n.createElement("div",{className:Tl({addPrefix:["country-selector-button__dropdown-arrow",t&&"country-selector-button__dropdown-arrow--disabled",p&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[v.dropdownArrowClassName]}),style:v.dropdownArrowStyle}));return u?u({children:o,rootProps:r}):n.createElement("button",{...r,type:"button",className:Tl({addPrefix:["country-selector-button",p&&"country-selector-button--active",t&&"country-selector-button--disabled",a&&"country-selector-button--hide-dropdown"],rawClassNames:[v.buttonClassName]}),"data-country":e,style:v.buttonStyle},o)})(),n.createElement(ns,{show:p,countries:o,preferredCountries:l,flags:d,onSelect:e=>{f(!1),r?.(e)},selectedCountry:e,onClose:()=>{f(!1)},...v.dropdownStyleProps}))}),is=({dialCode:e,prefix:r,disabled:t,style:a,className:o})=>n.createElement("div",{className:Tl({addPrefix:["dial-code-preview",t&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:a},`${r}${e}`);o(({value:e,onChange:r,countries:t=Sl,preferredCountries:a,hideDropdown:o,showDisabledDialCodeAndPrefix:i,disableFocusAfterCountrySelect:l,flags:s,style:c,className:u,inputStyle:v,inputClassName:p,countrySelectorStyleProps:f,dialCodePreviewStyleProps:g,inputProps:h,placeholder:m,disabled:C,name:y,onFocus:w,onBlur:x,required:E,autoFocus:k,...L},I)=>{let S=d(e=>{r?.(e.phone,{country:e.country,inputValue:e.inputValue})},[r]),{phone:M,inputValue:T,inputRef:_,country:P,setCountry:A,handlePhoneValueChange:N}=Kl({value:e,countries:t,...L,onChange:S}),R=L.disableDialCodeAndPrefix&&i&&P?.dialCode,O=d(e=>{A(e.iso2,{focusOnInput:!l})},[A,l]);return b(I,()=>_.current?Object.assign(_.current,{setCountry:A,state:{phone:M,inputValue:T,country:P}}):null,[_,A,M,T,P]),n.createElement("div",{ref:I,className:Tl({addPrefix:["input-container"],rawClassNames:[u]}),style:c},n.createElement(os,{onSelect:O,flags:s,selectedCountry:P?.iso2,countries:t,preferredCountries:a,disabled:C,hideDropdown:o,...f}),R&&n.createElement(is,{dialCode:P.dialCode,prefix:L.prefix??"+",disabled:C,...g}),n.createElement("input",{onChange:N,value:T,type:"tel",ref:_,className:Tl({addPrefix:["input",C&&"input--disabled"],rawClassNames:[p]}),placeholder:m,disabled:C,style:v,name:y,onFocus:w,onBlur:x,autoFocus:k,required:E,...h}))});const ls=Me({slots:["container","label","inputContainer","input","description","typeIcon","actionIcon","actionButton"],base:{label:{fontSize:"sm",fontWeight:"medium",color:"text.primary"},inputContainer:{backgroundColor:"transparent",borderStyle:"solid",borderWidth:"thin",borderColor:"neutral.secondary",borderRadius:"input",boxSizing:"border-box",transition:"all linear 120ms",width:"100%",_hover:{borderColor:"neutral.primary"},_dark:{borderColor:"ink.70",_hover:{borderColor:"ink.50"}},_focusWithin:{outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}},input:{transition:"all linear 120ms",width:"100%",boxSizing:"border-box",m:0,p:0,outline:"none",minWidth:10,fontWeight:"normal",backgroundColor:"transparent",color:"text.primary",_placeholder:{color:"text.tertiary"},_groupHover:{borderColor:"neutral.primary"}},description:{fontSize:"sm",color:"text.primary"},typeIcon:{transition:"opacity linear 120ms"},actionIcon:{transition:"opacity linear 120ms",cursor:"pointer"},actionButton:{transition:"opacity linear 120ms"}},variants:{size:{sm:{input:{fontSize:"sm",textAlign:"left"},inputContainer:{height:10,p:3}},md:{input:{fontSize:"md",textAlign:"left"},inputContainer:{height:12,p:3}},lg:{input:{fontSize:"lg",textAlign:"left"},inputContainer:{height:15,padding:4}}},alignText:{left:{input:{textAlign:"left"},container:{alignItems:"flex-start"}},center:{input:{textAlign:"center"},container:{alignItems:"center"}},right:{input:{textAlign:"right"},container:{alignItems:"flex-end"}}},isError:{true:{inputContainer:{borderColor:"negative.base"}}},char:{true:{input:{fontSize:"xl",textAlign:"center"},inputContainer:{height:12,py:2}}},disabled:{true:{container:{opacity:.3,pointerEvents:"none"},inputContainer:{_hover:{borderColor:"neutral.secondary"}}}}}}),ss=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>{var r;return h(e,{...t,color:null!==(r=e.props.color)&&void 0!==r?r:lr("colors.neutral.primary")})})})),cs=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>{var r;return C(e)?h(e,{...t,color:null!==(r=e.props.color)&&void 0!==r?r:lr("colors.brand.base")}):null})})),ds=Jo(bi),us=Jo(Do),vs=Jo(Do),ps=o((t,a)=>{const{label:n,disabled:o,size:i="md",alignText:l="left",attr:s,description:d,autoFocus:u,className:v="",errorMessage:p,required:f}=t,g="sm"===i?16:20,h=c(null),m=a||h,{labelProps:b,inputProps:C,descriptionProps:y,errorMessageProps:w,isInvalid:x,validationErrors:E}=Mn({...t,isDisabled:o??!1,isInvalid:!!p},m),{focusProps:k}=vn({autoFocus:u??!1}),{hoverProps:L}=Na({isDisabled:o??!1});return Qo(t.children,t=>{const a=t.get(ss),c=t.get(cs),u=t.getProps(ds),h=t.getProps(us),I=t.getProps(vs),S=ls({size:i,alignText:l,disabled:o,isError:x});return r(Xe,{className:ke(S.container,v),children:[n&&r("label",{className:S.label,...b,children:[n," ",f&&e("span",{className:xe({color:"negative.darker"}),children:"*"})]}),r(Qe,{className:S.inputContainer,children:[a&&{...a,props:{...a.props,className:S.typeIcon,width:g,height:g}},h&&e(Do,{...h,fontColor:"text.tertiary"}),e("input",{ref:m,className:S.input,...Nr(C,k,L),...s}),I&&e(Do,{...I,fontColor:"text.tertiary"}),c&&{...c,props:{...c.props,className:S.actionIcon,width:g,height:g}},u&&e(We,{alignItems:"center",justifyContent:"center",className:S.actionButton,children:e(bi,{...u,variant:"text",size:i})})]}),d&&e("div",{className:S.description,...y,children:d}),x&&e(Do,{variant:"error",...w,size:"sm",fontWeight:"normal",children:E.length>0?E.join(" "):p})]})})}),fs=o((r,t)=>{const{disabled:a,autoFocus:n,className:o="",attr:i}=r,l=c(null),s=t||l,{inputProps:d}=Mn({...r,isDisabled:a??!1},s),{focusProps:u}=vn({autoFocus:n??!1}),{hoverProps:v}=Na({isDisabled:a??!1}),p=ls({char:!0,disabled:a});return e("div",{className:ke(p.container,p.inputContainer,o),children:e("input",{ref:s,className:p.input,...Nr(d,u,v),size:1,...i})})}),gs=Object.assign(ps,{TypeIcon:ss,ActionIcon:cs,ActionButton:ds,Char:fs,Prefix:us,Suffix:vs});ps.displayName="TextInput",fs.displayName="TextInputChar";const hs=/\D/g,ms=({pinLength:r,onComplete:t=e=>e,onChange:a=e=>e,id:n="pin-code-input",autoFocus:o=!0,className:i})=>{const[l,u]=s(()=>Array.from({length:r},()=>"")),p=c(Array(r).fill(null));v(()=>{u(e=>r<e.length?e.slice(0,r):r>e.length?[...e,...Array(r-e.length).fill("")]:e)},[r]),v(()=>{var e;o&&p.current[0]&&(null===(e=p.current[0])||void 0===e||e.focus())},[o,r]);const f=(e,n)=>{var o;u(n),a(n);const i=n.join("");i.length===r&&(null===(o=p.current[e])||void 0===o||o.blur(),t(i))},g=d((e,t)=>{const a=[...l];t.replace(hs,"").split("").forEach(t=>{var n,o;e>=r||(a[e]=t,e++,null===(o=null===(n=p?.current)||void 0===n?void 0:n[e])||void 0===o||o.focus())}),f(e,a)},[l,f]),h=d(e=>{var r,t;const a=parseInt(e.currentTarget.dataset.id||"",10),n=e.target.value.replace(hs,"");if(n.length>1)return g(a,n);const o=[...l];o[a]=n,n.length&&(null===(t=null===(r=p?.current)||void 0===r?void 0:r[a+1])||void 0===t||t.focus()),f(a,o)},[f]),m=d(e=>{var t,a,n,o,i;const s=e.currentTarget.value.length,c=parseInt(e.currentTarget.dataset.id||"",10),d=[...l];switch(e.key){case"Backspace":if(s&&(d[c]="",f(c,d)),c){const e=d.reduceRight((e,r,t)=>-1!==e?e:""!==r?t:e,-1);null===(t=p?.current[e>=0?e:0])||void 0===t||t.focus()}return;case"ArrowLeft":{const e=c?c-1:r-1;return void(null===(a=p?.current[e])||void 0===a||a.focus())}case"ArrowRight":{const e=c===r-1?0:c+1;return void(null===(n=p?.current[e])||void 0===n||n.focus())}default:{const r=e.key.replace(hs,"");s&&r.length&&r!==e.currentTarget.value&&(d[c]=r,f(c,d),null===(i=null===(o=p?.current)||void 0===o?void 0:o[c+1])||void 0===i||i.focus())}}},[a,f]);return e("form",{id:n,className:xe({margin:0,minWidth:0,display:"flex",width:"100%",justifyContent:"space-between",maxWidth:"30rem",gap:2}),children:l.map((r,t)=>e(gs.Char,{id:n?`${n}-${t}`:void 0,"aria-label":`one time password input ${t+1}`,"data-id":t,name:`one time password input ${t+1}`,value:l[t]||"",className:ke(xe({caretColor:"transparent",rounded:"0.5rem"}),i),attr:{onChange:h,onKeyUp:m,autoComplete:0===t?"one-time-code":"off",inputMode:"numeric"},ref:e=>{p?.current&&(p.current[t]=e)}},`${n||void 0}-${t}`))})},bs="2.625rem",Cs=Jo(({children:r})=>e(Wi,{children:r})),ys=Jo(({children:e})=>g.map(e,e=>{var r,t,a;return h(e,{color:null!==(r=e.props.color)&&void 0!==r?r:lr("colors.brand.base"),width:null!==(t=e.props.width)&&void 0!==t?t:bs,height:null!==(a=e.props.height)&&void 0!==a?a:bs})})),ws=Jo(({children:r,className:t=""})=>e(Xe,{alignItems:"center",justifyContent:"center",flexShrink:0,className:`${xe({pb:0,pt:6,px:8,width:"100%"})} ${t}`,children:r})),xs=Jo(zi),Es=Jo(wi),ks=({children:r,overlay:a,...n})=>{if(a){const{animate:t,backgroundType:a,isOpen:o=!0,onHidden:i,fullscreen:l=!1}=n;return e(el,{animate:t,backgroundType:a,hide:!o,onHidden:i,fullscreen:l,children:r})}return e(t,{children:r})},Ls=Object.assign(({children:t,overlay:a=!0,...n})=>Qo(t,t=>{const o=t.get(Cs)?8:4,i=t.getProps(xs),l=t.getProps(Es);return e(ks,{overlay:a,...n,children:e(Ji,{paddingType:"md",...n,children:r(Xe,{alignItems:"center",gap:0,width:"full",className:xe({mt:o}),children:[t.get(Cs),t.get(ys),t.get(ws),i&&e(zi,{...i}),l&&e(wi,{...l})]})})})}),{Header:Cs,Icon:ys,Content:ws,Footer:xs,Drawer:Es}),Is=Jo(Ls.Icon);Object.assign(({children:t,cancelLabel:a,confirmLabel:n,title:o,message:i,onCancel:l=()=>{},onConfirm:s=()=>{},...c})=>Qo(t,t=>r(Ls,{...c,children:[e(Ls.Icon,{children:t.get(Is)}),r(Ls.Content,{children:[e(Do.H3,{styles:{textAlign:"center"},children:o}),e(Do,{size:"md",children:i}),r(Qe,{className:xe({pt:6}),children:[e(bi,{onPress:s,label:n}),a&&e(bi,{onPress:l,label:a})]})]}),e(Ls.Footer,{})]})),{Icon:Is});const Ss=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),Ms=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))}));Object.assign(({children:t,detailTitle:a,detailMessage:n,title:o,message:i,...l})=>Qo(t,t=>{const s=t.get(Ss),c=t.get(Ms);return r(Ls,{...l,children:[e(Ls.Icon,{children:s||e(dl,{})}),r(Ls.Content,{children:[e(Do.H3,{styles:{textAlign:"center"},children:o}),e(Do,{size:"md",styles:{textAlign:"center"},children:i}),n&&r("div",{className:xe({background:"negative.lightest",borderRadius:"0.5rem",my:4,p:4,width:"full"}),children:[a&&e(Do,{variant:"error",children:e("b",{className:xe({textTransform:"uppercase"}),children:a})}),e(Do,{variant:"error",children:n})]}),c]}),e(Ls.Footer,{})]})}),{Icon:Ss,Button:Ms});const Ts=Jo(({children:r})=>g.map(r,r=>e(bi,{expand:!0,...r.props}))),_s=Jo(bi),Ps=Jo(bi),As=Jo(({children:t})=>r(si,{textStyle:"subtle",variant:"text",children:[e(si.TrailingIcon,{children:e(Bo,{})}),e(si.Content,{children:t})]})),Ns=Jo(({branding:r,title:t})=>t?e(Do,{size:"sm",fontColor:"text.secondary",children:t}):e(Cl,{color:lr("light"===r?"colors.text.primary":"colors.neutral.primary")})),Rs=Jo(({children:r,height:t="auto",flexGrow:a=0})=>e(Xe,{w:"full",justify:"center",height:t,flexGrow:a,children:r})),Os=Jo(qi),Ds=Jo(wi),Fs=Jo(({children:r})=>e(ar,{pt:3,w:"full",children:r})),js=Jo(({children:t,domain:a,name:n,logoUrl:o})=>r(Qe,{borderBottomColor:"neutral.primary",borderBottomWidth:"1px",p:3,width:"full",children:[o?e("img",{src:o,alt:n,width:24,height:24}):e(Cl,{color:lr("colors.brand.base"),height:24,width:24}),e(Do,{size:"sm",fontWeight:"semibold",children:n}),a&&e(Do,{size:"sm",fontColor:"text.tertiary",children:a}),t]}));Object.assign(({actionDirection:t="row",address:a,children:n,onBack:o,onCancel:i,hideHeader:l=!1,...s})=>Qo(n,n=>{const c=n.getProps(_s),d=n.getProps(Ps),u=n.getProps(Ds),v=n.getProps(Os),p=n.get(Ts),f=n.get(As),g=n.get(Ns),h="row"===t;return r(Ji,{...s,fullscreen:!0,paddingType:"none",gap:0,children:[!l&&r(Xe,{gap:0,width:"full",children:[r(Qe,{borderBottomColor:"neutral.primary",borderBottomWidth:"1px",justifyContent:"space-between",p:3,width:"full",children:[o&&e(bi,{onPress:o,size:"md",textStyle:"neutral",variant:"text",children:e(bi.LeadingIcon,{children:e(cl,{})})}),i&&e(bi,{onPress:i,label:"Cancel",size:"sm",textStyle:"neutral",variant:"text"}),!(o||i)&&e(ze,{w:6}),g,a||f||v?r(Qe,{children:[a&&e(Il,{address:a}),f,v&&e(qi,{...v})]}):e(ze,{w:6})]}),n.get(js)]}),r(Xe,{h:"full",w:"full",justify:"space-between",p:6,maxW:393,children:[n.get(Rs),r(Xe,{w:"full",gap:3,children:[n.get(Fs),(c||d)&&r(We,{direction:h?"row":"column-reverse",gap:h?4:3,width:"full",children:[c&&e(bi,{expand:!0,label:"Cancel",variant:"neutral",...c}),d&&e(bi,{expand:!0,label:"Confirm",variant:"inverse",...d})]}),p&&e(We,{direction:t,gap:h?4:3,width:"full",children:p})]})]}),u&&e(wi,{...u})]})}),{Actions:Ts,Cancel:_s,Confirm:Ps,Content:Rs,Menu:Os,Drawer:Ds,Footer:Fs,Header:js,Info:As,Title:Ns});const zs={Home:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M14.1003 1.61316C13.6305 1.21718 13.0358 1 12.4213 1C11.8068 1 11.2122 1.21718 10.7423 1.61316L2.92634 8.20753C2.63623 8.45203 2.40303 8.75695 2.24302 9.10095C2.08302 9.44496 2.00008 9.81976 2 10.1992V20.9736C2 22.0922 2.90781 23 4.02637 23H7.50013C8.03756 23 8.55297 22.7865 8.93299 22.4065C9.31301 22.0265 9.5265 21.5111 9.5265 20.9736V16.3385C9.5265 15.5511 10.1541 14.9119 10.9357 14.8911H13.9069C14.2841 14.901 14.6425 15.0579 14.9058 15.3283C15.169 15.5986 15.3162 15.9611 15.3161 16.3385V20.9736C15.3161 22.0922 16.2239 23 17.3425 23H20.8162C21.3537 23 21.8691 22.7865 22.2491 22.4065C22.6291 22.0265 22.8426 21.5111 22.8426 20.9736V10.198C22.8425 9.81861 22.7596 9.4438 22.5996 9.09979C22.4396 8.75579 22.2064 8.45088 21.9163 8.20638L14.1003 1.61316Z",fill:"currentColor"})]})},Gallery:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33333 13.2222C8.98164 13.2222 9.60339 13.4798 10.0618 13.9382C10.5202 14.3966 10.7778 15.0184 10.7778 15.6667V20.5556C10.7778 21.2039 10.5202 21.8256 10.0618 22.284C9.60339 22.7425 8.98164 23 8.33333 23H3.44444C2.79614 23 2.17438 22.7425 1.71596 22.284C1.25754 21.8256 1 21.2039 1 20.5556V15.6667C1 15.0184 1.25754 14.3966 1.71596 13.9382C2.17438 13.4798 2.79614 13.2222 3.44444 13.2222H8.33333ZM20.5556 13.2222C21.2039 13.2222 21.8256 13.4798 22.284 13.9382C22.7425 14.3966 23 15.0184 23 15.6667V20.5556C23 21.2039 22.7425 21.8256 22.284 22.284C21.8256 22.7425 21.2039 23 20.5556 23H15.6667C15.0184 23 14.3966 22.7425 13.9382 22.284C13.4798 21.8256 13.2222 21.2039 13.2222 20.5556V15.6667C13.2222 15.0184 13.4798 14.3966 13.9382 13.9382C14.3966 13.4798 15.0184 13.2222 15.6667 13.2222H20.5556ZM8.33333 1C8.98164 1 9.60339 1.25754 10.0618 1.71596C10.5202 2.17438 10.7778 2.79614 10.7778 3.44444V8.33333C10.7778 8.98164 10.5202 9.60339 10.0618 10.0618C9.60339 10.5202 8.98164 10.7778 8.33333 10.7778H3.44444C2.79614 10.7778 2.17438 10.5202 1.71596 10.0618C1.25754 9.60339 1 8.98164 1 8.33333V3.44444C1 2.79614 1.25754 2.17438 1.71596 1.71596C2.17438 1.25754 2.79614 1 3.44444 1H8.33333ZM20.5556 1C21.2039 1 21.8256 1.25754 22.284 1.71596C22.7425 2.17438 23 2.79614 23 3.44444V8.33333C23 8.98164 22.7425 9.60339 22.284 10.0618C21.8256 10.5202 21.2039 10.7778 20.5556 10.7778H15.6667C15.0184 10.7778 14.3966 10.5202 13.9382 10.0618C13.4798 9.60339 13.2222 8.98164 13.2222 8.33333V3.44444C13.2222 2.79614 13.4798 2.17438 13.9382 1.71596C14.3966 1.25754 15.0184 1 15.6667 1H20.5556Z",fill:"currentColor"})]})},Activity:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M12 0C5.38338 0 0 5.38338 0 12C0 18.6166 5.38338 24 12 24C18.6166 24 24 18.6166 24 12C24 5.38338 18.6166 0 12 0ZM16.4603 14.9735C16.2818 15.2406 15.9889 15.3846 15.6911 15.3846C15.5151 15.3846 15.3378 15.3342 15.1803 15.2295L11.488 12.768C11.2308 12.5969 11.0769 12.3089 11.0769 12V7.07692C11.0769 6.56738 11.4905 6.15385 12 6.15385C12.5095 6.15385 12.9231 6.56738 12.9231 7.07692V11.5065L16.2043 13.6935C16.6289 13.9766 16.7434 14.5489 16.4603 14.9735Z",fill:"currentColor"})]})},Settings:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4072 1.1672C14.0002 1 13.4832 1 12.4503 1C11.4174 1 10.9015 1 10.4934 1.1672C9.95164 1.38963 9.52036 1.81814 9.29445 2.3585C9.19105 2.6038 9.15145 2.8909 9.13495 3.3078C9.12761 3.60986 9.04335 3.90507 8.89014 4.16549C8.73692 4.42592 8.51982 4.64296 8.25935 4.7961C7.99397 4.94361 7.69565 5.02176 7.39203 5.0233C7.08841 5.02484 6.78931 4.94972 6.52245 4.8049C6.15065 4.6091 5.88115 4.5013 5.61495 4.4661C5.03256 4.38963 4.44353 4.54618 3.97595 4.9017C3.62615 5.1679 3.36765 5.6123 2.85175 6.5C2.33475 7.3877 2.07735 7.831 2.01905 8.2655C1.94205 8.8441 2.10045 9.4293 2.45905 9.8924C2.62185 10.1036 2.85175 10.2807 3.20705 10.5029C3.73175 10.8296 4.06835 11.3862 4.06835 12C4.06835 12.6138 3.73175 13.1704 3.20815 13.496C2.85175 13.7193 2.62185 13.8964 2.45795 14.1076C2.28094 14.3363 2.15101 14.5979 2.07568 14.8771C2.00035 15.1564 1.9811 15.4478 2.01905 15.7345C2.07735 16.1679 2.33475 16.6123 2.85175 17.5C3.36875 18.3877 3.62615 18.831 3.97595 19.0983C4.44235 19.4536 5.03195 19.6098 5.61495 19.5339C5.88115 19.4987 6.15065 19.3909 6.52245 19.1951C6.78945 19.0501 7.08874 18.9749 7.39258 18.9764C7.69641 18.9779 7.99493 19.0562 8.26045 19.2039C8.79505 19.5119 9.11185 20.0784 9.13495 20.6922C9.15145 21.1102 9.19105 21.3962 9.29445 21.6415C9.51885 22.1805 9.95005 22.6095 10.4934 22.8328C10.9004 23 11.4174 23 12.4503 23C13.4832 23 14.0002 23 14.4072 22.8328C14.949 22.6104 15.3803 22.1819 15.6062 21.6415C15.7096 21.3962 15.7492 21.1102 15.7657 20.6922C15.7877 20.0784 16.1056 19.5108 16.6413 19.2039C16.9067 19.0564 17.205 18.9782 17.5087 18.9767C17.8123 18.9752 18.1114 19.0503 18.3782 19.1951C18.75 19.3909 19.0195 19.4987 19.2857 19.5339C19.8687 19.6109 20.4583 19.4536 20.9247 19.0983C21.2745 18.8321 21.533 18.3877 22.0489 17.5C22.5659 16.6123 22.8233 16.169 22.8816 15.7345C22.9194 15.4477 22.9 15.1563 22.8245 14.877C22.749 14.5978 22.6188 14.3363 22.4416 14.1076C22.2788 13.8964 22.0489 13.7193 21.6936 13.4971C21.1689 13.1704 20.8323 12.6138 20.8323 12C20.8323 11.3862 21.1689 10.8296 21.6925 10.504C22.0489 10.2807 22.2788 10.1036 22.4427 9.8924C22.6198 9.66366 22.7497 9.40212 22.825 9.12287C22.9003 8.84363 22.9196 8.55223 22.8816 8.2655C22.8233 7.8321 22.5659 7.3877 22.0489 6.5C21.5319 5.6123 21.2745 5.169 20.9247 4.9017C20.4572 4.54618 19.8681 4.38963 19.2857 4.4661C19.0195 4.5013 18.75 4.6091 18.3782 4.8049C18.1112 4.94991 17.8119 5.02514 17.5081 5.0236C17.2043 5.02206 16.9058 4.94381 16.6402 4.7961C16.38 4.64283 16.1631 4.42572 16.0101 4.16531C15.8571 3.90489 15.773 3.60976 15.7657 3.3078C15.7492 2.8898 15.7096 2.6038 15.6062 2.3585C15.4944 2.09091 15.331 1.84797 15.1253 1.64356C14.9195 1.43916 14.6756 1.27729 14.4072 1.1672ZM12.4503 15.3C14.2873 15.3 15.7756 13.8227 15.7756 12C15.7756 10.1773 14.2862 8.7 12.4503 8.7C10.6133 8.7 9.12505 10.1773 9.12505 12C9.12505 13.8227 10.6144 15.3 12.4503 15.3Z",fill:"currentColor"})]})}};var Bs;!function(e){e.Home="home",e.Gallery="gallery",e.Activity="activity",e.Settings="settings"}(Bs||(Bs={}));const Vs=({active:r,children:t,label:a,onPress:n})=>e(ze,{pointerEvents:r===a?"none":"initial",children:e(bi,{variant:"text",onPress:n,children:e(bi.LeadingIcon,{className:xe({color:r===a?"text.primary":"text.tertiary",_groupHover:{color:r===a?"text.primary":"text.secondary"}}),children:t})})}),Hs=({active:r=Bs.Home,disabled:t=[],...a})=>e(ar,{bottom:0,pos:"fixed",h:"6.25rem",w:"full",style:{background:`linear-gradient(180deg, transparent 0%, ${lr("colors.surface.primary")} 100%)`},children:e(Qe,{bg:"text.primary/6",borderColor:"text.primary/10",borderWidth:"medium",borderStyle:"solid",borderRadius:52,backdropFilter:"blur(24px)",p:1.5,children:Object.keys(Bs).map(n=>{var o;const i=Bs[n],l=null===(o=t.find(e=>e.type===i))||void 0===o?void 0:o.label,s=zs[n],c=((e,r)=>e[r])(a,`on${n}`);return c?l?e(vi,{content:l,width:"max-content",children:e(ze,{border:"thin solid transparent",opacity:.3,p:1.5,children:e(s,{})})},i):e(Vs,{active:r,label:i,onPress:c,children:e(s,{})},i):null})})}),Ws=({avatarUrl:t,email:a,name:n,logoutLabel:o="Log out",onReceive:i,onLogout:l})=>{const[c,d]=s(!1);v(()=>{d(!1)},[t]);const u=()=>r(si,{iconSize:28,placement:"bottom right",variant:"text",children:[e(si.LeadingIcon,{children:t&&!c?e("img",{style:{borderRadius:"50%"},src:t,alt:"user avatar",onError:()=>d(!0)}):r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",children:[e("circle",{cx:"14",cy:"14",r:"13",fill:"url(#paint0_radial_3600_63997)",stroke:"white",strokeOpacity:"0.24",strokeWidth:"0.5"}),e("defs",{children:r("radialGradient",{id:"paint0_radial_3600_63997",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15 30.75) rotate(-90) scale(37.3333 65.833)",children:[e("stop",{offset:"0.01",stopColor:"#FFF507"}),e("stop",{offset:"0.259381",stopColor:"#F09BEB"}),e("stop",{offset:"0.598165",stopColor:"#412CB9"}),e("stop",{offset:"1",stopColor:"#18171A"})]})})]})}),e(si.Content,{className:xe({w:n&&a?"200px":"fit-content",maxW:"200px"}),children:r(Ye,{w:"full",alignItems:"start",gap:0,children:[(a||n)&&r(Ye,{w:"full",gap:1,children:[n&&e(Do,{fontWeight:"medium",children:n}),a&&e(Do,{size:"sm",truncate:!0,fontColor:"text.secondary",children:a})]}),(a||n)&&e(or,{color:"surface.quaternary",my:3,minW:"88px"}),e(bi,{label:o,textStyle:"negative",variant:"text",size:"sm",onPress:l})]})})]});return i?r(Qe,{gap:1,minWidth:"fit-content",minHeight:"fit-content",children:[e(ze,{onClick:i,cursor:"pointer",transition:"transform 0.1s",_active:{transform:"scale(0.95)"},className:xe({"@media (max-width: 370px)":{display:"none"}}),children:e(wl,{height:18,width:18,color:lr("colors.text.secondary")})}),e(u,{})]}):e(u,{})},Us=Jo(({children:e})=>e),Ys=Object.assign(t=>{const{isPending:a,isSuccess:n,onChange:o,onComplete:i,originName:l,pinLength:s,id:c,autoFocus:d,errorMessage:u,children:v}=t;return Qo(v,t=>r(Xe,{gap:3,my:3,children:[e(ar,{height:12,children:a?e(ko,{size:36,strokeWidth:4}):n?e(yo,{color:lr("colors.brand.base"),width:36,height:36}):e(ms,{originName:l,onChange:o,pinLength:s,onComplete:i,id:c,autoFocus:d})}),u&&e(Do,{variant:"error",size:"sm",styles:{textAlign:"center"},children:u}),t.get(Us)]}))},{RetryContent:Us});var Zs=typeof window>"u"?a.useEffect:a.useLayoutEffect,Gs=["$$typeof","render","displayName","defaultProps"],qs="slots-wrapper",Xs=new RegExp(`^<${qs}>.*</${qs}>$`),Ks=({name:e,forceUpdate:r,children:t})=>{let n=a.useRef(null),o=a.useRef(!1);return Zs(()=>{var t;if(!o.current&&(null==(t=n.current)?void 0:t.innerHTML)){let r=n.current.innerHTML;r&&!Xs.test(r)&&console.warn(`Unwrapped children found in "${e}", either wrap them in slots or remove`)}o.current=!0,r()},[e]),o.current?a.createElement(a.Fragment,null,t):a.createElement(qs,{ref:n},t)},Qs=a.createContext({rescan:()=>{}}),Js=({children:e})=>{let[r,t]=a.useReducer(()=>[],[]),n=a.useMemo(()=>({rescan:t}),[r]);return a.createElement(Qs.Provider,{value:n},e)},$s=(e=>{let r=a.createContext(e);return r.displayName="SlotsContext",r})(void 0),ec=({children:e})=>e(),rc=e=>{let r=0;return()=>`${e}_${r++}`},tc=rc("s"),ac=({children:e,callback:r})=>{let t=a.useReducer(()=>[],[])[1],n=a.useMemo(()=>(e=>{let r=new Map;return{register(e,t){r.set(e,t)},update(t,a){r.set(t,a),null==e||e(t)},unmount(t){r.delete(t),null==e||e(t)},clear(){r.clear()},has:e=>r.has(e),get:()=>Array.from(r.values())}})(t),[t]);return a.createElement(a.Fragment,null,a.createElement($s.Provider,{value:n},a.createElement(Js,null,"production"===process.env.NODE_ENV?e:a.createElement(Ks,{name:"HostSlots",forceUpdate:t},e))),a.createElement(ec,null,()=>r(n.get())))},nc=(e,r)=>a.createElement(ac,{children:e,callback:r});const oc=(e=>{let r=rc(tc()),t=a.forwardRef(({$slot_key$:e,...r},t)=>{let n=a.useContext($s);if(!n)return null;let i=a.useContext(Qs),l=a.createElement(o,{key:e,ref:t,...r});return n.register(e,l),a.useEffect(()=>{n.has(e)&&n.update(e,l)}),Zs(()=>(n.clear(),i.rescan(),()=>n.unmount(e)),[n]),null}),n=(n,o)=>{if(!a.useContext($s))return e?a.createElement(e,{ref:o,...n}):null;let[i]=a.useState(r);return a.createElement(t,{ref:o,$slot_key$:i,...n})};n.displayName=e?`Slot(${(e=>"string"==typeof e?e:e.displayName||e.name||"Component")(e)})`:"Slot";let o=a.forwardRef(n);return e?((e,r)=>{if("string"==typeof r)return e;let t=Object.getOwnPropertyNames(r).reduce((e,t)=>(Gs.includes(t)||(e[t]=r[t]),e),{});return Object.assign(e,t)})(o,e):o})(({actionBox:t,children:a,disabledLabel:n,label:o,onPress:i})=>t?e(ar,{h:"76px",maxW:"115px",w:"full",opacity:n?.3:1,pointerEvents:n?"none":"initial",children:e(ho,{className:xe({_hover:{bgColor:"neutral.secondary"},bgColor:"neutral.tertiary",h:"100%"}),borderRadius:"0.75rem",expand:!0,onPress:i,children:r(Xe,{gap:2,children:[h(g.only(a),{height:20,width:20}),e(Do,{size:"sm",styles:{fontWeight:500},children:o})]})})}):r(Xe,{gap:1,minW:20,opacity:n?.3:1,pointerEvents:n?"none":"initial",children:[e(bi,{variant:"neutral",size:"sm",onPress:i,"aria-label":"Buy",children:e(bi.LeadingIcon,{children:a})}),e(Do,{size:"sm",styles:{fontWeight:500},children:o})]})),ic=({actionBox:r,children:t})=>e(ze,{w:"full",children:nc(t,t=>e(Qe,{w:"full",justifyContent:"space-around",px:10,children:t.map(t=>{if(((e,r)=>e.type===r)(t,oc)){const{key:a,disabledLabel:n,...o}=(e=>{if(!e)return;let{key:r,ref:t,props:a}=e;return{...a,key:r,ref:t}})(t);return n?e(vi,{content:n,width:"max-content",children:e(ze,{children:e(oc,{actionBox:r,disabledLabel:n,...o})})},a):e(oc,{actionBox:r,...o},a)}})}))});ic.Action=oc;const lc=({actionBox:t,buyLabel:a="Buy",buyDisabledLabel:n,sendLabel:o="Send",sendDisabledLabel:i,swapLabel:l="Swap",swapDisabledLabel:s,onBuy:c,onSend:d,onSwap:u})=>r(ic,{actionBox:t,children:[c&&e(ic.Action,{disabledLabel:n,label:a,onPress:c,children:e(il,{})}),u&&e(ic.Action,{disabledLabel:s,label:l,onPress:u,children:e(xl,{})}),d&&e(ic.Action,{disabledLabel:i,label:o,onPress:d,children:e(yl,{})})]}),sc=({address:t,onAddressCopy:a})=>r(Qe,{gap:0,style:{filter:`drop-shadow(0px 0px 0.5px color-mix(in srgb, ${lr("colors.text.primary")}, transparent 20%)`},children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:e("path",{d:"M0 0L48 0V48H47.4146C37.829 48 29.1682 42.28 25.4052 33.4639L16.4163 12.405C13.533 5.65001 7.28559 0.929159 0 0Z",fill:lr("colors.surface.primary")})}),e(ar,{bgColor:"surface.primary",w:"114px",h:"48px",children:e(Il,{address:t,onCopy:a,size:"sm",icon:!0,fontColor:"text.secondary",fontWeight:"medium"})}),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:e("path",{d:"M48 0L0 0V48H0.299999C9.94709 48 18.6672 42.2544 22.4737 33.39L31.4615 12.4594C34.3773 5.66924 40.669 0.929361 48 0Z",fill:lr("colors.surface.primary")})})]}),cc=({connected:a,connectedLabel:n="Connected",disconnectLabel:o,disconnectedLabel:i="Not connected",domain:l,logoUrl:c,onDisconnect:d,onReceive:u})=>{const[p,f]=s(!1);v(()=>{f(!1)},[c]);const g=()=>r(si,{iconSize:28,variant:"text",children:[e(si.LeadingIcon,{color:lr("colors.text.tertiary"),children:c&&a&&!p?r(rr,{position:"relative",w:7,h:7,children:[e("img",{style:{borderRadius:"50%"},width:28,height:28,src:c,alt:"app logo",onError:()=>f(!0)}),e(rr,{size:"7px",position:"absolute",bg:"positive.base",borderWidth:"thin",borderColor:"surface.primary",bottom:"-1px",right:"-1px",boxSizing:"border-box"})]}):r("svg",{width:"28",height:"28",children:[e("circle",{cx:"14",cy:"14",r:"14",fill:lr("colors.surface.tertiary")}),e(hl,{color:lr("colors.text.tertiary"),x:6,y:6,height:16,width:16})]})}),r(si.Content,{className:xe({w:"200px"}),children:[r(Ye,{w:"100%",gap:1,overflow:"hidden",children:[e(Do,a?{size:"xs",variant:"success",fontWeight:"normal",children:n}:{fontColor:"text.tertiary",size:"xs",children:i}),e(Do,{truncate:!0,children:l})]}),a&&o&&r(t,{children:[e(or,{color:"surface.quaternary",my:3}),e(bi,{label:o,size:"sm",textStyle:"negative",variant:"text",onPress:d,children:e(bi.LeadingIcon,{children:r("svg",{width:"20",height:"20",children:[e("circle",{cx:"8",cy:"8",r:"8",fill:lr("colors.negative.lightest")}),e(El,{color:lr("colors.negative.base"),x:3,y:3,height:10,width:10})]})})})]})]})]});return u?r(Qe,{gap:1,minWidth:"fit-content",minHeight:"fit-content",children:[e(g,{}),e(ze,{className:xe({"@media (max-width: 370px)":{display:"none"}}),minH:"18px",minW:"18px"})]}):e(g,{})},dc=({fiatTotal:t,symbol:a})=>{const n=t?t.split("."):["0","00"],o=t?"text.primary":"text.tertiary";return r(Qe,{alignItems:"flex-start",gap:1,my:3,children:[e(Do.H4,{fontColor:o,styles:{lineHeight:"2.75rem"},children:a}),r(Qe,{alignItems:"baseline",gap:0,children:[e(Do.H1,{fontColor:o,children:n[0]}),e(Do.H4,{fontColor:o,children:`.${n[1]||"00"}`})]})]})},uc=Jo(Ws),vc=Jo(lc),pc=Jo(sc),fc=Jo(cc),gc=Jo(({children:r})=>e(Xe,{w:"full",justify:"center",children:r})),hc=Jo(dc),mc=Jo(Hs);Object.assign(({children:t,...a})=>Qo(t,t=>{const n=t.getProps(uc),o=t.getProps(vc),i=t.getProps(pc),l=t.getProps(fc),s=t.getProps(hc),c=t.getProps(mc),d=`radial-gradient(circle at top, color-mix(in srgb, ${lr("colors.text.primary")}, transparent 88%) 0%, transparent 25%)`,u=l||i||n;return r(Ji,{...a,fullscreen:!0,paddingType:"none",gap:0,children:[r(Xe,{h:"full",w:"full",style:u?{background:d}:{},children:[u&&r(Qe,{justify:"space-between",px:4,w:"full",children:[l?e(cc,{...l}):e(ze,{h:10,w:10,m:1}),i&&e(sc,{...i}),n?e(Ws,{...n}):e(ze,{h:10,w:10,m:1})]}),s&&e(dc,{...s}),o&&e(lc,{...o}),t.get(gc)]}),c&&e(Hs,{...c})]})}),{AccountMenu:uc,Actions:vc,Address:pc,ConnectionMenu:fc,Content:gc,Fiat:hc,Navigation:mc});const bc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),Cc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),yc=o(({className:t,...a},n)=>{const{primaryLabel:o,secondaryLabel:i,isExternalLink:l}=a;return Qo(a.children,s=>{const c=s.get(bc),d=s.get(Cc);return e(ho,{ref:n,className:ke(xe({p:4,bg:"neutral.quaternary",_hover:{bg:"neutral.secondary"}}),t),borderRadius:"0.5rem",expand:!0,...a,children:r(Qe,{justify:"space-between",w:"full",children:[r(Qe,{children:[c&&{...c,props:{height:24,...c.props,className:c.props.color?void 0:xe({color:"brand.base"})}},r(Xe,{gap:0,alignItems:"start",children:[r(Qe,{children:["string"==typeof o?e(Do,{fontWeight:"medium",children:o}):o,l&&e(gl,{width:14,height:14,color:lr("colors.neutral.primary")})]}),i&&e(Do,{size:"sm",fontColor:"text.tertiary",children:i})]})]}),e(Qe,{children:d&&{...d,props:{...d.props,className:d.props.color?void 0:xe({color:"neutral.primary"}),width:16,height:16}}})]})})})});yc.displayName="NavigationButton",Object.assign(yc,{LeadingIcon:bc,TrailingIcon:Cc});const wc=({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0047 25.3341C21.1593 25.3341 25.338 21.1554 25.338 16.0008C25.338 10.8461 21.1593 6.66745 16.0047 6.66745C10.85 6.66745 6.67135 10.8461 6.67135 16.0008C6.67135 21.1554 10.85 25.3341 16.0047 25.3341ZM14.6917 12.8109C15.1258 12.0172 15.3429 11.6204 15.6317 11.4922C15.8727 11.3854 16.1476 11.3854 16.3885 11.4922C16.6774 11.6204 16.8944 12.0172 17.3285 12.8109L17.7788 13.6343C17.8582 13.7794 17.8979 13.852 17.9486 13.9155C17.9918 13.9695 18.0409 14.0186 18.095 14.0618C18.1585 14.1126 18.2311 14.1523 18.3762 14.2316L19.1996 14.682C19.9933 15.1161 20.3901 15.3331 20.5182 15.622C20.6251 15.8629 20.6251 16.1378 20.5182 16.3787C20.3901 16.6676 19.9933 16.8846 19.1996 17.3187L18.3762 17.7691C18.2311 17.8484 18.1585 17.8881 18.095 17.9389C18.0409 17.9821 17.9918 18.0312 17.9486 18.0852C17.8979 18.1488 17.8582 18.2213 17.7788 18.3664L17.3285 19.1898C16.8944 19.9835 16.6774 20.3804 16.3885 20.5085C16.1476 20.6153 15.8727 20.6153 15.6317 20.5085C15.3429 20.3804 15.1258 19.9835 14.6917 19.1898L14.2414 18.3664C14.1621 18.2213 14.1224 18.1488 14.0716 18.0852C14.0284 18.0312 13.9793 17.9821 13.9252 17.9389C13.8617 17.8881 13.7892 17.8484 13.6441 17.7691L12.8207 17.3187C12.027 16.8846 11.6301 16.6676 11.502 16.3787C11.3952 16.1378 11.3952 15.8629 11.502 15.622C11.6301 15.3331 12.027 15.1161 12.8207 14.682L13.6441 14.2316C13.7891 14.1523 13.8617 14.1126 13.9252 14.0618C13.9793 14.0186 14.0284 13.9695 14.0716 13.9155C14.1224 13.852 14.1621 13.7794 14.2414 13.6343L14.6917 12.8109Z",fill:"url(#paint0_linear_10465_20426)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 30C23.732 30 30 23.732 30 16C30 8.26801 23.732 2 16 2C8.26801 2 2 8.26801 2 16C2 23.732 8.26801 30 16 30ZM16.0047 27.2008C22.1903 27.2008 27.2047 22.1864 27.2047 16.0008C27.2047 9.81519 22.1903 4.80078 16.0047 4.80078C9.8191 4.80078 4.80469 9.81519 4.80469 16.0008C4.80469 22.1864 9.8191 27.2008 16.0047 27.2008Z",fill:"url(#paint1_linear_10465_20426)"}),r("defs",{children:[r("linearGradient",{id:"paint0_linear_10465_20426",x1:4.8,y1:1.06667,x2:32.4967,y2:31.1537,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#6851FF"}),e("stop",{offset:1,stopColor:"#CE99FF"})]}),r("linearGradient",{id:"paint1_linear_10465_20426",x1:4.8,y1:1.06667,x2:32.4967,y2:31.1537,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#6851FF"}),e("stop",{offset:1,stopColor:"#CE99FF"})]})]})]}),xc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),Ec=({name:a,fiatBalanceWithSymbol:n,tokenBalanceWithSymbol:o,tokenIcon:i,logoUrl:l,tokenBalanceFirst:s,disabled:c=!1,isLoading:d=!1})=>{const u=s||!n;return r(Qe,{w:"full",justify:"space-between",opacity:c?"0.5":"1",children:[r(Qe,{gap:4,children:[i?{...i,props:{...i.props,width:40,height:40}}:l?e("img",{width:40,height:40,src:l,alt:`${a} logo`}):e(wc,{width:40,height:40}),e(Do,{fontWeight:"medium",styles:{textTransform:"capitalize",textAlign:"left"},children:a})]}),e(Xe,{gap:0,alignItems:"flex-end",children:r(t,d?{children:[e(ol,{height:"1rem",width:"6rem"}),o&&n&&e("div",{style:{marginTop:"4px"},children:e(ol,{height:"1rem",width:"4rem"})})]}:{children:[e(Do,{size:"sm",styles:{lineHeight:"1.5rem",textAlign:"right"},children:u?o:n}),e(Do,{size:"sm",fontColor:"text.secondary",styles:{lineHeight:"1.5rem",textAlign:"right"},children:u?n:o})]})})]})};Object.assign(r=>{const{name:t,fiatBalanceWithSymbol:a,tokenBalanceWithSymbol:n,logoUrl:o,onPress:i,tokenBalanceFirst:l,disabled:s,isLoading:u}=r,v=c(null),p=d(()=>{i?.()},[i]);return Qo(r.children,r=>{const c=r.get(xc);return i?e(ho,{ref:v,className:xe({_dark:{bg:"surface.tertiary"},_hover:{bg:"neutral.secondary"},bg:"neutral.quaternary",px:4,py:2,minH:16}),borderRadius:"0.5rem",expand:!0,onPress:s?void 0:p,disabled:s,children:e(Ec,{name:t,fiatBalanceWithSymbol:a,tokenBalanceWithSymbol:n,tokenIcon:c,logoUrl:o,tokenBalanceFirst:l,disabled:s,isLoading:u})}):e(Ec,{name:t,fiatBalanceWithSymbol:a,tokenBalanceWithSymbol:n,tokenIcon:c,logoUrl:o,tokenBalanceFirst:l,disabled:s,isLoading:u})})},{TokenIcon:xc});const kc={send:{title:"Send",primaryTextColor:lr("colors.text.primary"),secondaryTextColor:lr("colors.text.secondary"),icon:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2408 10.6508C17.6002 11.0701 18.2315 11.1187 18.6508 10.7593C19.0701 10.3998 19.1187 9.76853 18.7593 9.34921L12.7593 2.34921C12.5693 2.12756 12.2919 2 12 2C11.7081 2 11.4307 2.12756 11.2408 2.34921L5.24076 9.34921C4.88133 9.76853 4.9299 10.3998 5.34922 10.7593C5.76855 11.1187 6.39985 11.0701 6.75927 10.6508L11 5.70324L11 21C11 21.5523 11.4477 22 12 22C12.5523 22 13 21.5523 13 21L13 5.70328L17.2408 10.6508Z",fill:"currentColor"})]})},iconColor:lr("colors.negative.darker"),skeletonWidth:"89px"},receive:{title:"Receive",primaryTextColor:lr("colors.positive.base"),secondaryTextColor:`${lr("colors.positive.lighter")}`,icon:il,iconColor:lr("colors.positive.base"),skeletonWidth:"89px"},networkFee:{title:"Network Fee",primaryTextColor:lr("colors.text.primary"),secondaryTextColor:lr("colors.text.secondary"),icon:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8393 1.18633C16.0191 1.62165 16.0904 2.13337 16.0904 2.67308V9.59219H18.4874C19.3815 9.59219 20.4183 9.86546 20.8417 10.8036C21.2652 11.7417 20.7838 12.6983 20.1937 13.3654L20.1926 13.3668L11.8726 22.8234C11.5162 23.2281 11.1246 23.5652 10.7026 23.7735C10.2763 23.9838 9.741 24.0959 9.20231 23.8936C8.66315 23.6911 8.3341 23.2538 8.15233 22.8137C7.97254 22.3783 7.90123 21.8666 7.90123 21.3269V14.4078H5.50425C4.61648 14.4078 3.58277 14.1378 3.15874 13.2018C2.73585 12.2683 3.21019 11.312 3.79247 10.6408L3.79704 10.6355L12.119 1.17665C12.4754 0.771879 12.8671 0.434796 13.2891 0.226544C13.7154 0.0161889 14.2507 -0.0959383 14.7893 0.106398C15.3285 0.308914 15.6576 0.746213 15.8393 1.18633Z",fill:"currentColor"})]})},iconColor:lr("colors.brand.base"),skeletonWidth:"54px"},spendingCap:{title:"Spending Cap",primaryTextColor:lr("colors.warning.base"),secondaryTextColor:lr("colors.warning.base"),icon:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M13 1C15.7614 1 18 3.23858 18 6C18 6.55228 17.5523 7 17 7C16.4477 7 16 6.55228 16 6C16 4.34315 14.6569 3 13 3H12C9.79086 3 8 4.79086 8 7V9H18C20.7614 9 23 11.2386 23 14V18C23 20.7614 20.7614 23 18 23H6C3.23858 23 1 20.7614 1 18V14C1 11.2386 3.23858 9 6 9V7C6 3.68629 8.68629 1 12 1H13Z",fill:"currentColor"})]})},iconColor:lr("colors.warning.base"),skeletonWidth:"89px"}},Lc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))}));Object.assign(t=>{const{variant:a,primaryText:n,secondaryText:o,children:i,onPress:l,loading:s,showTitle:u=!0}=t,{title:v,primaryTextColor:p,secondaryTextColor:f,icon:g,iconColor:h,skeletonWidth:m}=kc[a],b="send"===a||"networkFee"===a,C=c(null),y=d(()=>{l?.()},[l]);return Qo(i,a=>{const i=a.get(Lc);return r(Qe,{w:"full",justify:"space-between",children:[r(Qe,{gap:2,children:[e(g,{width:16,height:16,color:h}),u&&e(Do,{size:"sm",fontWeight:"medium",children:v})]}),r(Qe,{gap:4,children:[o&&e(Do,{styles:{color:f},children:o}),b?e(ho,{ref:C,className:xe({px:4,py:2.5,bg:"surface.secondary"}),borderRadius:"0.75rem",onPress:y,...t,children:r(Qe,{gap:3,children:[s?e(ol,{width:m}):e(Do,{styles:{color:p},children:n}),i&&{...i,props:{...i.props,width:32,height:32}}]})}):r(Qe,{gap:3,children:[s?e(ol,{width:m}):e(Do,{styles:{color:p},children:n}),i&&{...i,props:{...i.props,width:32,height:32}}]})]})]})})},{TokenIcon:Lc});const Ic=Jo(({backgroundColor:r,children:t})=>e(ar,{borderRadius:60,height:11,width:11,backgroundColor:r,overflow:"hidden",children:h(g.only(t),{height:24,width:24})})),Sc=Jo(({backgroundColor:t,children:a})=>r(ze,{height:10,width:10,position:"relative",children:[e(We,{alignItems:"center",justifyContent:"center",position:"absolute",backgroundColor:t,height:7,width:7,borderRadius:30,children:h(a[0],{height:20,width:20})}),e(We,{alignItems:"center",justifyContent:"center",position:"absolute",backgroundColor:t,borderRadius:30,height:7,width:7,bottom:0,right:0,children:h(a[1],{height:20,width:20})})]})),Mc=Jo(({backgroundColor:r,children:t})=>e(We,{backgroundColor:r,borderRadius:30,alignItems:"center",justifyContent:"center",borderWidth:"2",borderColor:"neutral.tertiary",width:"5",height:"5",children:h(g.only(t),{height:10,width:10})}));Object.assign(({title:t,subtitle:a,primaryValue:n,primaryValueColor:o,secondaryValue:i,children:l,onPress:s,...c})=>Qo(l,l=>{const d=l.get(Sc),u=l.get(Ic),v=l.get(Mc);return e(ho,{borderRadius:"0.375rem",expand:!0,onPress:s,children:r(Qe,{p:3,gap:2,w:"full",pos:"relative",className:ke(xe({_active:{transform:"scale(0.95)"},_hover:{bgColor:"neutral.secondary"},bgColor:"neutral.tertiary"})),borderRadius:"md",justify:"space-between",alignItems:"center",...c,children:[r(Qe,{children:[d&&d,u&&u,v&&e(ze,{position:"absolute",left:9,top:11,children:v}),r(ze,{children:[e(Do,{truncate:!0,size:"md",fontWeight:"bold",children:t})," ",a&&e(Do,{truncate:!0,size:"sm",fontColor:"text.secondary",children:a})]})]}),r(ze,{children:[e(Do,{truncate:!0,size:"md",styles:{textAlign:"end",color:o},...c,children:n}),i&&e(Do,{truncate:!0,size:"sm",styles:{textAlign:"end"},fontColor:"text.secondary",children:i})]})]})})}),{DoubleIcon:Sc,PrimaryIcon:Ic,SecondaryIcon:Mc});function Tc({value:r,ecLevel:t="H",qrStyle:a="dots",eyeRadius:n=0,eyeColor:o=lr("colors.ink.90"),size:i=160,logoImage:l,logoHeight:s=32,logoWidth:c=32,logoOpacity:d=1,logoPadding:u=0,logoPaddingStyle:v="square",logoOnLoad:p,removeQrCodeBehindLogo:f=!1,enableCORS:g=!1,quietZone:h=5,bgColor:m=lr("colors.chalk"),fgColor:b=lr("colors.ink.90"),style:C,id:y="qr-code"}){return e(We,{alignItems:"center",justifyContent:"center",className:xe({shadow:"0.125rem 0.125rem 1.5rem {colors.ink.70/15}",overflow:"hidden",padding:1,borderRadius:"1rem"}),children:e(Ni,{value:r,ecLevel:t,qrStyle:a,eyeRadius:n,eyeColor:o,size:i,logoImage:l,logoHeight:s,logoWidth:c,logoOpacity:d,logoPadding:u,logoPaddingStyle:v,logoOnLoad:p,removeQrCodeBehindLogo:f,enableCORS:g,quietZone:h,bgColor:m,fgColor:b,style:C,id:y,"data-testid":y})})}const _c={brand:{base:{base:0,lightest:102,lighter:51,darker:-51,darkest:-102},dark:{base:0,lightest:"25%",lighter:"66%",darker:102,darkest:102}},neutral:{base:{primary:0,secondary:51,tertiary:102,quaternary:153},dark:{primary:"16%",secondary:"12%",tertiary:"8%",quaternary:"5%"}},surface:{base:{primary:0,secondary:-51,tertiary:-102},dark:{primary:0,secondary:21,tertiary:42}},text:{base:{primary:0,secondary:51,tertiary:102},dark:{primary:0,secondary:"72%",tertiary:"44%"}}},Pc=(e,r)=>{e=e.replace(/[^0-9a-f]/gi,"").slice(0,6);const t=r?Math.round(.01*parseFloat(r)*255).toString(16):void 0;return e.length<3?e:(e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t?e+t:e)},Ac=(e,r)=>{e=Pc(e);const t=parseInt(e,16),a=Math.min(Math.max(0,(t>>16)+r),255);return"#"+("00000"+(Math.min(Math.max(0,(255&t)+r),255)|Math.min(Math.max(0,(t>>8&255)+r),255)<<8|a<<16).toString(16)).slice(-6)},Nc=({label:e,Icon:r,onPress:t,hideLabel:a})=>n.createElement(ho,{onPress:t,borderRadius:14,className:xe({w:"full",px:4,py:3,bg:"neutral.quaternary",_hover:{bg:"neutral.tertiary"}})},n.createElement(We,{gap:3,w:"full",justifyContent:a?"center":"flex-start",alignItems:"center"},n.createElement(r,{width:24,height:24}),!a&&e&&n.createElement(Do,{fontWeight:"medium",styles:{lineHeight:"1.5rem"}},e))),Rc={METAMASK:"metamask",WALLETCONNECT:"walletconnect",COINBASE:"coinbase",PHANTOM:"phantom",RABBY:"rabby"};var Oc,Dc;!function(e){e.MalformedEmail="Invalid params: Please provide a valid email address.",e.SanEmail="We are unable to create an account with that email."}(Oc||(Oc={})),function(e){e.GOOGLE="google",e.APPLE="apple",e.FACEBOOK="facebook",e.GITHUB="github",e.TWITTER="twitter",e.LINKEDIN="linkedin",e.MICROSOFT="microsoft",e.TWITCH="twitch",e.BITBUCKET="bitbucket",e.DISCORD="discord",e.GITLAB="gitlab",e.TELEGRAM="telegram"}(Dc||(Dc={}));const Fc={[Rc.WALLETCONNECT]:{displayName:"WalletConnect",Icon:({title:t,titleId:a,...n})=>r("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M4.91675 7.51605C8.83338 3.68134 15.1835 3.68134 19.1001 7.51605L19.5715 7.97756C19.7673 8.16929 19.7673 8.48016 19.5715 8.6719L17.959 10.2506C17.8611 10.3465 17.7024 10.3465 17.6044 10.2506L16.9558 9.61554C14.2234 6.94035 9.79343 6.94035 7.06109 9.61554L6.36643 10.2957C6.26851 10.3915 6.10976 10.3915 6.01184 10.2957L4.39937 8.71693C4.20354 8.5252 4.20354 8.21433 4.39937 8.0226L4.91675 7.51605ZM22.4349 10.7811L23.87 12.1861C24.0658 12.3779 24.0658 12.6887 23.87 12.8805L17.399 19.2162C17.2032 19.4079 16.8857 19.4079 16.6898 19.2162C16.6898 19.2162 16.6898 19.2162 16.6898 19.2162L12.0971 14.7196C12.0482 14.6716 11.9688 14.6716 11.9198 14.7196L7.32721 19.2162C7.13138 19.4079 6.81387 19.408 6.61804 19.2162C6.61804 19.2162 6.61804 19.2162 6.61804 19.2162L0.146874 12.8804C-0.0489579 12.6887 -0.0489579 12.3778 0.146874 12.1861L1.58198 10.781C1.77781 10.5892 2.09532 10.5892 2.29115 10.781L6.88392 15.2777C6.93288 15.3256 7.01226 15.3256 7.06122 15.2777C7.06121 15.2777 7.06122 15.2777 7.06122 15.2777L11.6538 10.781C11.8496 10.5892 12.1671 10.5892 12.3629 10.781C12.3629 10.781 12.3629 10.781 12.3629 10.781L16.9557 15.2777C17.0047 15.3256 17.084 15.3256 17.133 15.2777L21.7257 10.7811C21.9215 10.5893 22.239 10.5893 22.4349 10.7811Z",fill:"#3B99FC"})]})},[Rc.METAMASK]:{displayName:"MetaMask",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M28.7213 29.0412L22.4653 27.1784L17.7474 29.9987L14.4558 29.9973L9.73516 27.1784L3.48192 29.0412L1.57977 22.6199L3.48192 15.4932L1.57977 9.46778L3.48192 2L13.2531 7.8378H18.9501L28.7213 2L30.6234 9.46778L28.7213 15.4932L30.6234 22.6199L28.7213 29.0412Z",fill:"#FF5C16"}),e("path",{d:"M3.48334 2L13.2546 7.84189L12.866 11.8511L3.48334 2Z",fill:"#FF5C16"}),e("path",{d:"M9.73645 22.6226L14.0357 25.8976L9.73645 27.1783V22.6226Z",fill:"#FF5C16"}),e("path",{d:"M13.6921 17.208L12.8658 11.8538L7.5766 15.4945L7.57385 15.4931V15.4958L7.59021 19.2434L9.73509 17.208H9.73646H13.6921Z",fill:"#FF5C16"}),e("path",{d:"M28.7212 2L18.95 7.84189L19.3373 11.8511L28.7212 2Z",fill:"#FF5C16"}),e("path",{d:"M22.468 22.6226L18.1688 25.8976L22.468 27.1783V22.6226Z",fill:"#FF5C16"}),e("path",{d:"M24.6294 15.4958V15.4931L24.628 15.4945L19.3388 11.8538L18.5125 17.208H22.4682L24.6144 19.2434L24.6294 15.4958Z",fill:"#FF5C16"}),e("path",{d:"M9.73517 27.1782L3.48193 29.041L1.57977 22.6224H9.73517V27.1782Z",fill:"#E34807"}),e("path",{d:"M13.6908 17.2067L14.8853 24.947L13.23 20.6433L7.58759 19.2435L9.73384 17.2067H13.6895H13.6908Z",fill:"#E34807"}),e("path",{d:"M22.468 27.1782L28.7212 29.041L30.6233 22.6224H22.468V27.1782Z",fill:"#E34807"}),e("path",{d:"M18.5123 17.2067L17.3178 24.947L18.9732 20.6433L24.6156 19.2435L22.468 17.2067H18.5123Z",fill:"#E34807"}),e("path",{d:"M1.57977 22.6199L3.48192 15.4932H7.57259L7.58757 19.2421L13.23 20.642L14.8853 24.9457L14.0345 25.8935L9.7352 22.6185H1.57977V22.6199Z",fill:"#FF8D5D"}),e("path",{d:"M30.6234 22.6199L28.7212 15.4932H24.6306L24.6156 19.2421L18.9732 20.642L17.3178 24.9457L18.1687 25.8935L22.468 22.6185H30.6234V22.6199Z",fill:"#FF8D5D"}),e("path",{d:"M18.9502 7.83777H16.1017H13.2532L12.866 11.847L14.8854 24.9416H17.318L19.3388 11.847L18.9502 7.83777Z",fill:"#FF8D5D"}),e("path",{d:"M3.48192 2L1.57977 9.46778L3.48192 15.4932H7.57259L12.8646 11.8511L3.48192 2Z",fill:"#661800"}),e("path",{d:"M12.5086 18.7614H10.6556L9.64655 19.7503L13.2313 20.6393L12.5086 18.76V18.7614Z",fill:"#661800"}),e("path",{d:"M28.7213 2L30.6235 9.46778L28.7213 15.4932H24.6306L19.3387 11.8511L28.7213 2Z",fill:"#661800"}),e("path",{d:"M19.6973 18.7614H21.5531L22.5622 19.7517L18.9733 20.642L19.6973 18.76V18.7614Z",fill:"#661800"}),e("path",{d:"M17.746 27.4441L18.1687 25.8963L17.3178 24.9485H14.8839L14.033 25.8963L14.4557 27.4441",fill:"#661800"}),e("path",{d:"M17.7459 27.444V29.9999H14.4556V27.444H17.7459Z",fill:"#C0C4CD"}),e("path",{d:"M9.73645 27.1756L14.4584 29.9986V27.4427L14.0357 25.8949L9.73645 27.1756Z",fill:"#E7EBF6"}),e("path",{d:"M22.4681 27.1756L17.7461 29.9986V27.4427L18.1688 25.8949L22.4681 27.1756Z",fill:"#E7EBF6"})]})},[Rc.COINBASE]:{displayName:"Coinbase Wallet",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("circle",{cx:16,cy:16,r:16,fill:"url(#paint0_linear_8941_733)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0013 26.666C21.8923 26.666 26.668 21.8903 26.668 15.9993C26.668 10.1083 21.8923 5.33264 16.0013 5.33264C10.1103 5.33264 5.33463 10.1083 5.33463 15.9993C5.33463 21.8903 10.1103 26.666 16.0013 26.666ZM13.8659 12.8613C13.3136 12.8613 12.8659 13.309 12.8659 13.8613V18.1358C12.8659 18.6881 13.3136 19.1358 13.8659 19.1358H18.1404C18.6927 19.1358 19.1404 18.6881 19.1404 18.1358V13.8613C19.1404 13.309 18.6927 12.8613 18.1404 12.8613H13.8659Z",fill:"white"}),e("defs",{children:r("linearGradient",{id:"paint0_linear_8941_733",x1:6.5,y1:3.5,x2:26,y2:29.5,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#2A62F5"}),e("stop",{offset:1,stopColor:"#164EE0"})]})})]})},[Rc.PHANTOM]:{displayName:"Phantom",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("mask",{id:"mask0_10729_1440",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:1,y:1,width:30,height:30,children:e("path",{d:"M31 1H1V31H31V1Z",fill:"white"})}),r("g",{mask:"url(#mask0_10729_1440)",children:[e("path",{d:"M24.5602 1H7.4398C3.8832 1 1 3.8832 1 7.4398V24.5602C1 28.1168 3.8832 31 7.4398 31H24.5602C28.1168 31 31 28.1168 31 24.5602V7.4398C31 3.8832 28.1168 1 24.5602 1Z",fill:"#AB9FF2"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9305 20.4953C12.7525 22.3003 10.7787 24.5844 8.15225 24.5844C6.91065 24.5844 5.7168 24.0733 5.7168 21.853C5.7168 16.1986 13.437 7.44531 20.6001 7.44531C24.6751 7.44531 26.2987 10.2725 26.2987 13.4831C26.2987 17.6042 23.6245 22.3163 20.9662 22.3163C20.1225 22.3163 19.7087 21.853 19.7087 21.1183C19.7087 20.9266 19.7405 20.719 19.8042 20.4953C18.8969 22.0447 17.1459 23.4823 15.5063 23.4823C14.3125 23.4823 13.7076 22.7316 13.7076 21.6773C13.7076 21.294 13.7872 20.8947 13.9305 20.4953ZM23.6091 13.3717C23.6091 14.3073 23.0571 14.775 22.4396 14.775C21.8128 14.775 21.2702 14.3073 21.2702 13.3717C21.2702 12.4362 21.8128 11.9684 22.4396 11.9684C23.0571 11.9684 23.6091 12.4362 23.6091 13.3717ZM20.1008 13.3718C20.1008 14.3073 19.5488 14.7751 18.9313 14.7751C18.3045 14.7751 17.7619 14.3073 17.7619 13.3718C17.7619 12.4362 18.3045 11.9685 18.9313 11.9685C19.5488 11.9685 20.1008 12.4362 20.1008 13.3718Z",fill:"#FFFDF8"})]})]})},[Rc.RABBY]:{displayName:"Rabby",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,r("g",{clipPath:"url(#clip0_12156_1502)",children:[e("path",{d:"M30.9683 17.8945C32.1562 15.2317 26.2834 7.7924 20.6728 4.69301C17.1364 2.29195 13.4513 2.62182 12.705 3.67607C11.0671 5.98968 18.1286 7.95014 22.8511 10.2378C21.836 10.6802 20.8793 11.4741 20.3167 12.4894C18.5561 10.5609 14.6918 8.90006 10.1575 10.2378C7.10193 11.1394 4.56248 13.2647 3.58098 16.4748C3.34252 16.3685 3.07845 16.3094 2.80065 16.3094C1.73836 16.3094 0.877197 17.1735 0.877197 18.2393C0.877197 19.3052 1.73836 20.1693 2.80065 20.1693C2.99755 20.1693 3.61322 20.0368 3.61322 20.0368L13.4513 20.1083C9.51684 26.371 6.40753 27.2865 6.40753 28.3715C6.40753 29.4564 9.38264 29.1624 10.4997 28.758C15.8473 26.822 21.5909 20.7882 22.5765 19.0513C26.7154 19.5694 30.1937 19.6307 30.9683 17.8945Z",fill:"url(#paint0_linear_12156_1502)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.8507 10.2385C22.8509 10.2386 22.8512 10.2387 22.8514 10.2388C23.0704 10.1523 23.0349 9.82791 22.9748 9.57312C22.8367 8.98766 20.453 6.6259 18.2146 5.56811C15.1645 4.12666 12.9185 4.20098 12.5867 4.86535C13.208 6.14298 16.0884 7.34261 19.0965 8.59539C20.38 9.12991 21.6867 9.6741 22.8512 10.2382C22.851 10.2383 22.8508 10.2384 22.8507 10.2385Z",fill:"url(#paint1_linear_12156_1502)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.9801 23.0977C18.3632 22.8612 17.6664 22.6441 16.8743 22.4473C17.7189 20.9308 17.8961 18.6858 17.0985 17.2664C15.9789 15.2744 14.5736 14.2141 11.308 14.2141C9.51189 14.2141 4.67598 14.8211 4.59017 18.8717C4.58115 19.2967 4.58993 19.6862 4.62061 20.0443L13.4513 20.1086C12.2608 22.0036 11.1458 23.409 10.1697 24.4776C11.3417 24.779 12.3088 25.032 13.1968 25.2642C14.0393 25.4845 14.8104 25.6863 15.6176 25.8929C16.8352 25.0029 17.9798 24.0324 18.9801 23.0977Z",fill:"url(#paint2_linear_12156_1502)"}),e("path",{d:"M3.4631 19.6282C3.82387 22.7051 5.56671 23.911 9.12801 24.2679C12.6893 24.6247 14.7321 24.3853 17.4518 24.6336C19.7233 24.8409 21.7515 26.0023 22.5039 25.601C23.1809 25.2398 22.8021 23.9348 21.8961 23.0975C20.7216 22.0123 19.096 21.2577 16.2359 20.9899C16.8059 19.424 16.6462 17.2284 15.7609 16.0338C14.4809 14.3066 12.1183 13.5257 9.12801 13.8669C6.00393 14.2233 3.0104 15.7666 3.4631 19.6282Z",fill:"url(#paint3_linear_12156_1502)"})]}),r("defs",{children:[r("linearGradient",{id:"paint0_linear_12156_1502",x1:9.80166,y1:15.5365,x2:30.7229,y2:21.4494,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#8697FF"}),e("stop",{offset:1,stopColor:"#ABB7FF"})]}),r("linearGradient",{id:"paint1_linear_12156_1502",x1:27.1914,y1:15.1379,x2:12.0523,y2:.0128466,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#8697FF"}),e("stop",{offset:1,stopColor:"#5156D8",stopOpacity:0})]}),r("linearGradient",{id:"paint2_linear_12156_1502",x1:19.3999,y1:23.6263,x2:4.88188,y2:15.3076,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#465EED"}),e("stop",{offset:1,stopColor:"#8697FF",stopOpacity:0})]}),r("linearGradient",{id:"paint3_linear_12156_1502",x1:11.0501,y1:15.3802,x2:20.8875,y2:27.8377,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#8898FF"}),e("stop",{offset:.983895,stopColor:"#6277F1"})]}),e("clipPath",{id:"clip0_12156_1502",children:e("rect",{width:31.5,height:28,fill:"white",transform:"translate(0.25 2)"})})]})]})}},jc={[Dc.GOOGLE]:{displayName:"Google",Icon:al},[Dc.APPLE]:{displayName:"Apple",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M17.4523 11.6262C17.4417 9.82294 18.2587 8.46385 19.9087 7.46173C18.9859 6.13967 17.5898 5.41253 15.7495 5.27239C14.007 5.1349 12.1006 6.28774 11.4025 6.28774C10.6648 6.28774 8.97785 5.31999 7.6505 5.31999C4.91119 5.36229 2 7.50403 2 11.8616C2 13.1492 2.23533 14.4792 2.70598 15.8489C3.33528 17.6522 5.60395 22.0705 7.97044 21.9991C9.20789 21.9701 10.0831 21.1213 11.6934 21.1213C13.2561 21.1213 14.0652 21.9991 15.4454 21.9991C17.833 21.9648 19.8849 17.9483 20.4825 16.1398C17.2804 14.63 17.4523 11.7188 17.4523 11.6262ZM14.6733 3.56164C16.0139 1.96988 15.8923 0.520893 15.8526 0C14.668 0.0687473 13.2984 0.806459 12.5183 1.71339C11.659 2.68643 11.154 3.88951 11.2624 5.24595C12.5421 5.34378 13.7108 4.68539 14.6733 3.56164Z",fill:"black"})]})},[Dc.FACEBOOK]:{displayName:"Facebook",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M17.9214 14.3997L18.582 10.0883H14.4467V7.29096C14.4467 6.11245 15.0234 4.96121 16.8771 4.96121H18.7581V1.29148C18.7581 1.29148 17.0512 1 15.4197 1C12.0142 1 9.78718 3.06343 9.78718 6.80236V10.0883H6V14.3997H9.78718V24.8197C10.5463 24.9392 11.3243 25 12.1169 25C12.9096 25 13.6876 24.9371 14.4467 24.8197V14.3997H17.9214Z",fill:"#1977F3"})]})},[Dc.GITHUB]:{displayName:"GitHub",Icon:({title:t,titleId:a,...n})=>r("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3159 6.36074e-06C9.39213 -0.00296524 6.5629 1.03535 4.33518 2.92889C2.10746 4.82242 0.626879 7.4474 0.158754 10.3334C-0.30937 13.2194 0.265566 16.1778 1.78053 18.6784C3.29549 21.179 5.65146 23.0584 8.42622 23.9798C9.04554 24.0931 9.26457 23.7079 9.26457 23.3831C9.26457 23.0584 9.26457 22.3182 9.26457 21.291C5.8281 22.0387 5.10304 19.637 5.10304 19.637C4.87506 18.8926 4.39073 18.2531 3.73601 17.8319C2.62576 17.0766 3.82664 17.0766 3.82664 17.0766C4.21583 17.1316 4.5874 17.2744 4.91323 17.4942C5.23905 17.7141 5.51058 18.0052 5.70726 18.3455C5.87437 18.6485 6.09967 18.9155 6.37023 19.1312C6.64079 19.347 6.95129 19.5071 7.28391 19.6026C7.61653 19.698 7.96472 19.7268 8.3085 19.6874C8.65228 19.6479 8.98488 19.541 9.28723 19.3726C9.33463 18.7513 9.60249 18.1674 10.0425 17.7262C7.30843 17.4165 4.43841 16.3591 4.43841 11.684C4.41963 10.4627 4.87123 9.28099 5.6997 8.38349C5.33072 7.3216 5.37385 6.15988 5.82055 5.12828C5.82055 5.12828 6.85526 4.79596 9.20415 6.38958C11.2212 5.83579 13.3501 5.83579 15.3671 6.38958C17.716 4.79596 18.7432 5.12828 18.7432 5.12828C19.1961 6.14897 19.25 7.30235 18.8942 8.36083C19.7227 9.25834 20.1743 10.4401 20.1555 11.6614C20.1555 16.3893 17.278 17.424 14.5363 17.7035C14.8303 17.999 15.0573 18.3543 15.202 18.7452C15.3466 19.1361 15.4055 19.5536 15.3747 19.9693C15.3747 21.6158 15.3747 22.9451 15.3747 23.3454C15.3747 23.7456 15.5937 24.0553 16.2206 23.9345C18.9638 22.9888 21.2844 21.1041 22.7727 18.6132C24.2609 16.1223 24.8208 13.1856 24.3536 10.3219C23.8864 7.45814 22.4221 4.85167 20.2194 2.96295C18.0167 1.07422 15.2173 0.024771 12.3159 6.36074e-06Z",fill:"#191717"})]})},[Dc.TWITTER]:{displayName:"Twitter",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("g",{clipPath:"url(#clip0_8934_240)",children:e("path",{d:"M13.6408 10.4643L20.9224 2H19.1969L12.8743 9.34942L7.82442 2H2L9.63638 13.1136L2 21.9897H3.72561L10.4025 14.2285L15.7355 21.9897H21.5599L13.6404 10.4643H13.6408ZM11.2773 13.2115L10.5036 12.1049L4.34737 3.29901H6.9978L11.966 10.4056L12.7397 11.5123L19.1977 20.7498H16.5473L11.2773 13.212V13.2115Z",fill:"black"})}),e("defs",{children:e("clipPath",{id:"clip0_8934_240",children:e("rect",{width:19.5599,height:20,fill:"white",transform:"translate(2 2)"})})})]})},[Dc.LINKEDIN]:{displayName:"LinkedIn",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2946 21H21.028L21.0296 14.4043C21.0296 11.1664 20.3319 8.6775 16.548 8.6775C15.1034 8.62385 13.6913 9.37184 12.9615 10.6195V8.97649H9.37758V20.9995H13.1109V15.0518C13.1109 13.4834 13.4084 11.9644 15.3529 11.9644C17.2697 11.9644 17.2946 13.7591 17.2946 15.1533V21ZM2.99811 5.16657C2.99811 6.3551 3.97657 7.33299 5.1651 7.33299C6.3534 7.33288 7.33118 6.35442 7.33118 5.16612C7.33096 3.97781 6.35306 3.00003 5.16464 3.00003C3.97611 3.00003 2.99811 3.97804 2.99811 5.16657ZM3.29451 21H7.03174V8.97649H3.29451V21Z",fill:"#0A66C2"})]})},[Dc.MICROSOFT]:{displayName:"Microsoft",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,r("g",{clipPath:"url(#clip0_8934_233)",children:[e("path",{d:"M1.95654 1.95651H11.5218V11.5217H1.95654V1.95651Z",fill:"#F35325"}),e("path",{d:"M12.4782 1.95651H22.0435V11.5217H12.4782V1.95651Z",fill:"#81BC06"}),e("path",{d:"M1.95654 12.4783H11.5218V22.0435H1.95654V12.4783Z",fill:"#05A6F0"}),e("path",{d:"M12.4782 12.4783H22.0435V22.0435H12.4782V12.4783Z",fill:"#FFBA08"})]}),e("defs",{children:e("clipPath",{id:"clip0_8934_233",children:e("rect",{width:22,height:22,fill:"white",transform:"translate(1 1)"})})})]})},[Dc.TWITCH]:{displayName:"Twitch",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M20.8571 11.1428L17.4286 14.5714H14L11 17.5714V14.5714H7.14285V1.71426H20.8571V11.1428Z",fill:"white"}),e("path",{d:"M6.28571 0L2 4.28571V19.7143H7.14286V24L11.4286 19.7143H14.8571L22.5714 12V0H6.28571ZM20.8571 11.1429L17.4286 14.5714H14L11 17.5714V14.5714H7.14286V1.71429H20.8571V11.1429Z",fill:"#9146FF"}),e("path",{d:"M18.2857 4.71429H16.5714V9.85715H18.2857V4.71429Z",fill:"#9146FF"}),e("path",{d:"M13.5714 4.71429H11.8571V9.85715H13.5714V4.71429Z",fill:"#9146FF"})]})},[Dc.BITBUCKET]:{displayName:"Bitbucket",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M1.71397 2.00006C1.6111 1.99873 1.50919 2.01994 1.41539 2.06219C1.32159 2.10444 1.23817 2.16672 1.171 2.24464C1.10382 2.32256 1.05452 2.41424 1.02655 2.51324C0.998581 2.61225 0.992621 2.71617 1.00909 2.81772L4.00132 20.9826C4.03861 21.2049 4.15302 21.4069 4.32447 21.5532C4.49592 21.6995 4.71344 21.7808 4.93882 21.7826H19.2938C19.4627 21.7848 19.6269 21.7262 19.7562 21.6175C19.8856 21.5089 19.9717 21.3573 19.9987 21.1905L22.9909 2.82125C23.0074 2.7197 23.0014 2.61577 22.9734 2.51677C22.9455 2.41776 22.8962 2.32608 22.829 2.24816C22.7618 2.17024 22.6784 2.10797 22.5846 2.06572C22.4908 2.02346 22.3889 2.00226 22.286 2.00358L1.71397 2.00006ZM14.3138 15.1285H9.73203L8.49144 8.64712H15.424L14.3138 15.1285Z",fill:"#2684FF"}),e("path",{d:"M22.0389 8.64706H15.4236L14.3134 15.1285H9.73166L4.32167 21.55C4.49314 21.6982 4.71176 21.7807 4.93844 21.7826H19.2969C19.4659 21.7848 19.63 21.7262 19.7594 21.6175C19.8888 21.5088 19.9748 21.3573 20.0018 21.1905L22.0389 8.64706Z",fill:"url(#paint0_linear_8934_282)"}),e("defs",{children:r("linearGradient",{id:"paint0_linear_8934_282",x1:23.5685,y1:10.4621,x2:12.6358,y2:18.9948,gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:.18,stopColor:"#0052CC"}),e("stop",{offset:1,stopColor:"#2684FF"})]})})]})},[Dc.DISCORD]:{displayName:"Discord",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M20.3303 4.52336C18.7535 3.80145 17.0888 3.2893 15.3789 3C15.1449 3.41829 14.9332 3.84865 14.7446 4.28928C12.9232 4.01482 11.071 4.01482 9.24961 4.28928C9.06095 3.84869 8.84924 3.41834 8.61535 3C6.90433 3.29174 5.2386 3.80511 3.66019 4.52713C0.526644 9.16327 -0.322811 13.6843 0.101917 18.1411C1.937 19.4969 3.99098 20.5281 6.17458 21.1897C6.66626 20.5284 7.10134 19.8268 7.47519 19.0925C6.76511 18.8273 6.07975 18.5001 5.42706 18.1146C5.59884 17.9901 5.76684 17.8617 5.92918 17.7371C7.82837 18.6303 9.90124 19.0933 12 19.0933C14.0987 19.0933 16.1715 18.6303 18.0707 17.7371C18.235 17.8711 18.403 17.9995 18.5729 18.1146C17.9189 18.5007 17.2323 18.8285 16.5209 19.0944C16.8943 19.8284 17.3294 20.5293 17.8216 21.1897C20.007 20.5307 22.0626 19.5001 23.898 18.143C24.3963 12.9745 23.0467 8.49503 20.3303 4.52336ZM8.01318 15.4002C6.82961 15.4002 5.85179 14.3261 5.85179 13.0047C5.85179 11.6833 6.79563 10.5998 8.0094 10.5998C9.22318 10.5998 10.1934 11.6833 10.1727 13.0047C10.1519 14.3261 9.21941 15.4002 8.01318 15.4002ZM15.9867 15.4002C14.8013 15.4002 13.8272 14.3261 13.8272 13.0047C13.8272 11.6833 14.7711 10.5998 15.9867 10.5998C17.2024 10.5998 18.1651 11.6833 18.1444 13.0047C18.1236 14.3261 17.193 15.4002 15.9867 15.4002Z",fill:"#5865F2"})]})},[Dc.GITLAB]:{displayName:"GitLab",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M22.6338 9.38662L22.6029 9.30758L19.6085 1.49288C19.5476 1.33972 19.4397 1.20979 19.3004 1.12174C19.1609 1.03518 18.9983 0.993493 18.8344 1.0023C18.6705 1.01111 18.5133 1.06999 18.3839 1.171C18.256 1.2749 18.1632 1.41569 18.1182 1.57422L16.0964 7.75999H7.90937L5.88754 1.57422C5.84369 1.41483 5.75069 1.27333 5.62178 1.16985C5.49243 1.06885 5.3352 1.00996 5.17132 1.00116C5.00744 0.992348 4.8448 1.03404 4.70537 1.12059C4.56633 1.209 4.45855 1.33882 4.39722 1.49174L1.39712 9.303L1.36734 9.38204C0.936285 10.5083 0.883079 11.7442 1.21574 12.9034C1.5484 14.0625 2.2489 15.0821 3.21162 15.8084L3.22193 15.8164L3.24942 15.8359L7.81085 19.2518L10.0675 20.9597L11.4421 21.9976C11.6029 22.1197 11.7993 22.1858 12.0011 22.1858C12.203 22.1858 12.3994 22.1197 12.5602 21.9976L13.9348 20.9597L16.1914 19.2518L20.7804 15.8152L20.7918 15.8061C21.7524 15.0797 22.4512 14.0611 22.7834 12.9035C23.1156 11.746 23.0631 10.5118 22.6338 9.38662Z",fill:"#E24329"}),e("path",{d:"M22.6338 9.38663L22.6029 9.30759C21.1438 9.60707 19.7689 10.2251 18.5764 11.1175L12 16.0902C14.2395 17.7844 16.1891 19.2564 16.1891 19.2564L20.7781 15.8198L20.7895 15.8107C21.7515 15.0843 22.4514 14.0651 22.784 12.9065C23.1166 11.7479 23.0639 10.5127 22.6338 9.38663Z",fill:"#FC6D26"}),e("path",{d:"M7.81085 19.2564L10.0675 20.9643L11.4421 22.0022C11.6029 22.1243 11.7993 22.1903 12.0011 22.1903C12.203 22.1903 12.3994 22.1243 12.5602 22.0022L13.9348 20.9643L16.1914 19.2564C16.1914 19.2564 14.2395 17.7798 12 16.0902C9.76052 17.7798 7.81085 19.2564 7.81085 19.2564Z",fill:"#FCA326"}),e("path",{d:"M5.42246 11.1175C4.23089 10.2233 2.85628 9.60363 1.39712 9.30301L1.36734 9.38205C0.936285 10.5083 0.883079 11.7442 1.21574 12.9034C1.5484 14.0625 2.2489 15.0821 3.21162 15.8084L3.22193 15.8164L3.24942 15.8359L7.81085 19.2518C7.81085 19.2518 9.75823 17.7798 12 16.0856L5.42246 11.1175Z",fill:"#FC6D26"})]})},[Dc.TELEGRAM]:{displayName:"Telegram",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,r("g",{clipPath:"url(#clip0_11541_21172)",children:[e("path",{d:"M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23Z",fill:"url(#paint0_linear_11541_21172)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.97918 11.8839C9.18591 10.4868 11.3242 9.56571 12.3941 9.1207C15.449 7.85009 16.0837 7.62938 16.4974 7.62209C16.5884 7.62048 16.7919 7.64304 16.9237 7.74998C17.035 7.84028 17.0656 7.96226 17.0803 8.04787C17.0949 8.13348 17.1132 8.32851 17.0986 8.4809C16.9331 10.2203 16.2168 14.4412 15.8524 16.3893C15.6982 17.2137 15.3946 17.4901 15.1007 17.5171C14.4619 17.5759 13.9768 17.0949 13.3581 16.6894C12.39 16.0548 11.843 15.6597 10.9033 15.0404C9.81722 14.3247 10.5213 13.9314 11.1402 13.2885C11.3022 13.1203 14.1167 10.5603 14.1712 10.328C14.178 10.299 14.1843 10.1907 14.12 10.1335C14.0557 10.0764 13.9607 10.0959 13.8922 10.1115C13.7951 10.1335 12.2485 11.1558 9.25237 13.1782C8.81337 13.4797 8.41573 13.6266 8.05946 13.6189C7.66671 13.6104 6.9112 13.3968 6.34956 13.2142C5.66068 12.9903 5.11318 12.8719 5.16085 12.4916C5.18569 12.2935 5.45846 12.091 5.97918 11.8839Z",fill:"white"})]}),r("defs",{children:[r("linearGradient",{id:"paint0_linear_11541_21172",x1:1101,y1:1,x2:1101,y2:2184.68,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#2AABEE"}),e("stop",{offset:1,stopColor:"#229ED9"})]}),e("clipPath",{id:"clip0_11541_21172",children:e("rect",{width:22,height:22,fill:"white",transform:"translate(1 1)"})})]})]})}},zc={[Dc.APPLE]:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M17.4523 11.6262C17.4417 9.82294 18.2587 8.46385 19.9087 7.46173C18.9859 6.13967 17.5898 5.41253 15.7495 5.27239C14.007 5.1349 12.1006 6.28774 11.4025 6.28774C10.6648 6.28774 8.97785 5.31999 7.6505 5.31999C4.91119 5.36229 2 7.50403 2 11.8616C2 13.1492 2.23533 14.4792 2.70598 15.8489C3.33528 17.6522 5.60395 22.0705 7.97044 21.9991C9.20789 21.9701 10.0831 21.1213 11.6934 21.1213C13.2561 21.1213 14.0652 21.9991 15.4454 21.9991C17.833 21.9648 19.8849 17.9483 20.4825 16.1398C17.2804 14.63 17.4523 11.7188 17.4523 11.6262ZM14.6733 3.56164C16.0139 1.96988 15.8923 0.520893 15.8526 0C14.668 0.0687473 13.2984 0.806459 12.5183 1.71339C11.659 2.68643 11.154 3.88951 11.2624 5.24595C12.5421 5.34378 13.7108 4.68539 14.6733 3.56164Z",fill:"currentColor"})]})},[Dc.TWITTER]:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("g",{clipPath:"url(#clip0_10091_39020)",children:e("path",{d:"M13.6408 10.4643L20.9224 2H19.1969L12.8743 9.34942L7.82442 2H2L9.63638 13.1136L2 21.9897H3.72561L10.4025 14.2285L15.7355 21.9897H21.5599L13.6404 10.4643H13.6408ZM11.2773 13.2115L10.5036 12.1049L4.34737 3.29901H6.9978L11.966 10.4056L12.7397 11.5123L19.1977 20.7498H16.5473L11.2773 13.212V13.2115Z",fill:"currentColor"})}),e("defs",{children:e("clipPath",{id:"clip0_10091_39020",children:e("rect",{width:19.5599,height:20,fill:"currentColor",transform:"translate(2 2)"})})})]})},[Dc.GITHUB]:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3159 6.36074e-06C9.39213 -0.00296524 6.5629 1.03535 4.33518 2.92889C2.10746 4.82242 0.626879 7.4474 0.158754 10.3334C-0.30937 13.2194 0.265566 16.1778 1.78053 18.6784C3.29549 21.179 5.65146 23.0584 8.42622 23.9798C9.04554 24.0931 9.26457 23.7079 9.26457 23.3831C9.26457 23.0584 9.26457 22.3182 9.26457 21.291C5.8281 22.0387 5.10304 19.637 5.10304 19.637C4.87506 18.8926 4.39073 18.2531 3.73601 17.8319C2.62576 17.0766 3.82664 17.0766 3.82664 17.0766C4.21583 17.1316 4.5874 17.2744 4.91323 17.4942C5.23905 17.7141 5.51058 18.0052 5.70726 18.3455C5.87437 18.6485 6.09967 18.9155 6.37023 19.1312C6.64079 19.347 6.95129 19.5071 7.28391 19.6026C7.61653 19.698 7.96472 19.7268 8.3085 19.6874C8.65228 19.6479 8.98488 19.541 9.28723 19.3726C9.33463 18.7513 9.60249 18.1674 10.0425 17.7262C7.30843 17.4165 4.43841 16.3591 4.43841 11.684C4.41963 10.4627 4.87123 9.28099 5.6997 8.38349C5.33072 7.3216 5.37385 6.15988 5.82055 5.12828C5.82055 5.12828 6.85526 4.79596 9.20415 6.38958C11.2212 5.83579 13.3501 5.83579 15.3671 6.38958C17.716 4.79596 18.7432 5.12828 18.7432 5.12828C19.1961 6.14897 19.25 7.30235 18.8942 8.36083C19.7227 9.25834 20.1743 10.4401 20.1555 11.6614C20.1555 16.3893 17.278 17.424 14.5363 17.7035C14.8303 17.999 15.0573 18.3543 15.202 18.7452C15.3466 19.1361 15.4055 19.5536 15.3747 19.9693C15.3747 21.6158 15.3747 22.9451 15.3747 23.3454C15.3747 23.7456 15.5937 24.0553 16.2206 23.9345C18.9638 22.9888 21.2844 21.1041 22.7727 18.6132C24.2609 16.1223 24.8208 13.1856 24.3536 10.3219C23.8864 7.45814 22.4221 4.85167 20.2194 2.96295C18.0167 1.07422 15.2173 0.024771 12.3159 6.36074e-06Z",fill:"currentColor"})]})}},Bc=[".cu",".ir",".kp",".sy",".gob.ve"];var Vc=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.ConnectionLost="CONNECTION_WAS_LOST",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(Vc||{}),Hc=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(Hc||{}),Wc=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e[e.DpopInvalidated=-10019]="DpopInvalidated",e))(Wc||{}),Uc=(e=>(e.PROVIDER="magic_3pw_provider",e.ADDRESS="magic_3pw_address",e.CHAIN_ID="magic_3pw_chainId",e))(Uc||{}),Yc=(e=>(e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e.Web3ModalSelected="web3modal_selected",e))(Yc||{}),Zc=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e.GetMultichainPublicAddress="magic_get_multichain_public_address",e.Sign7702Authorization="magic_wallet_sign_7702_authorization",e))(Zc||{}),Gc=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e.MAGIC_PONG="MAGIC_PONG",e.MAGIC_POPUP_RESPONSE="MAGIC_POPUP_RESPONSE",e.MAGIC_POPUP_OAUTH_VERIFY_RESPONSE="MAGIC_POPUP_OAUTH_VERIFY_RESPONSE",e.MAGIC_THIRD_PARTY_WALLET_REQUEST="MAGIC_THIRD_PARTY_WALLET_REQUEST",e))(Gc||{}),qc=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e.MAGIC_THIRD_PARTY_WALLET_RESPONSE="MAGIC_THIRD_PARTY_WALLET_RESPONSE",e.MAGIC_THIRD_PARTY_WALLET_UPDATE="MAGIC_THIRD_PARTY_WALLET_EVENT",e.MAGIC_PING="MAGIC_PING",e))(qc||{}),Xc=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(Xc||{}),Kc=(e=>(e.Retry="retry",e))(Kc||{}),Qc=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(Qc||{}),Jc=(e=>(e.VerifyEmailOtp="verify-email-otp",e.VerifyMFACode="verify-mfa-code",e.LostDevice="lost-device",e.VerifyRecoveryCode="verify-recovery-code",e.Cancel="cancel",e))(Jc||{}),$c=(e=>(e.VerifySmsOtp="verify-sms-otp",e.Cancel="cancel",e.Retry="retry",e))($c||{}),ed=(e=>(e.SmsOTPSent="sms-otp-sent",e.InvalidSmsOtp="invalid-sms-otp",e.ExpiredSmsOtp="expired-sms-otp",e))(ed||{}),rd=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.InvalidMfaOtp="invalid-mfa-otp",e.ExpiredEmailOtp="expired-email-otp",e.MfaSentHandle="mfa-sent-handle",e.RecoveryCodeSentHandle="recovery-code-sent-handle",e.InvalidRecoveryCode="invalid-recovery-code",e.RecoveryCodeSuccess="recovery-code-success",e.LoginThrottled="login-throttled",e.MaxAttemptsReached="max-attempts-reached",e))(rd||{}),td=(e=>(e.Retry="device-retry",e))(td||{}),ad=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(ad||{}),nd=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e.VerifyMFACode="Recency/verify-mfa-code",e))(nd||{}),od=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(od||{}),id=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(id||{}),ld=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(ld||{}),sd=(e=>(e.IDTokenCreated="Auth/id-token-created",e))(sd||{}),cd=(e=>(e.Cancel="Farcaster/cancel",e))(cd||{}),dd=(e=>(e.MFASecretGenerated="mfa-secret-generated",e.InvalidMFAOtp="invalid-mfa-otp",e.MFARecoveryCodes="mfa-recovery-codes",e))(dd||{}),ud=(e=>(e.VerifyMFACode="verify-mfa-code",e.Cancel="cancel-mfa-setup",e))(ud||{}),vd=(e=>(e.MFACodeRequested="mfa-code-requested",e.InvalidMFAOtp="invalid-mfa-otp",e.InvalidRecoveryCode="invalid-recovery-code",e))(vd||{}),pd=(e=>(e.VerifyMFACode="verify-mfa-code",e.LostDevice="lost-device",e.Cancel="cancel-mfa-disable",e))(pd||{}),fd=(e=>(e.Harmony="HARMONY",e))(fd||{}),gd=(e=>(e.ClosedByUser="closed-by-user",e))(gd||{}),hd=(e=>(e.ClosedByUser="closed-by-user-on-received",e))(hd||{}),md=(e=>(e.EnterNewPhoneNumber="enter-new-phone-number",e.EnterOtpCode="enter-otp-code",e.RecoveryFactorAlreadyExists="recovery-factor-already-exists",e.MalformedPhoneNumber="malformed-phone-number",e.InvalidOtpCode="invalid-otp-code",e.RecoveryFactorUpdated="recovery-factor-updated",e.RecoveryFactorDeleted="recovery-factor-deleted",e))(md||{}),bd=(e=>(e.SendNewPhoneNumber="send-new-phone-number",e.SendOtpCode="send-otp-code",e.Cancel="cancel",e.StartEditPhoneNumber="start-edit-phone-number",e))(bd||{}),Cd=(e=>(e.PhoneNumber="phone_number",e))(Cd||{}),yd=(e=>(e.SmsOtpSent="sms-otp-sent",e.LoginThrottled="login-throttled",e.InvalidSmsOtp="invalid-sms-otp",e.SmsVerified="sms-verified",e.AccountRecovered="account-recovered",e.UpdateEmailRequired="update-email-required",e))(yd||{}),wd=(e=>(e.Cancel="cancel",e.VerifyOtp="verify-otp-code",e.ResendSms="resend-sms-otp",e.UpdateEmail="update-email",e))(wd||{}),xd=(e=>(e.Success="nft-checkout-success",e.Failure="nft-checkout-failure",e.Initiated="nft-checkout-initiated",e.Disconnect="disconnect",e))(xd||{}),Ed=(e=>(e.WalletInfoFetched="Wallet/wallet-info-fetched",e))(Ed||{}),kd=(e=>(e.CloseMagicWindow="close-magic-window",e))(kd||{}),Ld=(e=>(e.PopupUrl="popup-url",e))(Ld||{}),Id=(e=>(e.PopupEvent="popup-event",e.Cancel="cancel",e))(Id||{});const Sd=[F,j];var Md;!function(e){e.GenerateNonce="magic_siwe_generate_nonce",e.Login="magic_auth_login_with_siwe"}(Md||(Md={}));const Td="magic-widget";var _d,Pd;!function(e){e.Popup="magic_oauth_login_with_popup"}(_d||(_d={})),function(e){e.GetConfig="magic_client_get_config"}(Pd||(Pd={}));let Ad=null;function Nd(){if(!Ad)throw new Error("WalletKitExtension has not been initialized. Make sure to create a Magic instance with WalletKitExtension before rendering MagicWidget.");return Ad}class Rd extends _.Internal{name="walletKit";config={};projectId;wagmiConfig;wagmiAdapter;clientConfig=null;configPromise=null;eventsListenerAdded=!1;reconnectPromise=null;constructor(e){super();const{projectId:r,wagmiAdapter:t,wagmiConfig:a}=function(e){const r=e??"ce9c27dd61e602ccdc9c536b6d624c63",t=new D({projectId:r,networks:Sd});return{projectId:r,wagmiAdapter:t,wagmiConfig:t.wagmiConfig}}(e?.projectId);this.projectId=r,this.wagmiAdapter=t,this.wagmiConfig=a}init(e){super.init(e),Ad=this;localStorage.getItem(Uc.PROVIDER)===Td&&(this.sdk.thirdPartyWallets.isConnected=!0,this.restoreWalletConnection())}async restoreWalletConnection(){if(this.reconnectPromise)return this.reconnectPromise;if(A(this.wagmiConfig).isConnected)return void this.setupEip1193EventListeners();return localStorage.getItem(Uc.PROVIDER)===Td?(this.reconnectPromise=(async()=>{try{await N(this.wagmiConfig);A(this.wagmiConfig).isConnected&&this.setupEip1193EventListeners()}catch(e){console.error("Failed to reconnect wagmi wallet:",e)}})(),this.reconnectPromise):void 0}setConnectedState(e,r=1){localStorage.setItem(Uc.PROVIDER,Td),localStorage.setItem(Uc.ADDRESS,e),localStorage.setItem(Uc.CHAIN_ID,r.toString()),this.sdk.thirdPartyWallets.isConnected=!0,this.setupEip1193EventListeners()}clearConnectedState(){this._cleanupWatcher&&this._cleanupWatcher(),this.sdk.thirdPartyWallets.resetThirdPartyWalletState()}async getWalletProvider(){try{await this.restoreWalletConnection();const e=A(this.wagmiConfig);if(!e.isConnected||!e.connector)return null;return await R(this.wagmiConfig)}catch(e){return console.error("Failed to get wallet provider:",e),null}}async walletRequest(e){const r=await this.getWalletProvider();if(!r)throw new P({code:Wc.InternalError,message:"No wallet connected. Please connect a wallet first."});return r.request({method:e.method,params:e.params})}setupEip1193EventListeners(){if(this.eventsListenerAdded)return;this.eventsListenerAdded=!0;const e=O(this.wagmiConfig,{onChange:(r,t)=>{const a=localStorage.getItem(Uc.ADDRESS),n=localStorage.getItem(Uc.CHAIN_ID);if(!r.isConnected&&a)return this.handleWalletDisconnect(),this.eventsListenerAdded=!1,void e();r.address&&r.address!==a&&(localStorage.setItem(Uc.ADDRESS,r.address),this.sdk.rpcProvider.emit("accountsChanged",[r.address]),this.dispatchWalletUpdate({chain:r.chain,address:r.address,addresses:r.addresses,updatedField:"address"})),r.chainId&&r.chainId.toString()!==n&&(localStorage.setItem(Uc.CHAIN_ID,r.chainId.toString()),this.sdk.rpcProvider.emit("chainChanged",r.chainId),this.dispatchWalletUpdate({chain:r.chain,address:r.address,addresses:r.addresses,updatedField:"chain"}))}});this._cleanupWatcher=()=>{e(),this.eventsListenerAdded=!1}}async handleWalletDisconnect(){this.sdk.thirdPartyWallets.resetThirdPartyWalletState(),this.sdk.rpcProvider.emit("accountsChanged",[]);try{const e=this.utils.createJsonRpcRequestPayload(Zc.Logout,[]);await this.request(e)}catch(e){console.error("Failed to invalidate Magic session after wallet disconnect:",e)}}async dispatchWalletUpdate(e){try{this.sdk.overlay.postThirdPartyWalletUpdate(e)}catch(e){console.error("Failed to post third party wallet event:",e)}}async generateNonce(e){const r=this.utils.createJsonRpcRequestPayload(Md.GenerateNonce,[e]);return this.request(r)}async generateMessage(e){const r=await this.generateNonce({address:e.address}),t=function(e){const{domain:r,address:t,statement:a,uri:n,version:o,chainId:i,nonce:l,issuedAt:s}=e;return`${r} wants you to sign in with your Ethereum account:\n${t}\n\n${a}\n\nURI: ${n}\nVersion: ${o}\nChain ID: ${i}\nNonce: ${l}\nIssued At: ${s}`}({domain:window.location.host,address:e.address,statement:e.statement||"By signing, you are proving you own this wallet and logging in.",uri:window.location.origin,version:"1",chainId:e.chainId||1,nonce:r,issuedAt:(new Date).toISOString()});return t}async login(e){const r=this.utils.createJsonRpcRequestPayload(Md.Login,[e]);return this.request(r)}async loginWithPopup(e){const r=this.utils.createJsonRpcRequestPayload(_d.Popup,[{provider:e,returnTo:window.location.href,apiKey:this.sdk.apiKey,platform:"web"}]),t=await this.request(r);if(t.error){const e=t;throw new Error(e.error_description||e.error)}return t}async fetchConfig(){if(this.clientConfig)return this.clientConfig;if(this.configPromise)return this.configPromise;const e=this.utils.createJsonRpcRequestPayload(Pd.GetConfig,[]);return this.configPromise=this.request(e),this.clientConfig=await this.configPromise,this.clientConfig}getConfig(){return this.clientConfig}loginWithEmailOTP(e){return this.sdk.auth.loginWithEmailOTP({email:e,showUI:!1,deviceCheckUI:!1})}}const Od=f(null);function Dd({children:e,wallets:r=[],onSuccess:t,onError:a,onClose:o,closeOnSuccess:i=!1}){const l={wallets:r,handleSuccess:d(e=>{t?.(e),i&&o&&setTimeout(()=>{o()},2e3)},[t,i,o]),handleError:d(e=>{a?.(e)},[a]),handleClose:o?()=>{o()}:void 0};return n.createElement(Od.Provider,{value:l},e)}function Fd(){const e=u(Od);if(!e)throw new Error("useWidgetConfig must be used within a WidgetConfigProvider");return e}const jd=f(null);function zd({children:e,dispatch:r}){const{handleSuccess:t,handleError:a}=Fd(),o=c(null),i=c(null),l=d(e=>{i.current=e,r({type:"EMAIL_OTP_START",email:e});try{const n=Nd().loginWithEmailOTP(e);o.current=n,n.on(rd.EmailOTPSent,()=>{r({type:"EMAIL_OTP_SENT"})}),n.on(rd.InvalidEmailOtp,()=>{r({type:"EMAIL_OTP_INVALID"})}),n.on(rd.ExpiredEmailOtp,()=>{r({type:"EMAIL_OTP_EXPIRED"})}),n.on(rd.LoginThrottled,()=>{r({type:"LOGIN_ERROR",error:"Too many login attempts. Please try again later."})}),n.on(rd.MaxAttemptsReached,()=>{r({type:"EMAIL_OTP_MAX_ATTEMPTS_REACHED"})}),n.on(ad.DeviceNeedsApproval,()=>{r({type:"DEVICE_NEEDS_APPROVAL"})}),n.on(ad.DeviceVerificationEmailSent,()=>{r({type:"DEVICE_VERIFICATION_SENT"})}),n.on(ad.DeviceVerificationLinkExpired,()=>{r({type:"DEVICE_VERIFICATION_EXPIRED"})}),n.on(ad.DeviceApproved,()=>{r({type:"DEVICE_APPROVED"})}),n.on(rd.MfaSentHandle,()=>{r({type:"MFA_REQUIRED"})}),n.on(rd.InvalidMfaOtp,()=>{r({type:"MFA_INVALID"})}),n.on(rd.InvalidRecoveryCode,()=>{r({type:"RECOVERY_CODE_INVALID"})}),n.then(e=>{e&&(r({type:"LOGIN_SUCCESS"}),t({method:"email",didToken:e}))}).catch(e=>{const t=e instanceof Error?e:new Error(e?.message||"Login failed");r({type:"LOGIN_ERROR",error:t.message}),a(t)})}catch(e){const t=e instanceof Error?e:new Error("Failed to start login");r({type:"LOGIN_ERROR",error:t.message}),a(t)}},[r,t,a]),s=d(e=>{o.current&&(r({type:"EMAIL_OTP_VERIFYING"}),o.current.emit(Jc.VerifyEmailOtp,e))},[r]),u=d(e=>{o.current&&(r({type:"MFA_VERIFYING"}),o.current.emit(Jc.VerifyMFACode,e))},[r]),v=d(()=>{o.current&&(r({type:"LOST_DEVICE"}),o.current.emit(Jc.LostDevice))},[r]),p=d(e=>{o.current&&(r({type:"RECOVERY_CODE_VERIFYING"}),o.current.emit(Jc.VerifyRecoveryCode,e))},[r]),f=d(()=>{o.current&&o.current.emit(Jc.Cancel),o.current=null,i.current=null,r({type:"GO_TO_LOGIN"})},[r]),g=d(()=>{o.current&&o.current.emit(td.Retry)},[]),h=d(()=>{const e=i.current;if(o.current&&o.current.emit(Jc.Cancel),o.current=null,i.current=null,!e)return r({type:"LOGIN_ERROR",error:"Internal error: No email found"});l(e)},[l]),m={startEmailLogin:l,submitOTP:s,submitMFA:u,lostDevice:v,submitRecoveryCode:p,cancelLogin:f,retryDeviceVerification:g,resendEmailOTP:h,email:i.current};return n.createElement(jd.Provider,{value:m},e)}function Bd(){const e=u(jd);if(!e)throw new Error("useEmailLogin must be used within an EmailLoginProvider");return e}const Vd=()=>{const{startEmailLogin:e}=Bd(),[r,t]=s(""),[a,o]=s(!1),[i,l]=s(null),[c,d]=s(!0),u=Nd().getConfig(),v="dark"===u?.theme.themeColor;return n.createElement("form",{onSubmit:t=>{var a;(t.preventDefault(),(a=r)&&/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a))?!function(e){if(!e)return!1;const r=e.toLowerCase();return!!Bc.find(e=>r.endsWith(e))}(r)?(d(!0),o(!0),e(r)):l(Oc.SanEmail):l(Oc.MalformedEmail)},className:qe({w:"full"})},n.createElement(ze,{w:"full",maxW:"25rem"},n.createElement(gs,{"aria-label":"email input",value:r,onChange:e=>{l(null),d(!e.length),t(e.trim())},placeholder:"Email address"},n.createElement(gs.TypeIcon,null,n.createElement(fl,{...v?{color:lr("colors.ink.70")}:{}})),n.createElement(gs.ActionIcon,{onClick:()=>{}},n.createElement(bi,{"aria-label":"login-submit-button",variant:"text",textStyle:"neutral",disabled:c,validating:a,type:"submit"},n.createElement(bi.LeadingIcon,{color:lr("colors.text.tertiary")},n.createElement(sl,null)))))),i&&n.createElement(Do,{variant:"error",size:"sm",styles:{textAlign:"center"}},i))},Hd=()=>n.createElement(ml,{className:xe({rotate:"90deg"})}),Wd=({providers:e,onPress:r,dispatch:t})=>{const a=Nd().getConfig(),o="dark"===a?.theme.themeColor,i=e.length>5,l=i?e.slice(0,4):e,s=e.length>1;return n.createElement(Qe,{gap:2,w:"full"},l.map(e=>n.createElement(Nc,{key:e,hideLabel:s,label:`Continue with ${jc[e].displayName}`,Icon:o&&zc[e]||jc[e].Icon,onPress:()=>r(e)})),i&&n.createElement(Nc,{key:"more-providers",hideLabel:s,label:"More options",Icon:Hd,onPress:()=>{t({type:"GO_TO_ADDITIONAL_PROVIDERS"})}}))};function Ud({showHeaderText:e=!0,onPressBack:r}){const{handleClose:t}=Fd();return n.createElement(Wi,{position:"relative"},!!r&&n.createElement(Wi.LeftAction,null,n.createElement(bi,{size:"sm",variant:"neutral",onPress:r},n.createElement(bi.LeadingIcon,null,n.createElement(ll,null)))),e&&n.createElement(Wi.Content,null,n.createElement(Do,{size:"sm",fontColor:"text.tertiary"},"Log in or sign up")),t&&n.createElement(Wi.RightAction,null,n.createElement(bi,{size:"sm",variant:"neutral",onPress:t},n.createElement(bi.TrailingIcon,null,n.createElement(bo,null)))))}const Yd=({dispatch:e})=>{const r=Nd().getConfig(),{wallets:t}=Fd(),{primary:a,social:o}=r?.authProviders??{},i=a?.includes("email"),l=o?.map(e=>e)??[],s=(i||l.length>0)&&t.length>0;return n.createElement(n.Fragment,null,n.createElement(Ud,null),n.createElement(Xe,{w:"full",gap:10,mt:2,px:7},r?.theme.assetUri&&n.createElement("img",{src:r.theme.assetUri,alt:"Logo",width:80,height:80}),n.createElement(Xe,{width:"full",maxWidth:"25rem",gap:4},i&&n.createElement(Vd,null),l.length>0&&n.createElement(Wd,{providers:Object.values(l),onPress:r=>{e({type:"SELECT_PROVIDER",provider:r})},dispatch:e}),s&&n.createElement(Qe,{mb:3,w:"full"},n.createElement(or,{color:"surface.quaternary"}),n.createElement(Do,{"aria-label":"or",fontColor:"text.tertiary"},"or"),n.createElement(or,{color:"surface.quaternary"})),t.length>0&&n.createElement(We,{gap:2,w:"full",direction:s?"row":"column",justify:"center"},t.map(r=>n.createElement(Nc,{key:r,hideLabel:t.length>1&&s,label:Fc[r].displayName,Icon:Fc[r].Icon,onPress:()=>(r=>{e({type:"SELECT_WALLET",provider:r})})(r)}))))))};function Zd(e){const r=Object.values(Dc).includes(e),t=r?jc[e]:Fc[e],{displayName:a,Icon:n}=t;return r?{title:`Log in with ${a}`,description:`Continue in ${a}`,Icon:n}:{title:`Continue in ${a}`,description:`Approve request in ${a}`,Icon:n}}const Gd={[Rc.METAMASK]:"metaMaskSDK",[Rc.COINBASE]:"coinbaseWalletSDK",[Rc.WALLETCONNECT]:"walletConnect",[Rc.PHANTOM]:"app.phantom",[Rc.RABBY]:"io.rabby"},qd={[Rc.METAMASK]:"metamask",[Rc.COINBASE]:"coinbase",[Rc.WALLETCONNECT]:"walletconnect",[Rc.PHANTOM]:"phantom",[Rc.RABBY]:"rabby"};let Xd=null;function Kd(e){Xd=e}function Qd(){return Xd}const Jd=xe({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),$d=({onPressBack:e,title:r,description:t,Icon:a,isPending:o,errorMessage:i})=>n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:o||i?e:void 0,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4},n.createElement(ze,{position:"relative",h:20,w:20},o&&n.createElement(ko,{size:80,strokeWidth:8,neutral:!0,progress:40}),o?n.createElement(a,{width:36,height:36,className:Jd}):i?n.createElement(vl,{width:36,height:36,color:lr("colors.negative.darker"),className:Jd}):n.createElement(yo,{width:36,height:36,color:lr("colors.brand.base"),className:Jd})),n.createElement(Xe,{gap:2,px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},r),n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},t),i&&n.createElement(Do,{variant:"error",styles:{textAlign:"center"}},i)))),eu=({provider:e,state:r,dispatch:t})=>{if("wallet_pending"!==r.view)return null;const{connectWallet:a,isPending:o,error:l,address:u,isConnectedToSelectedProvider:p}=function(e){const{connect:r,connectors:t,isPending:a}=x(),{address:n,isConnected:o,connector:l}=E(),{disconnect:c}=k(),[u,v]=s(null),p=i(()=>{if(!o||!l)return!1;const r=Gd[e],t=qd[e],a=l.name.toLowerCase(),n=l.id===r,i=a===t||a.startsWith(t);return n||i},[o,l,e]),f=d(async()=>{v(null);try{const a=Gd[e],n=qd[e],i=t.find(e=>e.id===a),l=t.find(e=>{const r=e.name.toLowerCase();return r===n||r.startsWith(n)}),s=i||l;if(!s)throw new Error(`${e} connector not found. Please install the wallet extension.`);o&&(c(),await new Promise(e=>setTimeout(e,100))),await new Promise((e,t)=>{r({connector:s},{onSuccess:()=>e(),onError:e=>t(e)})})}catch(r){const t=r instanceof Error?r:new Error(`Failed to connect to ${e}`);throw v(t),t}},[r,t,e,o,c]);return{connectWallet:f,isPending:a,error:u,address:n,isConnected:o,isConnectedToSelectedProvider:p,disconnect:c}}(e),{isConnected:f}=E(),g=e===Rc.WALLETCONNECT,h=g&&r.walletAddress||u,{performSiweLogin:m,isLoading:b,error:C,isSuccess:y}=function(){const{signMessageAsync:e}=L(),r=I(),{handleSuccess:t,handleError:a}=Fd(),[n,o]=s(!1),[i,l]=s(null),[c,u]=s(!1),[v,p]=s(null);return{performSiweLogin:d(async(n,i)=>{o(!0),l(null),u(!1),p(null);try{const a=Nd(),l=i||r||1,s=await a.generateMessage({address:n,chainId:l});let c;const d=Qd();if(d&&d.accounts&&d.accounts[0]?.toLowerCase()===n.toLowerCase()){if(!d.session||!d.session.topic)throw new Error("WalletConnect session not established");const e=z(s);c=await d.request({method:"personal_sign",params:[e,n]})}else c=await e({message:s});return await a.login({message:s,signature:c}),a.setConnectedState(n,l),u(!0),p(n),o(!1),t({method:"wallet",walletAddress:n}),n}catch(e){const r=e instanceof Error?e:new Error("SIWE login failed");throw l(r),o(!1),a(r),r}},[e,r,t,a]),isLoading:n,error:i,isSuccess:c,walletAddress:v}}(),{title:w,description:S,Icon:M}=Zd(e),T=c(!1),_=c(null),[P,A]=s(null);v(()=>{if(!T.current&&!g&&e&&"wallet_pending"===r.view){if(T.current=!0,p&&h)return;a().catch(e=>{const r=(e?.message||"").toLowerCase();r.includes("connector not connected")||r.includes("connectornotconnectederror")||(r.includes("user rejected")||r.includes("user denied")||r.includes("rejected the request")||r.includes("user cancelled")||r.includes("user canceled")?t({type:"GO_TO_LOGIN"}):A(e?.message||"Failed to connect wallet"))})}},[a,p,h,e,g]),v(()=>{if("wallet_pending"!==r.view)return;const e=g?Qd():null,a=g&&h&&e&&e.session,n=g&&h&&r.walletAddress&&f&&!e;(a||n||p&&h)&&_.current!==h&&!b&&(_.current=h,A(null),m(h).catch(e=>{const r=(e?.message||"").toLowerCase();r.includes("connector not connected")||r.includes("connectornotconnectederror")||(r.includes("user rejected")||r.includes("user denied")||r.includes("rejected the request")||r.includes("user cancelled")||r.includes("user canceled")?t({type:"GO_TO_LOGIN"}):A(e?.message||"SIWE login failed"))}))},[p,h,b,m,e,g,r.walletAddress,f]),v(()=>{l&&T.current&&!g&&A(l.message)},[l,g]),v(()=>{if(C&&_.current){const e=(C.message||"").toLowerCase();if(g&&(e.includes("connector not connected")||e.includes("connectornotconnectederror")))return;A(C.message)}},[C,g]);const N=!P&&(!g&&o||b||!y&&!l&&!C);return n.createElement($d,{onPressBack:()=>t({type:"GO_TO_LOGIN"}),title:w,description:S,Icon:M,isPending:N,errorMessage:P})},ru={view:"login",emailLoginStatus:"idle"};function tu(e,r){switch(r.type){case"GO_TO_LOGIN":return{...ru,selectedProvider:void 0,walletAddress:void 0,email:void 0,error:void 0};case"EMAIL_OTP_START":return{...e,email:r.email,emailLoginStatus:"sending",error:void 0};case"EMAIL_OTP_SENT":return{...e,view:"email_otp_pending",emailLoginStatus:"otp_sent",error:void 0};case"EMAIL_OTP_VERIFYING":return{...e,emailLoginStatus:"verifying_otp",error:void 0};case"EMAIL_OTP_INVALID":return{...e,emailLoginStatus:"invalid_otp",error:"Invalid code. Please try again."};case"EMAIL_OTP_EXPIRED":return{...e,emailLoginStatus:"expired_otp",error:"Code expired. Please request a new one."};case"EMAIL_OTP_MAX_ATTEMPTS_REACHED":return{...e,emailLoginStatus:"max_attempts_reached",error:"Max attempts reached. Please request a new code."};case"DEVICE_NEEDS_APPROVAL":return{...e,view:"device_verification",emailLoginStatus:"device_needs_approval",error:void 0};case"DEVICE_VERIFICATION_SENT":return{...e,view:"device_verification",emailLoginStatus:"device_verification_sent",error:void 0};case"DEVICE_VERIFICATION_EXPIRED":return{...e,emailLoginStatus:"device_verification_expired",error:"Verification link expired. Please try again."};case"DEVICE_APPROVED":return{...e,emailLoginStatus:"device_approved",error:void 0};case"MFA_REQUIRED":return{...e,view:"mfa_pending",emailLoginStatus:"mfa_required",error:void 0};case"MFA_VERIFYING":return{...e,emailLoginStatus:"mfa_verifying",error:void 0};case"MFA_INVALID":return{...e,emailLoginStatus:"mfa_invalid",error:"Invalid code. Please try again."};case"LOST_DEVICE":return{...e,view:"recovery_code",emailLoginStatus:"recovery_code",error:void 0};case"RECOVERY_CODE_VERIFYING":return{...e,emailLoginStatus:"recovery_code_verifying",error:void 0};case"RECOVERY_CODE_INVALID":return{...e,emailLoginStatus:"recovery_code",error:"Invalid recovery code. Please try again."};case"LOST_RECOVERY_CODE":return{...e,view:"lost_recovery_code",emailLoginStatus:"lost_recovery_code",error:void 0};case"LOGIN_SUCCESS":return{...e,view:"login_success",emailLoginStatus:"success",error:void 0};case"LOGIN_ERROR":return{...e,emailLoginStatus:"error",error:r.error};case"RESET_EMAIL_ERROR":return{...e,error:void 0};case"SELECT_WALLET":{const t=r.provider===Rc.WALLETCONNECT||"walletconnect"===r.provider.toLowerCase()?"walletconnect_pending":"wallet_pending";return{...e,view:t,selectedProvider:r.provider,error:void 0}}case"WALLETCONNECT_CONNECTED":return{...e,view:"wallet_pending",walletAddress:r.address,selectedProvider:Rc.WALLETCONNECT};case"SELECT_PROVIDER":return{...e,view:"oauth_pending",selectedProvider:r.provider,error:void 0};case"GO_TO_ADDITIONAL_PROVIDERS":return{...e,view:"additional_providers",error:void 0};default:return e}}const au=({provider:e,dispatch:r})=>{const{title:t,description:a,Icon:o}=Zd(e),{performOAuthLogin:i,isLoading:l,error:u,isSuccess:p}=function(){const{handleSuccess:e,handleError:r}=Fd(),[t,a]=s(!1),[n,o]=s(null),[i,l]=s(!1),[c,u]=s(null);return{performOAuthLogin:d(async t=>{a(!0),o(null),l(!1),u(null);try{const r=Nd(),n=await r.loginWithPopup(t);return l(!0),u(n),a(!1),e({method:"oauth",magic:n.magic,oauth:n.oauth}),n}catch(e){const t=e instanceof Error?e:new Error("OAuth login failed");throw o(t),a(!1),r(t),t}},[e,r]),isLoading:t,error:n,isSuccess:i,result:c}}(),f=c(!1),[g,h]=s(null);v(()=>{f.current||(f.current=!0,i(e).catch(e=>{const t=(e?.message||"").toLowerCase();t.includes("user rejected")||t.includes("user denied")||t.includes("access_denied")||t.includes("user closed")||t.includes("popup closed")||t.includes("cancelled")||t.includes("canceled")?r({type:"GO_TO_LOGIN"}):h(e?.message||"OAuth login failed")}))},[i,e,r]),v(()=>{if(u&&f.current){const e=(u.message||"").toLowerCase();e.includes("user rejected")||e.includes("user denied")||e.includes("access_denied")||e.includes("cancelled")||e.includes("canceled")||h(u.message)}},[u]);const m=!g&&(l||!p&&!u);return n.createElement($d,{onPressBack:()=>r({type:"GO_TO_LOGIN"}),title:t,description:a,Icon:o,isPending:m,errorMessage:g})};function nu({dispatch:e}){const r=Nd().getConfig(),t="dark"===r?.theme.themeColor,a=r?.authProviders?.social??[];return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:()=>{e({type:"GO_TO_LOGIN"})},showHeaderText:!1}),n.createElement(Xe,{w:"full"},n.createElement(ze,{mt:4,mb:2,overflowY:"auto",w:"full",px:4,scrollbarWidth:"thin",scrollbarColor:"rgba(143, 147, 153, 0.4) transparent",className:xe({"&::-webkit-scrollbar":{backgroundColor:"transparent"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"}})},n.createElement(Ye,{gap:2,maxH:"384px",w:"full",px:2},a.map(r=>n.createElement(Nc,{key:r,label:jc[r].displayName,Icon:t&&zc[r]||jc[r].Icon,onPress:()=>(r=>{e({type:"SELECT_PROVIDER",provider:r})})(r)}))))))}const ou=({state:e,dispatch:r})=>{const{submitOTP:t,cancelLogin:a,resendEmailOTP:o}=Bd(),{emailLoginStatus:i,email:l,error:c}=e,[d,u]=s(!1),[p,f]=s(!1),g="verifying_otp"===i,h="success"===i;v(()=>{"otp_sent"===i&&u(!1),"expired_otp"!==i&&"max_attempts_reached"!==i||f(!0)},[i]);return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:a,showHeaderText:!1}),n.createElement(Xe,null,n.createElement(Xe,{gap:6},n.createElement(fl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Xe,{gap:0},n.createElement(Do.H4,{fontWeight:"normal",styles:{textAlign:"center"}},"Please enter the code sent to"),n.createElement(Do.H4,{styles:{textAlign:"center"}},l&&n.createElement(Ll,{email:l})))),n.createElement(Ys,{originName:"email",pinLength:6,isPending:g||d,isSuccess:h,onChange:()=>{r({type:"RESET_EMAIL_ERROR"})},onComplete:t,errorMessage:d?"":c??""},n.createElement(Ys.RetryContent,null,p&&n.createElement(bi,{variant:"text",onPress:()=>{u(!0),o(),f(!1)},label:"Request a new code"})))))},iu=({state:e,dispatch:r})=>{const{cancelLogin:t}=Bd(),{emailLoginStatus:a,email:o}=e;return v(()=>{"device_approved"===a&&r({type:"EMAIL_OTP_SENT"})},[a]),n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:t,showHeaderText:!1}),n.createElement(Xe,{gap:6},n.createElement(kl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Do.H4,{styles:{textAlign:"center"}},"Please register this device to continue."),n.createElement(Xe,{gap:0},n.createElement(Do,{styles:{textAlign:"center",lineHeight:1.8}},"We sent a device registration link to"),n.createElement(Qe,{gap:2},n.createElement(Do,{styles:{textAlign:"center",fontWeight:"600"}},o),n.createElement("button",{className:xe({cursor:"pointer"}),onClick:t},n.createElement(pl,{height:18,width:18,color:lr("colors.brand.base")})))),n.createElement(ze,{mt:4},n.createElement(Do,{styles:{textAlign:"center"}},"This quick one-time approval will help keep your account secure."))))},lu=({state:e})=>{const{email:r}=e;return n.createElement(n.Fragment,null,n.createElement(Ud,{showHeaderText:!1}),n.createElement(Xe,{gap:8},n.createElement(yo,{width:40,height:40,color:lr("colors.brand.base")}),n.createElement(Xe,{gap:1},n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},"You have successfully logged in"),r&&n.createElement(Do,{fontWeight:"semibold",styles:{textAlign:"center"}},r))))},su=({state:e,dispatch:r})=>{const{submitMFA:t,cancelLogin:a,lostDevice:o}=Bd(),{emailLoginStatus:i,error:l}=e,s="mfa_verifying"===i,c="success"===i;return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:a,showHeaderText:!1}),n.createElement(Xe,null,n.createElement(Xe,{gap:6},n.createElement(bl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Do.H4,{styles:{textAlign:"center",fontWeight:"normal"}},"Please enter the 6-digit code from your authenticator app.")),n.createElement(Ys,{originName:"mfa",pinLength:6,isPending:s,isSuccess:c,onChange:()=>{r({type:"RESET_EMAIL_ERROR"})},onComplete:t,errorMessage:l??""}),n.createElement(bi,{label:"I lost my device",variant:"text",textStyle:"neutral",onPress:o,disabled:s,size:"sm"})))},cu=({state:e,dispatch:r})=>{const{submitRecoveryCode:t}=Bd(),{emailLoginStatus:a,error:o}=e,i="recovery_code_verifying"===a,l="success"===a;v(()=>{l&&r({type:"LOGIN_SUCCESS"})},[l]);return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:()=>{r({type:"MFA_REQUIRED"})},showHeaderText:!1}),n.createElement(Xe,null,n.createElement(Xe,{gap:6},n.createElement(bl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Do.H4,{styles:{textAlign:"center",fontWeight:"normal"}},"Enter your recovery code to log in.")),i?n.createElement(ar,{h:12},n.createElement(ko,{size:36,strokeWidth:4})):n.createElement(n.Fragment,null,n.createElement(gs,{"aria-label":"8-character code",attr:{size:35},placeholder:"8-character code",onChange:e=>{r({type:"RESET_EMAIL_ERROR"}),8===e.length&&t(e)},alignText:"center",errorMessage:o??"",disabled:i}),n.createElement(Eo,{label:"Two-Factor Authentication will be disabled.",variant:"warning"})),!i&&!l&&n.createElement(bi,{label:"I lost my recovery code",variant:"text",textStyle:"neutral",onPress:()=>{r({type:"LOST_RECOVERY_CODE"})},disabled:i||l,size:"sm"})))},du=({dispatch:e})=>{const r=Nd().getConfig(),{appName:t}=r?.theme??{};return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:()=>{e({type:"LOST_DEVICE"})},showHeaderText:!1}),n.createElement(Xe,{gap:6,px:6},n.createElement(bl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Xe,null,n.createElement(Do.H4,{styles:{textAlign:"center"}},"Contact ",t," support"),n.createElement(Do,{styles:{textAlign:"center"}},"For help recovering your account, please contact the ",t," support team."))))};function uu(){return"undefined"!=typeof navigator&&/iPhone|iPod/.test(navigator.userAgent)||"undefined"!=typeof navigator&&(/iPad/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)}function vu(){return"undefined"!=typeof navigator&&/android/i.test(navigator.userAgent)||uu()}const pu=({dispatch:e})=>{const{address:r,isConnected:t}=E(),{disconnect:a}=k(),o=c(null),[l,u]=s(null),[p,f]=s(null),g=c(!1),[h,m]=s(null),{Icon:b}=Fc[Rc.WALLETCONNECT],C="undefined"!=typeof window&&vu(),y=i(()=>{if("undefined"==typeof window)return null;if(!C)return null;const e=Nd();return V({adapters:[e.wagmiAdapter],networks:Sd,projectId:e.projectId})},[C]),w=d(()=>{if(!g.current&&y){g.current=!0,f(null);try{t&&a(),y.open()}catch(e){const r=e;f(r?.message||"Failed to open wallet selection")}}},[y,t,a]),x=d(async()=>{if(!g.current){g.current=!0,f(null);try{t&&(a(),await new Promise(e=>setTimeout(e,100)));const e=Sd.map(e=>Number(e.id)),r=await B.init({projectId:Nd().projectId,chains:e,optionalChains:e,showQrModal:!1});o.current=r,Kd(r),r.on("display_uri",e=>{u(e)}),await r.connect();const n=r.accounts;n&&n.length>0&&m(n[0])}catch(r){const t=r,a=(t?.message||"").toLowerCase();if(a.includes("user rejected")||a.includes("user denied")||a.includes("rejected the request")||a.includes("user cancelled")||a.includes("user canceled"))return void e({type:"GO_TO_LOGIN"});f(t?.message||"Failed to connect wallet")}}},[t,a,e]);v(()=>{C?w():x()},[C,w,x]),v(()=>{C&&t&&r&&e({type:"WALLETCONNECT_CONNECTED",address:r})},[C,t,r,e]),v(()=>{!C&&h&&e({type:"WALLETCONNECT_CONNECTED",address:h})},[C,h,e]);const L=()=>{o.current&&(o.current.disconnect().catch(()=>{}),o.current=null,Kd(null)),y&&y.close(),e({type:"GO_TO_LOGIN"})};return p?n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:L,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4,alignItems:"center"},n.createElement(b,{width:60,height:60}),n.createElement(Xe,{gap:2,alignItems:"center",px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},"Connection Failed"),n.createElement(Do,{variant:"error",styles:{textAlign:"center"}},p)))):C?n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:L,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4,alignItems:"center"},n.createElement(b,{width:60,height:60}),n.createElement(Xe,{gap:2,alignItems:"center",px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},"Select your wallet"),n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},"Choose a wallet app to connect")))):n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:L,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4,alignItems:"center"},l?n.createElement(Tc,{eyeRadius:8,value:l,qrStyle:"dots",size:262,logoImage:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTE2NzUgNy41MTYwNUM4LjgzMzM4IDMuNjgxMzQgMTUuMTgzNSAzLjY4MTM0IDE5LjEwMDEgNy41MTYwNUwxOS41NzE1IDcuOTc3NTZDMTkuNzY3MyA4LjE2OTI5IDE5Ljc2NzMgOC40ODAxNiAxOS41NzE1IDguNjcxOUwxNy45NTkgMTAuMjUwNkMxNy44NjExIDEwLjM0NjUgMTcuNzAyNCAxMC4zNDY1IDE3LjYwNDQgMTAuMjUwNkwxNi45NTU4IDkuNjE1NTRDMTQuMjIzNCA2Ljk0MDM1IDkuNzkzNDMgNi45NDAzNSA3LjA2MTA5IDkuNjE1NTRMNi4zNjY0MyAxMC4yOTU3QzYuMjY4NTEgMTAuMzkxNSA2LjEwOTc2IDEwLjM5MTUgNi4wMTE4NCAxMC4yOTU3TDQuMzk5MzcgOC43MTY5M0M0LjIwMzU0IDguNTI1MiA0LjIwMzU0IDguMjE0MzMgNC4zOTkzNyA4LjAyMjZMNC45MTY3NSA3LjUxNjA1Wk0yMi40MzQ5IDEwLjc4MTFMMjMuODcgMTIuMTg2MUMyNC4wNjU4IDEyLjM3NzkgMjQuMDY1OCAxMi42ODg3IDIzLjg3IDEyLjg4MDVMMTcuMzk5IDE5LjIxNjJDMTcuMjAzMiAxOS40MDc5IDE2Ljg4NTcgMTkuNDA3OSAxNi42ODk4IDE5LjIxNjJDMTYuNjg5OCAxOS4yMTYyIDE2LjY4OTggMTkuMjE2MiAxNi42ODk4IDE5LjIxNjJMMTIuMDk3MSAxNC43MTk2QzEyLjA0ODIgMTQuNjcxNiAxMS45Njg4IDE0LjY3MTYgMTEuOTE5OCAxNC43MTk2TDcuMzI3MjEgMTkuMjE2MkM3LjEzMTM4IDE5LjQwNzkgNi44MTM4NyAxOS40MDggNi42MTgwNCAxOS4yMTYyQzYuNjE4MDQgMTkuMjE2MiA2LjYxODA0IDE5LjIxNjIgNi42MTgwNCAxOS4yMTYyTDAuMTQ2ODc0IDEyLjg4MDRDLTAuMDQ5NTc5IDEyLjY4ODcgLTAuMDQ5NTc5IDEyLjM3NzggMC4xNDY4NzQgMTIuMTg2MUwxLjU4MTk4IDEwLjc4MUMxLjc3NzgxIDEwLjU4OTIgMi4wOTUzMiAxMC41ODkyIDIuMjkxMTUgMTAuNzgxTDYuODgzOTIgMTUuMjc3N0M2LjkzMjg4IDE1LjMyNTYgNy4wMTIyNiAxNS4zMjU2IDcuMDYxMjIgMTUuMjc3N0M3LjA2MTIxIDE1LjI3NzcgNy4wNjEyMiAxNS4yNzc3IDcuMDYxMjIgMTUuMjc3N0wxMS42NTM4IDEwLjc4MUMxMS44NDk2IDEwLjU4OTIgMTIuMTY3MSAxMC41ODkyIDEyLjM2MjkgMTAuNzgxQzEyLjM2MjkgMTAuNzgxIDEyLjM2MjkgMTAuNzgxIDEyLjM2MjkgMTAuNzgxTDE2Ljk1NTcgMTUuMjc3N0MxNy4wMDQ3IDE1LjMyNTYgMTcuMDg0IDE1LjMyNTYgMTcuMTMzIDE1LjI3NzdMMjEuNzI1NyAxMC43ODExQzIxLjkyMTUgMTAuNTg5MyAyMi4yMzkgMTAuNTg5MyAyMi40MzQ5IDEwLjc4MTFaIiBmaWxsPSIjM0I5OUZDIi8+Cjwvc3ZnPgo=",logoHeight:52,logoWidth:52,logoPadding:12,style:{borderRadius:16},quietZone:12}):n.createElement(ar,{width:"294px",height:"294px"},n.createElement(ol,{width:286,height:286,borderRadius:16,backgroundColor:"surface.secondary"})),n.createElement(Xe,{gap:2,alignItems:"center",px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},"Scan with your wallet"),n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},"Open your mobile wallet and scan this QR code to connect"))))};const fu=new M;let gu=!1;function hu({state:e,dispatch:r,showFooterLogo:t,isModal:a}){const o=function(e){const[r,t]=s(!1);return v(()=>{function r(e){t(e.matches)}const a=matchMedia(e);return a.addEventListener("change",r),t(a.matches),()=>a.removeEventListener("change",r)},[e]),r}("(max-width: 768px)");return n.createElement(zd,{dispatch:r},n.createElement(Ji,{isWidget:!0,fullscreen:a&&o},n.createElement(Xe,{width:"full",minWidth:"380px"},(()=>{switch(e.view){case"login":default:return n.createElement(Yd,{dispatch:r});case"wallet_pending":return e.selectedProvider?n.createElement(eu,{key:`wallet-${e.selectedProvider}`,provider:e.selectedProvider,state:e,dispatch:r}):n.createElement(Yd,{dispatch:r});case"walletconnect_pending":return n.createElement(pu,{key:"walletconnect",dispatch:r});case"oauth_pending":return e.selectedProvider?n.createElement(au,{key:`oauth-${e.selectedProvider}`,provider:e.selectedProvider,dispatch:r}):n.createElement(Yd,{dispatch:r});case"additional_providers":return n.createElement(nu,{dispatch:r});case"email_otp_pending":return n.createElement(ou,{state:e,dispatch:r});case"device_verification":return n.createElement(iu,{state:e,dispatch:r});case"mfa_pending":return n.createElement(su,{state:e,dispatch:r});case"recovery_code":return n.createElement(cu,{state:e,dispatch:r});case"lost_recovery_code":return n.createElement(du,{dispatch:r});case"login_success":return n.createElement(lu,{state:e})}})(),n.createElement(zi,{showLogo:t}))))}const mu={position:"fixed",top:0,left:0,right:0,bottom:0,backdropFilter:"blur(0.375rem)",WebkitBackdropFilter:"blur(0.375rem)",display:"flex",alignItems:"flex-start",justifyContent:"center",zIndex:9999},bu={position:"relative"};function Cu({displayMode:e="inline",isOpen:r=!0,onClose:t,closeOnSuccess:a=!1,closeOnClickOutside:o=!1,wallets:i=[],onSuccess:l,onError:c,onReady:d}){const[u,f]=p(tu,ru),[g,h]=s(()=>null===Nd().getConfig()),{setColors:m,setRadius:b}=(({onError:e})=>{const[r,t]=s(null);return v(()=>{t(document?.documentElement)},[]),{setColors:(t,a)=>{const n=_c[t].base,o=_c[t].dark;let i;try{for(const[e,o]of Object.entries(n))i=Ac(a,o),r?.style.setProperty(`--${t}-${e}`,i);for(const[e,n]of Object.entries(o))i="string"==typeof n?"#"+Pc(a,n):Ac(a,n),r?.style.setProperty(`--${t}-${e}-dark`,i)}catch(r){e?.(r)}},setFont:t=>{try{r?.style.setProperty("--brand-font",t)}catch(r){e?.(r)}},setRadius:(t,a)=>{try{r?.style.setProperty(`--${t}-radius`,a)}catch(r){e?.(r)}}}})({}),[C,y]=s(null),[w,x]=s(!1);v(()=>{!function(){if(gu||"undefined"==typeof document)return;const e=document.createElement("style");e.id="magic-widget-styles",e.textContent=':root{--made-with-panda:\'🐼\'}*,::backdrop,:after,:before{--blur: ;--brightness: ;--contrast: ;--grayscale: ;--hue-rotate: ;--invert: ;--saturate: ;--sepia: ;--drop-shadow: ;--backdrop-blur: ;--backdrop-brightness: ;--backdrop-contrast: ;--backdrop-grayscale: ;--backdrop-hue-rotate: ;--backdrop-invert: ;--backdrop-opacity: ;--backdrop-saturate: ;--backdrop-sepia: ;--scroll-snap-strictness:proximity;--border-spacing-x:0;--border-spacing-y:0;--translate-x:0;--translate-y:0;--rotate:0;--skew-x:0;--skew-y:0;--scale-x:1;--scale-y:1}html{--primary:black}:where(:root,:host){--cUJial:1/1;--joSgrv:4/3;--dXjFHz:3/4;--gqpqIn:16/9;--lixcAJ:18/5;--hSWVDT:1.618/1;--dzOvWn:none;--drrWcF:cubic-bezier(0.4,0,0.2,1);--hgfxJf:linear;--hCLxzh:cubic-bezier(0.4,0,1,1);--byCBno:cubic-bezier(0,0,0.2,1);--gSAVQW:cubic-bezier(0.4,0,0.2,1);--fuVfvZ:50ms;--fVBMec:100ms;--mUhz:150ms;--cWTXGg:200ms;--cifMdM:300ms;--goNNlj:400ms;--bPXfWW:500ms;--dRPRGd:100;--dooANa:200;--fVSZDc:300;--llFanx:400;--leEsKL:500;--hmvyHR:600;--ghWdwL:700;--janwPd:800;--bvnjIx:900;--ekeMrS:1;--jyTpIu:1.25;--ipEwfb:1.375;--lomeBD:1.5;--kwMYUX:1.625;--dVGecO:2;--dywXPJ:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--guQdxN:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--gxQaAd:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--jrseCf:-0.05em;--glKTKc:-0.025em;--knaPyh:0em;--jwdARF:0.025em;--eUSVTv:0.05em;--lhSeXO:0.1em;--kWjDjq:0.5rem;--loLyxA:0.75rem;--eRgJXV:0.875rem;--daFrau:1rem;--gKFLFQ:1.125rem;--gFqSQX:1.25rem;--dllMvh:1.5rem;--jaXqkI:1.875rem;--cLogVb:2.25rem;--izMrAu:3rem;--hdlyfR:3.75rem;--bDBsww:4.5rem;--fwhTbD:6rem;--lkGdGW:8rem;--bUWovs:0 1px 2px 0 rgb(0 0 0/0.05);--cDhNnp:0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);--jMKUKK:0 4px 6px -1px rgb(0 0 0/0.1),0 2px 4px -2px rgb(0 0 0/0.1);--kNVcRA:0 10px 15px -3px rgb(0 0 0/0.1),0 4px 6px -4px rgb(0 0 0/0.1);--bnVgij:0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1);--IghlV:0 25px 50px -12px rgb(0 0 0/0.25);--gmhFEB:inset 0 2px 4px 0 rgb(0 0 0/0.05);--aZLOC:4px;--jDYzax:8px;--kMMDaR:12px;--dyIDQb:16px;--TtVDs:24px;--btncja:40px;--esAhmv:64px;--fcTUxn:0rem;--dacYEG:0.25rem;--ebuyxV:0.5rem;--bYDCFo:0.75rem;--hIimNX:1rem;--fFrqVq:1.25rem;--gGIQOF:1.5rem;--eDRUVY:1.75rem;--flZesP:2rem;--djiiAi:2.25rem;--ieMJEa:2.5rem;--cBFxYr:2.75rem;--uyqLg:3rem;--hXmVPi:3.5rem;--mYCWo:4rem;--jgejxp:5rem;--iYEvIx:6rem;--dzpWeZ:7rem;--fifqnK:8rem;--faFCyS:9rem;--bxwoov:10rem;--huPzrf:11rem;--hgdKvb:12rem;--cZMJbQ:13rem;--iXfUeA:14rem;--vWSpd:15rem;--gtqdrN:16rem;--hNtIEu:18rem;--kqIPsj:20rem;--wdMRQ:24rem;--gEfgCY:0.125rem;--jJIQbV:0.375rem;--cqwGG:0.625rem;--dhUgfD:0.875rem;--bJeTGz:spin 1s linear infinite;--cxTetH:ping 1s cubic-bezier(0,0,0.2,1) infinite;--jjLJjo:pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;--eUTuJH:bounce 1s infinite;--bLinLB:currentColor;--qLIrn:#000;--RiClf:#fff;--edNtiq:rgb(0 0 0/0);--cQacUT:#fff1f2;--fFtaKH:#ffe4e6;--eUoFZM:#fecdd3;--bPMUxN:#fda4af;--bvZVli:#fb7185;--jGTTif:#f43f5e;--iVPyxk:#e11d48;--fRnMVl:#be123c;--hxzBoW:#9f1239;--esXPMX:#881337;--epiLsK:#4c0519;--hPYfGc:#fdf2f8;--ioAkJk:#fce7f3;--eyVWNz:#fbcfe8;--nXIqK:#f9a8d4;--hGgStN:#f472b6;--dviDWY:#ec4899;--kUZZAj:#db2777;--gKbLdu:#be185d;--UhnuV:#9d174d;--hYEIxc:#831843;--dPgAHx:#500724;--kpTESD:#fdf4ff;--jfJgr:#fae8ff;--gZeVto:#f5d0fe;--gfHpEZ:#f0abfc;--dSTUoK:#e879f9;--cZwoAv:#d946ef;--jPvANs:#c026d3;--iVXUZd:#a21caf;--hYKnEO:#86198f;--hfmHQz:#701a75;--cYPdae:#4a044e;--ksTgfC:#faf5ff;--iCdJRO:#f3e8ff;--dWAXWh:#e9d5ff;--jcWlLI:#d8b4fe;--eLlnzT:#c084fc;--jRGBpu:#a855f7;--fmdPtN:#9333ea;--kszdjo:#7e22ce;--kMigIv:#6b21a8;--eDhKZa:#581c87;--eadxYH:#3b0764;--elZfLV:#f5f3ff;--jcWAkV:#ede9fe;--gHfMHa:#ddd6fe;--jSzuYT:#c4b5fd;--jDVPUQ:#a78bfa;--bzTONN:#8b5cf6;--ktyKIO:#7c3aed;--cpwJBL:#6d28d9;--foWeJc:#5b21b6;--iApNaV:#4c1d95;--cfTfyk:#2e1065;--kbclAu:#eef2ff;--gAzkHe:#e0e7ff;--gRHwoJ:#c7d2fe;--iYtjYI:#a5b4fc;--jCTsMf:#818cf8;--ujwXi:#6366f1;--LrIEN:#4f46e5;--cSdwoM:#4338ca;--irwviH:#3730a3;--kyiiSG:#312e81;--hgSANP:#1e1b4b;--glmLoi:#eff6ff;--bYrJpO:#dbeafe;--hoTvPd:#bfdbfe;--bMEoOM:#93c5fd;--hIEEwj:#60a5fa;--cgpxvS:#3b82f6;--hwRjVh:#2563eb;--bUCcUQ:#1d4ed8;--golFsv:#1e40af;--LWyse:#1e3a8a;--eJQij:#172554;--dyXAhp:#ecfeff;--eeWoox:#cffafe;--fnHbwe:#a5f3fc;--cLmYYf:#67e8f9;--bpLSHw:#22d3ee;--kcNzIt:#06b6d4;--llymQa:#0891b2;--iJeksb:#0e7490;--jTKpqw:#155e75;--hrqmSx:#164e63;--bcqAnE:#083344;--jqQOis:#f0fdfa;--hsCMHs:#ccfbf1;--jcJhxj:#99f6e4;--czjDVi:#5eead4;--kfgCt:#2dd4bf;--eWbmzo:#14b8a6;--gGhHpf:#0d9488;--cIdNe:#0f766e;--catTvB:#115e59;--gMpZsw:#134e4a;--bnTNlF:#042f2e;--jVPfey:#ecfdf5;--gSyYHy:#d1fae5;--dOyJRJ:#a7f3d0;--jOMcLk:#6ee7b7;--bLsBkr:#34d399;--hLFUdS:#10b981;--eHFFod:#059669;--kHSYhE:#047857;--iuBcgT:#065f46;--dfsLBy:#064e3b;--jJEloz:#022c22;--hXozqf:#f0fdf4;--iDDIAz:#dcfce7;--khfuXU:#bbf7d0;--hypAVx:#86efac;--wGfza:#4ade80;--jdlUVz:#22c55e;--kGNHsU:#16a34a;--hXXNqx:#15803d;--bAQeLK:#166534;--khvUij:#14532d;--cbdKOS:#052e16;--dhEleJ:#f7fee7;--gFFbyh:#ecfccb;--fjFsBy:#d9f99d;--cfdGZz:#bef264;--bxLPEk:#a3e635;--jIFNBh:#84cc16;--imGeEy:#65a30d;--fietcz:#4d7c0f;--crovfQ:#3f6212;--kCitcN:#365314;--gEQkrg:#1a2e05;--cLFWMs:#fefce8;--kxGpio:#fef9c3;--cbZZGT:#fef08a;--fwcFBW:#fde047;--hUTJsd:#facc15;--loWpng:#eab308;--cTpZLL:#ca8a04;--gnsFGO:#a16207;--ByZWN:#854d0e;--dVBFRQ:#713f12;--iLqZUR:#422006;--kVxzTd:#fffbeb;--jZPQXp:#fef3c7;--hCWpXC:#fde68a;--bCKrrD:#fcd34d;--wuHbc:#fbbf24;--fLErTZ:#f59e0b;--doKQUm:#d97706;--iDUBNj:#b45309;--iOnUJo:#92400e;--cObWdp:#78350f;--frxesg:#451a03;--NQTLQ:#fff7ed;--JsfmQ:#ffedd5;--gBjjlD:#fed7aa;--QMCLK:#fdba74;--ijESlZ:#fb923c;--czilMg:#f97316;--iqZpKT:#ea580c;--cGCJla:#c2410c;--dUhLNN:#9a3412;--jzgOMQ:#7c2d12;--igBpVl:#431407;--bINrJX:#fef2f2;--fKgVwH:#fee2e2;--bLdQLg:#fecaca;--fMUQaR:#fca5a5;--hwCQam:#f87171;--iYfRb:#ef4444;--hzqKEw:#dc2626;--lMavl:#b91c1c;--bLDcWa:#991b1b;--fNuclL:#7f1d1d;--jHDsLG:#450a0a;--kltIHN:#fafafa;--hzpwrB:#f5f5f5;--lbfZji:#e5e5e5;--fcfsVb:#d4d4d4;--kPKNfw:#a3a3a3;--eQKgRp:#737373;--isAJIW:#525252;--ctAduP:#404040;--bqFRBA:#262626;--gHaUMp:#171717;--fhFoEQ:#0a0a0a;--NNaBX:#fafaf9;--juQpUX:#f5f5f4;--jjsRgY:#e7e5e4;--hxarzx:#d6d3d1;--dmyqvy:#a8a29e;--bAfQNX:#78716c;--boIrZY:#57534e;--kRLBRt:#44403c;--iKBpmW:#292524;--gYiPFv:#1c1917;--kshUcS:#0c0a09;--dhFdXS:#fafafa;--dGhjba:#f4f4f5;--efoVXJ:#e4e4e7;--ljOqfc:#d4d4d8;--cXLRGr:#a1a1aa;--kcllNK:#71717a;--kBsYKt:#52525b;--gqwJsQ:#3f3f46;--ylgyn:#27272a;--hCKAFG:#18181b;--dtmsQb:#09090b;--dcmCJN:#f9fafb;--ePJGsV:#f3f4f6;--dnVpUm:#e5e7eb;--bMJKSL:#d1d5db;--jSiOQk:#9ca3af;--iqXjOJ:#6b7280;--gPiTqa:#4b5563;--fnXooz:#374151;--fKIyfA:#1f2937;--ejwTdZ:#111827;--jympbw:#030712;--oXohi:#19191A;--gyKIIT:#252525;--eSphig:#303030;--lccBJR:#383838;--lfBdGG:#474747;--kcXOlL:#f8fafc;--kbRDfH:#f1f5f9;--ivwbEU:#e2e8f0;--dpNMHJ:#cbd5e1;--dtmoEy:#94a3b8;--jCZJgj:#64748b;--hWEhFw:#475569;--cQVSIl:#334155;--hVLXiS:#1e293b;--cQdIlH:#0f172a;--iFDdka:#020617;--izlnso:#F8F8FA;--eRgqfH:#EDEDF3;--KVTme:#E2E0E5;--dkJQoR:#CCCAD0;--ktVcUk:#B6B4BA;--gLQfHD:#97959A;--cFFIOa:#77767A;--cJEYlt:#4E4D52;--jSQkQM:#18171A;--hLOWYd:#EDEBFF;--bVhZHK:#CAC2FF;--jYNVEH:#A799FF;--emDeSE:#8875FF;--aNrqF:#6851FF;--gzCdzi:#5D40EA;--dnMpXj:#522FD4;--cLqlCI:#4421C3;--kOWhzF:#3512B2;--dNokDG:#E3FAF3;--fIEsRl:#BAF5E3;--kuAyOg:#90F0D3;--hUmnXD:#48DEB1;--bqMKvC:#00CC8F;--dmcSJh:#00AA77;--hXYYGc:#00875F;--domHof:#007753;--iaiNla:#006647;--dDaZDc:#FFEAE5;--bYjnoT:#FFC3B3;--jcIHwm:#FF9B80;--iuhUtx:#FE7C58;--ejlFbU:#FC5C30;--cEtSNL:#E84718;--jITmVe:#D43100;--hhKBFJ:#C12E02;--cWOmog:#AD2B03;--loKVxo:#FCF4E5;--crbXrL:#FEE5BD;--eXQnMG:#FFD594;--dYBcpd:#EDBD72;--gFpsJY:#DBA550;--iXcedr:#BF8832;--ouKZq:#A36B14;--kXQUUR:#97630C;--cpjBQQ:#8A5A03;--dpZiSB:#EBF0FE;--bZrrvu:#AFC4FF;--cGNUcb:#7398FF;--cGWcRs:#5482FB;--dosFxZ:#346BF7;--bXKOaS:#295EE7;--cFhqHz:#1E50D6;--cvyBYk:#1344C7;--dcVeER:#0737B8;--bMxFwZ:#e0f2fe;--vPNZS:#bae6fd;--bdmqGz:#7dd3fc;--bduzvQ:#38bdf8;--bKRccx:#0ea5e9;--ujkFq:#0284c7;--bbFNlX:#0369a1;--RWYCI:#075985;--bztBjp:#0c4a6e;--iNVpnc:#082f49;--cemPJF:#FFFFFF;--iTjmdu:#FFFFFF;--fFEzoc:0.0625rem;--fCuVLy:0.09375rem;--hiYFxW:0.125rem;--ixNmpi:0.125rem;--bewZvn:0.25rem;--kLOfAE:0.375rem;--dxfumK:0.5rem;--UXfgJ:0.75rem;--bphCwb:1rem;--eougbK:1.5rem;--kkkBVq:9999px;--cDRSmz:var(--button-radius,9999px);--insZoq:var(--container-radius,1.75rem);--hxxJkr:var(--input-radius,0.875rem);--kTdGYg:0rem;--cCUBeV:0.25rem;--gsUKim:0.5rem;--jshnNX:0.75rem;--juMtMc:1rem;--beDnSR:1.25rem;--eUDwWi:1.5rem;--hTQaBT:1.75rem;--cAmzCM:2rem;--fzzdix:2.25rem;--dDnfaV:2.5rem;--cpjPHA:2.75rem;--ckODEv:3rem;--WLola:3.25rem;--hTmzdp:3.5rem;--gFjjJU:3.75rem;--gANXGP:4rem;--htnoem:5rem;--tQYHK:6rem;--kcGldO:7rem;--gMkTEx:8rem;--lcknGR:9rem;--kveXIc:10rem;--gsriJI:11rem;--bPcliI:12rem;--Mxqsr:13rem;--hZfkST:14rem;--fUWaSi:15rem;--bSilTO:16rem;--fnTGst:18rem;--dAFdyM:20rem;--jxszKr:24rem;--hghuKL:0.125rem;--drtIxO:0.375rem;--siblR:0.625rem;--hSPYxQ:0.875rem;--izvCpj:20rem;--aTIGG:24rem;--kMQJUV:28rem;--dyNKmL:32rem;--ToPgI:36rem;--btoFLe:42rem;--esBjqP:48rem;--hrOPNc:56rem;--krbtsN:64rem;--cRFSXi:72rem;--fQSwCT:80rem;--iQceEA:90rem;--jAesVz:65ch;--khWApH:100%;--eOXrSu:min-content;--jNBRbM:max-content;--UhpHH:fit-content;--eomHOU:640px;--iujnmj:768px;--gThSgZ:1024px;--cssArG:1280px;--jESPPc:1536px;--exvVve:2147483647;--ikokJA:640px;--kSvAmr:768px;--uwdhN:1024px;--eyfDzy:1280px;--dgHGKE:1536px;--jlmaOs:var(--surface-primary,var(--iTjmdu));--Iycdi:var(--surface-secondary,var(--izlnso));--crPUBo:var(--surface-tertiary,var(--eRgqfH));--kJiqPO:var(--surface-quaternary,var(--KVTme));--iagzVE:var(--text-primary,var(--jSQkQM));--YyYdq:var(--text-secondary,var(--cJEYlt));--kFAOBM:var(--text-tertiary,var(--cFFIOa));--iodyUC:var(--text-quaternary,var(--cemPJF));--DLYOY:var(--neutral-primary,var(--ktVcUk));--gfUEye:var(--neutral-secondary,var(--KVTme));--qsPVo:var(--neutral-tertiary,var(--eRgqfH));--kyjnqS:var(--neutral-quaternary,var(--izlnso));--iAjuTO:var(--brand-lightest,var(--hLOWYd));--gzHfkH:var(--brand-lighter,var(--jYNVEH));--gBHQLb:var(--brand-base,var(--aNrqF));--etZyR:var(--brand-darker,var(--dnMpXj));--enVPNY:var(--brand-darkest,var(--kOWhzF));--itfeCm:var(--dNokDG);--qkXv:var(--kuAyOg);--gHzsmL:var(--bqMKvC);--cOyFst:var(--hXYYGc);--fKbyps:var(--iaiNla);--dxaFjW:var(--dDaZDc);--dnTPVf:var(--jcIHwm);--bWuoqD:var(--ejlFbU);--iqIoUR:var(--jITmVe);--iZlvjY:var(--cWOmog);--ldafrz:var(--loKVxo);--leQkZS:var(--eXQnMG);--jmTbXW:var(--gFpsJY);--dLLYUY:var(--ouKZq);--dZIprB:var(--cpjBQQ);--gaBiDO:var(--dpZiSB);--fxHMpn:var(--cGNUcb);--fQFmqL:var(--dosFxZ);--dUMcYZ:var(--cFhqHz);--dntrJc:var(--dcVeER)}[data-color-mode=light]{--jlmaOs:var(--surface-primary,var(--iTjmdu));--Iycdi:var(--surface-secondary,var(--izlnso));--crPUBo:var(--surface-tertiary,var(--eRgqfH));--kJiqPO:var(--surface-quaternary,var(--KVTme));--iagzVE:var(--text-primary,var(--jSQkQM));--YyYdq:var(--text-secondary,var(--cJEYlt));--kFAOBM:var(--text-tertiary,var(--cFFIOa));--iodyUC:var(--text-quaternary,var(--cemPJF));--DLYOY:var(--neutral-primary,var(--ktVcUk));--gfUEye:var(--neutral-secondary,var(--KVTme));--qsPVo:var(--neutral-tertiary,var(--eRgqfH));--kyjnqS:var(--neutral-quaternary,var(--izlnso));--iAjuTO:var(--brand-lightest,var(--hLOWYd));--gzHfkH:var(--brand-lighter,var(--jYNVEH));--gBHQLb:var(--brand-base,var(--aNrqF));--etZyR:var(--brand-darker,var(--dnMpXj));--enVPNY:var(--brand-darkest,var(--kOWhzF));--itfeCm:var(--dNokDG);--qkXv:var(--kuAyOg);--gHzsmL:var(--bqMKvC);--cOyFst:var(--hXYYGc);--fKbyps:var(--iaiNla);--dxaFjW:var(--dDaZDc);--dnTPVf:var(--jcIHwm);--bWuoqD:var(--ejlFbU);--iqIoUR:var(--jITmVe);--iZlvjY:var(--cWOmog);--ldafrz:var(--loKVxo);--leQkZS:var(--eXQnMG);--jmTbXW:var(--gFpsJY);--dLLYUY:var(--ouKZq);--dZIprB:var(--cpjBQQ);--gaBiDO:var(--dpZiSB);--fxHMpn:var(--cGNUcb);--fQFmqL:var(--dosFxZ);--dUMcYZ:var(--cFhqHz);--dntrJc:var(--dcVeER) }[data-color-mode=dark]{--jlmaOs:var(--surface-primary-dark,var(--oXohi));--Iycdi:var(--surface-secondary-dark,var(--gyKIIT));--crPUBo:var(--surface-tertiary-dark,var(--eSphig));--kJiqPO:var(--surface-quaternary-dark,var(--lccBJR));--iagzVE:var(--text-primary-dark,var(--cemPJF));--YyYdq:var(--text-secondary-dark,var(--text-secondary-dark,color-mix(in srgb,var(--cemPJF) 72%,transparent)));--kFAOBM:var(--text-tertiary-dark,var(--text-tertiary-dark,color-mix(in srgb,var(--cemPJF) 44%,transparent)));--iodyUC:var(--text-quaternary-dark,var(--jSQkQM));--DLYOY:var(--neutral-primary-dark,var(--neutral-primary-dark,color-mix(in srgb,var(--cemPJF) 16%,transparent)));--gfUEye:var(--neutral-secondary-dark,var(--neutral-secondary-dark,color-mix(in srgb,var(--cemPJF) 12%,transparent)));--qsPVo:var(--neutral-tertiary-dark,var(--neutral-tertiary-dark,color-mix(in srgb,var(--cemPJF) 8%,transparent)));--kyjnqS:var(--neutral-quaternary-dark,var(--neutral-quaternary-dark,color-mix(in srgb,var(--cemPJF) 5%,transparent)));--iAjuTO:var(--brand-lightest-dark,var(--brand-lightest-dark,color-mix(in srgb,var(--jYNVEH) 25%,transparent)));--gzHfkH:var(--brand-lighter-dark,var(--brand-lighter-dark,color-mix(in srgb,var(--jYNVEH) 66%,transparent)));--gBHQLb:var(--brand-base-dark,var(--jYNVEH));--etZyR:var(--brand-darker-dark,var(--hLOWYd));--enVPNY:var(--brand-darkest-dark,var(--hLOWYd));--itfeCm:color-mix(in srgb,var(--kuAyOg) 8%,transparent);--qkXv:color-mix(in srgb,var(--kuAyOg) 72%,transparent);--gHzsmL:var(--kuAyOg);--cOyFst:var(--bqMKvC);--fKbyps:var(--bqMKvC);--dxaFjW:color-mix(in srgb,var(--jcIHwm) 8%,transparent);--dnTPVf:color-mix(in srgb,var(--jcIHwm) 72%,transparent);--bWuoqD:var(--jcIHwm);--iqIoUR:var(--ejlFbU);--iZlvjY:var(--ejlFbU);--ldafrz:color-mix(in srgb,var(--eXQnMG) 8%,transparent);--leQkZS:color-mix(in srgb,var(--eXQnMG) 72%,transparent);--jmTbXW:var(--eXQnMG);--dLLYUY:var(--gFpsJY);--dZIprB:var(--gFpsJY);--gaBiDO:color-mix(in srgb,var(--cGNUcb) 8%,transparent);--fxHMpn:color-mix(in srgb,var(--cGNUcb) 72%,transparent);--fQFmqL:var(--cGNUcb);--dUMcYZ:var(--dosFxZ);--dntrJc:var(--dosFxZ) }@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:0.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,0.2,1)}}@keyframes fadeIn{0%{opacity:0}}@keyframes fadeOut{to{opacity:0}}@keyframes scaleIn{0%{opacity:0}to{opacity:1;scale:1}}@keyframes scaleOut{0%{opacity:1;scale:1}to{opacity:0;scale:0.9}}@keyframes slideIn{0%{opacity:0;transform:translateY(1.25rem)}to{opacity:1;transform:translateY(0)}}@keyframes slideOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(1.25rem)}}@keyframes slideRight{0%{left:-150%}to{left:175%}}@keyframes moveRight{0%{transform:translateX(0rem)}80%{transform:translateX(1.25rem)}to{transform:translateX(1.2rem)}}@keyframes moveLeft{0%{transform:translateX(0rem)}80%{transform:translateX(-1.25rem)}to{transform:translateX(-1.2rem)}}@keyframes animateSpinnerSmall{0%{stroke-dasharray:0.4,60;stroke-dashoffset:0}50%{stroke-dasharray:36,60;stroke-dashoffset:-14}to{stroke-dasharray:36,60;stroke-dashoffset:-52}}@keyframes animateSpinnerLarge{0%{stroke-dasharray:0.875,175;stroke-dashoffset:0}50%{stroke-dasharray:78.75,131.25;stroke-dashoffset:-31}to{stroke-dasharray:0.875,175;stroke-dashoffset:-158}}@keyframes popIn{0%{scale:0}to{scale:1}}@keyframes popOut{0%{scale:1}to{scale:0}}.JIGdQ{font-size:0.75rem;line-height:1.25rem;font-weight:var(--llFanx)}.caxCit{font-size:0.875rem}.AEdnq,.caxCit{line-height:1.5rem;font-weight:var(--llFanx)}.AEdnq{font-size:1rem}.ggkuag{font-size:1.125rem;line-height:1.75rem}.KOyzo,.ggkuag{font-weight:var(--llFanx)}.KOyzo{font-size:0.75rem;line-height:1.25rem}.bqPPXX{font-size:0.875rem}.bqPPXX,.iBKgpR{line-height:1.5rem;font-weight:var(--llFanx)}.iBKgpR{font-size:1rem}.dVmflu{font-size:0.875rem}.dVmflu,.hkxWuN{line-height:1.5rem;font-family:var(--gxQaAd)}.hkxWuN{font-size:1rem}.eIvlPr{font-size:1.125rem;line-height:1.75rem;font-family:var(--gxQaAd)}.ZlnHu{line-height:3.25rem}.ZlnHu,.dNxFtD{font-size:2.5rem;font-weight:var(--janwPd)}.dNxFtD{line-height:3.5rem}.bcvUKl{font-size:2.25rem;line-height:3rem;font-weight:var(--janwPd)}.fDZIkY,.gRVYOk{font-size:2rem;line-height:2.75rem;font-weight:var(--janwPd)}.cqslnx{font-size:1.5rem;line-height:2.25rem;font-weight:var(--ghWdwL)}.cFGrCm,.cSachX{font-size:1.25rem;line-height:2rem;font-weight:var(--ghWdwL)}.brKaZa,.efWsLj{font-size:1.125rem;line-height:1.75rem;font-weight:var(--ghWdwL)}.buUIbR{font-size:0.625rem}.buUIbR,.hkuMfQ{letter-spacing:0.06rem;text-transform:uppercase;line-height:0.75rem;font-weight:var(--hmvyHR)}.hkuMfQ{font-size:0.75rem}@media screen and (min-width: 64rem){.KOyzo{font-size:0.875rem}.KOyzo,.bqPPXX{line-height:1.5rem}.bqPPXX{font-size:1rem}.iBKgpR{font-size:1.125rem;line-height:1.75rem}.ZlnHu{font-size:5rem;line-height:5.5rem}.bcvUKl{font-size:4rem;line-height:4.75rem}.fDZIkY{font-size:3rem;line-height:4rem}.cSachX{font-size:1.5rem;line-height:2.25rem}.brKaZa{font-size:1.25rem;line-height:2rem}.buUIbR{font-size:0.75rem;line-height:0.75rem}}.fEVEmD{display:inline-flex}.jTWvec{position:relative}.iPfXWl{box-sizing:border-box}.dKuXep{border-radius:var(--cDRSmz)}.lbmNld{border:thin solid}.bZRhvx{cursor:pointer}.hWbyxU{transition:all 0.1s ease}.diIxfU{outline:var(--dzOvWn)}.efvJEH{will-change:transform,opacity}.kFYpif{background:none}.Axmbx{height:var(--fzzdix)}.jGqtLL{padding-block:var(--jJIQbV)}.fzoqgU{padding-inline:var(--hIimNX)}.fzpabD{height:var(--ckODEv)}.fzoAXm{padding-block:var(--bYDCFo)}.fznPAm{padding-inline:var(--gGIQOF)}.fznKiw{height:var(--gFjjJU)}.fzoqgp{padding-block:var(--hIimNX)}.cPRswh{background:var(--gBHQLb)}.dTWubc{background:var(--iAjuTO)}.edEltL{background:var(--cOyFst)}.gDSsAr{background:var(--iqIoUR)}.hoYZte{background:var(--qsPVo)}.foDtdn{background:var(--edNtiq)}.AxjtU{padding:var(--fcTUxn)}.gsynQv{height:fit-content}.hZLYvv{background:#ffffff14}.kXEOGR{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.hmegja{background:var(--jSQkQM)}.cERSkX{pointer-events:none}.dMMuNs{width:var(--khWApH)}.bYJPrM{border-radius:var(--kkkBVq)}.fPSBzf{display:flex}.gzBMzy{text-align:center}.cbkwRf{white-space:nowrap}.bunRPm{color:var(--jlmaOs)}.rbsQX{color:var(--etZyR)}.flFbEq{color:var(--iagzVE)}.ecosjt{color:var(--gBHQLb)}.jiGUEY{color:var(--cemPJF)}.deYFWh{color:var(--gHzsmL)}.iATurT{color:var(--iqIoUR)}.drDZIi{color:var(--kFAOBM)}.fQAFQl{outline-offset:var(--gEfgCY)}.AxmbG{width:var(--fzzdix)}.pitAi{padding:var(--jJIQbV)}.fzpabA{width:var(--ckODEv)}.Axikr{padding:var(--bYDCFo)}.fznKij{width:var(--gFjjJU)}.AxhTk{padding:var(--hIimNX)}.gsynQA{width:fit-content}.DyZUq{border-radius:10px}.lnVchA{background:var(--itfeCm)}.gCOtIw{background:var(--dxaFjW)}.fmhFEF{background:var(--ldafrz)}.kRLutI{background:var(--Iycdi)}.gIDZqd{transition:transform 0.2s ease,opacity 0.2s ease}.dLFxYe{text-align:left}.kkElPi{color:var(--enVPNY)}.jsoGzi{color:var(--fKbyps)}.bKCYEC{color:var(--iZlvjY)}.jnqkcv{color:var(--dZIprB)}.buzaNI{color:var(--YyYdq)}.kypCfT{text-transform:uppercase}.fkBQxR{letter-spacing:0.06rem}.gcohXo{border-radius:1rem}.fyplMZ{cursor:default}.ioQIUn{height:10.75rem}.ioQIUI{width:10.75rem}.dXscgu{overflow:hidden}.eLuUPu{overflow:visible}.qbege{gap:var(--fcTUxn)}.pvuga{gap:var(--hIimNX)}.pnxsH{gap:var(--fFrqVq)}.pezuA{gap:var(--gGIQOF)}.flMYjT{box-shadow:0px 1px 2px rgba(189,189,189,0.3)}.fMKpTj{box-shadow:8px 8px 48px rgba(16,15,17,0.14)}.fzrkhE{padding-inline:var(--flZesP)}.fznPzH{padding-block:var(--gGIQOF)}.fzpabv{padding:var(--uyqLg)}.kdFIjO{flex:1 1 0%}.bKPWST{max-width:29.125rem}.iZstbk{opacity:0.3}.dMMuMP{height:var(--khWApH)}.kbJfZC{background:var(--jlmaOs)}.gWzzAr{overflow:auto}.fLVKVB{scrollbar-width:none}.djBLSD{height:100vh}.dnFyWD{width:100vw}.eJvMDV{scale:1}.AxiEa{padding:var(--ebuyxV)}.Axmvo{padding:var(--flZesP)}.eAZrqn{height:auto}.dNXUzv{max-width:25rem}.coifUy{margin-inline:auto}.jeqdDQ{border-radius:var(--insZoq)}.jieZfE{pointer-events:all}.hdAwi{position:fixed}.csnEyP{--backdrop-blur:blur(0.375rem)}.crPXqh{backdrop-filter:var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-saturate) var(--backdrop-sepia);-webkit-backdrop-filter:var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-saturate) var(--backdrop-sepia)}.deAqKV{max-width:100rem}.hkIdtl{margin:0 auto}.cORRFI{max-width:none}.fDWVKV{border-radius:var(--hxxJkr)}.JcTPa{transition:all linear 120ms}.hYZFkb{width:100%}.fzozCt{height:var(--dDnfaV)}.fzoNwz{padding-block:var(--ebuyxV)}.AxjtB{margin:var(--fcTUxn)}.iQHTXh{min-width:var(--dDnfaV)}.dvMkiN{text-align:right}.dpjQla{transition:opacity linear 120ms}.dsySWt{text-wrap:wrap}.gsGAeM{color:var(--jmTbXW)}.fNCCNu{padding:20px}.AYoSK{z-index:var(--exvVve)}.kVkdUe{box-shadow:4px 8px 20px 0px rgba(0,0,0,0.15)}.dSXBgr{height:1rem}.dSXBfY{width:1rem}.eAZrpM{width:auto}.AYoSP{width:var(--jNBRbM)}.hQiMIj{max-width:var(--fnTGst)}.jXSfKH{position:absolute}.fzoAWH{padding-inline:var(--bYDCFo)}.eeKCgv{border-radius:var(--UXfgJ)}.Oxeoj{box-shadow:0px 4px 20px 0px rgba(0,0,0,0.10)}.ddgODW{display:none}.cGFOJB{display:block}.izPYod{transform:translateX(-50%) translateY(calc(-100% - 0.75rem))}.cPkmfo{transform:translateX(10%) translateY(calc(-100% - 0.75rem))}.cXTUEh{transform:translateX(-10%) translateY(calc(-100% - 0.75rem))}.iqmoHh{transform:translateX(calc(-100% - 0.75rem)) translateY(-50%)}.emrspq{transform:translateX(calc(-100% - 0.75rem)) translateY(-75%)}.zFGjL{transform:translateX(calc(-100% - 0.75rem)) translateY(-25%)}.ddBtbm{transform:translateX(calc(100% + 0.75rem)) translateY(-50%)}.kSbzJl{transform:translateX(calc(100% + 0.75rem)) translateY(-75%)}.hdzMuI{transform:translateX(calc(100% + 0.75rem)) translateY(-25%)}.jSRWPC{transform:translateX(-50%) translateY(calc(100% + 0.75rem))}.depkmP{transform:translateX(10%) translateY(calc(100% + 0.75rem))}.eqVTfG{transform:translateX(-10%) translateY(calc(100% + 0.75rem))}.fzoWka{width:var(--fnTGst)}.AxhSM{height:var(--juMtMc)}.kmFTYl{transform:translateX(-50%) translateY(0.75rem)}.hFunKo{transform:translateX(-50%) translateY(-0.75rem)}.AxhTf{width:var(--juMtMc)}.fzqACo{height:var(--bPcliI)}.kwEkgw{transform:translateX(-0.75rem) translateY(-50%)}.LwqbV{transform:translateX(0.75rem) translateY(-50%)}.jHxAip{background:linear-gradient(#00CC8F,#6851FF)}.hWgZTB{inset:var(--fcTUxn)}.dKLBtz{gap:10px}.cYdhWw{display:grid}.jZwGWY{fill:var(--RiClf)}.hGQgmY{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jcgYsf{--mix-background:color-mix(in srgb,var(--iagzVE) 20%,transparent);background:var(--mix-background,var(--iagzVE))}.jDVJRS{transform:translateY(0)}.japwPO{transform:translateY(100%)}.bTJmyy{transition:transform 0.3s}.fClTjd{border-top-left-radius:var(--eougbK);border-top-right-radius:var(--eougbK)}.jvjRt{box-shadow:0px -12px 56px 0px rgba(119,118,122,0.15)}.fzozCb{z-index:10}.cFLICG{transform:translateX(-100%)}.byXyn{transform:translateX(100%)}.khiFRn{transform:translateX(0)}.fzoCXr{width:var(--dAFdyM)}.fjzPTS{border-top-right-radius:var(--bphCwb);border-bottom-right-radius:var(--bphCwb)}.dXSjkM{border-top-left-radius:var(--bphCwb);border-bottom-left-radius:var(--bphCwb)}.eVHffH{--thickness:1px}.bjGQXr{gap:var(--cqwGG)}.cpnrKk{box-shadow:true}.fgrICX{background:#ffc439}.fnjBrW{border:1px solid transparent}.jGoIIY{padding-block:var(--cqwGG)}.lopGBb{stroke-width:2.5}.pThsL{gap:var(--dacYEG)}.fzoxFp{width:var(--fUWaSi)}.jonSOI{flex:0 0 auto}.lkYUqX{border-radius:9999px}.cUqkcP{animation:popIn 150ms}.ksKAre{animation:popOut 150ms}.ZlVyD{animation:spin 1.5s linear infinite}.emRNBL{stroke:var(--iagzVE)}.elaIWr{transform-origin:center center}.bkLsBk{gap:var(--jJIQbV)}.kRRXUg{stroke:var(--gBHQLb)}.jAmlUX{stroke:var(--jlmaOs)}.kYoAXZ{stroke-opacity:0.12}.jQNDvc{animation:spin 1s linear infinite}.dITaCb{border-radius:2rem}.bKdxLy{transform:skewX(-20deg)}.chmhDV{overflow-wrap:break-word}.bWVcuP{word-break:break-word}.llnClk{background:var(--kyjnqS)}.fRIRtM{border-radius:var(--dxfumK)}.dWKkCe{min-width:15rem}.mDYqS{width:40%}.dZeDlI{border-left:thin solid}.Axmvg{height:var(--cAmzCM)}.pCmHl{gap:var(--bYDCFo)}.bGySga{-webkit-user-select:none;user-select:none}.GzWLz{-webkit-user-select:auto;user-select:auto}.fMSoJ{filter:blur(10px)}.rHLwk{text-wrap:nowrap}.fzoYeD{width:22px}.fzoYeI{height:22px}.iiBJGO{font-variant:no-contextual}.dJRcZd{transition:none}.pKjuE{gap:var(--ebuyxV)}.fznYYc{width:var(--gANXGP)}.fzozgh{width:var(--htnoem)}.fznYYn{height:var(--gANXGP)}.fzozgi{height:var(--htnoem)}.hYbcjk{width:1.125rem}.hYbciH{height:1.125rem}.dgzwbo{object-fit:cover}.clyxRL{border-start-start-radius:var(--hxxJkr);border-end-start-radius:var(--hxxJkr)}.cMWMBT{border-radius:0}.duralB{transform:rotate(180)}.fznyyO{width:var(--hTmzdp)}.fznyzd{height:var(--hTmzdp)}.faAYXy{max-height:17.5rem}.fzqBIS{width:18px}.fzqBJp{height:18px}.hVpAQY{min-width:var(--kTdGYg)}.cEowv{max-width:30rem}.dGnaHP{caret-color:var(--edNtiq)}.eGizhS{border-radius:0.5rem}.fzoqgI{margin-block:var(--hIimNX)}.iWbCEa{max-width:var(--iQceEA)}.XApuw{overlay:true}.fznycS{height:var(--tQYHK)}.fznycJ{width:var(--tQYHK)}.Axhdq{padding:var(--gGIQOF)}.kInNhr{max-width:393px}.Axhdp{width:var(--eUDwWi)}.enrCNZ{border-radius:60px}.fzoLlM{height:var(--cpjPHA)}.fzoLlH{width:var(--cpjPHA)}.fzozCm{width:var(--dDnfaV)}.AxgJj{height:var(--hTQaBT)}.AxgJE{width:var(--hTQaBT)}.kZwhzw{border-radius:30px}.Axhzu{width:var(--beDnSR)}.Axhzd{height:var(--beDnSR)}.dtwJUe{border-radius:0.375rem}.gNnTtK{border-radius:var(--kLOfAE)}.bnMKLm{color:var(--DLYOY)}.fVXeaF{border-radius:var(--bphCwb)}.bMpqsa{opacity:0.5}.frJqtw{opacity:1}.fzoyvf{width:var(--kveXIc)}.fzoyvs{height:var(--kveXIc)}.dSXzlv{width:6rem}.dSXBCd{width:4rem}.kEPjac{min-height:var(--gANXGP)}.dLESCV{border-radius:0.75rem}.bVQpjJ{border-radius:var(--bewZvn)}.hLsNni{pointer-events:auto}.fGSyrq{transition:background-color 0.2s ease,border-color 0.2s ease}.piqPW{width:var(--siblR)}.pitgX{height:var(--hghuKL)}.mBgaT{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.lfSec{caret:18px}.kEVDGR{check:16px}.dSXBWl{height:3rem}.flFnwR{mult:2.5px}.bUyOMB{display:inline-block}.eOXPNx{max-width:var(--Mxqsr)}.jSqJiD{gap:var(--ieMJEa)}.ljqpme{transition:border-color 0.2s ease}.AxhcS{height:var(--eUDwWi)}.Axikw{width:var(--jshnNX)}.AxijT{height:var(--jshnNX)}.Axjal{padding:var(--dacYEG)}.kyvghW{background:var(--izlnso)}.fyBLPL{background:var(--iTjmdu)}.jqgBXf{box-shadow:0px 4px 20px 0px color-mix(in srgb,var(--jSQkQM) 10%,transparent)}.jIGVye{transition:transform 0.2s ease}.cXjUyC{border-radius:inherit}.fzplPS{height:var(--WLola)}.gnKssF{transition:background 0s}.gNPhbY{transition:background 0.2s ease}.AxjtK{z-index:0}.cgfjYq{background:var(--DLYOY)}.jGqhlT{padding-inline:var(--gEfgCY)}.cBWyVA{transition:background-color 0.2s ease}.iLEfrF{transition:left 0.2s ease}.jYtJnS{stroke-width:4}.fznWHu{width:var(--lcknGR)}.fznWHJ{height:var(--lcknGR)}.fzoAXP{margin-block:var(--bYDCFo)}.kwGEGT{pointer-events:initial}.fNCbQd{height:76px}.jXIVTv{max-width:115px}.hYZFjI{height:100%}.flXdLu{min-width:var(--htnoem)}.pBpid{padding-inline:var(--ieMJEa)}.gtdXBX{width:max-content}.cqBabc{border:thin solid transparent}.jzlacV{height:6.25rem}.evQrdT{--mix-background:color-mix(in srgb,var(--iagzVE) 6%,transparent);background:var(--mix-background,var(--iagzVE))}.bdwxhc{border-radius:52px}.gAFyjk{backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.hYxQqf{height:2.625rem}.hYxQqA{width:2.625rem}.fubjOl{box-shadow:0.125rem 0.125rem 1.5rem color-mix(in srgb,var(--cFFIOa) 15%,transparent)}.eWAJiI{fill:var(--ktVcUk)}.eWyFtu{color:var(--ktVcUk)}.gSVYRP{animation:fadeIn 0.5s,moveRight 1s 0.5s forwards}.kJWAhn{border-radius:50%}.imIknl{height:3.875rem}.imIknm{width:3.875rem}.Axjab{z-index:1}.iAVgSo{animation:fadeIn 0.5s,moveLeft 1s 0.5s forwards}.fznxJj{height:34px}.fznxIY{width:34px}.fzoayX{height:var(--hZfkST)}.fzoayU{width:var(--hZfkST)}.eliKuq{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.fzodHc{padding-block:var(--fFrqVq)}.pBpiF{margin-block:var(--ieMJEa)}.pzYgn{height:250px}.gWDyZg{color:var(--cFFIOa)}.fzozCl{padding:var(--ieMJEa)}.gnCXEd{overflow:scroll}.jsxjhB{width:200px}.hMIFzk{max-width:200px}.gHsxkk{min-width:88px}.gWcfgT{min-width:fit-content}.gVwSKA{min-height:fit-content}.cUIwgI{transition:transform 0.1s}.jrPJbn{width:114px}.fNAzWg{height:48px}.ATFQA{width:7px}.ATFQv{height:7px}.bxgBRd{background:var(--gHzsmL)}.ihDaVZ{--translate-x:var(--gGIQOF)}.cBAuwg{--translate-y:var(--gGIQOF)}.djKBfg{--translate-x:var(--bYDCFo)}.iPNhEZ{--translate-y:var(--bYDCFo)}.BJXMm{min-height:18px}.AORKl{min-width:18px}.AxiZQ{margin:var(--dacYEG)}.rmyfW{gap:var(--flZesP)}.bTqNYb{min-width:380px}.jJQbUA{transform:translate(-50%,-50%)}.fznCZP{padding-inline:var(--eDRUVY)}.eYxvy{stroke-width:8}.uLMIu{border-radius:14px}.iriloe{rotate:90deg}.kBkDOg{scrollbar-width:thin}.fUTAcQ{scrollbar-color:rgba(143,147,153,0.4) transparent}.eGSram{max-height:384px}.fzoNxe{padding-inline:var(--ebuyxV)}.fzoxFy{height:var(--fUWaSi)}.jrNHos{width:294px}.jrNHnX{height:294px}.plVOb{width:286px}.plVNY{height:286px}.jGeaAw{border-radius:16px}.kSmiQp{align-items:center}.legDhJ{justify-content:center}.bsdAgg{font-weight:var(--hmvyHR)}.gKedlK{border-color:var(--edNtiq)}.lcwbhf{border-color:var(--DLYOY)}.xYowz{font-size:var(--eRgJXV)}.lgBfkU{line-height:1.5rem}.wzdQU{font-size:var(--daFrau)}.xEQJi{font-size:var(--gKFLFQ)}.RiFXn{line-height:1.75rem}.ecsDQq{outline-color:var(--gBHQLb)}.dkFkBb{outline-style:solid}.jUIfTb{outline-width:var(--hiYFxW)}.uLlkq{animation-fill-mode:forwards}.hgoZRe{animation-name:scaleOut}.bXxxmv{animation-duration:150ms}.AMuyK{font-size:var(--loLyxA)}.fznCNG{margin-left:var(--eDRUVY)}.fznDiI{margin-right:var(--eDRUVY)}.kbJfZC{background-color:var(--jlmaOs)}.dRCFAU{align-items:flex-start}.fUfBYX{align-items:flex-end}.fRDJQy{background-color:var(--crPUBo)}.cZtwqS{animation-name:none}.fzpnVC{padding-bottom:var(--fcTUxn)}.bZlPyP{animation-name:scaleIn}.fDIibI{animation-duration:250ms}.qbeer{top:var(--fcTUxn)}.kiKDyH{left:var(--fcTUxn)}.hIekUp{animation-name:fadeIn}.Brknr{animation-duration:400ms}.hdbihI{animation-name:fadeOut}.iYhTva{font-weight:var(--leEsKL)}.foDtdn{background-color:var(--edNtiq)}.hDGJaH{border-style:solid}.lbLLll{border-width:var(--fFEzoc)}.kMhkax{border-color:var(--gfUEye)}.dwaifQ{border-color:var(--bWuoqD)}.hhWyss{font-weight:var(--llFanx)}.xNKXN{font-size:var(--gFqSQX)}.fvBKJs{justify-content:flex-start}.jUJMFv{justify-content:flex-end}.cPRswh{background-color:var(--gBHQLb)}.edEltL{background-color:var(--cOyFst)}.gCeNqG{background-color:var(--dLLYUY)}.gDSsAr{background-color:var(--iqIoUR)}.btsPBS{background-color:var(--kFAOBM)}.hZBAaK{top:0%}.eCaVMz{left:50%}.dlNJxY{right:100%}.eCzFHr{left:100%}.dDihBf{top:50%}.dTRYzG{left:0%}.dRndGF{right:0%}.ktFiky{bottom:0%}.kyGdCf{bottom:var(--fcTUxn)}.jIomzn{right:calc(var(--gGIQOF) * -1)}.eMGDsc{left:calc(var(--gGIQOF) * -1)}.ksWBqx{flex-direction:row}.cMoGaw{grid-template-columns:repeat(6,minmax(0,1fr))}.cxWwua{column-gap:2rem}.cxzifT{row-gap:2rem}.fznPDb{margin-top:var(--gGIQOF)}.iLbQFp{flex-direction:column}.jzuiJt{flex-shrink:0}.fznPCO{padding-top:var(--gGIQOF)}.hWgptE{right:var(--fcTUxn)}.fznPzA{padding-bottom:var(--gGIQOF)}.gSKPcF{justify-content:space-between}.gsLSP{border-block-end-width:var(--thickness)}.kNSbHl{border-color:var(--kJiqPO)}.iFtuvY{outline-color:#ffc439}.jGqhje{margin-top:var(--gEfgCY)}.iWITAz{border-width:var(--hiYFxW)}.OpsJf{border-color:var(--jlmaOs)}.cIFhny{left:-50%}.hhfvpY{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.1),transparent)}.bheJpJ{font-weight:600}.ckDurQ{justify-content:space-around}.bJrRn{border-color:var(--qsPVo)}.kWIjhW{font-family:inherit}.evhJrM{outline-style:none}.bnrbKB{border-left-width:var(--fFEzoc)}.jCnIUz{top:55px}.WUSvz{overflow-y:auto}.fzrkfx{margin-top:var(--flZesP)}.fzoqjJ{margin-top:var(--hIimNX)}.kiIPsp{flex-grow:0}.fzoBen{padding-top:var(--bYDCFo)}.eRLFrQ{border-bottom-color:var(--DLYOY)}.ikkoWx{border-bottom-width:1px}.gvTxLc{flex-direction:column-reverse}.kRUpGi{left:var(--djiiAi)}.jXbniH{top:var(--cBFxYr)}.jppWeU{border-width:2px}.hoYZte{background-color:var(--qsPVo)}.dKiwaS{font-weight:var(--ghWdwL)}.hQJXOm{align-items:start}.jgxhLI{border-color:var(--gBHQLb)}.jfQXOb{border-color:var(--kFAOBM)}.fNUXA{outline-color:var(--edNtiq)}.fzoAPu{margin-left:var(--bYDCFo)}.cLWmJb{border-width:1px}.pNAEp{margin-left:calc(var(--dacYEG) * -1)}.fzpbES{margin-right:var(--dacYEG)}.fzoNGh{margin-right:var(--ebuyxV)}.jDRgcp{left:var(--gGIQOF)}.cXMndB{--mix-borderColor:color-mix(in srgb,var(--iagzVE) 10%,transparent);border-color:var(--mix-borderColor,var(--iagzVE))}.boHRSr{border-width:var(--fCuVLy)}.dsEUfT{background-color:var(--hLOWYd)}.kAiqVl{border-width:3px}.jsWSlz{margin-top:-3px}.jbWTdm{margin-right:0.9rem}.jbWSUo{margin-left:0.9rem}.kFJmaE{--mix-backgroundColor:color-mix(in srgb,var(--iagzVE) 1%,transparent)}.ftGyaA,.kFJmaE{background-color:var(--mix-backgroundColor,var(--iagzVE))}.ftGyaA{--mix-backgroundColor:color-mix(in srgb,var(--iagzVE) 5%,transparent)}.fydxLC{--mix-borderColor:color-mix(in srgb,var(--iagzVE) 6%,transparent);border-color:var(--mix-borderColor,var(--iagzVE))}.fjYTfT{bottom:-1px}.bEeUNc{right:-1px}.kQauLJ{align-items:baseline}.fcwWhs{background-color:var(--gfUEye)}.hHdgel{background-color:var(--dnTPVf)}.bbHqQM{grid-template-columns:repeat(2,minmax(0,1fr))}.fzoqjw{padding-top:var(--hIimNX)}.fzoNvZ{margin-bottom:var(--ebuyxV)}.fzoNEP{margin-top:var(--ebuyxV)}.fzoAVA{margin-bottom:var(--bYDCFo)}.kRLutI{background-color:var(--Iycdi)}.XyjJy:is(:disabled,[disabled],[data-disabled]){opacity:0.3}.iFUqYl:is(:disabled,[disabled],[data-disabled]){pointer-events:none}.jrpcxw:before{position:absolute}.heDbSF:before{border-radius:inherit}.dwmXuW:before{opacity:0}.huWYIz:before{transition:opacity 0.1s ease}[data-color-mode=light] .jtDWvE{mix-blend-mode:multiply}[data-color-mode=dark] .gLaBRL{background:#ffffff29}.jNgRkF:before{display:none}[data-color-mode=dark] .hAWTSp{background:var(--iTjmdu)}[data-color-mode=dark] .ehbthU{color:var(--jSQkQM)}[data-color-mode=dark] .kkleQX{color:var(--bWuoqD)}[data-color-mode=dark] .dcESjf{border-block:solid}.iqcWiz::placeholder,.iqcWiz[data-placeholder]{color:var(--kFAOBM)}[data-color-mode=dark] .dSbdfc{background:var(--crPUBo)}.FuZjR:is(:disabled,[disabled],[data-disabled]){opacity:0.8}[data-color-mode=dark] .iuzRWK{background:rgba(0,0,0,.7)}[data-color-mode=dark] .jrIQHe{background:var(--Iycdi)}[data-color-mode=dark] .cDAZzQ{background:var(--jlmaOs)}[data-color-mode=dark] .dUhjQY{background:var(--eSphig)}[data-color-mode=dark] .egesjy{background:var(--lfBdGG)}[data-color-mode=dark] .ixYntQ{fill:var(--cFFIOa)}[data-color-mode=dark] .kmeQgS{color:var(--cFFIOa)}.dLVhZe:before{content:""}.gjcwJg:before{top:var(--fcTUxn)}.WaBms:before{left:var(--fcTUxn)}.dqEIyP:before{right:var(--fcTUxn)}.knajvY:before{bottom:var(--fcTUxn)}.cNKdvI:before{background-image:linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05))}.hSfsjI:before{background-image:linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05))}[data-color-mode=dark] .cEVFqR{border-width:1px}[data-color-mode=dark] .jCzVrn{border-color:var(--gfUEye)}[data-color-mode=dark] .ccPJnH{border-color:var(--cFFIOa)}[data-color-mode=dark] .dYDocO{background-color:var(--YyYdq)}[data-color-mode=dark] .HKuZu{background-image:linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent)}.fmEGpT::-webkit-scrollbar,.hVrpDN::-webkit-scrollbar-track{background-color:var(--edNtiq)}.jOgXfC:focus-within{outline-offset:var(--gEfgCY)}.keDhFF:focus-within{outline-color:var(--gBHQLb)}.dLOUfk:focus-within{outline-style:solid}.hqoPOw:focus-within{outline-width:var(--hiYFxW)}.codFrx:is(:focus-visible,[data-focus-visible]){outline-offset:var(--gEfgCY)}.flBQvp:is(:focus-visible,[data-focus-visible]){border-radius:2px}.dmiQBo:is(:focus,[data-focus]){fill:url("#logo-gradient")}.AIGHf:is(:focus-visible,[data-focus-visible]){outline-color:var(--iAjuTO)}.dGEQaj:is(:focus-visible,[data-focus-visible]){outline-color:var(--itfeCm)}.hyjrVf:is(:focus-visible,[data-focus-visible]){outline-color:var(--dxaFjW)}.gcvzK:is(:focus-visible,[data-focus-visible]){outline-color:var(--ldafrz)}.bIoiOr:is(:focus-visible,[data-focus-visible]){outline-color:var(--Iycdi)}.hLPNjH:is(:focus-visible,[data-focus-visible]){outline-style:solid}.dTHceD:is(:focus-visible,[data-focus-visible]){outline-width:var(--hiYFxW)}.bXLdKW:is(:focus-visible,[data-focus-visible]){outline-color:var(--gBHQLb)}.eqIqpK:is(:hover,[data-hover]){background:#ffffff4d}.group:is(:hover,[data-hover]) .crpBMh{color:var(--enVPNY)}.group:is(:hover,[data-hover]) .dkgTgI{color:var(--cOyFst)}.group:is(:hover,[data-hover]) .dsNmcp{color:var(--iZlvjY)}.group:is(:hover,[data-hover]) .ejxEyT{color:var(--YyYdq)}.gFOtbv:is(:hover,[data-hover]){opacity:0.8}.gNRPsX:is(:hover,[data-hover]){filter:brightness(0.9)}.cNdQqS:is(:hover,[data-hover]){background:var(--crPUBo)}.hQYScc:is(:hover,[data-hover]){background:var(--iAjuTO)}.juloA:is(:hover,[data-hover]){background:var(--gfUEye)}.ekkLYF:is(:hover,[data-hover]){box-shadow:0 6px 8px 2px rgba(0,0,0,.18)}.ieWvIF:is(:hover,[data-hover]){cursor:pointer}.kznAev:is(:hover,[data-hover]){background:var(--edNtiq)}.lpgyhx:is(:hover,[data-hover]){background:var(--eRgqfH)}.gJEFOw:is(:hover,[data-hover]){background:var(--cFFIOa)}.eJlUjp:is(:hover,[data-hover]){background:var(--gBHQLb)}.group:is(:hover,[data-hover]) .fOIArh{color:var(--iagzVE)}.dmulsi:is(:hover,[data-hover]){fill:url("#logo-gradient")}.group:is(:hover,[data-hover]) .ejwVfp{color:var(--kFAOBM)}.dpCLFW:is(:hover,[data-hover]){background:var(--qsPVo)}.fFyjxH:is(:hover,[data-hover]){border-color:var(--DLYOY)}.khQJeR:is(:hover,[data-hover]){border-color:var(--gfUEye)}.group:is(:hover,[data-hover]) .jRgrno{border-color:var(--DLYOY)}.juloA:is(:hover,[data-hover]){background-color:var(--gfUEye)}.XicUs:is(:hover,[data-hover]){border-color:var(--gBHQLb)}.bhyTbN:is(:active,[data-active]){transform:scale(0.95)}.dLUGsc:is(:active,[data-active]){fill:url("#logo-gradient")}.fwLKPv>:first-child{min-width:var(--cAmzCM)}.kYYdmz>:last-child{min-width:var(--cAmzCM)}[data-color-mode=dark] .iBxkaW:before{background-image:linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05))}[data-color-mode=dark] .gYKIuG:before{background-image:linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05))}.feLnkv:is(:hover,[data-hover]):before{opacity:1}.hEvetW:is(:hover,[data-hover]):before{opacity:0}[data-color-mode=dark] .group:is(:hover,[data-hover]) .hOYqkw{color:var(--gzHfkH)}[data-color-mode=dark] .group:is(:hover,[data-hover]) .tdpny{color:var(--cOyFst)}[data-color-mode=dark] .group:is(:hover,[data-hover]) .jMRjnY{color:var(--dnTPVf)}[data-color-mode=dark] .group:is(:hover,[data-hover]) .hEkRYZ{color:var(--YyYdq)}[data-color-mode=dark] .cbdIkB:is(:hover,[data-hover]){background:var(--edNtiq)}[data-color-mode=dark] .bLXejb:is(:hover,[data-hover]){background:var(--gyKIIT)}[data-color-mode=dark] .leneMy:is(:hover,[data-hover]){background:var(--lfBdGG)}[data-color-mode=dark] .iCKJWv:is(:hover,[data-hover]){background:var(--gBHQLb)}[data-color-mode=dark] .chhjLx:is(:hover,[data-hover]){border-color:var(--ktVcUk)}@media (min-width: 48rem){.XrXGK{margin-inline:auto}.blyVxi{width:25rem}.jBZMtD{height:fit-content}.dOrSJl{box-shadow:0px 12px 56px color-mix(in srgb,var(--cFFIOa) 15%,transparent)}.cRloWQ{border-radius:var(--insZoq)}.fHEbLY{top:var(--uyqLg)}.ctyfRj{top:var(--fcTUxn)}}@media (min-width: 48rem){[data-color-mode=dark] .iueHSe{box-shadow:none}}@media (min-width: 48rem){[data-color-mode=dark] .isQWtr{border-block:solid}}@media (min-width: 48rem){[data-color-mode=dark] .ceYPvB{border-width:1px}}@media (min-width: 48rem){[data-color-mode=dark] .btXYvH{border-color:var(--gfUEye)}}@media screen and (min-width: 48rem){.kVsPah{padding-inline:var(--gGIQOF)}}@media (min-width: 769px){.fdZOLs{padding-top:15vh}}@media screen and (min-width: 64rem){.kTqchV{padding-inline:var(--flZesP)}}@media screen and (max-width: 47.9975rem){.hUYDug{max-width:var(--khWApH)}}@media only screen and (max-width: 767px){.fcSmAp{height:100dvh}}@media (max-width: 370px){.hYevRO{display:none}}@media (prefers-reduced-motion: reduce){.kuxZR{scale:1}}',document.head.appendChild(e),gu=!0}(),g&&Nd().fetchConfig().then(e=>{y(e.theme),x(2!==e.theme.customBrandingType),h(!1)}).catch(e=>{console.error("Failed to fetch config:",e),h(!1)})},[]),v(()=>{if(!C)return;(async()=>{try{const e="dark"===C.themeColor?"dark":"light",{textColor:r,buttonColor:t,buttonRadius:a,containerRadius:n,backgroundColor:o,neutralColor:i}=C;document.documentElement.setAttribute("data-color-mode",e),r&&m("text",r),a&&b("button",a),n&&b("container",n),o&&m("surface",o),i&&m("neutral",i),t&&m("brand",t),d?.()}catch(e){console.error("Error setting client theme",e)}})()},[C]);const E=n.useRef(r);if(v(()=>{!r&&E.current&&f({type:"GO_TO_LOGIN"}),r&&!E.current&&f({type:"GO_TO_LOGIN"}),E.current=r},[r,f]),!r)return null;const k="modal"===e,L=e=>{o&&e.target===e.currentTarget&&t&&t()};if(g)return null;const I=n.createElement(Dd,{wallets:i,onSuccess:l,onError:c,onClose:t,closeOnSuccess:a},n.createElement(S,{config:Nd().wagmiConfig},n.createElement(T,{client:fu},n.createElement("div",{id:"magic-widget-container"},n.createElement(hu,{state:u,dispatch:f,showFooterLogo:w,isModal:k})))));return k?n.createElement("div",{style:mu,className:xe({"@media (min-width: 769px)":{paddingTop:"15vh"}}),onClick:L},n.createElement("div",{style:bu},I)):I}export{Td as MAGIC_WIDGET_PROVIDER,Cu as MagicWidget,Dc as OAuthProvider,Rc as ThirdPartyWallets,Rd as WalletKitExtension,Nd as getExtensionInstance};
1
+ import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import*as a from"react";import n,{forwardRef as o,useMemo as i,createElement as l,useState as s,useRef as c,useCallback as d,useContext as u,useEffect as v,useReducer as p,createContext as f,Children as g,cloneElement as h,useLayoutEffect as m,useImperativeHandle as b,isValidElement as C}from"react";import y,{flushSync as w}from"react-dom";import{useConnect as x,useAccount as E,useDisconnect as k,useSignMessage as L,useChainId as I,WagmiProvider as S}from"wagmi";import{QueryClient as M,QueryClientProvider as T}from"@tanstack/react-query";import{Extension as _,MagicRPCError as P}from"@magic-sdk/provider";import{getAccount as A,reconnect as N,getConnectorClient as R,watchAccount as O}from"@wagmi/core";import{WagmiAdapter as D}from"@reown/appkit-adapter-wagmi";import{mainnet as F,sepolia as j}from"@reown/appkit/networks";import{toHex as z}from"viem";import{EthereumProvider as B}from"@walletconnect/ethereum-provider";import{createAppKit as V}from"@reown/appkit";function H(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}function W(e){return Object.fromEntries(Object.entries(e??{}).filter(([e,r])=>void 0!==r))}function U(e){return String.fromCharCode(e+(e>25?39:97))}function Y(e){return function(e){let r,t="";for(r=Math.abs(e);r>52;r=r/52|0)t=U(r%52)+t;return U(r%52)+t}(function(e,r){let t=r.length;for(;t;)e=33*e^r.charCodeAt(--t);return e}(5381,e)>>>0)}var Z=/\s*!(important)?/i;function G(e){return"string"==typeof e?e.replaceAll(" ","_"):e}var q=e=>{const r=new Map;return(...t)=>{const a=JSON.stringify(t);if(r.has(a))return r.get(a);const n=e(...t);return r.set(a,n),n}};function X(...e){return e.filter(Boolean).reduce((e,r)=>(Object.keys(r).forEach(t=>{const a=e[t],n=r[t];H(a)&&H(n)?e[t]=X(a,n):e[t]=n}),e),{})}var K=e=>null!=e;function Q(e,r,t={}){const{stop:a,getKey:n}=t;return function e(t,o=[]){if(H(t)||Array.isArray(t)){const i={};for(const[l,s]of Object.entries(t)){const c=n?.(l,s)??l,d=[...o,c];if(a?.(t,d))return r(t,o);const u=e(s,d);K(u)&&(i[c]=u)}return i}return r(t,o)}(e)}function J(e,r,t=!0){const{utility:a,conditions:n}=r,{hasShorthand:o,resolveShorthand:i}=a;return Q(e,e=>{return Array.isArray(e)?(r=e,t=n.breakpoints.keys,r.reduce((e,r,a)=>{const n=t[a];return null!=r&&(e[n]=r),e},{})):e;var r,t},{stop:e=>Array.isArray(e),getKey:t?e=>o?i(e):e:void 0})}var $={shift:e=>e,finalize:e=>e,breakpoints:{keys:[]}};var ee=/([A-Z])/g,re=/^ms-/,te=q(e=>e.startsWith("--")?e:e.replace(ee,"-$1").replace(re,"-ms-").toLowerCase()),ae=new RegExp(`^(${["min","max","clamp","calc"].join("|")})\\(.*\\)`),ne=`(?:${"cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%".split(",").join("|")})`,oe=new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${ne}$`),ie={map:function(e,r){return Array.isArray(e)?e.map(e=>r(e)):H(e)?Q(e,e=>r(e)):r(e)},isCssFunction:e=>"string"==typeof e&&ae.test(e),isCssVar:e=>"string"==typeof e&&/^var\(--.+\)$/.test(e),isCssUnit:e=>"string"==typeof e&&oe.test(e)},le=(e,r)=>{if(!e.defaultValues)return r;const t="function"==typeof e.defaultValues?e.defaultValues(r):e.defaultValues;return Object.assign({},t,W(r))},se=(e,r)=>e.filter(e=>e.css[r]).map(e=>({...e,css:e.css[r]}));function ce(e,...r){const t=Object.getOwnPropertyDescriptors(e),a=Object.keys(t),n=e=>{const r={};for(let a=0;a<e.length;a++){const n=e[a];t[n]&&(Object.defineProperty(r,n,t[n]),delete t[n])}return r};return r.map(e=>n(Array.isArray(e)?e:a.filter(e))).concat(n(a))}var de=["htmlSize","htmlTranslate","htmlWidth","htmlHeight"];function ue(e){return de.includes(e)?e.replace("html","").toLowerCase():e}function ve(e){return Object.fromEntries(Object.entries(e).map(([e,r])=>[ue(e),r]))}ve.keys=de;const pe=new Set("_light,_dark,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base".split(","));function fe(e){return pe.has(e)||/^@|&|&$/.test(e)}const ge=/^_/,he=/&|@/;const me=new Map,be=new Map;"aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:object,objectFit:object,overscrollBehavior:overscroll,overscrollBehaviorX:overscroll-x,overscrollBehaviorY:overscroll-y,position:pos/1,top:top,left:left,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,inset:inset,insetBlockEnd:inset-b,insetBlockStart:inset-t,insetInlineEnd:end/insetEnd/1,insetInlineStart:start/insetStart/1,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:basis,flex:flex,flexDirection:flex/flexDir,flexGrow:grow,flexShrink:shrink,gridTemplateColumns:grid-cols,gridTemplateRows:grid-rows,gridColumn:col-span,gridRow:row-span,gridColumnStart:col-start,gridColumnEnd:col-end,gridAutoFlow:grid-flow,gridAutoColumns:auto-cols,gridAutoRows:auto-rows,gap:gap,gridGap:gap,gridRowGap:gap-x,gridColumnGap:gap-y,rowGap:gap-x,columnGap:gap-y,justifyContent:justify,alignContent:content,alignItems:items,alignSelf:self,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pb,paddingBlockStart:pt,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mb,marginBlockStart:mt,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,outlineWidth:ring/ringWidth,outlineColor:ring/ringColor,outline:ring/1,outlineOffset:ring/ringOffset,divideX:divide-x,divideY:divide-y,divideColor:divide,divideStyle:divide,width:w/1,inlineSize:w,minWidth:min-w/minW,minInlineSize:min-w,maxWidth:max-w/maxW,maxInlineSize:max-w,height:h/1,blockSize:h,minHeight:min-h/minH,minBlockSize:min-h,maxHeight:max-h/maxH,maxBlockSize:max-b,color:text,fontFamily:font,fontSize:fs,fontWeight:font,fontSmoothing:smoothing,fontVariantNumeric:numeric,letterSpacing:tracking,lineHeight:leading,textAlign:text,textDecoration:text-decor,textDecorationColor:text-decor,textEmphasisColor:text-emphasis,textDecorationStyle:decoration,textDecorationThickness:decoration,textUnderlineOffset:underline-offset,textTransform:text,textIndent:indent,textShadow:text-shadow,textShadowColor:text-shadow/textShadowColor,textOverflow:text,verticalAlign:align,wordBreak:break,textWrap:text,truncate:truncate,lineClamp:clamp,listStyleType:list,listStylePosition:list,listStyleImage:list-img,backgroundPosition:bg/bgPosition,backgroundPositionX:bg-x/bgPositionX,backgroundPositionY:bg-y/bgPositionY,backgroundAttachment:bg/bgAttachment,backgroundClip:bg-clip/bgClip,background:bg/1,backgroundColor:bg/bgColor,backgroundOrigin:bg-origin/bgOrigin,backgroundImage:bg-img/bgImage,backgroundRepeat:bg-repeat/bgRepeat,backgroundBlendMode:bg-blend/bgBlendMode,backgroundSize:bg/bgSize,backgroundGradient:bg-gradient/bgGradient,textGradient:text-gradient,gradientFrom:from,gradientTo:to,gradientVia:via,borderRadius:rounded/1,borderTopLeftRadius:rounded-tl/roundedTopLeft,borderTopRightRadius:rounded-tr/roundedTopRight,borderBottomRightRadius:rounded-br/roundedBottomRight,borderBottomLeftRadius:rounded-bl/roundedBottomLeft,borderTopRadius:rounded-t/roundedTop,borderRightRadius:rounded-r/roundedRight,borderBottomRadius:rounded-b/roundedBottom,borderLeftRadius:rounded-l/roundedLeft,borderStartStartRadius:rounded-ss/roundedStartStart,borderStartEndRadius:rounded-se/roundedStartEnd,borderStartRadius:rounded-s/roundedStart,borderEndStartRadius:rounded-es/roundedEndStart,borderEndEndRadius:rounded-ee/roundedEndEnd,borderEndRadius:rounded-e/roundedEnd,border:border,borderWidth:border-w,borderTopWidth:border-tw,borderLeftWidth:border-lw,borderRightWidth:border-rw,borderBottomWidth:border-bw,borderColor:border,borderInline:border-x/borderX,borderInlineWidth:border-x/borderXWidth,borderInlineColor:border-x/borderXColor,borderBlock:border-y/borderY,borderBlockWidth:border-y/borderYWidth,borderBlockColor:border-y/borderYColor,borderLeft:border-l,borderLeftColor:border-l,borderInlineStart:border-s/borderStart,borderInlineStartWidth:border-s/borderStartWidth,borderInlineStartColor:border-s/borderStartColor,borderRight:border-r,borderRightColor:border-r,borderInlineEnd:border-e/borderEnd,borderInlineEndWidth:border-e/borderEndWidth,borderInlineEndColor:border-e/borderEndColor,borderTop:border-t,borderTopColor:border-t,borderBottom:border-b,borderBottomColor:border-b,borderBlockEnd:border-be,borderBlockEndColor:border-be,borderBlockStart:border-bs,borderBlockStartColor:border-bs,boxShadow:shadow/1,boxShadowColor:shadow/shadowColor,mixBlendMode:mix-blend,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:backdrop,backdropBlur:backdrop-blur,backdropBrightness:backdrop-brightness,backdropContrast:backdrop-contrast,backdropGrayscale:backdrop-grayscale,backdropHueRotate:backdrop-hue-rotate,backdropInvert:backdrop-invert,backdropOpacity:backdrop-opacity,backdropSaturate:backdrop-saturate,backdropSepia:backdrop-sepia,borderCollapse:border,borderSpacing:border-spacing,borderSpacingX:border-spacing-x,borderSpacingY:border-spacing-y,tableLayout:table,transitionTimingFunction:ease,transitionDelay:delay,transitionDuration:duration,transitionProperty:transition-prop,transition:transition,animation:animation,animationName:animation-name,animationDelay:animation-delay,transformOrigin:origin,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,accentColor:accent,caretColor:caret,scrollBehavior:scroll,scrollbar:scrollbar,scrollMargin:scroll-m,scrollMarginLeft:scroll-ml,scrollMarginRight:scroll-mr,scrollMarginTop:scroll-mt,scrollMarginBottom:scroll-mb,scrollMarginBlock:scroll-my/scrollMarginY,scrollMarginBlockEnd:scroll-mb,scrollMarginBlockStart:scroll-mt,scrollMarginInline:scroll-mx/scrollMarginX,scrollMarginInlineEnd:scroll-me,scrollMarginInlineStart:scroll-ms,scrollPadding:scroll-p,scrollPaddingBlock:scroll-pb/scrollPaddingY,scrollPaddingBlockStart:scroll-pt,scrollPaddingBlockEnd:scroll-pb,scrollPaddingInline:scroll-px/scrollPaddingX,scrollPaddingInlineEnd:scroll-pe,scrollPaddingInlineStart:scroll-ps,scrollPaddingLeft:scroll-pl,scrollPaddingRight:scroll-pr,scrollPaddingTop:scroll-pt,scrollPaddingBottom:scroll-pb,scrollSnapAlign:snap,scrollSnapStop:snap,scrollSnapType:snap,scrollSnapStrictness:strictness,scrollSnapMargin:snap-m,scrollSnapMarginTop:snap-mt,scrollSnapMarginBottom:snap-mb,scrollSnapMarginLeft:snap-ml,scrollSnapMarginRight:snap-mr,touchAction:touch,userSelect:select,fill:fill,stroke:stroke,strokeWidth:stroke-w,srOnly:sr,debug:debug,appearance:appearance,backfaceVisibility:backface,clipPath:clip-path,hyphens:hyphens,mask:mask,maskImage:mask-image,maskSize:mask-size,textSizeAdjust:text-size-adjust,container:cq,containerName:cq-name,containerType:cq-type,textStyle:textStyle".split(",").forEach(e=>{const[r,t]=e.split(":"),[a,...n]=t.split("/");me.set(r,a),n.length&&n.forEach(e=>{be.set("1"===e?a:e,r)})});const Ce=e=>be.get(e)||e,ye={conditions:{shift:function(e){return e.sort((e,r)=>{const t=fe(e),a=fe(r);return t&&!a?1:!t&&a?-1:0})},finalize:function(e){return e.map(e=>pe.has(e)?e.replace(ge,""):he.test(e)?`[${G(e.trim())}]`:e)},breakpoints:{keys:["base","sm","md","lg","xl","2xl"]}},utility:{transform:(e,r)=>{const t=Ce(e);return{className:`${me.get(t)||te(t)}_${G(r)}`}},hasShorthand:!0,toHash:(e,r)=>r(e.join(":")),resolveShorthand:Ce}},we=function(e){const{utility:r,conditions:t=$}=e,a=(e,a)=>{let n;{const i=[...t.finalize(e),a];o=r.toHash(i,Y),n=[r.prefix,o].filter(Boolean).join("-")}var o;return n};return q(({base:n,...o}={})=>{const i=J(Object.assign(o,n),e),l=new Set;return Q(i,(e,n)=>{const o=function(e){return"string"==typeof e&&Z.test(e)}(e);if(null==e)return;const[i,...s]=t.shift(n),c=function(e){return e.slice().filter(e=>!(e=>"base"===e)(e))}(s),d=r.transform(i,function(e){return"string"==typeof e?e.replace(Z,"").trim():e}((e=>"string"==typeof e?e.replaceAll(/[\n\s]+/g," "):e)(e)));let u=a(c,d.className);o&&(u=`${u}!`),l.add(u)}),Array.from(l).join(" ")})}(ye),xe=(...e)=>we(Ee(...e));xe.raw=(...e)=>Ee(...e);const{mergeCss:Ee}=function(e){function r(r){const t=function(...e){return e.filter(e=>H(e)&&Object.keys(W(e)).length>0)}(...r);return 1===t.length?t:t.map(r=>J(r,e))}return{mergeCss:q(function(...e){return X(...r(e))}),assignCss:function(...e){return Object.assign({},...r(e))}}}(ye);function ke(){let e,r="",t=0;for(;t<arguments.length;)(e=arguments[t++])&&"string"==typeof e&&(r&&(r+=" "),r+=e);return r}const Le=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function Ie(e){const{base:r,variants:t,defaultVariants:a,compoundVariants:n}=Le(e);function o(e={}){const o={...a,...W(e)};let i={...r};for(const[e,r]of Object.entries(o))t[e]?.[r]&&(i=Ee(i,t[e][r]));const l=function(e,r){let t={};return e.forEach(e=>{Object.entries(e).every(([e,t])=>{if("css"===e)return!0;return(Array.isArray(t)?t:[t]).some(t=>r[e]===t)})&&(t=Ee(t,e.css))}),t}(n,o);return Ee(i,l)}const i=Object.keys(t);const l=Object.fromEntries(Object.entries(t).map(([e,r])=>[e,Object.keys(r)]));return Object.assign(q(function(e){return xe(o(e))}),{__cva__:!0,variantMap:l,variantKeys:i,raw:o,config:e,merge:function(e){const o=Le(e.config),i=((...e)=>e.filter(Boolean).reduce((e,r)=>Array.from(new Set([...e,...r])),[]))(e.variantKeys,Object.keys(t));return Ie({base:Ee(r,o.base),variants:Object.fromEntries(i.map(e=>[e,Ee(t[e],o.variants[e])])),defaultVariants:X(a,o.defaultVariants),compoundVariants:[...n,...o.compoundVariants]})},splitVariantProps:function(e){return ce(e,i)}})}const Se=(e,r)=>e+"__"+r;function Me(e){const r=Object.entries(((e={})=>{const r=r=>({className:[e.className,r].filter(Boolean).join("__"),base:e.base?.[r]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?se(e.compoundVariants,r):[]}),t=(e.slots??[]).map(e=>[e,r(e)]);for(const[r,a]of Object.entries(e.variants??{}))for(const[e,n]of Object.entries(a))t.forEach(([t,a])=>{a.variants[r]??={},a.variants[r][e]=n[t]??{}});return Object.fromEntries(t)})(e)).map(([e,r])=>[e,Ie(r)]);const t=e.variants??{},a=Object.keys(t);const n=Object.fromEntries(Object.entries(t).map(([e,r])=>[e,Object.keys(r)]));return Object.assign(q(function(t){const a=r.map(([r,a])=>[r,ke(a(t),e.className&&Se(e.className,r))]);return Object.fromEntries(a)}),{__cva__:!1,raw:function(e){const t=r.map(([r,t])=>[r,t.raw(e)]);return Object.fromEntries(t)},variantMap:n,variantKeys:a,splitVariantProps:function(e){return ce(e,a)}})}var Te="css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,strokeWidth,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,colorPalette,_light,_dark,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,textStyle".split(","),_e="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect".split(",").concat(Te),Pe=new Map(_e.map(e=>[e,!0])),Ae=/&|@/,Ne=q(e=>Pe.has(e)||e.startsWith("--")||Ae.test(e));const Re=(e,r)=>!r.includes(e)&&!Ne(e);function Oe(e,r={},t={}){const a=r.__cva__||r.__recipe__?r:Ie(r),n=t.shouldForwardProp||Re,s=e=>n(e,a.variantKeys),c=Object.assign(t.dataAttr&&r.__name__?{"data-recipe":r.__name__}:{},t.defaultProps),d=((e,r)=>{if(e&&!r)return e;if(!e&&r)return r;if(e.__cva__&&r.__cva__||e.__recipe__&&r.__recipe__)return e.merge(r);const t=new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");throw TypeError.captureStackTrace?.(t),t})(e.__cva__,a),u=((e,r)=>e.__shouldForwardProps__&&r?t=>e.__shouldForwardProps__(t)&&r(t):r)(e,s),v=e.__base__||e,p=o(function(e,t){const{as:a=v,children:n,...o}=e,s=i(()=>Object.assign({},c,o),[o]),[p,f,g,h,m]=i(()=>ce(s,ve.keys,u,d.variantKeys,Ne),[s]);const b=r.__recipe__?function(){const{css:e,...r}=h,t=d.__getCompoundVariantCss__?.(g);return ke(d(g,!1),xe(t,r,e),s.className)}:function(){const{css:e,...r}=h,t=d.raw(g);return ke(xe(t,r,e),s.className)};return l(a,{ref:t,...f,...m,...ve(p),className:b()},s.children??n)}),f="string"==typeof(g=v)?g:g?.displayName||g?.name||"Component";var g;return p.displayName=`styled.${f}`,p.__cva__=d,p.__base__=v,p.__shouldForwardProps__=s,p}function De(){const e=new Map;return new Proxy(Oe,{apply:(e,r,t)=>Oe(...t),get:(r,t)=>(e.has(t)||e.set(t,Oe(t)),e.get(t))})}const Fe=De(),je={transform:e=>e},ze=o(function(e,r){const[t,a]=ce(e,[]),n={ref:r,...((e={})=>{const r=le(je,e);return je.transform(r,ie)})(t),...a};return l(Fe.div,n)}),Be={transform(e){const{direction:r,align:t,justify:a,wrap:n,basis:o,grow:i,shrink:l,...s}=e;return{display:"flex",flexDirection:r,alignItems:t,justifyContent:a,flexWrap:n,flexBasis:o,flexGrow:i,flexShrink:l,...s}}},Ve=(e={})=>{const r=le(Be,e);return Be.transform(r,ie)},He=e=>xe(Ve(e));He.raw=Ve;const We=o(function(e,r){const[t,a]=ce(e,["align","justify","direction","wrap","basis","grow","shrink"]),n={ref:r,...Ve(t),...a};return l(Fe.div,n)}),Ue={transform(e){const{align:r,justify:t,direction:a,gap:n,...o}=e;return{display:"flex",flexDirection:a,alignItems:r,justifyContent:t,gap:n,...o}},defaultValues:{direction:"column",gap:"10px"}},Ye=o(function(e,r){const[t,a]=ce(e,["align","justify","direction","gap"]),n={ref:r,...((e={})=>{const r=le(Ue,e);return Ue.transform(r,ie)})(t),...a};return l(Fe.div,n)}),Ze={transform(e){const{justify:r,gap:t,...a}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:t,flexDirection:"column",...a}},defaultValues:{gap:"10px"}},Ge=(e={})=>{const r=le(Ze,e);return Ze.transform(r,ie)},qe=e=>xe(Ge(e));qe.raw=Ge;const Xe=o(function(e,r){const[t,a]=ce(e,["justify","gap"]),n={ref:r,...Ge(t),...a};return l(Fe.div,n)}),Ke={transform(e){const{justify:r,gap:t,...a}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:t,flexDirection:"row",...a}},defaultValues:{gap:"10px"}},Qe=o(function(e,r){const[t,a]=ce(e,["justify","gap"]),n={ref:r,...((e={})=>{const r=le(Ke,e);return Ke.transform(r,ie)})(t),...a};return l(Fe.div,n)}),Je={transform(e){const{size:r,...t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",flex:"0 0 auto",width:r,height:r,borderRadius:"9999px",...t}}},$e=(e={})=>{const r=le(Je,e);return Je.transform(r,ie)},er=e=>xe($e(e));er.raw=$e;const rr=o(function(e,r){const[t,a]=ce(e,["size"]),n={ref:r,...$e(t),...a};return l(Fe.div,n)}),tr={transform(e){const{inline:r,...t}=e;return{display:r?"inline-flex":"flex",alignItems:"center",justifyContent:"center",...t}}},ar=o(function(e,r){const[t,a]=ce(e,["inline"]),n={ref:r,...((e={})=>{const r=le(tr,e);return tr.transform(r,ie)})(t),...a};return l(Fe.div,n)}),nr={transform(e,{map:r}){const{orientation:t,thickness:a,color:n,...o}=e;return{"--thickness":a,width:r(t,e=>"vertical"===e?void 0:"100%"),height:r(t,e=>"horizontal"===e?void 0:"100%"),borderBlockEndWidth:r(t,e=>"horizontal"===e?"var(--thickness)":void 0),borderInlineEndWidth:r(t,e=>"vertical"===e?"var(--thickness)":void 0),borderColor:n,...o}},defaultValues:{orientation:"horizontal",thickness:"1px"}},or=o(function(e,r){const[t,a]=ce(e,["orientation","thickness","color"]),n={ref:r,...((e={})=>{const r=le(nr,e);return nr.transform(r,ie)})(t),...a};return l(Fe.div,n)}),ir={"aspectRatios.square":{value:"1 / 1",variable:"var(--cUJial)"},"aspectRatios.landscape":{value:"4 / 3",variable:"var(--joSgrv)"},"aspectRatios.portrait":{value:"3 / 4",variable:"var(--dXjFHz)"},"aspectRatios.wide":{value:"16 / 9",variable:"var(--gqpqIn)"},"aspectRatios.ultrawide":{value:"18 / 5",variable:"var(--lixcAJ)"},"aspectRatios.golden":{value:"1.618 / 1",variable:"var(--hSWVDT)"},"borders.none":{value:"none",variable:"var(--dzOvWn)"},"easings.default":{value:"cubic-bezier(0.4, 0, 0.2, 1)",variable:"var(--drrWcF)"},"easings.linear":{value:"linear",variable:"var(--hgfxJf)"},"easings.in":{value:"cubic-bezier(0.4, 0, 1, 1)",variable:"var(--hCLxzh)"},"easings.out":{value:"cubic-bezier(0, 0, 0.2, 1)",variable:"var(--byCBno)"},"easings.in-out":{value:"cubic-bezier(0.4, 0, 0.2, 1)",variable:"var(--gSAVQW)"},"durations.fastest":{value:"50ms",variable:"var(--fuVfvZ)"},"durations.faster":{value:"100ms",variable:"var(--fVBMec)"},"durations.fast":{value:"150ms",variable:"var(--mUhz)"},"durations.normal":{value:"200ms",variable:"var(--cWTXGg)"},"durations.slow":{value:"300ms",variable:"var(--cifMdM)"},"durations.slower":{value:"400ms",variable:"var(--goNNlj)"},"durations.slowest":{value:"500ms",variable:"var(--bPXfWW)"},"fontWeights.thin":{value:"100",variable:"var(--dRPRGd)"},"fontWeights.extralight":{value:"200",variable:"var(--dooANa)"},"fontWeights.light":{value:"300",variable:"var(--fVSZDc)"},"fontWeights.normal":{value:"400",variable:"var(--llFanx)"},"fontWeights.medium":{value:"500",variable:"var(--leEsKL)"},"fontWeights.semibold":{value:"600",variable:"var(--hmvyHR)"},"fontWeights.bold":{value:"700",variable:"var(--ghWdwL)"},"fontWeights.extrabold":{value:"800",variable:"var(--janwPd)"},"fontWeights.black":{value:"900",variable:"var(--bvnjIx)"},"lineHeights.none":{value:"1",variable:"var(--ekeMrS)"},"lineHeights.tight":{value:"1.25",variable:"var(--jyTpIu)"},"lineHeights.snug":{value:"1.375",variable:"var(--ipEwfb)"},"lineHeights.normal":{value:"1.5",variable:"var(--lomeBD)"},"lineHeights.relaxed":{value:"1.625",variable:"var(--kwMYUX)"},"lineHeights.loose":{value:"2",variable:"var(--dVGecO)"},"fonts.sans":{value:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',variable:"var(--dywXPJ)"},"fonts.serif":{value:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',variable:"var(--guQdxN)"},"fonts.mono":{value:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',variable:"var(--gxQaAd)"},"letterSpacings.tighter":{value:"-0.05em",variable:"var(--jrseCf)"},"letterSpacings.tight":{value:"-0.025em",variable:"var(--glKTKc)"},"letterSpacings.normal":{value:"0em",variable:"var(--knaPyh)"},"letterSpacings.wide":{value:"0.025em",variable:"var(--jwdARF)"},"letterSpacings.wider":{value:"0.05em",variable:"var(--eUSVTv)"},"letterSpacings.widest":{value:"0.1em",variable:"var(--lhSeXO)"},"fontSizes.2xs":{value:"0.5rem",variable:"var(--kWjDjq)"},"fontSizes.xs":{value:"0.75rem",variable:"var(--loLyxA)"},"fontSizes.sm":{value:"0.875rem",variable:"var(--eRgJXV)"},"fontSizes.md":{value:"1rem",variable:"var(--daFrau)"},"fontSizes.lg":{value:"1.125rem",variable:"var(--gKFLFQ)"},"fontSizes.xl":{value:"1.25rem",variable:"var(--gFqSQX)"},"fontSizes.2xl":{value:"1.5rem",variable:"var(--dllMvh)"},"fontSizes.3xl":{value:"1.875rem",variable:"var(--jaXqkI)"},"fontSizes.4xl":{value:"2.25rem",variable:"var(--cLogVb)"},"fontSizes.5xl":{value:"3rem",variable:"var(--izMrAu)"},"fontSizes.6xl":{value:"3.75rem",variable:"var(--hdlyfR)"},"fontSizes.7xl":{value:"4.5rem",variable:"var(--bDBsww)"},"fontSizes.8xl":{value:"6rem",variable:"var(--fwhTbD)"},"fontSizes.9xl":{value:"8rem",variable:"var(--lkGdGW)"},"shadows.xs":{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)",variable:"var(--bUWovs)"},"shadows.sm":{value:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",variable:"var(--cDhNnp)"},"shadows.md":{value:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",variable:"var(--jMKUKK)"},"shadows.lg":{value:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",variable:"var(--kNVcRA)"},"shadows.xl":{value:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",variable:"var(--bnVgij)"},"shadows.2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)",variable:"var(--IghlV)"},"shadows.inner":{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",variable:"var(--gmhFEB)"},"blurs.sm":{value:"4px",variable:"var(--aZLOC)"},"blurs.base":{value:"8px",variable:"var(--jDYzax)"},"blurs.md":{value:"12px",variable:"var(--kMMDaR)"},"blurs.lg":{value:"16px",variable:"var(--dyIDQb)"},"blurs.xl":{value:"24px",variable:"var(--TtVDs)"},"blurs.2xl":{value:"40px",variable:"var(--btncja)"},"blurs.3xl":{value:"64px",variable:"var(--esAhmv)"},"spacing.0":{value:"0rem",variable:"var(--fcTUxn)"},"spacing.1":{value:"0.25rem",variable:"var(--dacYEG)"},"spacing.2":{value:"0.5rem",variable:"var(--ebuyxV)"},"spacing.3":{value:"0.75rem",variable:"var(--bYDCFo)"},"spacing.4":{value:"1rem",variable:"var(--hIimNX)"},"spacing.5":{value:"1.25rem",variable:"var(--fFrqVq)"},"spacing.6":{value:"1.5rem",variable:"var(--gGIQOF)"},"spacing.7":{value:"1.75rem",variable:"var(--eDRUVY)"},"spacing.8":{value:"2rem",variable:"var(--flZesP)"},"spacing.9":{value:"2.25rem",variable:"var(--djiiAi)"},"spacing.10":{value:"2.5rem",variable:"var(--ieMJEa)"},"spacing.11":{value:"2.75rem",variable:"var(--cBFxYr)"},"spacing.12":{value:"3rem",variable:"var(--uyqLg)"},"spacing.14":{value:"3.5rem",variable:"var(--hXmVPi)"},"spacing.16":{value:"4rem",variable:"var(--mYCWo)"},"spacing.20":{value:"5rem",variable:"var(--jgejxp)"},"spacing.24":{value:"6rem",variable:"var(--iYEvIx)"},"spacing.28":{value:"7rem",variable:"var(--dzpWeZ)"},"spacing.32":{value:"8rem",variable:"var(--fifqnK)"},"spacing.36":{value:"9rem",variable:"var(--faFCyS)"},"spacing.40":{value:"10rem",variable:"var(--bxwoov)"},"spacing.44":{value:"11rem",variable:"var(--huPzrf)"},"spacing.48":{value:"12rem",variable:"var(--hgdKvb)"},"spacing.52":{value:"13rem",variable:"var(--cZMJbQ)"},"spacing.56":{value:"14rem",variable:"var(--iXfUeA)"},"spacing.60":{value:"15rem",variable:"var(--vWSpd)"},"spacing.64":{value:"16rem",variable:"var(--gtqdrN)"},"spacing.72":{value:"18rem",variable:"var(--hNtIEu)"},"spacing.80":{value:"20rem",variable:"var(--kqIPsj)"},"spacing.96":{value:"24rem",variable:"var(--wdMRQ)"},"spacing.0.5":{value:"0.125rem",variable:"var(--gEfgCY)"},"spacing.1.5":{value:"0.375rem",variable:"var(--jJIQbV)"},"spacing.2.5":{value:"0.625rem",variable:"var(--cqwGG)"},"spacing.3.5":{value:"0.875rem",variable:"var(--dhUgfD)"},"animations.spin":{value:"spin 1s linear infinite",variable:"var(--bJeTGz)"},"animations.ping":{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",variable:"var(--cxTetH)"},"animations.pulse":{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",variable:"var(--jjLJjo)"},"animations.bounce":{value:"bounce 1s infinite",variable:"var(--eUTuJH)"},"colors.current":{value:"currentColor",variable:"var(--bLinLB)"},"colors.black":{value:"#000",variable:"var(--qLIrn)"},"colors.white":{value:"#fff",variable:"var(--RiClf)"},"colors.transparent":{value:"rgb(0 0 0 / 0)",variable:"var(--edNtiq)"},"colors.rose.50":{value:"#fff1f2",variable:"var(--cQacUT)"},"colors.rose.100":{value:"#ffe4e6",variable:"var(--fFtaKH)"},"colors.rose.200":{value:"#fecdd3",variable:"var(--eUoFZM)"},"colors.rose.300":{value:"#fda4af",variable:"var(--bPMUxN)"},"colors.rose.400":{value:"#fb7185",variable:"var(--bvZVli)"},"colors.rose.500":{value:"#f43f5e",variable:"var(--jGTTif)"},"colors.rose.600":{value:"#e11d48",variable:"var(--iVPyxk)"},"colors.rose.700":{value:"#be123c",variable:"var(--fRnMVl)"},"colors.rose.800":{value:"#9f1239",variable:"var(--hxzBoW)"},"colors.rose.900":{value:"#881337",variable:"var(--esXPMX)"},"colors.rose.950":{value:"#4c0519",variable:"var(--epiLsK)"},"colors.pink.50":{value:"#fdf2f8",variable:"var(--hPYfGc)"},"colors.pink.100":{value:"#fce7f3",variable:"var(--ioAkJk)"},"colors.pink.200":{value:"#fbcfe8",variable:"var(--eyVWNz)"},"colors.pink.300":{value:"#f9a8d4",variable:"var(--nXIqK)"},"colors.pink.400":{value:"#f472b6",variable:"var(--hGgStN)"},"colors.pink.500":{value:"#ec4899",variable:"var(--dviDWY)"},"colors.pink.600":{value:"#db2777",variable:"var(--kUZZAj)"},"colors.pink.700":{value:"#be185d",variable:"var(--gKbLdu)"},"colors.pink.800":{value:"#9d174d",variable:"var(--UhnuV)"},"colors.pink.900":{value:"#831843",variable:"var(--hYEIxc)"},"colors.pink.950":{value:"#500724",variable:"var(--dPgAHx)"},"colors.fuchsia.50":{value:"#fdf4ff",variable:"var(--kpTESD)"},"colors.fuchsia.100":{value:"#fae8ff",variable:"var(--jfJgr)"},"colors.fuchsia.200":{value:"#f5d0fe",variable:"var(--gZeVto)"},"colors.fuchsia.300":{value:"#f0abfc",variable:"var(--gfHpEZ)"},"colors.fuchsia.400":{value:"#e879f9",variable:"var(--dSTUoK)"},"colors.fuchsia.500":{value:"#d946ef",variable:"var(--cZwoAv)"},"colors.fuchsia.600":{value:"#c026d3",variable:"var(--jPvANs)"},"colors.fuchsia.700":{value:"#a21caf",variable:"var(--iVXUZd)"},"colors.fuchsia.800":{value:"#86198f",variable:"var(--hYKnEO)"},"colors.fuchsia.900":{value:"#701a75",variable:"var(--hfmHQz)"},"colors.fuchsia.950":{value:"#4a044e",variable:"var(--cYPdae)"},"colors.purple.50":{value:"#faf5ff",variable:"var(--ksTgfC)"},"colors.purple.100":{value:"#f3e8ff",variable:"var(--iCdJRO)"},"colors.purple.200":{value:"#e9d5ff",variable:"var(--dWAXWh)"},"colors.purple.300":{value:"#d8b4fe",variable:"var(--jcWlLI)"},"colors.purple.400":{value:"#c084fc",variable:"var(--eLlnzT)"},"colors.purple.500":{value:"#a855f7",variable:"var(--jRGBpu)"},"colors.purple.600":{value:"#9333ea",variable:"var(--fmdPtN)"},"colors.purple.700":{value:"#7e22ce",variable:"var(--kszdjo)"},"colors.purple.800":{value:"#6b21a8",variable:"var(--kMigIv)"},"colors.purple.900":{value:"#581c87",variable:"var(--eDhKZa)"},"colors.purple.950":{value:"#3b0764",variable:"var(--eadxYH)"},"colors.violet.50":{value:"#f5f3ff",variable:"var(--elZfLV)"},"colors.violet.100":{value:"#ede9fe",variable:"var(--jcWAkV)"},"colors.violet.200":{value:"#ddd6fe",variable:"var(--gHfMHa)"},"colors.violet.300":{value:"#c4b5fd",variable:"var(--jSzuYT)"},"colors.violet.400":{value:"#a78bfa",variable:"var(--jDVPUQ)"},"colors.violet.500":{value:"#8b5cf6",variable:"var(--bzTONN)"},"colors.violet.600":{value:"#7c3aed",variable:"var(--ktyKIO)"},"colors.violet.700":{value:"#6d28d9",variable:"var(--cpwJBL)"},"colors.violet.800":{value:"#5b21b6",variable:"var(--foWeJc)"},"colors.violet.900":{value:"#4c1d95",variable:"var(--iApNaV)"},"colors.violet.950":{value:"#2e1065",variable:"var(--cfTfyk)"},"colors.indigo.50":{value:"#eef2ff",variable:"var(--kbclAu)"},"colors.indigo.100":{value:"#e0e7ff",variable:"var(--gAzkHe)"},"colors.indigo.200":{value:"#c7d2fe",variable:"var(--gRHwoJ)"},"colors.indigo.300":{value:"#a5b4fc",variable:"var(--iYtjYI)"},"colors.indigo.400":{value:"#818cf8",variable:"var(--jCTsMf)"},"colors.indigo.500":{value:"#6366f1",variable:"var(--ujwXi)"},"colors.indigo.600":{value:"#4f46e5",variable:"var(--LrIEN)"},"colors.indigo.700":{value:"#4338ca",variable:"var(--cSdwoM)"},"colors.indigo.800":{value:"#3730a3",variable:"var(--irwviH)"},"colors.indigo.900":{value:"#312e81",variable:"var(--kyiiSG)"},"colors.indigo.950":{value:"#1e1b4b",variable:"var(--hgSANP)"},"colors.blue.50":{value:"#eff6ff",variable:"var(--glmLoi)"},"colors.blue.100":{value:"#dbeafe",variable:"var(--bYrJpO)"},"colors.blue.200":{value:"#bfdbfe",variable:"var(--hoTvPd)"},"colors.blue.300":{value:"#93c5fd",variable:"var(--bMEoOM)"},"colors.blue.400":{value:"#60a5fa",variable:"var(--hIEEwj)"},"colors.blue.500":{value:"#3b82f6",variable:"var(--cgpxvS)"},"colors.blue.600":{value:"#2563eb",variable:"var(--hwRjVh)"},"colors.blue.700":{value:"#1d4ed8",variable:"var(--bUCcUQ)"},"colors.blue.800":{value:"#1e40af",variable:"var(--golFsv)"},"colors.blue.900":{value:"#1e3a8a",variable:"var(--LWyse)"},"colors.blue.950":{value:"#172554",variable:"var(--eJQij)"},"colors.cyan.50":{value:"#ecfeff",variable:"var(--dyXAhp)"},"colors.cyan.100":{value:"#cffafe",variable:"var(--eeWoox)"},"colors.cyan.200":{value:"#a5f3fc",variable:"var(--fnHbwe)"},"colors.cyan.300":{value:"#67e8f9",variable:"var(--cLmYYf)"},"colors.cyan.400":{value:"#22d3ee",variable:"var(--bpLSHw)"},"colors.cyan.500":{value:"#06b6d4",variable:"var(--kcNzIt)"},"colors.cyan.600":{value:"#0891b2",variable:"var(--llymQa)"},"colors.cyan.700":{value:"#0e7490",variable:"var(--iJeksb)"},"colors.cyan.800":{value:"#155e75",variable:"var(--jTKpqw)"},"colors.cyan.900":{value:"#164e63",variable:"var(--hrqmSx)"},"colors.cyan.950":{value:"#083344",variable:"var(--bcqAnE)"},"colors.teal.50":{value:"#f0fdfa",variable:"var(--jqQOis)"},"colors.teal.100":{value:"#ccfbf1",variable:"var(--hsCMHs)"},"colors.teal.200":{value:"#99f6e4",variable:"var(--jcJhxj)"},"colors.teal.300":{value:"#5eead4",variable:"var(--czjDVi)"},"colors.teal.400":{value:"#2dd4bf",variable:"var(--kfgCt)"},"colors.teal.500":{value:"#14b8a6",variable:"var(--eWbmzo)"},"colors.teal.600":{value:"#0d9488",variable:"var(--gGhHpf)"},"colors.teal.700":{value:"#0f766e",variable:"var(--cIdNe)"},"colors.teal.800":{value:"#115e59",variable:"var(--catTvB)"},"colors.teal.900":{value:"#134e4a",variable:"var(--gMpZsw)"},"colors.teal.950":{value:"#042f2e",variable:"var(--bnTNlF)"},"colors.emerald.50":{value:"#ecfdf5",variable:"var(--jVPfey)"},"colors.emerald.100":{value:"#d1fae5",variable:"var(--gSyYHy)"},"colors.emerald.200":{value:"#a7f3d0",variable:"var(--dOyJRJ)"},"colors.emerald.300":{value:"#6ee7b7",variable:"var(--jOMcLk)"},"colors.emerald.400":{value:"#34d399",variable:"var(--bLsBkr)"},"colors.emerald.500":{value:"#10b981",variable:"var(--hLFUdS)"},"colors.emerald.600":{value:"#059669",variable:"var(--eHFFod)"},"colors.emerald.700":{value:"#047857",variable:"var(--kHSYhE)"},"colors.emerald.800":{value:"#065f46",variable:"var(--iuBcgT)"},"colors.emerald.900":{value:"#064e3b",variable:"var(--dfsLBy)"},"colors.emerald.950":{value:"#022c22",variable:"var(--jJEloz)"},"colors.green.50":{value:"#f0fdf4",variable:"var(--hXozqf)"},"colors.green.100":{value:"#dcfce7",variable:"var(--iDDIAz)"},"colors.green.200":{value:"#bbf7d0",variable:"var(--khfuXU)"},"colors.green.300":{value:"#86efac",variable:"var(--hypAVx)"},"colors.green.400":{value:"#4ade80",variable:"var(--wGfza)"},"colors.green.500":{value:"#22c55e",variable:"var(--jdlUVz)"},"colors.green.600":{value:"#16a34a",variable:"var(--kGNHsU)"},"colors.green.700":{value:"#15803d",variable:"var(--hXXNqx)"},"colors.green.800":{value:"#166534",variable:"var(--bAQeLK)"},"colors.green.900":{value:"#14532d",variable:"var(--khvUij)"},"colors.green.950":{value:"#052e16",variable:"var(--cbdKOS)"},"colors.lime.50":{value:"#f7fee7",variable:"var(--dhEleJ)"},"colors.lime.100":{value:"#ecfccb",variable:"var(--gFFbyh)"},"colors.lime.200":{value:"#d9f99d",variable:"var(--fjFsBy)"},"colors.lime.300":{value:"#bef264",variable:"var(--cfdGZz)"},"colors.lime.400":{value:"#a3e635",variable:"var(--bxLPEk)"},"colors.lime.500":{value:"#84cc16",variable:"var(--jIFNBh)"},"colors.lime.600":{value:"#65a30d",variable:"var(--imGeEy)"},"colors.lime.700":{value:"#4d7c0f",variable:"var(--fietcz)"},"colors.lime.800":{value:"#3f6212",variable:"var(--crovfQ)"},"colors.lime.900":{value:"#365314",variable:"var(--kCitcN)"},"colors.lime.950":{value:"#1a2e05",variable:"var(--gEQkrg)"},"colors.yellow.50":{value:"#fefce8",variable:"var(--cLFWMs)"},"colors.yellow.100":{value:"#fef9c3",variable:"var(--kxGpio)"},"colors.yellow.200":{value:"#fef08a",variable:"var(--cbZZGT)"},"colors.yellow.300":{value:"#fde047",variable:"var(--fwcFBW)"},"colors.yellow.400":{value:"#facc15",variable:"var(--hUTJsd)"},"colors.yellow.500":{value:"#eab308",variable:"var(--loWpng)"},"colors.yellow.600":{value:"#ca8a04",variable:"var(--cTpZLL)"},"colors.yellow.700":{value:"#a16207",variable:"var(--gnsFGO)"},"colors.yellow.800":{value:"#854d0e",variable:"var(--ByZWN)"},"colors.yellow.900":{value:"#713f12",variable:"var(--dVBFRQ)"},"colors.yellow.950":{value:"#422006",variable:"var(--iLqZUR)"},"colors.amber.50":{value:"#fffbeb",variable:"var(--kVxzTd)"},"colors.amber.100":{value:"#fef3c7",variable:"var(--jZPQXp)"},"colors.amber.200":{value:"#fde68a",variable:"var(--hCWpXC)"},"colors.amber.300":{value:"#fcd34d",variable:"var(--bCKrrD)"},"colors.amber.400":{value:"#fbbf24",variable:"var(--wuHbc)"},"colors.amber.500":{value:"#f59e0b",variable:"var(--fLErTZ)"},"colors.amber.600":{value:"#d97706",variable:"var(--doKQUm)"},"colors.amber.700":{value:"#b45309",variable:"var(--iDUBNj)"},"colors.amber.800":{value:"#92400e",variable:"var(--iOnUJo)"},"colors.amber.900":{value:"#78350f",variable:"var(--cObWdp)"},"colors.amber.950":{value:"#451a03",variable:"var(--frxesg)"},"colors.orange.50":{value:"#fff7ed",variable:"var(--NQTLQ)"},"colors.orange.100":{value:"#ffedd5",variable:"var(--JsfmQ)"},"colors.orange.200":{value:"#fed7aa",variable:"var(--gBjjlD)"},"colors.orange.300":{value:"#fdba74",variable:"var(--QMCLK)"},"colors.orange.400":{value:"#fb923c",variable:"var(--ijESlZ)"},"colors.orange.500":{value:"#f97316",variable:"var(--czilMg)"},"colors.orange.600":{value:"#ea580c",variable:"var(--iqZpKT)"},"colors.orange.700":{value:"#c2410c",variable:"var(--cGCJla)"},"colors.orange.800":{value:"#9a3412",variable:"var(--dUhLNN)"},"colors.orange.900":{value:"#7c2d12",variable:"var(--jzgOMQ)"},"colors.orange.950":{value:"#431407",variable:"var(--igBpVl)"},"colors.red.50":{value:"#fef2f2",variable:"var(--bINrJX)"},"colors.red.100":{value:"#fee2e2",variable:"var(--fKgVwH)"},"colors.red.200":{value:"#fecaca",variable:"var(--bLdQLg)"},"colors.red.300":{value:"#fca5a5",variable:"var(--fMUQaR)"},"colors.red.400":{value:"#f87171",variable:"var(--hwCQam)"},"colors.red.500":{value:"#ef4444",variable:"var(--iYfRb)"},"colors.red.600":{value:"#dc2626",variable:"var(--hzqKEw)"},"colors.red.700":{value:"#b91c1c",variable:"var(--lMavl)"},"colors.red.800":{value:"#991b1b",variable:"var(--bLDcWa)"},"colors.red.900":{value:"#7f1d1d",variable:"var(--fNuclL)"},"colors.red.950":{value:"#450a0a",variable:"var(--jHDsLG)"},"colors.neutral.50":{value:"#fafafa",variable:"var(--kltIHN)"},"colors.neutral.100":{value:"#f5f5f5",variable:"var(--hzpwrB)"},"colors.neutral.200":{value:"#e5e5e5",variable:"var(--lbfZji)"},"colors.neutral.300":{value:"#d4d4d4",variable:"var(--fcfsVb)"},"colors.neutral.400":{value:"#a3a3a3",variable:"var(--kPKNfw)"},"colors.neutral.500":{value:"#737373",variable:"var(--eQKgRp)"},"colors.neutral.600":{value:"#525252",variable:"var(--isAJIW)"},"colors.neutral.700":{value:"#404040",variable:"var(--ctAduP)"},"colors.neutral.800":{value:"#262626",variable:"var(--bqFRBA)"},"colors.neutral.900":{value:"#171717",variable:"var(--gHaUMp)"},"colors.neutral.950":{value:"#0a0a0a",variable:"var(--fhFoEQ)"},"colors.stone.50":{value:"#fafaf9",variable:"var(--NNaBX)"},"colors.stone.100":{value:"#f5f5f4",variable:"var(--juQpUX)"},"colors.stone.200":{value:"#e7e5e4",variable:"var(--jjsRgY)"},"colors.stone.300":{value:"#d6d3d1",variable:"var(--hxarzx)"},"colors.stone.400":{value:"#a8a29e",variable:"var(--dmyqvy)"},"colors.stone.500":{value:"#78716c",variable:"var(--bAfQNX)"},"colors.stone.600":{value:"#57534e",variable:"var(--boIrZY)"},"colors.stone.700":{value:"#44403c",variable:"var(--kRLBRt)"},"colors.stone.800":{value:"#292524",variable:"var(--iKBpmW)"},"colors.stone.900":{value:"#1c1917",variable:"var(--gYiPFv)"},"colors.stone.950":{value:"#0c0a09",variable:"var(--kshUcS)"},"colors.zinc.50":{value:"#fafafa",variable:"var(--dhFdXS)"},"colors.zinc.100":{value:"#f4f4f5",variable:"var(--dGhjba)"},"colors.zinc.200":{value:"#e4e4e7",variable:"var(--efoVXJ)"},"colors.zinc.300":{value:"#d4d4d8",variable:"var(--ljOqfc)"},"colors.zinc.400":{value:"#a1a1aa",variable:"var(--cXLRGr)"},"colors.zinc.500":{value:"#71717a",variable:"var(--kcllNK)"},"colors.zinc.600":{value:"#52525b",variable:"var(--kBsYKt)"},"colors.zinc.700":{value:"#3f3f46",variable:"var(--gqwJsQ)"},"colors.zinc.800":{value:"#27272a",variable:"var(--ylgyn)"},"colors.zinc.900":{value:"#18181b",variable:"var(--hCKAFG)"},"colors.zinc.950":{value:"#09090b",variable:"var(--dtmsQb)"},"colors.gray.50":{value:"#f9fafb",variable:"var(--dcmCJN)"},"colors.gray.100":{value:"#f3f4f6",variable:"var(--ePJGsV)"},"colors.gray.200":{value:"#e5e7eb",variable:"var(--dnVpUm)"},"colors.gray.300":{value:"#d1d5db",variable:"var(--bMJKSL)"},"colors.gray.400":{value:"#9ca3af",variable:"var(--jSiOQk)"},"colors.gray.500":{value:"#6b7280",variable:"var(--iqXjOJ)"},"colors.gray.600":{value:"#4b5563",variable:"var(--gPiTqa)"},"colors.gray.700":{value:"#374151",variable:"var(--fnXooz)"},"colors.gray.800":{value:"#1f2937",variable:"var(--fKIyfA)"},"colors.gray.900":{value:"#111827",variable:"var(--ejwTdZ)"},"colors.gray.950":{value:"#030712",variable:"var(--jympbw)"},"colors.slate.0":{value:"#19191A",variable:"var(--oXohi)"},"colors.slate.1":{value:"#252525",variable:"var(--gyKIIT)"},"colors.slate.2":{value:"#303030",variable:"var(--eSphig)"},"colors.slate.3":{value:"#383838",variable:"var(--lccBJR)"},"colors.slate.4":{value:"#474747",variable:"var(--lfBdGG)"},"colors.slate.50":{value:"#f8fafc",variable:"var(--kcXOlL)"},"colors.slate.100":{value:"#f1f5f9",variable:"var(--kbRDfH)"},"colors.slate.200":{value:"#e2e8f0",variable:"var(--ivwbEU)"},"colors.slate.300":{value:"#cbd5e1",variable:"var(--dpNMHJ)"},"colors.slate.400":{value:"#94a3b8",variable:"var(--dtmoEy)"},"colors.slate.500":{value:"#64748b",variable:"var(--jCZJgj)"},"colors.slate.600":{value:"#475569",variable:"var(--hWEhFw)"},"colors.slate.700":{value:"#334155",variable:"var(--cQVSIl)"},"colors.slate.800":{value:"#1e293b",variable:"var(--hVLXiS)"},"colors.slate.900":{value:"#0f172a",variable:"var(--cQdIlH)"},"colors.slate.950":{value:"#020617",variable:"var(--iFDdka)"},"colors.ink.10":{value:"#F8F8FA",variable:"var(--izlnso)"},"colors.ink.20":{value:"#EDEDF3",variable:"var(--eRgqfH)"},"colors.ink.30":{value:"#E2E0E5",variable:"var(--KVTme)"},"colors.ink.40":{value:"#CCCAD0",variable:"var(--dkJQoR)"},"colors.ink.50":{value:"#B6B4BA",variable:"var(--ktVcUk)"},"colors.ink.60":{value:"#97959A",variable:"var(--gLQfHD)"},"colors.ink.70":{value:"#77767A",variable:"var(--cFFIOa)"},"colors.ink.80":{value:"#4E4D52",variable:"var(--cJEYlt)"},"colors.ink.90":{value:"#18171A",variable:"var(--jSQkQM)"},"colors.magic.10":{value:"#EDEBFF",variable:"var(--hLOWYd)"},"colors.magic.20":{value:"#CAC2FF",variable:"var(--bVhZHK)"},"colors.magic.30":{value:"#A799FF",variable:"var(--jYNVEH)"},"colors.magic.40":{value:"#8875FF",variable:"var(--emDeSE)"},"colors.magic.50":{value:"#6851FF",variable:"var(--aNrqF)"},"colors.magic.60":{value:"#5D40EA",variable:"var(--gzCdzi)"},"colors.magic.70":{value:"#522FD4",variable:"var(--dnMpXj)"},"colors.magic.80":{value:"#4421C3",variable:"var(--cLqlCI)"},"colors.magic.90":{value:"#3512B2",variable:"var(--kOWhzF)"},"colors.leaf.10":{value:"#E3FAF3",variable:"var(--dNokDG)"},"colors.leaf.20":{value:"#BAF5E3",variable:"var(--fIEsRl)"},"colors.leaf.30":{value:"#90F0D3",variable:"var(--kuAyOg)"},"colors.leaf.40":{value:"#48DEB1",variable:"var(--hUmnXD)"},"colors.leaf.50":{value:"#00CC8F",variable:"var(--bqMKvC)"},"colors.leaf.60":{value:"#00AA77",variable:"var(--dmcSJh)"},"colors.leaf.70":{value:"#00875F",variable:"var(--hXYYGc)"},"colors.leaf.80":{value:"#007753",variable:"var(--domHof)"},"colors.leaf.90":{value:"#006647",variable:"var(--iaiNla)"},"colors.ruby.10":{value:"#FFEAE5",variable:"var(--dDaZDc)"},"colors.ruby.20":{value:"#FFC3B3",variable:"var(--bYjnoT)"},"colors.ruby.30":{value:"#FF9B80",variable:"var(--jcIHwm)"},"colors.ruby.40":{value:"#FE7C58",variable:"var(--iuhUtx)"},"colors.ruby.50":{value:"#FC5C30",variable:"var(--ejlFbU)"},"colors.ruby.60":{value:"#E84718",variable:"var(--cEtSNL)"},"colors.ruby.70":{value:"#D43100",variable:"var(--jITmVe)"},"colors.ruby.80":{value:"#C12E02",variable:"var(--hhKBFJ)"},"colors.ruby.90":{value:"#AD2B03",variable:"var(--cWOmog)"},"colors.gold.10":{value:"#FCF4E5",variable:"var(--loKVxo)"},"colors.gold.20":{value:"#FEE5BD",variable:"var(--crbXrL)"},"colors.gold.30":{value:"#FFD594",variable:"var(--eXQnMG)"},"colors.gold.40":{value:"#EDBD72",variable:"var(--dYBcpd)"},"colors.gold.50":{value:"#DBA550",variable:"var(--gFpsJY)"},"colors.gold.60":{value:"#BF8832",variable:"var(--iXcedr)"},"colors.gold.70":{value:"#A36B14",variable:"var(--ouKZq)"},"colors.gold.80":{value:"#97630C",variable:"var(--kXQUUR)"},"colors.gold.90":{value:"#8A5A03",variable:"var(--cpjBQQ)"},"colors.sky.10":{value:"#EBF0FE",variable:"var(--dpZiSB)"},"colors.sky.20":{value:"#AFC4FF",variable:"var(--bZrrvu)"},"colors.sky.30":{value:"#7398FF",variable:"var(--cGNUcb)"},"colors.sky.40":{value:"#5482FB",variable:"var(--cGWcRs)"},"colors.sky.50":{value:"#346BF7",variable:"var(--dosFxZ)"},"colors.sky.60":{value:"#295EE7",variable:"var(--bXKOaS)"},"colors.sky.70":{value:"#1E50D6",variable:"var(--cFhqHz)"},"colors.sky.80":{value:"#1344C7",variable:"var(--cvyBYk)"},"colors.sky.90":{value:"#0737B8",variable:"var(--dcVeER)"},"colors.sky.100":{value:"#e0f2fe",variable:"var(--bMxFwZ)"},"colors.sky.200":{value:"#bae6fd",variable:"var(--vPNZS)"},"colors.sky.300":{value:"#7dd3fc",variable:"var(--bdmqGz)"},"colors.sky.400":{value:"#38bdf8",variable:"var(--bduzvQ)"},"colors.sky.500":{value:"#0ea5e9",variable:"var(--bKRccx)"},"colors.sky.600":{value:"#0284c7",variable:"var(--ujkFq)"},"colors.sky.700":{value:"#0369a1",variable:"var(--bbFNlX)"},"colors.sky.800":{value:"#075985",variable:"var(--RWYCI)"},"colors.sky.900":{value:"#0c4a6e",variable:"var(--bztBjp)"},"colors.sky.950":{value:"#082f49",variable:"var(--iNVpnc)"},"colors.chalk":{value:"#FFFFFF",variable:"var(--cemPJF)"},"colors.paper":{value:"#FFFFFF",variable:"var(--iTjmdu)"},"borderWidths.thin":{value:"0.0625rem",variable:"var(--fFEzoc)"},"borderWidths.medium":{value:"0.09375rem",variable:"var(--fCuVLy)"},"borderWidths.thick":{value:"0.125rem",variable:"var(--hiYFxW)"},"radii.xs":{value:"0.125rem",variable:"var(--ixNmpi)"},"radii.sm":{value:"0.25rem",variable:"var(--bewZvn)"},"radii.md":{value:"0.375rem",variable:"var(--kLOfAE)"},"radii.lg":{value:"0.5rem",variable:"var(--dxfumK)"},"radii.xl":{value:"0.75rem",variable:"var(--UXfgJ)"},"radii.2xl":{value:"1rem",variable:"var(--bphCwb)"},"radii.3xl":{value:"1.5rem",variable:"var(--eougbK)"},"radii.full":{value:"9999px",variable:"var(--kkkBVq)"},"radii.button":{value:"var(--button-radius, 9999px)",variable:"var(--cDRSmz)"},"radii.container":{value:"var(--container-radius, 1.75rem)",variable:"var(--insZoq)"},"radii.input":{value:"var(--input-radius, 0.5rem)",variable:"var(--hxxJkr)"},"sizes.0":{value:"0rem",variable:"var(--kTdGYg)"},"sizes.1":{value:"0.25rem",variable:"var(--cCUBeV)"},"sizes.2":{value:"0.5rem",variable:"var(--gsUKim)"},"sizes.3":{value:"0.75rem",variable:"var(--jshnNX)"},"sizes.4":{value:"1rem",variable:"var(--juMtMc)"},"sizes.5":{value:"1.25rem",variable:"var(--beDnSR)"},"sizes.6":{value:"1.5rem",variable:"var(--eUDwWi)"},"sizes.7":{value:"1.75rem",variable:"var(--hTQaBT)"},"sizes.8":{value:"2rem",variable:"var(--cAmzCM)"},"sizes.9":{value:"2.25rem",variable:"var(--fzzdix)"},"sizes.10":{value:"2.5rem",variable:"var(--dDnfaV)"},"sizes.11":{value:"2.75rem",variable:"var(--cpjPHA)"},"sizes.12":{value:"3rem",variable:"var(--ckODEv)"},"sizes.13":{value:"3.25rem",variable:"var(--WLola)"},"sizes.14":{value:"3.5rem",variable:"var(--hTmzdp)"},"sizes.15":{value:"3.75rem",variable:"var(--gFjjJU)"},"sizes.16":{value:"4rem",variable:"var(--gANXGP)"},"sizes.20":{value:"5rem",variable:"var(--htnoem)"},"sizes.24":{value:"6rem",variable:"var(--tQYHK)"},"sizes.28":{value:"7rem",variable:"var(--kcGldO)"},"sizes.32":{value:"8rem",variable:"var(--gMkTEx)"},"sizes.36":{value:"9rem",variable:"var(--lcknGR)"},"sizes.40":{value:"10rem",variable:"var(--kveXIc)"},"sizes.44":{value:"11rem",variable:"var(--gsriJI)"},"sizes.48":{value:"12rem",variable:"var(--bPcliI)"},"sizes.52":{value:"13rem",variable:"var(--Mxqsr)"},"sizes.56":{value:"14rem",variable:"var(--hZfkST)"},"sizes.60":{value:"15rem",variable:"var(--fUWaSi)"},"sizes.64":{value:"16rem",variable:"var(--bSilTO)"},"sizes.72":{value:"18rem",variable:"var(--fnTGst)"},"sizes.80":{value:"20rem",variable:"var(--dAFdyM)"},"sizes.96":{value:"24rem",variable:"var(--jxszKr)"},"sizes.0.5":{value:"0.125rem",variable:"var(--hghuKL)"},"sizes.1.5":{value:"0.375rem",variable:"var(--drtIxO)"},"sizes.2.5":{value:"0.625rem",variable:"var(--siblR)"},"sizes.3.5":{value:"0.875rem",variable:"var(--hSPYxQ)"},"sizes.xs":{value:"20rem",variable:"var(--izvCpj)"},"sizes.sm":{value:"24rem",variable:"var(--aTIGG)"},"sizes.md":{value:"28rem",variable:"var(--kMQJUV)"},"sizes.lg":{value:"32rem",variable:"var(--dyNKmL)"},"sizes.xl":{value:"36rem",variable:"var(--ToPgI)"},"sizes.2xl":{value:"42rem",variable:"var(--btoFLe)"},"sizes.3xl":{value:"48rem",variable:"var(--esBjqP)"},"sizes.4xl":{value:"56rem",variable:"var(--hrOPNc)"},"sizes.5xl":{value:"64rem",variable:"var(--krbtsN)"},"sizes.6xl":{value:"72rem",variable:"var(--cRFSXi)"},"sizes.7xl":{value:"80rem",variable:"var(--fQSwCT)"},"sizes.8xl":{value:"90rem",variable:"var(--iQceEA)"},"sizes.prose":{value:"65ch",variable:"var(--jAesVz)"},"sizes.full":{value:"100%",variable:"var(--khWApH)"},"sizes.min":{value:"min-content",variable:"var(--eOXrSu)"},"sizes.max":{value:"max-content",variable:"var(--jNBRbM)"},"sizes.fit":{value:"fit-content",variable:"var(--UhpHH)"},"sizes.breakpoint-sm":{value:"640px",variable:"var(--eomHOU)"},"sizes.breakpoint-md":{value:"768px",variable:"var(--iujnmj)"},"sizes.breakpoint-lg":{value:"1024px",variable:"var(--gThSgZ)"},"sizes.breakpoint-xl":{value:"1280px",variable:"var(--cssArG)"},"sizes.breakpoint-2xl":{value:"1536px",variable:"var(--jESPPc)"},"zIndex.max":{value:"2147483647",variable:"var(--exvVve)"},"breakpoints.sm":{value:"640px",variable:"var(--ikokJA)"},"breakpoints.md":{value:"768px",variable:"var(--kSvAmr)"},"breakpoints.lg":{value:"1024px",variable:"var(--uwdhN)"},"breakpoints.xl":{value:"1280px",variable:"var(--eyfDzy)"},"breakpoints.2xl":{value:"1536px",variable:"var(--dgHGKE)"},"colors.surface.primary":{value:"var(--jlmaOs)",variable:"var(--jlmaOs)"},"colors.surface.secondary":{value:"var(--Iycdi)",variable:"var(--Iycdi)"},"colors.surface.tertiary":{value:"var(--crPUBo)",variable:"var(--crPUBo)"},"colors.surface.quaternary":{value:"var(--kJiqPO)",variable:"var(--kJiqPO)"},"colors.text.primary":{value:"var(--iagzVE)",variable:"var(--iagzVE)"},"colors.text.secondary":{value:"var(--YyYdq)",variable:"var(--YyYdq)"},"colors.text.tertiary":{value:"var(--kFAOBM)",variable:"var(--kFAOBM)"},"colors.text.quaternary":{value:"var(--iodyUC)",variable:"var(--iodyUC)"},"colors.neutral.primary":{value:"var(--DLYOY)",variable:"var(--DLYOY)"},"colors.neutral.secondary":{value:"var(--gfUEye)",variable:"var(--gfUEye)"},"colors.neutral.tertiary":{value:"var(--qsPVo)",variable:"var(--qsPVo)"},"colors.neutral.quaternary":{value:"var(--kyjnqS)",variable:"var(--kyjnqS)"},"colors.brand.lightest":{value:"var(--iAjuTO)",variable:"var(--iAjuTO)"},"colors.brand.lighter":{value:"var(--gzHfkH)",variable:"var(--gzHfkH)"},"colors.brand.base":{value:"var(--gBHQLb)",variable:"var(--gBHQLb)"},"colors.brand.darker":{value:"var(--etZyR)",variable:"var(--etZyR)"},"colors.brand.darkest":{value:"var(--enVPNY)",variable:"var(--enVPNY)"},"colors.positive.lightest":{value:"var(--itfeCm)",variable:"var(--itfeCm)"},"colors.positive.lighter":{value:"var(--qkXv)",variable:"var(--qkXv)"},"colors.positive.base":{value:"var(--gHzsmL)",variable:"var(--gHzsmL)"},"colors.positive.darker":{value:"var(--cOyFst)",variable:"var(--cOyFst)"},"colors.positive.darkest":{value:"var(--fKbyps)",variable:"var(--fKbyps)"},"colors.negative.lightest":{value:"var(--dxaFjW)",variable:"var(--dxaFjW)"},"colors.negative.lighter":{value:"var(--dnTPVf)",variable:"var(--dnTPVf)"},"colors.negative.base":{value:"var(--bWuoqD)",variable:"var(--bWuoqD)"},"colors.negative.darker":{value:"var(--iqIoUR)",variable:"var(--iqIoUR)"},"colors.negative.darkest":{value:"var(--iZlvjY)",variable:"var(--iZlvjY)"},"colors.warning.lightest":{value:"var(--ldafrz)",variable:"var(--ldafrz)"},"colors.warning.lighter":{value:"var(--leQkZS)",variable:"var(--leQkZS)"},"colors.warning.base":{value:"var(--jmTbXW)",variable:"var(--jmTbXW)"},"colors.warning.darker":{value:"var(--dLLYUY)",variable:"var(--dLLYUY)"},"colors.warning.darkest":{value:"var(--dZIprB)",variable:"var(--dZIprB)"},"colors.dedicated.lightest":{value:"var(--gaBiDO)",variable:"var(--gaBiDO)"},"colors.dedicated.lighter":{value:"var(--fxHMpn)",variable:"var(--fxHMpn)"},"colors.dedicated.base":{value:"var(--fQFmqL)",variable:"var(--fQFmqL)"},"colors.dedicated.darker":{value:"var(--dUMcYZ)",variable:"var(--dUMcYZ)"},"colors.dedicated.darkest":{value:"var(--dntrJc)",variable:"var(--dntrJc)"},"spacing.-1":{value:"calc(var(--dacYEG) * -1)",variable:"var(--dacYEG)"},"spacing.-2":{value:"calc(var(--ebuyxV) * -1)",variable:"var(--ebuyxV)"},"spacing.-3":{value:"calc(var(--bYDCFo) * -1)",variable:"var(--bYDCFo)"},"spacing.-4":{value:"calc(var(--hIimNX) * -1)",variable:"var(--hIimNX)"},"spacing.-5":{value:"calc(var(--fFrqVq) * -1)",variable:"var(--fFrqVq)"},"spacing.-6":{value:"calc(var(--gGIQOF) * -1)",variable:"var(--gGIQOF)"},"spacing.-7":{value:"calc(var(--eDRUVY) * -1)",variable:"var(--eDRUVY)"},"spacing.-8":{value:"calc(var(--flZesP) * -1)",variable:"var(--flZesP)"},"spacing.-9":{value:"calc(var(--djiiAi) * -1)",variable:"var(--djiiAi)"},"spacing.-10":{value:"calc(var(--ieMJEa) * -1)",variable:"var(--ieMJEa)"},"spacing.-11":{value:"calc(var(--cBFxYr) * -1)",variable:"var(--cBFxYr)"},"spacing.-12":{value:"calc(var(--uyqLg) * -1)",variable:"var(--uyqLg)"},"spacing.-14":{value:"calc(var(--hXmVPi) * -1)",variable:"var(--hXmVPi)"},"spacing.-16":{value:"calc(var(--mYCWo) * -1)",variable:"var(--mYCWo)"},"spacing.-20":{value:"calc(var(--jgejxp) * -1)",variable:"var(--jgejxp)"},"spacing.-24":{value:"calc(var(--iYEvIx) * -1)",variable:"var(--iYEvIx)"},"spacing.-28":{value:"calc(var(--dzpWeZ) * -1)",variable:"var(--dzpWeZ)"},"spacing.-32":{value:"calc(var(--fifqnK) * -1)",variable:"var(--fifqnK)"},"spacing.-36":{value:"calc(var(--faFCyS) * -1)",variable:"var(--faFCyS)"},"spacing.-40":{value:"calc(var(--bxwoov) * -1)",variable:"var(--bxwoov)"},"spacing.-44":{value:"calc(var(--huPzrf) * -1)",variable:"var(--huPzrf)"},"spacing.-48":{value:"calc(var(--hgdKvb) * -1)",variable:"var(--hgdKvb)"},"spacing.-52":{value:"calc(var(--cZMJbQ) * -1)",variable:"var(--cZMJbQ)"},"spacing.-56":{value:"calc(var(--iXfUeA) * -1)",variable:"var(--iXfUeA)"},"spacing.-60":{value:"calc(var(--vWSpd) * -1)",variable:"var(--vWSpd)"},"spacing.-64":{value:"calc(var(--gtqdrN) * -1)",variable:"var(--gtqdrN)"},"spacing.-72":{value:"calc(var(--hNtIEu) * -1)",variable:"var(--hNtIEu)"},"spacing.-80":{value:"calc(var(--kqIPsj) * -1)",variable:"var(--kqIPsj)"},"spacing.-96":{value:"calc(var(--wdMRQ) * -1)",variable:"var(--wdMRQ)"},"spacing.-0.5":{value:"calc(var(--gEfgCY) * -1)",variable:"var(--gEfgCY)"},"spacing.-1.5":{value:"calc(var(--jJIQbV) * -1)",variable:"var(--jJIQbV)"},"spacing.-2.5":{value:"calc(var(--cqwGG) * -1)",variable:"var(--cqwGG)"},"spacing.-3.5":{value:"calc(var(--dhUgfD) * -1)",variable:"var(--dhUgfD)"},"colors.colorPalette":{value:"var(--idUrcU)",variable:"var(--idUrcU)"},"colors.colorPalette.50":{value:"var(--bgowFI)",variable:"var(--bgowFI)"},"colors.colorPalette.100":{value:"var(--iSScQY)",variable:"var(--iSScQY)"},"colors.colorPalette.200":{value:"var(--bdPmBD)",variable:"var(--bdPmBD)"},"colors.colorPalette.300":{value:"var(--EuecW)",variable:"var(--EuecW)"},"colors.colorPalette.400":{value:"var(--dIdJaV)",variable:"var(--dIdJaV)"},"colors.colorPalette.500":{value:"var(--iOGEjQ)",variable:"var(--iOGEjQ)"},"colors.colorPalette.600":{value:"var(--ZDNUv)",variable:"var(--ZDNUv)"},"colors.colorPalette.700":{value:"var(--AiFvO)",variable:"var(--AiFvO)"},"colors.colorPalette.800":{value:"var(--iCIPjV)",variable:"var(--iCIPjV)"},"colors.colorPalette.900":{value:"var(--ctQaTU)",variable:"var(--ctQaTU)"},"colors.colorPalette.950":{value:"var(--eHAyIp)",variable:"var(--eHAyIp)"},"colors.colorPalette.0":{value:"var(--fWGYml)",variable:"var(--fWGYml)"},"colors.colorPalette.1":{value:"var(--ldjTvg)",variable:"var(--ldjTvg)"},"colors.colorPalette.2":{value:"var(--dohdfL)",variable:"var(--dohdfL)"},"colors.colorPalette.3":{value:"var(--cOLUHe)",variable:"var(--cOLUHe)"},"colors.colorPalette.4":{value:"var(--fSvzFd)",variable:"var(--fSvzFd)"},"colors.colorPalette.10":{value:"var(--bkzVmQ)",variable:"var(--bkzVmQ)"},"colors.colorPalette.20":{value:"var(--eKSOwr)",variable:"var(--eKSOwr)"},"colors.colorPalette.30":{value:"var(--elxFXK)",variable:"var(--elxFXK)"},"colors.colorPalette.40":{value:"var(--hphkVJ)",variable:"var(--hphkVJ)"},"colors.colorPalette.60":{value:"var(--eGHpPj)",variable:"var(--eGHpPj)"},"colors.colorPalette.70":{value:"var(--ehmhqC)",variable:"var(--ehmhqC)"},"colors.colorPalette.80":{value:"var(--UqHFN)",variable:"var(--UqHFN)"},"colors.colorPalette.90":{value:"var(--gaTCOI)",variable:"var(--gaTCOI)"},"colors.colorPalette.primary":{value:"var(--gbCbhR)",variable:"var(--gbCbhR)"},"colors.colorPalette.secondary":{value:"var(--dDofdL)",variable:"var(--dDofdL)"},"colors.colorPalette.tertiary":{value:"var(--fMuFOV)",variable:"var(--fMuFOV)"},"colors.colorPalette.quaternary":{value:"var(--eTxsRn)",variable:"var(--eTxsRn)"},"colors.colorPalette.lightest":{value:"var(--cKrWrJ)",variable:"var(--cKrWrJ)"},"colors.colorPalette.lighter":{value:"var(--jxGibo)",variable:"var(--jxGibo)"},"colors.colorPalette.base":{value:"var(--fEVzA)",variable:"var(--fEVzA)"},"colors.colorPalette.darker":{value:"var(--bHCqTC)",variable:"var(--bHCqTC)"},"colors.colorPalette.darkest":{value:"var(--iPnjZj)",variable:"var(--iPnjZj)"}};function lr(e,r){return ir[e]?.value||r}lr.var=function(e,r){return ir[e]?.variable||r};const sr="undefined"!=typeof document?n.useLayoutEffect:()=>{};const cr={prefix:String(Math.round(1e10*Math.random())),current:0},dr=n.createContext(cr),ur=n.createContext(!1);let vr=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),pr=new WeakMap;const fr="function"==typeof n.useId?function(e){let r=n.useId(),[t]=s(br()),a=t||"test"===process.env.NODE_ENV?"react-aria":`react-aria${cr.prefix}`;return e||`${a}-${r}`}:function(e){let r=u(dr);r!==cr||vr||"production"===process.env.NODE_ENV||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let t=function(e=!1){let r=u(dr),t=c(null);if(null===t.current&&!e){var a,o;let e=null===(o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o||null===(a=o.ReactCurrentOwner)||void 0===a?void 0:a.current;if(e){let t=pr.get(e);null==t?pr.set(e,{id:r.current,state:e.memoizedState}):e.memoizedState!==t.state&&(r.current=t.id,pr.delete(e))}t.current=++r.current}return t.current}(!!e),a=r===cr&&"test"===process.env.NODE_ENV?"react-aria":`react-aria${r.prefix}`;return e||`${a}-${t}`};function gr(){return!1}function hr(){return!0}function mr(e){return()=>{}}function br(){return"function"==typeof n.useSyncExternalStore?n.useSyncExternalStore(mr,gr,hr):u(ur)}let Cr,yr=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),wr=new Map;function xr(e){let[r,t]=s(e),a=c(null),n=fr(r),o=c(null);if(Cr&&Cr.register(o,n),yr){const e=wr.get(n);e&&!e.includes(a)?e.push(a):wr.set(n,[a])}return sr(()=>{let e=n;return()=>{Cr&&Cr.unregister(o),wr.delete(e)}},[n]),v(()=>{let e=a.current;return e&&t(e),()=>{e&&(a.current=null)}}),n}function Er(e,r){if(e===r)return e;let t=wr.get(e);if(t)return t.forEach(e=>e.current=r),r;let a=wr.get(r);return a?(a.forEach(r=>r.current=e),e):r}function kr(e=[]){let r=xr(),[t,a]=function(e){let[r,t]=s(e),a=c(r),n=c(null),o=c(()=>{if(!n.current)return;let e=n.current.next();e.done?n.current=null:a.current===e.value?o.current():t(e.value)});sr(()=>{a.current=r,n.current&&o.current()});let i=d(e=>{n.current=e(a.current),o.current()},[o]);return[r,i]}(r),n=d(()=>{a(function*(){yield r,yield document.getElementById(r)?r:void 0})},[r,a]);return sr(n,[r,n,...e]),t}function Lr(...e){return(...r)=>{for(let t of e)"function"==typeof t&&t(...r)}}"undefined"!=typeof FinalizationRegistry&&(Cr=new FinalizationRegistry(e=>{wr.delete(e)}));const Ir=e=>{var r;return null!==(r=null==e?void 0:e.ownerDocument)&&void 0!==r?r:document},Sr=e=>{if(e&&"window"in e&&e.window===e)return e;return Ir(e).defaultView||window};function Mr(e,r){return!(!r||!e)&&e.contains(r)}const Tr=(e=document)=>e.activeElement;function _r(e){return e.target}function Pr(e){var r,t,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=Pr(e[r]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function Ar(){for(var e,r,t=0,a="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=Pr(e))&&(a&&(a+=" "),a+=r);return a}function Nr(...e){let r={...e[0]};for(let t=1;t<e.length;t++){let a=e[t];for(let e in a){let t=r[e],n=a[e];"function"==typeof t&&"function"==typeof n&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?r[e]=Lr(t,n):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof t||"string"!=typeof n?"id"===e&&t&&n?r.id=Er(t,n):r[e]=void 0!==n?n:t:r[e]=Ar(t,n)}}return r}const Rr=new Set(["id"]),Or=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Dr=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Fr=new Set(["dir","lang","hidden","inert","translate"]),jr=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),zr=/^(data-.*)$/;function Br(e,r={}){let{labelable:t,isLink:a,global:n,events:o=n,propNames:i}=r,l={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Rr.has(r)||t&&Or.has(r)||a&&Dr.has(r)||n&&Fr.has(r)||o&&(jr.has(r)||r.endsWith("Capture")&&jr.has(r.slice(0,-7)))||(null==i?void 0:i.has(r))||zr.test(r))&&(l[r]=e[r]);return l}function Vr(e){if(function(){if(null==Hr){Hr=!1;try{document.createElement("div").focus({get preventScroll(){return Hr=!0,!0}})}catch{}}return Hr}())e.focus({preventScroll:!0});else{let r=function(e){let r=e.parentNode,t=[],a=document.scrollingElement||document.documentElement;for(;r instanceof HTMLElement&&r!==a;)(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)&&t.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),r=r.parentNode;a instanceof HTMLElement&&t.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft});return t}(e);e.focus(),function(e){for(let{element:r,scrollTop:t,scrollLeft:a}of e)r.scrollTop=t,r.scrollLeft=a}(r)}}let Hr=null;function Wr(e){var r;if("undefined"==typeof window||null==window.navigator)return!1;let t=null===(r=window.navigator.userAgentData)||void 0===r?void 0:r.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Ur(e){var r;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(r=window.navigator.userAgentData)||void 0===r?void 0:r.platform)||window.navigator.platform)}function Yr(e){if("test"===process.env.NODE_ENV)return e;let r=null;return()=>(null==r&&(r=e()),r)}const Zr=Yr(function(){return Ur(/^Mac/i)}),Gr=Yr(function(){return Ur(/^iPhone/i)}),qr=Yr(function(){return Ur(/^iPad/i)||Zr()&&navigator.maxTouchPoints>1}),Xr=Yr(function(){return Gr()||qr()});Yr(function(){return Zr()||Xr()});const Kr=Yr(function(){return Wr(/AppleWebKit/i)&&!Qr()}),Qr=Yr(function(){return Wr(/Chrome/i)}),Jr=Yr(function(){return Wr(/Android/i)}),$r=Yr(function(){return Wr(/Firefox/i)});function et(e,r,t=!0){var a,n;let{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}=r;$r()&&(null===(n=window.event)||void 0===n||null===(a=n.type)||void 0===a?void 0:a.startsWith("key"))&&"_blank"===e.target&&(Zr()?o=!0:i=!0);let c=Kr()&&Zr()&&!qr()&&"test"!==process.env.NODE_ENV?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:i,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:i,altKey:l,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});et.isOpening=t,Vr(e),e.dispatchEvent(c),et.isOpening=!1}et.isOpening=!1;let rt=new Map,tt=new Set;function at(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let r=t=>{if(!e(t)||!t.target)return;let a=rt.get(t.target);if(a&&(a.delete(t.propertyName),0===a.size&&(t.target.removeEventListener("transitioncancel",r),rt.delete(t.target)),0===rt.size)){for(let e of tt)e();tt.clear()}};document.body.addEventListener("transitionrun",t=>{if(!e(t)||!t.target)return;let a=rt.get(t.target);a||(a=new Set,rt.set(t.target,a),t.target.addEventListener("transitioncancel",r,{once:!0})),a.add(t.propertyName)}),document.body.addEventListener("transitionend",r)}function nt(e){requestAnimationFrame(()=>{!function(){for(const[e]of rt)"isConnected"in e&&!e.isConnected&&rt.delete(e)}(),0===rt.size?e():tt.add(e)})}function ot(){let e=c(new Map),r=d((r,t,a,n)=>{let o=(null==n?void 0:n.once)?(...r)=>{e.current.delete(a),a(...r)}:a;e.current.set(a,{type:t,eventTarget:r,fn:o,options:n}),r.addEventListener(t,o,n)},[]),t=d((r,t,a,n)=>{var o;let i=(null===(o=e.current.get(a))||void 0===o?void 0:o.fn)||a;r.removeEventListener(t,i,n),e.current.delete(a)},[]),a=d(()=>{e.current.forEach((e,r)=>{t(e.eventTarget,e.type,r,e.options)})},[t]);return v(()=>a,[a]),{addGlobalListener:r,removeGlobalListener:t,removeAllGlobalListeners:a}}var it;"undefined"!=typeof document&&("loading"!==document.readyState?at():document.addEventListener("DOMContentLoaded",at));const lt=null!==(it=n.useInsertionEffect)&&void 0!==it?it:sr;function st(e){const r=c(null);return lt(()=>{r.current=e},[e]),d((...e)=>{const t=r.current;return null==t?void 0:t(...e)},[])}function ct(e){const{ref:r,box:t,onResize:a}=e;let n=st(a);v(()=>{let e=null==r?void 0:r.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{const r=new window.ResizeObserver(e=>{e.length&&n()});return r.observe(e,{box:t}),()=>{e&&r.unobserve(e)}}}},[r,t])}function dt(e,r){sr(()=>{if(e&&e.ref&&r)return e.ref.current=r.current,()=>{e.ref&&(e.ref.current=null)}})}function ut(e,r){if(!e)return!1;let t=window.getComputedStyle(e),a=/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY);return a&&r&&(a=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),a}function vt(e,r){let t=e;for(ut(t,r)&&(t=t.parentElement);t&&!ut(t,r);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const pt=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ft(e){return e instanceof HTMLInputElement&&!pt.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function gt(e){return!(""!==e.pointerType||!e.isTrusted)||(Jr()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function ht(e,r,t){let a=st(()=>{t&&t(r)});v(()=>{var r;let t=null==e||null===(r=e.current)||void 0===r?void 0:r.form;return null==t||t.addEventListener("reset",a),()=>{null==t||t.removeEventListener("reset",a)}},[e])}const mt="undefined"!=typeof Element&&"checkVisibility"in Element.prototype;function bt(e,r){return mt?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){const r=Sr(e);if(!(e instanceof r.HTMLElement||e instanceof r.SVGElement))return!1;let{display:t,visibility:a}=e.style,n="none"!==t&&"hidden"!==a&&"collapse"!==a;if(n){const{getComputedStyle:r}=e.ownerDocument.defaultView;let{display:t,visibility:a}=r(e);n="none"!==t&&"hidden"!==a&&"collapse"!==a}return n}(e)&&function(e,r){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!r||"SUMMARY"===r.nodeName||e.hasAttribute("open"))}(e,r)&&(!e.parentElement||bt(e.parentElement,e))}const Ct=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],yt=Ct.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ct.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const wt=Ct.join(':not([hidden]):not([tabindex="-1"]),');function xt(e){return e.matches(yt)&&bt(e)&&!kt(e)}function Et(e){return e.matches(wt)&&bt(e)&&!kt(e)}function kt(e){let r=e;for(;null!=r;){if(r instanceof r.ownerDocument.defaultView.HTMLElement&&r.inert)return!0;r=r.parentElement}return!1}var Lt;const It="undefined"!=typeof document?null!==(Lt=n.useInsertionEffect)&&void 0!==Lt?Lt:n.useLayoutEffect:()=>{};function St(e,r=-1/0,t=1/0){return Math.min(Math.max(e,r),t)}function Mt(e){let r=e;return r.nativeEvent=e,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function Tt(e,r){Object.defineProperty(e,"target",{value:r}),Object.defineProperty(e,"currentTarget",{value:r})}function _t(e){let r=c({isFocused:!1,observer:null});return sr(()=>{const e=r.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),d(t=>{if(t.target instanceof HTMLButtonElement||t.target instanceof HTMLInputElement||t.target instanceof HTMLTextAreaElement||t.target instanceof HTMLSelectElement){r.current.isFocused=!0;let a=t.target,n=t=>{if(r.current.isFocused=!1,a.disabled){let r=Mt(t);null==e||e(r)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};a.addEventListener("focusout",n,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&a.disabled){var e;null===(e=r.current.observer)||void 0===e||e.disconnect();let t=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}}),r.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let Pt=!1;function At(e){for(;e&&!xt(e);)e=e.parentElement;let r=Sr(e),t=r.document.activeElement;if(!t||t===e)return;Pt=!0;let a=!1,n=e=>{(e.target===t||a)&&e.stopImmediatePropagation()},o=r=>{(r.target===t||a)&&(r.stopImmediatePropagation(),e||a||(a=!0,Vr(t),s()))},i=r=>{(r.target===e||a)&&r.stopImmediatePropagation()},l=r=>{(r.target===e||a)&&(r.stopImmediatePropagation(),a||(a=!0,Vr(t),s()))};r.addEventListener("blur",n,!0),r.addEventListener("focusout",o,!0),r.addEventListener("focusin",l,!0),r.addEventListener("focus",i,!0);let s=()=>{cancelAnimationFrame(c),r.removeEventListener("blur",n,!0),r.removeEventListener("focusout",o,!0),r.removeEventListener("focusin",l,!0),r.removeEventListener("focus",i,!0),Pt=!1,a=!1},c=requestAnimationFrame(s);return s}let Nt="default",Rt="",Ot=new WeakMap;function Dt(e){if(Xr()){if("default"===Nt){const r=Ir(e);Rt=r.documentElement.style.webkitUserSelect,r.documentElement.style.webkitUserSelect="none"}Nt="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let r="userSelect"in e.style?"userSelect":"webkitUserSelect";Ot.set(e,e.style[r]),e.style[r]="none"}}function Ft(e){if(Xr()){if("disabled"!==Nt)return;Nt="restoring",setTimeout(()=>{nt(()=>{if("restoring"===Nt){const r=Ir(e);"none"===r.documentElement.style.webkitUserSelect&&(r.documentElement.style.webkitUserSelect=Rt||""),Rt="",Nt="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ot.has(e)){let r=Ot.get(e),t="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[t]&&(e.style[t]=r),""===e.getAttribute("style")&&e.removeAttribute("style"),Ot.delete(e)}}const jt=n.createContext({register:()=>{}});function zt(e,r,t){if(!r.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return r.get(e)}function Bt(e,r,t){!function(e,r){if(r.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,r),r.set(e,t)}function Vt(e,r,t){return function(e,r,t){if(r.set)r.set.call(e,t);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=t}}(e,zt(e,r,"set"),t),t}jt.displayName="PressResponderContext";var Ht=new WeakMap;class Wt{continuePropagation(){Vt(this,Ht,!1)}get shouldStopPropagation(){return function(e,r){return r.get?r.get.call(e):r.value}(e=this,zt(e,Ht,"get"));var e}constructor(e,r,t,a){var n;Bt(this,Ht,{writable:!0,value:void 0}),Vt(this,Ht,!0);let o=null!==(n=null==a?void 0:a.target)&&void 0!==n?n:t.currentTarget;const i=null==o?void 0:o.getBoundingClientRect();let l,s,c=0,d=null;null!=t.clientX&&null!=t.clientY&&(s=t.clientX,d=t.clientY),i&&(null!=s&&null!=d?(l=s-i.left,c=d-i.top):(l=i.width/2,c=i.height/2)),this.type=e,this.pointerType=r,this.target=t.currentTarget,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.x=l,this.y=c}}const Ut=Symbol("linkClicked"),Yt="react-aria-pressable-style",Zt="data-react-aria-pressable";function Gt(e){let{onPress:r,onPressChange:t,onPressStart:a,onPressEnd:n,onPressUp:o,onClick:l,isDisabled:p,isPressed:f,preventFocusOnPress:g,shouldCancelOnPointerExit:h,allowTextSelectionOnPress:m,ref:b,...C}=function(e){let r=u(jt);if(r){let{register:t,...a}=r;e=Nr(a,e),t()}return dt(r,e.ref),e}(e),[y,x]=s(!1),E=c({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:k,removeAllGlobalListeners:L,removeGlobalListener:I}=ot(),S=d((e,r)=>{let n=E.current;if(p||n.didFirePressStart)return!1;let o=!0;if(n.isTriggeringEvent=!0,a){let t=new Wt("pressstart",r,e);a(t),o=t.shouldStopPropagation}return t&&t(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,x(!0),o},[p,a,t]),M=d((e,a,o=!0)=>{let i=E.current;if(!i.didFirePressStart)return!1;i.didFirePressStart=!1,i.isTriggeringEvent=!0;let l=!0;if(n){let r=new Wt("pressend",a,e);n(r),l=r.shouldStopPropagation}if(t&&t(!1),x(!1),r&&o&&!p){let t=new Wt("press",a,e);r(t),l&&(l=t.shouldStopPropagation)}return i.isTriggeringEvent=!1,l},[p,n,t,r]),T=st(M),_=d((e,r)=>{let t=E.current;if(p)return!1;if(o){t.isTriggeringEvent=!0;let a=new Wt("pressup",r,e);return o(a),t.isTriggeringEvent=!1,a.shouldStopPropagation}return!0},[p,o]),P=st(_),A=d(e=>{let r=E.current;if(r.isPressed&&r.target){r.didFirePressStart&&null!=r.pointerType&&M(Jt(r.target,e),r.pointerType,!1),r.isPressed=!1,V(null),r.isOverTarget=!1,r.activePointerId=null,r.pointerType=null,L(),m||Ft(r.target);for(let e of r.disposables)e();r.disposables=[]}},[m,L,M]),N=st(A),R=d(e=>{h&&A(e)},[h,A]),O=d(e=>{p||null==l||l(e)},[p,l]),D=d((e,r)=>{if(!p&&l){let t=new MouseEvent("click",e);Tt(t,r),l(Mt(t))}},[p,l]),F=st(D),[j,z]=s(!1);sr(()=>{let e=E.current;if(j){let r=r=>{var t;if(e.isPressed&&e.target&&Xt(r,e.target)){var a;ea(_r(r),r.key)&&r.preventDefault();let t=_r(r),n=Mr(e.target,_r(r));T(Jt(e.target,r),"keyboard",n),n&&F(r,e.target),L(),"Enter"!==r.key&&qt(e.target)&&Mr(e.target,t)&&!r[Ut]&&(r[Ut]=!0,et(e.target,r,!1)),e.isPressed=!1,z(!1),null===(a=e.metaKeyEvents)||void 0===a||a.delete(r.key)}else if("Meta"===r.key&&(null===(t=e.metaKeyEvents)||void 0===t?void 0:t.size)){var n;let r=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let t of r.values())null===(n=e.target)||void 0===n||n.dispatchEvent(new KeyboardEvent("keyup",t))}},t=e.target,a=r=>{t&&Xt(r,t)&&!r.repeat&&Mr(t,_r(r))&&e.target&&P(Jt(e.target,r),"keyboard")},n=Lr(a,r);return k(Ir(e.target),"keyup",n,!0),()=>{I(Ir(e.target),"keyup",n,!0)}}},[j,k,L,I]);let[B,V]=s(null);sr(()=>{let e=E.current;if("pointer"===B){let r=r=>{if(r.pointerId===e.activePointerId&&e.isPressed&&0===r.button&&e.target){if(Mr(e.target,_r(r))&&null!=e.pointerType){let t=!1,a=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(t?N(r):(Vr(e.target),e.target.click()))},80);k(r.currentTarget,"click",()=>t=!0,!0),e.disposables.push(()=>clearTimeout(a))}else N(r);e.isOverTarget=!1}},t=e=>{N(e)};return k(Ir(e.target),"pointerup",r,!1),k(Ir(e.target),"pointercancel",t,!1),()=>{I(Ir(e.target),"pointerup",r,!1),I(Ir(e.target),"pointercancel",t,!1)}}if("mouse"===B&&"test"===process.env.NODE_ENV){let r=r=>{0===r.button&&(e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:(e.target&&e.target.contains(r.target)&&null!=e.pointerType||N(r),e.isOverTarget=!1))};return k(Ir(e.target),"mouseup",r,!1),()=>{I(Ir(e.target),"mouseup",r,!1)}}if("touch"===B&&"test"===process.env.NODE_ENV){let r=r=>{e.isPressed&&Mr(_r(r),e.target)&&N({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};return k(Sr(e.target),"scroll",r,!0),()=>{I(Sr(e.target),"scroll",r,!0)}}},[B,k,I]);let H=i(()=>{let e=E.current,r={onKeyDown(r){if(Xt(r.nativeEvent,r.currentTarget)&&Mr(r.currentTarget,_r(r.nativeEvent))){var t;ea(_r(r.nativeEvent),r.key)&&r.preventDefault();let a=!0;e.isPressed||r.repeat||(e.target=r.currentTarget,e.isPressed=!0,z(!0),e.pointerType="keyboard",a=S(r,"keyboard")),a&&r.stopPropagation(),r.metaKey&&Zr()&&(null===(t=e.metaKeyEvents)||void 0===t||t.set(r.key,r.nativeEvent))}else"Meta"===r.key&&(e.metaKeyEvents=new Map)},onClick(r){if((!r||Mr(r.currentTarget,_r(r.nativeEvent)))&&r&&0===r.button&&!e.isTriggeringEvent&&!et.isOpening){let t=!0;if(p&&r.preventDefault(),e.ignoreEmulatedMouseEvents||e.isPressed||"virtual"!==e.pointerType&&!gt(r.nativeEvent)){if(e.isPressed&&"keyboard"!==e.pointerType){let a=e.pointerType||r.nativeEvent.pointerType||"virtual",n=_(Jt(r.currentTarget,r),a),o=M(Jt(r.currentTarget,r),a,!0);t=n&&o,e.isOverTarget=!1,O(r),A(r)}}else{let e=S(r,"virtual"),a=_(r,"virtual"),n=M(r,"virtual");O(r),t=e&&a&&n}e.ignoreEmulatedMouseEvents=!1,t&&r.stopPropagation()}}};return"undefined"!=typeof PointerEvent?(r.onPointerDown=r=>{if(0!==r.button||!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(t=r.nativeEvent,!Jr()&&0===t.width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"===t.pointerType)return void(e.pointerType="virtual");var t;e.pointerType=r.pointerType;let a=!0;if(!e.isPressed){e.isPressed=!0,V("pointer"),e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,m||Dt(e.target),a=S(r,e.pointerType);let t=_r(r.nativeEvent);"releasePointerCapture"in t&&t.releasePointerCapture(r.pointerId)}a&&r.stopPropagation()},r.onMouseDown=r=>{if(Mr(r.currentTarget,_r(r.nativeEvent))&&0===r.button){if(g){let t=At(r.target);t&&e.disposables.push(t)}r.stopPropagation()}},r.onPointerUp=r=>{Mr(r.currentTarget,_r(r.nativeEvent))&&"virtual"!==e.pointerType&&(0!==r.button||e.isPressed||_(r,e.pointerType||r.pointerType))},r.onPointerEnter=r=>{r.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,S(Jt(e.target,r),e.pointerType))},r.onPointerLeave=r=>{r.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,M(Jt(e.target,r),e.pointerType,!1),R(r))},r.onDragStart=e=>{Mr(e.currentTarget,_r(e.nativeEvent))&&A(e)}):"test"===process.env.NODE_ENV&&(r.onMouseDown=r=>{if(0!==r.button||!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(e.ignoreEmulatedMouseEvents)return void r.stopPropagation();if(e.isPressed=!0,V("mouse"),e.isOverTarget=!0,e.target=r.currentTarget,e.pointerType=gt(r.nativeEvent)?"virtual":"mouse",w(()=>S(r,e.pointerType))&&r.stopPropagation(),g){let t=At(r.target);t&&e.disposables.push(t)}},r.onMouseEnter=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;let t=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,t=S(r,e.pointerType)),t&&r.stopPropagation()},r.onMouseLeave=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;let t=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,t=M(r,e.pointerType,!1),R(r)),t&&r.stopPropagation()},r.onMouseUp=r=>{Mr(r.currentTarget,_r(r.nativeEvent))&&(e.ignoreEmulatedMouseEvents||0!==r.button||e.isPressed||_(r,e.pointerType||"mouse"))},r.onTouchStart=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;let t=function(e){const{targetTouches:r}=e;return r.length>0?r[0]:null}(r.nativeEvent);t&&(e.activePointerId=t.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,V("touch"),e.target=r.currentTarget,e.pointerType="touch",m||Dt(e.target),S(Qt(e.target,r),e.pointerType)&&r.stopPropagation())},r.onTouchMove=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(!e.isPressed)return void r.stopPropagation();let t=Kt(r.nativeEvent,e.activePointerId),a=!0;t&&$t(t,r.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,a=S(Qt(e.target,r),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,a=M(Qt(e.target,r),e.pointerType,!1),R(Qt(e.target,r))),a&&r.stopPropagation()},r.onTouchEnd=r=>{if(!Mr(r.currentTarget,_r(r.nativeEvent)))return;if(!e.isPressed)return void r.stopPropagation();let t=Kt(r.nativeEvent,e.activePointerId),a=!0;t&&$t(t,r.currentTarget)&&null!=e.pointerType?(_(Qt(e.target,r),e.pointerType),a=M(Qt(e.target,r),e.pointerType),D(r.nativeEvent,e.target)):e.isOverTarget&&null!=e.pointerType&&(a=M(Qt(e.target,r),e.pointerType,!1)),a&&r.stopPropagation(),e.isPressed=!1,V(null),e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!m&&Ft(e.target),L()},r.onTouchCancel=r=>{Mr(r.currentTarget,_r(r.nativeEvent))&&(r.stopPropagation(),e.isPressed&&A(Qt(e.target,r)))},r.onDragStart=e=>{Mr(e.currentTarget,_r(e.nativeEvent))&&A(e)}),r},[p,g,L,m,A,R,M,S,_,O,D]);return v(()=>{if(!b||"test"===process.env.NODE_ENV)return;const e=Ir(b.current);if(!e||!e.head||e.getElementById(Yt))return;const r=e.createElement("style");r.id=Yt,r.textContent=`\n@layer {\n [${Zt}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim(),e.head.prepend(r)},[b]),v(()=>{let e=E.current;return()=>{var r;m||Ft(null!==(r=e.target)&&void 0!==r?r:void 0);for(let r of e.disposables)r();e.disposables=[]}},[m]),{isPressed:f||y,pressProps:Nr(C,H,{[Zt]:!0})}}function qt(e){return"A"===e.tagName&&e.hasAttribute("href")}function Xt(e,r){const{key:t,code:a}=e,n=r,o=n.getAttribute("role");return!("Enter"!==t&&" "!==t&&"Spacebar"!==t&&"Space"!==a||n instanceof Sr(n).HTMLInputElement&&!ta(n,t)||n instanceof Sr(n).HTMLTextAreaElement||n.isContentEditable||("link"===o||!o&&qt(n))&&"Enter"!==t)}function Kt(e,r){const t=e.changedTouches;for(let e=0;e<t.length;e++){const a=t[e];if(a.identifier===r)return a}return null}function Qt(e,r){let t=0,a=0;return r.targetTouches&&1===r.targetTouches.length&&(t=r.targetTouches[0].clientX,a=r.targetTouches[0].clientY),{currentTarget:e,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey,clientX:t,clientY:a}}function Jt(e,r){let t=r.clientX,a=r.clientY;return{currentTarget:e,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey,clientX:t,clientY:a}}function $t(e,r){let t=r.getBoundingClientRect(),a=function(e){let r=0,t=0;return void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiusX),void 0!==e.height?t=e.height/2:void 0!==e.radiusY&&(t=e.radiusY),{top:e.clientY-t,right:e.clientX+r,bottom:e.clientY+t,left:e.clientX-r}}(e);return function(e,r){return!(e.left>r.right||r.left>e.right||e.top>r.bottom||r.top>e.bottom)}(t,a)}function ea(e,r){return e instanceof HTMLInputElement?!ta(e,r):function(e){return!(e instanceof HTMLInputElement||(e instanceof HTMLButtonElement?"submit"===e.type||"reset"===e.type:qt(e)))}(e)}const ra=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ta(e,r){return"checkbox"===e.type||"radio"===e.type?" "===r:ra.has(e.type)}let aa=null,na=new Set,oa=new Map,ia=!1,la=!1;const sa={Tab:!0,Escape:!0};function ca(e,r){for(let t of na)t(e,r)}function da(e){ia=!0,!et.isOpening&&function(e){return!(e.metaKey||!Zr()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(aa="keyboard",ca("keyboard",e))}function ua(e){aa="pointer",!("pointerType"in e)||e.pointerType,"mousedown"!==e.type&&"pointerdown"!==e.type||(ia=!0,ca("pointer",e))}function va(e){!et.isOpening&&gt(e)&&(ia=!0,aa="virtual")}function pa(e){e.target!==window&&e.target!==document&&!Pt&&e.isTrusted&&(ia||la||(aa="virtual",ca("virtual",e)),ia=!1,la=!1)}function fa(){Pt||(ia=!1,la=!0)}function ga(e){if("undefined"==typeof window||"undefined"==typeof document||oa.get(Sr(e)))return;const r=Sr(e),t=Ir(e);let a=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){ia=!0,a.apply(this,arguments)},t.addEventListener("keydown",da,!0),t.addEventListener("keyup",da,!0),t.addEventListener("click",va,!0),r.addEventListener("focus",pa,!0),r.addEventListener("blur",fa,!1),"undefined"!=typeof PointerEvent?(t.addEventListener("pointerdown",ua,!0),t.addEventListener("pointermove",ua,!0),t.addEventListener("pointerup",ua,!0)):"test"===process.env.NODE_ENV&&(t.addEventListener("mousedown",ua,!0),t.addEventListener("mousemove",ua,!0),t.addEventListener("mouseup",ua,!0)),r.addEventListener("beforeunload",()=>{ha(e)},{once:!0}),oa.set(r,{focus:a})}const ha=(e,r)=>{const t=Sr(e),a=Ir(e);r&&a.removeEventListener("DOMContentLoaded",r),oa.has(t)&&(t.HTMLElement.prototype.focus=oa.get(t).focus,a.removeEventListener("keydown",da,!0),a.removeEventListener("keyup",da,!0),a.removeEventListener("click",va,!0),t.removeEventListener("focus",pa,!0),t.removeEventListener("blur",fa,!1),"undefined"!=typeof PointerEvent?(a.removeEventListener("pointerdown",ua,!0),a.removeEventListener("pointermove",ua,!0),a.removeEventListener("pointerup",ua,!0)):"test"===process.env.NODE_ENV&&(a.removeEventListener("mousedown",ua,!0),a.removeEventListener("mousemove",ua,!0),a.removeEventListener("mouseup",ua,!0)),oa.delete(t))};function ma(){return"pointer"!==aa}function ba(){return aa}"undefined"!=typeof document&&function(e){const r=Ir(e);let t;"loading"!==r.readyState?ga(e):(t=()=>{ga(e)},r.addEventListener("DOMContentLoaded",t))}();const Ca=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ya(e,r,t){ga(),v(()=>{let r=(r,a)=>{(function(e,r,t){let a=Ir(null==t?void 0:t.target);const n="undefined"!=typeof window?Sr(null==t?void 0:t.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?Sr(null==t?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,i="undefined"!=typeof window?Sr(null==t?void 0:t.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?Sr(null==t?void 0:t.target).KeyboardEvent:KeyboardEvent;return!((e=e||a.activeElement instanceof n&&!Ca.has(a.activeElement.type)||a.activeElement instanceof o||a.activeElement instanceof i&&a.activeElement.isContentEditable)&&"keyboard"===r&&t instanceof l&&!sa[t.key])})(!!(null==t?void 0:t.isTextInput),r,a)&&e(ma())};return na.add(r),()=>{na.delete(r)}},r)}function wa(e){const r=Ir(e);if("virtual"===ba()){let t=Tr(r);nt(()=>{const a=Tr(r);a!==t&&a!==r.body||!e.isConnected||Vr(e)})}else Vr(e)}function xa(e){let{isDisabled:r,onFocus:t,onBlur:a,onFocusChange:n}=e;const o=d(e=>{if(e.target===e.currentTarget)return a&&a(e),n&&n(!1),!0},[a,n]),i=_t(o),l=d(e=>{const r=Ir(e.target),a=r?Tr(r):Tr();e.target===e.currentTarget&&a===_r(e.nativeEvent)&&(t&&t(e),n&&n(!0),i(e))},[n,t,i]);return{focusProps:{onFocus:!r&&(t||n||a)?l:void 0,onBlur:r||!a&&!n?void 0:o}}}function Ea(e){if(!e)return;let r=!0;return t=>{let a={...t,preventDefault(){t.preventDefault()},isDefaultPrevented:()=>t.isDefaultPrevented(),stopPropagation(){r&&"production"!==process.env.NODE_ENV?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):r=!0},continuePropagation(){r=!1},isPropagationStopped:()=>r};e(a),r&&t.stopPropagation()}}let ka=n.createContext(null);function La(e,r){let{focusProps:t}=xa(e),{keyboardProps:a}=function(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Ea(e.onKeyDown),onKeyUp:Ea(e.onKeyUp)}}}(e),n=Nr(t,a),o=function(e){let r=u(ka)||{};dt(r,e);let{ref:t,...a}=r;return a}(r),i=e.isDisabled?{}:o,l=c(e.autoFocus);v(()=>{l.current&&r.current&&wa(r.current),l.current=!1},[r]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:Nr({...n,tabIndex:s},i)}}function Ia({children:e}){let r=i(()=>({register:()=>{}}),[]);return n.createElement(jt.Provider,{value:r},e)}function Sa(e){let{isDisabled:r,onBlurWithin:t,onFocusWithin:a,onFocusWithinChange:n}=e,o=c({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=ot(),s=d(e=>{e.currentTarget.contains(e.target)&&o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,l(),t&&t(e),n&&n(!1))},[t,n,o,l]),u=_t(s),v=d(e=>{if(!e.currentTarget.contains(e.target))return;const r=Ir(e.target),t=Tr(r);if(!o.current.isFocusWithin&&t===_r(e.nativeEvent)){a&&a(e),n&&n(!0),o.current.isFocusWithin=!0,u(e);let t=e.currentTarget;i(r,"focus",e=>{if(o.current.isFocusWithin&&!Mr(t,e.target)){let a=new r.defaultView.FocusEvent("blur",{relatedTarget:e.target});Tt(a,t);let n=Mt(a);s(n)}},{capture:!0})}},[a,n,u,i,s]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:v,onBlur:s}}}let Ma=!1,Ta=0;function _a(){Ma=!0,setTimeout(()=>{Ma=!1},50)}function Pa(e){"touch"===e.pointerType&&_a()}function Aa(){if("undefined"!=typeof document)return 0===Ta&&("undefined"!=typeof PointerEvent?document.addEventListener("pointerup",Pa):"test"===process.env.NODE_ENV&&document.addEventListener("touchend",_a)),Ta++,()=>{Ta--,Ta>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",Pa):"test"===process.env.NODE_ENV&&document.removeEventListener("touchend",_a))}}function Na(e){let{onHoverStart:r,onHoverChange:t,onHoverEnd:a,isDisabled:n}=e,[o,l]=s(!1),d=c({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;v(Aa,[]);let{addGlobalListener:u,removeAllGlobalListeners:p}=ot(),{hoverProps:f,triggerHoverEnd:g}=i(()=>{let e=(e,a)=>{if(d.pointerType=a,n||"touch"===a||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let i=e.currentTarget;d.target=i,u(Ir(e.target),"pointerover",e=>{d.isHovered&&d.target&&!Mr(d.target,e.target)&&o(e,e.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:i,pointerType:a}),t&&t(!0),l(!0)},o=(e,r)=>{let n=d.target;d.pointerType="",d.target=null,"touch"!==r&&d.isHovered&&n&&(d.isHovered=!1,p(),a&&a({type:"hoverend",target:n,pointerType:r}),t&&t(!1),l(!1))},i={};return"undefined"!=typeof PointerEvent?(i.onPointerEnter=r=>{Ma&&"mouse"===r.pointerType||e(r,r.pointerType)},i.onPointerLeave=e=>{!n&&e.currentTarget.contains(e.target)&&o(e,e.pointerType)}):"test"===process.env.NODE_ENV&&(i.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},i.onMouseEnter=r=>{d.ignoreEmulatedMouseEvents||Ma||e(r,"mouse"),d.ignoreEmulatedMouseEvents=!1},i.onMouseLeave=e=>{!n&&e.currentTarget.contains(e.target)&&o(e,"mouse")}),{hoverProps:i,triggerHoverEnd:o}},[r,t,a,n,d,u,p]);return v(()=>{n&&g({currentTarget:d.target},d.pointerType)},[n]),{hoverProps:f,isHovered:o}}function Ra(e,r){if(e.button>0)return!1;if(e.target){const r=e.target.ownerDocument;if(!r||!r.documentElement.contains(e.target))return!1;if(e.target.closest("[data-react-aria-top-layer]"))return!1}return!!r.current&&!e.composedPath().includes(r.current)}const Oa=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Da=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Fa(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),t="function"==typeof r.getTextInfo?r.getTextInfo():r.textInfo;if(t)return"rtl"===t.direction;if(r.script)return Oa.has(r.script)}let r=e.split("-")[0];return Da.has(r)}const ja=Symbol.for("react-aria.i18n.locale");function za(){let e="undefined"!=typeof window&&window[ja]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Fa(e)?"rtl":"ltr"}}let Ba=za(),Va=new Set;function Ha(){Ba=za();for(let e of Va)e(Ba)}const Wa=n.createContext(null);function Ua(){let e=function(){let e=br(),[r,t]=s(Ba);if(v(()=>(0===Va.size&&window.addEventListener("languagechange",Ha),Va.add(t),()=>{Va.delete(t),0===Va.size&&window.removeEventListener("languagechange",Ha)}),[]),e)return{locale:"undefined"!=typeof window&&window[ja]||"en-US",direction:"ltr"};return r}();return u(Wa)||e}function Ya(e,r){let t,{elementType:a="button",isDisabled:n,onPress:o,onPressStart:i,onPressEnd:l,onPressUp:s,onPressChange:c,preventFocusOnPress:d,allowFocusWhenDisabled:u,onClick:v,href:p,target:f,rel:g,type:h="button"}=e;t="button"===a?{type:h,disabled:n,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==a||n?void 0:p,target:"a"===a?f:void 0,type:"input"===a?h:void 0,disabled:"input"===a?n:void 0,"aria-disabled":n&&"input"!==a?n:void 0,rel:"a"===a?g:void 0};let{pressProps:m,isPressed:b}=Gt({onPressStart:i,onPressEnd:l,onPressChange:c,onPress:o,onPressUp:s,onClick:v,isDisabled:n,preventFocusOnPress:d,ref:r}),{focusableProps:C}=La(e,r);u&&(C.tabIndex=n?-1:C.tabIndex);let y=Nr(C,m,Br(e,{labelable:!0}));return{isPressed:b,buttonProps:Nr(t,y,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}const Za=n.createContext(null),Ga="react-aria-focus-scope-restore";let qa=null;function Xa(e){let{children:r,contain:t,restoreFocus:a,autoFocus:o}=e,l=c(null),s=c(null),d=c([]),{parentNode:p}=u(Za)||{},f=i(()=>new dn({scopeRef:d}),[d]);sr(()=>{let e=p||un.root;if(un.getTreeNode(e.scopeRef)&&qa&&!rn(qa,e.scopeRef)){let r=un.getTreeNode(qa);r&&(e=r)}e.addChild(f),un.addNode(f)},[f,p]),sr(()=>{let e=un.getTreeNode(d);e&&(e.contain=!!t)},[t]),sr(()=>{var e;let r=null===(e=l.current)||void 0===e?void 0:e.nextSibling,t=[],a=e=>e.stopPropagation();for(;r&&r!==s.current;)t.push(r),r.addEventListener(Ga,a),r=r.nextSibling;return d.current=t,()=>{for(let e of t)e.removeEventListener(Ga,a)}},[r]),function(e,r,t){sr(()=>{if(r||t)return;let a=e.current;const n=Ir(a?a[0]:void 0);let o=r=>{let t=_r(r);$a(t,e.current)?qa=e:Ja(t)||(qa=null)};return n.addEventListener("focusin",o,!1),null==a||a.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{n.removeEventListener("focusin",o,!1),null==a||a.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,r,t])}(d,a,t),function(e,r){let t=c(void 0),a=c(void 0);sr(()=>{let n=e.current;if(!r)return void(a.current&&(cancelAnimationFrame(a.current),a.current=void 0));const o=Ir(n?n[0]:void 0);let i=r=>{if("Tab"!==r.key||r.altKey||r.ctrlKey||r.metaKey||!Qa(e)||r.isComposing)return;let t=Tr(o),a=e.current;if(!a||!$a(t,a))return;let n=sn(Ka(a),{tabbable:!0},a);if(!t)return;n.currentNode=t;let i=r.shiftKey?n.previousNode():n.nextNode();i||(n.currentNode=r.shiftKey?a[a.length-1].nextElementSibling:a[0].previousElementSibling,i=r.shiftKey?n.previousNode():n.nextNode()),r.preventDefault(),i&&tn(i,!0)},l=r=>{qa&&!rn(qa,e)||!$a(_r(r),e.current)?Qa(e)&&!en(_r(r),e)?t.current?t.current.focus():qa&&qa.current&&nn(qa.current):Qa(e)&&(t.current=_r(r)):(qa=e,t.current=_r(r))},s=r=>{a.current&&cancelAnimationFrame(a.current),a.current=requestAnimationFrame(()=>{let a=ba(),n=("virtual"===a||null===a)&&Jr()&&Qr(),i=Tr(o);if(!n&&i&&Qa(e)&&!en(i,e)){qa=e;let a=_r(r);var l;if(a&&a.isConnected)t.current=a,null===(l=t.current)||void 0===l||l.focus();else qa.current&&nn(qa.current)}})};return o.addEventListener("keydown",i,!1),o.addEventListener("focusin",l,!1),null==n||n.forEach(e=>e.addEventListener("focusin",l,!1)),null==n||n.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",i,!1),o.removeEventListener("focusin",l,!1),null==n||n.forEach(e=>e.removeEventListener("focusin",l,!1)),null==n||n.forEach(e=>e.removeEventListener("focusout",s,!1))}},[e,r]),sr(()=>()=>{a.current&&cancelAnimationFrame(a.current)},[a])}(d,t),function(e,r,t){const a=c("undefined"!=typeof document?Tr(Ir(e.current?e.current[0]:void 0)):null);sr(()=>{let a=e.current;const n=Ir(a?a[0]:void 0);if(!r||t)return;let o=()=>{qa&&!rn(qa,e)||!$a(Tr(n),e.current)||(qa=e)};return n.addEventListener("focusin",o,!1),null==a||a.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{n.removeEventListener("focusin",o,!1),null==a||a.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,t]),sr(()=>{const a=Ir(e.current?e.current[0]:void 0);if(!r)return;let n=r=>{if("Tab"!==r.key||r.altKey||r.ctrlKey||r.metaKey||!Qa(e)||r.isComposing)return;let t=a.activeElement;if(!en(t,e)||!on(e))return;let n=un.getTreeNode(e);if(!n)return;let o=n.nodeToRestore,i=sn(a.body,{tabbable:!0});i.currentNode=t;let l=r.shiftKey?i.previousNode():i.nextNode();if(o&&o.isConnected&&o!==a.body||(o=void 0,n.nodeToRestore=void 0),(!l||!en(l,e))&&o){i.currentNode=o;do{l=r.shiftKey?i.previousNode():i.nextNode()}while(en(l,e));r.preventDefault(),r.stopPropagation(),l?tn(l,!0):Ja(o)?tn(o,!0):t.blur()}};return t||a.addEventListener("keydown",n,!0),()=>{t||a.removeEventListener("keydown",n,!0)}},[e,r,t]),sr(()=>{const t=Ir(e.current?e.current[0]:void 0);if(!r)return;let n=un.getTreeNode(e);var o;return n?(n.nodeToRestore=null!==(o=a.current)&&void 0!==o?o:void 0,()=>{let a=un.getTreeNode(e);if(!a)return;let n=a.nodeToRestore,o=Tr(t);if(r&&n&&(o&&en(o,e)||o===t.body&&on(e))){let r=un.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=r.getTreeNode(e);for(;t;){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void ln(t.nodeToRestore);t=t.parent}for(t=r.getTreeNode(e);t;){if(t.scopeRef&&t.scopeRef.current&&un.getTreeNode(t.scopeRef)){return void ln(an(t.scopeRef.current,!0))}t=t.parent}}})}}):void 0},[e,r])}(d,a,t),function(e,r){const t=n.useRef(r);v(()=>{if(t.current){qa=e;const r=Ir(e.current?e.current[0]:void 0);!$a(Tr(r),qa.current)&&e.current&&nn(e.current)}t.current=!1},[e])}(d,o),v(()=>{const e=Tr(Ir(d.current?d.current[0]:void 0));let r=null;if($a(e,d.current)){for(let t of un.traverse())t.scopeRef&&$a(e,t.scopeRef.current)&&(r=t);r===un.getTreeNode(d)&&(qa=r.scopeRef)}},[d]),sr(()=>()=>{var e,r,t;let a=null!==(t=null===(r=un.getTreeNode(d))||void 0===r||null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null;d!==qa&&!rn(d,qa)||a&&!un.getTreeNode(a)||(qa=a),un.removeTreeNode(d)},[d]);let g=i(()=>function(e){return{focusNext(r={}){let t=e.current,{from:a,tabbable:n,wrap:o,accept:i}=r;var l;let s=a||Tr(Ir(null!==(l=t[0])&&void 0!==l?l:void 0)),c=t[0].previousElementSibling,d=sn(Ka(t),{tabbable:n,accept:i},t);d.currentNode=$a(s,t)?s:c;let u=d.nextNode();return!u&&o&&(d.currentNode=c,u=d.nextNode()),u&&tn(u,!0),u},focusPrevious(r={}){let t=e.current,{from:a,tabbable:n,wrap:o,accept:i}=r;var l;let s=a||Tr(Ir(null!==(l=t[0])&&void 0!==l?l:void 0)),c=t[t.length-1].nextElementSibling,d=sn(Ka(t),{tabbable:n,accept:i},t);d.currentNode=$a(s,t)?s:c;let u=d.previousNode();return!u&&o&&(d.currentNode=c,u=d.previousNode()),u&&tn(u,!0),u},focusFirst(r={}){let t=e.current,{tabbable:a,accept:n}=r,o=sn(Ka(t),{tabbable:a,accept:n},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&tn(i,!0),i},focusLast(r={}){let t=e.current,{tabbable:a,accept:n}=r,o=sn(Ka(t),{tabbable:a,accept:n},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&tn(i,!0),i}}}(d),[]),h=i(()=>({focusManager:g,parentNode:f}),[f,g]);return n.createElement(Za.Provider,{value:h},n.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),r,n.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:s}))}function Ka(e){return e[0].parentElement}function Qa(e){let r=un.getTreeNode(qa);for(;r&&r.scopeRef!==e;){if(r.contain)return!1;r=r.parent}return!0}function Ja(e){return en(e)}function $a(e,r){return!!e&&(!!r&&r.some(r=>r.contains(e)))}function en(e,r=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of un.traverse(un.getTreeNode(r)))if(t&&$a(e,t.current))return!0;return!1}function rn(e,r){var t;let a=null===(t=un.getTreeNode(r))||void 0===t?void 0:t.parent;for(;a;){if(a.scopeRef===e)return!0;a=a.parent}return!1}function tn(e,r=!1){if(null==e||r){if(null!=e)try{e.focus()}catch{}}else try{wa(e)}catch{}}function an(e,r=!0){let t=e[0].previousElementSibling,a=Ka(e),n=sn(a,{tabbable:r},e);n.currentNode=t;let o=n.nextNode();return r&&!o&&(a=Ka(e),n=sn(a,{tabbable:!1},e),n.currentNode=t,o=n.nextNode()),o}function nn(e,r=!0){tn(an(e,r))}function on(e){let r=un.getTreeNode(qa);for(;r&&r.scopeRef!==e;){if(r.nodeToRestore)return!1;r=r.parent}return(null==r?void 0:r.scopeRef)===e}function ln(e){e.dispatchEvent(new CustomEvent(Ga,{bubbles:!0,cancelable:!0}))&&tn(e)}function sn(e,r,t){let a=(null==r?void 0:r.tabbable)?Et:xt,n=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,o=Ir(n),i=function(e,r,t,a){return e.createTreeWalker(r,t,a)}(o,e||o,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var n;if(null==r||null===(n=r.from)||void 0===n?void 0:n.contains(e))return NodeFilter.FILTER_REJECT;if((null==r?void 0:r.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")){if(!function(e){if(e.checked)return!0;let r=[];if(e.form){var t,a;let n=null===(a=e.form)||void 0===a||null===(t=a.elements)||void 0===t?void 0:t.namedItem(e.name);r=[...null!=n?n:[]]}else r=[...Ir(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!r&&!r.some(e=>e.checked)}(e))return NodeFilter.FILTER_REJECT;if("INPUT"===i.currentNode.tagName&&"radio"===i.currentNode.type&&i.currentNode.name===e.name)return NodeFilter.FILTER_REJECT}return!a(e)||t&&!$a(e,t)||(null==r?void 0:r.accept)&&!r.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==r?void 0:r.from)&&(i.currentNode=r.from),i}class cn{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,r,t){let a=this.fastMap.get(null!=r?r:null);if(!a)return;let n=new dn({scopeRef:e});a.addChild(n),n.parent=a,this.fastMap.set(e,n),t&&(n.nodeToRestore=t)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let r=this.fastMap.get(e);if(!r)return;let t=r.parent;for(let e of this.traverse())e!==r&&r.nodeToRestore&&e.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&$a(e.nodeToRestore,r.scopeRef.current)&&(e.nodeToRestore=r.nodeToRestore);let a=r.children;t&&(t.removeChild(r),a.size>0&&a.forEach(e=>t&&t.addChild(e))),this.fastMap.delete(r.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let r of e.children)yield*this.traverse(r)}clone(){var e;let r=new cn;var t;for(let a of this.traverse())r.addTreeNode(a.scopeRef,null!==(t=null===(e=a.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new dn({scopeRef:null}),this.fastMap.set(null,this.root)}}class dn{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let un=new cn;function vn(e={}){let{autoFocus:r=!1,isTextInput:t,within:a}=e,n=c({isFocused:!1,isFocusVisible:r||ma()}),[o,i]=s(!1),[l,u]=s(()=>n.current.isFocused&&n.current.isFocusVisible),v=d(()=>u(n.current.isFocused&&n.current.isFocusVisible),[]),p=d(e=>{n.current.isFocused=e,i(e),v()},[v]);ya(e=>{n.current.isFocusVisible=e,v()},[],{isTextInput:t});let{focusProps:f}=xa({isDisabled:a,onFocusChange:p}),{focusWithinProps:g}=Sa({isDisabled:!a,onFocusWithinChange:p});return{isFocused:o,isFocusVisible:l,focusProps:a?g:f}}const pn={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},fn={...pn,customError:!0,valid:!1},gn={isInvalid:!1,validationDetails:pn,validationErrors:[]},hn=f({}),mn="__formValidationState"+Date.now();function bn(e){if(e[mn]){let{realtimeValidation:r,displayValidation:t,updateValidation:a,resetValidation:n,commitValidation:o}=e[mn];return{realtimeValidation:r,displayValidation:t,updateValidation:a,resetValidation:n,commitValidation:o}}return function(e){let{isInvalid:r,validationState:t,name:a,value:n,builtinValidation:o,validate:l,validationBehavior:d="aria"}=e;t&&(r||(r="invalid"===t));let p=void 0!==r?{isInvalid:r,validationErrors:[],validationDetails:fn}:null,f=i(()=>{if(!l||null==n)return null;let e=function(e,r){if("function"==typeof e){let t=e(r);if(t&&"boolean"!=typeof t)return Cn(t)}return[]}(l,n);return yn(e)},[l,n]);(null==o?void 0:o.validationDetails.valid)&&(o=void 0);let g=u(hn),h=i(()=>a?Array.isArray(a)?a.flatMap(e=>Cn(g[e])):Cn(g[a]):[],[g,a]),[m,b]=s(g),[C,y]=s(!1);g!==m&&(b(g),y(!1));let w=i(()=>yn(C?[]:h),[C,h]),x=c(gn),[E,k]=s(gn),L=c(gn),I=()=>{if(!S)return;M(!1);let e=f||o||x.current;wn(e,L.current)||(L.current=e,k(e))},[S,M]=s(!1);return v(I),{realtimeValidation:p||w||f||o||gn,displayValidation:"native"===d?p||w||E:p||w||f||o||E,updateValidation(e){"aria"!==d||wn(E,e)?x.current=e:k(e)},resetValidation(){let e=gn;wn(e,L.current)||(L.current=e,k(e)),"native"===d&&M(!1),y(!0)},commitValidation(){"native"===d&&M(!0),y(!0)}}}(e)}function Cn(e){return e?Array.isArray(e)?e:[e]:[]}function yn(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:fn}:null}function wn(e,r){return e===r||!!e&&!!r&&e.isInvalid===r.isInvalid&&e.validationErrors.length===r.validationErrors.length&&e.validationErrors.every((e,t)=>e===r.validationErrors[t])&&Object.entries(e.validationDetails).every(([e,t])=>r.validationDetails[e]===t)}function xn(e,r,t){let{validationBehavior:a,focus:n}=e;sr(()=>{if("native"===a&&(null==t?void 0:t.current)&&!t.current.disabled){let a=r.realtimeValidation.isInvalid?r.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";t.current.setCustomValidity(a),t.current.hasAttribute("title")||(t.current.title=""),r.realtimeValidation.isInvalid||r.updateValidation({isInvalid:!(e=t.current).validity.valid,validationDetails:En(e),validationErrors:e.validationMessage?[e.validationMessage]:[]})}var e});let o=c(!1),i=st(()=>{o.current||r.resetValidation()}),l=st(e=>{var a;r.displayValidation.isInvalid||r.commitValidation();let o=null==t||null===(a=t.current)||void 0===a?void 0:a.form;var i,l;!e.defaultPrevented&&t&&o&&function(e){for(let r=0;r<e.elements.length;r++){let t=e.elements[r];if(!t.validity.valid)return t}return null}(o)===t.current&&(n?n():null===(i=t.current)||void 0===i||i.focus(),aa=l="keyboard",ca(l,null));e.preventDefault()}),s=st(()=>{r.commitValidation()});v(()=>{let e=null==t?void 0:t.current;if(!e)return;let r=e.form,a=null==r?void 0:r.reset;return r&&(r.reset=()=>{o.current=!window.event||"message"===window.event.type&&window.event.target instanceof MessagePort,null==a||a.call(r),o.current=!1}),e.addEventListener("invalid",l),e.addEventListener("change",s),null==r||r.addEventListener("reset",i),()=>{e.removeEventListener("invalid",l),e.removeEventListener("change",s),null==r||r.removeEventListener("reset",i),r&&(r.reset=a)}},[t,a])}function En(e){let r=e.validity;return{badInput:r.badInput,customError:r.customError,patternMismatch:r.patternMismatch,rangeOverflow:r.rangeOverflow,rangeUnderflow:r.rangeUnderflow,stepMismatch:r.stepMismatch,tooLong:r.tooLong,tooShort:r.tooShort,typeMismatch:r.typeMismatch,valueMissing:r.valueMissing,valid:r.valid}}function kn(e,r,t){let a=bn({...e,value:r.isSelected}),{isInvalid:n,validationErrors:o,validationDetails:l}=a.displayValidation,{labelProps:s,inputProps:c,isSelected:d,isPressed:u,isDisabled:p,isReadOnly:f}=function(e,r,t){let{isDisabled:a=!1,isReadOnly:n=!1,value:o,name:i,form:l,children:s,"aria-label":c,"aria-labelledby":d,validationState:u="valid",isInvalid:v,onPressStart:p,onPressEnd:f,onPressChange:g,onPress:h,onPressUp:m,onClick:b}=e;null!=s||null!=c||null!=d||"production"===process.env.NODE_ENV||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:C,isPressed:y}=Gt({onPressStart:p,onPressEnd:f,onPressChange:g,onPress:h,onPressUp:m,onClick:b,isDisabled:a}),{pressProps:w,isPressed:x}=Gt({onPressStart:p,onPressEnd:f,onPressChange:g,onPressUp:m,onClick:b,onPress(e){var a;null==h||h(e),r.toggle(),null===(a=t.current)||void 0===a||a.focus()},isDisabled:a||n}),{focusableProps:E}=La(e,t),k=Nr(C,E),L=Br(e,{labelable:!0});return ht(t,r.defaultSelected,r.setSelected),{labelProps:Nr(w,{onClick:e=>e.preventDefault()}),inputProps:Nr(L,{"aria-invalid":v||"invalid"===u||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":n||void 0,onChange:e=>{e.stopPropagation(),r.setSelected(e.target.checked)},disabled:a,...null==o?{}:{value:o},name:i,form:l,type:"checkbox",...k}),isSelected:r.isSelected,isPressed:y||x,isDisabled:a,isReadOnly:n,isInvalid:v||"invalid"===u}}({...e,isInvalid:n},r,t);xn(e,a,t);let{isIndeterminate:g,isRequired:h,validationBehavior:m="aria"}=e;v(()=>{t.current&&(t.current.indeterminate=!!g)});let{pressProps:b}=Gt({isDisabled:p||f,onPress(){let{[mn]:r}=e,{commitValidation:t}=r||a;t()}});return{labelProps:Nr(s,b,i(()=>({onMouseDown:e=>e.preventDefault()}),[])),inputProps:{...c,checked:d,"aria-required":h&&"aria"===m||void 0,required:h&&"native"===m},isSelected:d,isPressed:u,isDisabled:p,isReadOnly:f,isInvalid:n,validationErrors:o,validationDetails:l}}function Ln(e){let{id:r,label:t,"aria-labelledby":a,"aria-label":n,labelElementType:o="label"}=e;r=xr(r);let i=xr(),l={};t?(a=a?`${i} ${a}`:i,l={id:i,htmlFor:"label"===o?r:void 0}):a||n||"production"===process.env.NODE_ENV||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=function(e,r){let{id:t,"aria-label":a,"aria-labelledby":n}=e;if(t=xr(t),n&&a){let e=new Set([t,...n.trim().split(/\s+/)]);n=[...e].join(" ")}else n&&(n=n.trim().split(/\s+/).join(" "));return a||n||!r||(a=r),{id:t,"aria-label":a,"aria-labelledby":n}}({id:r,"aria-label":n,"aria-labelledby":a});return{labelProps:l,fieldProps:s}}const In={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Sn(e){let{children:r,elementType:t="div",isFocusable:a,style:o,...l}=e,{visuallyHiddenProps:c}=function(e={}){let{style:r,isFocusable:t}=e,[a,n]=s(!1),{focusWithinProps:o}=Sa({isDisabled:!t,onFocusWithinChange:e=>n(e)});return{visuallyHiddenProps:{...o,style:i(()=>a?r:r?{...In,...r}:In,[a])}}}(e);return n.createElement(t,Nr(l,c),r)}function Mn(e,r){let{inputElementType:t="input",isDisabled:a=!1,isRequired:o=!1,isReadOnly:i=!1,type:l="text",validationBehavior:u="aria"}=e,[f,g]=function(e,r,t){let[a,n]=s(e||r),o=c(a),i=c(void 0!==e),l=void 0!==e;v(()=>{let e=i.current;e!==l&&"production"!==process.env.NODE_ENV&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),i.current=l},[l]);let u=l?e:a;It(()=>{o.current=u});let[,f]=p(()=>({}),{}),g=d((e,...r)=>{let a="function"==typeof e?e(o.current):e;Object.is(o.current,a)||(o.current=a,n(a),f(),null==t||t(a,...r))},[t]);return[u,g]}(e.value,e.defaultValue||"",e.onChange),{focusableProps:h}=La(e,r),m=bn({...e,value:f}),{isInvalid:b,validationErrors:C,validationDetails:y}=m.displayValidation,{labelProps:w,fieldProps:x,descriptionProps:E,errorMessageProps:k}=function(e){let{description:r,errorMessage:t,isInvalid:a,validationState:n}=e,{labelProps:o,fieldProps:i}=Ln(e),l=kr([Boolean(r),Boolean(t),a,n]),s=kr([Boolean(r),Boolean(t),a,n]);return i=Nr(i,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:i,descriptionProps:{id:l},errorMessageProps:{id:s}}}({...e,isInvalid:b,errorMessage:e.errorMessage||C}),L=Br(e,{labelable:!0});const I={type:l,pattern:e.pattern};let[S]=s(f);var M;return ht(r,null!==(M=e.defaultValue)&&void 0!==M?M:S,g),xn(e,m,r),{labelProps:w,inputProps:Nr(L,"input"===t?I:void 0,{disabled:a,readOnly:i,required:o&&"native"===u,"aria-required":o&&"aria"===u||void 0,"aria-invalid":b||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:f,onChange:e=>g(e.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(n.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...h,...x}),descriptionProps:E,errorMessageProps:k,isInvalid:b,validationErrors:C,validationDetails:y}}const Tn={top:"top",bottom:"top",left:"left",right:"left"},_n={top:"bottom",bottom:"top",left:"right",right:"left"},Pn={top:"left",left:"top"},An={top:"height",left:"width"},Nn={width:"totalWidth",height:"totalHeight"},Rn={};function On(e,r){let t=0,a=0,n=0,o=0,i=0,l=0,s={};var c;let d=(null!==(c=null==r?void 0:r.scale)&&void 0!==c?c:1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let c=document.documentElement;var u,v;n=c.clientWidth,o=c.clientHeight,t=null!==(u=null==r?void 0:r.width)&&void 0!==u?u:n,a=null!==(v=null==r?void 0:r.height)&&void 0!==v?v:o,s.top=c.scrollTop||e.scrollTop,s.left=c.scrollLeft||e.scrollLeft,r&&(i=r.offsetTop,l=r.offsetLeft)}else({width:t,height:a,top:i,left:l}=Wn(e,!1)),s.top=e.scrollTop,s.left=e.scrollLeft,n=t,o=a;var p,f;Kr()&&("BODY"===e.tagName||"HTML"===e.tagName)&&d&&(s.top=0,s.left=0,i=null!==(p=null==r?void 0:r.pageTop)&&void 0!==p?p:0,l=null!==(f=null==r?void 0:r.pageLeft)&&void 0!==f?f:0);return{width:t,height:a,totalWidth:n,totalHeight:o,scroll:s,top:i,left:l}}function Dn(e,r,t,a,n,o,i){var l;let s=null!==(l=n.scroll[e])&&void 0!==l?l:0,c=a[An[e]],d=i[e]+a.scroll[Tn[e]]+o,u=i[e]+a.scroll[Tn[e]]+c-o,v=r-s+a.scroll[Tn[e]]+i[e]-a[Tn[e]],p=r-s+t+a.scroll[Tn[e]]+i[e]-a[Tn[e]];return v<d?d-v:p>u?Math.max(u-p,d-v):0}function Fn(e){if(Rn[e])return Rn[e];let[r,t]=e.split(" "),a=Tn[r]||"right",n=Pn[a];Tn[t]||(t="center");let o=An[a],i=An[n];return Rn[e]={placement:r,crossPlacement:t,axis:a,crossAxis:n,size:o,crossSize:i},Rn[e]}function jn(e,r,t,a,n,o,i,l,s,c,d){let{placement:u,crossPlacement:v,axis:p,crossAxis:f,size:g,crossSize:h}=a,m={};var b,C,y,w,x;m[f]=null!==(b=e[f])&&void 0!==b?b:0,"center"===v?m[f]+=((null!==(C=e[h])&&void 0!==C?C:0)-(null!==(y=t[h])&&void 0!==y?y:0))/2:v!==f&&(m[f]+=(null!==(w=e[h])&&void 0!==w?w:0)-(null!==(x=t[h])&&void 0!==x?x:0)),m[f]+=o;const E=e[f]-t[h]+s+c,k=e[f]+e[h]-s-c;if(m[f]=St(m[f],E,k),u===p){let r=l?d[g]:d[Nn[g]];m[_n[p]]=Math.floor(r-e[p]+n)}else m[p]=Math.floor(e[p]+e[g]+n);return m}function zn(e,r,t,a,n,o,i,l){let{placement:s,axis:c,size:d}=o;var u,v,p,f;return s===c?Math.max(0,t[c]-(null!==(u=i.scroll[c])&&void 0!==u?u:0)-(e[c]+(l?r[c]:0))-(null!==(v=a[c])&&void 0!==v?v:0)-a[_n[c]]-n):Math.max(0,e[d]+e[c]+(l?r[c]:0)-t[c]-t[d]+(null!==(p=i.scroll[c])&&void 0!==p?p:0)-(null!==(f=a[c])&&void 0!==f?f:0)-a[_n[c]]-n)}function Bn(e,r,t,a,n,o,i,l,s,c,d,u,v,p,f,g,h,m){let b=Fn(e),{size:C,crossAxis:y,crossSize:w,placement:x,crossPlacement:E}=b,k=jn(r,0,t,b,d,u,0,v,f,g,s),L=d,I=zn(l,c,r,n,o+d,b,s,h);if(i&&t[C]>I){let e=Fn(`${_n[x]} ${E}`),a=jn(r,0,t,e,d,u,0,v,f,g,s);zn(l,c,r,n,o+d,e,s,h)>I&&(b=e,k=a,L=d)}let S="bottom";"top"===b.axis?"top"===b.placement?S="top":"bottom"===b.placement&&(S="bottom"):"top"===b.crossAxis&&("top"===b.crossPlacement?S="bottom":"bottom"===b.crossPlacement&&(S="top"));let M=Dn(y,k[y],t[w],l,s,o,c);k[y]+=M;let T=function(e,r,t,a,n,o,i,l,s,c,d){var u,v;let p=(null!=e.top?e.top:s[Nn.height]-(null!==(u=e.bottom)&&void 0!==u?u:0)-i)-(null!==(v=s.scroll.top)&&void 0!==v?v:0),f=c?t.top:0;var g,h,m;let b=Math.max(r.top+f,(null!==(g=null==d?void 0:d.offsetTop)&&void 0!==g?g:r.top)+f),C=Math.min(r.top+r.height+f,(null!==(h=null==d?void 0:d.offsetTop)&&void 0!==h?h:0)+(null!==(m=null==d?void 0:d.height)&&void 0!==m?m:0));var y,w,x,E;return"top"!==l?Math.max(0,C-p-((null!==(y=n.top)&&void 0!==y?y:0)+(null!==(w=n.bottom)&&void 0!==w?w:0)+o)):Math.max(0,p+i-b-((null!==(x=n.top)&&void 0!==x?x:0)+(null!==(E=n.bottom)&&void 0!==E?E:0)+o))}(k,l,c,0,n,o,t.height,S,s,h,m);p&&p<T&&(T=p),t.height=Math.min(t.height,T),k=jn(r,0,t,b,L,u,0,v,f,g,s),M=Dn(y,k[y],t[w],l,s,o,c),k[y]+=M;let _={},P=r[y]-k[y]-n[Tn[y]],A=P+.5*r[w];const N=f/2+g;var R,O,D,F;const j="left"===Tn[y]?(null!==(R=n.left)&&void 0!==R?R:0)+(null!==(O=n.right)&&void 0!==O?O:0):(null!==(D=n.top)&&void 0!==D?D:0)+(null!==(F=n.bottom)&&void 0!==F?F:0),z=t[w]-j-f/2-g,B=St(A,r[y]+f/2-(k[y]+n[Tn[y]]),r[y]+r[w]-f/2-(k[y]+n[Tn[y]]));_[y]=St(B,N,z),({placement:x,crossPlacement:E}=b),f?P=_[y]:"right"===E?P+=r[w]:"center"===E&&(P+=r[w]/2);let V="left"===x||"top"===x?t[C]:0,H={x:"top"===x||"bottom"===x?P:V,y:"left"===x||"right"===x?P:V};return{position:k,maxHeight:T,arrowOffsetLeft:_.left,arrowOffsetTop:_.top,placement:x,triggerAnchorPoint:H}}function Vn(e){let{placement:r,targetNode:t,overlayNode:a,scrollNode:n,padding:o,shouldFlip:i,boundaryElement:l,offset:s,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:v=0}=e,p="undefined"!=typeof document?window.visualViewport:null,f=a instanceof HTMLElement?function(e){let r=e.offsetParent;r&&r===document.body&&"static"===window.getComputedStyle(r).position&&!Yn(r)&&(r=document.documentElement);if(null==r)for(r=e.parentElement;r&&!Yn(r);)r=r.parentElement;return r||document.documentElement}(a):document.documentElement,g=f===document.documentElement;const h=window.getComputedStyle(f).position;let m=!!h&&"static"!==h,b=g?Wn(t,!1):Un(t,f,!1);if(!g){let{marginTop:e,marginLeft:r}=window.getComputedStyle(t);b.top+=parseInt(e,10)||0,b.left+=parseInt(r,10)||0}let C=Wn(a,!0),y=function(e){let r=window.getComputedStyle(e);return{top:parseInt(r.marginTop,10)||0,bottom:parseInt(r.marginBottom,10)||0,left:parseInt(r.marginLeft,10)||0,right:parseInt(r.marginRight,10)||0}}(a);var w,x,E,k;C.width+=(null!==(w=y.left)&&void 0!==w?w:0)+(null!==(x=y.right)&&void 0!==x?x:0),C.height+=(null!==(E=y.top)&&void 0!==E?E:0)+(null!==(k=y.bottom)&&void 0!==k?k:0);(L=n).scrollTop,L.scrollLeft,L.scrollWidth,L.scrollHeight;var L;return Bn(r,b,C,0,y,o,i,On(l,p),On(f,p),Un(l,f,!1),s,c,m,d,u,v,l.contains(f),p)}function Hn(e,r){let{top:t,left:a,width:n,height:o}=e.getBoundingClientRect();return r&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(n=e.offsetWidth,o=e.offsetHeight),{top:t,left:a,width:n,height:o}}function Wn(e,r){let{top:t,left:a,width:n,height:o}=Hn(e,r),{scrollTop:i,scrollLeft:l,clientTop:s,clientLeft:c}=document.documentElement;return{top:t+i-s,left:a+l-c,width:n,height:o}}function Un(e,r,t){let a,n=window.getComputedStyle(e);if("fixed"===n.position)a=Hn(e,t);else{a=Wn(e,t);let n=Wn(r,t),o=window.getComputedStyle(r);n.top+=(parseInt(o.borderTopWidth,10)||0)-r.scrollTop,n.left+=(parseInt(o.borderLeftWidth,10)||0)-r.scrollLeft,a.top-=n.top,a.left-=n.left}return a.top-=parseInt(n.marginTop,10)||0,a.left-=parseInt(n.marginLeft,10)||0,a}function Yn(e){let r=window.getComputedStyle(e);return"none"!==r.transform||/transform|perspective/.test(r.willChange)||"none"!==r.filter||"paint"===r.contain||"backdropFilter"in r&&"none"!==r.backdropFilter||"WebkitBackdropFilter"in r&&"none"!==r.WebkitBackdropFilter}const Zn=new WeakMap;let Gn="undefined"!=typeof document?window.visualViewport:null;function qn(e){let{direction:r}=Ua(),{arrowSize:t,targetRef:a,overlayRef:n,arrowRef:o,scrollRef:i=n,placement:l="bottom",containerPadding:u=12,shouldFlip:p=!0,boundaryElement:f=("undefined"!=typeof document?document.body:null),offset:g=0,crossOffset:h=0,shouldUpdatePosition:m=!0,isOpen:b=!0,onClose:C,maxHeight:y,arrowBoundaryOffset:w=0}=e,[x,E]=s(null),k=[m,l,n.current,a.current,null==o?void 0:o.current,i.current,u,p,f,g,h,b,r,y,w,t],L=c(null==Gn?void 0:Gn.scale);v(()=>{b&&(L.current=null==Gn?void 0:Gn.scale)},[b]);let I=d(()=>{if(!(!1!==m&&b&&n.current&&a.current&&f))return;if((null==Gn?void 0:Gn.scale)!==L.current)return;let e=null;if(i.current&&i.current.contains(document.activeElement)){var s;let r=null===(s=document.activeElement)||void 0===s?void 0:s.getBoundingClientRect(),t=i.current.getBoundingClientRect();var c,d;if(e={type:"top",offset:(null!==(c=null==r?void 0:r.top)&&void 0!==c?c:0)-t.top},e.offset>t.height/2)e.type="bottom",e.offset=(null!==(d=null==r?void 0:r.bottom)&&void 0!==d?d:0)-t.bottom}let v=n.current;var C,x;!y&&n.current&&(v.style.top="0px",v.style.bottom="",v.style.maxHeight=(null!==(x=null===(C=window.visualViewport)||void 0===C?void 0:C.height)&&void 0!==x?x:window.innerHeight)+"px");let k=Vn({placement:Xn(l,r),overlayNode:n.current,targetNode:a.current,scrollNode:i.current||n.current,padding:u,shouldFlip:p,boundaryElement:f,offset:g,crossOffset:h,maxHeight:y,arrowSize:null!=t?t:(null==o?void 0:o.current)?Hn(o.current,!0).width:0,arrowBoundaryOffset:w});if(k.position){if(v.style.top="",v.style.bottom="",v.style.left="",v.style.right="",Object.keys(k.position).forEach(e=>v.style[e]=k.position[e]+"px"),v.style.maxHeight=null!=k.maxHeight?k.maxHeight+"px":"",e&&document.activeElement&&i.current){let r=document.activeElement.getBoundingClientRect(),t=i.current.getBoundingClientRect(),a=r[e.type]-t[e.type];i.current.scrollTop+=a-e.offset}E(k)}},k);var S;sr(I,k),sr(()=>(window.addEventListener("resize",S,!1),()=>{window.removeEventListener("resize",S,!1)}),[S=I]),ct({ref:n,onResize:I}),ct({ref:a,onResize:I});let M=c(!1);sr(()=>{let e,r=()=>{M.current=!0,clearTimeout(e),e=setTimeout(()=>{M.current=!1},500),I()},t=()=>{M.current&&r()};return null==Gn||Gn.addEventListener("resize",r),null==Gn||Gn.addEventListener("scroll",t),()=>{null==Gn||Gn.removeEventListener("resize",r),null==Gn||Gn.removeEventListener("scroll",t)}},[I]);let T=d(()=>{M.current||null==C||C()},[C,M]);var _,P,A;return function(e){let{triggerRef:r,isOpen:t,onClose:a}=e;v(()=>{if(!t||null===a)return;let e=e=>{let t=e.target;if(!r.current||t instanceof Node&&!t.contains(r.current))return;if(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let n=a||Zn.get(r.current);n&&n()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[t,a,r])}({triggerRef:a,isOpen:b,onClose:C&&T}),{overlayProps:{style:{position:x?"absolute":"fixed",top:x?void 0:0,left:x?void 0:0,zIndex:1e5,...null==x?void 0:x.position,maxHeight:null!==(_=null==x?void 0:x.maxHeight)&&void 0!==_?_:"100vh"}},placement:null!==(P=null==x?void 0:x.placement)&&void 0!==P?P:null,triggerAnchorPoint:null!==(A=null==x?void 0:x.triggerAnchorPoint)&&void 0!==A?A:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==x?void 0:x.arrowOffsetLeft,top:null==x?void 0:x.arrowOffsetTop}},updatePosition:I}}function Xn(e,r){return"rtl"===r?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Kn=[];function Qn(e,r){let{onClose:t,shouldCloseOnBlur:a,isOpen:n,isDismissable:o=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:l}=e;v(()=>{if(n&&!Kn.includes(r))return Kn.push(r),()=>{let e=Kn.indexOf(r);e>=0&&Kn.splice(e,1)}},[n,r]);let s=()=>{Kn[Kn.length-1]===r&&t&&t()};!function(e){let{ref:r,onInteractOutside:t,isDisabled:a,onInteractOutsideStart:n}=e,o=c({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=st(e=>{t&&Ra(e,r)&&(n&&n(e),o.current.isPointerDown=!0)}),l=st(e=>{t&&t(e)});v(()=>{let e=o.current;if(a)return;const t=r.current,n=Ir(t);if("undefined"!=typeof PointerEvent){let t=t=>{e.isPointerDown&&Ra(t,r)&&l(t),e.isPointerDown=!1};return n.addEventListener("pointerdown",i,!0),n.addEventListener("click",t,!0),()=>{n.removeEventListener("pointerdown",i,!0),n.removeEventListener("click",t,!0)}}if("test"===process.env.NODE_ENV){let t=t=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&Ra(t,r)&&l(t),e.isPointerDown=!1},a=t=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&Ra(t,r)&&l(t),e.isPointerDown=!1};return n.addEventListener("mousedown",i,!0),n.addEventListener("mouseup",t,!0),n.addEventListener("touchstart",i,!0),n.addEventListener("touchend",a,!0),()=>{n.removeEventListener("mousedown",i,!0),n.removeEventListener("mouseup",t,!0),n.removeEventListener("touchstart",i,!0),n.removeEventListener("touchend",a,!0)}}},[r,a])}({ref:r,onInteractOutside:o&&n?e=>{l&&!l(e.target)||(Kn[Kn.length-1]===r&&(e.stopPropagation(),e.preventDefault()),s())}:void 0,onInteractOutsideStart:e=>{l&&!l(e.target)||Kn[Kn.length-1]===r&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:d}=Sa({isDisabled:!a,onBlurWithin:e=>{e.relatedTarget&&!en(e.relatedTarget,qa)&&(l&&!l(e.relatedTarget)||null==t||t())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||i||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),s())},...d},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}const Jn="undefined"!=typeof document&&window.visualViewport;let $n,eo=0;function ro(e={}){let{isDisabled:r}=e;sr(()=>{if(!r)return eo++,1===eo&&($n=Xr()?function(){let e,r=!1,t=t=>{let a=t.target;e=ut(a)?a:vt(a,!0),r=!1;let n=a.ownerDocument.defaultView.getSelection();n&&!n.isCollapsed&&n.containsNode(a,!0)&&(r=!0),"selectionStart"in a&&"selectionEnd"in a&&a.selectionStart<a.selectionEnd&&a.ownerDocument.activeElement===a&&(r=!0)},a=document.createElement("style");a.textContent="\n@layer {\n * {\n overscroll-behavior: contain;\n }\n}".trim(),document.head.prepend(a);let n=t=>{2===t.touches.length||r||(e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault():t.preventDefault())},o=e=>{let r=e.target,t=e.relatedTarget;if(t&&ft(t))t.focus({preventScroll:!0}),no(t,ft(r));else if(!t){var a;let e=null===(a=r.parentElement)||void 0===a?void 0:a.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},i=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let r=null!=document.activeElement&&ft(document.activeElement);i.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||no(this,r)};let l=Lr(ao(document,"touchstart",t,{passive:!1,capture:!0}),ao(document,"touchmove",n,{passive:!1,capture:!0}),ao(document,"blur",o,!0));return()=>{l(),a.remove(),HTMLElement.prototype.focus=i}}():function(){let e=window.innerWidth-document.documentElement.clientWidth;return Lr(e>0&&("scrollbarGutter"in document.documentElement.style?to(document.documentElement,"scrollbarGutter","stable"):to(document.documentElement,"paddingRight",`${e}px`)),to(document.documentElement,"overflow","hidden"))}()),()=>{eo--,0===eo&&$n()}},[r])}function to(e,r,t){let a=e.style[r];return e.style[r]=t,()=>{e.style[r]=a}}function ao(e,r,t,a){return e.addEventListener(r,t,a),()=>{e.removeEventListener(r,t,a)}}function no(e,r){r||!Jn?oo(e):Jn.addEventListener("resize",()=>oo(e),{once:!0})}function oo(e){let r=document.scrollingElement||document.documentElement,t=e;for(;t&&t!==r;){let e=vt(t);if(e!==document.documentElement&&e!==document.body&&e!==t){let r=e.getBoundingClientRect(),a=t.getBoundingClientRect();if(a.top<r.top||a.bottom>r.top+t.clientHeight){let t=r.bottom;Jn&&(t=Math.min(t,Jn.offsetTop+Jn.height));let n=a.top-r.top-((t-r.top)/2-a.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+n)),behavior:"smooth"})}}t=e.parentElement}}const io=f({});const lo="undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype;let so=new WeakMap,co=[];function uo(e,r){let t=Sr(null==e?void 0:e[0]),a=r instanceof t.Element?{root:r}:r;var n;let o=null!==(n=null==a?void 0:a.root)&&void 0!==n?n:document.body,i=(null==a?void 0:a.shouldUseInert)&&lo,l=new Set(e),s=new Set,c=(e,r)=>{i&&e instanceof t.HTMLElement?e.inert=r:r?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof t.HTMLElement&&(e.inert=!1))},d=e=>{for(let r of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))l.add(r);let r=e=>{if(s.has(e)||l.has(e)||e.parentElement&&s.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let r of l)if(e.contains(r))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r}),a=r(e);if(a===NodeFilter.FILTER_ACCEPT&&u(e),a!==NodeFilter.FILTER_REJECT){let e=t.nextNode();for(;null!=e;)u(e),e=t.nextNode()}},u=e=>{var r;let a=null!==(r=so.get(e))&&void 0!==r?r:0;var n;(n=e,(i&&n instanceof t.HTMLElement?n.inert:"true"===n.getAttribute("aria-hidden"))&&0===a)||(0===a&&c(e,!0),s.add(e),so.set(e,a+1))};co.length&&co[co.length-1].disconnect(),d(o);let v=new MutationObserver(e=>{for(let r of e)if("childList"===r.type&&![...l,...s].some(e=>e.contains(r.target)))for(let e of r.addedNodes)!(e instanceof HTMLElement||e instanceof SVGElement)||"true"!==e.dataset.liveAnnouncer&&"true"!==e.dataset.reactAriaTopLayer?e instanceof Element&&d(e):l.add(e)});v.observe(o,{childList:!0,subtree:!0});let p={visibleNodes:l,hiddenNodes:s,observe(){v.observe(o,{childList:!0,subtree:!0})},disconnect(){v.disconnect()}};return co.push(p),()=>{v.disconnect();for(let e of s){let r=so.get(e);null!=r&&(1===r?(c(e,!1),so.delete(e)):so.set(e,r-1))}p===co[co.length-1]?(co.pop(),co.length&&co[co.length-1].observe()):co.splice(co.indexOf(p),1)}}function vo(e,r){let{triggerRef:t,popoverRef:a,groupRef:n,isNonModal:o,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l,...s}=e,c="SubmenuTrigger"===s.trigger,{overlayProps:d,underlayProps:u}=Qn({isOpen:r.isOpen,onClose:r.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:l},null!=n?n:a),{overlayProps:p,arrowProps:f,placement:g,triggerAnchorPoint:h}=qn({...s,targetRef:t,overlayRef:a,isOpen:r.isOpen,onClose:o&&!c?r.close:null});return ro({isDisabled:o||!r.isOpen}),v(()=>{var e,t;if(r.isOpen&&a.current)return o?function(e){let r=co[co.length-1];if(r&&!r.visibleNodes.has(e))return r.visibleNodes.add(e),()=>{r.visibleNodes.delete(e)}}(null!==(e=null==n?void 0:n.current)&&void 0!==e?e:a.current):uo([null!==(t=null==n?void 0:n.current)&&void 0!==t?t:a.current],{shouldUseInert:!0})},[o,r.isOpen,a,n]),{popoverProps:Nr(d,p),arrowProps:f,underlayProps:u,placement:g,triggerAnchorPoint:h}}const po=n.createContext(null);function fo(e){let r=br(),{portalContainer:t=(r?null:document.body),isExiting:a}=e,[o,l]=s(!1),c=i(()=>({contain:o,setContain:l}),[o,l]),{getContainer:d}=null!==(v=u(io))&&void 0!==v?v:{};var v;if(!e.portalContainer&&d&&(t=d()),!t)return null;let p=e.children;return e.disableFocusManagement||(p=n.createElement(Xa,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!a},p)),p=n.createElement(po.Provider,{value:c},n.createElement(Ia,null,p)),y.createPortal(p,t)}var go="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};const ho=o(({children:r,className:t,borderRadius:a,disabled:n,expand:o,onHover:i,shadow:l,...s},d)=>{const u=c(null),v=d||u,{buttonProps:p}=Ya({...s,isDisabled:n??!1},v),{hoverProps:f}=Na({isDisabled:n??!1}),{isFocusVisible:g,focusProps:h}=vn();return e("button",{ref:v,className:ke(xe({_active:{transform:"scale(0.95)"},_disabled:{opacity:"0.8",pointerEvents:"none"},cursor:"pointer",h:"auto",outline:"none",position:"relative",transition:"all 0.1s ease",willChange:"transform, opacity",...o?{w:"full"}:{},...l?{_before:{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,borderRadius:"inherit",backgroundImage:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05))",_dark:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))"},opacity:0,transition:"opacity 0.1s ease"},_hover:{_before:{opacity:1}}}:{}}),g&&xe({outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}),t),style:{borderRadius:a??lr("radii.button")},...Nr(p,f,h),"aria-disabled":n,onMouseEnter:i,onTouchStart:i,children:e(Xe,{children:r})})});ho.displayName="ButtonContainer";const mo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0164 14.1589C18.3279 12.9836 18.3279 11.0163 17.0164 9.84113L9.66738 3.25527C9.25608 2.88669 8.62386 2.92132 8.25528 3.33261C7.8867 3.74391 7.92132 4.37613 8.33262 4.74471L15.6817 11.3306C16.1061 11.7109 16.1061 12.2891 15.6817 12.6694L8.33262 19.2553C7.92132 19.6239 7.8867 20.2561 8.25528 20.6674C8.62386 21.0787 9.25608 21.1133 9.66738 20.7447L17.0164 14.1589Z",fill:"currentColor"})]})},bo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7069 5.70735C20.0974 5.31683 20.0974 4.68366 19.7069 4.29314C19.3163 3.90261 18.6832 3.90261 18.2926 4.29314L12 10.5858L5.70735 4.29314C5.31682 3.90261 4.68366 3.90261 4.29314 4.29314C3.90261 4.68366 3.90261 5.31683 4.29314 5.70735L10.5858 12L4.29295 18.2928C3.90242 18.6834 3.90242 19.3165 4.29295 19.7071C4.68347 20.0976 5.31664 20.0976 5.70716 19.7071L12 13.4142L18.2928 19.7071C18.6834 20.0976 19.3165 20.0976 19.707 19.7071C20.0976 19.3165 20.0976 18.6834 19.707 18.2928L13.4142 12L19.7069 5.70735Z",fill:"currentColor"})]})},Co=Me({slots:["container","label","description","icon","button","focus"],base:{container:{px:4,py:3,rounded:10,w:"full"},button:{cursor:"pointer",outline:"none",_focusVisible:{outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5,rounded:2}},label:{textAlign:"left"}},variants:{size:{sm:{label:{fontSize:"sm"}},md:{label:{fontSize:"md"}},lg:{label:{fontSize:"lg"}}},variant:{branded:{container:{bg:"brand.lightest",_focusVisible:{outlineColor:"brand.lightest"}},label:{color:"brand.darkest"},description:{color:"brand.darkest"},icon:{color:"brand.darkest"},button:{color:"brand.darkest"}},success:{container:{bg:"positive.lightest",_focusVisible:{outlineColor:"positive.lightest"}},label:{color:"positive.darkest"},description:{color:"positive.darkest"},icon:{color:"positive.darkest"},button:{color:"positive.darkest"}},error:{container:{bg:"negative.lightest",_focusVisible:{outlineColor:"negative.lightest"}},label:{color:"negative.darkest",_dark:{color:"negative.base"}},description:{color:"negative.darkest",_dark:{color:"negative.base"}},icon:{color:"negative.darkest",_dark:{color:"negative.base"}},button:{color:"negative.darkest",_dark:{color:"negative.base"}}},warning:{container:{bg:"warning.lightest",_focusVisible:{outlineColor:"warning.lightest"}},label:{color:"warning.darkest"},description:{color:"warning.darkest"},icon:{color:"warning.darkest"},button:{color:"warning.darkest"}},neutral:{container:{bg:"surface.secondary",_focusVisible:{outlineColor:"surface.secondary"}},label:{color:"text.secondary"},description:{color:"text.secondary"},icon:{color:"text.secondary"},button:{color:"text.secondary"}}},icon:{true:{description:{ml:7}}},dismissible:{true:{description:{mr:7}}},interactive:{true:{container:{cursor:"pointer",transition:"transform 0.2s ease, opacity 0.2s ease",_active:{transform:"scale(0.95)"},_hover:{opacity:.8},_focusVisible:{outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}}}},description:{true:{label:{textTransform:"uppercase",fontSize:"xs",fontWeight:"semibold",letterSpacing:"0.06rem"}}},isDismissed:{true:{container:{animationFillMode:"forwards",animationName:"scaleOut",animationDuration:"150ms",_motionReduce:{scale:1}}}}}}),yo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM17.7731 8.63425C18.1234 8.20725 18.0612 7.57715 17.6342 7.22688C17.2072 6.87661 16.5771 6.93881 16.2268 7.36581L10.4197 14.445L7.75841 11.3483C7.39844 10.9294 6.76708 10.8817 6.34822 11.2416C5.92936 11.6016 5.88161 12.233 6.24157 12.6518L9.67907 16.6518C9.87165 16.8759 10.1535 17.0033 10.4489 17C10.7444 16.9966 11.0232 16.8627 11.2106 16.6343L17.7731 8.63425Z",fill:"currentColor"})]})},wo={branded:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2628 0.239095C7.79128 -1.14294 1.99999 3.65189 1.99999 9.83699C1.99999 13.2747 4.14256 16.424 6.77979 18.1918V18.9377C6.77979 18.9839 6.77854 19.0279 6.77689 19.0861L6.77576 19.1265C6.77382 19.197 6.77152 19.2924 6.7751 19.3913C6.78188 19.579 6.81104 19.8992 7.00168 20.2136C7.4269 20.9149 8.24323 21.005 8.87914 20.9998H15.1605C15.9708 20.9998 16.6864 20.7352 17.0486 20.0545C17.2016 19.7671 17.2421 19.4859 17.2542 19.294C17.2604 19.1958 17.2597 19.1085 17.2585 19.0454C17.2576 19.003 17.2569 18.9807 17.2564 18.9653C17.2559 18.9499 17.2557 18.9413 17.2557 18.9265V18.1804C21.0065 15.6598 23.5296 10.3805 20.9575 5.31469C19.6385 2.71676 17.1206 0.858741 14.2659 0.239749L14.2628 0.239095ZM12.599 6.19416C13.0441 6.52115 13.1399 7.14703 12.8129 7.59211L11.4112 9.50004H13.0859C13.6185 9.50004 14.3124 9.64028 14.7256 10.209C15.215 10.8828 14.9729 11.6331 14.6277 12.0985L12.8155 14.5885C12.4905 15.035 11.8651 15.1336 11.4185 14.8086C10.972 14.4836 10.8735 13.8581 11.1984 13.4116L12.5897 11.5H10.9109C10.3791 11.5 9.69468 11.356 9.28221 10.7972C8.79008 10.1305 9.01522 9.37741 9.37068 8.89946L11.2011 6.40799C11.5281 5.96291 12.154 5.86717 12.599 6.19416ZM13.033 10.89C13.033 10.89 13.0326 10.8907 13.0317 10.8921L13.033 10.89ZM10.9656 10.1074C10.9656 10.1074 10.9658 10.1071 10.9661 10.1065L10.9668 10.1055L10.9656 10.1074ZM8.49998 22C7.9477 22 7.49998 22.4477 7.49998 23C7.49998 23.5523 7.9477 24 8.49998 24H15.5C16.0522 24 16.5 23.5523 16.5 23C16.5 22.4477 16.0522 22 15.5 22H8.49998Z",fill:"currentColor"})]})},success:yo,error:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 4.69686e-07 18.6274 1.04907e-06 12C1.62846e-06 5.37258 5.37259 -1.62846e-06 12 -1.04907e-06C18.6274 -4.69686e-07 24 5.37258 24 12ZM13.5 17C13.5 17.8284 12.8284 18.5 12 18.5L11.991 18.5C11.1626 18.5 10.491 17.8284 10.491 17C10.491 16.1716 11.1626 15.5 11.991 15.5L12 15.5C12.8284 15.5 13.5 16.1716 13.5 17ZM11.9946 13C11.4423 13 10.9946 12.5523 10.9946 12L10.9946 6C10.9946 5.44771 11.4423 5 11.9946 5C12.5469 5 12.9946 5.44771 12.9946 6L12.9946 12C12.9946 12.5523 12.5469 13 11.9946 13Z",fill:"currentColor"})]})},warning:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.36635 3.74008C10.5034 1.65549 13.4967 1.65548 14.6337 3.74008L23.2646 19.5634C24.355 21.5626 22.9081 24 20.6309 24H3.36909C1.09191 24 -0.355028 21.5625 0.735407 19.5634L9.36635 3.74008L10.2442 4.21893L9.36635 3.74008ZM12 9C12.5523 9 13 9.44772 13 10V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V10C11 9.44772 11.4477 9 12 9ZM10.4946 19C10.4946 18.1716 11.1662 17.5 11.9946 17.5H12.0036C12.832 17.5 13.5036 18.1716 13.5036 19C13.5036 19.8284 12.832 20.5 12.0036 20.5H11.9946C11.1662 20.5 10.4946 19.8284 10.4946 19Z",fill:"currentColor"})]})},neutral:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM10.5 7C10.5 6.17157 11.1716 5.5 12 5.5H12.009C12.8374 5.5 13.509 6.17157 13.509 7C13.509 7.82843 12.8374 8.5 12.009 8.5H12C11.1716 8.5 10.5 7.82843 10.5 7ZM12.0054 11C12.5577 11 13.0054 11.4477 13.0054 12V18C13.0054 18.5523 12.5577 19 12.0054 19C11.4531 19 11.0054 18.5523 11.0054 18V12C11.0054 11.4477 11.4531 11 12.0054 11Z",fill:"currentColor"})]})}},xo=r=>{const{variant:t="branded",...a}=r;return e(Qe,{children:e(wo[t],{...a})})},Eo=o((t,a)=>{const{label:n,description:o,size:i="md",variant:l="branded",icon:d=!1,dismissible:u=!1,onPress:v}=t,[p,f]=s(!0),[g,h]=s(!1),m={sm:lr("spacing.4"),md:lr("spacing.5"),lg:lr("spacing.6")},b=o?m.sm:m[i],C=Co({size:i,variant:l,icon:d,description:!!o,isDismissed:g,dismissible:u,interactive:!!v}),y=()=>{h(!0)},w=c(null),x=a||w,{buttonProps:E}=Ya({onPress:v},x),k=()=>r(Qe,{className:v?"":C.container,onAnimationEnd:()=>f(!1),ref:x,children:[r(Xe,{alignItems:"flex-start",gap:1.5,children:[r(Qe,{w:"full",justifyContent:"space-between",children:[r(Qe,{alignItems:"center",children:[d&&e(xo,{variant:l,className:C.icon,width:b,height:b}),e("p",{className:C.label,children:n})]}),u&&e("button",{className:C.button,onClick:y,"aria-label":"dismiss callout",children:e(bo,{className:C.button,width:m.sm,height:m.sm})})]}),!!o&&e("p",{className:C.description,children:o})]}),!!v&&e(mo,{className:C.button,width:m.sm,height:m.sm})]});return p?v?e("button",{...E,className:C.container,children:e(k,{})}):e(k,{}):null});Eo.displayName="Callout";const ko=({inverted:t,neutral:a,progress:n=30,size:o=64,strokeWidth:i=6})=>{const l=o/2,s=Math.abs(n)/100,c=2*Math.PI*l,d=t?"surface.primary":a?"text.primary":"brand.base";return e(ar,{inline:!0,children:r("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,fill:"none",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("circle",{className:xe({stroke:d,strokeOpacity:.12}),cx:"50%",cy:"50%",r:l-i/2,strokeLinecap:"round",strokeWidth:i}),e("circle",{className:xe({animation:"spin 1s linear infinite",stroke:d,transformOrigin:"center center"}),cx:"50%",cy:"50%",r:l-i/2,strokeDasharray:c,strokeDashoffset:c-c*s+4*i,strokeLinecap:"round",strokeWidth:i})]})})};lr("colors.brand.lighter"),lr("colors.negative.lighter"),lr("colors.neutral.secondary"),lr("colors.positive.lighter"),lr("colors.warning.lighter");const Lo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6449 4.23573C22.067 4.59188 22.1205 5.22279 21.7643 5.64489L9.9518 19.6449C9.76439 19.867 9.48962 19.9966 9.19902 20C8.90842 20.0033 8.63074 19.8801 8.43826 19.6623L2.25076 12.6623C1.88499 12.2485 1.92393 11.6166 2.33773 11.2508C2.75152 10.885 3.38349 10.924 3.74926 11.3378L9.16991 17.4702L20.2357 4.35515C20.5919 3.93304 21.2228 3.87958 21.6449 4.23573Z",fill:"currentColor"})]})},Io=Ie({base:{textWrap:"wrap"},variants:{mono:{false:{},true:{}},scale:{false:{},true:{}},variant:{text:{color:"text.primary"},error:{color:"negative.darker"},info:{color:"brand.base"},success:{color:"positive.base"},warning:{color:"warning.base"}},size:{xs:{textStyle:"body-xs"},sm:{textStyle:"body-sm"},md:{textStyle:"body-md"},lg:{textStyle:"body-lg"}}},compoundVariants:[{scale:!0,size:"sm",css:{textStyle:"body-sm-scaled"}},{scale:!0,size:"md",css:{textStyle:"body-md-scaled"}},{scale:!0,size:"lg",css:{textStyle:"body-lg-scaled"}},{mono:!0,size:"sm",css:{textStyle:"mono-sm"}},{mono:!0,size:"md",css:{textStyle:"mono-md"}},{mono:!0,size:"lg",css:{textStyle:"mono-lg"}}],defaultVariants:{mono:!1,variant:"text",size:"md"}}),So="text.primary",Mo=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h1",{ref:i,className:xe({textStyle:a?"h1-scaled":"h1",color:n,...o}),style:t,children:r})),To=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h2",{ref:i,className:xe({textStyle:a?"h2-scaled":"h2",color:n,...o}),style:t,children:r})),_o=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h3",{ref:i,className:xe({textStyle:a?"h3-scaled":"h3",color:n,...o}),style:t,children:r})),Po=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h4",{ref:i,className:xe({textStyle:a?"h4-scaled":"h4",color:n,...o}),style:t,children:r})),Ao=o(({children:r,styles:t={},scale:a,fontColor:n=So,...o},i)=>e("h5",{ref:i,className:xe({textStyle:a?"h5-scaled":"h5",color:n,...o}),style:t,children:r})),No=o(({children:r,styles:t={},scale:a,fontColor:n="text.secondary",...o},i)=>e("h6",{ref:i,className:xe({textStyle:a?"h6-scaled":"h6",color:n,...o}),style:t,children:r})),Ro=o(({children:r,styles:t={},scale:a,inline:n=!1,mono:o=!1,variant:i="text",size:l="md",truncate:s=!1,fontWeight:c,fontColor:d,...u},v)=>{const p={ref:v,className:ke(Io({mono:o,variant:i,size:l,scale:a}),xe({truncate:s,fontWeight:c??("text"!==i?"medium":"normal"),color:d,...u})),style:t};return e(n?"span":"p",{...p,children:r})}),Oo=o((r,t)=>e(Ro,{ref:t,mono:!0,...r})),Do=Object.assign(Ro,{H1:Mo,H2:To,H3:_o,H4:Po,H5:Ao,H6:No,Mono:Oo});Ro.displayName="Text",Mo.displayName="Text.H1",To.displayName="Text.H2",_o.displayName="Text.H3",Po.displayName="Text.H4",Ao.displayName="Text.H5",No.displayName="Text.H6",Oo.displayName="Text.Mono";const Fo=({isSelected:e,onChange:r,defaultSelected:t=!1})=>{const[a,n]=s(t),o=void 0!==e,i=o?e:a,l=e=>{o||n(e),r&&r(e)};return v(()=>{o&&n(e)},[e]),{isSelected:i,setSelected:l,toggle:()=>l(!i)}},jo=o((t,a)=>{const{label:n,indeterminate:o=!1,disabled:i=!1,checked:l,"aria-label":s,...d}=t,u=Fo({...t,isSelected:l}),p=c(null),f=a||p;v(()=>{const e="current"in f?f.current:null;e&&(e.indeterminate=!!o)},[o,f]);const{inputProps:g}=kn({...d,"aria-label":n||s||"Checkbox",isDisabled:i,isIndeterminate:o},u,f),{isFocusVisible:h,focusProps:m}=vn();return r("label",{className:xe({display:"flex",alignItems:"center",rounded:"sm",opacity:i?.3:1}),children:[e(Sn,{children:e("input",{...Nr(g,m),ref:f})}),e("div",{className:xe({display:"flex",alignItems:"center",justifyContent:"center",width:5,height:5,bg:u.isSelected?"brand.base":"transparent",borderWidth:"thick",borderColor:u.isSelected||h?"brand.base":"text.tertiary",transition:"background-color 0.2s ease, border-color 0.2s ease",_hover:{cursor:"pointer",borderColor:"brand.base"},pointerEvents:i?"none":"auto",rounded:"sm",boxSizing:"border-box",outlineColor:h?"brand.base":"transparent",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}),children:r("span",{children:[u.isSelected&&!o&&e(Lo,{height:16,width:16,color:lr("colors.surface.primary")}),u.isSelected&&!!o&&e(We,{justifyContent:"center",alignItems:"center",children:e("div",{className:xe({w:2.5,h:.5,bg:"surface.primary"})})})]})}),n&&e(ze,{ml:3,children:e(Do,{fontWeight:"medium",styles:{lineHeight:1},children:n})})]})});jo.displayName="Checkbox";const zo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.84115 16.0164C11.0164 17.3279 12.9837 17.3279 14.1589 16.0164L20.7447 8.66738C21.1133 8.25608 21.0787 7.62386 20.6674 7.25528C20.2561 6.8867 19.6239 6.92132 19.2553 7.33262L12.6694 14.6817C12.2891 15.1061 11.7109 15.1061 11.3306 14.6817L4.74473 7.33262C4.37614 6.92132 3.74393 6.8867 3.33263 7.25528C2.92133 7.62386 2.88671 8.25608 3.25529 8.66738L9.84115 16.0164Z",fill:"currentColor"})]})},Bo=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM12.0248 7C10.9095 7 10 7.9061 10 9V9.5C10 10.0523 9.55228 10.5 9 10.5C8.44771 10.5 8 10.0523 8 9.5V9C8 6.78019 9.82639 5 12.0248 5C14.1982 5 16 6.76512 16 8.95565C16 10.8064 14.7234 12.3651 13 12.7883V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V11.9605C11 11.3757 11.4741 10.9016 12.0588 10.9016C13.1288 10.9016 14 10.0299 14 8.95565C14 7.8868 13.1108 7 12.0248 7ZM10.75 18C10.75 17.3096 11.3096 16.75 12 16.75H12.009C12.6993 16.75 13.259 17.3096 13.259 18C13.259 18.6904 12.6993 19.25 12.009 19.25H12C11.3096 19.25 10.75 18.6904 10.75 18Z",fill:"currentColor"})]})},Vo=f({selectedValue:void 0,setSelectedValue:()=>{}}),Ho=o((t,a)=>{const{label:n,value:o}=t,i=u(Vo),l=c(null),s=a||l,v=d(()=>{i.setSelectedValue(o)},[i,o]),{hoverProps:p}=Na({}),{focusProps:f,isFocusVisible:g}=vn(),{pressProps:h}=Gt({onPress:v}),m=i.selectedValue===o,b=m?0:-1;return r("label",{className:He({alignItems:"center"}),children:[e(Sn,{children:e("input",{...Nr(h,f,p),ref:s,type:"radio",checked:m,tabIndex:b,readOnly:!0})}),e(We,{justifyContent:"center",alignItems:"center",borderWidth:"thick",borderColor:g||m?"brand.base":"text.tertiary",transition:"border-color 0.2s ease",outlineColor:"brand.base",outlineStyle:g?"solid":"none",outlineWidth:"thick",outlineOffset:.5,_hover:{borderColor:"brand.base"},cursor:"pointer",w:6,h:6,rounded:"full","aria-hidden":"true",children:m&&e(rr,{size:3,bg:"brand.base"})}),e(ze,{ml:3,children:e(Do,{size:"lg",fontWeight:"medium",children:n})})]})});Ho.displayName="Radio";var Wo=typeof window>"u"?a.useEffect:a.useLayoutEffect,Uo=["$$typeof","render","displayName","defaultProps"],Yo="slots-wrapper",Zo=new RegExp(`^<${Yo}>.*</${Yo}>$`),Go=({name:e,forceUpdate:r,children:t})=>{let n=a.useRef(null),o=a.useRef(!1);return Wo(()=>{var t;if(!o.current&&(null==(t=n.current)?void 0:t.innerHTML)){let r=n.current.innerHTML;r&&!Zo.test(r)&&console.warn(`Unwrapped children found in "${e}", either wrap them in slots or remove`)}o.current=!0,r()},[e]),o.current?a.createElement(a.Fragment,null,t):a.createElement(Yo,{ref:n},t)},qo=(e=>{let r=a.createContext(e);return r.displayName="SlotsContext",r})(void 0),Xo=({children:e})=>e(),Ko=({children:e,callback:r})=>{let t=a.useReducer(()=>[],[])[1],n=a.useMemo(()=>(e=>{let r=new Map;return{register(e,t){r.set(e,t)},update(t,a){r.set(t,a),e(t)},unmount(t){r.delete(t),e(t)},get:e=>r.get(e),getProps(e){let t=r.get(e);if(!t)return;let{ref:a,props:n}=t;return a?{...n,ref:a}:n}}})(t),[t]);return a.createElement(a.Fragment,null,a.createElement(qo.Provider,{value:n},"production"===process.env.NODE_ENV?e:a.createElement(Go,{name:"HostSlots",forceUpdate:t},e)),a.createElement(Xo,null,()=>r(n)))},Qo=(e,r)=>a.createElement(Ko,{children:e,callback:r}),Jo=e=>{let r=(r,n)=>{let o=a.useContext(qo);if(!o)return e?a.createElement(e,{ref:n,...r}):null;let i=a.createElement(t,{ref:n,...r});return a.useState(()=>o.register(t,i)),a.useEffect(()=>o.update(t,i)),a.useEffect(()=>()=>o.unmount(t),[o]),null};r.displayName=e?`Slot(${(e=>"string"==typeof e?e:e.displayName||e.name||"Component")(e)})`:"Slot";let t=a.forwardRef(r);return e?((e,r)=>{if("string"==typeof r)return e;let t=Object.getOwnPropertyNames(r).reduce((e,t)=>(Uo.includes(t)||(e[t]=r[t]),e),{});return Object.assign(e,t)})(t,e):t};const $o=f({currentTab:void 0,setCurrentTab:()=>{},tabRefs:{current:{}},disabled:!1}),ei=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>h(e,t))})),ri=o((t,a)=>{const{label:n,id:o}=t,{currentTab:i,setCurrentTab:l,tabRefs:s,size:p,disabled:f}=u($o),g=i===o,h="sm"===p?8:"md"===p?10:13,m="sm"===p?16:20,b=c(null),C=a||b;v(()=>{"object"==typeof C&&s.current&&(s.current[o]=C.current)},[o]);const y=d(()=>{l(o)},[l,o]),{buttonProps:w,isPressed:x}=Ya({onPress:y,isDisabled:f},C),{hoverProps:E}=Na({}),{isFocusVisible:k,focusProps:L}=vn();return Qo(t.children,t=>{const a=t.get(ei);return e("button",{className:xe({display:"flex",justifyContent:"center",alignItems:"center",h:h,w:"full",rounded:"button",zIndex:0,cursor:"pointer",color:g?"text.primary":"text.secondary",fontSize:p,fontWeight:"semibold",whiteSpace:"nowrap",bg:"transparent",outlineColor:k?"brand.base":"transparent",outlineStyle:"solid",outlineWidth:"thick",transition:g?"background 0s":"background 0.2s ease",_disabled:{opacity:"0.3",pointerEvents:"none"},_hover:{bg:g?"transparent":"ink.20",_dark:{bg:g?"transparent":"slate.1"}}}),ref:C,...Nr(w,E,L),disabled:f,children:r(We,{opacity:x&&!g?.5:1,align:"center",justify:"center",children:[a&&{...a,props:{...a.props,className:xe({mr:1,color:g?"text.primary":"text.secondary"}),width:m,height:m}},n]})})})});Object.assign(ri,{Icon:ei}),ri.displayName="Tab";const ti=o((t,a)=>{const{checked:n,disabled:o=!1,label:i,className:l,...s}=t,d=c(null),u=a||d,v=Fo({...t,isSelected:n}),{buttonProps:p}=function(e,r,t){const{isSelected:a}=r,{isPressed:n,buttonProps:o}=Ya({...e,onPress:Lr(r.toggle,e.onPress)},t);return{isPressed:n,isSelected:a,isDisabled:e.isDisabled||!1,buttonProps:Nr(o,{"aria-pressed":a})}}({...s,isDisabled:o},v,u),{isFocusVisible:f,focusProps:g}=vn();return r(We,{alignItems:"center",children:[i&&e(ze,{mr:2,children:e(Do,{fontWeight:"medium",styles:{lineHeight:1},children:i})}),e("button",{...Nr(p,g),className:ke(xe({px:.5,h:5,width:11,_disabled:{opacity:.3,pointerEvents:"none"},bg:v.isSelected?"brand.base":"neutral.primary",_hover:{bg:v.isSelected?"brand.base":"ink.70",_dark:{bg:v.isSelected?"brand.base":"slate.4"}},transition:"background-color 0.2s ease",rounded:"full",outlineColor:f?"brand.base":"transparent",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5,cursor:"pointer"}),l),children:e("span",{className:er({h:4,w:4,bg:"paper",position:"relative",left:v.isSelected?6:0,transition:"left 0.2s ease"})})})]})});ti.displayName="Switch";const ai="hover",ni=Jo(({children:r})=>e(t,{children:r})),oi=Jo(({children:r,...t})=>{const{onPress:a,...n}=t;return e(ar,{children:g.map(r,e=>h(e,n))})}),ii=Jo(r=>e(bi.LeadingIcon,{...r})),li=Jo(r=>e(bi.TrailingIcon,{...r})),si=Object.assign(({children:a,...n})=>Qo(a,a=>{var o;const{isOpen:l,defaultOpen:s,onOpenChange:u,trigger:p=ai,iconSize:f,onPress:g,...h}=n,{isSelected:m,setSelected:b}=Fo({defaultSelected:s,onChange:u,...n}),C=void 0!==l?l:m,y=24,w=i(()=>({isOpen:C,open:()=>{b(!0)},close:()=>{b(!1)},setOpen(e){b(e)},toggle(){}}),[C]),x=a.getProps(ni),E=c(null),{triggerProps:k,overlayProps:L}=function(e,r,t){let a,{isOpen:n}=r;v(()=>{t&&t.current&&Zn.set(t.current,r.close)});let o=xr();return{triggerProps:{"aria-haspopup":a,"aria-expanded":n,"aria-controls":n?o:void 0,onPress:r.toggle},overlayProps:{id:o}}}(0,w,E),I=c(null),{popoverProps:S,underlayProps:M}=vo({placement:n.placement||"bottom left",offset:8,popoverRef:I,triggerRef:E,...x},w),T=Nr(x,S);null!==(o=T?.style)&&void 0!==o&&o.zIndex&&(T.style.zIndex=lr("zIndex.max"));const{className:_,...P}=T,A=d(()=>{w.open()},[w]),N=d(e=>{var r,t;const a=null===(r=E.current)||void 0===r?void 0:r.getBoundingClientRect(),n=null===(t=I.current)||void 0===t?void 0:t.getBoundingClientRect();if(a&&n){const r=e.clientX>=a.left-y&&e.clientX<=a.right+y&&e.clientY>=a.top-y&&e.clientY<=a.bottom+y,t=e.clientX>=n.left-y&&e.clientX<=n.right+y&&e.clientY>=n.top-y&&e.clientY<=n.bottom+y;!r&&!t&&w.close()}},[w]),R=()=>{if(I.current){const e=I.current.querySelectorAll('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');e.length>0&&e[0].focus()}};v(()=>(document.addEventListener("mousemove",N),()=>{document.removeEventListener("mousemove",N)}),[N]);const O=a.get(oi),D=a.getProps(ii),F=a.getProps(li),j=f?{height:f,width:f}:{};return r(t,{children:[e(ze,O?{display:"inline-block",ref:E,...h,children:O&&{...O,props:{...O.props,...k}}}:{display:"inline-block",ref:E,children:r(bi,{...Nr(k,h),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),l?w.close():(w.open(),setTimeout(R,0)))},onHover:()=>"hover"===p&&A(),onPress:()=>"click"===p&&A(),children:[D&&e(bi.LeadingIcon,{...D,...j}),F&&e(bi.TrailingIcon,{...F,...j})]})}),C&&r(fo,{...L,children:[e("div",{...M,className:"underlay"}),e("div",{ref:I,...P,className:ke(qe({bg:"surface.secondary",p:3,gap:0,color:"text.secondary",borderWidth:1,borderColor:"neutral.secondary",borderRadius:"xl",boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.10)",maxW:52,alignItems:"start"}),_),children:a.get(ni)})]})]})}),{Trigger:oi,LeadingIcon:ii,TrailingIcon:li,Content:ni}),ci=o((r,t)=>{var a;const{container:n,...o}=r,[i,l]=s(!1);m(()=>l(!0),[]);const c=n||i&&(null===(a=globalThis?.document)||void 0===a?void 0:a.body);return c?y.createPortal(e("div",{...o,ref:t}),c):null});ci.displayName="Portal";const di=e=>()=>{throw new Error("TOAST_PROVIDER_REQUIRED",{cause:`Before calling \`${e}\`, wrap your application with \`<ToastProvider>\`.`})};f({createToast:di("createToast"),removeToast:di("removeToast")}),Me({slots:["container","portal","toast","icon","dismiss"],base:{portal:{boxSizing:"border-box",position:"fixed",zIndex:"max",top:0,left:0,height:"100vh",width:"100vw",pointerEvents:"none"},container:{height:"full",width:"full",p:"20px"},toast:{py:2,px:4,rounded:10,boxShadow:"4px 8px 20px 0px rgba(0, 0, 0, 0.15)"},dismiss:{cursor:"pointer",pointerEvents:"all"},icon:{color:"surface.primary",height:"1rem",width:"1rem"}},variants:{variant:{branded:{toast:{backgroundColor:"brand.base"}},success:{toast:{backgroundColor:"positive.darker"}},warning:{toast:{backgroundColor:"warning.darker"}},error:{toast:{backgroundColor:"negative.darker"}},neutral:{toast:{backgroundColor:"text.tertiary",_dark:{backgroundColor:"text.secondary"}}}},position:{top:{container:{alignItems:"center",justifyContent:"flex-start"}},"top-left":{container:{alignItems:"flex-start",justifyContent:"flex-start"}},"top-right":{container:{alignItems:"flex-end",justifyContent:"flex-start"}},bottom:{container:{alignItems:"center",justifyContent:"flex-end"}},"bottom-left":{container:{alignItems:"flex-start",justifyContent:"flex-end"}},"bottom-right":{container:{alignItems:"flex-end",justifyContent:"flex-end"}}}},defaultVariants:{position:"top-right",variant:"branded"}});const ui=Me({slots:["trigger","content","spacer"],base:{trigger:{position:"relative",w:"auto"},content:{w:"max",maxW:72,color:"text.secondary",bg:"surface.primary",borderColor:"neutral.secondary",borderWidth:"thin",_dark:{bg:"surface.tertiary"},position:"absolute",py:2,px:3,rounded:"xl",boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.10)",zIndex:"max",display:"none"},spacer:{position:"absolute"}},variants:{expand:{true:{trigger:{w:"full"}}},isOpen:{true:{content:{display:"block"}}},placement:{top:{content:{top:"0%",left:"50%",transform:"translateX(-50%) translateY(calc(-100% - 0.75rem))"}},"top left":{content:{top:"0%",right:"100%",transform:"translateX(10%) translateY(calc(-100% - 0.75rem))"}},"top right":{content:{top:"0%",left:"100%",transform:"translateX(-10%) translateY(calc(-100% - 0.75rem))"}},left:{content:{top:"50%",left:"0%",transform:"translateX(calc(-100% - 0.75rem)) translateY(-50%)"}},"left top":{content:{top:"50%",left:"0%",transform:"translateX(calc(-100% - 0.75rem)) translateY(-75%)"}},"left bottom":{content:{top:"50%",left:"0%",transform:"translateX(calc(-100% - 0.75rem)) translateY(-25%)"}},right:{content:{top:"50%",right:"0%",transform:"translateX(calc(100% + 0.75rem)) translateY(-50%)"}},"right top":{content:{top:"50%",right:"0%",transform:"translateX(calc(100% + 0.75rem)) translateY(-75%)"}},"right bottom":{content:{top:"50%",right:"0%",transform:"translateX(calc(100% + 0.75rem)) translateY(-25%)"}},bottom:{content:{bottom:"0%",left:"50%",transform:"translateX(-50%) translateY(calc(100% + 0.75rem))"}},"bottom left":{content:{bottom:"0%",right:"100%",transform:"translateX(10%) translateY(calc(100% + 0.75rem))"}},"bottom right":{content:{bottom:"0%",left:"100%",transform:"translateX(-10%) translateY(calc(100% + 0.75rem))"}}},position:{top:{spacer:{width:72,height:4,bottom:0,left:"50%",transform:"translateX(-50%) translateY(0.75rem)"}},bottom:{spacer:{width:72,height:4,top:0,left:"50%",transform:"translateX(-50%) translateY(-0.75rem)"}},left:{spacer:{width:4,height:48,top:"50%",right:-6,transform:"translateX(-0.75rem) translateY(-50%)"}},right:{spacer:{width:4,height:48,top:"50%",left:-6,transform:"translateX(0.75rem) translateY(-50%)"}}}}}),vi=o((t,a)=>{const n="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.maxTouchPoints>0,{children:o,content:l,width:d=288,closeDelay:u=2500,defaultOpen:p,placement:f="top",expand:g=!1,...b}=t,[C,y]=s(!1),{isSelected:w,setSelected:x}=Fo({isOpen:t.isOpen,defaultSelected:p,onChange(e){e||y(!1)},...t}),E=i(()=>({isOpen:w,open:()=>{x(!0)},close:e=>{e||n?x(!1):(C&&setTimeout(()=>{x(!1),y(!1)},u),C||x(!1))}}),[w,C]),k=c(null),{triggerProps:L,tooltipProps:I}=function(e,r,t){let{isDisabled:a,trigger:n,shouldCloseOnPress:o=!0}=e,i=xr(),l=c(!1),s=c(!1),d=()=>{(l.current||s.current)&&r.open(s.current)},u=e=>{l.current||s.current||r.close(e)};v(()=>{let e=e=>{t&&t.current&&"Escape"===e.key&&(e.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[t,r]);let p=()=>{o&&(s.current=!1,l.current=!1,u(!0))},{hoverProps:f}=Na({isDisabled:a,onHoverStart:()=>{"focus"!==n&&("pointer"===ba()?l.current=!0:l.current=!1,d())},onHoverEnd:()=>{"focus"!==n&&(s.current=!1,l.current=!1,u())}}),{focusableProps:g}=La({isDisabled:a,onFocus:()=>{ma()&&(s.current=!0,d())},onBlur:()=>{s.current=!1,l.current=!1,u(!0)}},t);return{triggerProps:{"aria-describedby":r.isOpen?i:void 0,...Nr(g,f,{onPointerDown:p,onKeyDown:p}),tabIndex:void 0},tooltipProps:{id:i}}}(t,E,k);L.onClick=()=>{E.open(),y(!0)};const S=function(e){const r=c(null),t=c(e);return m(()=>{t.current=e}),v(()=>{const e=e=>{const a=r.current;a&&!a.contains(e.target)&&t.current(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[]),r}(()=>{E.close(!0)}),M=f.split(" ")[0],T=ui({expand:g,isOpen:E.isOpen,placement:f,position:M});return r(ze,{ref:S,className:T.trigger,onMouseLeave:()=>{E.close()},onFocus:()=>{E.open()},onBlur:()=>{E.close()},children:[h(o,{...L,tabIndex:0}),r(ze,{ref:a,"aria-describedby":"tooltip",role:"tooltip",className:T.content,style:{width:d},onMouseEnter:()=>{E.open()},...Nr(I,b),children:[e(Do,{size:"sm",children:l}),E.isOpen&&e(ze,{onMouseEnter:()=>{E.open()},className:T.spacer})]})]})});vi.displayName="Tooltip",f({selectedOption:null,setSelectedOption:()=>{}});const pi=Me({slots:["button","label","focus","icon","iconContainer"],base:{button:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",fontWeight:"semibold",boxSizing:"border-box",borderRadius:"button",border:"thin solid",borderColor:"transparent",cursor:"pointer",transition:"all 0.1s ease",outline:"none",willChange:"transform, opacity",bg:"none",_active:{transform:"scale(0.95)"},_disabled:{opacity:"0.3",pointerEvents:"none"},_before:{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,borderRadius:"inherit",backgroundImage:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05))",_dark:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))"},opacity:0,transition:"opacity 0.1s ease"},_hover:{_before:{opacity:1}}},label:{display:"flex",textAlign:"center",justifyContent:"center",whiteSpace:"nowrap",transition:"all 0.1s ease"},focus:{outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5},icon:{transition:"all 0.1s ease"}},variants:{size:{sm:{button:{h:9,py:1.5,px:4},label:{fontSize:"sm",lineHeight:"1.5rem"},iconContainer:{w:9,p:1.5}},md:{button:{h:12,py:3,px:6},label:{fontSize:"md",lineHeight:"1.5rem"},iconContainer:{w:12,p:3}},lg:{button:{h:15,py:4,px:6},label:{fontSize:"lg",lineHeight:"1.75rem"},iconContainer:{w:15,p:4}}},variant:{primary:{button:{bg:"brand.base"},label:{color:"surface.primary"},icon:{color:"surface.primary"}},secondary:{button:{bg:"brand.lightest"},label:{color:"brand.darker"},icon:{color:"brand.darker"}},positive:{button:{bg:"positive.darker"},label:{color:"surface.primary"},icon:{color:"surface.primary"}},negative:{button:{bg:"negative.darker"},label:{color:"surface.primary"},icon:{color:"surface.primary"}},neutral:{button:{bg:"neutral.tertiary",_light:{mixBlendMode:"multiply"}},label:{color:"text.primary"},icon:{color:"text.primary"}},tertiary:{button:{bg:"transparent",borderColor:"neutral.primary"},label:{color:"text.primary"},icon:{color:"brand.base"}},text:{button:{p:0,h:"fit-content",_hover:{_before:{opacity:0}}},label:{color:"brand.base",_groupHover:{color:"brand.darkest",_dark:{color:"brand.lighter"}}},icon:{color:"brand.base",_groupHover:{color:"brand.darkest",_dark:{color:"brand.lighter"}}}},transparent:{button:{bg:{base:"#ffffff14",_hover:"#ffffff4d"},_dark:{bg:"#ffffff29"},backdropFilter:"blur(3px)",_before:{display:"none"}},label:{color:"chalk"},icon:{color:"chalk"}},inverse:{button:{bg:"ink.90",_dark:{bg:"paper"},_before:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))",_dark:{backgroundImage:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05))"}}},label:{color:"chalk",_dark:{color:"ink.90"}},icon:{color:"chalk",_dark:{color:"ink.90"}}}},validating:{true:{button:{pointerEvents:"none"}}},expand:{true:{button:{width:"full"}}},iconOnly:{true:{button:{borderRadius:"full"}}},textStyle:{positive:{},negative:{},neutral:{},subtle:{}}},compoundVariants:[{textStyle:"positive",css:{label:{color:"positive.base"},icon:{color:"positive.base"}}},{variant:"text",textStyle:"positive",css:{label:{_groupHover:{color:"positive.darker",_dark:{color:"positive.darker"}}},icon:{_groupHover:{color:"positive.darker",_dark:{color:"positive.darker"}}}}},{textStyle:"negative",css:{label:{color:"negative.darker",_dark:{color:"negative.base"}},icon:{color:"negative.darker",_dark:{color:"negative.base"}}}},{variant:"text",textStyle:"negative",css:{label:{_groupHover:{color:"negative.darkest",_dark:{color:"negative.lighter"}}},icon:{_groupHover:{color:"negative.darkest",_dark:{color:"negative.lighter"}}}}},{textStyle:"neutral",css:{label:{color:"text.primary"},icon:{color:"text.primary"}}},{variant:"text",textStyle:"neutral",css:{label:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}},icon:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}}}},{textStyle:"subtle",css:{label:{color:"text.tertiary"},icon:{color:"text.tertiary"}}},{variant:"text",textStyle:"subtle",css:{label:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}},icon:{_groupHover:{color:"text.secondary",_dark:{color:"text.secondary"}}}}},{variant:"text",iconOnly:!0,css:{iconContainer:{p:1.5,w:"fit-content"}}}],defaultVariants:{size:"md",variant:"primary"}}),fi=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>h(e,t))})),gi=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>h(e,t))})),hi=({variant:r="primary",size:t="md"})=>e(ko,{size:{sm:20,md:24,lg:28}[t],strokeWidth:2.5,inverted:"primary"===r||"negative"===r,neutral:"neutral"===r||"tertiary"===r}),mi=o((t,a)=>{const{label:n,variant:o="primary",textStyle:i,size:l="md",disabled:s,expand:d,validating:u,iconSize:v,onHover:p,centerContent:f}=t,g=v||("sm"===l?16:24),h=n&&d&&!f,m=pi({variant:o,textStyle:i,expand:d,size:l,validating:u,iconOnly:!n}),b=c(null),C=a||b,{buttonProps:y}=Ya({...t,isDisabled:s??!1},C),{hoverProps:w}=Na({isDisabled:s??!1}),{isFocusVisible:x,focusProps:E}=vn();return Qo(t.children,t=>{const a=t.get(fi),i=t.get(gi),c=g/4;return e("button",{className:ke(m.button,"group",!n&&m.iconContainer,x&&m.focus),ref:C,...Nr(y,w,E),"aria-disabled":s,onMouseEnter:p,onTouchStart:p,children:u?e(hi,{variant:o,size:l}):r(Qe,{w:"full",gap:2,justify:n&&(a||i)&&!f?"space-between":"center",children:[a&&{...a,props:{className:a.props.color?void 0:m.icon,width:g,height:g,...a.props}},i&&h&&e(ze,{w:c}),n&&e("span",{className:m.label,children:n}),a&&h&&e(ze,{w:c}),i&&{...i,props:{className:i.props.color?void 0:m.icon,width:g,height:g,...i.props}}]})})})}),bi=Object.assign(mi,{LeadingIcon:fi,TrailingIcon:gi});mi.displayName="Button";const Ci=Ie({base:{bgColor:"surface.primary",borderRadius:"1rem"},variants:{asButton:{false:{cursor:"default"},true:{alignItems:"center",cursor:"pointer",h:"10.75rem",justifyContent:"center",p:4,transition:"all 0.1s ease",w:"10.75rem",_active:{transform:"scale(0.95)"}}},alignment:{center:{alignItems:"center"},left:{alignItems:"flex-start"},right:{alignItems:"flex-end"}},alt:{true:{}},expand:{false:{overflow:"hidden"},true:{overflow:"visible",w:"full"}},gapType:{none:{gap:0},sm:{gap:4},md:{gap:5},lg:{gap:6}},heavyShadow:{false:{boxShadow:"0px 1px 2px rgba(189, 189, 189, 0.3)"},true:{boxShadow:"8px 8px 48px rgba(16, 15, 17, 0.14)"}},paddingType:{none:{p:0},sm:{px:4,py:3},md:{px:8,py:6},lg:{p:12}},widthMax:{true:{flex:1,maxW:"29.125rem",mdDown:{maxW:"full"}}},disabled:{true:{opacity:.3,pointerEvents:"none"}},validating:{true:{pointerEvents:"none"}}},compoundVariants:[{asButton:!0,alt:!0,css:{bgColor:"surface.tertiary",color:"text.secondary",_hover:{filter:"brightness(0.9)"}}}],defaultVariants:{alt:!1,expand:!1,gapType:"md",heavyShadow:!1,paddingType:"md",widthMax:!1}}),yi=o(({children:r,className:t,id:a,asButton:n,stack:o,onClick:i,validating:l,...s},c)=>{const d=Ci({asButton:n,validating:l,...s});return o||n?e(We,{id:a,className:ke(d,t),flexDirection:"column",role:n?"button":"none",onClick:n?i:void 0,ref:c,children:l?e(ko,{neutral:!0}):r}):e(ze,{id:a,className:ke(d,t),ref:c,children:r})});yi.displayName="Card";const wi=({isOpen:a=!1,title:n,onToggle:o,children:i,showCloseButton:l=!0})=>{const[u,p]=s(a),[f,g]=s(a),h=c(null);v(()=>{let e;return a?(p(!0),e=setTimeout(()=>g(!0),10)):g(!1),()=>clearTimeout(e)},[a]),v(()=>{const e=e=>{h.current&&!h.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]);const m=d(()=>{o(!1)},[o]);return r(t,{children:[e(ze,{position:"absolute",display:a?"block":"none",h:"full",bottom:0,left:0,right:0,bg:"text.primary/20",_dark:{bg:"rgba(0, 0, 0, .7)"},backdropFilter:"blur(3px)"}),u&&r(ze,{ref:h,position:"absolute",transform:f?"translateY(0)":"translateY(100%)",transition:"transform 0.3s",bottom:0,left:0,right:0,bg:"surface.primary",_dark:{bg:"surface.secondary"},roundedTop:"3xl",boxShadow:"0px -12px 56px 0px rgba(119, 118, 122, 0.15)",onTransitionEnd:()=>{a||p(!1)},zIndex:10,children:[r(Qe,{justifyContent:"space-between",px:6,py:4,children:[e(Do,{fontWeight:"medium",children:n}),l&&e(bi,{size:"sm",variant:"neutral",onPress:m,children:e(bi.LeadingIcon,{children:e(zo,{})})})]}),e(ze,{px:6,pb:6,children:i})]})]})},xi=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M11.2625 0.24827C11.4758 0.0870459 11.7344 0 12 0C12.2656 0 12.5242 0.0870459 12.7375 0.24827C14.2625 1.36858 17.625 4.81861 17.625 13.1445C17.625 15.8944 16.65 19.2044 15.925 21.2285C15.75 21.725 15.2875 22.056 14.7625 22.056H9.25C8.725 22.056 8.25 21.725 8.075 21.2285C7.35 19.2044 6.375 15.8944 6.375 13.1445C6.375 4.81861 9.7375 1.36858 11.2625 0.24827ZM14.5 10.5984C14.5 9.19799 13.375 8.05222 12 8.05222C10.625 8.05222 9.5 9.19799 9.5 10.5984C9.5 11.9988 10.625 13.1445 12 13.1445C13.375 13.1445 14.5 11.9988 14.5 10.5984ZM6.6125 22.718C6.0125 21.1522 4.7125 17.4093 4.525 13.972L3.1125 14.9268C2.4125 15.4106 2 16.1999 2 17.0529V22.718C2 23.6219 2.8875 24.233 3.7125 23.902L6.6125 22.718ZM22 22.718V17.0529C22 16.1999 21.5875 15.4106 20.8875 14.9396L19.475 13.9848C19.2875 17.4093 17.975 21.1649 17.3875 22.7308L20.2875 23.9147C21.1125 24.233 22 23.6219 22 22.718Z",fill:"currentColor"})]})},Ei="2.625rem",ki=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))}));Object.assign(r=>{const{assetUri:a}=r;return Qo(r.children,r=>{const n=r.get(ki);return e(t,{children:a&&"https://assets.fortmatic.com/MagicLogos/blank.png"!==a?e("img",{className:xe({height:Ei,width:Ei,overflow:"hidden"}),alt:"logo",src:a}):n?{...n,props:{...n.props,width:Ei,height:Ei}}:e(xi,{height:Ei,width:Ei,color:lr("colors.brand.lighter")})})})},{PlaceholderIcon:ki});var Li={},Ii={exports:{}};!function(e,r){var t="__lodash_hash_undefined__",a=9007199254740991,n="[object Arguments]",o="[object Array]",i="[object Boolean]",l="[object Date]",s="[object Error]",c="[object Function]",d="[object Map]",u="[object Number]",v="[object Object]",p="[object Promise]",f="[object RegExp]",g="[object Set]",h="[object String]",m="[object Symbol]",b="[object WeakMap]",C="[object ArrayBuffer]",y="[object DataView]",w=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,E={};E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E[n]=E[o]=E[C]=E[i]=E[y]=E[l]=E[s]=E[c]=E[d]=E[u]=E[v]=E[f]=E[g]=E[h]=E[b]=!1;var k="object"==typeof go&&go&&go.Object===Object&&go,L="object"==typeof self&&self&&self.Object===Object&&self,I=k||L||Function("return this")(),S=r&&!r.nodeType&&r,M=S&&e&&!e.nodeType&&e,T=M&&M.exports===S,_=T&&k.process,P=function(){try{return _&&_.binding&&_.binding("util")}catch(e){}}(),A=P&&P.isTypedArray;function N(e,r){for(var t=-1,a=null==e?0:e.length;++t<a;)if(r(e[t],t,e))return!0;return!1}function R(e){var r=-1,t=Array(e.size);return e.forEach(function(e,a){t[++r]=[a,e]}),t}function O(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t}var D,F,j,z=Array.prototype,B=Function.prototype,V=Object.prototype,H=I["__core-js_shared__"],W=B.toString,U=V.hasOwnProperty,Y=(D=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",Z=V.toString,G=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=T?I.Buffer:void 0,X=I.Symbol,K=I.Uint8Array,Q=V.propertyIsEnumerable,J=z.splice,$=X?X.toStringTag:void 0,ee=Object.getOwnPropertySymbols,re=q?q.isBuffer:void 0,te=(F=Object.keys,j=Object,function(e){return F(j(e))}),ae=Pe(I,"DataView"),ne=Pe(I,"Map"),oe=Pe(I,"Promise"),ie=Pe(I,"Set"),le=Pe(I,"WeakMap"),se=Pe(Object,"create"),ce=Oe(ae),de=Oe(ne),ue=Oe(oe),ve=Oe(ie),pe=Oe(le),fe=X?X.prototype:void 0,ge=fe?fe.valueOf:void 0;function he(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}function me(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}function be(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var a=e[r];this.set(a[0],a[1])}}function Ce(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new be;++r<t;)this.add(e[r])}function ye(e){var r=this.__data__=new me(e);this.size=r.size}function we(e,r){var t=je(e),a=!t&&Fe(e),n=!t&&!a&&ze(e),o=!t&&!a&&!n&&Ue(e),i=t||a||n||o,l=i?function(e,r){for(var t=-1,a=Array(e);++t<e;)a[t]=r(t);return a}(e.length,String):[],s=l.length;for(var c in e)!U.call(e,c)||i&&("length"==c||n&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Re(c,s))||l.push(c);return l}function xe(e,r){for(var t=e.length;t--;)if(De(e[t][0],r))return t;return-1}function Ee(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var r=U.call(e,$),t=e[$];try{e[$]=void 0;var a=!0}catch(e){}var n=Z.call(e);a&&(r?e[$]=t:delete e[$]);return n}(e):function(e){return Z.call(e)}(e)}function ke(e){return We(e)&&Ee(e)==n}function Le(e,r,t,a,c){return e===r||(null==e||null==r||!We(e)&&!We(r)?e!=e&&r!=r:function(e,r,t,a,c,p){var b=je(e),w=je(r),x=b?o:Ne(e),E=w?o:Ne(r),k=(x=x==n?v:x)==v,L=(E=E==n?v:E)==v,I=x==E;if(I&&ze(e)){if(!ze(r))return!1;b=!0,k=!1}if(I&&!k)return p||(p=new ye),b||Ue(e)?Me(e,r,t,a,c,p):function(e,r,t,a,n,o,c){switch(t){case y:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case C:return!(e.byteLength!=r.byteLength||!o(new K(e),new K(r)));case i:case l:case u:return De(+e,+r);case s:return e.name==r.name&&e.message==r.message;case f:case h:return e==r+"";case d:var v=R;case g:var p=1&a;if(v||(v=O),e.size!=r.size&&!p)return!1;var b=c.get(e);if(b)return b==r;a|=2,c.set(e,r);var w=Me(v(e),v(r),a,n,o,c);return c.delete(e),w;case m:if(ge)return ge.call(e)==ge.call(r)}return!1}(e,r,x,t,a,c,p);if(!(1&t)){var S=k&&U.call(e,"__wrapped__"),M=L&&U.call(r,"__wrapped__");if(S||M){var T=S?e.value():e,_=M?r.value():r;return p||(p=new ye),c(T,_,t,a,p)}}if(!I)return!1;return p||(p=new ye),function(e,r,t,a,n,o){var i=1&t,l=Te(e),s=l.length,c=Te(r),d=c.length;if(s!=d&&!i)return!1;var u=s;for(;u--;){var v=l[u];if(!(i?v in r:U.call(r,v)))return!1}var p=o.get(e);if(p&&o.get(r))return p==r;var f=!0;o.set(e,r),o.set(r,e);var g=i;for(;++u<s;){var h=e[v=l[u]],m=r[v];if(a)var b=i?a(m,h,v,r,e,o):a(h,m,v,e,r,o);if(!(void 0===b?h===m||n(h,m,t,a,o):b)){f=!1;break}g||(g="constructor"==v)}if(f&&!g){var C=e.constructor,y=r.constructor;C==y||!("constructor"in e)||!("constructor"in r)||"function"==typeof C&&C instanceof C&&"function"==typeof y&&y instanceof y||(f=!1)}return o.delete(e),o.delete(r),f}(e,r,t,a,c,p)}(e,r,t,a,Le,c))}function Ie(e){return!(!He(e)||function(e){return!!Y&&Y in e}(e))&&(Be(e)?G:w).test(Oe(e))}function Se(e){if(t=(r=e)&&r.constructor,a="function"==typeof t&&t.prototype||V,r!==a)return te(e);var r,t,a,n=[];for(var o in Object(e))U.call(e,o)&&"constructor"!=o&&n.push(o);return n}function Me(e,r,t,a,n,o){var i=1&t,l=e.length,s=r.length;if(l!=s&&!(i&&s>l))return!1;var c=o.get(e);if(c&&o.get(r))return c==r;var d=-1,u=!0,v=2&t?new Ce:void 0;for(o.set(e,r),o.set(r,e);++d<l;){var p=e[d],f=r[d];if(a)var g=i?a(f,p,d,r,e,o):a(p,f,d,e,r,o);if(void 0!==g){if(g)continue;u=!1;break}if(v){if(!N(r,function(e,r){if(i=r,!v.has(i)&&(p===e||n(p,e,t,a,o)))return v.push(r);var i})){u=!1;break}}else if(p!==f&&!n(p,f,t,a,o)){u=!1;break}}return o.delete(e),o.delete(r),u}function Te(e){return function(e,r,t){var a=r(e);return je(e)?a:function(e,r){for(var t=-1,a=r.length,n=e.length;++t<a;)e[n+t]=r[t];return e}(a,t(e))}(e,Ye,Ae)}function _e(e,r){var t,a,n=e.__data__;return("string"==(a=typeof(t=r))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==t:null===t)?n["string"==typeof r?"string":"hash"]:n.map}function Pe(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return Ie(t)?t:void 0}he.prototype.clear=function(){this.__data__=se?se(null):{},this.size=0},he.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},he.prototype.get=function(e){var r=this.__data__;if(se){var a=r[e];return a===t?void 0:a}return U.call(r,e)?r[e]:void 0},he.prototype.has=function(e){var r=this.__data__;return se?void 0!==r[e]:U.call(r,e)},he.prototype.set=function(e,r){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=se&&void 0===r?t:r,this},me.prototype.clear=function(){this.__data__=[],this.size=0},me.prototype.delete=function(e){var r=this.__data__,t=xe(r,e);return!(t<0)&&(t==r.length-1?r.pop():J.call(r,t,1),--this.size,!0)},me.prototype.get=function(e){var r=this.__data__,t=xe(r,e);return t<0?void 0:r[t][1]},me.prototype.has=function(e){return xe(this.__data__,e)>-1},me.prototype.set=function(e,r){var t=this.__data__,a=xe(t,e);return a<0?(++this.size,t.push([e,r])):t[a][1]=r,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new he,map:new(ne||me),string:new he}},be.prototype.delete=function(e){var r=_e(this,e).delete(e);return this.size-=r?1:0,r},be.prototype.get=function(e){return _e(this,e).get(e)},be.prototype.has=function(e){return _e(this,e).has(e)},be.prototype.set=function(e,r){var t=_e(this,e),a=t.size;return t.set(e,r),this.size+=t.size==a?0:1,this},Ce.prototype.add=Ce.prototype.push=function(e){return this.__data__.set(e,t),this},Ce.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.clear=function(){this.__data__=new me,this.size=0},ye.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},ye.prototype.get=function(e){return this.__data__.get(e)},ye.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.set=function(e,r){var t=this.__data__;if(t instanceof me){var a=t.__data__;if(!ne||a.length<199)return a.push([e,r]),this.size=++t.size,this;t=this.__data__=new be(a)}return t.set(e,r),this.size=t.size,this};var Ae=ee?function(e){return null==e?[]:(e=Object(e),function(e,r){for(var t=-1,a=null==e?0:e.length,n=0,o=[];++t<a;){var i=e[t];r(i,t,e)&&(o[n++]=i)}return o}(ee(e),function(r){return Q.call(e,r)}))}:function(){return[]},Ne=Ee;function Re(e,r){return!!(r=null==r?a:r)&&("number"==typeof e||x.test(e))&&e>-1&&e%1==0&&e<r}function Oe(e){if(null!=e){try{return W.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function De(e,r){return e===r||e!=e&&r!=r}(ae&&Ne(new ae(new ArrayBuffer(1)))!=y||ne&&Ne(new ne)!=d||oe&&Ne(oe.resolve())!=p||ie&&Ne(new ie)!=g||le&&Ne(new le)!=b)&&(Ne=function(e){var r=Ee(e),t=r==v?e.constructor:void 0,a=t?Oe(t):"";if(a)switch(a){case ce:return y;case de:return d;case ue:return p;case ve:return g;case pe:return b}return r});var Fe=ke(function(){return arguments}())?ke:function(e){return We(e)&&U.call(e,"callee")&&!Q.call(e,"callee")},je=Array.isArray;var ze=re||function(){return!1};function Be(e){if(!He(e))return!1;var r=Ee(e);return r==c||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function He(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function We(e){return null!=e&&"object"==typeof e}var Ue=A?function(e){return function(r){return e(r)}}(A):function(e){return We(e)&&Ve(e.length)&&!!E[Ee(e)]};function Ye(e){return null!=(r=e)&&Ve(r.length)&&!Be(r)?we(e):Se(e);var r}e.exports=function(e,r){return Le(e,r)}}(Ii,Ii.exports);var Si=Ii.exports,Mi={exports:{}};!function(e){var r=function(){var e=function(e,r){var t=e,a=d[r],n=null,o=0,i=null,l=[],s={},c=function(e,r){n=function(e){for(var r=new Array(e),t=0;t<e;t+=1){r[t]=new Array(e);for(var a=0;a<e;a+=1)r[t][a]=null}return r}(o=4*t+17),u(0,0),u(o-7,0),u(0,o-7),p(),v(),g(e,r),t>=7&&f(e),null==i&&(i=m(t,a,l)),h(i,r)},u=function(e,r){for(var t=-1;t<=7;t+=1)if(!(e+t<=-1||o<=e+t))for(var a=-1;a<=7;a+=1)r+a<=-1||o<=r+a||(n[e+t][r+a]=0<=t&&t<=6&&(0==a||6==a)||0<=a&&a<=6&&(0==t||6==t)||2<=t&&t<=4&&2<=a&&a<=4)},v=function(){for(var e=8;e<o-8;e+=1)null==n[e][6]&&(n[e][6]=e%2==0);for(var r=8;r<o-8;r+=1)null==n[6][r]&&(n[6][r]=r%2==0)},p=function(){for(var e=C.getPatternPosition(t),r=0;r<e.length;r+=1)for(var a=0;a<e.length;a+=1){var o=e[r],i=e[a];if(null==n[o][i])for(var l=-2;l<=2;l+=1)for(var s=-2;s<=2;s+=1)n[o+l][i+s]=-2==l||2==l||-2==s||2==s||0==l&&0==s}},f=function(e){for(var r=C.getBCHTypeNumber(t),a=0;a<18;a+=1){var i=!e&&1==(r>>a&1);n[Math.floor(a/3)][a%3+o-8-3]=i}for(a=0;a<18;a+=1){i=!e&&1==(r>>a&1);n[a%3+o-8-3][Math.floor(a/3)]=i}},g=function(e,r){for(var t=a<<3|r,i=C.getBCHTypeInfo(t),l=0;l<15;l+=1){var s=!e&&1==(i>>l&1);l<6?n[l][8]=s:l<8?n[l+1][8]=s:n[o-15+l][8]=s}for(l=0;l<15;l+=1){s=!e&&1==(i>>l&1);l<8?n[8][o-l-1]=s:l<9?n[8][15-l-1+1]=s:n[8][15-l-1]=s}n[o-8][8]=!e},h=function(e,r){for(var t=-1,a=o-1,i=7,l=0,s=C.getMaskFunction(r),c=o-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var d=0;d<2;d+=1)if(null==n[a][c-d]){var u=!1;l<e.length&&(u=1==(e[l]>>>i&1)),s(a,c-d)&&(u=!u),n[a][c-d]=u,-1==(i-=1)&&(l+=1,i=7)}if((a+=t)<0||o<=a){a-=t,t=-t;break}}},m=function(e,r,t){for(var a=x.getRSBlocks(e,r),n=E(),o=0;o<t.length;o+=1){var i=t[o];n.put(i.getMode(),4),n.put(i.getLength(),C.getLengthInBits(i.getMode(),e)),i.write(n)}var l=0;for(o=0;o<a.length;o+=1)l+=a[o].dataCount;if(n.getLengthInBits()>8*l)throw"code length overflow. ("+n.getLengthInBits()+">"+8*l+")";for(n.getLengthInBits()+4<=8*l&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*l||(n.put(236,8),n.getLengthInBits()>=8*l));)n.put(17,8);return function(e,r){for(var t=0,a=0,n=0,o=new Array(r.length),i=new Array(r.length),l=0;l<r.length;l+=1){var s=r[l].dataCount,c=r[l].totalCount-s;a=Math.max(a,s),n=Math.max(n,c),o[l]=new Array(s);for(var d=0;d<o[l].length;d+=1)o[l][d]=255&e.getBuffer()[d+t];t+=s;var u=C.getErrorCorrectPolynomial(c),v=w(o[l],u.getLength()-1).mod(u);for(i[l]=new Array(u.getLength()-1),d=0;d<i[l].length;d+=1){var p=d+v.getLength()-i[l].length;i[l][d]=p>=0?v.getAt(p):0}}var f=0;for(d=0;d<r.length;d+=1)f+=r[d].totalCount;var g=new Array(f),h=0;for(d=0;d<a;d+=1)for(l=0;l<r.length;l+=1)d<o[l].length&&(g[h]=o[l][d],h+=1);for(d=0;d<n;d+=1)for(l=0;l<r.length;l+=1)d<i[l].length&&(g[h]=i[l][d],h+=1);return g}(n,a)};s.addData=function(e,r){var t=null;switch(r=r||"Byte"){case"Numeric":t=k(e);break;case"Alphanumeric":t=L(e);break;case"Byte":t=I(e);break;case"Kanji":t=S(e);break;default:throw"mode:"+r}l.push(t),i=null},s.isDark=function(e,r){if(e<0||o<=e||r<0||o<=r)throw e+","+r;return n[e][r]},s.getModuleCount=function(){return o},s.make=function(){if(t<1){for(var e=1;e<40;e++){for(var r=x.getRSBlocks(e,a),n=E(),o=0;o<l.length;o++){var i=l[o];n.put(i.getMode(),4),n.put(i.getLength(),C.getLengthInBits(i.getMode(),e)),i.write(n)}var d=0;for(o=0;o<r.length;o++)d+=r[o].dataCount;if(n.getLengthInBits()<=8*d)break}t=e}c(!1,function(){for(var e=0,r=0,t=0;t<8;t+=1){c(!0,t);var a=C.getLostPoint(s);(0==t||e>a)&&(e=a,r=t)}return r}())},s.createTableTag=function(e,r){e=e||2;var t="";t+='<table style="',t+=" border-width: 0px; border-style: none;",t+=" border-collapse: collapse;",t+=" padding: 0px; margin: "+(r=void 0===r?4*e:r)+"px;",t+='">',t+="<tbody>";for(var a=0;a<s.getModuleCount();a+=1){t+="<tr>";for(var n=0;n<s.getModuleCount();n+=1)t+='<td style="',t+=" border-width: 0px; border-style: none;",t+=" border-collapse: collapse;",t+=" padding: 0px; margin: 0px;",t+=" width: "+e+"px;",t+=" height: "+e+"px;",t+=" background-color: ",t+=s.isDark(a,n)?"#000000":"#ffffff",t+=";",t+='"/>';t+="</tr>"}return t+="</tbody>",t+="</table>"},s.createSvgTag=function(e,r,t,a){var n={};"object"==typeof arguments[0]&&(e=(n=arguments[0]).cellSize,r=n.margin,t=n.alt,a=n.title),e=e||2,r=void 0===r?4*e:r,(t="string"==typeof t?{text:t}:t||{}).text=t.text||null,t.id=t.text?t.id||"qrcode-description":null,(a="string"==typeof a?{text:a}:a||{}).text=a.text||null,a.id=a.text?a.id||"qrcode-title":null;var o,i,l,c,d=s.getModuleCount()*e+2*r,u="";for(c="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",u+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',u+=n.scalable?"":' width="'+d+'px" height="'+d+'px"',u+=' viewBox="0 0 '+d+" "+d+'" ',u+=' preserveAspectRatio="xMinYMin meet"',u+=a.text||t.text?' role="img" aria-labelledby="'+b([a.id,t.id].join(" ").trim())+'"':"",u+=">",u+=a.text?'<title id="'+b(a.id)+'">'+b(a.text)+"</title>":"",u+=t.text?'<description id="'+b(t.id)+'">'+b(t.text)+"</description>":"",u+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',u+='<path d="',i=0;i<s.getModuleCount();i+=1)for(l=i*e+r,o=0;o<s.getModuleCount();o+=1)s.isDark(i,o)&&(u+="M"+(o*e+r)+","+l+c);return u+='" stroke="transparent" fill="black"/>',u+="</svg>"},s.createDataURL=function(e,r){e=e||2,r=void 0===r?4*e:r;var t=s.getModuleCount()*e+2*r,a=r,n=t-r;return _(t,t,function(r,t){if(a<=r&&r<n&&a<=t&&t<n){var o=Math.floor((r-a)/e),i=Math.floor((t-a)/e);return s.isDark(i,o)?0:1}return 1})},s.createImgTag=function(e,r,t){e=e||2,r=void 0===r?4*e:r;var a=s.getModuleCount()*e+2*r,n="";return n+="<img",n+=' src="',n+=s.createDataURL(e,r),n+='"',n+=' width="',n+=a,n+='"',n+=' height="',n+=a,n+='"',t&&(n+=' alt="',n+=b(t),n+='"'),n+="/>"};var b=function(e){for(var r="",t=0;t<e.length;t+=1){var a=e.charAt(t);switch(a){case"<":r+="&lt;";break;case">":r+="&gt;";break;case"&":r+="&amp;";break;case'"':r+="&quot;";break;default:r+=a}}return r};return s.createASCII=function(e,r){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var r,t,a,n,o,i=1*s.getModuleCount()+2*e,l=e,c=i-e,d={"██":"█","█ ":"▀"," █":"▄"," ":" "},u={"██":"▀","█ ":"▀"," █":" "," ":" "},v="";for(r=0;r<i;r+=2){for(a=Math.floor((r-l)/1),n=Math.floor((r+1-l)/1),t=0;t<i;t+=1)o="█",l<=t&&t<c&&l<=r&&r<c&&s.isDark(a,Math.floor((t-l)/1))&&(o=" "),l<=t&&t<c&&l<=r+1&&r+1<c&&s.isDark(n,Math.floor((t-l)/1))?o+=" ":o+="█",v+=e<1&&r+1>=c?u[o]:d[o];v+="\n"}return i%2&&e>0?v.substring(0,v.length-i-1)+Array(i+1).join("▀"):v.substring(0,v.length-1)}(r);e-=1,r=void 0===r?2*e:r;var t,a,n,o,i=s.getModuleCount()*e+2*r,l=r,c=i-r,d=Array(e+1).join("██"),u=Array(e+1).join(" "),v="",p="";for(t=0;t<i;t+=1){for(n=Math.floor((t-l)/e),p="",a=0;a<i;a+=1)o=1,l<=a&&a<c&&l<=t&&t<c&&s.isDark(n,Math.floor((a-l)/e))&&(o=0),p+=o?d:u;for(n=0;n<e;n+=1)v+=p+"\n"}return v.substring(0,v.length-1)},s.renderTo2dContext=function(e,r){r=r||2;for(var t=s.getModuleCount(),a=0;a<t;a++)for(var n=0;n<t;n++)e.fillStyle=s.isDark(a,n)?"black":"white",e.fillRect(a*r,n*r,r,r)},s};e.stringToBytesFuncs={default:function(e){for(var r=[],t=0;t<e.length;t+=1){var a=e.charCodeAt(t);r.push(255&a)}return r}},e.stringToBytes=e.stringToBytesFuncs.default,e.createStringToBytes=function(e,r){var t=function(){for(var t=T(e),a=function(){var e=t.read();if(-1==e)throw"eof";return e},n=0,o={};;){var i=t.read();if(-1==i)break;var l=a(),s=a()<<8|a();o[String.fromCharCode(i<<8|l)]=s,n+=1}if(n!=r)throw n+" != "+r;return o}(),a="?".charCodeAt(0);return function(e){for(var r=[],n=0;n<e.length;n+=1){var o=e.charCodeAt(n);if(o<128)r.push(o);else{var i=t[e.charAt(n)];"number"==typeof i?(255&i)==i?r.push(i):(r.push(i>>>8),r.push(255&i)):r.push(a)}}return r}};var r,t,a,n,o,i=1,l=2,s=4,c=8,d={L:1,M:0,Q:3,H:2},u=0,v=1,p=2,f=3,g=4,h=5,m=6,b=7,C=(r=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],t=1335,a=7973,o=function(e){for(var r=0;0!=e;)r+=1,e>>>=1;return r},(n={}).getBCHTypeInfo=function(e){for(var r=e<<10;o(r)-o(t)>=0;)r^=t<<o(r)-o(t);return 21522^(e<<10|r)},n.getBCHTypeNumber=function(e){for(var r=e<<12;o(r)-o(a)>=0;)r^=a<<o(r)-o(a);return e<<12|r},n.getPatternPosition=function(e){return r[e-1]},n.getMaskFunction=function(e){switch(e){case u:return function(e,r){return(e+r)%2==0};case v:return function(e,r){return e%2==0};case p:return function(e,r){return r%3==0};case f:return function(e,r){return(e+r)%3==0};case g:return function(e,r){return(Math.floor(e/2)+Math.floor(r/3))%2==0};case h:return function(e,r){return e*r%2+e*r%3==0};case m:return function(e,r){return(e*r%2+e*r%3)%2==0};case b:return function(e,r){return(e*r%3+(e+r)%2)%2==0};default:throw"bad maskPattern:"+e}},n.getErrorCorrectPolynomial=function(e){for(var r=w([1],0),t=0;t<e;t+=1)r=r.multiply(w([1,y.gexp(t)],0));return r},n.getLengthInBits=function(e,r){if(1<=r&&r<10)switch(e){case i:return 10;case l:return 9;case s:case c:return 8;default:throw"mode:"+e}else if(r<27)switch(e){case i:return 12;case l:return 11;case s:return 16;case c:return 10;default:throw"mode:"+e}else{if(!(r<41))throw"type:"+r;switch(e){case i:return 14;case l:return 13;case s:return 16;case c:return 12;default:throw"mode:"+e}}},n.getLostPoint=function(e){for(var r=e.getModuleCount(),t=0,a=0;a<r;a+=1)for(var n=0;n<r;n+=1){for(var o=0,i=e.isDark(a,n),l=-1;l<=1;l+=1)if(!(a+l<0||r<=a+l))for(var s=-1;s<=1;s+=1)n+s<0||r<=n+s||0==l&&0==s||i==e.isDark(a+l,n+s)&&(o+=1);o>5&&(t+=3+o-5)}for(a=0;a<r-1;a+=1)for(n=0;n<r-1;n+=1){var c=0;e.isDark(a,n)&&(c+=1),e.isDark(a+1,n)&&(c+=1),e.isDark(a,n+1)&&(c+=1),e.isDark(a+1,n+1)&&(c+=1),0!=c&&4!=c||(t+=3)}for(a=0;a<r;a+=1)for(n=0;n<r-6;n+=1)e.isDark(a,n)&&!e.isDark(a,n+1)&&e.isDark(a,n+2)&&e.isDark(a,n+3)&&e.isDark(a,n+4)&&!e.isDark(a,n+5)&&e.isDark(a,n+6)&&(t+=40);for(n=0;n<r;n+=1)for(a=0;a<r-6;a+=1)e.isDark(a,n)&&!e.isDark(a+1,n)&&e.isDark(a+2,n)&&e.isDark(a+3,n)&&e.isDark(a+4,n)&&!e.isDark(a+5,n)&&e.isDark(a+6,n)&&(t+=40);var d=0;for(n=0;n<r;n+=1)for(a=0;a<r;a+=1)e.isDark(a,n)&&(d+=1);return t+=Math.abs(100*d/r/r-50)/5*10},n),y=function(){for(var e=new Array(256),r=new Array(256),t=0;t<8;t+=1)e[t]=1<<t;for(t=8;t<256;t+=1)e[t]=e[t-4]^e[t-5]^e[t-6]^e[t-8];for(t=0;t<255;t+=1)r[e[t]]=t;var a={glog:function(e){if(e<1)throw"glog("+e+")";return r[e]},gexp:function(r){for(;r<0;)r+=255;for(;r>=256;)r-=255;return e[r]}};return a}();function w(e,r){if(void 0===e.length)throw e.length+"/"+r;var t=function(){for(var t=0;t<e.length&&0==e[t];)t+=1;for(var a=new Array(e.length-t+r),n=0;n<e.length-t;n+=1)a[n]=e[n+t];return a}(),a={getAt:function(e){return t[e]},getLength:function(){return t.length},multiply:function(e){for(var r=new Array(a.getLength()+e.getLength()-1),t=0;t<a.getLength();t+=1)for(var n=0;n<e.getLength();n+=1)r[t+n]^=y.gexp(y.glog(a.getAt(t))+y.glog(e.getAt(n)));return w(r,0)},mod:function(e){if(a.getLength()-e.getLength()<0)return a;for(var r=y.glog(a.getAt(0))-y.glog(e.getAt(0)),t=new Array(a.getLength()),n=0;n<a.getLength();n+=1)t[n]=a.getAt(n);for(n=0;n<e.getLength();n+=1)t[n]^=y.gexp(y.glog(e.getAt(n))+r);return w(t,0).mod(e)}};return a}var x=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],r=function(e,r){var t={};return t.totalCount=e,t.dataCount=r,t},t={};return t.getRSBlocks=function(t,a){var n=function(r,t){switch(t){case d.L:return e[4*(r-1)+0];case d.M:return e[4*(r-1)+1];case d.Q:return e[4*(r-1)+2];case d.H:return e[4*(r-1)+3];default:return}}(t,a);if(void 0===n)throw"bad rs block @ typeNumber:"+t+"/errorCorrectionLevel:"+a;for(var o=n.length/3,i=[],l=0;l<o;l+=1)for(var s=n[3*l+0],c=n[3*l+1],u=n[3*l+2],v=0;v<s;v+=1)i.push(r(c,u));return i},t}(),E=function(){var e=[],r=0,t={getBuffer:function(){return e},getAt:function(r){var t=Math.floor(r/8);return 1==(e[t]>>>7-r%8&1)},put:function(e,r){for(var a=0;a<r;a+=1)t.putBit(1==(e>>>r-a-1&1))},getLengthInBits:function(){return r},putBit:function(t){var a=Math.floor(r/8);e.length<=a&&e.push(0),t&&(e[a]|=128>>>r%8),r+=1}};return t},k=function(e){var r=i,t=e,a={getMode:function(){return r},getLength:function(e){return t.length},write:function(e){for(var r=t,a=0;a+2<r.length;)e.put(n(r.substring(a,a+3)),10),a+=3;a<r.length&&(r.length-a==1?e.put(n(r.substring(a,a+1)),4):r.length-a==2&&e.put(n(r.substring(a,a+2)),7))}},n=function(e){for(var r=0,t=0;t<e.length;t+=1)r=10*r+o(e.charAt(t));return r},o=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return a},L=function(e){var r=l,t=e,a={getMode:function(){return r},getLength:function(e){return t.length},write:function(e){for(var r=t,a=0;a+1<r.length;)e.put(45*n(r.charAt(a))+n(r.charAt(a+1)),11),a+=2;a<r.length&&e.put(n(r.charAt(a)),6)}},n=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return a},I=function(r){var t=s,a=e.stringToBytes(r),n={getMode:function(){return t},getLength:function(e){return a.length},write:function(e){for(var r=0;r<a.length;r+=1)e.put(a[r],8)}};return n},S=function(r){var t=c,a=e.stringToBytesFuncs.SJIS;if(!a)throw"sjis not supported.";!function(){var e=a("友");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var n=a(r),o={getMode:function(){return t},getLength:function(e){return~~(n.length/2)},write:function(e){for(var r=n,t=0;t+1<r.length;){var a=(255&r[t])<<8|255&r[t+1];if(33088<=a&&a<=40956)a-=33088;else{if(!(57408<=a&&a<=60351))throw"illegal char at "+(t+1)+"/"+a;a-=49472}a=192*(a>>>8&255)+(255&a),e.put(a,13),t+=2}if(t<r.length)throw"illegal char at "+(t+1)}};return o},M=function(){var e=[],r={writeByte:function(r){e.push(255&r)},writeShort:function(e){r.writeByte(e),r.writeByte(e>>>8)},writeBytes:function(e,t,a){t=t||0,a=a||e.length;for(var n=0;n<a;n+=1)r.writeByte(e[n+t])},writeString:function(e){for(var t=0;t<e.length;t+=1)r.writeByte(e.charCodeAt(t))},toByteArray:function(){return e},toString:function(){var r="";r+="[";for(var t=0;t<e.length;t+=1)t>0&&(r+=","),r+=e[t];return r+="]"}};return r},T=function(e){var r=e,t=0,a=0,n=0,o={read:function(){for(;n<8;){if(t>=r.length){if(0==n)return-1;throw"unexpected end of file./"+n}var e=r.charAt(t);if(t+=1,"="==e)return n=0,-1;e.match(/^\s$/)||(a=a<<6|i(e.charCodeAt(0)),n+=6)}var o=a>>>n-8&255;return n-=8,o}},i=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return o},_=function(e,r,t){for(var a=function(e,r){var t=e,a=r,n=new Array(e*r),o={setPixel:function(e,r,a){n[r*t+e]=a},write:function(e){e.writeString("GIF87a"),e.writeShort(t),e.writeShort(a),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(t),e.writeShort(a),e.writeByte(0);var r=i(2);e.writeByte(2);for(var n=0;r.length-n>255;)e.writeByte(255),e.writeBytes(r,n,255),n+=255;e.writeByte(r.length-n),e.writeBytes(r,n,r.length-n),e.writeByte(0),e.writeString(";")}},i=function(e){for(var r=1<<e,t=1+(1<<e),a=e+1,o=l(),i=0;i<r;i+=1)o.add(String.fromCharCode(i));o.add(String.fromCharCode(r)),o.add(String.fromCharCode(t));var s,c,d,u=M(),v=(s=u,c=0,d=0,{write:function(e,r){if(e>>>r!=0)throw"length over";for(;c+r>=8;)s.writeByte(255&(e<<c|d)),r-=8-c,e>>>=8-c,d=0,c=0;d|=e<<c,c+=r},flush:function(){c>0&&s.writeByte(d)}});v.write(r,a);var p=0,f=String.fromCharCode(n[p]);for(p+=1;p<n.length;){var g=String.fromCharCode(n[p]);p+=1,o.contains(f+g)?f+=g:(v.write(o.indexOf(f),a),o.size()<4095&&(o.size()==1<<a&&(a+=1),o.add(f+g)),f=g)}return v.write(o.indexOf(f),a),v.write(t,a),v.flush(),u.toByteArray()},l=function(){var e={},r=0,t={add:function(a){if(t.contains(a))throw"dup key:"+a;e[a]=r,r+=1},size:function(){return r},indexOf:function(r){return e[r]},contains:function(r){return void 0!==e[r]}};return t};return o}(e,r),n=0;n<r;n+=1)for(var o=0;o<e;o+=1)a.setPixel(o,n,t(o,n));var i=M();a.write(i);for(var l=function(){var e=0,r=0,t=0,a="",n={},o=function(e){a+=String.fromCharCode(i(63&e))},i=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return n.writeByte=function(a){for(e=e<<8|255&a,r+=8,t+=1;r>=6;)o(e>>>r-6),r-=6},n.flush=function(){if(r>0&&(o(e<<6-r),e=0,r=0),t%3!=0)for(var n=3-t%3,i=0;i<n;i+=1)a+="="},n.toString=function(){return a},n}(),s=i.toByteArray(),c=0;c<s.length;c+=1)l.writeByte(s[c]);return l.flush(),"data:image/gif;base64,"+l};return e}();r.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var r=[],t=0;t<e.length;t++){var a=e.charCodeAt(t);a<128?r.push(a):a<2048?r.push(192|a>>6,128|63&a):a<55296||a>=57344?r.push(224|a>>12,128|a>>6&63,128|63&a):(t++,a=65536+((1023&a)<<10|1023&e.charCodeAt(t)),r.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a))}return r}(e)},e.exports=r}(Mi);var Ti,_i=Mi.exports,Pi=go&&go.__extends||(Ti=function(e,r){return Ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},Ti(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}Ti(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}),Ai=go&&go.__assign||function(){return Ai=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},Ai.apply(this,arguments)};Object.defineProperty(Li,"__esModule",{value:!0});var Ni=Li.QRCode=void 0,Ri=Si,Oi=_i,Di=n,Fi=function(e){function r(r){var t=e.call(this,r)||this;return t.canvasRef=Di.createRef(),t}return Pi(r,e),r.prototype.download=function(e,r){if(this.canvasRef.current){var t=void 0;switch(e){case"jpg":t="image/jpeg";break;case"webp":t="image/webp";break;default:t="image/png"}var a=this.canvasRef.current.toDataURL(t,1),n=document.createElement("a");n.download=null!=r?r:"react-qrcode-logo",n.href=a,n.click()}},r.prototype.utf16to8=function(e){var r,t,a="",n=e.length;for(r=0;r<n;r++)(t=e.charCodeAt(r))>=1&&t<=127?a+=e.charAt(r):t>2047?(a+=String.fromCharCode(224|t>>12&15),a+=String.fromCharCode(128|t>>6&63),a+=String.fromCharCode(128|63&t)):(a+=String.fromCharCode(192|t>>6&31),a+=String.fromCharCode(128|63&t));return a},r.prototype.drawRoundedSquare=function(e,r,t,a,n,o,i,l){l.lineWidth=e,l.fillStyle=n,l.strokeStyle=n,t+=e/2,r+=e/2,a-=e,Array.isArray(o)||(o=[o,o,o,o]),o=o.map(function(e){return(e=Math.min(e,a/2))<0?0:e});var s=o[0]||0,c=o[1]||0,d=o[2]||0,u=o[3]||0;l.beginPath(),l.moveTo(r+s,t),l.lineTo(r+a-c,t),c&&l.quadraticCurveTo(r+a,t,r+a,t+c),l.lineTo(r+a,t+a-d),d&&l.quadraticCurveTo(r+a,t+a,r+a-d,t+a),l.lineTo(r+u,t+a),u&&l.quadraticCurveTo(r,t+a,r,t+a-u),l.lineTo(r,t+s),s&&l.quadraticCurveTo(r,t,r+s,t),l.closePath(),l.stroke(),i&&l.fill()},r.prototype.drawPositioningPattern=function(e,r,t,a,n,o,i){void 0===i&&(i=[0,0,0,0]);var l,s,c,d,u=Math.ceil(r);"number"==typeof i||Array.isArray(i)?s=l=i:(l=i.outer||0,s=i.inner||0),"string"!=typeof o?(c=o.outer,d=o.inner):(c=o,d=o);var v=a*r+t,p=n*r+t,f=7*r;this.drawRoundedSquare(u,p,v,f,c,l,!1,e),f=3*r,v+=2*r,p+=2*r,this.drawRoundedSquare(u,p,v,f,d,s,!0,e)},r.prototype.isInPositioninZone=function(e,r,t){return t.some(function(t){return r>=t.row&&r<=t.row+7&&e>=t.col&&e<=t.col+7})},r.prototype.transformPixelLengthIntoNumberOfCells=function(e,r){return e/r},r.prototype.isCoordinateInImage=function(e,r,t,a,n,o,i,l){if(l){var s=this.transformPixelLengthIntoNumberOfCells(n,i),c=this.transformPixelLengthIntoNumberOfCells(o,i),d=this.transformPixelLengthIntoNumberOfCells(t,i)-1,u=this.transformPixelLengthIntoNumberOfCells(a,i)-1;return r>=s-2&&r<=s+d+2&&e>=c-2&&e<=c+u+2}return!1},r.prototype.shouldComponentUpdate=function(e){return!Ri(this.props,e)},r.prototype.componentDidMount=function(){this.update()},r.prototype.componentDidUpdate=function(){this.update()},r.prototype.update=function(){var e,r=this.props,t=r.value,a=r.ecLevel,n=r.enableCORS,o=r.bgColor,i=r.fgColor,l=r.logoImage,s=r.logoOpacity,c=r.logoOnLoad,d=r.removeQrCodeBehindLogo,u=r.qrStyle,v=r.eyeRadius,p=r.eyeColor,f=r.logoPaddingStyle,g=+this.props.size,h=+this.props.quietZone,m=this.props.logoWidth?+this.props.logoWidth:0,b=this.props.logoHeight?+this.props.logoHeight:0,C=this.props.logoPadding?+this.props.logoPadding:0,y=Oi(0,a);y.addData(this.utf16to8(t)),y.make();var w=null===(e=this.canvasRef)||void 0===e?void 0:e.current,x=w.getContext("2d"),E=g+2*h,k=y.getModuleCount(),L=g/k,I=window.devicePixelRatio||1;w.height=w.width=E*I,x.scale(I,I),x.fillStyle=o,x.fillRect(0,0,E,E);var S=h,M=[{row:0,col:0},{row:0,col:k-7},{row:k-7,col:0}];if(x.strokeStyle=i,"dots"===u){x.fillStyle=i;for(var T=L/2,_=0;_<k;_++)for(var P=0;P<k;P++)y.isDark(_,P)&&!this.isInPositioninZone(_,P,M)&&(x.beginPath(),x.arc(Math.round(P*L)+T+S,Math.round(_*L)+T+S,T/100*75,0,2*Math.PI,!1),x.closePath(),x.fill())}else if("fluid"===u){for(T=Math.ceil(L/2),_=0;_<k;_++)for(P=0;P<k;P++)if(y.isDark(_,P)&&!this.isInPositioninZone(_,P,M)){var A=[!1,!1,!1,!1];_>0&&!y.isDark(_-1,P)&&P>0&&!y.isDark(_,P-1)&&(A[0]=!0),_>0&&!y.isDark(_-1,P)&&P<k-1&&!y.isDark(_,P+1)&&(A[1]=!0),_<k-1&&!y.isDark(_+1,P)&&P<k-1&&!y.isDark(_,P+1)&&(A[2]=!0),_<k-1&&!y.isDark(_+1,P)&&P>0&&!y.isDark(_,P-1)&&(A[3]=!0);var N=Math.ceil((P+1)*L)-Math.floor(P*L),R=Math.ceil((_+1)*L)-Math.floor(_*L);x.fillStyle=i,x.beginPath(),x.arc(Math.round(P*L)+T+S,Math.round(_*L)+T+S,T,0,2*Math.PI,!1),x.closePath(),x.fill(),A[0]||x.fillRect(Math.round(P*L)+S,Math.round(_*L)+S,N/2,R/2),A[1]||x.fillRect(Math.round(P*L)+S+Math.floor(N/2),Math.round(_*L)+S,N/2,R/2),A[2]||x.fillRect(Math.round(P*L)+S+Math.floor(N/2),Math.round(_*L)+S+Math.floor(R/2),N/2,R/2),A[3]||x.fillRect(Math.round(P*L)+S,Math.round(_*L)+S+Math.floor(R/2),N/2,R/2)}}else for(_=0;_<k;_++)for(P=0;P<k;P++)if(y.isDark(_,P)&&!this.isInPositioninZone(_,P,M)){x.fillStyle=i;N=Math.ceil((P+1)*L)-Math.floor(P*L),R=Math.ceil((_+1)*L)-Math.floor(_*L);x.fillRect(Math.round(P*L)+S,Math.round(_*L)+S,N,R)}for(var O=0;O<3;O++){var D=M[O],F=(_=D.row,P=D.col,v),j=void 0;Array.isArray(F)&&(F=F[O]),"number"==typeof F&&(F=[F,F,F,F]),j=p?Array.isArray(p)?p[O]:p:i,this.drawPositioningPattern(x,L,S,_,P,j,F)}if(l){var z=new Image;n&&(z.crossOrigin="Anonymous"),z.onload=function(e){x.save();var r=m||.2*g,t=b||r,a=(g-r)/2,n=(g-t)/2;if(d||C){x.beginPath(),x.strokeStyle=o,x.fillStyle=o;var i=r+2*C,l=t+2*C,u=a+S-C,v=n+S-C;if("circle"===f){var p=u+i/2,h=v+l/2;x.ellipse(p,h,i/2,l/2,0,0,2*Math.PI),x.stroke(),x.fill()}else x.fillRect(u,v,i,l)}x.globalAlpha=s,x.drawImage(z,a+S,n+S,r,t),x.restore(),c&&c(e)},z.src=l}},r.prototype.render=function(){var e,r=+this.props.size+2*+this.props.quietZone;return Di.createElement("canvas",{id:null!==(e=this.props.id)&&void 0!==e?e:"react-qrcode-logo",height:r,width:r,style:Ai({height:r+"px",width:r+"px"},this.props.style),ref:this.canvasRef})},r.defaultProps={value:"https://reactjs.org/",ecLevel:"M",enableCORS:!1,size:150,quietZone:10,bgColor:"#FFFFFF",fgColor:"#000000",logoOpacity:1,qrStyle:"squares",eyeRadius:[0,0,0],logoPaddingStyle:"square"},r}(Di.Component);Ni=Li.QRCode=Fi;const ji=({enableLink:t=!0,label:a="Secured by",onLinkClick:n})=>{const o=t?{fill:'url("#logo-gradient")'}:{},i=r("svg",{width:62,height:23,viewBox:"0 0 83 31",xmlns:"http://www.w3.org/2000/svg",children:[e("defs",{children:r("linearGradient",{id:"logo-gradient",x1:"-100%",y1:"0%",x2:"100%",y2:"0%",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0%",stopColor:"#402FC3"}),e("stop",{offset:"33%",stopColor:"#C970FF"}),e("stop",{offset:"67%",stopColor:"#C970FF"}),e("stop",{offset:"100%",stopColor:"#402FC3"}),e("animate",{attributeName:"x1",from:"-100%",to:"100%",dur:"4s",repeatCount:"indefinite"}),e("animate",{attributeName:"x2",from:"0%",to:"200%",dur:"4s",repeatCount:"indefinite"})]})}),r("g",{children:[e("path",{d:"M45.1797 20.8929H47.7932V8.70022H44.1379L41.1771 16.3047L38.2163 8.70022H34.5792V20.8929H37.1745V12.1186L40.6105 20.8929H41.7437L45.1797 12.1186V20.8929Z"}),e("path",{d:"M55.4597 20.8929H57.7808V15.1896C57.7808 12.6487 55.9349 11.8444 53.9245 11.8444C52.5354 11.8444 51.1464 12.2831 50.0681 13.2336L50.9454 14.7874C51.6947 14.0928 52.572 13.7455 53.5224 13.7455C54.6921 13.7455 55.4597 14.3304 55.4597 15.2262V16.4509C54.8748 15.738 53.8331 15.3724 52.6634 15.3724C51.2561 15.3724 49.5929 16.1219 49.5929 18.1875C49.5929 20.1617 51.2561 21.1123 52.6634 21.1123C53.8148 21.1123 54.8566 20.6918 55.4597 19.9789V20.8929ZM55.4597 18.7725C55.0759 19.2843 54.3448 19.5402 53.5955 19.5402C52.6816 19.5402 51.9323 19.0649 51.9323 18.2423C51.9323 17.4015 52.6816 16.9079 53.5955 16.9079C54.3448 16.9079 55.0759 17.1638 55.4597 17.6757V18.7725Z"}),e("path",{d:"M59.9003 23.1596C60.9969 24.1285 62.1849 24.4758 63.7019 24.4758C65.8768 24.4758 68.4721 23.6532 68.4721 20.2897V12.0637H66.1327V13.1971C65.4199 12.3014 64.4695 11.8444 63.4094 11.8444C61.1797 11.8444 59.5165 13.453 59.5165 16.3412C59.5165 19.2843 61.198 20.8381 63.4094 20.8381C64.4878 20.8381 65.4382 20.3262 66.1327 19.4488V20.3445C66.1327 22.0811 64.8167 22.5747 63.7019 22.5747C62.587 22.5747 61.6549 22.2639 60.9421 21.4779L59.9003 23.1596ZM66.1327 17.7671C65.7489 18.3337 64.9081 18.7725 64.1405 18.7725C62.8246 18.7725 61.9108 17.8585 61.9108 16.3412C61.9108 14.824 62.8246 13.91 64.1405 13.91C64.9081 13.91 65.7489 14.3304 66.1327 14.9154V17.7671Z"}),e("path",{d:"M71.9256 10.7659C72.6933 10.7659 73.3147 10.1443 73.3147 9.37658C73.3147 8.60882 72.6933 7.9873 71.9256 7.9873C71.1763 7.9873 70.5366 8.60882 70.5366 9.37658C70.5366 10.1443 71.1763 10.7659 71.9256 10.7659ZM70.7742 20.8929H73.0953V12.0637H70.7742V20.8929Z"}),e("path",{d:"M74.8303 16.4692C74.8303 19.1929 76.7859 21.1123 79.5092 21.1123C81.3185 21.1123 82.4151 20.3262 83 19.5037L81.483 18.0961C81.0627 18.6811 80.423 19.0467 79.6188 19.0467C78.2115 19.0467 77.2246 18.0047 77.2246 16.4692C77.2246 14.9337 78.2115 13.91 79.6188 13.91C80.423 13.91 81.0627 14.2573 81.483 14.8606L83 13.453C82.4151 12.6304 81.3185 11.8444 79.5092 11.8444C76.7859 11.8444 74.8303 13.7638 74.8303 16.4692Z"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7002 -5.55184e-07C14.0256 1.62362 15.4875 3.13142 17.0683 4.50592C16.0151 7.92275 15.4481 11.5529 15.4481 15.3154C15.4481 19.078 16.0151 22.7082 17.0684 26.125C15.4876 27.4995 14.0257 29.0073 12.7003 30.6309C11.375 29.0075 9.91333 27.4998 8.33271 26.1255C9.38605 22.7085 9.95313 19.0782 9.95313 15.3154C9.95313 11.5527 9.38605 7.92237 8.3327 4.50537C9.9133 3.13103 11.375 1.6234 12.7002 -5.55184e-07ZM5.3107 23.7627C3.63771 22.5899 1.86221 21.5534 0.000311902 20.6694C0.516837 18.976 0.794702 17.1784 0.794702 15.316C0.794702 13.4532 0.516736 11.6553 3.00821e-05 9.9616C1.86203 9.07753 3.63762 8.04101 5.3107 6.86817C5.95048 9.57999 6.28902 12.4082 6.28902 15.3154C6.28902 18.2227 5.95049 21.0509 5.3107 23.7627ZM19.1114 15.3154C19.1114 18.2227 19.4499 21.051 20.0897 23.7628C21.763 22.5898 23.5388 21.5531 25.4011 20.669C24.8847 18.9757 24.6069 17.1783 24.6069 15.3159C24.6069 13.4534 24.8848 11.6557 25.4014 9.96213C23.539 9.07794 21.7631 8.04124 20.0897 6.86817C19.4499 9.57999 19.1114 12.4082 19.1114 15.3154Z"})]})]}),l=r(We,{className:xe({display:"flex",justifyContent:"center",alignItems:"center",fill:"ink.50",_dark:{fill:"ink.70"},_hover:{...o},_active:{...o},_focus:{...o}}),children:[e("p",{className:xe({color:"ink.50",_dark:{color:"ink.70"},_groupHover:t?{color:"text.tertiary"}:{},fontSize:"xs",mr:2}),children:a}),i]});return r("div",{className:xe({cursor:t?"pointer":"default"})+" group",children:[t&&e("a",{onClick:n,tabIndex:0,"aria-label":"Secured by Magic",href:"https://magic.link/docs/home/faqs/wallet-end-users",target:"_blank",rel:"noopener noreferrer",children:l}),!t&&l]})};ji.displayName="SecuredByMagic";const zi=({children:t,showLogo:a=!0,...n})=>r(Xe,{alignItems:"center",className:xe({width:"full",p:8}),children:[t,a&&e(ji,{...n})]}),Bi=Jo("div"),Vi=Jo("div"),Hi=Jo("div"),Wi=Object.assign(({children:t,position:a="absolute"})=>Qo(t,t=>{var n,o;return r(Qe,{alignItems:"center",justifyContent:"space-between",className:xe({"& >":{_first:{minWidth:8},_last:{minWidth:8}},position:a,p:4,left:0,right:0,top:0,width:"full"}),children:[null!==(n=t.get(Vi))&&void 0!==n?n:e(ze,{}),t.get(Bi),null!==(o=t.get(Hi))&&void 0!==o?o:e(ze,{})]})}),{Content:Bi,LeftAction:Vi,RightAction:Hi}),Ui=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),e("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),e("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.44772 2.44772 5 3 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H3C2.44772 7 2 6.55228 2 6ZM2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12ZM3 17C2.44772 17 2 17.4477 2 18C2 18.5523 2.44772 19 3 19H21C21.5523 19 22 18.5523 22 18C22 17.4477 21.5523 17 21 17H3Z",fill:"currentColor"})]})},Yi=Jo("div"),Zi=Jo("div"),Gi=Jo("div"),qi=Object.assign(({children:a,placement:n="right",isOpen:o=!1})=>{const[i,l]=s(o),[d,u]=s(i),p=c(null),f="left"===n;return v(()=>{l(o)},[o]),v(()=>{let e;return i?e=setTimeout(()=>u(!0),10):u(!1),()=>clearTimeout(e)},[i]),v(()=>{const e=e=>{p.current&&!p.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[l]),Qo(a,a=>r(t,{children:[e(bi,{onPress:()=>l(e=>!e),textStyle:"neutral",variant:"text",children:e(bi.TrailingIcon,{children:e(Ui,{})})}),e(ze,{position:"absolute",display:i?"block":"none",h:"full",bottom:0,left:0,right:0,bg:"text.primary/20",_dark:{bg:"rgba(0, 0, 0, .7)"}}),r(Ye,{ref:p,position:"absolute",transform:d?"translateX(0)":f?"translateX(-100%)":"translateX(100%)",transition:"transform 0.3s",top:0,bottom:0,...f?{left:0}:{right:0},bg:"surface.primary",_dark:{bg:"surface.secondary"},...f?{roundedRight:"2xl"}:{roundedLeft:"2xl"},zIndex:10,justifyContent:"space-between",p:4,pb:6,w:80,children:[r(Ye,{gap:6,children:[e(Ye,{h:"full",justifyContent:"space-between",children:a.get(Yi)}),e(or,{color:"surface.quaternary"}),e(Ye,{children:a.get(Zi)})]}),a.get(Gi)]})]}))},{Header:Yi,Content:Zi,Footer:Gi}),Xi=({animate:e,show:r,onHidden:t,onShown:a})=>{const[n,o]=s(r),i=d(()=>a(),[]),l=d(()=>{o(!1),t()},[]);return v(()=>{r?o(!0):e||o(!1)},[r]),{displayed:n,onShow:i,onHide:l}},Ki=Me({slots:["content","wrapper"],base:{content:{height:"full",width:"full",boxSizing:"border-box"},wrapper:{height:"full",width:"full",bg:"surface.primary",position:"relative",overflow:"auto",scrollbarWidth:"none"}},variants:{fullscreen:{true:{wrapper:{height:"100vh",width:"100vw"}},false:{wrapper:{"@media (min-width: 48rem)":{top:12,mx:"auto",width:"25rem",height:"fit-content",boxShadow:"0px 12px 56px {colors.ink.70/15}",borderRadius:"container",_dark:{boxShadow:"none"}}}}},animate:{false:{wrapper:{animationName:"none",scale:1}}},isOpen:{true:{}},paddingType:{none:{wrapper:{p:0}},sm:{wrapper:{p:2,pb:0}},md:{wrapper:{p:4,pb:0}},lg:{wrapper:{p:8,pb:0}}},showBorder:{true:{wrapper:{"@media (min-width: 48rem)":{_dark:{borderWidth:1,borderBlock:"solid",borderColor:"neutral.secondary"}}}}},isMobileBrowser:{true:{}},isWidget:{true:{wrapper:{height:"auto","@media (min-width: 48rem)":{top:0}}}}},compoundVariants:[{animate:!0,isOpen:!0,css:{wrapper:{animationFillMode:"forwards",animationName:"scaleIn",animationDuration:"250ms",_motionReduce:{scale:1}}}},{animate:!0,isOpen:!1,css:{wrapper:{animationFillMode:"forwards",animationName:"scaleOut",animationDuration:"150ms",_motionReduce:{scale:1}}}},{fullscreen:!0,isMobileBrowser:!0,css:{wrapper:{"@media only screen and (max-width: 767px)":{height:"100dvh"}}}},{fullscreen:!1,isWidget:!0,css:{wrapper:{maxWidth:"25rem",mx:"auto",borderRadius:"container",_dark:{borderWidth:1,borderBlock:"solid",borderColor:"neutral.secondary"}}}}],defaultVariants:{animate:!0,isOpen:!0,paddingType:"none"}}),Qi=(()=>{if(typeof navigator>"u")return!1;const e=navigator.userAgent;return/Mobi|Android|iPhone|iPad/i.test(e)})(),Ji=({animate:r=!0,paddingType:t="none",gap:a=2.5,isOpen:n=!0,onAnimated:o=()=>{},onClosed:i=()=>{},showBorder:l=!0,fullscreen:s=!1,isWidget:c=!1,children:d})=>{const u=Ki({animate:r,isOpen:n,paddingType:t,showBorder:l,fullscreen:s,isWidget:c,isMobileBrowser:Qi}),{displayed:v,onHide:p,onShow:f}=Xi({animate:r,show:n,onHidden:i,onShown:o});return v?e("div",{className:u.wrapper,onAnimationEnd:n?f:p,children:e(Xe,{alignItems:"center",gap:a,className:u.content,children:d})}):null};Ji.displayName="Modal";const $i=Me({slots:["bg","container"],base:{bg:{height:"full",width:"full",pointerEvents:"all",position:"fixed",top:0,left:0},container:{height:"100vh",width:"100vw",maxWidth:"100rem",position:"relative",margin:"0 auto","@media (min-width: 48rem)":{height:"fit-content"}}},variants:{fullscreen:{true:{container:{maxWidth:"none"}}},animate:{false:{bg:{animationName:"none"}}},backgroundType:{blurred:{bg:{backdropBlur:"0.375rem",backdropFilter:"auto"}},solid:{bg:{backgroundColor:"surface.tertiary"}},transparent:{},none:{}},hide:{false:{}}},compoundVariants:[{animate:!0,hide:!1,css:{bg:{animationFillMode:"forwards",animationName:"fadeIn",animationDuration:"400ms"}}},{animate:!0,hide:!0,css:{bg:{animationFillMode:"forwards",animationName:"fadeOut",animationDuration:"400ms"}}}],defaultVariants:{animate:!0,backgroundType:"none",hide:!1}}),el=({animate:t=!0,backgroundType:a="none",hide:n=!1,fullscreen:o=!1,onAnimated:i=()=>{},onHidden:l=()=>{},children:s})=>{const c=$i({animate:t,backgroundType:a,hide:n,fullscreen:o}),{displayed:d,onHide:u,onShow:v}=Xi({animate:t,show:!n,onHidden:l,onShown:i});if(!d)return null;const p="none"!==a;return r(Xe,{alignItems:"center",className:c.container,children:[p&&e("div",{className:c.bg,onAnimationEnd:n?u:v}),s]})};el.displayName="Overlay";const rl=({title:t,titleId:a,...n})=>r("svg",{width:78,height:24,viewBox:"0 0 78 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M9.41316 1.84616H3.41316C3.02854 1.84616 2.64393 2.15385 2.567 2.53847L0.182389 17.9231C0.105466 18.2308 0.336235 18.4615 0.643928 18.4615H3.49008C3.8747 18.4615 4.25931 18.1539 4.33624 17.7692L4.95162 13.6154C5.02854 13.2308 5.33624 12.9231 5.79777 12.9231H7.72085C11.6439 12.9231 13.9516 11 14.567 7.23078C14.7978 5.61539 14.567 4.3077 13.7978 3.38462C12.9516 2.38462 11.4132 1.84616 9.41316 1.84616ZM10.1055 7.46155C9.79777 9.61539 8.10547 9.61539 6.567 9.61539H5.64393L6.25931 5.61539C6.25931 5.38462 6.49008 5.23078 6.72085 5.23078H7.10547C8.18239 5.23078 9.18239 5.23078 9.72085 5.84616C10.1055 6.15385 10.2593 6.69232 10.1055 7.46155Z",fill:"#003087"}),e("path",{d:"M27.2593 7.38462H24.4131C24.1824 7.38462 23.9516 7.53846 23.9516 7.76923L23.7978 8.53846L23.567 8.23077C22.9516 7.30769 21.567 7 20.1824 7C17.0285 7 14.3362 9.38461 13.7978 12.7692C13.4901 14.4615 13.8747 16.0769 14.8747 17.1538C15.7208 18.1538 17.0285 18.6154 18.4901 18.6154C21.0285 18.6154 22.4901 17 22.4901 17L22.3362 17.7692C22.2593 18.0769 22.4901 18.3846 22.7978 18.3846H25.4131C25.7978 18.3846 26.1824 18.0769 26.2593 17.6923L27.7978 7.84615C27.8747 7.69231 27.567 7.38462 27.2593 7.38462ZM23.3362 12.9231C23.0285 14.5385 21.7978 15.6923 20.1055 15.6923C19.2593 15.6923 18.6439 15.4615 18.1824 14.9231C17.7208 14.3846 17.567 13.6923 17.7208 12.9231C17.9516 11.3077 19.3362 10.1538 20.9516 10.1538C21.7978 10.1538 22.4131 10.4615 22.8747 10.9231C23.2593 11.4615 23.4131 12.1538 23.3362 12.9231Z",fill:"#003087"}),e("path",{d:"M42.5669 7.38461H39.7207C39.413 7.38461 39.1823 7.53846 39.0284 7.76923L35.0284 13.6154L33.3361 8C33.2592 7.61538 32.8746 7.38461 32.5669 7.38461H29.7207C29.413 7.38461 29.1053 7.69231 29.2592 8.07692L32.413 17.3846L29.413 21.5385C29.1823 21.8462 29.413 22.3077 29.7976 22.3077H32.6438C32.9515 22.3077 33.1823 22.1538 33.3361 21.9231L42.9515 8.07692C43.1823 7.84615 42.9515 7.38461 42.5669 7.38461Z",fill:"#003087"}),e("path",{d:"M52.1053 1.84616H46.1053C45.7207 1.84616 45.3361 2.15385 45.2591 2.53847L42.8745 17.8462C42.7976 18.1539 43.0284 18.3846 43.3361 18.3846H46.413C46.7207 18.3846 46.9515 18.1539 46.9515 17.9231L47.6438 13.5385C47.7207 13.1539 48.0284 12.8462 48.4899 12.8462H50.413C54.3361 12.8462 56.6438 10.9231 57.2591 7.15385C57.4899 5.53847 57.2591 4.23078 56.4899 3.3077C55.5668 2.38462 54.1053 1.84616 52.1053 1.84616ZM52.7976 7.46154C52.4899 9.61539 50.7976 9.61539 49.2591 9.61539H48.3361L48.9515 5.61539C48.9515 5.38462 49.1822 5.23078 49.413 5.23078H49.7976C50.8745 5.23078 51.8745 5.23078 52.413 5.84616C52.7976 6.15385 52.8745 6.69231 52.7976 7.46154Z",fill:"#009CDE"}),e("path",{d:"M69.9514 7.38462H67.1053C66.8745 7.38462 66.6437 7.53846 66.6437 7.76923L66.4899 8.53846L66.2591 8.23077C65.6437 7.30769 64.2591 7 62.8745 7C59.7207 7 57.0284 9.38461 56.4899 12.7692C56.1822 14.4615 56.5668 16.0769 57.5668 17.1538C58.413 18.1538 59.7207 18.6154 61.1822 18.6154C63.7207 18.6154 65.1822 17 65.1822 17L65.0284 17.7692C64.9514 18.0769 65.1822 18.3846 65.4899 18.3846H68.1053C68.4899 18.3846 68.8745 18.0769 68.9514 17.6923L70.4899 7.84615C70.4899 7.69231 70.2591 7.38462 69.9514 7.38462ZM65.9514 12.9231C65.6437 14.5385 64.413 15.6923 62.7207 15.6923C61.8745 15.6923 61.2591 15.4615 60.7976 14.9231C60.3361 14.3846 60.1822 13.6923 60.3361 12.9231C60.5668 11.3077 61.9514 10.1538 63.5668 10.1538C64.413 10.1538 65.0284 10.4615 65.4899 10.9231C65.9514 11.4615 66.1053 12.1538 65.9514 12.9231Z",fill:"#009CDE"}),e("path",{d:"M73.3363 2.23078L70.8748 17.8462C70.7978 18.1539 71.0286 18.3846 71.3363 18.3846H73.7978C74.1825 18.3846 74.5671 18.0769 74.644 17.6923L77.1055 2.38462C77.1825 2.07693 76.9517 1.84616 76.644 1.84616H73.8748C73.5671 1.84616 73.4132 2.00001 73.3363 2.23078Z",fill:"#009CDE"})]}),tl=o((t,a)=>{const{disabled:n,validating:o}=t;return e(ho,{ref:a,className:xe({bg:"#ffc439",outlineColor:"#ffc439",border:"1px solid transparent",px:6,py:2.5}),"aria-disabled":n,shadow:!0,...t,children:o?e(ko,{size:24,strokeWidth:2.5,inverted:!0}):r(Qe,{w:"full",gap:1,justifyContent:"center",children:[e(Do,{fontWeight:"semibold",styles:{color:lr("colors.ink.90")},children:"Pay with"}),e(ze,{mt:.5,children:e(rl,{width:60})})]})})});tl.displayName="PayPalButton";const al=({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M22.556 12.2409C22.556 11.3365 22.4826 10.6766 22.3238 9.99219H11.9968V14.074H18.0585C17.9364 15.0884 17.2764 16.6161 15.8098 17.6426L15.7893 17.7793L19.0545 20.3088L19.2807 20.3314C21.3583 18.4126 22.556 15.5895 22.556 12.2409Z",fill:"#4285F4"}),e("path",{d:"M11.9987 23C14.9684 23 17.4615 22.0223 19.2825 20.3358L15.8117 17.6471C14.8829 18.2948 13.6363 18.747 11.9987 18.747C9.09006 18.747 6.62139 16.8283 5.74137 14.1763L5.61238 14.1873L2.21719 16.8148L2.17279 16.9383C3.98152 20.5313 7.69678 23 11.9987 23Z",fill:"#34A853"}),e("path",{d:"M5.74179 14.1771C5.5096 13.4927 5.37521 12.7594 5.37521 12.0017C5.37521 11.2439 5.5096 10.5107 5.72958 9.82631L5.72343 9.68055L2.28569 7.01077L2.17321 7.06427C1.42775 8.55528 1 10.2296 1 12.0017C1 13.7738 1.42775 15.448 2.17321 16.939L5.74179 14.1771Z",fill:"#FBBC05"}),e("path",{d:"M11.9987 5.25296C14.0641 5.25296 15.4572 6.14511 16.2517 6.89066L19.3558 3.85977C17.4494 2.0877 14.9684 1 11.9987 1C7.69678 1 3.98152 3.46867 2.17279 7.06169L5.72916 9.82373C6.62139 7.17172 9.09006 5.25296 11.9987 5.25296Z",fill:"#EB4335"})]});var nl;(nl||(nl={})).GOOGLE="google",e(al,{});const ol=({width:r="100px",height:t="20px",speed:a="1.5s",borderRadius:n="24px",backgroundColor:o})=>e(ze,{style:{width:r,height:t,borderRadius:n,backgroundColor:o},bg:"neutral.tertiary",overflow:"hidden",position:"relative",_dark:{bg:"surface.primary"},children:e(ze,{style:{animation:`slideRight ${a} infinite ease-in-out`},w:"full",h:"full",position:"absolute",top:0,left:"-50%",transform:"skewX(-20deg)",backgroundImage:"linear-gradient(90deg, transparent,rgba(0, 0, 0, .1), transparent)",_dark:{backgroundImage:"linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent)"}})}),il=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2408 13.3492C17.6002 12.9299 18.2315 12.8813 18.6508 13.2407C19.0701 13.6002 19.1187 14.2315 18.7593 14.6508L12.7593 21.6508C12.5693 21.8724 12.2919 22 12 22C11.7081 22 11.4307 21.8724 11.2408 21.6508L5.24076 14.6508C4.88133 14.2315 4.9299 13.6002 5.34922 13.2407C5.76855 12.8813 6.39985 12.9299 6.75927 13.3492L11 18.2968L11 3C11 2.44772 11.4477 2 12 2C12.5523 2 13 2.44772 13 3L13 18.2967L17.2408 13.3492Z",fill:"currentColor"})]})},ll=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6508 6.75927C11.0701 6.39985 11.1187 5.76855 10.7593 5.34923C10.3998 4.9299 9.76853 4.88134 9.34921 5.24076L2.34921 11.2408C2.12756 11.4307 2 11.7081 2 12C2 12.2919 2.12756 12.5693 2.34921 12.7593L9.34921 18.7593C9.76853 19.1187 10.3998 19.0701 10.7593 18.6508C11.1187 18.2315 11.0701 17.6002 10.6508 17.2408L5.70324 13H21C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11H5.70328L10.6508 6.75927Z",fill:"currentColor"})]})},sl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3492 6.75927C12.9299 6.39985 12.8813 5.76855 13.2407 5.34923C13.6002 4.9299 14.2315 4.88134 14.6508 5.24076L21.6508 11.2408C21.8724 11.4307 22 11.7081 22 12C22 12.2919 21.8724 12.5693 21.6508 12.7593L14.6508 18.7593C14.2315 19.1187 13.6002 19.0701 13.2407 18.6508C12.8813 18.2315 12.9299 17.6002 13.3492 17.2408L18.2968 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H18.2967L13.3492 6.75927Z",fill:"currentColor"})]})},cl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.98355 14.1589C5.67215 12.9836 5.67215 11.0163 6.98355 9.84113L14.3326 3.25527C14.7439 2.88669 15.3761 2.92132 15.7447 3.33261C16.1133 3.74391 16.0787 4.37613 15.6674 4.74471L8.31831 11.3306C7.8939 11.7109 7.8939 12.2891 8.31831 12.6694L15.6674 19.2553C16.0787 19.6239 16.1133 20.2561 15.7447 20.6674C15.3761 21.0787 14.7439 21.1133 14.3326 20.7447L6.98355 14.1589Z",fill:"currentColor"})]})},dl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 2C4.23858 2 2 4.23858 2 7V15H1C0.447715 15 0 15.4477 0 16V17C0 19.7614 2.23858 22 5 22H19C21.7614 22 24 19.7614 24 17V16C24 15.4477 23.5523 15 23 15H22V7C22 4.23858 19.7614 2 17 2H7ZM20 15V7C20 5.34315 18.6569 4 17 4H7C5.34315 4 4 5.34315 4 7V15H7.5C7.70188 15 7.89903 15.0611 8.06553 15.1753L9.30432 16.0247C9.47082 16.1389 9.66797 16.2 9.86985 16.2H14.2984C14.5255 16.2 14.7458 16.1227 14.9231 15.9809L15.8753 15.2191C16.0526 15.0773 16.2729 15 16.5 15H20ZM5 20C3.34315 20 2 18.6569 2 17H7.19008L8.17326 17.6742C8.67275 18.0167 9.26421 18.2 9.86985 18.2H14.2984C14.9797 18.2 15.6406 17.9682 16.1725 17.5426L16.8508 17H22C22 18.6569 20.6569 20 19 20H5ZM10.8321 12.5547C11.1384 12.0952 11.0142 11.4743 10.5547 11.168L8.80278 10L10.5547 8.83207C11.0142 8.52571 11.1384 7.90484 10.8321 7.44532C10.5257 6.98579 9.90483 6.86161 9.4453 7.16797L6.4453 9.16797C6.1671 9.35343 6 9.66566 6 10C6 10.3344 6.1671 10.6466 6.4453 10.8321L9.4453 12.8321C9.90483 13.1384 10.5257 13.0142 10.8321 12.5547ZM13.4453 11.168C12.9858 11.4743 12.8616 12.0952 13.1679 12.5547C13.4743 13.0142 14.0952 13.1384 14.5547 12.8321L17.5547 10.8321C17.8329 10.6466 18 10.3344 18 10C18 9.66566 17.8329 9.35343 17.5547 9.16797L14.5547 7.16797C14.0952 6.86161 13.4743 6.98579 13.1679 7.44532C12.8616 7.90484 12.9858 8.52571 13.4453 8.83207L15.1972 10L13.4453 11.168Z",fill:"currentColor"})]})},ul=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5.39073C9.05751 3.78449 10.3778 2.5 11.998 2.5H14.053L14.0166 6.47252C14.0013 8.14005 15.3489 9.5 17.0165 9.5H20.998V13.5C20.998 15.1569 19.6549 16.5 17.998 16.5H16H11.998C10.3412 16.5 8.99805 15.1569 8.99805 13.5V7H9V5.39073ZM7.02273 5C7.2736 2.47334 9.40537 0.5 11.998 0.5H15.3412C16.6673 0.5 17.939 1.02678 18.8767 1.96446L21.5336 4.62132C22.4713 5.559 22.998 6.83077 22.998 8.15685V13.5C22.998 16.2614 20.7595 18.5 17.998 18.5H17.9753C17.7245 21.0267 15.5927 23 13 23H7C4.23858 23 2 20.7614 2 18V10C2 7.23858 4.23858 5 7 5H7.02273ZM6.99805 7C5.34209 7.00106 4 8.3438 4 10V18C4 19.6569 5.34315 21 7 21H13C14.4865 21 15.7205 19.9189 15.9585 18.5H11.998C9.23662 18.5 6.99805 16.2614 6.99805 13.5V7ZM16.0165 6.49084L16.0523 2.58548C16.5818 2.71468 17.0707 2.9869 17.4625 3.37868L20.1194 6.03553C20.5245 6.44065 20.8018 6.94969 20.9253 7.5H17.0165C16.4606 7.5 16.0114 7.04668 16.0165 6.49084Z",fill:"currentColor"})]})},vl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24ZM7.24423 7.24408C7.56967 6.91864 8.09732 6.91864 8.42276 7.24408L12.0001 10.8214L15.5774 7.24408C15.9028 6.91864 16.4305 6.91864 16.7559 7.24408C17.0814 7.56952 17.0814 8.09717 16.7559 8.42261L13.1786 11.9999L16.7561 15.5774C17.0815 15.9028 17.0815 16.4305 16.7561 16.7559C16.4306 17.0814 15.903 17.0814 15.5775 16.7559L12.0001 13.1785L8.42261 16.7559C8.09717 17.0814 7.56952 17.0814 7.24408 16.7559C6.91864 16.4305 6.91864 15.9028 7.24408 15.5774L10.8215 11.9999L7.24423 8.42261C6.91879 8.09717 6.91879 7.56952 7.24423 7.24408Z",fill:"currentColor"})]})},pl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7593 1.01286C19.8032 0.913334 20.7881 1.38715 21.7056 2.31092C22.6252 3.23091 23.0901 4.21699 22.9858 5.25765C22.8868 6.24527 22.2941 7.02988 21.7042 7.61965L15.482 13.8409C15.2599 14.0628 14.9809 14.2375 14.7308 14.3606C14.4794 14.4843 14.1756 14.5959 13.8732 14.6391L13.8718 14.6393L11.498 14.9749L11.4956 14.9753C10.8018 15.0716 10.1076 14.8858 9.61095 14.3893C9.11427 13.8927 8.92841 13.1985 9.02479 12.5046L9.02513 12.5022L9.36082 10.1288L9.36102 10.1274C9.40422 9.825 9.51588 9.52118 9.63956 9.26987C9.76267 9.01972 9.93742 8.74076 10.1594 8.51879L16.3817 2.29759C16.9777 1.70167 17.7672 1.10743 18.7593 1.01286ZM18.9491 3.00383C18.6772 3.02975 18.3409 3.19717 17.9151 3.59637C17.9339 3.63918 17.9499 3.68383 17.9629 3.73016C18.2755 4.84553 19.1495 5.72512 20.2683 6.03667C20.316 6.04995 20.3619 6.06647 20.4058 6.08592C20.7998 5.66553 20.9684 5.33079 20.9958 5.05815C21.0203 4.81373 20.9522 4.3858 20.2901 3.72391M18.9491 3.00383C19.1934 2.98053 19.6228 3.05162 20.2875 3.72124L18.9491 3.00383ZM11.5735 9.93312L16.366 5.1415C16.8887 6.22815 17.7679 7.11131 18.8597 7.63554L14.0679 12.4265C14.0501 12.4443 13.9754 12.5033 13.8479 12.566C13.7222 12.6279 13.6247 12.6542 13.5909 12.6591L13.5904 12.6592L11.2205 12.9943L11.2194 12.9944C11.1326 13.0063 11.0798 12.9967 11.0551 12.9893C11.0423 12.9854 11.0348 12.9816 11.0311 12.9794C11.0275 12.9772 11.0258 12.9757 11.025 12.9749C11.0243 12.9742 11.0227 12.9725 11.0206 12.9689C11.0184 12.9652 11.0146 12.9577 11.0108 12.945C11.0033 12.9203 10.9937 12.8676 11.0056 12.7808L11.0058 12.7798L11.3409 10.4103L11.341 10.4099C11.3458 10.3763 11.3721 10.2788 11.434 10.153C11.4967 10.0255 11.5558 9.95088 11.5735 9.93312ZM3 6C3 4.34315 4.34315 3 6 3H12C12.5523 3 13 2.55228 13 2C13 1.44772 12.5523 1 12 1H6C3.23858 1 1 3.23858 1 6V18C1 20.7614 3.23858 23 6 23H18C20.7614 23 23 20.7614 23 18V12C23 11.4477 22.5523 11 22 11C21.4477 11 21 11.4477 21 12V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6Z",fill:"currentColor"})]})},fl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3C3.23858 3 1 5.23858 1 8V16C1 18.7614 3.23858 21 6 21H18C20.7614 21 23 18.7614 23 16V8C23 5.23858 20.7614 3 18 3H6ZM4.7087 5.29136C5.0998 5.10457 5.53769 5 6 5H18C18.4623 5 18.9002 5.10457 19.2913 5.29136L12.6585 11.0951C12.2815 11.425 11.7185 11.425 11.3415 11.0951L4.7087 5.29136ZM3.29235 6.70663C3.10494 7.09825 3 7.53687 3 8V16C3 17.6569 4.34315 19 6 19H18C19.6569 19 21 17.6569 21 16V8C21 7.53687 20.8951 7.09825 20.7076 6.70662C20.6919 6.72237 20.6755 6.73771 20.6585 6.75259L13.9755 12.6002C12.8444 13.5899 11.1556 13.5899 10.0245 12.6002L3.34149 6.75259C3.32449 6.73771 3.3081 6.72238 3.29235 6.70663Z",fill:"currentColor"})]})},gl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C3 4.34315 4.34315 3 6 3H12C12.5523 3 13 2.55228 13 2C13 1.44772 12.5523 1 12 1H6C3.23858 1 1 3.23858 1 6V18C1 20.7614 3.23858 23 6 23H18C20.7614 23 23 20.7614 23 18V12C23 11.4477 22.5523 11 22 11C21.4477 11 21 11.4477 21 12V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6ZM16.2 2C16.2 1.44772 16.6477 1 17.2 1H22C22.5522 1 23 1.44772 23 2V6.8C23 7.35228 22.5522 7.8 22 7.8C21.4477 7.8 21 7.35228 21 6.8V4.41431L13.7071 11.7072C13.3166 12.0977 12.6834 12.0977 12.2929 11.7072C11.9024 11.3166 11.9024 10.6835 12.2929 10.2929L19.5858 3H17.2C16.6477 3 16.2 2.55228 16.2 2Z",fill:"currentColor"})]})},hl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5229 6.47715 22 12 22C17.5229 22 22 17.5229 22 12C22 6.47715 17.5229 2 12 2Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 11.4477 0.447715 11 1 11H23C23.5523 11 24 11.4477 24 12C24 12.5523 23.5523 13 23 13H1C0.447715 13 0 12.5523 0 12Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 6.5C2.2 5.94772 2.64772 5.5 3.2 5.5H20.8C21.3523 5.5 21.8 5.94772 21.8 6.5C21.8 7.05228 21.3523 7.5 20.8 7.5H3.2C2.64772 7.5 2.2 7.05228 2.2 6.5Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 17.5C2.2 16.9477 2.64772 16.5 3.2 16.5H20.8C21.3523 16.5 21.8 16.9477 21.8 17.5C21.8 18.0523 21.3523 18.5 20.8 18.5H3.2C2.64772 18.5 2.2 18.0523 2.2 17.5Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.50347 1.16265C10.1745 0.481475 11.0187 0 11.9999 0C12.9811 0 13.8253 0.481475 14.4963 1.16265C15.1639 1.8403 15.7191 2.76958 16.1639 3.83721C17.0554 5.97684 17.5832 8.8634 17.5832 12C17.5832 15.1366 17.0554 18.0232 16.1639 20.1628C15.7191 21.2304 15.1639 22.1597 14.4963 22.8374C13.8253 23.5185 12.9811 24 11.9999 24C11.0187 24 10.1745 23.5185 9.50347 22.8374C8.83591 22.1597 8.28077 21.2304 7.83592 20.1628C6.94441 18.0232 6.41658 15.1366 6.41658 12C6.41658 8.8634 6.94441 5.97684 7.83592 3.83721C8.28077 2.76958 8.83591 1.8403 9.50347 1.16265ZM9.68208 4.60644C8.91475 6.44802 8.41658 9.06146 8.41658 12C8.41658 14.9385 8.91475 17.552 9.68208 19.3936C10.0666 20.3165 10.4991 20.9982 10.9283 21.4338C11.3539 21.8659 11.7154 22 11.9999 22C12.2844 22 12.6459 21.8659 13.0716 21.4338C13.5007 20.9982 13.9332 20.3165 14.3177 19.3936C15.0851 17.552 15.5832 14.9385 15.5832 12C15.5832 9.06146 15.0851 6.44802 14.3177 4.60644C13.9332 3.68346 13.5007 3.00183 13.0716 2.56622C12.6459 2.13413 12.2844 2 11.9999 2C11.7154 2 11.3539 2.13413 10.9283 2.56622C10.4991 3.00183 10.0666 3.68346 9.68208 4.60644Z",fill:"currentColor"})]})},ml=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M11.8666 5.73325C11.3716 5.73325 10.8968 5.53659 10.5467 5.18653C10.1967 4.83647 10 4.36169 10 3.86663C10 3.37157 10.1967 2.89678 10.5467 2.54672C10.8968 2.19666 11.3716 2 11.8666 2C12.3617 2 12.8365 2.19666 13.1865 2.54672C13.5366 2.89678 13.7333 3.37157 13.7333 3.86663C13.7333 4.36169 13.5366 4.83647 13.1865 5.18653C12.8365 5.53659 12.3617 5.73325 11.8666 5.73325Z",fill:"currentColor"}),e("path",{d:"M11.8666 13.8665C11.3716 13.8665 10.8968 13.6699 10.5467 13.3198C10.1967 12.9697 10 12.495 10 11.9999C10 11.5048 10.1967 11.0301 10.5467 10.68C10.8968 10.3299 11.3716 10.1333 11.8666 10.1333C12.3617 10.1333 12.8365 10.3299 13.1865 10.68C13.5366 11.0301 13.7333 11.5048 13.7333 11.9999C13.7333 12.495 13.5366 12.9697 13.1865 13.3198C12.8365 13.6699 12.3617 13.8665 11.8666 13.8665Z",fill:"currentColor"}),e("path",{d:"M10 20.1334C10 20.6284 10.1967 21.1032 10.5467 21.4533C10.8968 21.8033 11.3716 22 11.8666 22C12.3617 22 12.8365 21.8033 13.1865 21.4533C13.5366 21.1032 13.7333 20.6284 13.7333 20.1334C13.7333 19.6383 13.5366 19.1635 13.1865 18.8135C12.8365 18.4634 12.3617 18.2668 11.8666 18.2668C11.3716 18.2668 10.8968 18.4634 10.5467 18.8135C10.1967 19.1635 10 19.6383 10 20.1334Z",fill:"currentColor"})]})},bl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M10 15C9.44771 15 9 15.4477 9 16C9 16.5523 9.44771 17 10 17H14C14.5523 17 15 16.5523 15 16C15 15.4477 14.5523 15 14 15H10Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 7V9C3.23858 9 1 11.2386 1 14V18C1 20.7614 3.23858 23 6 23H18C20.7614 23 23 20.7614 23 18V14C23 11.2386 20.7614 9 18 9V7C18 3.68629 15.3137 1 12 1C8.68629 1 6 3.68629 6 7ZM12 3C9.79086 3 8 4.79086 8 7V9H16V7C16 4.79086 14.2091 3 12 3ZM6 11C4.34315 11 3 12.3431 3 14V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V14C21 12.3431 19.6569 11 18 11H6Z",fill:"currentColor"})]})},Cl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7103 0.248918C11.2866 -0.0829728 11.9961 -0.0829728 12.5725 0.248918L21.3507 5.31672C21.927 5.64861 22.2828 6.26469 22.2828 6.93046V17.068C22.2828 17.7338 21.927 18.3479 21.3507 18.6818L12.5725 23.7496C11.9961 24.0835 11.2866 24.0835 10.7103 23.7496L1.93208 18.6818C1.35574 18.3499 1 17.7338 1 17.068V6.93046C1 6.26469 1.35574 5.6506 1.93208 5.31672L10.7103 0.248918ZM11.3602 1.57251C11.4993 1.33204 11.8451 1.33204 11.9842 1.57251L20.8817 16.9846C21.0208 17.225 20.8479 17.5251 20.5697 17.5251H2.77274C2.49451 17.5251 2.32161 17.225 2.46073 16.9846L11.3582 1.57251H11.3602ZM16.1537 12.1155C16.1537 14.6196 14.1246 16.6487 11.6205 16.6487C9.11643 16.6487 7.08732 14.6196 7.08732 12.1155C7.08732 9.61143 9.11643 7.58232 11.6205 7.58232C14.1246 7.58232 16.1537 9.61143 16.1537 12.1155ZM9.75437 10.5614C9.75437 10.3885 9.89349 10.2494 10.0664 10.2494H13.1746C13.3475 10.2494 13.4867 10.3885 13.4867 10.5614V13.6696C13.4867 13.8425 13.3475 13.9817 13.1746 13.9817H10.0664C9.89349 13.9817 9.75437 13.8425 9.75437 13.6696V10.5614Z",fill:"currentColor"})]})},yl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6983 3.36856C18.6892 2.70507 19.8674 3.03265 20.4165 3.58246C20.9667 4.13335 21.2935 5.31535 20.6352 7.30603L20.6349 7.30692L17.449 16.8625L17.4489 16.863C16.9354 18.4058 16.3635 19.4846 15.8074 20.1579C15.2487 20.8344 14.798 21 14.5017 21C14.2053 21 13.7547 20.8344 13.1959 20.1579C12.6419 19.4871 12.0722 18.4139 11.5602 16.8803L10.8755 14.5387L14.7071 10.7071C15.0976 10.3166 15.0976 9.6834 14.7071 9.29288C14.3166 8.90235 13.6834 8.90235 13.2929 9.29288L9.46037 13.1254L7.12061 12.4416C5.58635 11.9296 4.51271 11.3606 3.84169 10.8074C3.16483 10.2493 3 9.80002 3 9.50524C3 9.21015 3.16515 8.75995 3.84249 8.20031C4.51624 7.64364 5.59547 7.07057 7.13862 6.55443L7.13935 6.55419L16.6983 3.36856ZM22.5337 7.93501C23.2939 5.637 23.1646 3.50385 21.8316 2.16915C20.4975 0.833267 18.3652 0.704914 16.066 1.47116L6.50602 4.65711L6.50503 4.65745C4.83378 5.21636 3.50214 5.88718 2.5686 6.65849C1.63855 7.42693 1 8.38888 1 9.50524C1 10.6219 1.63887 11.5833 2.56941 12.3505C3.50327 13.1205 4.83519 13.7891 6.50652 14.3451C6.51817 14.349 6.52989 14.3526 6.54167 14.3561L8.94354 15.058L9.64582 17.4595C9.64927 17.4713 9.65292 17.483 9.6568 17.4946C10.213 19.1659 10.8826 20.4977 11.6538 21.4315C12.4223 22.362 13.3849 23 14.5017 23C15.6184 23 16.581 22.362 17.3495 21.4315C18.1206 20.4978 18.7901 19.1662 19.3464 17.4951L19.3465 17.4946L22.533 7.93725L22.5337 7.93501Z",fill:"currentColor"})]})},wl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M8 21.0002H4C3.73478 21.0002 3.48043 20.8948 3.29289 20.7073C3.10536 20.5198 3 20.2654 3 20.0002V16.0002C3 15.735 2.89464 15.4806 2.70711 15.2931C2.51957 15.1055 2.26522 15.0002 2 15.0002C1.73478 15.0002 1.48043 15.1055 1.29289 15.2931C1.10536 15.4806 1 15.735 1 16.0002V20.0002C1 20.7958 1.31607 21.5589 1.87868 22.1215C2.44129 22.6841 3.20435 23.0002 4 23.0002H8C8.26522 23.0002 8.51957 22.8948 8.70711 22.7073C8.89464 22.5198 9 22.2654 9 22.0002C9 21.735 8.89464 21.4806 8.70711 21.2931C8.51957 21.1055 8.26522 21.0002 8 21.0002ZM22 15.0002C21.7348 15.0002 21.4804 15.1055 21.2929 15.2931C21.1054 15.4806 21 15.735 21 16.0002V20.0002C21 20.2654 20.8946 20.5198 20.7071 20.7073C20.5196 20.8948 20.2652 21.0002 20 21.0002H16C15.7348 21.0002 15.4804 21.1055 15.2929 21.2931C15.1054 21.4806 15 21.735 15 22.0002C15 22.2654 15.1054 22.5198 15.2929 22.7073C15.4804 22.8948 15.7348 23.0002 16 23.0002H20C20.7956 23.0002 21.5587 22.6841 22.1213 22.1215C22.6839 21.5589 23 20.7958 23 20.0002V16.0002C23 15.735 22.8946 15.4806 22.7071 15.2931C22.5196 15.1055 22.2652 15.0002 22 15.0002ZM20 1.00018H16C15.7348 1.00018 15.4804 1.10554 15.2929 1.29308C15.1054 1.48061 15 1.73497 15 2.00018C15 2.2654 15.1054 2.51975 15.2929 2.70729C15.4804 2.89483 15.7348 3.00018 16 3.00018H20C20.2652 3.00018 20.5196 3.10554 20.7071 3.29308C20.8946 3.48061 21 3.73497 21 4.00018V8.00018C21 8.2654 21.1054 8.51975 21.2929 8.70729C21.4804 8.89483 21.7348 9.00018 22 9.00018C22.2652 9.00018 22.5196 8.89483 22.7071 8.70729C22.8946 8.51975 23 8.2654 23 8.00018V4.00018C23 3.20453 22.6839 2.44147 22.1213 1.87886C21.5587 1.31625 20.7956 1.00018 20 1.00018ZM2 9.00018C2.26522 9.00018 2.51957 8.89483 2.70711 8.70729C2.89464 8.51975 3 8.2654 3 8.00018V4.00018C3 3.73497 3.10536 3.48061 3.29289 3.29308C3.48043 3.10554 3.73478 3.00018 4 3.00018H8C8.26522 3.00018 8.51957 2.89483 8.70711 2.70729C8.89464 2.51975 9 2.2654 9 2.00018C9 1.73497 8.89464 1.48061 8.70711 1.29308C8.51957 1.10554 8.26522 1.00018 8 1.00018H4C3.20435 1.00018 2.44129 1.31625 1.87868 1.87886C1.31607 2.44147 1 3.20453 1 4.00018V8.00018C1 8.2654 1.10536 8.51975 1.29289 8.70729C1.48043 8.89483 1.73478 9.00018 2 9.00018ZM10 5.00018H6C5.73478 5.00018 5.48043 5.10554 5.29289 5.29308C5.10536 5.48061 5 5.73497 5 6.00018V10.0002C5 10.2654 5.10536 10.5198 5.29289 10.7073C5.48043 10.8948 5.73478 11.0002 6 11.0002H10C10.2652 11.0002 10.5196 10.8948 10.7071 10.7073C10.8946 10.5198 11 10.2654 11 10.0002V6.00018C11 5.73497 10.8946 5.48061 10.7071 5.29308C10.5196 5.10554 10.2652 5.00018 10 5.00018ZM9 9.00018H7V7.00018H9V9.00018ZM14 11.0002H18C18.2652 11.0002 18.5196 10.8948 18.7071 10.7073C18.8946 10.5198 19 10.2654 19 10.0002V6.00018C19 5.73497 18.8946 5.48061 18.7071 5.29308C18.5196 5.10554 18.2652 5.00018 18 5.00018H14C13.7348 5.00018 13.4804 5.10554 13.2929 5.29308C13.1054 5.48061 13 5.73497 13 6.00018V10.0002C13 10.2654 13.1054 10.5198 13.2929 10.7073C13.4804 10.8948 13.7348 11.0002 14 11.0002ZM15 7.00018H17V9.00018H15V7.00018ZM10 13.0002H6C5.73478 13.0002 5.48043 13.1055 5.29289 13.2931C5.10536 13.4806 5 13.735 5 14.0002V18.0002C5 18.2654 5.10536 18.5198 5.29289 18.7073C5.48043 18.8948 5.73478 19.0002 6 19.0002H10C10.2652 19.0002 10.5196 18.8948 10.7071 18.7073C10.8946 18.5198 11 18.2654 11 18.0002V14.0002C11 13.735 10.8946 13.4806 10.7071 13.2931C10.5196 13.1055 10.2652 13.0002 10 13.0002ZM9 17.0002H7V15.0002H9V17.0002ZM14 16.0002C14.2652 16.0002 14.5196 15.8948 14.7071 15.7073C14.8946 15.5198 15 15.2654 15 15.0002C15.2652 15.0002 15.5196 14.8948 15.7071 14.7073C15.8946 14.5198 16 14.2654 16 14.0002C16 13.735 15.8946 13.4806 15.7071 13.2931C15.5196 13.1055 15.2652 13.0002 15 13.0002H14C13.7348 13.0002 13.4804 13.1055 13.2929 13.2931C13.1054 13.4806 13 13.735 13 14.0002V15.0002C13 15.2654 13.1054 15.5198 13.2929 15.7073C13.4804 15.8948 13.7348 16.0002 14 16.0002ZM18 13.0002C17.7348 13.0002 17.4804 13.1055 17.2929 13.2931C17.1054 13.4806 17 13.735 17 14.0002V17.0002C16.7348 17.0002 16.4804 17.1055 16.2929 17.2931C16.1054 17.4806 16 17.735 16 18.0002C16 18.2654 16.1054 18.5198 16.2929 18.7073C16.4804 18.8948 16.7348 19.0002 17 19.0002H18C18.2652 19.0002 18.5196 18.8948 18.7071 18.7073C18.8946 18.5198 19 18.2654 19 18.0002V14.0002C19 13.735 18.8946 13.4806 18.7071 13.2931C18.5196 13.1055 18.2652 13.0002 18 13.0002ZM14 17.0002C13.8022 17.0002 13.6089 17.0588 13.4444 17.1687C13.28 17.2786 13.1518 17.4348 13.0761 17.6175C13.0004 17.8002 12.9806 18.0013 13.0192 18.1953C13.0578 18.3893 13.153 18.5674 13.2929 18.7073C13.4327 18.8471 13.6109 18.9424 13.8049 18.981C13.9989 19.0196 14.2 18.9998 14.3827 18.9241C14.5654 18.8484 14.7216 18.7202 14.8315 18.5558C14.9413 18.3913 15 18.198 15 18.0002C15 17.735 14.8946 17.4806 14.7071 17.2931C14.5196 17.1055 14.2652 17.0002 14 17.0002Z",fill:"currentColor"})]})},xl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C6.99489 3 3 7.02968 3 12C3 12.5523 2.55228 13 2 13C1.44772 13 1 12.5523 1 12C1 5.93033 5.88511 1 12 1C15.6319 1 18.3508 2.518 20.1418 4.01211C20.4554 4.27365 20.7414 4.53515 21 4.78871V2.56C21 2.00772 21.4477 1.56 22 1.56C22.5523 1.56 23 2.00772 23 2.56V7.56C23 8.11228 22.5523 8.56 22 8.56H17.56C17.0077 8.56 16.56 8.11228 16.56 7.56C16.56 7.00772 17.0077 6.56 17.56 6.56H19.9367C19.6339 6.23948 19.2751 5.89363 18.8607 5.54789C17.3192 4.262 15.0381 3 12 3ZM22 11C22.5523 11 23 11.4477 23 12C23 18.0723 18.0723 23 12 23C8.89272 23 6.44015 21.4364 4.81317 19.9607C4.56094 19.7319 4.32638 19.5034 4.11 19.2803V21.44C4.11 21.9923 3.66228 22.44 3.11 22.44C2.55772 22.44 2.11 21.9923 2.11 21.44V16.44C2.11 15.8877 2.55772 15.44 3.11 15.44H7.63C8.18228 15.44 8.63 15.8877 8.63 16.44C8.63 16.9923 8.18228 17.44 7.63 17.44H5.12977C5.42214 17.769 5.76564 18.1245 6.15683 18.4793C7.59485 19.7836 9.58728 21 12 21C16.9677 21 21 16.9677 21 12C21 11.4477 21.4477 11 22 11Z",fill:"currentColor"})]})},El=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 11.4477 3.44772 11 4 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H4C3.44772 13 3 12.5523 3 12Z",fill:"currentColor"})]})},kl=({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M13 13.235C13.6003 12.8898 14.0045 12.2421 14.0045 11.5C14.0045 10.3954 13.109 9.49999 12.0045 9.49999H11.9955C10.8909 9.49999 9.99548 10.3954 9.99548 11.5C9.99548 12.2421 10.3997 12.8899 11 13.235V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V13.235Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.79565 2.08066C11.1665 1.31906 12.8335 1.31906 14.2043 2.08066L20.3574 5.49903C21.3712 6.06226 22 7.13087 22 8.29065V13C22 18.5228 17.5228 23 12 23C6.47715 23 2 18.5228 2 13V8.29065C2 7.13087 2.62877 6.06226 3.6426 5.49903L9.79565 2.08066ZM13.2331 3.82898C12.4662 3.40295 11.5338 3.40295 10.7669 3.82898L4.61388 7.24734C4.23499 7.45784 4 7.85721 4 8.29065V13C4 17.4183 7.58172 21 12 21C16.4183 21 20 17.4183 20 13V8.29065C20 7.85721 19.765 7.45784 19.3861 7.24734L13.2331 3.82898Z",fill:"currentColor"})]})},Ll=({email:t})=>{const a=t.split("@");return r("span",{className:xe({overflowWrap:"break-word",wordBreak:"break-word",fontWeight:600}),children:[a[0],e("wbr",{}),"@",a[1]]})};Ll.displayName="EmailWbr";const Il=o((a,n)=>{const{address:o,onCopy:i,size:l="md",icon:c,fontColor:u="text.tertiary",fontWeight:p="normal",fontFamily:f="inherit"}=a,[g,h]=s(!1),m=`${o.slice(0,6)}...${o?.slice(-4)}`,b="sm"===l?16:20,C=d(()=>{i&&i(o),h(!0)},[o]);return v(()=>{if(g){const e=setTimeout(()=>{h(!1)},1500);return()=>clearTimeout(e)}},[g]),i?e(ho,{className:xe({fontSize:l,color:g?"positive.base":u,fontWeight:g?"medium":p,rounded:"button",fontVariant:"no-contextual",transition:"none",fontFamily:f}),onPress:C,ref:n,children:r(Qe,{gap:2,children:[g?c?"Copied":"Copied!":m,c&&e(t,{children:g?e(Lo,{width:b,height:b,color:lr("colors.positive.base")}):e(ul,{width:b,height:b,color:lr("colors.text.tertiary")})})]})}):e("span",{className:xe({fontSize:l,color:u,fontWeight:p,fontVariant:"no-contextual",fontFamily:f}),children:m})});Il.displayName="WalletAddress";var Sl=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54",{default:"(..) .... ....","/^11/":"(..) .... ....","/^15/":"(..) ... ....","/^(2|3|4|5)/":"(.) .... ....","/^9/":"(.) .... ....."},0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973",".... ...."],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) .....-...."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Cayman Islands","ky","1","... ... ....",4,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253",".. .. ...."],["Dominica","dm","1767"],["Dominican Republic","do","1","(...) ...-....",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251",".. ... ...."],["Faroe Islands","fo","298",".. .. .."],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594","... .. .. .."],["French Polynesia","pf","689",{"/^44/":".. .. ..","/^80[0-5]/":"... .. .. ..",default:".. .. .. .."}],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49","... ........."],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30"],["Greenland","gl","299",".. .. .."],["Grenada","gd","1473"],["Guadeloupe","gp","590","... .. .. ..",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965",".... ...."],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596","... .. .. .."],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262","... .. .. ..",1,["269","639"]],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",{"/^06/":"(.). .........","/^6/":". .........","/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":"(.).. ........","/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":".. ........","/^0/":"(.)... .......",default:"... ......."}],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968",".... ...."],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63","... ... ...."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","(...) ...-....",3,["787","939"]],["Qatar","qa","974",".... ...."],["Réunion","re","262","... .. .. ..",0],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Pierre & Miquelon","pm","508",{"/^708/":"... ... ...","/^8/":"... .. .. ..",default:".. .. .."}],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966",".. ... ...."],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971",{default:".. ... ....","/^5[024568]/":".. ... ....","/^[234679]/":". ... ...."}],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis & Futuna","wf","681",".. .. .."],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],Ml=(...e)=>e.filter(e=>!!e).join(" ").trim(),Tl=({addPrefix:e,rawClassNames:r})=>Ml(((...e)=>Ml(...e).split(" ").map(e=>`react-international-phone-${e}`).join(" "))(...e),...r),_l=e=>!!e&&/^\d+$/.test(e),Pl=e=>e.replace(/\D/g,""),Al=({phone:e,prefix:r})=>e?`${r}${Pl(e)}`:"";function Nl({value:e,country:r,insertDialCodeOnEmpty:t,trimNonDigitsEnd:a,countries:n,prefix:o,charAfterDialCode:i,forceDialCode:l,disableDialCodeAndPrefix:s,defaultMask:c,countryGuessingEnabled:d,disableFormatting:u}){let v=e;s&&(v=v.startsWith(`${o}`)?v:`${o}${r.dialCode}${v}`);let p=d?es({phone:v,countries:n,currentCountryIso2:r?.iso2}):void 0,f=p?.country??r,g=((e,r)=>{let t=!r.disableDialCodeAndPrefix&&r.forceDialCode,a=!r.disableDialCodeAndPrefix&&r.insertDialCodeOnEmpty,n=e,o=e=>r.trimNonDigitsEnd?e.trim():e;if(!n)return a&&!n.length||t?o(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`):o(n);if(n=Pl(n),n===r.dialCode&&!r.disableDialCodeAndPrefix)return o(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`);if(r.dialCode.startsWith(n)&&!r.disableDialCodeAndPrefix)return o(t?`${r.prefix}${r.dialCode}${r.charAfterDialCode}`:`${r.prefix}${n}`);if(!n.startsWith(r.dialCode)&&!r.disableDialCodeAndPrefix){if(t)return o(`${r.prefix}${r.dialCode}${r.charAfterDialCode}`);if(n.length<r.dialCode.length)return o(`${r.prefix}${n}`)}let{phoneLeftSide:i,phoneRightSide:l}=(()=>{let e=r.dialCode.length;return{phoneLeftSide:n.slice(0,e),phoneRightSide:n.slice(e)}})();return i=`${r.prefix}${i}${r.charAfterDialCode}`,l=(({value:e,mask:r,maskSymbol:t,offset:a=0,trimNonMaskCharsLeftover:n=!1})=>{if(e.length<a)return e;let o=e.slice(0,a),i=e.slice(a),l=o,s=0;for(let e of r.split("")){if(s>=i.length){if(!n&&e!==t){l+=e;continue}break}e===t?(l+=i[s],s+=1):l+=e}return l})({value:l,mask:r.mask,maskSymbol:r.maskChar,trimNonMaskCharsLeftover:r.trimNonDigitsEnd||r.disableDialCodeAndPrefix&&0===l.length}),r.disableDialCodeAndPrefix&&(i=""),o(`${i}${l}`)})(v,{prefix:o,mask:Ql({phone:v,country:f,defaultMask:c,disableFormatting:u}),maskChar:Fl,dialCode:f.dialCode,trimNonDigitsEnd:a,charAfterDialCode:i,forceDialCode:l,insertDialCodeOnEmpty:t,disableDialCodeAndPrefix:s}),h=d&&!p?.fullDialCodeMatch?r:f;return{phone:Al({phone:s?`${h.dialCode}${g}`:g,prefix:o}),inputValue:g,country:h}}var Rl=(e,{country:r,insertDialCodeOnEmpty:t,phoneBeforeInput:a,prefix:n,charAfterDialCode:o,forceDialCode:i,disableDialCodeAndPrefix:l,countryGuessingEnabled:s,defaultMask:c,disableFormatting:d,countries:u})=>{let v=e.nativeEvent,p=v.inputType,f=(e=>{if(e?.toLocaleLowerCase().includes("delete"))return e?.toLocaleLowerCase().includes("forward")?"forward":"backward"})(p),g=!!p?.startsWith("insertFrom"),h="insertText"===p,m=v?.data||void 0,b=e.target.value,C=e.target.selectionStart??0;if(p?.includes("history"))return{inputValue:a,phone:Al({phone:a,prefix:n}),cursorPosition:a.length,country:r};if(h&&!_l(m)&&b!==n)return{inputValue:a,phone:Al({phone:l?`${r.dialCode}${a}`:a,prefix:n}),cursorPosition:C-(m?.length??0),country:r};if(i&&!b.startsWith(`${n}${r.dialCode}`)&&!g){let e=b?a:`${n}${r.dialCode}${o}`;return{inputValue:e,phone:Al({phone:e,prefix:n}),cursorPosition:n.length+r.dialCode.length+o.length,country:r}}let{phone:y,inputValue:w,country:x}=Nl({value:b,country:r,trimNonDigitsEnd:"backward"===f,insertDialCodeOnEmpty:t,countryGuessingEnabled:s,countries:u,prefix:n,charAfterDialCode:o,forceDialCode:i,disableDialCodeAndPrefix:l,disableFormatting:d,defaultMask:c}),E=(({phoneBeforeInput:e,phoneAfterInput:r,phoneAfterFormatted:t,cursorPositionAfterInput:a,leftOffset:n=0,deletion:o})=>{if(a<n)return n;if(!e)return t.length;let i=null;for(let e=a-1;e>=0;e-=1)if(_l(r[e])){i=e;break}if(null===i){for(let e=0;e<r.length;e+=1)if(_l(t[e]))return e;return r.length}let l=0;for(let e=0;e<i;e+=1)_l(r[e])&&(l+=1);let s=0,c=0;for(let e=0;e<t.length&&(s+=1,_l(t[e])&&(c+=1),!(c>=l+1));e+=1);if("backward"!==o)for(;!_l(t[s])&&s<t.length;)s+=1;return s})({cursorPositionAfterInput:C,phoneBeforeInput:a,phoneAfterInput:b,phoneAfterFormatted:w,leftOffset:i?n.length+r.dialCode.length+o.length:0,deletion:f});return{phone:y,inputValue:w,cursorPosition:E,country:x}},Ol={size:20,overrideLastItemDebounceMS:-1};function Dl(e,r){let{size:t,overrideLastItemDebounceMS:a,onChange:n}={...Ol,...r},[o,l]=s(e),u=c([o]),v=c(0),p=(()=>{let e=c(),r=c(Date.now()),t=d(()=>{let t=Date.now(),a=e.current?t-r.current:void 0;return e.current=r.current,r.current=t,a},[]);return i(()=>({check:t}),[t])})(),f=d((e,r)=>{let o=u.current[v.current];if(e===o||"object"==typeof e&&"object"==typeof o&&((e,r)=>{let t=Object.keys(e),a=Object.keys(r);if(t.length!==a.length)return!1;for(let a of t)if(e[a]!==r[a])return!1;return!0})(e,o))return;let i=a>0,s=p.check(),c=!i||void 0===s||s>a;if(void 0!==r?.overrideLastItem?r.overrideLastItem:!c)u.current=[...u.current.slice(0,v.current),e];else{let r=u.current.length>=t;u.current=[...u.current.slice(r?1:0,v.current+1),e],r||(v.current+=1)}l(e),n?.(e)},[n,a,t,p]),g=d(()=>{if(v.current<=0)return{success:!1};let e=u.current[v.current-1];return l(e),v.current-=1,n?.(e),{success:!0,value:e}},[n]),h=d(()=>{if(v.current+1>=u.current.length)return{success:!1};let e=u.current[v.current+1];return l(e),v.current+=1,n?.(e),{success:!0,value:e}},[n]);return[o,f,g,h]}var Fl=".",jl="us",zl="",Bl="+",Vl="............",Hl=" ",Wl=200,Ul=!1,Yl=!1,Zl=!1,Gl=!1,ql=!1,Xl=Sl,Kl=({defaultCountry:e=jl,value:r=zl,countries:t=Xl,prefix:a=Bl,defaultMask:n=Vl,charAfterDialCode:o=Hl,historySaveDebounceMS:l=Wl,disableCountryGuess:u=Ul,disableDialCodePrefill:p=Yl,forceDialCode:f=Zl,disableDialCodeAndPrefix:g=Gl,disableFormatting:h=ql,onChange:m,inputRef:b})=>{let C={countries:t,prefix:a,charAfterDialCode:o,forceDialCode:!g&&f,disableDialCodeAndPrefix:g,defaultMask:n,countryGuessingEnabled:!u,disableFormatting:h},y=c(null),w=b||y,x=e=>{Promise.resolve().then(()=>{typeof window>"u"||w.current!==document?.activeElement||w.current?.setSelectionRange(e,e)})},E=d(e=>$l({value:e,field:"iso2",countries:t}),[t]),k=d(({inputValue:e,phone:r,country:t})=>{if(!m)return;let a=E(t);m({phone:r,inputValue:e,country:a})},[E,m]),[{phone:L,inputValue:I,country:S},M,T,_]=Dl(()=>{let a=$l({value:e,field:"iso2",countries:t});a||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let n=a||$l({value:"us",field:"iso2",countries:t}),{phone:o,inputValue:i,country:l}=Nl({value:r,country:n,insertDialCodeOnEmpty:!p,...C});return x(i.length),{phone:o,inputValue:i,country:l.iso2}},{overrideLastItemDebounceMS:l,onChange:k}),P=i(()=>E(S),[S,E]);v(()=>{let e=w.current;if(!e)return;let r=e=>{if(!e.key)return;let r=e.ctrlKey,t=e.metaKey,a=e.shiftKey;if("z"===e.key.toLowerCase()){if(typeof window>"u"||!window.navigator.userAgent.toLowerCase().includes("macintosh")){if(!r)return}else if(!t)return;a?_():T()}};return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)}},[w,T,_]);let A=d((e,r={focusOnInput:!1})=>{let n=$l({value:e,field:"iso2",countries:t});if(!n)return void console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let i=g?"":`${a}${n.dialCode}${o}`;M({inputValue:i,phone:`${a}${n.dialCode}`,country:n.iso2}),r.focusOnInput&&Promise.resolve().then(()=>{w.current?.focus()})},[t,g,a,o,M,w]),[N,R]=s(!1);return v(()=>{if(!N)return R(!0),void(r!==L&&m?.({inputValue:I,phone:L,country:P}));if(r===L)return;let{phone:e,inputValue:t,country:a}=Nl({value:r,country:P,insertDialCodeOnEmpty:!p,...C});M({phone:e,inputValue:t,country:a.iso2})},[r]),{phone:L,inputValue:I,country:P,setCountry:A,handlePhoneValueChange:e=>{e.preventDefault();let{phone:t,inputValue:a,country:n,cursorPosition:o}=Rl(e,{country:P,phoneBeforeInput:I,insertDialCodeOnEmpty:!1,...C});return M({inputValue:a,phone:t,country:n.iso2}),x(o),r},inputRef:w}},Ql=({phone:e,country:r,defaultMask:t="............",disableFormatting:a=!1})=>{let n=r.format,o=e=>a?e.replace(new RegExp(`[^${Fl}]`,"g"),""):e;if(!n)return o(t);if("string"==typeof n)return o(n);if(!n.default)return console.error(`[react-international-phone]: default mask for ${r.iso2} is not provided`),o(t);let i=Object.keys(n).find(t=>{if("default"===t)return!1;if("/"!==t.charAt(0)||"/"!==t.charAt(t.length-1))return console.error(`[react-international-phone]: format regex "${t}" for ${r.iso2} is not valid`),!1;let a=new RegExp(t.substring(1,t.length-1)),n=e.replace(r.dialCode,"");return a.test(Pl(n))});return o(i?n[i]:n.default)},Jl=e=>{let[r,t,a,n,o,i]=e;return{name:r,iso2:t,dialCode:a,format:n,priority:o,areaCodes:i}},$l=({field:e,value:r,countries:t=Sl})=>{if(["priority"].includes(e))throw new Error((e=>`Field "${e}" is not supported`)(e));let a=t.find(t=>{let a=Jl(t);return r===a[e]});if(a)return Jl(a)},es=({phone:e,countries:r=Sl,currentCountryIso2:t})=>{let a={country:void 0,fullDialCodeMatch:!1};if(!e)return a;let n=Pl(e);if(!n)return a;let o=a,i=({country:e,fullDialCodeMatch:r})=>{let t=e.dialCode===o.country?.dialCode,a=(e.priority??0)<(o.country?.priority??0);(!t||a)&&(o={country:e,fullDialCodeMatch:r})};for(let e of r){let r=Jl(e),{dialCode:t,areaCodes:a}=r;if(n.startsWith(t)){let e=!o.country||Number(t)>=Number(o.country.dialCode);if(a){let e=n.substring(t.length);for(let t of a)if(e.startsWith(t))return{country:r,fullDialCodeMatch:!0}}(e||t===n||!o.fullDialCodeMatch)&&i({country:r,fullDialCodeMatch:!0})}o.fullDialCodeMatch||n.length<t.length&&t.startsWith(n)&&(!o.country||Number(t)<=Number(o.country.dialCode))&&i({country:r,fullDialCodeMatch:!1})}if(t){let e=$l({value:t,field:"iso2",countries:r});if(!e)return o;let a=!!e&&(e=>{if(!e?.areaCodes)return!1;let r=n.substring(e.dialCode.length);return e.areaCodes.some(e=>e.startsWith(r))})(e);o&&o.country?.dialCode===e.dialCode&&o.country!==e&&o.fullDialCodeMatch&&(!e.areaCodes||a)&&(o={country:e,fullDialCodeMatch:!0})}return o},rs=(e,r)=>{let t=parseInt(e,16);return Number(t+r).toString(16)},ts="abcdefghijklmnopqrstuvwxyz".split("").reduce((e,r,t)=>({...e,[r]:rs("1f1e6",t)}),{}),as=({iso2:e,size:r,src:t,protocol:a="https",disableLazyLoading:o,className:i,style:l,...s})=>{if(!e)return n.createElement("img",{className:Tl({addPrefix:["flag-emoji"],rawClassNames:[i]}),width:r,height:r,...s});return n.createElement("img",{className:Tl({addPrefix:["flag-emoji"],rawClassNames:[i]}),src:(()=>{if(t)return t;let r=(e=>[ts[e[0]],ts[e[1]]].join("-"))(e);return`${a}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${r}.svg`})(),width:r,height:r,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:r,height:r,...l},alt:"",...s})},ns=({show:e,dialCodePrefix:r="+",selectedCountry:t,countries:a=Sl,preferredCountries:o=[],flags:l,onSelect:u,onClose:p,...f})=>{let g=c(null),h=c(),m=i(()=>{if(!o||!o.length)return a;let e=[],r=[...a];for(let t of o){let a=r.findIndex(e=>Jl(e).iso2===t);if(-1!==a){let t=r.splice(a,1)[0];e.push(t)}}return e.concat(r)},[a,o]),b=c({updatedAt:void 0,value:""}),C=d(e=>m.findIndex(r=>Jl(r).iso2===e),[m]),[y,w]=s(C(t)),x=()=>{h.current!==t&&w(C(t))},E=d(e=>{w(C(e.iso2)),u?.(e)},[u,C]),k=e=>{let r=m.length-1;w(t=>{let a=(t=>"prev"===e?t-1:"next"===e?t+1:"last"===e?r:0)(t);return a<0?0:a>r?r:a})},L=d(()=>{if(!g.current||void 0===y)return;let e=Jl(m[y]).iso2;if(e===h.current)return;let r=g.current.querySelector(`[data-country="${e}"]`);r&&(((e,r)=>{let t=e.style.display;"block"!==t&&(e.style.display="block");let a=e.getBoundingClientRect(),n=r.getBoundingClientRect(),o=n.top-a.top,i=a.bottom-n.bottom;o>=0&&i>=0||(Math.abs(o)<Math.abs(i)?e.scrollTop+=o:e.scrollTop-=i),e.style.display=t})(g.current,r),h.current=e)},[y,m]);return v(()=>{L()},[y,L]),v(()=>{g.current&&(e?g.current.focus():x())},[e]),v(()=>{x()},[t]),n.createElement("ul",{ref:g,role:"listbox",className:Tl({addPrefix:["country-selector-dropdown"],rawClassNames:[f.className]}),style:{display:e?"block":"none",...f.style},onKeyDown:e=>{if(e.stopPropagation(),"Enter"===e.key){e.preventDefault();let r=Jl(m[y]);return void E(r)}if("Escape"!==e.key)return"ArrowUp"===e.key?(e.preventDefault(),void k("prev")):"ArrowDown"===e.key?(e.preventDefault(),void k("next")):"PageUp"===e.key?(e.preventDefault(),void k("first")):"PageDown"===e.key?(e.preventDefault(),void k("last")):(" "===e.key&&e.preventDefault(),void(1===e.key.length&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&(e=>{let r=b.current.updatedAt&&(new Date).getTime()-b.current.updatedAt.getTime()>1e3;b.current={value:r?e:`${b.current.value}${e}`,updatedAt:new Date};let t=m.findIndex(e=>Jl(e).name.toLowerCase().startsWith(b.current.value));-1!==t&&w(t)})(e.key.toLocaleLowerCase())));p?.()},onBlur:p,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Jl(m[y]).iso2}-option`},m.map((e,a)=>{let i=Jl(e),s=i.iso2===t,c=a===y,d=o.includes(i.iso2),u=a===o.length-1,v=l?.find(e=>e.iso2===i.iso2);return n.createElement(n.Fragment,{key:i.iso2},n.createElement("li",{"data-country":i.iso2,role:"option","aria-selected":s,"aria-label":`${i.name} ${r}${i.dialCode}`,id:`react-international-phone__${i.iso2}-option`,className:Tl({addPrefix:["country-selector-dropdown__list-item",d&&"country-selector-dropdown__list-item--preferred",s&&"country-selector-dropdown__list-item--selected",c&&"country-selector-dropdown__list-item--focused"],rawClassNames:[f.listItemClassName,d&&f.listItemPreferredClassName,s&&f.listItemSelectedClassName,c&&f.listItemFocusedClassName]}),onClick:()=>E(i),style:f.listItemStyle,title:i.name},n.createElement(as,{iso2:i.iso2,src:v?.src,className:Tl({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[f.listItemFlagClassName]}),style:f.listItemFlagStyle}),n.createElement("span",{className:Tl({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[f.listItemCountryNameClassName]}),style:f.listItemCountryNameStyle},i.name),n.createElement("span",{className:Tl({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[f.listItemDialCodeClassName]}),style:f.listItemDialCodeStyle},r,i.dialCode)),u?n.createElement("hr",{className:Tl({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[f.preferredListDividerClassName]}),style:f.preferredListDividerStyle}):null)}))},os=n.memo(({selectedCountry:e,onSelect:r,disabled:t,hideDropdown:a,countries:o=Sl,preferredCountries:l=[],flags:d,renderButtonWrapper:u,...v})=>{let[p,f]=s(!1),g=i(()=>{if(e)return $l({value:e,field:"iso2",countries:o})},[o,e]),h=c(null),m=e=>{e.key&&["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),f(!0))};return n.createElement("div",{className:Tl({addPrefix:["country-selector"],rawClassNames:[v.className]}),style:v.style,ref:h},(()=>{let r={title:g?.name,onClick:()=>f(e=>!e),onMouseDown:e=>e.preventDefault(),onKeyDown:m,disabled:a||t,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":p},o=n.createElement("div",{className:Tl({addPrefix:["country-selector-button__button-content"],rawClassNames:[v.buttonContentWrapperClassName]}),style:v.buttonContentWrapperStyle},n.createElement(as,{iso2:e,src:d?.find(r=>r.iso2===e)?.src,className:Tl({addPrefix:["country-selector-button__flag-emoji",t&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[v.flagClassName]}),style:{visibility:e?"visible":"hidden",...v.flagStyle}}),!a&&n.createElement("div",{className:Tl({addPrefix:["country-selector-button__dropdown-arrow",t&&"country-selector-button__dropdown-arrow--disabled",p&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[v.dropdownArrowClassName]}),style:v.dropdownArrowStyle}));return u?u({children:o,rootProps:r}):n.createElement("button",{...r,type:"button",className:Tl({addPrefix:["country-selector-button",p&&"country-selector-button--active",t&&"country-selector-button--disabled",a&&"country-selector-button--hide-dropdown"],rawClassNames:[v.buttonClassName]}),"data-country":e,style:v.buttonStyle},o)})(),n.createElement(ns,{show:p,countries:o,preferredCountries:l,flags:d,onSelect:e=>{f(!1),r?.(e)},selectedCountry:e,onClose:()=>{f(!1)},...v.dropdownStyleProps}))}),is=({dialCode:e,prefix:r,disabled:t,style:a,className:o})=>n.createElement("div",{className:Tl({addPrefix:["dial-code-preview",t&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:a},`${r}${e}`);o(({value:e,onChange:r,countries:t=Sl,preferredCountries:a,hideDropdown:o,showDisabledDialCodeAndPrefix:i,disableFocusAfterCountrySelect:l,flags:s,style:c,className:u,inputStyle:v,inputClassName:p,countrySelectorStyleProps:f,dialCodePreviewStyleProps:g,inputProps:h,placeholder:m,disabled:C,name:y,onFocus:w,onBlur:x,required:E,autoFocus:k,...L},I)=>{let S=d(e=>{r?.(e.phone,{country:e.country,inputValue:e.inputValue})},[r]),{phone:M,inputValue:T,inputRef:_,country:P,setCountry:A,handlePhoneValueChange:N}=Kl({value:e,countries:t,...L,onChange:S}),R=L.disableDialCodeAndPrefix&&i&&P?.dialCode,O=d(e=>{A(e.iso2,{focusOnInput:!l})},[A,l]);return b(I,()=>_.current?Object.assign(_.current,{setCountry:A,state:{phone:M,inputValue:T,country:P}}):null,[_,A,M,T,P]),n.createElement("div",{ref:I,className:Tl({addPrefix:["input-container"],rawClassNames:[u]}),style:c},n.createElement(os,{onSelect:O,flags:s,selectedCountry:P?.iso2,countries:t,preferredCountries:a,disabled:C,hideDropdown:o,...f}),R&&n.createElement(is,{dialCode:P.dialCode,prefix:L.prefix??"+",disabled:C,...g}),n.createElement("input",{onChange:N,value:T,type:"tel",ref:_,className:Tl({addPrefix:["input",C&&"input--disabled"],rawClassNames:[p]}),placeholder:m,disabled:C,style:v,name:y,onFocus:w,onBlur:x,autoFocus:k,required:E,...h}))});const ls=Me({slots:["container","label","inputContainer","input","description","typeIcon","actionIcon","actionButton"],base:{label:{fontSize:"sm",fontWeight:"medium",color:"text.primary"},inputContainer:{backgroundColor:"transparent",borderStyle:"solid",borderWidth:"thin",borderColor:"neutral.secondary",borderRadius:"input",boxSizing:"border-box",transition:"all linear 120ms",width:"100%",_hover:{borderColor:"neutral.primary"},_dark:{borderColor:"ink.70",_hover:{borderColor:"ink.50"}},_focusWithin:{outlineColor:"brand.base",outlineStyle:"solid",outlineWidth:"thick",outlineOffset:.5}},input:{transition:"all linear 120ms",width:"100%",boxSizing:"border-box",m:0,p:0,outline:"none",minWidth:10,fontWeight:"normal",backgroundColor:"transparent",color:"text.primary",_placeholder:{color:"text.tertiary"},_groupHover:{borderColor:"neutral.primary"}},description:{fontSize:"sm",color:"text.primary"},typeIcon:{transition:"opacity linear 120ms"},actionIcon:{transition:"opacity linear 120ms",cursor:"pointer"},actionButton:{transition:"opacity linear 120ms"}},variants:{size:{sm:{input:{fontSize:"sm",textAlign:"left"},inputContainer:{height:10,p:3}},md:{input:{fontSize:"md",textAlign:"left"},inputContainer:{height:12,p:3}},lg:{input:{fontSize:"lg",textAlign:"left"},inputContainer:{height:15,padding:4}}},alignText:{left:{input:{textAlign:"left"},container:{alignItems:"flex-start"}},center:{input:{textAlign:"center"},container:{alignItems:"center"}},right:{input:{textAlign:"right"},container:{alignItems:"flex-end"}}},isError:{true:{inputContainer:{borderColor:"negative.base"}}},char:{true:{input:{fontSize:"xl",textAlign:"center"},inputContainer:{height:12,py:2}}},disabled:{true:{container:{opacity:.3,pointerEvents:"none"},inputContainer:{_hover:{borderColor:"neutral.secondary"}}}}}}),ss=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>{var r;return h(e,{...t,color:null!==(r=e.props.color)&&void 0!==r?r:lr("colors.neutral.primary")})})})),cs=Jo(({children:r,...t})=>e(We,{alignItems:"center",justifyContent:"center",children:g.map(r,e=>{var r;return C(e)?h(e,{...t,color:null!==(r=e.props.color)&&void 0!==r?r:lr("colors.brand.base")}):null})})),ds=Jo(bi),us=Jo(Do),vs=Jo(Do),ps=o((t,a)=>{const{label:n,disabled:o,size:i="md",alignText:l="left",attr:s,description:d,autoFocus:u,className:v="",errorMessage:p,required:f}=t,g="sm"===i?16:20,h=c(null),m=a||h,{labelProps:b,inputProps:C,descriptionProps:y,errorMessageProps:w,isInvalid:x,validationErrors:E}=Mn({...t,isDisabled:o??!1,isInvalid:!!p},m),{focusProps:k}=vn({autoFocus:u??!1}),{hoverProps:L}=Na({isDisabled:o??!1});return Qo(t.children,t=>{const a=t.get(ss),c=t.get(cs),u=t.getProps(ds),h=t.getProps(us),I=t.getProps(vs),S=ls({size:i,alignText:l,disabled:o,isError:x});return r(Xe,{className:ke(S.container,v),children:[n&&r("label",{className:S.label,...b,children:[n," ",f&&e("span",{className:xe({color:"negative.darker"}),children:"*"})]}),r(Qe,{className:S.inputContainer,children:[a&&{...a,props:{...a.props,className:S.typeIcon,width:g,height:g}},h&&e(Do,{...h,fontColor:"text.tertiary"}),e("input",{ref:m,className:S.input,...Nr(C,k,L),...s}),I&&e(Do,{...I,fontColor:"text.tertiary"}),c&&{...c,props:{...c.props,className:S.actionIcon,width:g,height:g}},u&&e(We,{alignItems:"center",justifyContent:"center",className:S.actionButton,children:e(bi,{...u,variant:"text",size:i})})]}),d&&e("div",{className:S.description,...y,children:d}),x&&e(Do,{variant:"error",...w,size:"sm",fontWeight:"normal",children:E.length>0?E.join(" "):p})]})})}),fs=o((r,t)=>{const{disabled:a,autoFocus:n,className:o="",attr:i}=r,l=c(null),s=t||l,{inputProps:d}=Mn({...r,isDisabled:a??!1},s),{focusProps:u}=vn({autoFocus:n??!1}),{hoverProps:v}=Na({isDisabled:a??!1}),p=ls({char:!0,disabled:a});return e("div",{className:ke(p.container,p.inputContainer,o),children:e("input",{ref:s,className:p.input,...Nr(d,u,v),size:1,...i})})}),gs=Object.assign(ps,{TypeIcon:ss,ActionIcon:cs,ActionButton:ds,Char:fs,Prefix:us,Suffix:vs});ps.displayName="TextInput",fs.displayName="TextInputChar";const hs=/\D/g,ms=({pinLength:r,onComplete:t=e=>e,onChange:a=e=>e,id:n="pin-code-input",autoFocus:o=!0,className:i})=>{const[l,u]=s(()=>Array.from({length:r},()=>"")),p=c(Array(r).fill(null));v(()=>{u(e=>r<e.length?e.slice(0,r):r>e.length?[...e,...Array(r-e.length).fill("")]:e)},[r]),v(()=>{var e;o&&p.current[0]&&(null===(e=p.current[0])||void 0===e||e.focus())},[o,r]);const f=(e,n)=>{var o;u(n),a(n);const i=n.join("");i.length===r&&(null===(o=p.current[e])||void 0===o||o.blur(),t(i))},g=d((e,t)=>{const a=[...l];t.replace(hs,"").split("").forEach(t=>{var n,o;e>=r||(a[e]=t,e++,null===(o=null===(n=p?.current)||void 0===n?void 0:n[e])||void 0===o||o.focus())}),f(e,a)},[l,f]),h=d(e=>{var r,t;const a=parseInt(e.currentTarget.dataset.id||"",10),n=e.target.value.replace(hs,"");if(n.length>1)return g(a,n);const o=[...l];o[a]=n,n.length&&(null===(t=null===(r=p?.current)||void 0===r?void 0:r[a+1])||void 0===t||t.focus()),f(a,o)},[f]),m=d(e=>{var t,a,n,o,i;const s=e.currentTarget.value.length,c=parseInt(e.currentTarget.dataset.id||"",10),d=[...l];switch(e.key){case"Backspace":if(s&&(d[c]="",f(c,d)),c){const e=d.reduceRight((e,r,t)=>-1!==e?e:""!==r?t:e,-1);null===(t=p?.current[e>=0?e:0])||void 0===t||t.focus()}return;case"ArrowLeft":{const e=c?c-1:r-1;return void(null===(a=p?.current[e])||void 0===a||a.focus())}case"ArrowRight":{const e=c===r-1?0:c+1;return void(null===(n=p?.current[e])||void 0===n||n.focus())}default:{const r=e.key.replace(hs,"");s&&r.length&&r!==e.currentTarget.value&&(d[c]=r,f(c,d),null===(i=null===(o=p?.current)||void 0===o?void 0:o[c+1])||void 0===i||i.focus())}}},[a,f]);return e("form",{id:n,className:xe({margin:0,minWidth:0,display:"flex",width:"100%",justifyContent:"space-between",maxWidth:"30rem",gap:2}),children:l.map((r,t)=>e(gs.Char,{id:n?`${n}-${t}`:void 0,"aria-label":`one time password input ${t+1}`,"data-id":t,name:`one time password input ${t+1}`,value:l[t]||"",className:ke(xe({caretColor:"transparent",rounded:"0.5rem"}),i),attr:{onChange:h,onKeyUp:m,autoComplete:0===t?"one-time-code":"off",inputMode:"numeric"},ref:e=>{p?.current&&(p.current[t]=e)}},`${n||void 0}-${t}`))})},bs="2.625rem",Cs=Jo(({children:r})=>e(Wi,{children:r})),ys=Jo(({children:e})=>g.map(e,e=>{var r,t,a;return h(e,{color:null!==(r=e.props.color)&&void 0!==r?r:lr("colors.brand.base"),width:null!==(t=e.props.width)&&void 0!==t?t:bs,height:null!==(a=e.props.height)&&void 0!==a?a:bs})})),ws=Jo(({children:r,className:t=""})=>e(Xe,{alignItems:"center",justifyContent:"center",flexShrink:0,className:`${xe({pb:0,pt:6,px:8,width:"100%"})} ${t}`,children:r})),xs=Jo(zi),Es=Jo(wi),ks=({children:r,overlay:a,...n})=>{if(a){const{animate:t,backgroundType:a,isOpen:o=!0,onHidden:i,fullscreen:l=!1}=n;return e(el,{animate:t,backgroundType:a,hide:!o,onHidden:i,fullscreen:l,children:r})}return e(t,{children:r})},Ls=Object.assign(({children:t,overlay:a=!0,...n})=>Qo(t,t=>{const o=t.get(Cs)?8:4,i=t.getProps(xs),l=t.getProps(Es);return e(ks,{overlay:a,...n,children:e(Ji,{paddingType:"md",...n,children:r(Xe,{alignItems:"center",gap:0,width:"full",className:xe({mt:o}),children:[t.get(Cs),t.get(ys),t.get(ws),i&&e(zi,{...i}),l&&e(wi,{...l})]})})})}),{Header:Cs,Icon:ys,Content:ws,Footer:xs,Drawer:Es}),Is=Jo(Ls.Icon);Object.assign(({children:t,cancelLabel:a,confirmLabel:n,title:o,message:i,onCancel:l=()=>{},onConfirm:s=()=>{},...c})=>Qo(t,t=>r(Ls,{...c,children:[e(Ls.Icon,{children:t.get(Is)}),r(Ls.Content,{children:[e(Do.H3,{styles:{textAlign:"center"},children:o}),e(Do,{size:"md",children:i}),r(Qe,{className:xe({pt:6}),children:[e(bi,{onPress:s,label:n}),a&&e(bi,{onPress:l,label:a})]})]}),e(Ls.Footer,{})]})),{Icon:Is});const Ss=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),Ms=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))}));Object.assign(({children:t,detailTitle:a,detailMessage:n,title:o,message:i,...l})=>Qo(t,t=>{const s=t.get(Ss),c=t.get(Ms);return r(Ls,{...l,children:[e(Ls.Icon,{children:s||e(dl,{})}),r(Ls.Content,{children:[e(Do.H3,{styles:{textAlign:"center"},children:o}),e(Do,{size:"md",styles:{textAlign:"center"},children:i}),n&&r("div",{className:xe({background:"negative.lightest",borderRadius:"0.5rem",my:4,p:4,width:"full"}),children:[a&&e(Do,{variant:"error",children:e("b",{className:xe({textTransform:"uppercase"}),children:a})}),e(Do,{variant:"error",children:n})]}),c]}),e(Ls.Footer,{})]})}),{Icon:Ss,Button:Ms});const Ts=Jo(({children:r})=>g.map(r,r=>e(bi,{expand:!0,...r.props}))),_s=Jo(bi),Ps=Jo(bi),As=Jo(({children:t})=>r(si,{textStyle:"subtle",variant:"text",children:[e(si.TrailingIcon,{children:e(Bo,{})}),e(si.Content,{children:t})]})),Ns=Jo(({branding:r,title:t})=>t?e(Do,{size:"sm",fontColor:"text.secondary",children:t}):e(Cl,{color:lr("light"===r?"colors.text.primary":"colors.neutral.primary")})),Rs=Jo(({children:r,height:t="auto",flexGrow:a=0})=>e(Xe,{w:"full",justify:"center",height:t,flexGrow:a,children:r})),Os=Jo(qi),Ds=Jo(wi),Fs=Jo(({children:r})=>e(ar,{pt:3,w:"full",children:r})),js=Jo(({children:t,domain:a,name:n,logoUrl:o})=>r(Qe,{borderBottomColor:"neutral.primary",borderBottomWidth:"1px",p:3,width:"full",children:[o?e("img",{src:o,alt:n,width:24,height:24}):e(Cl,{color:lr("colors.brand.base"),height:24,width:24}),e(Do,{size:"sm",fontWeight:"semibold",children:n}),a&&e(Do,{size:"sm",fontColor:"text.tertiary",children:a}),t]}));Object.assign(({actionDirection:t="row",address:a,children:n,onBack:o,onCancel:i,hideHeader:l=!1,...s})=>Qo(n,n=>{const c=n.getProps(_s),d=n.getProps(Ps),u=n.getProps(Ds),v=n.getProps(Os),p=n.get(Ts),f=n.get(As),g=n.get(Ns),h="row"===t;return r(Ji,{...s,fullscreen:!0,paddingType:"none",gap:0,children:[!l&&r(Xe,{gap:0,width:"full",children:[r(Qe,{borderBottomColor:"neutral.primary",borderBottomWidth:"1px",justifyContent:"space-between",p:3,width:"full",children:[o&&e(bi,{onPress:o,size:"md",textStyle:"neutral",variant:"text",children:e(bi.LeadingIcon,{children:e(cl,{})})}),i&&e(bi,{onPress:i,label:"Cancel",size:"sm",textStyle:"neutral",variant:"text"}),!(o||i)&&e(ze,{w:6}),g,a||f||v?r(Qe,{children:[a&&e(Il,{address:a}),f,v&&e(qi,{...v})]}):e(ze,{w:6})]}),n.get(js)]}),r(Xe,{h:"full",w:"full",justify:"space-between",p:6,maxW:393,children:[n.get(Rs),r(Xe,{w:"full",gap:3,children:[n.get(Fs),(c||d)&&r(We,{direction:h?"row":"column-reverse",gap:h?4:3,width:"full",children:[c&&e(bi,{expand:!0,label:"Cancel",variant:"neutral",...c}),d&&e(bi,{expand:!0,label:"Confirm",variant:"inverse",...d})]}),p&&e(We,{direction:t,gap:h?4:3,width:"full",children:p})]})]}),u&&e(wi,{...u})]})}),{Actions:Ts,Cancel:_s,Confirm:Ps,Content:Rs,Menu:Os,Drawer:Ds,Footer:Fs,Header:js,Info:As,Title:Ns});const zs={Home:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M14.1003 1.61316C13.6305 1.21718 13.0358 1 12.4213 1C11.8068 1 11.2122 1.21718 10.7423 1.61316L2.92634 8.20753C2.63623 8.45203 2.40303 8.75695 2.24302 9.10095C2.08302 9.44496 2.00008 9.81976 2 10.1992V20.9736C2 22.0922 2.90781 23 4.02637 23H7.50013C8.03756 23 8.55297 22.7865 8.93299 22.4065C9.31301 22.0265 9.5265 21.5111 9.5265 20.9736V16.3385C9.5265 15.5511 10.1541 14.9119 10.9357 14.8911H13.9069C14.2841 14.901 14.6425 15.0579 14.9058 15.3283C15.169 15.5986 15.3162 15.9611 15.3161 16.3385V20.9736C15.3161 22.0922 16.2239 23 17.3425 23H20.8162C21.3537 23 21.8691 22.7865 22.2491 22.4065C22.6291 22.0265 22.8426 21.5111 22.8426 20.9736V10.198C22.8425 9.81861 22.7596 9.4438 22.5996 9.09979C22.4396 8.75579 22.2064 8.45088 21.9163 8.20638L14.1003 1.61316Z",fill:"currentColor"})]})},Gallery:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33333 13.2222C8.98164 13.2222 9.60339 13.4798 10.0618 13.9382C10.5202 14.3966 10.7778 15.0184 10.7778 15.6667V20.5556C10.7778 21.2039 10.5202 21.8256 10.0618 22.284C9.60339 22.7425 8.98164 23 8.33333 23H3.44444C2.79614 23 2.17438 22.7425 1.71596 22.284C1.25754 21.8256 1 21.2039 1 20.5556V15.6667C1 15.0184 1.25754 14.3966 1.71596 13.9382C2.17438 13.4798 2.79614 13.2222 3.44444 13.2222H8.33333ZM20.5556 13.2222C21.2039 13.2222 21.8256 13.4798 22.284 13.9382C22.7425 14.3966 23 15.0184 23 15.6667V20.5556C23 21.2039 22.7425 21.8256 22.284 22.284C21.8256 22.7425 21.2039 23 20.5556 23H15.6667C15.0184 23 14.3966 22.7425 13.9382 22.284C13.4798 21.8256 13.2222 21.2039 13.2222 20.5556V15.6667C13.2222 15.0184 13.4798 14.3966 13.9382 13.9382C14.3966 13.4798 15.0184 13.2222 15.6667 13.2222H20.5556ZM8.33333 1C8.98164 1 9.60339 1.25754 10.0618 1.71596C10.5202 2.17438 10.7778 2.79614 10.7778 3.44444V8.33333C10.7778 8.98164 10.5202 9.60339 10.0618 10.0618C9.60339 10.5202 8.98164 10.7778 8.33333 10.7778H3.44444C2.79614 10.7778 2.17438 10.5202 1.71596 10.0618C1.25754 9.60339 1 8.98164 1 8.33333V3.44444C1 2.79614 1.25754 2.17438 1.71596 1.71596C2.17438 1.25754 2.79614 1 3.44444 1H8.33333ZM20.5556 1C21.2039 1 21.8256 1.25754 22.284 1.71596C22.7425 2.17438 23 2.79614 23 3.44444V8.33333C23 8.98164 22.7425 9.60339 22.284 10.0618C21.8256 10.5202 21.2039 10.7778 20.5556 10.7778H15.6667C15.0184 10.7778 14.3966 10.5202 13.9382 10.0618C13.4798 9.60339 13.2222 8.98164 13.2222 8.33333V3.44444C13.2222 2.79614 13.4798 2.17438 13.9382 1.71596C14.3966 1.25754 15.0184 1 15.6667 1H20.5556Z",fill:"currentColor"})]})},Activity:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M12 0C5.38338 0 0 5.38338 0 12C0 18.6166 5.38338 24 12 24C18.6166 24 24 18.6166 24 12C24 5.38338 18.6166 0 12 0ZM16.4603 14.9735C16.2818 15.2406 15.9889 15.3846 15.6911 15.3846C15.5151 15.3846 15.3378 15.3342 15.1803 15.2295L11.488 12.768C11.2308 12.5969 11.0769 12.3089 11.0769 12V7.07692C11.0769 6.56738 11.4905 6.15385 12 6.15385C12.5095 6.15385 12.9231 6.56738 12.9231 7.07692V11.5065L16.2043 13.6935C16.6289 13.9766 16.7434 14.5489 16.4603 14.9735Z",fill:"currentColor"})]})},Settings:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4072 1.1672C14.0002 1 13.4832 1 12.4503 1C11.4174 1 10.9015 1 10.4934 1.1672C9.95164 1.38963 9.52036 1.81814 9.29445 2.3585C9.19105 2.6038 9.15145 2.8909 9.13495 3.3078C9.12761 3.60986 9.04335 3.90507 8.89014 4.16549C8.73692 4.42592 8.51982 4.64296 8.25935 4.7961C7.99397 4.94361 7.69565 5.02176 7.39203 5.0233C7.08841 5.02484 6.78931 4.94972 6.52245 4.8049C6.15065 4.6091 5.88115 4.5013 5.61495 4.4661C5.03256 4.38963 4.44353 4.54618 3.97595 4.9017C3.62615 5.1679 3.36765 5.6123 2.85175 6.5C2.33475 7.3877 2.07735 7.831 2.01905 8.2655C1.94205 8.8441 2.10045 9.4293 2.45905 9.8924C2.62185 10.1036 2.85175 10.2807 3.20705 10.5029C3.73175 10.8296 4.06835 11.3862 4.06835 12C4.06835 12.6138 3.73175 13.1704 3.20815 13.496C2.85175 13.7193 2.62185 13.8964 2.45795 14.1076C2.28094 14.3363 2.15101 14.5979 2.07568 14.8771C2.00035 15.1564 1.9811 15.4478 2.01905 15.7345C2.07735 16.1679 2.33475 16.6123 2.85175 17.5C3.36875 18.3877 3.62615 18.831 3.97595 19.0983C4.44235 19.4536 5.03195 19.6098 5.61495 19.5339C5.88115 19.4987 6.15065 19.3909 6.52245 19.1951C6.78945 19.0501 7.08874 18.9749 7.39258 18.9764C7.69641 18.9779 7.99493 19.0562 8.26045 19.2039C8.79505 19.5119 9.11185 20.0784 9.13495 20.6922C9.15145 21.1102 9.19105 21.3962 9.29445 21.6415C9.51885 22.1805 9.95005 22.6095 10.4934 22.8328C10.9004 23 11.4174 23 12.4503 23C13.4832 23 14.0002 23 14.4072 22.8328C14.949 22.6104 15.3803 22.1819 15.6062 21.6415C15.7096 21.3962 15.7492 21.1102 15.7657 20.6922C15.7877 20.0784 16.1056 19.5108 16.6413 19.2039C16.9067 19.0564 17.205 18.9782 17.5087 18.9767C17.8123 18.9752 18.1114 19.0503 18.3782 19.1951C18.75 19.3909 19.0195 19.4987 19.2857 19.5339C19.8687 19.6109 20.4583 19.4536 20.9247 19.0983C21.2745 18.8321 21.533 18.3877 22.0489 17.5C22.5659 16.6123 22.8233 16.169 22.8816 15.7345C22.9194 15.4477 22.9 15.1563 22.8245 14.877C22.749 14.5978 22.6188 14.3363 22.4416 14.1076C22.2788 13.8964 22.0489 13.7193 21.6936 13.4971C21.1689 13.1704 20.8323 12.6138 20.8323 12C20.8323 11.3862 21.1689 10.8296 21.6925 10.504C22.0489 10.2807 22.2788 10.1036 22.4427 9.8924C22.6198 9.66366 22.7497 9.40212 22.825 9.12287C22.9003 8.84363 22.9196 8.55223 22.8816 8.2655C22.8233 7.8321 22.5659 7.3877 22.0489 6.5C21.5319 5.6123 21.2745 5.169 20.9247 4.9017C20.4572 4.54618 19.8681 4.38963 19.2857 4.4661C19.0195 4.5013 18.75 4.6091 18.3782 4.8049C18.1112 4.94991 17.8119 5.02514 17.5081 5.0236C17.2043 5.02206 16.9058 4.94381 16.6402 4.7961C16.38 4.64283 16.1631 4.42572 16.0101 4.16531C15.8571 3.90489 15.773 3.60976 15.7657 3.3078C15.7492 2.8898 15.7096 2.6038 15.6062 2.3585C15.4944 2.09091 15.331 1.84797 15.1253 1.64356C14.9195 1.43916 14.6756 1.27729 14.4072 1.1672ZM12.4503 15.3C14.2873 15.3 15.7756 13.8227 15.7756 12C15.7756 10.1773 14.2862 8.7 12.4503 8.7C10.6133 8.7 9.12505 10.1773 9.12505 12C9.12505 13.8227 10.6144 15.3 12.4503 15.3Z",fill:"currentColor"})]})}};var Bs;!function(e){e.Home="home",e.Gallery="gallery",e.Activity="activity",e.Settings="settings"}(Bs||(Bs={}));const Vs=({active:r,children:t,label:a,onPress:n})=>e(ze,{pointerEvents:r===a?"none":"initial",children:e(bi,{variant:"text",onPress:n,children:e(bi.LeadingIcon,{className:xe({color:r===a?"text.primary":"text.tertiary",_groupHover:{color:r===a?"text.primary":"text.secondary"}}),children:t})})}),Hs=({active:r=Bs.Home,disabled:t=[],...a})=>e(ar,{bottom:0,pos:"fixed",h:"6.25rem",w:"full",style:{background:`linear-gradient(180deg, transparent 0%, ${lr("colors.surface.primary")} 100%)`},children:e(Qe,{bg:"text.primary/6",borderColor:"text.primary/10",borderWidth:"medium",borderStyle:"solid",borderRadius:52,backdropFilter:"blur(24px)",p:1.5,children:Object.keys(Bs).map(n=>{var o;const i=Bs[n],l=null===(o=t.find(e=>e.type===i))||void 0===o?void 0:o.label,s=zs[n],c=((e,r)=>e[r])(a,`on${n}`);return c?l?e(vi,{content:l,width:"max-content",children:e(ze,{border:"thin solid transparent",opacity:.3,p:1.5,children:e(s,{})})},i):e(Vs,{active:r,label:i,onPress:c,children:e(s,{})},i):null})})}),Ws=({avatarUrl:t,email:a,name:n,logoutLabel:o="Log out",onReceive:i,onLogout:l})=>{const[c,d]=s(!1);v(()=>{d(!1)},[t]);const u=()=>r(si,{iconSize:28,placement:"bottom right",variant:"text",children:[e(si.LeadingIcon,{children:t&&!c?e("img",{style:{borderRadius:"50%"},src:t,alt:"user avatar",onError:()=>d(!0)}):r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",children:[e("circle",{cx:"14",cy:"14",r:"13",fill:"url(#paint0_radial_3600_63997)",stroke:"white",strokeOpacity:"0.24",strokeWidth:"0.5"}),e("defs",{children:r("radialGradient",{id:"paint0_radial_3600_63997",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15 30.75) rotate(-90) scale(37.3333 65.833)",children:[e("stop",{offset:"0.01",stopColor:"#FFF507"}),e("stop",{offset:"0.259381",stopColor:"#F09BEB"}),e("stop",{offset:"0.598165",stopColor:"#412CB9"}),e("stop",{offset:"1",stopColor:"#18171A"})]})})]})}),e(si.Content,{className:xe({w:n&&a?"200px":"fit-content",maxW:"200px"}),children:r(Ye,{w:"full",alignItems:"start",gap:0,children:[(a||n)&&r(Ye,{w:"full",gap:1,children:[n&&e(Do,{fontWeight:"medium",children:n}),a&&e(Do,{size:"sm",truncate:!0,fontColor:"text.secondary",children:a})]}),(a||n)&&e(or,{color:"surface.quaternary",my:3,minW:"88px"}),e(bi,{label:o,textStyle:"negative",variant:"text",size:"sm",onPress:l})]})})]});return i?r(Qe,{gap:1,minWidth:"fit-content",minHeight:"fit-content",children:[e(ze,{onClick:i,cursor:"pointer",transition:"transform 0.1s",_active:{transform:"scale(0.95)"},className:xe({"@media (max-width: 370px)":{display:"none"}}),children:e(wl,{height:18,width:18,color:lr("colors.text.secondary")})}),e(u,{})]}):e(u,{})},Us=Jo(({children:e})=>e),Ys=Object.assign(t=>{const{isPending:a,isSuccess:n,onChange:o,onComplete:i,originName:l,pinLength:s,id:c,autoFocus:d,errorMessage:u,children:v}=t;return Qo(v,t=>r(Xe,{gap:3,my:3,children:[e(ar,{height:12,children:a?e(ko,{size:36,strokeWidth:4}):n?e(yo,{color:lr("colors.brand.base"),width:36,height:36}):e(ms,{originName:l,onChange:o,pinLength:s,onComplete:i,id:c,autoFocus:d})}),u&&e(Do,{variant:"error",size:"sm",styles:{textAlign:"center"},children:u}),t.get(Us)]}))},{RetryContent:Us});var Zs=typeof window>"u"?a.useEffect:a.useLayoutEffect,Gs=["$$typeof","render","displayName","defaultProps"],qs="slots-wrapper",Xs=new RegExp(`^<${qs}>.*</${qs}>$`),Ks=({name:e,forceUpdate:r,children:t})=>{let n=a.useRef(null),o=a.useRef(!1);return Zs(()=>{var t;if(!o.current&&(null==(t=n.current)?void 0:t.innerHTML)){let r=n.current.innerHTML;r&&!Xs.test(r)&&console.warn(`Unwrapped children found in "${e}", either wrap them in slots or remove`)}o.current=!0,r()},[e]),o.current?a.createElement(a.Fragment,null,t):a.createElement(qs,{ref:n},t)},Qs=a.createContext({rescan:()=>{}}),Js=({children:e})=>{let[r,t]=a.useReducer(()=>[],[]),n=a.useMemo(()=>({rescan:t}),[r]);return a.createElement(Qs.Provider,{value:n},e)},$s=(e=>{let r=a.createContext(e);return r.displayName="SlotsContext",r})(void 0),ec=({children:e})=>e(),rc=e=>{let r=0;return()=>`${e}_${r++}`},tc=rc("s"),ac=({children:e,callback:r})=>{let t=a.useReducer(()=>[],[])[1],n=a.useMemo(()=>(e=>{let r=new Map;return{register(e,t){r.set(e,t)},update(t,a){r.set(t,a),null==e||e(t)},unmount(t){r.delete(t),null==e||e(t)},clear(){r.clear()},has:e=>r.has(e),get:()=>Array.from(r.values())}})(t),[t]);return a.createElement(a.Fragment,null,a.createElement($s.Provider,{value:n},a.createElement(Js,null,"production"===process.env.NODE_ENV?e:a.createElement(Ks,{name:"HostSlots",forceUpdate:t},e))),a.createElement(ec,null,()=>r(n.get())))},nc=(e,r)=>a.createElement(ac,{children:e,callback:r});const oc=(e=>{let r=rc(tc()),t=a.forwardRef(({$slot_key$:e,...r},t)=>{let n=a.useContext($s);if(!n)return null;let i=a.useContext(Qs),l=a.createElement(o,{key:e,ref:t,...r});return n.register(e,l),a.useEffect(()=>{n.has(e)&&n.update(e,l)}),Zs(()=>(n.clear(),i.rescan(),()=>n.unmount(e)),[n]),null}),n=(n,o)=>{if(!a.useContext($s))return e?a.createElement(e,{ref:o,...n}):null;let[i]=a.useState(r);return a.createElement(t,{ref:o,$slot_key$:i,...n})};n.displayName=e?`Slot(${(e=>"string"==typeof e?e:e.displayName||e.name||"Component")(e)})`:"Slot";let o=a.forwardRef(n);return e?((e,r)=>{if("string"==typeof r)return e;let t=Object.getOwnPropertyNames(r).reduce((e,t)=>(Gs.includes(t)||(e[t]=r[t]),e),{});return Object.assign(e,t)})(o,e):o})(({actionBox:t,children:a,disabledLabel:n,label:o,onPress:i})=>t?e(ar,{h:"76px",maxW:"115px",w:"full",opacity:n?.3:1,pointerEvents:n?"none":"initial",children:e(ho,{className:xe({_hover:{bgColor:"neutral.secondary"},bgColor:"neutral.tertiary",h:"100%"}),borderRadius:"0.75rem",expand:!0,onPress:i,children:r(Xe,{gap:2,children:[h(g.only(a),{height:20,width:20}),e(Do,{size:"sm",styles:{fontWeight:500},children:o})]})})}):r(Xe,{gap:1,minW:20,opacity:n?.3:1,pointerEvents:n?"none":"initial",children:[e(bi,{variant:"neutral",size:"sm",onPress:i,"aria-label":"Buy",children:e(bi.LeadingIcon,{children:a})}),e(Do,{size:"sm",styles:{fontWeight:500},children:o})]})),ic=({actionBox:r,children:t})=>e(ze,{w:"full",children:nc(t,t=>e(Qe,{w:"full",justifyContent:"space-around",px:10,children:t.map(t=>{if(((e,r)=>e.type===r)(t,oc)){const{key:a,disabledLabel:n,...o}=(e=>{if(!e)return;let{key:r,ref:t,props:a}=e;return{...a,key:r,ref:t}})(t);return n?e(vi,{content:n,width:"max-content",children:e(ze,{children:e(oc,{actionBox:r,disabledLabel:n,...o})})},a):e(oc,{actionBox:r,...o},a)}})}))});ic.Action=oc;const lc=({actionBox:t,buyLabel:a="Buy",buyDisabledLabel:n,sendLabel:o="Send",sendDisabledLabel:i,swapLabel:l="Swap",swapDisabledLabel:s,onBuy:c,onSend:d,onSwap:u})=>r(ic,{actionBox:t,children:[c&&e(ic.Action,{disabledLabel:n,label:a,onPress:c,children:e(il,{})}),u&&e(ic.Action,{disabledLabel:s,label:l,onPress:u,children:e(xl,{})}),d&&e(ic.Action,{disabledLabel:i,label:o,onPress:d,children:e(yl,{})})]}),sc=({address:t,onAddressCopy:a})=>r(Qe,{gap:0,style:{filter:`drop-shadow(0px 0px 0.5px color-mix(in srgb, ${lr("colors.text.primary")}, transparent 20%)`},children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:e("path",{d:"M0 0L48 0V48H47.4146C37.829 48 29.1682 42.28 25.4052 33.4639L16.4163 12.405C13.533 5.65001 7.28559 0.929159 0 0Z",fill:lr("colors.surface.primary")})}),e(ar,{bgColor:"surface.primary",w:"114px",h:"48px",children:e(Il,{address:t,onCopy:a,size:"sm",icon:!0,fontColor:"text.secondary",fontWeight:"medium"})}),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:e("path",{d:"M48 0L0 0V48H0.299999C9.94709 48 18.6672 42.2544 22.4737 33.39L31.4615 12.4594C34.3773 5.66924 40.669 0.929361 48 0Z",fill:lr("colors.surface.primary")})})]}),cc=({connected:a,connectedLabel:n="Connected",disconnectLabel:o,disconnectedLabel:i="Not connected",domain:l,logoUrl:c,onDisconnect:d,onReceive:u})=>{const[p,f]=s(!1);v(()=>{f(!1)},[c]);const g=()=>r(si,{iconSize:28,variant:"text",children:[e(si.LeadingIcon,{color:lr("colors.text.tertiary"),children:c&&a&&!p?r(rr,{position:"relative",w:7,h:7,children:[e("img",{style:{borderRadius:"50%"},width:28,height:28,src:c,alt:"app logo",onError:()=>f(!0)}),e(rr,{size:"7px",position:"absolute",bg:"positive.base",borderWidth:"thin",borderColor:"surface.primary",bottom:"-1px",right:"-1px",boxSizing:"border-box"})]}):r("svg",{width:"28",height:"28",children:[e("circle",{cx:"14",cy:"14",r:"14",fill:lr("colors.surface.tertiary")}),e(hl,{color:lr("colors.text.tertiary"),x:6,y:6,height:16,width:16})]})}),r(si.Content,{className:xe({w:"200px"}),children:[r(Ye,{w:"100%",gap:1,overflow:"hidden",children:[e(Do,a?{size:"xs",variant:"success",fontWeight:"normal",children:n}:{fontColor:"text.tertiary",size:"xs",children:i}),e(Do,{truncate:!0,children:l})]}),a&&o&&r(t,{children:[e(or,{color:"surface.quaternary",my:3}),e(bi,{label:o,size:"sm",textStyle:"negative",variant:"text",onPress:d,children:e(bi.LeadingIcon,{children:r("svg",{width:"20",height:"20",children:[e("circle",{cx:"8",cy:"8",r:"8",fill:lr("colors.negative.lightest")}),e(El,{color:lr("colors.negative.base"),x:3,y:3,height:10,width:10})]})})})]})]})]});return u?r(Qe,{gap:1,minWidth:"fit-content",minHeight:"fit-content",children:[e(g,{}),e(ze,{className:xe({"@media (max-width: 370px)":{display:"none"}}),minH:"18px",minW:"18px"})]}):e(g,{})},dc=({fiatTotal:t,symbol:a})=>{const n=t?t.split("."):["0","00"],o=t?"text.primary":"text.tertiary";return r(Qe,{alignItems:"flex-start",gap:1,my:3,children:[e(Do.H4,{fontColor:o,styles:{lineHeight:"2.75rem"},children:a}),r(Qe,{alignItems:"baseline",gap:0,children:[e(Do.H1,{fontColor:o,children:n[0]}),e(Do.H4,{fontColor:o,children:`.${n[1]||"00"}`})]})]})},uc=Jo(Ws),vc=Jo(lc),pc=Jo(sc),fc=Jo(cc),gc=Jo(({children:r})=>e(Xe,{w:"full",justify:"center",children:r})),hc=Jo(dc),mc=Jo(Hs);Object.assign(({children:t,...a})=>Qo(t,t=>{const n=t.getProps(uc),o=t.getProps(vc),i=t.getProps(pc),l=t.getProps(fc),s=t.getProps(hc),c=t.getProps(mc),d=`radial-gradient(circle at top, color-mix(in srgb, ${lr("colors.text.primary")}, transparent 88%) 0%, transparent 25%)`,u=l||i||n;return r(Ji,{...a,fullscreen:!0,paddingType:"none",gap:0,children:[r(Xe,{h:"full",w:"full",style:u?{background:d}:{},children:[u&&r(Qe,{justify:"space-between",px:4,w:"full",children:[l?e(cc,{...l}):e(ze,{h:10,w:10,m:1}),i&&e(sc,{...i}),n?e(Ws,{...n}):e(ze,{h:10,w:10,m:1})]}),s&&e(dc,{...s}),o&&e(lc,{...o}),t.get(gc)]}),c&&e(Hs,{...c})]})}),{AccountMenu:uc,Actions:vc,Address:pc,ConnectionMenu:fc,Content:gc,Fiat:hc,Navigation:mc});const bc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),Cc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),yc=o(({className:t,...a},n)=>{const{primaryLabel:o,secondaryLabel:i,isExternalLink:l}=a;return Qo(a.children,s=>{const c=s.get(bc),d=s.get(Cc);return e(ho,{ref:n,className:ke(xe({p:4,bg:"neutral.quaternary",_hover:{bg:"neutral.secondary"}}),t),borderRadius:"0.5rem",expand:!0,...a,children:r(Qe,{justify:"space-between",w:"full",children:[r(Qe,{children:[c&&{...c,props:{height:24,...c.props,className:c.props.color?void 0:xe({color:"brand.base"})}},r(Xe,{gap:0,alignItems:"start",children:[r(Qe,{children:["string"==typeof o?e(Do,{fontWeight:"medium",children:o}):o,l&&e(gl,{width:14,height:14,color:lr("colors.neutral.primary")})]}),i&&e(Do,{size:"sm",fontColor:"text.tertiary",children:i})]})]}),e(Qe,{children:d&&{...d,props:{...d.props,className:d.props.color?void 0:xe({color:"neutral.primary"}),width:16,height:16}}})]})})})});yc.displayName="NavigationButton",Object.assign(yc,{LeadingIcon:bc,TrailingIcon:Cc});const wc=({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0047 25.3341C21.1593 25.3341 25.338 21.1554 25.338 16.0008C25.338 10.8461 21.1593 6.66745 16.0047 6.66745C10.85 6.66745 6.67135 10.8461 6.67135 16.0008C6.67135 21.1554 10.85 25.3341 16.0047 25.3341ZM14.6917 12.8109C15.1258 12.0172 15.3429 11.6204 15.6317 11.4922C15.8727 11.3854 16.1476 11.3854 16.3885 11.4922C16.6774 11.6204 16.8944 12.0172 17.3285 12.8109L17.7788 13.6343C17.8582 13.7794 17.8979 13.852 17.9486 13.9155C17.9918 13.9695 18.0409 14.0186 18.095 14.0618C18.1585 14.1126 18.2311 14.1523 18.3762 14.2316L19.1996 14.682C19.9933 15.1161 20.3901 15.3331 20.5182 15.622C20.6251 15.8629 20.6251 16.1378 20.5182 16.3787C20.3901 16.6676 19.9933 16.8846 19.1996 17.3187L18.3762 17.7691C18.2311 17.8484 18.1585 17.8881 18.095 17.9389C18.0409 17.9821 17.9918 18.0312 17.9486 18.0852C17.8979 18.1488 17.8582 18.2213 17.7788 18.3664L17.3285 19.1898C16.8944 19.9835 16.6774 20.3804 16.3885 20.5085C16.1476 20.6153 15.8727 20.6153 15.6317 20.5085C15.3429 20.3804 15.1258 19.9835 14.6917 19.1898L14.2414 18.3664C14.1621 18.2213 14.1224 18.1488 14.0716 18.0852C14.0284 18.0312 13.9793 17.9821 13.9252 17.9389C13.8617 17.8881 13.7892 17.8484 13.6441 17.7691L12.8207 17.3187C12.027 16.8846 11.6301 16.6676 11.502 16.3787C11.3952 16.1378 11.3952 15.8629 11.502 15.622C11.6301 15.3331 12.027 15.1161 12.8207 14.682L13.6441 14.2316C13.7891 14.1523 13.8617 14.1126 13.9252 14.0618C13.9793 14.0186 14.0284 13.9695 14.0716 13.9155C14.1224 13.852 14.1621 13.7794 14.2414 13.6343L14.6917 12.8109Z",fill:"url(#paint0_linear_10465_20426)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 30C23.732 30 30 23.732 30 16C30 8.26801 23.732 2 16 2C8.26801 2 2 8.26801 2 16C2 23.732 8.26801 30 16 30ZM16.0047 27.2008C22.1903 27.2008 27.2047 22.1864 27.2047 16.0008C27.2047 9.81519 22.1903 4.80078 16.0047 4.80078C9.8191 4.80078 4.80469 9.81519 4.80469 16.0008C4.80469 22.1864 9.8191 27.2008 16.0047 27.2008Z",fill:"url(#paint1_linear_10465_20426)"}),r("defs",{children:[r("linearGradient",{id:"paint0_linear_10465_20426",x1:4.8,y1:1.06667,x2:32.4967,y2:31.1537,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#6851FF"}),e("stop",{offset:1,stopColor:"#CE99FF"})]}),r("linearGradient",{id:"paint1_linear_10465_20426",x1:4.8,y1:1.06667,x2:32.4967,y2:31.1537,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#6851FF"}),e("stop",{offset:1,stopColor:"#CE99FF"})]})]})]}),xc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))})),Ec=({name:a,fiatBalanceWithSymbol:n,tokenBalanceWithSymbol:o,tokenIcon:i,logoUrl:l,tokenBalanceFirst:s,disabled:c=!1,isLoading:d=!1})=>{const u=s||!n;return r(Qe,{w:"full",justify:"space-between",opacity:c?"0.5":"1",children:[r(Qe,{gap:4,children:[i?{...i,props:{...i.props,width:40,height:40}}:l?e("img",{width:40,height:40,src:l,alt:`${a} logo`}):e(wc,{width:40,height:40}),e(Do,{fontWeight:"medium",styles:{textTransform:"capitalize",textAlign:"left"},children:a})]}),e(Xe,{gap:0,alignItems:"flex-end",children:r(t,d?{children:[e(ol,{height:"1rem",width:"6rem"}),o&&n&&e("div",{style:{marginTop:"4px"},children:e(ol,{height:"1rem",width:"4rem"})})]}:{children:[e(Do,{size:"sm",styles:{lineHeight:"1.5rem",textAlign:"right"},children:u?o:n}),e(Do,{size:"sm",fontColor:"text.secondary",styles:{lineHeight:"1.5rem",textAlign:"right"},children:u?n:o})]})})]})};Object.assign(r=>{const{name:t,fiatBalanceWithSymbol:a,tokenBalanceWithSymbol:n,logoUrl:o,onPress:i,tokenBalanceFirst:l,disabled:s,isLoading:u}=r,v=c(null),p=d(()=>{i?.()},[i]);return Qo(r.children,r=>{const c=r.get(xc);return i?e(ho,{ref:v,className:xe({_dark:{bg:"surface.tertiary"},_hover:{bg:"neutral.secondary"},bg:"neutral.quaternary",px:4,py:2,minH:16}),borderRadius:"0.5rem",expand:!0,onPress:s?void 0:p,disabled:s,children:e(Ec,{name:t,fiatBalanceWithSymbol:a,tokenBalanceWithSymbol:n,tokenIcon:c,logoUrl:o,tokenBalanceFirst:l,disabled:s,isLoading:u})}):e(Ec,{name:t,fiatBalanceWithSymbol:a,tokenBalanceWithSymbol:n,tokenIcon:c,logoUrl:o,tokenBalanceFirst:l,disabled:s,isLoading:u})})},{TokenIcon:xc});const kc={send:{title:"Send",primaryTextColor:lr("colors.text.primary"),secondaryTextColor:lr("colors.text.secondary"),icon:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2408 10.6508C17.6002 11.0701 18.2315 11.1187 18.6508 10.7593C19.0701 10.3998 19.1187 9.76853 18.7593 9.34921L12.7593 2.34921C12.5693 2.12756 12.2919 2 12 2C11.7081 2 11.4307 2.12756 11.2408 2.34921L5.24076 9.34921C4.88133 9.76853 4.9299 10.3998 5.34922 10.7593C5.76855 11.1187 6.39985 11.0701 6.75927 10.6508L11 5.70324L11 21C11 21.5523 11.4477 22 12 22C12.5523 22 13 21.5523 13 21L13 5.70328L17.2408 10.6508Z",fill:"currentColor"})]})},iconColor:lr("colors.negative.darker"),skeletonWidth:"89px"},receive:{title:"Receive",primaryTextColor:lr("colors.positive.base"),secondaryTextColor:`${lr("colors.positive.lighter")}`,icon:il,iconColor:lr("colors.positive.base"),skeletonWidth:"89px"},networkFee:{title:"Network Fee",primaryTextColor:lr("colors.text.primary"),secondaryTextColor:lr("colors.text.secondary"),icon:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8393 1.18633C16.0191 1.62165 16.0904 2.13337 16.0904 2.67308V9.59219H18.4874C19.3815 9.59219 20.4183 9.86546 20.8417 10.8036C21.2652 11.7417 20.7838 12.6983 20.1937 13.3654L20.1926 13.3668L11.8726 22.8234C11.5162 23.2281 11.1246 23.5652 10.7026 23.7735C10.2763 23.9838 9.741 24.0959 9.20231 23.8936C8.66315 23.6911 8.3341 23.2538 8.15233 22.8137C7.97254 22.3783 7.90123 21.8666 7.90123 21.3269V14.4078H5.50425C4.61648 14.4078 3.58277 14.1378 3.15874 13.2018C2.73585 12.2683 3.21019 11.312 3.79247 10.6408L3.79704 10.6355L12.119 1.17665C12.4754 0.771879 12.8671 0.434796 13.2891 0.226544C13.7154 0.0161889 14.2507 -0.0959383 14.7893 0.106398C15.3285 0.308914 15.6576 0.746213 15.8393 1.18633Z",fill:"currentColor"})]})},iconColor:lr("colors.brand.base"),skeletonWidth:"54px"},spendingCap:{title:"Spending Cap",primaryTextColor:lr("colors.warning.base"),secondaryTextColor:lr("colors.warning.base"),icon:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M13 1C15.7614 1 18 3.23858 18 6C18 6.55228 17.5523 7 17 7C16.4477 7 16 6.55228 16 6C16 4.34315 14.6569 3 13 3H12C9.79086 3 8 4.79086 8 7V9H18C20.7614 9 23 11.2386 23 14V18C23 20.7614 20.7614 23 18 23H6C3.23858 23 1 20.7614 1 18V14C1 11.2386 3.23858 9 6 9V7C6 3.68629 8.68629 1 12 1H13Z",fill:"currentColor"})]})},iconColor:lr("colors.warning.base"),skeletonWidth:"89px"}},Lc=Jo(({children:r,...t})=>e(ar,{children:g.map(r,e=>h(e,t))}));Object.assign(t=>{const{variant:a,primaryText:n,secondaryText:o,children:i,onPress:l,loading:s,showTitle:u=!0}=t,{title:v,primaryTextColor:p,secondaryTextColor:f,icon:g,iconColor:h,skeletonWidth:m}=kc[a],b="send"===a||"networkFee"===a,C=c(null),y=d(()=>{l?.()},[l]);return Qo(i,a=>{const i=a.get(Lc);return r(Qe,{w:"full",justify:"space-between",children:[r(Qe,{gap:2,children:[e(g,{width:16,height:16,color:h}),u&&e(Do,{size:"sm",fontWeight:"medium",children:v})]}),r(Qe,{gap:4,children:[o&&e(Do,{styles:{color:f},children:o}),b?e(ho,{ref:C,className:xe({px:4,py:2.5,bg:"surface.secondary"}),borderRadius:"0.75rem",onPress:y,...t,children:r(Qe,{gap:3,children:[s?e(ol,{width:m}):e(Do,{styles:{color:p},children:n}),i&&{...i,props:{...i.props,width:32,height:32}}]})}):r(Qe,{gap:3,children:[s?e(ol,{width:m}):e(Do,{styles:{color:p},children:n}),i&&{...i,props:{...i.props,width:32,height:32}}]})]})]})})},{TokenIcon:Lc});const Ic=Jo(({backgroundColor:r,children:t})=>e(ar,{borderRadius:60,height:11,width:11,backgroundColor:r,overflow:"hidden",children:h(g.only(t),{height:24,width:24})})),Sc=Jo(({backgroundColor:t,children:a})=>r(ze,{height:10,width:10,position:"relative",children:[e(We,{alignItems:"center",justifyContent:"center",position:"absolute",backgroundColor:t,height:7,width:7,borderRadius:30,children:h(a[0],{height:20,width:20})}),e(We,{alignItems:"center",justifyContent:"center",position:"absolute",backgroundColor:t,borderRadius:30,height:7,width:7,bottom:0,right:0,children:h(a[1],{height:20,width:20})})]})),Mc=Jo(({backgroundColor:r,children:t})=>e(We,{backgroundColor:r,borderRadius:30,alignItems:"center",justifyContent:"center",borderWidth:"2",borderColor:"neutral.tertiary",width:"5",height:"5",children:h(g.only(t),{height:10,width:10})}));Object.assign(({title:t,subtitle:a,primaryValue:n,primaryValueColor:o,secondaryValue:i,children:l,onPress:s,...c})=>Qo(l,l=>{const d=l.get(Sc),u=l.get(Ic),v=l.get(Mc);return e(ho,{borderRadius:"0.375rem",expand:!0,onPress:s,children:r(Qe,{p:3,gap:2,w:"full",pos:"relative",className:ke(xe({_active:{transform:"scale(0.95)"},_hover:{bgColor:"neutral.secondary"},bgColor:"neutral.tertiary"})),borderRadius:"md",justify:"space-between",alignItems:"center",...c,children:[r(Qe,{children:[d&&d,u&&u,v&&e(ze,{position:"absolute",left:9,top:11,children:v}),r(ze,{children:[e(Do,{truncate:!0,size:"md",fontWeight:"bold",children:t})," ",a&&e(Do,{truncate:!0,size:"sm",fontColor:"text.secondary",children:a})]})]}),r(ze,{children:[e(Do,{truncate:!0,size:"md",styles:{textAlign:"end",color:o},...c,children:n}),i&&e(Do,{truncate:!0,size:"sm",styles:{textAlign:"end"},fontColor:"text.secondary",children:i})]})]})})}),{DoubleIcon:Sc,PrimaryIcon:Ic,SecondaryIcon:Mc});function Tc({value:r,ecLevel:t="H",qrStyle:a="dots",eyeRadius:n=0,eyeColor:o=lr("colors.ink.90"),size:i=160,logoImage:l,logoHeight:s=32,logoWidth:c=32,logoOpacity:d=1,logoPadding:u=0,logoPaddingStyle:v="square",logoOnLoad:p,removeQrCodeBehindLogo:f=!1,enableCORS:g=!1,quietZone:h=5,bgColor:m=lr("colors.chalk"),fgColor:b=lr("colors.ink.90"),style:C,id:y="qr-code"}){return e(We,{alignItems:"center",justifyContent:"center",className:xe({shadow:"0.125rem 0.125rem 1.5rem {colors.ink.70/15}",overflow:"hidden",padding:1,borderRadius:"1rem"}),children:e(Ni,{value:r,ecLevel:t,qrStyle:a,eyeRadius:n,eyeColor:o,size:i,logoImage:l,logoHeight:s,logoWidth:c,logoOpacity:d,logoPadding:u,logoPaddingStyle:v,logoOnLoad:p,removeQrCodeBehindLogo:f,enableCORS:g,quietZone:h,bgColor:m,fgColor:b,style:C,id:y,"data-testid":y})})}const _c={brand:{base:{base:0,lightest:102,lighter:51,darker:-51,darkest:-102},dark:{base:0,lightest:"25%",lighter:"66%",darker:102,darkest:102}},neutral:{base:{primary:0,secondary:51,tertiary:102,quaternary:153},dark:{primary:"16%",secondary:"12%",tertiary:"8%",quaternary:"5%"}},surface:{base:{primary:0,secondary:-51,tertiary:-102},dark:{primary:0,secondary:21,tertiary:42}},text:{base:{primary:0,secondary:51,tertiary:102},dark:{primary:0,secondary:"72%",tertiary:"44%"}}},Pc=(e,r)=>{e=e.replace(/[^0-9a-f]/gi,"").slice(0,6);const t=r?Math.round(.01*parseFloat(r)*255).toString(16):void 0;return e.length<3?e:(e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t?e+t:e)},Ac=(e,r)=>{e=Pc(e);const t=parseInt(e,16),a=Math.min(Math.max(0,(t>>16)+r),255);return"#"+("00000"+(Math.min(Math.max(0,(255&t)+r),255)|Math.min(Math.max(0,(t>>8&255)+r),255)<<8|a<<16).toString(16)).slice(-6)},Nc=({label:e,Icon:r,onPress:t,hideLabel:a})=>n.createElement(ho,{onPress:t,borderRadius:14,className:xe({w:"full",px:4,py:3,bg:"neutral.quaternary",_hover:{bg:"neutral.tertiary"}})},n.createElement(We,{gap:3,w:"full",justifyContent:a?"center":"flex-start",alignItems:"center"},n.createElement(r,{width:24,height:24}),!a&&e&&n.createElement(Do,{fontWeight:"medium",styles:{lineHeight:"1.5rem"}},e))),Rc={METAMASK:"metamask",WALLETCONNECT:"walletconnect",COINBASE:"coinbase",PHANTOM:"phantom",RABBY:"rabby"};var Oc,Dc;!function(e){e.MalformedEmail="Invalid params: Please provide a valid email address.",e.SanEmail="We are unable to create an account with that email."}(Oc||(Oc={})),function(e){e.GOOGLE="google",e.APPLE="apple",e.FACEBOOK="facebook",e.GITHUB="github",e.TWITTER="twitter",e.LINKEDIN="linkedin",e.MICROSOFT="microsoft",e.TWITCH="twitch",e.BITBUCKET="bitbucket",e.DISCORD="discord",e.GITLAB="gitlab",e.TELEGRAM="telegram"}(Dc||(Dc={}));const Fc={[Rc.WALLETCONNECT]:{displayName:"WalletConnect",Icon:({title:t,titleId:a,...n})=>r("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M4.91675 7.51605C8.83338 3.68134 15.1835 3.68134 19.1001 7.51605L19.5715 7.97756C19.7673 8.16929 19.7673 8.48016 19.5715 8.6719L17.959 10.2506C17.8611 10.3465 17.7024 10.3465 17.6044 10.2506L16.9558 9.61554C14.2234 6.94035 9.79343 6.94035 7.06109 9.61554L6.36643 10.2957C6.26851 10.3915 6.10976 10.3915 6.01184 10.2957L4.39937 8.71693C4.20354 8.5252 4.20354 8.21433 4.39937 8.0226L4.91675 7.51605ZM22.4349 10.7811L23.87 12.1861C24.0658 12.3779 24.0658 12.6887 23.87 12.8805L17.399 19.2162C17.2032 19.4079 16.8857 19.4079 16.6898 19.2162C16.6898 19.2162 16.6898 19.2162 16.6898 19.2162L12.0971 14.7196C12.0482 14.6716 11.9688 14.6716 11.9198 14.7196L7.32721 19.2162C7.13138 19.4079 6.81387 19.408 6.61804 19.2162C6.61804 19.2162 6.61804 19.2162 6.61804 19.2162L0.146874 12.8804C-0.0489579 12.6887 -0.0489579 12.3778 0.146874 12.1861L1.58198 10.781C1.77781 10.5892 2.09532 10.5892 2.29115 10.781L6.88392 15.2777C6.93288 15.3256 7.01226 15.3256 7.06122 15.2777C7.06121 15.2777 7.06122 15.2777 7.06122 15.2777L11.6538 10.781C11.8496 10.5892 12.1671 10.5892 12.3629 10.781C12.3629 10.781 12.3629 10.781 12.3629 10.781L16.9557 15.2777C17.0047 15.3256 17.084 15.3256 17.133 15.2777L21.7257 10.7811C21.9215 10.5893 22.239 10.5893 22.4349 10.7811Z",fill:"#3B99FC"})]})},[Rc.METAMASK]:{displayName:"MetaMask",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M28.7213 29.0412L22.4653 27.1784L17.7474 29.9987L14.4558 29.9973L9.73516 27.1784L3.48192 29.0412L1.57977 22.6199L3.48192 15.4932L1.57977 9.46778L3.48192 2L13.2531 7.8378H18.9501L28.7213 2L30.6234 9.46778L28.7213 15.4932L30.6234 22.6199L28.7213 29.0412Z",fill:"#FF5C16"}),e("path",{d:"M3.48334 2L13.2546 7.84189L12.866 11.8511L3.48334 2Z",fill:"#FF5C16"}),e("path",{d:"M9.73645 22.6226L14.0357 25.8976L9.73645 27.1783V22.6226Z",fill:"#FF5C16"}),e("path",{d:"M13.6921 17.208L12.8658 11.8538L7.5766 15.4945L7.57385 15.4931V15.4958L7.59021 19.2434L9.73509 17.208H9.73646H13.6921Z",fill:"#FF5C16"}),e("path",{d:"M28.7212 2L18.95 7.84189L19.3373 11.8511L28.7212 2Z",fill:"#FF5C16"}),e("path",{d:"M22.468 22.6226L18.1688 25.8976L22.468 27.1783V22.6226Z",fill:"#FF5C16"}),e("path",{d:"M24.6294 15.4958V15.4931L24.628 15.4945L19.3388 11.8538L18.5125 17.208H22.4682L24.6144 19.2434L24.6294 15.4958Z",fill:"#FF5C16"}),e("path",{d:"M9.73517 27.1782L3.48193 29.041L1.57977 22.6224H9.73517V27.1782Z",fill:"#E34807"}),e("path",{d:"M13.6908 17.2067L14.8853 24.947L13.23 20.6433L7.58759 19.2435L9.73384 17.2067H13.6895H13.6908Z",fill:"#E34807"}),e("path",{d:"M22.468 27.1782L28.7212 29.041L30.6233 22.6224H22.468V27.1782Z",fill:"#E34807"}),e("path",{d:"M18.5123 17.2067L17.3178 24.947L18.9732 20.6433L24.6156 19.2435L22.468 17.2067H18.5123Z",fill:"#E34807"}),e("path",{d:"M1.57977 22.6199L3.48192 15.4932H7.57259L7.58757 19.2421L13.23 20.642L14.8853 24.9457L14.0345 25.8935L9.7352 22.6185H1.57977V22.6199Z",fill:"#FF8D5D"}),e("path",{d:"M30.6234 22.6199L28.7212 15.4932H24.6306L24.6156 19.2421L18.9732 20.642L17.3178 24.9457L18.1687 25.8935L22.468 22.6185H30.6234V22.6199Z",fill:"#FF8D5D"}),e("path",{d:"M18.9502 7.83777H16.1017H13.2532L12.866 11.847L14.8854 24.9416H17.318L19.3388 11.847L18.9502 7.83777Z",fill:"#FF8D5D"}),e("path",{d:"M3.48192 2L1.57977 9.46778L3.48192 15.4932H7.57259L12.8646 11.8511L3.48192 2Z",fill:"#661800"}),e("path",{d:"M12.5086 18.7614H10.6556L9.64655 19.7503L13.2313 20.6393L12.5086 18.76V18.7614Z",fill:"#661800"}),e("path",{d:"M28.7213 2L30.6235 9.46778L28.7213 15.4932H24.6306L19.3387 11.8511L28.7213 2Z",fill:"#661800"}),e("path",{d:"M19.6973 18.7614H21.5531L22.5622 19.7517L18.9733 20.642L19.6973 18.76V18.7614Z",fill:"#661800"}),e("path",{d:"M17.746 27.4441L18.1687 25.8963L17.3178 24.9485H14.8839L14.033 25.8963L14.4557 27.4441",fill:"#661800"}),e("path",{d:"M17.7459 27.444V29.9999H14.4556V27.444H17.7459Z",fill:"#C0C4CD"}),e("path",{d:"M9.73645 27.1756L14.4584 29.9986V27.4427L14.0357 25.8949L9.73645 27.1756Z",fill:"#E7EBF6"}),e("path",{d:"M22.4681 27.1756L17.7461 29.9986V27.4427L18.1688 25.8949L22.4681 27.1756Z",fill:"#E7EBF6"})]})},[Rc.COINBASE]:{displayName:"Coinbase Wallet",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("circle",{cx:16,cy:16,r:16,fill:"url(#paint0_linear_8941_733)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0013 26.666C21.8923 26.666 26.668 21.8903 26.668 15.9993C26.668 10.1083 21.8923 5.33264 16.0013 5.33264C10.1103 5.33264 5.33463 10.1083 5.33463 15.9993C5.33463 21.8903 10.1103 26.666 16.0013 26.666ZM13.8659 12.8613C13.3136 12.8613 12.8659 13.309 12.8659 13.8613V18.1358C12.8659 18.6881 13.3136 19.1358 13.8659 19.1358H18.1404C18.6927 19.1358 19.1404 18.6881 19.1404 18.1358V13.8613C19.1404 13.309 18.6927 12.8613 18.1404 12.8613H13.8659Z",fill:"white"}),e("defs",{children:r("linearGradient",{id:"paint0_linear_8941_733",x1:6.5,y1:3.5,x2:26,y2:29.5,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#2A62F5"}),e("stop",{offset:1,stopColor:"#164EE0"})]})})]})},[Rc.PHANTOM]:{displayName:"Phantom",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("mask",{id:"mask0_10729_1440",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:1,y:1,width:30,height:30,children:e("path",{d:"M31 1H1V31H31V1Z",fill:"white"})}),r("g",{mask:"url(#mask0_10729_1440)",children:[e("path",{d:"M24.5602 1H7.4398C3.8832 1 1 3.8832 1 7.4398V24.5602C1 28.1168 3.8832 31 7.4398 31H24.5602C28.1168 31 31 28.1168 31 24.5602V7.4398C31 3.8832 28.1168 1 24.5602 1Z",fill:"#AB9FF2"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9305 20.4953C12.7525 22.3003 10.7787 24.5844 8.15225 24.5844C6.91065 24.5844 5.7168 24.0733 5.7168 21.853C5.7168 16.1986 13.437 7.44531 20.6001 7.44531C24.6751 7.44531 26.2987 10.2725 26.2987 13.4831C26.2987 17.6042 23.6245 22.3163 20.9662 22.3163C20.1225 22.3163 19.7087 21.853 19.7087 21.1183C19.7087 20.9266 19.7405 20.719 19.8042 20.4953C18.8969 22.0447 17.1459 23.4823 15.5063 23.4823C14.3125 23.4823 13.7076 22.7316 13.7076 21.6773C13.7076 21.294 13.7872 20.8947 13.9305 20.4953ZM23.6091 13.3717C23.6091 14.3073 23.0571 14.775 22.4396 14.775C21.8128 14.775 21.2702 14.3073 21.2702 13.3717C21.2702 12.4362 21.8128 11.9684 22.4396 11.9684C23.0571 11.9684 23.6091 12.4362 23.6091 13.3717ZM20.1008 13.3718C20.1008 14.3073 19.5488 14.7751 18.9313 14.7751C18.3045 14.7751 17.7619 14.3073 17.7619 13.3718C17.7619 12.4362 18.3045 11.9685 18.9313 11.9685C19.5488 11.9685 20.1008 12.4362 20.1008 13.3718Z",fill:"#FFFDF8"})]})]})},[Rc.RABBY]:{displayName:"Rabby",Icon:({title:t,titleId:a,...n})=>r("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,r("g",{clipPath:"url(#clip0_12156_1502)",children:[e("path",{d:"M30.9683 17.8945C32.1562 15.2317 26.2834 7.7924 20.6728 4.69301C17.1364 2.29195 13.4513 2.62182 12.705 3.67607C11.0671 5.98968 18.1286 7.95014 22.8511 10.2378C21.836 10.6802 20.8793 11.4741 20.3167 12.4894C18.5561 10.5609 14.6918 8.90006 10.1575 10.2378C7.10193 11.1394 4.56248 13.2647 3.58098 16.4748C3.34252 16.3685 3.07845 16.3094 2.80065 16.3094C1.73836 16.3094 0.877197 17.1735 0.877197 18.2393C0.877197 19.3052 1.73836 20.1693 2.80065 20.1693C2.99755 20.1693 3.61322 20.0368 3.61322 20.0368L13.4513 20.1083C9.51684 26.371 6.40753 27.2865 6.40753 28.3715C6.40753 29.4564 9.38264 29.1624 10.4997 28.758C15.8473 26.822 21.5909 20.7882 22.5765 19.0513C26.7154 19.5694 30.1937 19.6307 30.9683 17.8945Z",fill:"url(#paint0_linear_12156_1502)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.8507 10.2385C22.8509 10.2386 22.8512 10.2387 22.8514 10.2388C23.0704 10.1523 23.0349 9.82791 22.9748 9.57312C22.8367 8.98766 20.453 6.6259 18.2146 5.56811C15.1645 4.12666 12.9185 4.20098 12.5867 4.86535C13.208 6.14298 16.0884 7.34261 19.0965 8.59539C20.38 9.12991 21.6867 9.6741 22.8512 10.2382C22.851 10.2383 22.8508 10.2384 22.8507 10.2385Z",fill:"url(#paint1_linear_12156_1502)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.9801 23.0977C18.3632 22.8612 17.6664 22.6441 16.8743 22.4473C17.7189 20.9308 17.8961 18.6858 17.0985 17.2664C15.9789 15.2744 14.5736 14.2141 11.308 14.2141C9.51189 14.2141 4.67598 14.8211 4.59017 18.8717C4.58115 19.2967 4.58993 19.6862 4.62061 20.0443L13.4513 20.1086C12.2608 22.0036 11.1458 23.409 10.1697 24.4776C11.3417 24.779 12.3088 25.032 13.1968 25.2642C14.0393 25.4845 14.8104 25.6863 15.6176 25.8929C16.8352 25.0029 17.9798 24.0324 18.9801 23.0977Z",fill:"url(#paint2_linear_12156_1502)"}),e("path",{d:"M3.4631 19.6282C3.82387 22.7051 5.56671 23.911 9.12801 24.2679C12.6893 24.6247 14.7321 24.3853 17.4518 24.6336C19.7233 24.8409 21.7515 26.0023 22.5039 25.601C23.1809 25.2398 22.8021 23.9348 21.8961 23.0975C20.7216 22.0123 19.096 21.2577 16.2359 20.9899C16.8059 19.424 16.6462 17.2284 15.7609 16.0338C14.4809 14.3066 12.1183 13.5257 9.12801 13.8669C6.00393 14.2233 3.0104 15.7666 3.4631 19.6282Z",fill:"url(#paint3_linear_12156_1502)"})]}),r("defs",{children:[r("linearGradient",{id:"paint0_linear_12156_1502",x1:9.80166,y1:15.5365,x2:30.7229,y2:21.4494,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#8697FF"}),e("stop",{offset:1,stopColor:"#ABB7FF"})]}),r("linearGradient",{id:"paint1_linear_12156_1502",x1:27.1914,y1:15.1379,x2:12.0523,y2:.0128466,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#8697FF"}),e("stop",{offset:1,stopColor:"#5156D8",stopOpacity:0})]}),r("linearGradient",{id:"paint2_linear_12156_1502",x1:19.3999,y1:23.6263,x2:4.88188,y2:15.3076,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#465EED"}),e("stop",{offset:1,stopColor:"#8697FF",stopOpacity:0})]}),r("linearGradient",{id:"paint3_linear_12156_1502",x1:11.0501,y1:15.3802,x2:20.8875,y2:27.8377,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#8898FF"}),e("stop",{offset:.983895,stopColor:"#6277F1"})]}),e("clipPath",{id:"clip0_12156_1502",children:e("rect",{width:31.5,height:28,fill:"white",transform:"translate(0.25 2)"})})]})]})}},jc={[Dc.GOOGLE]:{displayName:"Google",Icon:al},[Dc.APPLE]:{displayName:"Apple",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M17.4523 11.6262C17.4417 9.82294 18.2587 8.46385 19.9087 7.46173C18.9859 6.13967 17.5898 5.41253 15.7495 5.27239C14.007 5.1349 12.1006 6.28774 11.4025 6.28774C10.6648 6.28774 8.97785 5.31999 7.6505 5.31999C4.91119 5.36229 2 7.50403 2 11.8616C2 13.1492 2.23533 14.4792 2.70598 15.8489C3.33528 17.6522 5.60395 22.0705 7.97044 21.9991C9.20789 21.9701 10.0831 21.1213 11.6934 21.1213C13.2561 21.1213 14.0652 21.9991 15.4454 21.9991C17.833 21.9648 19.8849 17.9483 20.4825 16.1398C17.2804 14.63 17.4523 11.7188 17.4523 11.6262ZM14.6733 3.56164C16.0139 1.96988 15.8923 0.520893 15.8526 0C14.668 0.0687473 13.2984 0.806459 12.5183 1.71339C11.659 2.68643 11.154 3.88951 11.2624 5.24595C12.5421 5.34378 13.7108 4.68539 14.6733 3.56164Z",fill:"black"})]})},[Dc.FACEBOOK]:{displayName:"Facebook",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M17.9214 14.3997L18.582 10.0883H14.4467V7.29096C14.4467 6.11245 15.0234 4.96121 16.8771 4.96121H18.7581V1.29148C18.7581 1.29148 17.0512 1 15.4197 1C12.0142 1 9.78718 3.06343 9.78718 6.80236V10.0883H6V14.3997H9.78718V24.8197C10.5463 24.9392 11.3243 25 12.1169 25C12.9096 25 13.6876 24.9371 14.4467 24.8197V14.3997H17.9214Z",fill:"#1977F3"})]})},[Dc.GITHUB]:{displayName:"GitHub",Icon:({title:t,titleId:a,...n})=>r("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3159 6.36074e-06C9.39213 -0.00296524 6.5629 1.03535 4.33518 2.92889C2.10746 4.82242 0.626879 7.4474 0.158754 10.3334C-0.30937 13.2194 0.265566 16.1778 1.78053 18.6784C3.29549 21.179 5.65146 23.0584 8.42622 23.9798C9.04554 24.0931 9.26457 23.7079 9.26457 23.3831C9.26457 23.0584 9.26457 22.3182 9.26457 21.291C5.8281 22.0387 5.10304 19.637 5.10304 19.637C4.87506 18.8926 4.39073 18.2531 3.73601 17.8319C2.62576 17.0766 3.82664 17.0766 3.82664 17.0766C4.21583 17.1316 4.5874 17.2744 4.91323 17.4942C5.23905 17.7141 5.51058 18.0052 5.70726 18.3455C5.87437 18.6485 6.09967 18.9155 6.37023 19.1312C6.64079 19.347 6.95129 19.5071 7.28391 19.6026C7.61653 19.698 7.96472 19.7268 8.3085 19.6874C8.65228 19.6479 8.98488 19.541 9.28723 19.3726C9.33463 18.7513 9.60249 18.1674 10.0425 17.7262C7.30843 17.4165 4.43841 16.3591 4.43841 11.684C4.41963 10.4627 4.87123 9.28099 5.6997 8.38349C5.33072 7.3216 5.37385 6.15988 5.82055 5.12828C5.82055 5.12828 6.85526 4.79596 9.20415 6.38958C11.2212 5.83579 13.3501 5.83579 15.3671 6.38958C17.716 4.79596 18.7432 5.12828 18.7432 5.12828C19.1961 6.14897 19.25 7.30235 18.8942 8.36083C19.7227 9.25834 20.1743 10.4401 20.1555 11.6614C20.1555 16.3893 17.278 17.424 14.5363 17.7035C14.8303 17.999 15.0573 18.3543 15.202 18.7452C15.3466 19.1361 15.4055 19.5536 15.3747 19.9693C15.3747 21.6158 15.3747 22.9451 15.3747 23.3454C15.3747 23.7456 15.5937 24.0553 16.2206 23.9345C18.9638 22.9888 21.2844 21.1041 22.7727 18.6132C24.2609 16.1223 24.8208 13.1856 24.3536 10.3219C23.8864 7.45814 22.4221 4.85167 20.2194 2.96295C18.0167 1.07422 15.2173 0.024771 12.3159 6.36074e-06Z",fill:"#191717"})]})},[Dc.TWITTER]:{displayName:"Twitter",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("g",{clipPath:"url(#clip0_8934_240)",children:e("path",{d:"M13.6408 10.4643L20.9224 2H19.1969L12.8743 9.34942L7.82442 2H2L9.63638 13.1136L2 21.9897H3.72561L10.4025 14.2285L15.7355 21.9897H21.5599L13.6404 10.4643H13.6408ZM11.2773 13.2115L10.5036 12.1049L4.34737 3.29901H6.9978L11.966 10.4056L12.7397 11.5123L19.1977 20.7498H16.5473L11.2773 13.212V13.2115Z",fill:"black"})}),e("defs",{children:e("clipPath",{id:"clip0_8934_240",children:e("rect",{width:19.5599,height:20,fill:"white",transform:"translate(2 2)"})})})]})},[Dc.LINKEDIN]:{displayName:"LinkedIn",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2946 21H21.028L21.0296 14.4043C21.0296 11.1664 20.3319 8.6775 16.548 8.6775C15.1034 8.62385 13.6913 9.37184 12.9615 10.6195V8.97649H9.37758V20.9995H13.1109V15.0518C13.1109 13.4834 13.4084 11.9644 15.3529 11.9644C17.2697 11.9644 17.2946 13.7591 17.2946 15.1533V21ZM2.99811 5.16657C2.99811 6.3551 3.97657 7.33299 5.1651 7.33299C6.3534 7.33288 7.33118 6.35442 7.33118 5.16612C7.33096 3.97781 6.35306 3.00003 5.16464 3.00003C3.97611 3.00003 2.99811 3.97804 2.99811 5.16657ZM3.29451 21H7.03174V8.97649H3.29451V21Z",fill:"#0A66C2"})]})},[Dc.MICROSOFT]:{displayName:"Microsoft",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,r("g",{clipPath:"url(#clip0_8934_233)",children:[e("path",{d:"M1.95654 1.95651H11.5218V11.5217H1.95654V1.95651Z",fill:"#F35325"}),e("path",{d:"M12.4782 1.95651H22.0435V11.5217H12.4782V1.95651Z",fill:"#81BC06"}),e("path",{d:"M1.95654 12.4783H11.5218V22.0435H1.95654V12.4783Z",fill:"#05A6F0"}),e("path",{d:"M12.4782 12.4783H22.0435V22.0435H12.4782V12.4783Z",fill:"#FFBA08"})]}),e("defs",{children:e("clipPath",{id:"clip0_8934_233",children:e("rect",{width:22,height:22,fill:"white",transform:"translate(1 1)"})})})]})},[Dc.TWITCH]:{displayName:"Twitch",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M20.8571 11.1428L17.4286 14.5714H14L11 17.5714V14.5714H7.14285V1.71426H20.8571V11.1428Z",fill:"white"}),e("path",{d:"M6.28571 0L2 4.28571V19.7143H7.14286V24L11.4286 19.7143H14.8571L22.5714 12V0H6.28571ZM20.8571 11.1429L17.4286 14.5714H14L11 17.5714V14.5714H7.14286V1.71429H20.8571V11.1429Z",fill:"#9146FF"}),e("path",{d:"M18.2857 4.71429H16.5714V9.85715H18.2857V4.71429Z",fill:"#9146FF"}),e("path",{d:"M13.5714 4.71429H11.8571V9.85715H13.5714V4.71429Z",fill:"#9146FF"})]})},[Dc.BITBUCKET]:{displayName:"Bitbucket",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M1.71397 2.00006C1.6111 1.99873 1.50919 2.01994 1.41539 2.06219C1.32159 2.10444 1.23817 2.16672 1.171 2.24464C1.10382 2.32256 1.05452 2.41424 1.02655 2.51324C0.998581 2.61225 0.992621 2.71617 1.00909 2.81772L4.00132 20.9826C4.03861 21.2049 4.15302 21.4069 4.32447 21.5532C4.49592 21.6995 4.71344 21.7808 4.93882 21.7826H19.2938C19.4627 21.7848 19.6269 21.7262 19.7562 21.6175C19.8856 21.5089 19.9717 21.3573 19.9987 21.1905L22.9909 2.82125C23.0074 2.7197 23.0014 2.61577 22.9734 2.51677C22.9455 2.41776 22.8962 2.32608 22.829 2.24816C22.7618 2.17024 22.6784 2.10797 22.5846 2.06572C22.4908 2.02346 22.3889 2.00226 22.286 2.00358L1.71397 2.00006ZM14.3138 15.1285H9.73203L8.49144 8.64712H15.424L14.3138 15.1285Z",fill:"#2684FF"}),e("path",{d:"M22.0389 8.64706H15.4236L14.3134 15.1285H9.73166L4.32167 21.55C4.49314 21.6982 4.71176 21.7807 4.93844 21.7826H19.2969C19.4659 21.7848 19.63 21.7262 19.7594 21.6175C19.8888 21.5088 19.9748 21.3573 20.0018 21.1905L22.0389 8.64706Z",fill:"url(#paint0_linear_8934_282)"}),e("defs",{children:r("linearGradient",{id:"paint0_linear_8934_282",x1:23.5685,y1:10.4621,x2:12.6358,y2:18.9948,gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:.18,stopColor:"#0052CC"}),e("stop",{offset:1,stopColor:"#2684FF"})]})})]})},[Dc.DISCORD]:{displayName:"Discord",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M20.3303 4.52336C18.7535 3.80145 17.0888 3.2893 15.3789 3C15.1449 3.41829 14.9332 3.84865 14.7446 4.28928C12.9232 4.01482 11.071 4.01482 9.24961 4.28928C9.06095 3.84869 8.84924 3.41834 8.61535 3C6.90433 3.29174 5.2386 3.80511 3.66019 4.52713C0.526644 9.16327 -0.322811 13.6843 0.101917 18.1411C1.937 19.4969 3.99098 20.5281 6.17458 21.1897C6.66626 20.5284 7.10134 19.8268 7.47519 19.0925C6.76511 18.8273 6.07975 18.5001 5.42706 18.1146C5.59884 17.9901 5.76684 17.8617 5.92918 17.7371C7.82837 18.6303 9.90124 19.0933 12 19.0933C14.0987 19.0933 16.1715 18.6303 18.0707 17.7371C18.235 17.8711 18.403 17.9995 18.5729 18.1146C17.9189 18.5007 17.2323 18.8285 16.5209 19.0944C16.8943 19.8284 17.3294 20.5293 17.8216 21.1897C20.007 20.5307 22.0626 19.5001 23.898 18.143C24.3963 12.9745 23.0467 8.49503 20.3303 4.52336ZM8.01318 15.4002C6.82961 15.4002 5.85179 14.3261 5.85179 13.0047C5.85179 11.6833 6.79563 10.5998 8.0094 10.5998C9.22318 10.5998 10.1934 11.6833 10.1727 13.0047C10.1519 14.3261 9.21941 15.4002 8.01318 15.4002ZM15.9867 15.4002C14.8013 15.4002 13.8272 14.3261 13.8272 13.0047C13.8272 11.6833 14.7711 10.5998 15.9867 10.5998C17.2024 10.5998 18.1651 11.6833 18.1444 13.0047C18.1236 14.3261 17.193 15.4002 15.9867 15.4002Z",fill:"#5865F2"})]})},[Dc.GITLAB]:{displayName:"GitLab",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,e("path",{d:"M22.6338 9.38662L22.6029 9.30758L19.6085 1.49288C19.5476 1.33972 19.4397 1.20979 19.3004 1.12174C19.1609 1.03518 18.9983 0.993493 18.8344 1.0023C18.6705 1.01111 18.5133 1.06999 18.3839 1.171C18.256 1.2749 18.1632 1.41569 18.1182 1.57422L16.0964 7.75999H7.90937L5.88754 1.57422C5.84369 1.41483 5.75069 1.27333 5.62178 1.16985C5.49243 1.06885 5.3352 1.00996 5.17132 1.00116C5.00744 0.992348 4.8448 1.03404 4.70537 1.12059C4.56633 1.209 4.45855 1.33882 4.39722 1.49174L1.39712 9.303L1.36734 9.38204C0.936285 10.5083 0.883079 11.7442 1.21574 12.9034C1.5484 14.0625 2.2489 15.0821 3.21162 15.8084L3.22193 15.8164L3.24942 15.8359L7.81085 19.2518L10.0675 20.9597L11.4421 21.9976C11.6029 22.1197 11.7993 22.1858 12.0011 22.1858C12.203 22.1858 12.3994 22.1197 12.5602 21.9976L13.9348 20.9597L16.1914 19.2518L20.7804 15.8152L20.7918 15.8061C21.7524 15.0797 22.4512 14.0611 22.7834 12.9035C23.1156 11.746 23.0631 10.5118 22.6338 9.38662Z",fill:"#E24329"}),e("path",{d:"M22.6338 9.38663L22.6029 9.30759C21.1438 9.60707 19.7689 10.2251 18.5764 11.1175L12 16.0902C14.2395 17.7844 16.1891 19.2564 16.1891 19.2564L20.7781 15.8198L20.7895 15.8107C21.7515 15.0843 22.4514 14.0651 22.784 12.9065C23.1166 11.7479 23.0639 10.5127 22.6338 9.38663Z",fill:"#FC6D26"}),e("path",{d:"M7.81085 19.2564L10.0675 20.9643L11.4421 22.0022C11.6029 22.1243 11.7993 22.1903 12.0011 22.1903C12.203 22.1903 12.3994 22.1243 12.5602 22.0022L13.9348 20.9643L16.1914 19.2564C16.1914 19.2564 14.2395 17.7798 12 16.0902C9.76052 17.7798 7.81085 19.2564 7.81085 19.2564Z",fill:"#FCA326"}),e("path",{d:"M5.42246 11.1175C4.23089 10.2233 2.85628 9.60363 1.39712 9.30301L1.36734 9.38205C0.936285 10.5083 0.883079 11.7442 1.21574 12.9034C1.5484 14.0625 2.2489 15.0821 3.21162 15.8084L3.22193 15.8164L3.24942 15.8359L7.81085 19.2518C7.81085 19.2518 9.75823 17.7798 12 16.0856L5.42246 11.1175Z",fill:"#FC6D26"})]})},[Dc.TELEGRAM]:{displayName:"Telegram",Icon:({title:t,titleId:a,...n})=>r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a,...n,children:[t?e("title",{id:a,children:t}):null,r("g",{clipPath:"url(#clip0_11541_21172)",children:[e("path",{d:"M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23Z",fill:"url(#paint0_linear_11541_21172)"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.97918 11.8839C9.18591 10.4868 11.3242 9.56571 12.3941 9.1207C15.449 7.85009 16.0837 7.62938 16.4974 7.62209C16.5884 7.62048 16.7919 7.64304 16.9237 7.74998C17.035 7.84028 17.0656 7.96226 17.0803 8.04787C17.0949 8.13348 17.1132 8.32851 17.0986 8.4809C16.9331 10.2203 16.2168 14.4412 15.8524 16.3893C15.6982 17.2137 15.3946 17.4901 15.1007 17.5171C14.4619 17.5759 13.9768 17.0949 13.3581 16.6894C12.39 16.0548 11.843 15.6597 10.9033 15.0404C9.81722 14.3247 10.5213 13.9314 11.1402 13.2885C11.3022 13.1203 14.1167 10.5603 14.1712 10.328C14.178 10.299 14.1843 10.1907 14.12 10.1335C14.0557 10.0764 13.9607 10.0959 13.8922 10.1115C13.7951 10.1335 12.2485 11.1558 9.25237 13.1782C8.81337 13.4797 8.41573 13.6266 8.05946 13.6189C7.66671 13.6104 6.9112 13.3968 6.34956 13.2142C5.66068 12.9903 5.11318 12.8719 5.16085 12.4916C5.18569 12.2935 5.45846 12.091 5.97918 11.8839Z",fill:"white"})]}),r("defs",{children:[r("linearGradient",{id:"paint0_linear_11541_21172",x1:1101,y1:1,x2:1101,y2:2184.68,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#2AABEE"}),e("stop",{offset:1,stopColor:"#229ED9"})]}),e("clipPath",{id:"clip0_11541_21172",children:e("rect",{width:22,height:22,fill:"white",transform:"translate(1 1)"})})]})]})}},zc={[Dc.APPLE]:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{d:"M17.4523 11.6262C17.4417 9.82294 18.2587 8.46385 19.9087 7.46173C18.9859 6.13967 17.5898 5.41253 15.7495 5.27239C14.007 5.1349 12.1006 6.28774 11.4025 6.28774C10.6648 6.28774 8.97785 5.31999 7.6505 5.31999C4.91119 5.36229 2 7.50403 2 11.8616C2 13.1492 2.23533 14.4792 2.70598 15.8489C3.33528 17.6522 5.60395 22.0705 7.97044 21.9991C9.20789 21.9701 10.0831 21.1213 11.6934 21.1213C13.2561 21.1213 14.0652 21.9991 15.4454 21.9991C17.833 21.9648 19.8849 17.9483 20.4825 16.1398C17.2804 14.63 17.4523 11.7188 17.4523 11.6262ZM14.6733 3.56164C16.0139 1.96988 15.8923 0.520893 15.8526 0C14.668 0.0687473 13.2984 0.806459 12.5183 1.71339C11.659 2.68643 11.154 3.88951 11.2624 5.24595C12.5421 5.34378 13.7108 4.68539 14.6733 3.56164Z",fill:"currentColor"})]})},[Dc.TWITTER]:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("g",{clipPath:"url(#clip0_10091_39020)",children:e("path",{d:"M13.6408 10.4643L20.9224 2H19.1969L12.8743 9.34942L7.82442 2H2L9.63638 13.1136L2 21.9897H3.72561L10.4025 14.2285L15.7355 21.9897H21.5599L13.6404 10.4643H13.6408ZM11.2773 13.2115L10.5036 12.1049L4.34737 3.29901H6.9978L11.966 10.4056L12.7397 11.5123L19.1977 20.7498H16.5473L11.2773 13.212V13.2115Z",fill:"currentColor"})}),e("defs",{children:e("clipPath",{id:"clip0_10091_39020",children:e("rect",{width:19.5599,height:20,fill:"currentColor",transform:"translate(2 2)"})})})]})},[Dc.GITHUB]:({color:t,title:a,titleId:n,...o})=>{const i=t||lr("colors.text.primary");return r("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":n,...o,children:[a?e("title",{id:n,children:a}):null,e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3159 6.36074e-06C9.39213 -0.00296524 6.5629 1.03535 4.33518 2.92889C2.10746 4.82242 0.626879 7.4474 0.158754 10.3334C-0.30937 13.2194 0.265566 16.1778 1.78053 18.6784C3.29549 21.179 5.65146 23.0584 8.42622 23.9798C9.04554 24.0931 9.26457 23.7079 9.26457 23.3831C9.26457 23.0584 9.26457 22.3182 9.26457 21.291C5.8281 22.0387 5.10304 19.637 5.10304 19.637C4.87506 18.8926 4.39073 18.2531 3.73601 17.8319C2.62576 17.0766 3.82664 17.0766 3.82664 17.0766C4.21583 17.1316 4.5874 17.2744 4.91323 17.4942C5.23905 17.7141 5.51058 18.0052 5.70726 18.3455C5.87437 18.6485 6.09967 18.9155 6.37023 19.1312C6.64079 19.347 6.95129 19.5071 7.28391 19.6026C7.61653 19.698 7.96472 19.7268 8.3085 19.6874C8.65228 19.6479 8.98488 19.541 9.28723 19.3726C9.33463 18.7513 9.60249 18.1674 10.0425 17.7262C7.30843 17.4165 4.43841 16.3591 4.43841 11.684C4.41963 10.4627 4.87123 9.28099 5.6997 8.38349C5.33072 7.3216 5.37385 6.15988 5.82055 5.12828C5.82055 5.12828 6.85526 4.79596 9.20415 6.38958C11.2212 5.83579 13.3501 5.83579 15.3671 6.38958C17.716 4.79596 18.7432 5.12828 18.7432 5.12828C19.1961 6.14897 19.25 7.30235 18.8942 8.36083C19.7227 9.25834 20.1743 10.4401 20.1555 11.6614C20.1555 16.3893 17.278 17.424 14.5363 17.7035C14.8303 17.999 15.0573 18.3543 15.202 18.7452C15.3466 19.1361 15.4055 19.5536 15.3747 19.9693C15.3747 21.6158 15.3747 22.9451 15.3747 23.3454C15.3747 23.7456 15.5937 24.0553 16.2206 23.9345C18.9638 22.9888 21.2844 21.1041 22.7727 18.6132C24.2609 16.1223 24.8208 13.1856 24.3536 10.3219C23.8864 7.45814 22.4221 4.85167 20.2194 2.96295C18.0167 1.07422 15.2173 0.024771 12.3159 6.36074e-06Z",fill:"currentColor"})]})}},Bc=[".cu",".ir",".kp",".sy",".gob.ve"];var Vc=(e=>(e.MissingApiKey="MISSING_API_KEY",e.ModalNotReady="MODAL_NOT_READY",e.ConnectionLost="CONNECTION_WAS_LOST",e.MalformedResponse="MALFORMED_RESPONSE",e.InvalidArgument="INVALID_ARGUMENT",e.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",e.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",e))(Vc||{}),Hc=(e=>(e.SyncWeb3Method="SYNC_WEB3_METHOD",e.DuplicateIframe="DUPLICATE_IFRAME",e.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",e.DeprecationNotice="DEPRECATION_NOTICE",e.ProductAnnouncement="ANNOUNCEMENT",e))(Hc||{}),Wc=(e=>(e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",e[e.MagicLinkExpired=-10001]="MagicLinkExpired",e[e.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",e[e.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",e[e.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",e[e.UpdateEmailFailed=-10004]="UpdateEmailFailed",e[e.UserRequestEditEmail=-10005]="UserRequestEditEmail",e[e.InactiveRecipient=-10010]="InactiveRecipient",e[e.AccessDeniedToUser=-10011]="AccessDeniedToUser",e[e.RedirectLoginComplete=-10015]="RedirectLoginComplete",e[e.DpopInvalidated=-10019]="DpopInvalidated",e))(Wc||{}),Uc=(e=>(e.PROVIDER="magic_3pw_provider",e.ADDRESS="magic_3pw_address",e.CHAIN_ID="magic_3pw_chainId",e))(Uc||{}),Yc=(e=>(e.WalletConnected="wallet_connected",e.WalletRejected="wallet_rejected",e.Web3ModalSelected="web3modal_selected",e))(Yc||{}),Zc=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e.GetMultichainPublicAddress="magic_get_multichain_public_address",e.Sign7702Authorization="magic_wallet_sign_7702_authorization",e))(Zc||{}),Gc=(e=>(e.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",e.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",e.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",e.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",e.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",e.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",e.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",e.MAGIC_PONG="MAGIC_PONG",e.MAGIC_POPUP_RESPONSE="MAGIC_POPUP_RESPONSE",e.MAGIC_POPUP_OAUTH_VERIFY_RESPONSE="MAGIC_POPUP_OAUTH_VERIFY_RESPONSE",e.MAGIC_THIRD_PARTY_WALLET_REQUEST="MAGIC_THIRD_PARTY_WALLET_REQUEST",e))(Gc||{}),qc=(e=>(e.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",e.MAGIC_THIRD_PARTY_WALLET_RESPONSE="MAGIC_THIRD_PARTY_WALLET_RESPONSE",e.MAGIC_THIRD_PARTY_WALLET_UPDATE="MAGIC_THIRD_PARTY_WALLET_EVENT",e.MAGIC_PING="MAGIC_PING",e))(qc||{}),Xc=(e=>(e.UpdateEmail="update-email",e.MFA="mfa",e.Recovery="recovery",e))(Xc||{}),Kc=(e=>(e.Retry="retry",e))(Kc||{}),Qc=(e=>(e.EmailSent="email-sent",e.EmailNotDeliverable="email-not-deliverable",e))(Qc||{}),Jc=(e=>(e.VerifyEmailOtp="verify-email-otp",e.VerifyMFACode="verify-mfa-code",e.LostDevice="lost-device",e.VerifyRecoveryCode="verify-recovery-code",e.Cancel="cancel",e))(Jc||{}),$c=(e=>(e.VerifySmsOtp="verify-sms-otp",e.Cancel="cancel",e.Retry="retry",e))($c||{}),ed=(e=>(e.SmsOTPSent="sms-otp-sent",e.InvalidSmsOtp="invalid-sms-otp",e.ExpiredSmsOtp="expired-sms-otp",e))(ed||{}),rd=(e=>(e.EmailOTPSent="email-otp-sent",e.InvalidEmailOtp="invalid-email-otp",e.InvalidMfaOtp="invalid-mfa-otp",e.ExpiredEmailOtp="expired-email-otp",e.MfaSentHandle="mfa-sent-handle",e.RecoveryCodeSentHandle="recovery-code-sent-handle",e.InvalidRecoveryCode="invalid-recovery-code",e.RecoveryCodeSuccess="recovery-code-success",e.LoginThrottled="login-throttled",e.MaxAttemptsReached="max-attempts-reached",e))(rd||{}),td=(e=>(e.Retry="device-retry",e))(td||{}),ad=(e=>(e.DeviceApproved="device-approved",e.DeviceNeedsApproval="device-needs-approval",e.DeviceVerificationLinkExpired="device-verification-link-expired",e.DeviceVerificationEmailSent="device-verification-email-sent",e))(ad||{}),nd=(e=>(e.Retry="Recency/auth-factor-retry",e.Cancel="Recency/auth-factor-verification-cancel",e.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",e.VerifyMFACode="Recency/verify-mfa-code",e))(nd||{}),od=(e=>(e.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",e.PrimaryAuthFactorVerified="Recency/auth-factor-verified",e.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",e.EmailExpired="Recency/auth-factor-verification-email-expired",e.EmailSent="Recency/auth-factor-verification-email-sent",e.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",e))(od||{}),id=(e=>(e.RetryWithNewEmail="UpdateEmail/retry-with-new-email",e.Cancel="UpdateEmail/new-email-verification-cancel",e.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",e))(id||{}),ld=(e=>(e.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",e.EmailUpdated="UpdateEmail/email-updated",e.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",e.EmailExpired="UpdateEmail/new-email-verification-email-expired",e.EmailSent="UpdateEmail/new-email-verification-email-sent",e.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",e.InvalidEmail="UpdateEmail/new-email-invalid",e.EmailAlreadyExists="UpdateEmail/new-email-already-exists",e))(ld||{}),sd=(e=>(e.IDTokenCreated="Auth/id-token-created",e))(sd||{}),cd=(e=>(e.Cancel="Farcaster/cancel",e))(cd||{}),dd=(e=>(e.MFASecretGenerated="mfa-secret-generated",e.InvalidMFAOtp="invalid-mfa-otp",e.MFARecoveryCodes="mfa-recovery-codes",e))(dd||{}),ud=(e=>(e.VerifyMFACode="verify-mfa-code",e.Cancel="cancel-mfa-setup",e))(ud||{}),vd=(e=>(e.MFACodeRequested="mfa-code-requested",e.InvalidMFAOtp="invalid-mfa-otp",e.InvalidRecoveryCode="invalid-recovery-code",e))(vd||{}),pd=(e=>(e.VerifyMFACode="verify-mfa-code",e.LostDevice="lost-device",e.Cancel="cancel-mfa-disable",e))(pd||{}),fd=(e=>(e.Harmony="HARMONY",e))(fd||{}),gd=(e=>(e.ClosedByUser="closed-by-user",e))(gd||{}),hd=(e=>(e.ClosedByUser="closed-by-user-on-received",e))(hd||{}),md=(e=>(e.EnterNewPhoneNumber="enter-new-phone-number",e.EnterOtpCode="enter-otp-code",e.RecoveryFactorAlreadyExists="recovery-factor-already-exists",e.MalformedPhoneNumber="malformed-phone-number",e.InvalidOtpCode="invalid-otp-code",e.RecoveryFactorUpdated="recovery-factor-updated",e.RecoveryFactorDeleted="recovery-factor-deleted",e))(md||{}),bd=(e=>(e.SendNewPhoneNumber="send-new-phone-number",e.SendOtpCode="send-otp-code",e.Cancel="cancel",e.StartEditPhoneNumber="start-edit-phone-number",e))(bd||{}),Cd=(e=>(e.PhoneNumber="phone_number",e))(Cd||{}),yd=(e=>(e.SmsOtpSent="sms-otp-sent",e.LoginThrottled="login-throttled",e.InvalidSmsOtp="invalid-sms-otp",e.SmsVerified="sms-verified",e.AccountRecovered="account-recovered",e.UpdateEmailRequired="update-email-required",e))(yd||{}),wd=(e=>(e.Cancel="cancel",e.VerifyOtp="verify-otp-code",e.ResendSms="resend-sms-otp",e.UpdateEmail="update-email",e))(wd||{}),xd=(e=>(e.Success="nft-checkout-success",e.Failure="nft-checkout-failure",e.Initiated="nft-checkout-initiated",e.Disconnect="disconnect",e))(xd||{}),Ed=(e=>(e.WalletInfoFetched="Wallet/wallet-info-fetched",e))(Ed||{}),kd=(e=>(e.CloseMagicWindow="close-magic-window",e))(kd||{}),Ld=(e=>(e.PopupUrl="popup-url",e))(Ld||{}),Id=(e=>(e.PopupEvent="popup-event",e.Cancel="cancel",e))(Id||{});const Sd=[F,j];var Md;!function(e){e.GenerateNonce="magic_siwe_generate_nonce",e.Login="magic_auth_login_with_siwe"}(Md||(Md={}));const Td="magic-widget";var _d,Pd;!function(e){e.Popup="magic_oauth_login_with_popup"}(_d||(_d={})),function(e){e.GetConfig="magic_client_get_config"}(Pd||(Pd={}));let Ad=null;function Nd(){if(!Ad)throw new Error("WalletKitExtension has not been initialized. Make sure to create a Magic instance with WalletKitExtension before rendering MagicWidget.");return Ad}class Rd extends _.Internal{name="walletKit";config={};projectId;wagmiConfig;wagmiAdapter;clientConfig=null;configPromise=null;eventsListenerAdded=!1;reconnectPromise=null;constructor(e){super();const{projectId:r,wagmiAdapter:t,wagmiConfig:a}=function(e){const r=e??"ce9c27dd61e602ccdc9c536b6d624c63",t=new D({projectId:r,networks:Sd});return{projectId:r,wagmiAdapter:t,wagmiConfig:t.wagmiConfig}}(e?.projectId);this.projectId=r,this.wagmiAdapter=t,this.wagmiConfig=a}init(e){super.init(e),Ad=this;localStorage.getItem(Uc.PROVIDER)===Td&&(this.sdk.thirdPartyWallets.isConnected=!0,this.restoreWalletConnection())}async restoreWalletConnection(){if(this.reconnectPromise)return this.reconnectPromise;if(A(this.wagmiConfig).isConnected)return void this.setupEip1193EventListeners();return localStorage.getItem(Uc.PROVIDER)===Td?(this.reconnectPromise=(async()=>{try{await N(this.wagmiConfig);A(this.wagmiConfig).isConnected&&this.setupEip1193EventListeners()}catch(e){console.error("Failed to reconnect wagmi wallet:",e)}})(),this.reconnectPromise):void 0}setConnectedState(e,r=1){localStorage.setItem(Uc.PROVIDER,Td),localStorage.setItem(Uc.ADDRESS,e),localStorage.setItem(Uc.CHAIN_ID,r.toString()),this.sdk.thirdPartyWallets.isConnected=!0,this.setupEip1193EventListeners()}clearConnectedState(){this._cleanupWatcher&&this._cleanupWatcher(),this.sdk.thirdPartyWallets.resetThirdPartyWalletState()}async getWalletProvider(){try{await this.restoreWalletConnection();const e=A(this.wagmiConfig);if(!e.isConnected||!e.connector)return null;return await R(this.wagmiConfig)}catch(e){return console.error("Failed to get wallet provider:",e),null}}async walletRequest(e){const r=await this.getWalletProvider();if(!r)throw new P({code:Wc.InternalError,message:"No wallet connected. Please connect a wallet first."});return r.request({method:e.method,params:e.params})}setupEip1193EventListeners(){if(this.eventsListenerAdded)return;this.eventsListenerAdded=!0;const e=O(this.wagmiConfig,{onChange:(r,t)=>{const a=localStorage.getItem(Uc.ADDRESS),n=localStorage.getItem(Uc.CHAIN_ID);if(!r.isConnected&&a)return this.handleWalletDisconnect(),this.eventsListenerAdded=!1,void e();r.address&&r.address!==a&&(localStorage.setItem(Uc.ADDRESS,r.address),this.sdk.rpcProvider.emit("accountsChanged",[r.address]),this.dispatchWalletUpdate({chain:r.chain,address:r.address,addresses:r.addresses,updatedField:"address"})),r.chainId&&r.chainId.toString()!==n&&(localStorage.setItem(Uc.CHAIN_ID,r.chainId.toString()),this.sdk.rpcProvider.emit("chainChanged",r.chainId),this.dispatchWalletUpdate({chain:r.chain,address:r.address,addresses:r.addresses,updatedField:"chain"}))}});this._cleanupWatcher=()=>{e(),this.eventsListenerAdded=!1}}async handleWalletDisconnect(){this.sdk.thirdPartyWallets.resetThirdPartyWalletState(),this.sdk.rpcProvider.emit("accountsChanged",[]);try{const e=this.utils.createJsonRpcRequestPayload(Zc.Logout,[]);await this.request(e)}catch(e){console.error("Failed to invalidate Magic session after wallet disconnect:",e)}}async dispatchWalletUpdate(e){try{this.sdk.overlay.postThirdPartyWalletUpdate(e)}catch(e){console.error("Failed to post third party wallet event:",e)}}async generateNonce(e){const r=this.utils.createJsonRpcRequestPayload(Md.GenerateNonce,[e]);return this.request(r)}async generateMessage(e){const r=await this.generateNonce({address:e.address}),t=function(e){const{domain:r,address:t,statement:a,uri:n,version:o,chainId:i,nonce:l,issuedAt:s}=e;return`${r} wants you to sign in with your Ethereum account:\n${t}\n\n${a}\n\nURI: ${n}\nVersion: ${o}\nChain ID: ${i}\nNonce: ${l}\nIssued At: ${s}`}({domain:window.location.host,address:e.address,statement:e.statement||"By signing, you are proving you own this wallet and logging in.",uri:window.location.origin,version:"1",chainId:e.chainId||1,nonce:r,issuedAt:(new Date).toISOString()});return t}async login(e){const r=this.utils.createJsonRpcRequestPayload(Md.Login,[e]);return this.request(r)}async loginWithPopup(e){const r=this.utils.createJsonRpcRequestPayload(_d.Popup,[{provider:e,returnTo:window.location.href,apiKey:this.sdk.apiKey,platform:"web"}]),t=await this.request(r);if(t.error){const e=t;throw new Error(e.error_description||e.error)}return t}async fetchConfig(){if(this.clientConfig)return this.clientConfig;if(this.configPromise)return this.configPromise;const e=this.utils.createJsonRpcRequestPayload(Pd.GetConfig,[]);return this.configPromise=this.request(e),this.clientConfig=await this.configPromise,this.clientConfig}getConfig(){return this.clientConfig}loginWithEmailOTP(e){return this.sdk.auth.loginWithEmailOTP({email:e,showUI:!1,deviceCheckUI:!1})}}const Od=f(null);function Dd({children:e,wallets:r=[],onSuccess:t,onError:a,onClose:o,closeOnSuccess:i=!1}){const l={wallets:r,handleSuccess:d(e=>{t?.(e),i&&o&&setTimeout(()=>{o()},2e3)},[t,i,o]),handleError:d(e=>{a?.(e)},[a]),handleClose:o?()=>{o()}:void 0};return n.createElement(Od.Provider,{value:l},e)}function Fd(){const e=u(Od);if(!e)throw new Error("useWidgetConfig must be used within a WidgetConfigProvider");return e}const jd=f(null);function zd({children:e,dispatch:r}){const{handleSuccess:t,handleError:a}=Fd(),o=c(null),i=c(null),l=d(e=>{i.current=e,r({type:"EMAIL_OTP_START",email:e});try{const n=Nd().loginWithEmailOTP(e);o.current=n,n.on(rd.EmailOTPSent,()=>{r({type:"EMAIL_OTP_SENT"})}),n.on(rd.InvalidEmailOtp,()=>{r({type:"EMAIL_OTP_INVALID"})}),n.on(rd.ExpiredEmailOtp,()=>{r({type:"EMAIL_OTP_EXPIRED"})}),n.on(rd.LoginThrottled,()=>{r({type:"LOGIN_ERROR",error:"Too many login attempts. Please try again later."})}),n.on(rd.MaxAttemptsReached,()=>{r({type:"EMAIL_OTP_MAX_ATTEMPTS_REACHED"})}),n.on(ad.DeviceNeedsApproval,()=>{r({type:"DEVICE_NEEDS_APPROVAL"})}),n.on(ad.DeviceVerificationEmailSent,()=>{r({type:"DEVICE_VERIFICATION_SENT"})}),n.on(ad.DeviceVerificationLinkExpired,()=>{r({type:"DEVICE_VERIFICATION_EXPIRED"})}),n.on(ad.DeviceApproved,()=>{r({type:"DEVICE_APPROVED"})}),n.on(rd.MfaSentHandle,()=>{r({type:"MFA_REQUIRED"})}),n.on(rd.InvalidMfaOtp,()=>{r({type:"MFA_INVALID"})}),n.on(rd.InvalidRecoveryCode,()=>{r({type:"RECOVERY_CODE_INVALID"})}),n.then(e=>{e&&(r({type:"LOGIN_SUCCESS"}),t({method:"email",didToken:e}))}).catch(e=>{const t=e instanceof Error?e:new Error(e?.message||"Login failed");r({type:"LOGIN_ERROR",error:t.message}),a(t)})}catch(e){const t=e instanceof Error?e:new Error("Failed to start login");r({type:"LOGIN_ERROR",error:t.message}),a(t)}},[r,t,a]),s=d(e=>{o.current&&(r({type:"EMAIL_OTP_VERIFYING"}),o.current.emit(Jc.VerifyEmailOtp,e))},[r]),u=d(e=>{o.current&&(r({type:"MFA_VERIFYING"}),o.current.emit(Jc.VerifyMFACode,e))},[r]),v=d(()=>{o.current&&(r({type:"LOST_DEVICE"}),o.current.emit(Jc.LostDevice))},[r]),p=d(e=>{o.current&&(r({type:"RECOVERY_CODE_VERIFYING"}),o.current.emit(Jc.VerifyRecoveryCode,e))},[r]),f=d(()=>{o.current&&o.current.emit(Jc.Cancel),o.current=null,i.current=null,r({type:"GO_TO_LOGIN"})},[r]),g=d(()=>{o.current&&o.current.emit(td.Retry)},[]),h=d(()=>{const e=i.current;if(o.current&&o.current.emit(Jc.Cancel),o.current=null,i.current=null,!e)return r({type:"LOGIN_ERROR",error:"Internal error: No email found"});l(e)},[l]),m={startEmailLogin:l,submitOTP:s,submitMFA:u,lostDevice:v,submitRecoveryCode:p,cancelLogin:f,retryDeviceVerification:g,resendEmailOTP:h,email:i.current};return n.createElement(jd.Provider,{value:m},e)}function Bd(){const e=u(jd);if(!e)throw new Error("useEmailLogin must be used within an EmailLoginProvider");return e}const Vd=()=>{const{startEmailLogin:e}=Bd(),[r,t]=s(""),[a,o]=s(!1),[i,l]=s(null),[c,d]=s(!0),u=Nd().getConfig(),v="dark"===u?.theme.themeColor;return n.createElement("form",{onSubmit:t=>{var a;(t.preventDefault(),(a=r)&&/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a))?!function(e){if(!e)return!1;const r=e.toLowerCase();return!!Bc.find(e=>r.endsWith(e))}(r)?(d(!0),o(!0),e(r)):l(Oc.SanEmail):l(Oc.MalformedEmail)},className:qe({w:"full"})},n.createElement(ze,{w:"full",maxW:"25rem"},n.createElement(gs,{"aria-label":"email input",value:r,onChange:e=>{l(null),d(!e.length),t(e.trim())},placeholder:"Email address"},n.createElement(gs.TypeIcon,null,n.createElement(fl,{...v?{color:lr("colors.ink.70")}:{}})),n.createElement(gs.ActionIcon,{onClick:()=>{}},n.createElement(bi,{"aria-label":"login-submit-button",variant:"text",textStyle:"neutral",disabled:c,validating:a,type:"submit"},n.createElement(bi.LeadingIcon,{color:lr("colors.text.tertiary")},n.createElement(sl,null)))))),i&&n.createElement(Do,{variant:"error",size:"sm",styles:{textAlign:"center"}},i))},Hd=()=>n.createElement(ml,{className:xe({rotate:"90deg"})}),Wd=({providers:e,onPress:r,dispatch:t})=>{const a=Nd().getConfig(),o="dark"===a?.theme.themeColor,i=e.length>5,l=i?e.slice(0,4):e,s=e.length>1;return n.createElement(Qe,{gap:2,w:"full"},l.map(e=>n.createElement(Nc,{key:e,hideLabel:s,label:`Continue with ${jc[e].displayName}`,Icon:o&&zc[e]||jc[e].Icon,onPress:()=>r(e)})),i&&n.createElement(Nc,{key:"more-providers",hideLabel:s,label:"More options",Icon:Hd,onPress:()=>{t({type:"GO_TO_ADDITIONAL_PROVIDERS"})}}))};function Ud({showHeaderText:e=!0,onPressBack:r}){const{handleClose:t}=Fd();return n.createElement(Wi,{position:"relative"},!!r&&n.createElement(Wi.LeftAction,null,n.createElement(bi,{size:"sm",variant:"neutral",onPress:r},n.createElement(bi.LeadingIcon,null,n.createElement(ll,null)))),e&&n.createElement(Wi.Content,null,n.createElement(Do,{size:"sm",fontColor:"text.tertiary"},"Log in or sign up")),t&&n.createElement(Wi.RightAction,null,n.createElement(bi,{size:"sm",variant:"neutral",onPress:t},n.createElement(bi.TrailingIcon,null,n.createElement(bo,null)))))}const Yd=({dispatch:e})=>{const r=Nd().getConfig(),{wallets:t}=Fd(),{primary:a,social:o}=r?.authProviders??{},i=a?.includes("email"),l=o?.map(e=>e)??[],s=(i||l.length>0)&&t.length>0;return n.createElement(n.Fragment,null,n.createElement(Ud,null),n.createElement(Xe,{w:"full",gap:10,mt:2,px:7},r?.theme.assetUri&&n.createElement("img",{src:r.theme.assetUri,alt:"Logo",width:80,height:80}),n.createElement(Xe,{width:"full",maxWidth:"25rem",gap:4},i&&n.createElement(Vd,null),l.length>0&&n.createElement(Wd,{providers:Object.values(l),onPress:r=>{e({type:"SELECT_PROVIDER",provider:r})},dispatch:e}),s&&n.createElement(Qe,{mb:3,w:"full"},n.createElement(or,{color:"surface.quaternary"}),n.createElement(Do,{"aria-label":"or",fontColor:"text.tertiary"},"or"),n.createElement(or,{color:"surface.quaternary"})),t.length>0&&n.createElement(We,{gap:2,w:"full",direction:s?"row":"column",justify:"center"},t.map(r=>n.createElement(Nc,{key:r,hideLabel:t.length>1&&s,label:Fc[r].displayName,Icon:Fc[r].Icon,onPress:()=>(r=>{e({type:"SELECT_WALLET",provider:r})})(r)}))))))};function Zd(e){const r=Object.values(Dc).includes(e),t=r?jc[e]:Fc[e],{displayName:a,Icon:n}=t;return r?{title:`Log in with ${a}`,description:`Continue in ${a}`,Icon:n}:{title:`Continue in ${a}`,description:`Approve request in ${a}`,Icon:n}}const Gd={[Rc.METAMASK]:"metaMaskSDK",[Rc.COINBASE]:"coinbaseWalletSDK",[Rc.WALLETCONNECT]:"walletConnect",[Rc.PHANTOM]:"app.phantom",[Rc.RABBY]:"io.rabby"},qd={[Rc.METAMASK]:"metamask",[Rc.COINBASE]:"coinbase",[Rc.WALLETCONNECT]:"walletconnect",[Rc.PHANTOM]:"phantom",[Rc.RABBY]:"rabby"};let Xd=null;function Kd(e){Xd=e}function Qd(){return Xd}const Jd=xe({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),$d=({onPressBack:e,title:r,description:t,Icon:a,isPending:o,errorMessage:i})=>n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:o||i?e:void 0,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4},n.createElement(ze,{position:"relative",h:20,w:20},o&&n.createElement(ko,{size:80,strokeWidth:8,neutral:!0,progress:40}),o?n.createElement(a,{width:36,height:36,className:Jd}):i?n.createElement(vl,{width:36,height:36,color:lr("colors.negative.darker"),className:Jd}):n.createElement(yo,{width:36,height:36,color:lr("colors.brand.base"),className:Jd})),n.createElement(Xe,{gap:2,px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},r),n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},t),i&&n.createElement(Do,{variant:"error",styles:{textAlign:"center"}},i)))),eu=({provider:e,state:r,dispatch:t})=>{if("wallet_pending"!==r.view)return null;const{connectWallet:a,isPending:o,error:l,address:u,isConnectedToSelectedProvider:p}=function(e){const{connect:r,connectors:t,isPending:a}=x(),{address:n,isConnected:o,connector:l}=E(),{disconnect:c}=k(),[u,v]=s(null),p=i(()=>{if(!o||!l)return!1;const r=Gd[e],t=qd[e],a=l.name.toLowerCase(),n=l.id===r,i=a===t||a.startsWith(t);return n||i},[o,l,e]),f=d(async()=>{v(null);try{const a=Gd[e],n=qd[e],i=t.find(e=>e.id===a),l=t.find(e=>{const r=e.name.toLowerCase();return r===n||r.startsWith(n)}),s=i||l;if(!s)throw new Error(`${e} connector not found. Please install the wallet extension.`);o&&(c(),await new Promise(e=>setTimeout(e,100))),await new Promise((e,t)=>{r({connector:s},{onSuccess:()=>e(),onError:e=>t(e)})})}catch(r){const t=r instanceof Error?r:new Error(`Failed to connect to ${e}`);throw v(t),t}},[r,t,e,o,c]);return{connectWallet:f,isPending:a,error:u,address:n,isConnected:o,isConnectedToSelectedProvider:p,disconnect:c}}(e),{isConnected:f}=E(),g=e===Rc.WALLETCONNECT,h=g&&r.walletAddress||u,{performSiweLogin:m,isLoading:b,error:C,isSuccess:y}=function(){const{signMessageAsync:e}=L(),r=I(),{handleSuccess:t,handleError:a}=Fd(),[n,o]=s(!1),[i,l]=s(null),[c,u]=s(!1),[v,p]=s(null);return{performSiweLogin:d(async(n,i)=>{o(!0),l(null),u(!1),p(null);try{const a=Nd(),l=i||r||1,s=await a.generateMessage({address:n,chainId:l});let c;const d=Qd();if(d&&d.accounts&&d.accounts[0]?.toLowerCase()===n.toLowerCase()){if(!d.session||!d.session.topic)throw new Error("WalletConnect session not established");const e=z(s);c=await d.request({method:"personal_sign",params:[e,n]})}else c=await e({message:s});return await a.login({message:s,signature:c}),a.setConnectedState(n,l),u(!0),p(n),o(!1),t({method:"wallet",walletAddress:n}),n}catch(e){const r=e instanceof Error?e:new Error("SIWE login failed");throw l(r),o(!1),a(r),r}},[e,r,t,a]),isLoading:n,error:i,isSuccess:c,walletAddress:v}}(),{title:w,description:S,Icon:M}=Zd(e),T=c(!1),_=c(null),[P,A]=s(null);v(()=>{if(!T.current&&!g&&e&&"wallet_pending"===r.view){if(T.current=!0,p&&h)return;a().catch(e=>{const r=(e?.message||"").toLowerCase();r.includes("connector not connected")||r.includes("connectornotconnectederror")||(r.includes("user rejected")||r.includes("user denied")||r.includes("rejected the request")||r.includes("user cancelled")||r.includes("user canceled")?t({type:"GO_TO_LOGIN"}):A(e?.message||"Failed to connect wallet"))})}},[a,p,h,e,g]),v(()=>{if("wallet_pending"!==r.view)return;const e=g?Qd():null,a=g&&h&&e&&e.session,n=g&&h&&r.walletAddress&&f&&!e;(a||n||p&&h)&&_.current!==h&&!b&&(_.current=h,A(null),m(h).catch(e=>{const r=(e?.message||"").toLowerCase();r.includes("connector not connected")||r.includes("connectornotconnectederror")||(r.includes("user rejected")||r.includes("user denied")||r.includes("rejected the request")||r.includes("user cancelled")||r.includes("user canceled")?t({type:"GO_TO_LOGIN"}):A(e?.message||"SIWE login failed"))}))},[p,h,b,m,e,g,r.walletAddress,f]),v(()=>{l&&T.current&&!g&&A(l.message)},[l,g]),v(()=>{if(C&&_.current){const e=(C.message||"").toLowerCase();if(g&&(e.includes("connector not connected")||e.includes("connectornotconnectederror")))return;A(C.message)}},[C,g]);const N=!P&&(!g&&o||b||!y&&!l&&!C);return n.createElement($d,{onPressBack:()=>t({type:"GO_TO_LOGIN"}),title:w,description:S,Icon:M,isPending:N,errorMessage:P})},ru={view:"login",emailLoginStatus:"idle"};function tu(e,r){switch(r.type){case"GO_TO_LOGIN":return{...ru,selectedProvider:void 0,walletAddress:void 0,email:void 0,error:void 0};case"EMAIL_OTP_START":return{...e,email:r.email,emailLoginStatus:"sending",error:void 0};case"EMAIL_OTP_SENT":return{...e,view:"email_otp_pending",emailLoginStatus:"otp_sent",error:void 0};case"EMAIL_OTP_VERIFYING":return{...e,emailLoginStatus:"verifying_otp",error:void 0};case"EMAIL_OTP_INVALID":return{...e,emailLoginStatus:"invalid_otp",error:"Invalid code. Please try again."};case"EMAIL_OTP_EXPIRED":return{...e,emailLoginStatus:"expired_otp",error:"Code expired. Please request a new one."};case"EMAIL_OTP_MAX_ATTEMPTS_REACHED":return{...e,emailLoginStatus:"max_attempts_reached",error:"Max attempts reached. Please request a new code."};case"DEVICE_NEEDS_APPROVAL":return{...e,view:"device_verification",emailLoginStatus:"device_needs_approval",error:void 0};case"DEVICE_VERIFICATION_SENT":return{...e,view:"device_verification",emailLoginStatus:"device_verification_sent",error:void 0};case"DEVICE_VERIFICATION_EXPIRED":return{...e,emailLoginStatus:"device_verification_expired",error:"Verification link expired. Please try again."};case"DEVICE_APPROVED":return{...e,emailLoginStatus:"device_approved",error:void 0};case"MFA_REQUIRED":return{...e,view:"mfa_pending",emailLoginStatus:"mfa_required",error:void 0};case"MFA_VERIFYING":return{...e,emailLoginStatus:"mfa_verifying",error:void 0};case"MFA_INVALID":return{...e,emailLoginStatus:"mfa_invalid",error:"Invalid code. Please try again."};case"LOST_DEVICE":return{...e,view:"recovery_code",emailLoginStatus:"recovery_code",error:void 0};case"RECOVERY_CODE_VERIFYING":return{...e,emailLoginStatus:"recovery_code_verifying",error:void 0};case"RECOVERY_CODE_INVALID":return{...e,emailLoginStatus:"recovery_code",error:"Invalid recovery code. Please try again."};case"LOST_RECOVERY_CODE":return{...e,view:"lost_recovery_code",emailLoginStatus:"lost_recovery_code",error:void 0};case"LOGIN_SUCCESS":return{...e,view:"login_success",emailLoginStatus:"success",error:void 0};case"LOGIN_ERROR":return{...e,emailLoginStatus:"error",error:r.error};case"RESET_EMAIL_ERROR":return{...e,error:void 0};case"SELECT_WALLET":{const t=r.provider===Rc.WALLETCONNECT||"walletconnect"===r.provider.toLowerCase()?"walletconnect_pending":"wallet_pending";return{...e,view:t,selectedProvider:r.provider,error:void 0}}case"WALLETCONNECT_CONNECTED":return{...e,view:"wallet_pending",walletAddress:r.address,selectedProvider:Rc.WALLETCONNECT};case"SELECT_PROVIDER":return{...e,view:"oauth_pending",selectedProvider:r.provider,error:void 0};case"GO_TO_ADDITIONAL_PROVIDERS":return{...e,view:"additional_providers",error:void 0};default:return e}}const au=({provider:e,dispatch:r})=>{const{title:t,description:a,Icon:o}=Zd(e),i=Nd().getConfig(),l="dark"===i?.theme.themeColor&&zc[e]||o,{performOAuthLogin:u,isLoading:p,error:f,isSuccess:g}=function(){const{handleSuccess:e,handleError:r}=Fd(),[t,a]=s(!1),[n,o]=s(null),[i,l]=s(!1),[c,u]=s(null);return{performOAuthLogin:d(async t=>{a(!0),o(null),l(!1),u(null);try{const r=Nd(),n=await r.loginWithPopup(t);return l(!0),u(n),a(!1),e({method:"oauth",magic:n.magic,oauth:n.oauth}),n}catch(e){const t=e instanceof Error?e:new Error("OAuth login failed");throw o(t),a(!1),r(t),t}},[e,r]),isLoading:t,error:n,isSuccess:i,result:c}}(),h=c(!1),[m,b]=s(null);v(()=>{h.current||(h.current=!0,u(e).catch(e=>{const t=(e?.message||"").toLowerCase();t.includes("user rejected")||t.includes("user denied")||t.includes("access_denied")||t.includes("user closed")||t.includes("popup closed")||t.includes("cancelled")||t.includes("canceled")?r({type:"GO_TO_LOGIN"}):b(e?.message||"OAuth login failed")}))},[u,e,r]),v(()=>{if(f&&h.current){const e=(f.message||"").toLowerCase();e.includes("user rejected")||e.includes("user denied")||e.includes("access_denied")||e.includes("cancelled")||e.includes("canceled")||b(f.message)}},[f]);const C=!m&&(p||!g&&!f);return n.createElement($d,{onPressBack:()=>r({type:"GO_TO_LOGIN"}),title:t,description:a,Icon:l,isPending:C,errorMessage:m})};function nu({dispatch:e}){const r=Nd().getConfig(),t="dark"===r?.theme.themeColor,a=r?.authProviders?.social??[];return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:()=>{e({type:"GO_TO_LOGIN"})},showHeaderText:!1}),n.createElement(Xe,{w:"full"},n.createElement(ze,{mt:4,mb:2,overflowY:"auto",w:"full",px:4,scrollbarWidth:"thin",scrollbarColor:"rgba(143, 147, 153, 0.4) transparent",className:xe({"&::-webkit-scrollbar":{backgroundColor:"transparent"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"}})},n.createElement(Ye,{gap:2,maxH:"384px",w:"full",px:2},a.map(r=>n.createElement(Nc,{key:r,label:jc[r].displayName,Icon:t&&zc[r]||jc[r].Icon,onPress:()=>(r=>{e({type:"SELECT_PROVIDER",provider:r})})(r)}))))))}const ou=({state:e,dispatch:r})=>{const{submitOTP:t,cancelLogin:a,resendEmailOTP:o}=Bd(),{emailLoginStatus:i,email:l,error:c}=e,[d,u]=s(!1),[p,f]=s(!1),g="verifying_otp"===i,h="success"===i;v(()=>{"otp_sent"===i&&u(!1),"expired_otp"!==i&&"max_attempts_reached"!==i||f(!0)},[i]);return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:a,showHeaderText:!1}),n.createElement(Xe,null,n.createElement(Xe,{gap:6},n.createElement(fl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Xe,{gap:0},n.createElement(Do.H4,{fontWeight:"normal",styles:{textAlign:"center"}},"Please enter the code sent to"),n.createElement(Do.H4,{styles:{textAlign:"center"}},l&&n.createElement(Ll,{email:l})))),n.createElement(Ys,{originName:"email",pinLength:6,isPending:g||d,isSuccess:h,onChange:()=>{r({type:"RESET_EMAIL_ERROR"})},onComplete:t,errorMessage:d?"":c??""},n.createElement(Ys.RetryContent,null,p&&n.createElement(bi,{variant:"text",onPress:()=>{u(!0),o(),f(!1)},label:"Request a new code"})))))},iu=({state:e,dispatch:r})=>{const{cancelLogin:t}=Bd(),{emailLoginStatus:a,email:o}=e;return v(()=>{"device_approved"===a&&r({type:"EMAIL_OTP_SENT"})},[a]),n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:t,showHeaderText:!1}),n.createElement(Xe,{gap:6},n.createElement(kl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Do.H4,{styles:{textAlign:"center"}},"Please register this device to continue."),n.createElement(Xe,{gap:0},n.createElement(Do,{styles:{textAlign:"center",lineHeight:1.8}},"We sent a device registration link to"),n.createElement(Qe,{gap:2},n.createElement(Do,{styles:{textAlign:"center",fontWeight:"600"}},o),n.createElement("button",{className:xe({cursor:"pointer"}),onClick:t},n.createElement(pl,{height:18,width:18,color:lr("colors.brand.base")})))),n.createElement(ze,{mt:4},n.createElement(Do,{styles:{textAlign:"center"}},"This quick one-time approval will help keep your account secure."))))},lu=({state:e})=>{const{email:r}=e;return n.createElement(n.Fragment,null,n.createElement(Ud,{showHeaderText:!1}),n.createElement(Xe,{gap:8},n.createElement(yo,{width:40,height:40,color:lr("colors.brand.base")}),n.createElement(Xe,{gap:1},n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},"You have successfully logged in"),r&&n.createElement(Do,{fontWeight:"semibold",styles:{textAlign:"center"}},r))))},su=({state:e,dispatch:r})=>{const{submitMFA:t,cancelLogin:a,lostDevice:o}=Bd(),{emailLoginStatus:i,error:l}=e,s="mfa_verifying"===i,c="success"===i;return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:a,showHeaderText:!1}),n.createElement(Xe,null,n.createElement(Xe,{gap:6},n.createElement(bl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Do.H4,{styles:{textAlign:"center",fontWeight:"normal"}},"Please enter the 6-digit code from your authenticator app.")),n.createElement(Ys,{originName:"mfa",pinLength:6,isPending:s,isSuccess:c,onChange:()=>{r({type:"RESET_EMAIL_ERROR"})},onComplete:t,errorMessage:l??""}),n.createElement(bi,{label:"I lost my device",variant:"text",textStyle:"neutral",onPress:o,disabled:s,size:"sm"})))},cu=({state:e,dispatch:r})=>{const{submitRecoveryCode:t}=Bd(),{emailLoginStatus:a,error:o}=e,i="recovery_code_verifying"===a,l="success"===a;v(()=>{l&&r({type:"LOGIN_SUCCESS"})},[l]);return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:()=>{r({type:"MFA_REQUIRED"})},showHeaderText:!1}),n.createElement(Xe,null,n.createElement(Xe,{gap:6},n.createElement(bl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Do.H4,{styles:{textAlign:"center",fontWeight:"normal"}},"Enter your recovery code to log in.")),i?n.createElement(ar,{h:12},n.createElement(ko,{size:36,strokeWidth:4})):n.createElement(n.Fragment,null,n.createElement(gs,{"aria-label":"8-character code",attr:{size:35},placeholder:"8-character code",onChange:e=>{r({type:"RESET_EMAIL_ERROR"}),8===e.length&&t(e)},alignText:"center",errorMessage:o??"",disabled:i}),n.createElement(Eo,{label:"Two-Factor Authentication will be disabled.",variant:"warning"})),!i&&!l&&n.createElement(bi,{label:"I lost my recovery code",variant:"text",textStyle:"neutral",onPress:()=>{r({type:"LOST_RECOVERY_CODE"})},disabled:i||l,size:"sm"})))},du=({dispatch:e})=>{const r=Nd().getConfig(),{appName:t}=r?.theme??{};return n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:()=>{e({type:"LOST_DEVICE"})},showHeaderText:!1}),n.createElement(Xe,{gap:6,px:6},n.createElement(bl,{width:60,height:60,color:lr("colors.brand.base")}),n.createElement(Xe,null,n.createElement(Do.H4,{styles:{textAlign:"center"}},"Contact ",t," support"),n.createElement(Do,{styles:{textAlign:"center"}},"For help recovering your account, please contact the ",t," support team."))))};function uu(){return"undefined"!=typeof navigator&&/iPhone|iPod/.test(navigator.userAgent)||"undefined"!=typeof navigator&&(/iPad/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)}function vu(){return"undefined"!=typeof navigator&&/android/i.test(navigator.userAgent)||uu()}const pu=({dispatch:e})=>{const{address:r,isConnected:t}=E(),{disconnect:a}=k(),o=c(null),[l,u]=s(null),[p,f]=s(null),g=c(!1),[h,m]=s(null),{Icon:b}=Fc[Rc.WALLETCONNECT],C="undefined"!=typeof window&&vu(),y=i(()=>{if("undefined"==typeof window)return null;if(!C)return null;const e=Nd();return V({adapters:[e.wagmiAdapter],networks:Sd,projectId:e.projectId})},[C]),w=d(()=>{if(!g.current&&y){g.current=!0,f(null);try{t&&a(),y.open()}catch(e){const r=e;f(r?.message||"Failed to open wallet selection")}}},[y,t,a]),x=d(async()=>{if(!g.current){g.current=!0,f(null);try{t&&(a(),await new Promise(e=>setTimeout(e,100)));const e=Sd.map(e=>Number(e.id)),r=await B.init({projectId:Nd().projectId,chains:e,optionalChains:e,showQrModal:!1});o.current=r,Kd(r),r.on("display_uri",e=>{u(e)}),await r.connect();const n=r.accounts;n&&n.length>0&&m(n[0])}catch(r){const t=r,a=(t?.message||"").toLowerCase();if(a.includes("user rejected")||a.includes("user denied")||a.includes("rejected the request")||a.includes("user cancelled")||a.includes("user canceled"))return void e({type:"GO_TO_LOGIN"});f(t?.message||"Failed to connect wallet")}}},[t,a,e]);v(()=>{C?w():x()},[C,w,x]),v(()=>{C&&t&&r&&e({type:"WALLETCONNECT_CONNECTED",address:r})},[C,t,r,e]),v(()=>{!C&&h&&e({type:"WALLETCONNECT_CONNECTED",address:h})},[C,h,e]);const L=()=>{o.current&&(o.current.disconnect().catch(()=>{}),o.current=null,Kd(null)),y&&y.close(),e({type:"GO_TO_LOGIN"})};return p?n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:L,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4,alignItems:"center"},n.createElement(b,{width:60,height:60}),n.createElement(Xe,{gap:2,alignItems:"center",px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},"Connection Failed"),n.createElement(Do,{variant:"error",styles:{textAlign:"center"}},p)))):C?n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:L,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4,alignItems:"center"},n.createElement(b,{width:60,height:60}),n.createElement(Xe,{gap:2,alignItems:"center",px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},"Select your wallet"),n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},"Choose a wallet app to connect")))):n.createElement(n.Fragment,null,n.createElement(Ud,{onPressBack:L,showHeaderText:!1}),n.createElement(Xe,{gap:6,pt:4,alignItems:"center"},l?n.createElement(Tc,{eyeRadius:8,value:l,qrStyle:"dots",size:262,logoImage:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTE2NzUgNy41MTYwNUM4LjgzMzM4IDMuNjgxMzQgMTUuMTgzNSAzLjY4MTM0IDE5LjEwMDEgNy41MTYwNUwxOS41NzE1IDcuOTc3NTZDMTkuNzY3MyA4LjE2OTI5IDE5Ljc2NzMgOC40ODAxNiAxOS41NzE1IDguNjcxOUwxNy45NTkgMTAuMjUwNkMxNy44NjExIDEwLjM0NjUgMTcuNzAyNCAxMC4zNDY1IDE3LjYwNDQgMTAuMjUwNkwxNi45NTU4IDkuNjE1NTRDMTQuMjIzNCA2Ljk0MDM1IDkuNzkzNDMgNi45NDAzNSA3LjA2MTA5IDkuNjE1NTRMNi4zNjY0MyAxMC4yOTU3QzYuMjY4NTEgMTAuMzkxNSA2LjEwOTc2IDEwLjM5MTUgNi4wMTE4NCAxMC4yOTU3TDQuMzk5MzcgOC43MTY5M0M0LjIwMzU0IDguNTI1MiA0LjIwMzU0IDguMjE0MzMgNC4zOTkzNyA4LjAyMjZMNC45MTY3NSA3LjUxNjA1Wk0yMi40MzQ5IDEwLjc4MTFMMjMuODcgMTIuMTg2MUMyNC4wNjU4IDEyLjM3NzkgMjQuMDY1OCAxMi42ODg3IDIzLjg3IDEyLjg4MDVMMTcuMzk5IDE5LjIxNjJDMTcuMjAzMiAxOS40MDc5IDE2Ljg4NTcgMTkuNDA3OSAxNi42ODk4IDE5LjIxNjJDMTYuNjg5OCAxOS4yMTYyIDE2LjY4OTggMTkuMjE2MiAxNi42ODk4IDE5LjIxNjJMMTIuMDk3MSAxNC43MTk2QzEyLjA0ODIgMTQuNjcxNiAxMS45Njg4IDE0LjY3MTYgMTEuOTE5OCAxNC43MTk2TDcuMzI3MjEgMTkuMjE2MkM3LjEzMTM4IDE5LjQwNzkgNi44MTM4NyAxOS40MDggNi42MTgwNCAxOS4yMTYyQzYuNjE4MDQgMTkuMjE2MiA2LjYxODA0IDE5LjIxNjIgNi42MTgwNCAxOS4yMTYyTDAuMTQ2ODc0IDEyLjg4MDRDLTAuMDQ5NTc5IDEyLjY4ODcgLTAuMDQ5NTc5IDEyLjM3NzggMC4xNDY4NzQgMTIuMTg2MUwxLjU4MTk4IDEwLjc4MUMxLjc3NzgxIDEwLjU4OTIgMi4wOTUzMiAxMC41ODkyIDIuMjkxMTUgMTAuNzgxTDYuODgzOTIgMTUuMjc3N0M2LjkzMjg4IDE1LjMyNTYgNy4wMTIyNiAxNS4zMjU2IDcuMDYxMjIgMTUuMjc3N0M3LjA2MTIxIDE1LjI3NzcgNy4wNjEyMiAxNS4yNzc3IDcuMDYxMjIgMTUuMjc3N0wxMS42NTM4IDEwLjc4MUMxMS44NDk2IDEwLjU4OTIgMTIuMTY3MSAxMC41ODkyIDEyLjM2MjkgMTAuNzgxQzEyLjM2MjkgMTAuNzgxIDEyLjM2MjkgMTAuNzgxIDEyLjM2MjkgMTAuNzgxTDE2Ljk1NTcgMTUuMjc3N0MxNy4wMDQ3IDE1LjMyNTYgMTcuMDg0IDE1LjMyNTYgMTcuMTMzIDE1LjI3NzdMMjEuNzI1NyAxMC43ODExQzIxLjkyMTUgMTAuNTg5MyAyMi4yMzkgMTAuNTg5MyAyMi40MzQ5IDEwLjc4MTFaIiBmaWxsPSIjM0I5OUZDIi8+Cjwvc3ZnPgo=",logoHeight:52,logoWidth:52,logoPadding:12,style:{borderRadius:16},quietZone:12}):n.createElement(ar,{width:"294px",height:"294px"},n.createElement(ol,{width:286,height:286,borderRadius:16,backgroundColor:"surface.secondary"})),n.createElement(Xe,{gap:2,alignItems:"center",px:7},n.createElement(Do.H4,{styles:{textAlign:"center"}},"Scan with your wallet"),n.createElement(Do,{fontColor:"text.tertiary",styles:{textAlign:"center"}},"Open your mobile wallet and scan this QR code to connect"))))};const fu=new M;let gu=!1;function hu({state:e,dispatch:r,showFooterLogo:t,isModal:a}){const o=function(e){const[r,t]=s(!1);return v(()=>{function r(e){t(e.matches)}const a=matchMedia(e);return a.addEventListener("change",r),t(a.matches),()=>a.removeEventListener("change",r)},[e]),r}("(max-width: 768px)");return n.createElement(zd,{dispatch:r},n.createElement(Ji,{isWidget:!0,fullscreen:a&&o},n.createElement(Xe,{width:"full",minWidth:"380px"},(()=>{switch(e.view){case"login":default:return n.createElement(Yd,{dispatch:r});case"wallet_pending":return e.selectedProvider?n.createElement(eu,{key:`wallet-${e.selectedProvider}`,provider:e.selectedProvider,state:e,dispatch:r}):n.createElement(Yd,{dispatch:r});case"walletconnect_pending":return n.createElement(pu,{key:"walletconnect",dispatch:r});case"oauth_pending":return e.selectedProvider?n.createElement(au,{key:`oauth-${e.selectedProvider}`,provider:e.selectedProvider,dispatch:r}):n.createElement(Yd,{dispatch:r});case"additional_providers":return n.createElement(nu,{dispatch:r});case"email_otp_pending":return n.createElement(ou,{state:e,dispatch:r});case"device_verification":return n.createElement(iu,{state:e,dispatch:r});case"mfa_pending":return n.createElement(su,{state:e,dispatch:r});case"recovery_code":return n.createElement(cu,{state:e,dispatch:r});case"lost_recovery_code":return n.createElement(du,{dispatch:r});case"login_success":return n.createElement(lu,{state:e})}})(),n.createElement(zi,{showLogo:t}))))}const mu={position:"fixed",top:0,left:0,right:0,bottom:0,backdropFilter:"blur(0.375rem)",WebkitBackdropFilter:"blur(0.375rem)",display:"flex",alignItems:"flex-start",justifyContent:"center",zIndex:9999},bu={position:"relative"};function Cu({displayMode:e="inline",isOpen:r=!0,onClose:t,closeOnSuccess:a=!1,closeOnClickOutside:o=!1,wallets:i=[],onSuccess:l,onError:c,onReady:d}){const[u,f]=p(tu,ru),[g,h]=s(()=>null===Nd().getConfig()),{setColors:m,setRadius:b}=(({onError:e})=>{const[r,t]=s(null);return v(()=>{t(document?.documentElement)},[]),{setColors:(t,a)=>{const n=_c[t].base,o=_c[t].dark;let i;try{for(const[e,o]of Object.entries(n))i=Ac(a,o),r?.style.setProperty(`--${t}-${e}`,i);for(const[e,n]of Object.entries(o))i="string"==typeof n?"#"+Pc(a,n):Ac(a,n),r?.style.setProperty(`--${t}-${e}-dark`,i)}catch(r){e?.(r)}},setFont:t=>{try{r?.style.setProperty("--brand-font",t)}catch(r){e?.(r)}},setRadius:(t,a)=>{try{r?.style.setProperty(`--${t}-radius`,a)}catch(r){e?.(r)}}}})({}),[C,y]=s(null),[w,x]=s(!1);v(()=>{!function(){if(gu||"undefined"==typeof document)return;const e=document.createElement("style");e.id="magic-widget-styles",e.textContent=':root{--made-with-panda:\'🐼\'}*,::backdrop,:after,:before{--blur: ;--brightness: ;--contrast: ;--grayscale: ;--hue-rotate: ;--invert: ;--saturate: ;--sepia: ;--drop-shadow: ;--backdrop-blur: ;--backdrop-brightness: ;--backdrop-contrast: ;--backdrop-grayscale: ;--backdrop-hue-rotate: ;--backdrop-invert: ;--backdrop-opacity: ;--backdrop-saturate: ;--backdrop-sepia: ;--scroll-snap-strictness:proximity;--border-spacing-x:0;--border-spacing-y:0;--translate-x:0;--translate-y:0;--rotate:0;--skew-x:0;--skew-y:0;--scale-x:1;--scale-y:1}html{--primary:black}:where(:root,:host){--cUJial:1/1;--joSgrv:4/3;--dXjFHz:3/4;--gqpqIn:16/9;--lixcAJ:18/5;--hSWVDT:1.618/1;--dzOvWn:none;--drrWcF:cubic-bezier(0.4,0,0.2,1);--hgfxJf:linear;--hCLxzh:cubic-bezier(0.4,0,1,1);--byCBno:cubic-bezier(0,0,0.2,1);--gSAVQW:cubic-bezier(0.4,0,0.2,1);--fuVfvZ:50ms;--fVBMec:100ms;--mUhz:150ms;--cWTXGg:200ms;--cifMdM:300ms;--goNNlj:400ms;--bPXfWW:500ms;--dRPRGd:100;--dooANa:200;--fVSZDc:300;--llFanx:400;--leEsKL:500;--hmvyHR:600;--ghWdwL:700;--janwPd:800;--bvnjIx:900;--ekeMrS:1;--jyTpIu:1.25;--ipEwfb:1.375;--lomeBD:1.5;--kwMYUX:1.625;--dVGecO:2;--dywXPJ:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--guQdxN:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--gxQaAd:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--jrseCf:-0.05em;--glKTKc:-0.025em;--knaPyh:0em;--jwdARF:0.025em;--eUSVTv:0.05em;--lhSeXO:0.1em;--kWjDjq:0.5rem;--loLyxA:0.75rem;--eRgJXV:0.875rem;--daFrau:1rem;--gKFLFQ:1.125rem;--gFqSQX:1.25rem;--dllMvh:1.5rem;--jaXqkI:1.875rem;--cLogVb:2.25rem;--izMrAu:3rem;--hdlyfR:3.75rem;--bDBsww:4.5rem;--fwhTbD:6rem;--lkGdGW:8rem;--bUWovs:0 1px 2px 0 rgb(0 0 0/0.05);--cDhNnp:0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);--jMKUKK:0 4px 6px -1px rgb(0 0 0/0.1),0 2px 4px -2px rgb(0 0 0/0.1);--kNVcRA:0 10px 15px -3px rgb(0 0 0/0.1),0 4px 6px -4px rgb(0 0 0/0.1);--bnVgij:0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1);--IghlV:0 25px 50px -12px rgb(0 0 0/0.25);--gmhFEB:inset 0 2px 4px 0 rgb(0 0 0/0.05);--aZLOC:4px;--jDYzax:8px;--kMMDaR:12px;--dyIDQb:16px;--TtVDs:24px;--btncja:40px;--esAhmv:64px;--fcTUxn:0rem;--dacYEG:0.25rem;--ebuyxV:0.5rem;--bYDCFo:0.75rem;--hIimNX:1rem;--fFrqVq:1.25rem;--gGIQOF:1.5rem;--eDRUVY:1.75rem;--flZesP:2rem;--djiiAi:2.25rem;--ieMJEa:2.5rem;--cBFxYr:2.75rem;--uyqLg:3rem;--hXmVPi:3.5rem;--mYCWo:4rem;--jgejxp:5rem;--iYEvIx:6rem;--dzpWeZ:7rem;--fifqnK:8rem;--faFCyS:9rem;--bxwoov:10rem;--huPzrf:11rem;--hgdKvb:12rem;--cZMJbQ:13rem;--iXfUeA:14rem;--vWSpd:15rem;--gtqdrN:16rem;--hNtIEu:18rem;--kqIPsj:20rem;--wdMRQ:24rem;--gEfgCY:0.125rem;--jJIQbV:0.375rem;--cqwGG:0.625rem;--dhUgfD:0.875rem;--bJeTGz:spin 1s linear infinite;--cxTetH:ping 1s cubic-bezier(0,0,0.2,1) infinite;--jjLJjo:pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;--eUTuJH:bounce 1s infinite;--bLinLB:currentColor;--qLIrn:#000;--RiClf:#fff;--edNtiq:rgb(0 0 0/0);--cQacUT:#fff1f2;--fFtaKH:#ffe4e6;--eUoFZM:#fecdd3;--bPMUxN:#fda4af;--bvZVli:#fb7185;--jGTTif:#f43f5e;--iVPyxk:#e11d48;--fRnMVl:#be123c;--hxzBoW:#9f1239;--esXPMX:#881337;--epiLsK:#4c0519;--hPYfGc:#fdf2f8;--ioAkJk:#fce7f3;--eyVWNz:#fbcfe8;--nXIqK:#f9a8d4;--hGgStN:#f472b6;--dviDWY:#ec4899;--kUZZAj:#db2777;--gKbLdu:#be185d;--UhnuV:#9d174d;--hYEIxc:#831843;--dPgAHx:#500724;--kpTESD:#fdf4ff;--jfJgr:#fae8ff;--gZeVto:#f5d0fe;--gfHpEZ:#f0abfc;--dSTUoK:#e879f9;--cZwoAv:#d946ef;--jPvANs:#c026d3;--iVXUZd:#a21caf;--hYKnEO:#86198f;--hfmHQz:#701a75;--cYPdae:#4a044e;--ksTgfC:#faf5ff;--iCdJRO:#f3e8ff;--dWAXWh:#e9d5ff;--jcWlLI:#d8b4fe;--eLlnzT:#c084fc;--jRGBpu:#a855f7;--fmdPtN:#9333ea;--kszdjo:#7e22ce;--kMigIv:#6b21a8;--eDhKZa:#581c87;--eadxYH:#3b0764;--elZfLV:#f5f3ff;--jcWAkV:#ede9fe;--gHfMHa:#ddd6fe;--jSzuYT:#c4b5fd;--jDVPUQ:#a78bfa;--bzTONN:#8b5cf6;--ktyKIO:#7c3aed;--cpwJBL:#6d28d9;--foWeJc:#5b21b6;--iApNaV:#4c1d95;--cfTfyk:#2e1065;--kbclAu:#eef2ff;--gAzkHe:#e0e7ff;--gRHwoJ:#c7d2fe;--iYtjYI:#a5b4fc;--jCTsMf:#818cf8;--ujwXi:#6366f1;--LrIEN:#4f46e5;--cSdwoM:#4338ca;--irwviH:#3730a3;--kyiiSG:#312e81;--hgSANP:#1e1b4b;--glmLoi:#eff6ff;--bYrJpO:#dbeafe;--hoTvPd:#bfdbfe;--bMEoOM:#93c5fd;--hIEEwj:#60a5fa;--cgpxvS:#3b82f6;--hwRjVh:#2563eb;--bUCcUQ:#1d4ed8;--golFsv:#1e40af;--LWyse:#1e3a8a;--eJQij:#172554;--dyXAhp:#ecfeff;--eeWoox:#cffafe;--fnHbwe:#a5f3fc;--cLmYYf:#67e8f9;--bpLSHw:#22d3ee;--kcNzIt:#06b6d4;--llymQa:#0891b2;--iJeksb:#0e7490;--jTKpqw:#155e75;--hrqmSx:#164e63;--bcqAnE:#083344;--jqQOis:#f0fdfa;--hsCMHs:#ccfbf1;--jcJhxj:#99f6e4;--czjDVi:#5eead4;--kfgCt:#2dd4bf;--eWbmzo:#14b8a6;--gGhHpf:#0d9488;--cIdNe:#0f766e;--catTvB:#115e59;--gMpZsw:#134e4a;--bnTNlF:#042f2e;--jVPfey:#ecfdf5;--gSyYHy:#d1fae5;--dOyJRJ:#a7f3d0;--jOMcLk:#6ee7b7;--bLsBkr:#34d399;--hLFUdS:#10b981;--eHFFod:#059669;--kHSYhE:#047857;--iuBcgT:#065f46;--dfsLBy:#064e3b;--jJEloz:#022c22;--hXozqf:#f0fdf4;--iDDIAz:#dcfce7;--khfuXU:#bbf7d0;--hypAVx:#86efac;--wGfza:#4ade80;--jdlUVz:#22c55e;--kGNHsU:#16a34a;--hXXNqx:#15803d;--bAQeLK:#166534;--khvUij:#14532d;--cbdKOS:#052e16;--dhEleJ:#f7fee7;--gFFbyh:#ecfccb;--fjFsBy:#d9f99d;--cfdGZz:#bef264;--bxLPEk:#a3e635;--jIFNBh:#84cc16;--imGeEy:#65a30d;--fietcz:#4d7c0f;--crovfQ:#3f6212;--kCitcN:#365314;--gEQkrg:#1a2e05;--cLFWMs:#fefce8;--kxGpio:#fef9c3;--cbZZGT:#fef08a;--fwcFBW:#fde047;--hUTJsd:#facc15;--loWpng:#eab308;--cTpZLL:#ca8a04;--gnsFGO:#a16207;--ByZWN:#854d0e;--dVBFRQ:#713f12;--iLqZUR:#422006;--kVxzTd:#fffbeb;--jZPQXp:#fef3c7;--hCWpXC:#fde68a;--bCKrrD:#fcd34d;--wuHbc:#fbbf24;--fLErTZ:#f59e0b;--doKQUm:#d97706;--iDUBNj:#b45309;--iOnUJo:#92400e;--cObWdp:#78350f;--frxesg:#451a03;--NQTLQ:#fff7ed;--JsfmQ:#ffedd5;--gBjjlD:#fed7aa;--QMCLK:#fdba74;--ijESlZ:#fb923c;--czilMg:#f97316;--iqZpKT:#ea580c;--cGCJla:#c2410c;--dUhLNN:#9a3412;--jzgOMQ:#7c2d12;--igBpVl:#431407;--bINrJX:#fef2f2;--fKgVwH:#fee2e2;--bLdQLg:#fecaca;--fMUQaR:#fca5a5;--hwCQam:#f87171;--iYfRb:#ef4444;--hzqKEw:#dc2626;--lMavl:#b91c1c;--bLDcWa:#991b1b;--fNuclL:#7f1d1d;--jHDsLG:#450a0a;--kltIHN:#fafafa;--hzpwrB:#f5f5f5;--lbfZji:#e5e5e5;--fcfsVb:#d4d4d4;--kPKNfw:#a3a3a3;--eQKgRp:#737373;--isAJIW:#525252;--ctAduP:#404040;--bqFRBA:#262626;--gHaUMp:#171717;--fhFoEQ:#0a0a0a;--NNaBX:#fafaf9;--juQpUX:#f5f5f4;--jjsRgY:#e7e5e4;--hxarzx:#d6d3d1;--dmyqvy:#a8a29e;--bAfQNX:#78716c;--boIrZY:#57534e;--kRLBRt:#44403c;--iKBpmW:#292524;--gYiPFv:#1c1917;--kshUcS:#0c0a09;--dhFdXS:#fafafa;--dGhjba:#f4f4f5;--efoVXJ:#e4e4e7;--ljOqfc:#d4d4d8;--cXLRGr:#a1a1aa;--kcllNK:#71717a;--kBsYKt:#52525b;--gqwJsQ:#3f3f46;--ylgyn:#27272a;--hCKAFG:#18181b;--dtmsQb:#09090b;--dcmCJN:#f9fafb;--ePJGsV:#f3f4f6;--dnVpUm:#e5e7eb;--bMJKSL:#d1d5db;--jSiOQk:#9ca3af;--iqXjOJ:#6b7280;--gPiTqa:#4b5563;--fnXooz:#374151;--fKIyfA:#1f2937;--ejwTdZ:#111827;--jympbw:#030712;--oXohi:#19191A;--gyKIIT:#252525;--eSphig:#303030;--lccBJR:#383838;--lfBdGG:#474747;--kcXOlL:#f8fafc;--kbRDfH:#f1f5f9;--ivwbEU:#e2e8f0;--dpNMHJ:#cbd5e1;--dtmoEy:#94a3b8;--jCZJgj:#64748b;--hWEhFw:#475569;--cQVSIl:#334155;--hVLXiS:#1e293b;--cQdIlH:#0f172a;--iFDdka:#020617;--izlnso:#F8F8FA;--eRgqfH:#EDEDF3;--KVTme:#E2E0E5;--dkJQoR:#CCCAD0;--ktVcUk:#B6B4BA;--gLQfHD:#97959A;--cFFIOa:#77767A;--cJEYlt:#4E4D52;--jSQkQM:#18171A;--hLOWYd:#EDEBFF;--bVhZHK:#CAC2FF;--jYNVEH:#A799FF;--emDeSE:#8875FF;--aNrqF:#6851FF;--gzCdzi:#5D40EA;--dnMpXj:#522FD4;--cLqlCI:#4421C3;--kOWhzF:#3512B2;--dNokDG:#E3FAF3;--fIEsRl:#BAF5E3;--kuAyOg:#90F0D3;--hUmnXD:#48DEB1;--bqMKvC:#00CC8F;--dmcSJh:#00AA77;--hXYYGc:#00875F;--domHof:#007753;--iaiNla:#006647;--dDaZDc:#FFEAE5;--bYjnoT:#FFC3B3;--jcIHwm:#FF9B80;--iuhUtx:#FE7C58;--ejlFbU:#FC5C30;--cEtSNL:#E84718;--jITmVe:#D43100;--hhKBFJ:#C12E02;--cWOmog:#AD2B03;--loKVxo:#FCF4E5;--crbXrL:#FEE5BD;--eXQnMG:#FFD594;--dYBcpd:#EDBD72;--gFpsJY:#DBA550;--iXcedr:#BF8832;--ouKZq:#A36B14;--kXQUUR:#97630C;--cpjBQQ:#8A5A03;--dpZiSB:#EBF0FE;--bZrrvu:#AFC4FF;--cGNUcb:#7398FF;--cGWcRs:#5482FB;--dosFxZ:#346BF7;--bXKOaS:#295EE7;--cFhqHz:#1E50D6;--cvyBYk:#1344C7;--dcVeER:#0737B8;--bMxFwZ:#e0f2fe;--vPNZS:#bae6fd;--bdmqGz:#7dd3fc;--bduzvQ:#38bdf8;--bKRccx:#0ea5e9;--ujkFq:#0284c7;--bbFNlX:#0369a1;--RWYCI:#075985;--bztBjp:#0c4a6e;--iNVpnc:#082f49;--cemPJF:#FFFFFF;--iTjmdu:#FFFFFF;--fFEzoc:0.0625rem;--fCuVLy:0.09375rem;--hiYFxW:0.125rem;--ixNmpi:0.125rem;--bewZvn:0.25rem;--kLOfAE:0.375rem;--dxfumK:0.5rem;--UXfgJ:0.75rem;--bphCwb:1rem;--eougbK:1.5rem;--kkkBVq:9999px;--cDRSmz:var(--button-radius,9999px);--insZoq:var(--container-radius,1.75rem);--hxxJkr:var(--input-radius,0.875rem);--kTdGYg:0rem;--cCUBeV:0.25rem;--gsUKim:0.5rem;--jshnNX:0.75rem;--juMtMc:1rem;--beDnSR:1.25rem;--eUDwWi:1.5rem;--hTQaBT:1.75rem;--cAmzCM:2rem;--fzzdix:2.25rem;--dDnfaV:2.5rem;--cpjPHA:2.75rem;--ckODEv:3rem;--WLola:3.25rem;--hTmzdp:3.5rem;--gFjjJU:3.75rem;--gANXGP:4rem;--htnoem:5rem;--tQYHK:6rem;--kcGldO:7rem;--gMkTEx:8rem;--lcknGR:9rem;--kveXIc:10rem;--gsriJI:11rem;--bPcliI:12rem;--Mxqsr:13rem;--hZfkST:14rem;--fUWaSi:15rem;--bSilTO:16rem;--fnTGst:18rem;--dAFdyM:20rem;--jxszKr:24rem;--hghuKL:0.125rem;--drtIxO:0.375rem;--siblR:0.625rem;--hSPYxQ:0.875rem;--izvCpj:20rem;--aTIGG:24rem;--kMQJUV:28rem;--dyNKmL:32rem;--ToPgI:36rem;--btoFLe:42rem;--esBjqP:48rem;--hrOPNc:56rem;--krbtsN:64rem;--cRFSXi:72rem;--fQSwCT:80rem;--iQceEA:90rem;--jAesVz:65ch;--khWApH:100%;--eOXrSu:min-content;--jNBRbM:max-content;--UhpHH:fit-content;--eomHOU:640px;--iujnmj:768px;--gThSgZ:1024px;--cssArG:1280px;--jESPPc:1536px;--exvVve:2147483647;--ikokJA:640px;--kSvAmr:768px;--uwdhN:1024px;--eyfDzy:1280px;--dgHGKE:1536px;--jlmaOs:var(--surface-primary,var(--iTjmdu));--Iycdi:var(--surface-secondary,var(--izlnso));--crPUBo:var(--surface-tertiary,var(--eRgqfH));--kJiqPO:var(--surface-quaternary,var(--KVTme));--iagzVE:var(--text-primary,var(--jSQkQM));--YyYdq:var(--text-secondary,var(--cJEYlt));--kFAOBM:var(--text-tertiary,var(--cFFIOa));--iodyUC:var(--text-quaternary,var(--cemPJF));--DLYOY:var(--neutral-primary,var(--ktVcUk));--gfUEye:var(--neutral-secondary,var(--KVTme));--qsPVo:var(--neutral-tertiary,var(--eRgqfH));--kyjnqS:var(--neutral-quaternary,var(--izlnso));--iAjuTO:var(--brand-lightest,var(--hLOWYd));--gzHfkH:var(--brand-lighter,var(--jYNVEH));--gBHQLb:var(--brand-base,var(--aNrqF));--etZyR:var(--brand-darker,var(--dnMpXj));--enVPNY:var(--brand-darkest,var(--kOWhzF));--itfeCm:var(--dNokDG);--qkXv:var(--kuAyOg);--gHzsmL:var(--bqMKvC);--cOyFst:var(--hXYYGc);--fKbyps:var(--iaiNla);--dxaFjW:var(--dDaZDc);--dnTPVf:var(--jcIHwm);--bWuoqD:var(--ejlFbU);--iqIoUR:var(--jITmVe);--iZlvjY:var(--cWOmog);--ldafrz:var(--loKVxo);--leQkZS:var(--eXQnMG);--jmTbXW:var(--gFpsJY);--dLLYUY:var(--ouKZq);--dZIprB:var(--cpjBQQ);--gaBiDO:var(--dpZiSB);--fxHMpn:var(--cGNUcb);--fQFmqL:var(--dosFxZ);--dUMcYZ:var(--cFhqHz);--dntrJc:var(--dcVeER)}[data-color-mode=light]{--jlmaOs:var(--surface-primary,var(--iTjmdu));--Iycdi:var(--surface-secondary,var(--izlnso));--crPUBo:var(--surface-tertiary,var(--eRgqfH));--kJiqPO:var(--surface-quaternary,var(--KVTme));--iagzVE:var(--text-primary,var(--jSQkQM));--YyYdq:var(--text-secondary,var(--cJEYlt));--kFAOBM:var(--text-tertiary,var(--cFFIOa));--iodyUC:var(--text-quaternary,var(--cemPJF));--DLYOY:var(--neutral-primary,var(--ktVcUk));--gfUEye:var(--neutral-secondary,var(--KVTme));--qsPVo:var(--neutral-tertiary,var(--eRgqfH));--kyjnqS:var(--neutral-quaternary,var(--izlnso));--iAjuTO:var(--brand-lightest,var(--hLOWYd));--gzHfkH:var(--brand-lighter,var(--jYNVEH));--gBHQLb:var(--brand-base,var(--aNrqF));--etZyR:var(--brand-darker,var(--dnMpXj));--enVPNY:var(--brand-darkest,var(--kOWhzF));--itfeCm:var(--dNokDG);--qkXv:var(--kuAyOg);--gHzsmL:var(--bqMKvC);--cOyFst:var(--hXYYGc);--fKbyps:var(--iaiNla);--dxaFjW:var(--dDaZDc);--dnTPVf:var(--jcIHwm);--bWuoqD:var(--ejlFbU);--iqIoUR:var(--jITmVe);--iZlvjY:var(--cWOmog);--ldafrz:var(--loKVxo);--leQkZS:var(--eXQnMG);--jmTbXW:var(--gFpsJY);--dLLYUY:var(--ouKZq);--dZIprB:var(--cpjBQQ);--gaBiDO:var(--dpZiSB);--fxHMpn:var(--cGNUcb);--fQFmqL:var(--dosFxZ);--dUMcYZ:var(--cFhqHz);--dntrJc:var(--dcVeER) }[data-color-mode=dark]{--jlmaOs:var(--surface-primary-dark,var(--oXohi));--Iycdi:var(--surface-secondary-dark,var(--gyKIIT));--crPUBo:var(--surface-tertiary-dark,var(--eSphig));--kJiqPO:var(--surface-quaternary-dark,var(--lccBJR));--iagzVE:var(--text-primary-dark,var(--cemPJF));--YyYdq:var(--text-secondary-dark,var(--text-secondary-dark,color-mix(in srgb,var(--cemPJF) 72%,transparent)));--kFAOBM:var(--text-tertiary-dark,var(--text-tertiary-dark,color-mix(in srgb,var(--cemPJF) 44%,transparent)));--iodyUC:var(--text-quaternary-dark,var(--jSQkQM));--DLYOY:var(--neutral-primary-dark,var(--neutral-primary-dark,color-mix(in srgb,var(--cemPJF) 16%,transparent)));--gfUEye:var(--neutral-secondary-dark,var(--neutral-secondary-dark,color-mix(in srgb,var(--cemPJF) 12%,transparent)));--qsPVo:var(--neutral-tertiary-dark,var(--neutral-tertiary-dark,color-mix(in srgb,var(--cemPJF) 8%,transparent)));--kyjnqS:var(--neutral-quaternary-dark,var(--neutral-quaternary-dark,color-mix(in srgb,var(--cemPJF) 5%,transparent)));--iAjuTO:var(--brand-lightest-dark,var(--brand-lightest-dark,color-mix(in srgb,var(--jYNVEH) 25%,transparent)));--gzHfkH:var(--brand-lighter-dark,var(--brand-lighter-dark,color-mix(in srgb,var(--jYNVEH) 66%,transparent)));--gBHQLb:var(--brand-base-dark,var(--jYNVEH));--etZyR:var(--brand-darker-dark,var(--hLOWYd));--enVPNY:var(--brand-darkest-dark,var(--hLOWYd));--itfeCm:color-mix(in srgb,var(--kuAyOg) 8%,transparent);--qkXv:color-mix(in srgb,var(--kuAyOg) 72%,transparent);--gHzsmL:var(--kuAyOg);--cOyFst:var(--bqMKvC);--fKbyps:var(--bqMKvC);--dxaFjW:color-mix(in srgb,var(--jcIHwm) 8%,transparent);--dnTPVf:color-mix(in srgb,var(--jcIHwm) 72%,transparent);--bWuoqD:var(--jcIHwm);--iqIoUR:var(--ejlFbU);--iZlvjY:var(--ejlFbU);--ldafrz:color-mix(in srgb,var(--eXQnMG) 8%,transparent);--leQkZS:color-mix(in srgb,var(--eXQnMG) 72%,transparent);--jmTbXW:var(--eXQnMG);--dLLYUY:var(--gFpsJY);--dZIprB:var(--gFpsJY);--gaBiDO:color-mix(in srgb,var(--cGNUcb) 8%,transparent);--fxHMpn:color-mix(in srgb,var(--cGNUcb) 72%,transparent);--fQFmqL:var(--cGNUcb);--dUMcYZ:var(--dosFxZ);--dntrJc:var(--dosFxZ) }@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:0.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,0.2,1)}}@keyframes fadeIn{0%{opacity:0}}@keyframes fadeOut{to{opacity:0}}@keyframes scaleIn{0%{opacity:0}to{opacity:1;scale:1}}@keyframes scaleOut{0%{opacity:1;scale:1}to{opacity:0;scale:0.9}}@keyframes slideIn{0%{opacity:0;transform:translateY(1.25rem)}to{opacity:1;transform:translateY(0)}}@keyframes slideOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(1.25rem)}}@keyframes slideRight{0%{left:-150%}to{left:175%}}@keyframes moveRight{0%{transform:translateX(0rem)}80%{transform:translateX(1.25rem)}to{transform:translateX(1.2rem)}}@keyframes moveLeft{0%{transform:translateX(0rem)}80%{transform:translateX(-1.25rem)}to{transform:translateX(-1.2rem)}}@keyframes animateSpinnerSmall{0%{stroke-dasharray:0.4,60;stroke-dashoffset:0}50%{stroke-dasharray:36,60;stroke-dashoffset:-14}to{stroke-dasharray:36,60;stroke-dashoffset:-52}}@keyframes animateSpinnerLarge{0%{stroke-dasharray:0.875,175;stroke-dashoffset:0}50%{stroke-dasharray:78.75,131.25;stroke-dashoffset:-31}to{stroke-dasharray:0.875,175;stroke-dashoffset:-158}}@keyframes popIn{0%{scale:0}to{scale:1}}@keyframes popOut{0%{scale:1}to{scale:0}}.JIGdQ{font-size:0.75rem;line-height:1.25rem;font-weight:var(--llFanx)}.caxCit{font-size:0.875rem}.AEdnq,.caxCit{line-height:1.5rem;font-weight:var(--llFanx)}.AEdnq{font-size:1rem}.ggkuag{font-size:1.125rem;line-height:1.75rem}.KOyzo,.ggkuag{font-weight:var(--llFanx)}.KOyzo{font-size:0.75rem;line-height:1.25rem}.bqPPXX{font-size:0.875rem}.bqPPXX,.iBKgpR{line-height:1.5rem;font-weight:var(--llFanx)}.iBKgpR{font-size:1rem}.dVmflu{font-size:0.875rem}.dVmflu,.hkxWuN{line-height:1.5rem;font-family:var(--gxQaAd)}.hkxWuN{font-size:1rem}.eIvlPr{font-size:1.125rem;line-height:1.75rem;font-family:var(--gxQaAd)}.ZlnHu{line-height:3.25rem}.ZlnHu,.dNxFtD{font-size:2.5rem;font-weight:var(--janwPd)}.dNxFtD{line-height:3.5rem}.bcvUKl{font-size:2.25rem;line-height:3rem;font-weight:var(--janwPd)}.fDZIkY,.gRVYOk{font-size:2rem;line-height:2.75rem;font-weight:var(--janwPd)}.cqslnx{font-size:1.5rem;line-height:2.25rem;font-weight:var(--ghWdwL)}.cFGrCm,.cSachX{font-size:1.25rem;line-height:2rem;font-weight:var(--ghWdwL)}.brKaZa,.efWsLj{font-size:1.125rem;line-height:1.75rem;font-weight:var(--ghWdwL)}.buUIbR{font-size:0.625rem}.buUIbR,.hkuMfQ{letter-spacing:0.06rem;text-transform:uppercase;line-height:0.75rem;font-weight:var(--hmvyHR)}.hkuMfQ{font-size:0.75rem}@media screen and (min-width: 64rem){.KOyzo{font-size:0.875rem}.KOyzo,.bqPPXX{line-height:1.5rem}.bqPPXX{font-size:1rem}.iBKgpR{font-size:1.125rem;line-height:1.75rem}.ZlnHu{font-size:5rem;line-height:5.5rem}.bcvUKl{font-size:4rem;line-height:4.75rem}.fDZIkY{font-size:3rem;line-height:4rem}.cSachX{font-size:1.5rem;line-height:2.25rem}.brKaZa{font-size:1.25rem;line-height:2rem}.buUIbR{font-size:0.75rem;line-height:0.75rem}}.fEVEmD{display:inline-flex}.jTWvec{position:relative}.iPfXWl{box-sizing:border-box}.dKuXep{border-radius:var(--cDRSmz)}.lbmNld{border:thin solid}.bZRhvx{cursor:pointer}.hWbyxU{transition:all 0.1s ease}.diIxfU{outline:var(--dzOvWn)}.efvJEH{will-change:transform,opacity}.kFYpif{background:none}.Axmbx{height:var(--fzzdix)}.jGqtLL{padding-block:var(--jJIQbV)}.fzoqgU{padding-inline:var(--hIimNX)}.fzpabD{height:var(--ckODEv)}.fzoAXm{padding-block:var(--bYDCFo)}.fznPAm{padding-inline:var(--gGIQOF)}.fznKiw{height:var(--gFjjJU)}.fzoqgp{padding-block:var(--hIimNX)}.cPRswh{background:var(--gBHQLb)}.dTWubc{background:var(--iAjuTO)}.edEltL{background:var(--cOyFst)}.gDSsAr{background:var(--iqIoUR)}.hoYZte{background:var(--qsPVo)}.foDtdn{background:var(--edNtiq)}.AxjtU{padding:var(--fcTUxn)}.gsynQv{height:fit-content}.hZLYvv{background:#ffffff14}.kXEOGR{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.hmegja{background:var(--jSQkQM)}.cERSkX{pointer-events:none}.dMMuNs{width:var(--khWApH)}.bYJPrM{border-radius:var(--kkkBVq)}.fPSBzf{display:flex}.gzBMzy{text-align:center}.cbkwRf{white-space:nowrap}.bunRPm{color:var(--jlmaOs)}.rbsQX{color:var(--etZyR)}.flFbEq{color:var(--iagzVE)}.ecosjt{color:var(--gBHQLb)}.jiGUEY{color:var(--cemPJF)}.deYFWh{color:var(--gHzsmL)}.iATurT{color:var(--iqIoUR)}.drDZIi{color:var(--kFAOBM)}.fQAFQl{outline-offset:var(--gEfgCY)}.AxmbG{width:var(--fzzdix)}.pitAi{padding:var(--jJIQbV)}.fzpabA{width:var(--ckODEv)}.Axikr{padding:var(--bYDCFo)}.fznKij{width:var(--gFjjJU)}.AxhTk{padding:var(--hIimNX)}.gsynQA{width:fit-content}.DyZUq{border-radius:10px}.lnVchA{background:var(--itfeCm)}.gCOtIw{background:var(--dxaFjW)}.fmhFEF{background:var(--ldafrz)}.kRLutI{background:var(--Iycdi)}.gIDZqd{transition:transform 0.2s ease,opacity 0.2s ease}.dLFxYe{text-align:left}.kkElPi{color:var(--enVPNY)}.jsoGzi{color:var(--fKbyps)}.bKCYEC{color:var(--iZlvjY)}.jnqkcv{color:var(--dZIprB)}.buzaNI{color:var(--YyYdq)}.kypCfT{text-transform:uppercase}.fkBQxR{letter-spacing:0.06rem}.gcohXo{border-radius:1rem}.fyplMZ{cursor:default}.ioQIUn{height:10.75rem}.ioQIUI{width:10.75rem}.dXscgu{overflow:hidden}.eLuUPu{overflow:visible}.qbege{gap:var(--fcTUxn)}.pvuga{gap:var(--hIimNX)}.pnxsH{gap:var(--fFrqVq)}.pezuA{gap:var(--gGIQOF)}.flMYjT{box-shadow:0px 1px 2px rgba(189,189,189,0.3)}.fMKpTj{box-shadow:8px 8px 48px rgba(16,15,17,0.14)}.fzrkhE{padding-inline:var(--flZesP)}.fznPzH{padding-block:var(--gGIQOF)}.fzpabv{padding:var(--uyqLg)}.kdFIjO{flex:1 1 0%}.bKPWST{max-width:29.125rem}.iZstbk{opacity:0.3}.dMMuMP{height:var(--khWApH)}.kbJfZC{background:var(--jlmaOs)}.gWzzAr{overflow:auto}.fLVKVB{scrollbar-width:none}.djBLSD{height:100vh}.dnFyWD{width:100vw}.eJvMDV{scale:1}.AxiEa{padding:var(--ebuyxV)}.Axmvo{padding:var(--flZesP)}.eAZrqn{height:auto}.dNXUzv{max-width:25rem}.coifUy{margin-inline:auto}.jeqdDQ{border-radius:var(--insZoq)}.jieZfE{pointer-events:all}.hdAwi{position:fixed}.csnEyP{--backdrop-blur:blur(0.375rem)}.crPXqh{backdrop-filter:var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-saturate) var(--backdrop-sepia);-webkit-backdrop-filter:var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-saturate) var(--backdrop-sepia)}.deAqKV{max-width:100rem}.hkIdtl{margin:0 auto}.cORRFI{max-width:none}.fDWVKV{border-radius:var(--hxxJkr)}.JcTPa{transition:all linear 120ms}.hYZFkb{width:100%}.fzozCt{height:var(--dDnfaV)}.fzoNwz{padding-block:var(--ebuyxV)}.AxjtB{margin:var(--fcTUxn)}.iQHTXh{min-width:var(--dDnfaV)}.dvMkiN{text-align:right}.dpjQla{transition:opacity linear 120ms}.dsySWt{text-wrap:wrap}.gsGAeM{color:var(--jmTbXW)}.fNCCNu{padding:20px}.AYoSK{z-index:var(--exvVve)}.kVkdUe{box-shadow:4px 8px 20px 0px rgba(0,0,0,0.15)}.dSXBgr{height:1rem}.dSXBfY{width:1rem}.eAZrpM{width:auto}.AYoSP{width:var(--jNBRbM)}.hQiMIj{max-width:var(--fnTGst)}.jXSfKH{position:absolute}.fzoAWH{padding-inline:var(--bYDCFo)}.eeKCgv{border-radius:var(--UXfgJ)}.Oxeoj{box-shadow:0px 4px 20px 0px rgba(0,0,0,0.10)}.ddgODW{display:none}.cGFOJB{display:block}.izPYod{transform:translateX(-50%) translateY(calc(-100% - 0.75rem))}.cPkmfo{transform:translateX(10%) translateY(calc(-100% - 0.75rem))}.cXTUEh{transform:translateX(-10%) translateY(calc(-100% - 0.75rem))}.iqmoHh{transform:translateX(calc(-100% - 0.75rem)) translateY(-50%)}.emrspq{transform:translateX(calc(-100% - 0.75rem)) translateY(-75%)}.zFGjL{transform:translateX(calc(-100% - 0.75rem)) translateY(-25%)}.ddBtbm{transform:translateX(calc(100% + 0.75rem)) translateY(-50%)}.kSbzJl{transform:translateX(calc(100% + 0.75rem)) translateY(-75%)}.hdzMuI{transform:translateX(calc(100% + 0.75rem)) translateY(-25%)}.jSRWPC{transform:translateX(-50%) translateY(calc(100% + 0.75rem))}.depkmP{transform:translateX(10%) translateY(calc(100% + 0.75rem))}.eqVTfG{transform:translateX(-10%) translateY(calc(100% + 0.75rem))}.fzoWka{width:var(--fnTGst)}.AxhSM{height:var(--juMtMc)}.kmFTYl{transform:translateX(-50%) translateY(0.75rem)}.hFunKo{transform:translateX(-50%) translateY(-0.75rem)}.AxhTf{width:var(--juMtMc)}.fzqACo{height:var(--bPcliI)}.kwEkgw{transform:translateX(-0.75rem) translateY(-50%)}.LwqbV{transform:translateX(0.75rem) translateY(-50%)}.jHxAip{background:linear-gradient(#00CC8F,#6851FF)}.hWgZTB{inset:var(--fcTUxn)}.dKLBtz{gap:10px}.cYdhWw{display:grid}.jZwGWY{fill:var(--RiClf)}.hGQgmY{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jcgYsf{--mix-background:color-mix(in srgb,var(--iagzVE) 20%,transparent);background:var(--mix-background,var(--iagzVE))}.jDVJRS{transform:translateY(0)}.japwPO{transform:translateY(100%)}.bTJmyy{transition:transform 0.3s}.fClTjd{border-top-left-radius:var(--eougbK);border-top-right-radius:var(--eougbK)}.jvjRt{box-shadow:0px -12px 56px 0px rgba(119,118,122,0.15)}.fzozCb{z-index:10}.cFLICG{transform:translateX(-100%)}.byXyn{transform:translateX(100%)}.khiFRn{transform:translateX(0)}.fzoCXr{width:var(--dAFdyM)}.fjzPTS{border-top-right-radius:var(--bphCwb);border-bottom-right-radius:var(--bphCwb)}.dXSjkM{border-top-left-radius:var(--bphCwb);border-bottom-left-radius:var(--bphCwb)}.eVHffH{--thickness:1px}.bjGQXr{gap:var(--cqwGG)}.cpnrKk{box-shadow:true}.fgrICX{background:#ffc439}.fnjBrW{border:1px solid transparent}.jGoIIY{padding-block:var(--cqwGG)}.lopGBb{stroke-width:2.5}.pThsL{gap:var(--dacYEG)}.fzoxFp{width:var(--fUWaSi)}.jonSOI{flex:0 0 auto}.lkYUqX{border-radius:9999px}.cUqkcP{animation:popIn 150ms}.ksKAre{animation:popOut 150ms}.ZlVyD{animation:spin 1.5s linear infinite}.emRNBL{stroke:var(--iagzVE)}.elaIWr{transform-origin:center center}.bkLsBk{gap:var(--jJIQbV)}.kRRXUg{stroke:var(--gBHQLb)}.jAmlUX{stroke:var(--jlmaOs)}.kYoAXZ{stroke-opacity:0.12}.jQNDvc{animation:spin 1s linear infinite}.dITaCb{border-radius:2rem}.bKdxLy{transform:skewX(-20deg)}.chmhDV{overflow-wrap:break-word}.bWVcuP{word-break:break-word}.llnClk{background:var(--kyjnqS)}.fRIRtM{border-radius:var(--dxfumK)}.dWKkCe{min-width:15rem}.mDYqS{width:40%}.dZeDlI{border-left:thin solid}.Axmvg{height:var(--cAmzCM)}.pCmHl{gap:var(--bYDCFo)}.bGySga{-webkit-user-select:none;user-select:none}.GzWLz{-webkit-user-select:auto;user-select:auto}.fMSoJ{filter:blur(10px)}.rHLwk{text-wrap:nowrap}.fzoYeD{width:22px}.fzoYeI{height:22px}.iiBJGO{font-variant:no-contextual}.dJRcZd{transition:none}.pKjuE{gap:var(--ebuyxV)}.fznYYc{width:var(--gANXGP)}.fzozgh{width:var(--htnoem)}.fznYYn{height:var(--gANXGP)}.fzozgi{height:var(--htnoem)}.hYbcjk{width:1.125rem}.hYbciH{height:1.125rem}.dgzwbo{object-fit:cover}.clyxRL{border-start-start-radius:var(--hxxJkr);border-end-start-radius:var(--hxxJkr)}.cMWMBT{border-radius:0}.duralB{transform:rotate(180)}.fznyyO{width:var(--hTmzdp)}.fznyzd{height:var(--hTmzdp)}.faAYXy{max-height:17.5rem}.fzqBIS{width:18px}.fzqBJp{height:18px}.hVpAQY{min-width:var(--kTdGYg)}.cEowv{max-width:30rem}.dGnaHP{caret-color:var(--edNtiq)}.eGizhS{border-radius:0.5rem}.fzoqgI{margin-block:var(--hIimNX)}.iWbCEa{max-width:var(--iQceEA)}.XApuw{overlay:true}.fznycS{height:var(--tQYHK)}.fznycJ{width:var(--tQYHK)}.Axhdq{padding:var(--gGIQOF)}.kInNhr{max-width:393px}.Axhdp{width:var(--eUDwWi)}.enrCNZ{border-radius:60px}.fzoLlM{height:var(--cpjPHA)}.fzoLlH{width:var(--cpjPHA)}.fzozCm{width:var(--dDnfaV)}.AxgJj{height:var(--hTQaBT)}.AxgJE{width:var(--hTQaBT)}.kZwhzw{border-radius:30px}.Axhzu{width:var(--beDnSR)}.Axhzd{height:var(--beDnSR)}.dtwJUe{border-radius:0.375rem}.gNnTtK{border-radius:var(--kLOfAE)}.bnMKLm{color:var(--DLYOY)}.fVXeaF{border-radius:var(--bphCwb)}.bMpqsa{opacity:0.5}.frJqtw{opacity:1}.fzoyvf{width:var(--kveXIc)}.fzoyvs{height:var(--kveXIc)}.dSXzlv{width:6rem}.dSXBCd{width:4rem}.kEPjac{min-height:var(--gANXGP)}.dLESCV{border-radius:0.75rem}.bVQpjJ{border-radius:var(--bewZvn)}.hLsNni{pointer-events:auto}.fGSyrq{transition:background-color 0.2s ease,border-color 0.2s ease}.piqPW{width:var(--siblR)}.pitgX{height:var(--hghuKL)}.mBgaT{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.lfSec{caret:18px}.kEVDGR{check:16px}.dSXBWl{height:3rem}.flFnwR{mult:2.5px}.bUyOMB{display:inline-block}.eOXPNx{max-width:var(--Mxqsr)}.jSqJiD{gap:var(--ieMJEa)}.ljqpme{transition:border-color 0.2s ease}.AxhcS{height:var(--eUDwWi)}.Axikw{width:var(--jshnNX)}.AxijT{height:var(--jshnNX)}.Axjal{padding:var(--dacYEG)}.kyvghW{background:var(--izlnso)}.fyBLPL{background:var(--iTjmdu)}.jqgBXf{box-shadow:0px 4px 20px 0px color-mix(in srgb,var(--jSQkQM) 10%,transparent)}.jIGVye{transition:transform 0.2s ease}.cXjUyC{border-radius:inherit}.fzplPS{height:var(--WLola)}.gnKssF{transition:background 0s}.gNPhbY{transition:background 0.2s ease}.AxjtK{z-index:0}.cgfjYq{background:var(--DLYOY)}.jGqhlT{padding-inline:var(--gEfgCY)}.cBWyVA{transition:background-color 0.2s ease}.iLEfrF{transition:left 0.2s ease}.jYtJnS{stroke-width:4}.fznWHu{width:var(--lcknGR)}.fznWHJ{height:var(--lcknGR)}.fzoAXP{margin-block:var(--bYDCFo)}.kwGEGT{pointer-events:initial}.fNCbQd{height:76px}.jXIVTv{max-width:115px}.hYZFjI{height:100%}.flXdLu{min-width:var(--htnoem)}.pBpid{padding-inline:var(--ieMJEa)}.gtdXBX{width:max-content}.cqBabc{border:thin solid transparent}.jzlacV{height:6.25rem}.evQrdT{--mix-background:color-mix(in srgb,var(--iagzVE) 6%,transparent);background:var(--mix-background,var(--iagzVE))}.bdwxhc{border-radius:52px}.gAFyjk{backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.hYxQqf{height:2.625rem}.hYxQqA{width:2.625rem}.fubjOl{box-shadow:0.125rem 0.125rem 1.5rem color-mix(in srgb,var(--cFFIOa) 15%,transparent)}.eWAJiI{fill:var(--ktVcUk)}.eWyFtu{color:var(--ktVcUk)}.gSVYRP{animation:fadeIn 0.5s,moveRight 1s 0.5s forwards}.kJWAhn{border-radius:50%}.imIknl{height:3.875rem}.imIknm{width:3.875rem}.Axjab{z-index:1}.iAVgSo{animation:fadeIn 0.5s,moveLeft 1s 0.5s forwards}.fznxJj{height:34px}.fznxIY{width:34px}.fzoayX{height:var(--hZfkST)}.fzoayU{width:var(--hZfkST)}.eliKuq{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.fzodHc{padding-block:var(--fFrqVq)}.pBpiF{margin-block:var(--ieMJEa)}.pzYgn{height:250px}.gWDyZg{color:var(--cFFIOa)}.fzozCl{padding:var(--ieMJEa)}.gnCXEd{overflow:scroll}.jsxjhB{width:200px}.hMIFzk{max-width:200px}.gHsxkk{min-width:88px}.gWcfgT{min-width:fit-content}.gVwSKA{min-height:fit-content}.cUIwgI{transition:transform 0.1s}.jrPJbn{width:114px}.fNAzWg{height:48px}.ATFQA{width:7px}.ATFQv{height:7px}.bxgBRd{background:var(--gHzsmL)}.ihDaVZ{--translate-x:var(--gGIQOF)}.cBAuwg{--translate-y:var(--gGIQOF)}.djKBfg{--translate-x:var(--bYDCFo)}.iPNhEZ{--translate-y:var(--bYDCFo)}.BJXMm{min-height:18px}.AORKl{min-width:18px}.AxiZQ{margin:var(--dacYEG)}.rmyfW{gap:var(--flZesP)}.bTqNYb{min-width:380px}.jJQbUA{transform:translate(-50%,-50%)}.fznCZP{padding-inline:var(--eDRUVY)}.eYxvy{stroke-width:8}.uLMIu{border-radius:14px}.iriloe{rotate:90deg}.kBkDOg{scrollbar-width:thin}.fUTAcQ{scrollbar-color:rgba(143,147,153,0.4) transparent}.eGSram{max-height:384px}.fzoNxe{padding-inline:var(--ebuyxV)}.fzoxFy{height:var(--fUWaSi)}.jrNHos{width:294px}.jrNHnX{height:294px}.plVOb{width:286px}.plVNY{height:286px}.jGeaAw{border-radius:16px}.kSmiQp{align-items:center}.legDhJ{justify-content:center}.bsdAgg{font-weight:var(--hmvyHR)}.gKedlK{border-color:var(--edNtiq)}.lcwbhf{border-color:var(--DLYOY)}.xYowz{font-size:var(--eRgJXV)}.lgBfkU{line-height:1.5rem}.wzdQU{font-size:var(--daFrau)}.xEQJi{font-size:var(--gKFLFQ)}.RiFXn{line-height:1.75rem}.ecsDQq{outline-color:var(--gBHQLb)}.dkFkBb{outline-style:solid}.jUIfTb{outline-width:var(--hiYFxW)}.uLlkq{animation-fill-mode:forwards}.hgoZRe{animation-name:scaleOut}.bXxxmv{animation-duration:150ms}.AMuyK{font-size:var(--loLyxA)}.fznCNG{margin-left:var(--eDRUVY)}.fznDiI{margin-right:var(--eDRUVY)}.kbJfZC{background-color:var(--jlmaOs)}.dRCFAU{align-items:flex-start}.fUfBYX{align-items:flex-end}.fRDJQy{background-color:var(--crPUBo)}.cZtwqS{animation-name:none}.fzpnVC{padding-bottom:var(--fcTUxn)}.bZlPyP{animation-name:scaleIn}.fDIibI{animation-duration:250ms}.qbeer{top:var(--fcTUxn)}.kiKDyH{left:var(--fcTUxn)}.hIekUp{animation-name:fadeIn}.Brknr{animation-duration:400ms}.hdbihI{animation-name:fadeOut}.iYhTva{font-weight:var(--leEsKL)}.foDtdn{background-color:var(--edNtiq)}.hDGJaH{border-style:solid}.lbLLll{border-width:var(--fFEzoc)}.kMhkax{border-color:var(--gfUEye)}.dwaifQ{border-color:var(--bWuoqD)}.hhWyss{font-weight:var(--llFanx)}.xNKXN{font-size:var(--gFqSQX)}.fvBKJs{justify-content:flex-start}.jUJMFv{justify-content:flex-end}.cPRswh{background-color:var(--gBHQLb)}.edEltL{background-color:var(--cOyFst)}.gCeNqG{background-color:var(--dLLYUY)}.gDSsAr{background-color:var(--iqIoUR)}.btsPBS{background-color:var(--kFAOBM)}.hZBAaK{top:0%}.eCaVMz{left:50%}.dlNJxY{right:100%}.eCzFHr{left:100%}.dDihBf{top:50%}.dTRYzG{left:0%}.dRndGF{right:0%}.ktFiky{bottom:0%}.kyGdCf{bottom:var(--fcTUxn)}.jIomzn{right:calc(var(--gGIQOF) * -1)}.eMGDsc{left:calc(var(--gGIQOF) * -1)}.ksWBqx{flex-direction:row}.cMoGaw{grid-template-columns:repeat(6,minmax(0,1fr))}.cxWwua{column-gap:2rem}.cxzifT{row-gap:2rem}.fznPDb{margin-top:var(--gGIQOF)}.iLbQFp{flex-direction:column}.jzuiJt{flex-shrink:0}.fznPCO{padding-top:var(--gGIQOF)}.hWgptE{right:var(--fcTUxn)}.fznPzA{padding-bottom:var(--gGIQOF)}.gSKPcF{justify-content:space-between}.gsLSP{border-block-end-width:var(--thickness)}.kNSbHl{border-color:var(--kJiqPO)}.iFtuvY{outline-color:#ffc439}.jGqhje{margin-top:var(--gEfgCY)}.iWITAz{border-width:var(--hiYFxW)}.OpsJf{border-color:var(--jlmaOs)}.cIFhny{left:-50%}.hhfvpY{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.1),transparent)}.bheJpJ{font-weight:600}.ckDurQ{justify-content:space-around}.bJrRn{border-color:var(--qsPVo)}.kWIjhW{font-family:inherit}.evhJrM{outline-style:none}.bnrbKB{border-left-width:var(--fFEzoc)}.jCnIUz{top:55px}.WUSvz{overflow-y:auto}.fzrkfx{margin-top:var(--flZesP)}.fzoqjJ{margin-top:var(--hIimNX)}.kiIPsp{flex-grow:0}.fzoBen{padding-top:var(--bYDCFo)}.eRLFrQ{border-bottom-color:var(--DLYOY)}.ikkoWx{border-bottom-width:1px}.gvTxLc{flex-direction:column-reverse}.kRUpGi{left:var(--djiiAi)}.jXbniH{top:var(--cBFxYr)}.jppWeU{border-width:2px}.hoYZte{background-color:var(--qsPVo)}.dKiwaS{font-weight:var(--ghWdwL)}.hQJXOm{align-items:start}.jgxhLI{border-color:var(--gBHQLb)}.jfQXOb{border-color:var(--kFAOBM)}.fNUXA{outline-color:var(--edNtiq)}.fzoAPu{margin-left:var(--bYDCFo)}.cLWmJb{border-width:1px}.pNAEp{margin-left:calc(var(--dacYEG) * -1)}.fzpbES{margin-right:var(--dacYEG)}.fzoNGh{margin-right:var(--ebuyxV)}.jDRgcp{left:var(--gGIQOF)}.cXMndB{--mix-borderColor:color-mix(in srgb,var(--iagzVE) 10%,transparent);border-color:var(--mix-borderColor,var(--iagzVE))}.boHRSr{border-width:var(--fCuVLy)}.dsEUfT{background-color:var(--hLOWYd)}.kAiqVl{border-width:3px}.jsWSlz{margin-top:-3px}.jbWTdm{margin-right:0.9rem}.jbWSUo{margin-left:0.9rem}.kFJmaE{--mix-backgroundColor:color-mix(in srgb,var(--iagzVE) 1%,transparent)}.ftGyaA,.kFJmaE{background-color:var(--mix-backgroundColor,var(--iagzVE))}.ftGyaA{--mix-backgroundColor:color-mix(in srgb,var(--iagzVE) 5%,transparent)}.fydxLC{--mix-borderColor:color-mix(in srgb,var(--iagzVE) 6%,transparent);border-color:var(--mix-borderColor,var(--iagzVE))}.fjYTfT{bottom:-1px}.bEeUNc{right:-1px}.kQauLJ{align-items:baseline}.fcwWhs{background-color:var(--gfUEye)}.hHdgel{background-color:var(--dnTPVf)}.bbHqQM{grid-template-columns:repeat(2,minmax(0,1fr))}.fzoqjw{padding-top:var(--hIimNX)}.fzoNvZ{margin-bottom:var(--ebuyxV)}.fzoNEP{margin-top:var(--ebuyxV)}.fzoAVA{margin-bottom:var(--bYDCFo)}.kRLutI{background-color:var(--Iycdi)}.XyjJy:is(:disabled,[disabled],[data-disabled]){opacity:0.3}.iFUqYl:is(:disabled,[disabled],[data-disabled]){pointer-events:none}.jrpcxw:before{position:absolute}.heDbSF:before{border-radius:inherit}.dwmXuW:before{opacity:0}.huWYIz:before{transition:opacity 0.1s ease}[data-color-mode=light] .jtDWvE{mix-blend-mode:multiply}[data-color-mode=dark] .gLaBRL{background:#ffffff29}.jNgRkF:before{display:none}[data-color-mode=dark] .hAWTSp{background:var(--iTjmdu)}[data-color-mode=dark] .ehbthU{color:var(--jSQkQM)}[data-color-mode=dark] .kkleQX{color:var(--bWuoqD)}[data-color-mode=dark] .dcESjf{border-block:solid}.iqcWiz::placeholder,.iqcWiz[data-placeholder]{color:var(--kFAOBM)}[data-color-mode=dark] .dSbdfc{background:var(--crPUBo)}.FuZjR:is(:disabled,[disabled],[data-disabled]){opacity:0.8}[data-color-mode=dark] .iuzRWK{background:rgba(0,0,0,.7)}[data-color-mode=dark] .jrIQHe{background:var(--Iycdi)}[data-color-mode=dark] .cDAZzQ{background:var(--jlmaOs)}[data-color-mode=dark] .dUhjQY{background:var(--eSphig)}[data-color-mode=dark] .egesjy{background:var(--lfBdGG)}[data-color-mode=dark] .ixYntQ{fill:var(--cFFIOa)}[data-color-mode=dark] .kmeQgS{color:var(--cFFIOa)}.dLVhZe:before{content:""}.gjcwJg:before{top:var(--fcTUxn)}.WaBms:before{left:var(--fcTUxn)}.dqEIyP:before{right:var(--fcTUxn)}.knajvY:before{bottom:var(--fcTUxn)}.cNKdvI:before{background-image:linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05))}.hSfsjI:before{background-image:linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05))}[data-color-mode=dark] .cEVFqR{border-width:1px}[data-color-mode=dark] .jCzVrn{border-color:var(--gfUEye)}[data-color-mode=dark] .ccPJnH{border-color:var(--cFFIOa)}[data-color-mode=dark] .dYDocO{background-color:var(--YyYdq)}[data-color-mode=dark] .HKuZu{background-image:linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent)}.fmEGpT::-webkit-scrollbar,.hVrpDN::-webkit-scrollbar-track{background-color:var(--edNtiq)}.jOgXfC:focus-within{outline-offset:var(--gEfgCY)}.keDhFF:focus-within{outline-color:var(--gBHQLb)}.dLOUfk:focus-within{outline-style:solid}.hqoPOw:focus-within{outline-width:var(--hiYFxW)}.codFrx:is(:focus-visible,[data-focus-visible]){outline-offset:var(--gEfgCY)}.flBQvp:is(:focus-visible,[data-focus-visible]){border-radius:2px}.dmiQBo:is(:focus,[data-focus]){fill:url("#logo-gradient")}.AIGHf:is(:focus-visible,[data-focus-visible]){outline-color:var(--iAjuTO)}.dGEQaj:is(:focus-visible,[data-focus-visible]){outline-color:var(--itfeCm)}.hyjrVf:is(:focus-visible,[data-focus-visible]){outline-color:var(--dxaFjW)}.gcvzK:is(:focus-visible,[data-focus-visible]){outline-color:var(--ldafrz)}.bIoiOr:is(:focus-visible,[data-focus-visible]){outline-color:var(--Iycdi)}.hLPNjH:is(:focus-visible,[data-focus-visible]){outline-style:solid}.dTHceD:is(:focus-visible,[data-focus-visible]){outline-width:var(--hiYFxW)}.bXLdKW:is(:focus-visible,[data-focus-visible]){outline-color:var(--gBHQLb)}.eqIqpK:is(:hover,[data-hover]){background:#ffffff4d}.group:is(:hover,[data-hover]) .crpBMh{color:var(--enVPNY)}.group:is(:hover,[data-hover]) .dkgTgI{color:var(--cOyFst)}.group:is(:hover,[data-hover]) .dsNmcp{color:var(--iZlvjY)}.group:is(:hover,[data-hover]) .ejxEyT{color:var(--YyYdq)}.gFOtbv:is(:hover,[data-hover]){opacity:0.8}.gNRPsX:is(:hover,[data-hover]){filter:brightness(0.9)}.cNdQqS:is(:hover,[data-hover]){background:var(--crPUBo)}.hQYScc:is(:hover,[data-hover]){background:var(--iAjuTO)}.juloA:is(:hover,[data-hover]){background:var(--gfUEye)}.ekkLYF:is(:hover,[data-hover]){box-shadow:0 6px 8px 2px rgba(0,0,0,.18)}.ieWvIF:is(:hover,[data-hover]){cursor:pointer}.kznAev:is(:hover,[data-hover]){background:var(--edNtiq)}.lpgyhx:is(:hover,[data-hover]){background:var(--eRgqfH)}.gJEFOw:is(:hover,[data-hover]){background:var(--cFFIOa)}.eJlUjp:is(:hover,[data-hover]){background:var(--gBHQLb)}.group:is(:hover,[data-hover]) .fOIArh{color:var(--iagzVE)}.dmulsi:is(:hover,[data-hover]){fill:url("#logo-gradient")}.group:is(:hover,[data-hover]) .ejwVfp{color:var(--kFAOBM)}.dpCLFW:is(:hover,[data-hover]){background:var(--qsPVo)}.fFyjxH:is(:hover,[data-hover]){border-color:var(--DLYOY)}.khQJeR:is(:hover,[data-hover]){border-color:var(--gfUEye)}.group:is(:hover,[data-hover]) .jRgrno{border-color:var(--DLYOY)}.juloA:is(:hover,[data-hover]){background-color:var(--gfUEye)}.XicUs:is(:hover,[data-hover]){border-color:var(--gBHQLb)}.bhyTbN:is(:active,[data-active]){transform:scale(0.95)}.dLUGsc:is(:active,[data-active]){fill:url("#logo-gradient")}.fwLKPv>:first-child{min-width:var(--cAmzCM)}.kYYdmz>:last-child{min-width:var(--cAmzCM)}[data-color-mode=dark] .iBxkaW:before{background-image:linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05))}[data-color-mode=dark] .gYKIuG:before{background-image:linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05))}.feLnkv:is(:hover,[data-hover]):before{opacity:1}.hEvetW:is(:hover,[data-hover]):before{opacity:0}[data-color-mode=dark] .group:is(:hover,[data-hover]) .hOYqkw{color:var(--gzHfkH)}[data-color-mode=dark] .group:is(:hover,[data-hover]) .tdpny{color:var(--cOyFst)}[data-color-mode=dark] .group:is(:hover,[data-hover]) .jMRjnY{color:var(--dnTPVf)}[data-color-mode=dark] .group:is(:hover,[data-hover]) .hEkRYZ{color:var(--YyYdq)}[data-color-mode=dark] .cbdIkB:is(:hover,[data-hover]){background:var(--edNtiq)}[data-color-mode=dark] .bLXejb:is(:hover,[data-hover]){background:var(--gyKIIT)}[data-color-mode=dark] .leneMy:is(:hover,[data-hover]){background:var(--lfBdGG)}[data-color-mode=dark] .iCKJWv:is(:hover,[data-hover]){background:var(--gBHQLb)}[data-color-mode=dark] .chhjLx:is(:hover,[data-hover]){border-color:var(--ktVcUk)}@media (min-width: 48rem){.XrXGK{margin-inline:auto}.blyVxi{width:25rem}.jBZMtD{height:fit-content}.dOrSJl{box-shadow:0px 12px 56px color-mix(in srgb,var(--cFFIOa) 15%,transparent)}.cRloWQ{border-radius:var(--insZoq)}.fHEbLY{top:var(--uyqLg)}.ctyfRj{top:var(--fcTUxn)}}@media (min-width: 48rem){[data-color-mode=dark] .iueHSe{box-shadow:none}}@media (min-width: 48rem){[data-color-mode=dark] .isQWtr{border-block:solid}}@media (min-width: 48rem){[data-color-mode=dark] .ceYPvB{border-width:1px}}@media (min-width: 48rem){[data-color-mode=dark] .btXYvH{border-color:var(--gfUEye)}}@media screen and (min-width: 48rem){.kVsPah{padding-inline:var(--gGIQOF)}}@media (min-width: 769px){.fdZOLs{padding-top:15vh}}@media screen and (min-width: 64rem){.kTqchV{padding-inline:var(--flZesP)}}@media screen and (max-width: 47.9975rem){.hUYDug{max-width:var(--khWApH)}}@media only screen and (max-width: 767px){.fcSmAp{height:100dvh}}@media (max-width: 370px){.hYevRO{display:none}}@media (prefers-reduced-motion: reduce){.kuxZR{scale:1}}',document.head.appendChild(e),gu=!0}(),g&&Nd().fetchConfig().then(e=>{y(e.theme),x(2!==e.theme.customBrandingType),h(!1)}).catch(e=>{console.error("Failed to fetch config:",e),h(!1)})},[]),v(()=>{if(!C)return;(async()=>{try{const e="dark"===C.themeColor?"dark":"light",{textColor:r,buttonColor:t,buttonRadius:a,containerRadius:n,backgroundColor:o,neutralColor:i}=C;document.documentElement.setAttribute("data-color-mode",e),r&&m("text",r),a&&b("button",a),n&&b("container",n),o&&m("surface",o),i&&m("neutral",i),t&&m("brand",t),d?.()}catch(e){console.error("Error setting client theme",e)}})()},[C]);const E=n.useRef(r);if(v(()=>{!r&&E.current&&f({type:"GO_TO_LOGIN"}),r&&!E.current&&f({type:"GO_TO_LOGIN"}),E.current=r},[r,f]),!r)return null;const k="modal"===e,L=e=>{o&&e.target===e.currentTarget&&t&&t()};if(g)return null;const I=n.createElement(Dd,{wallets:i,onSuccess:l,onError:c,onClose:t,closeOnSuccess:a},n.createElement(S,{config:Nd().wagmiConfig},n.createElement(T,{client:fu},n.createElement("div",{id:"magic-widget-container"},n.createElement(hu,{state:u,dispatch:f,showFooterLogo:w,isModal:k})))));return k?n.createElement("div",{style:mu,className:xe({"@media (min-width: 769px)":{paddingTop:"15vh"}}),onClick:L},n.createElement("div",{style:bu},I)):I}export{Td as MAGIC_WIDGET_PROVIDER,Cu as MagicWidget,Dc as OAuthProvider,Rc as ThirdPartyWallets,Rd as WalletKitExtension,Nd as getExtensionInstance};