@wavy/react-ui 0.0.47 → 0.0.48

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.
Files changed (2) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -42,4 +42,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
42
42
  `);alert(t(typeof e.info=="function"?e.info():e.info));},children:[jsxs(g,{row:true,align:"center",gap:"md",children:[e.item.icon&&jsx(e.item.icon,{size:"1.5rem",style:{borderRadius:"1.5rem"}}),jsxs(g,{gap:"sm",children:[jsx(S,{fontSize:".85rem",text:e.item.title}),e.item.description&&jsx(S,{fade:.5,fontSize:".75rem",text:e.item.description})]})]}),jsx(IoAdd,{size:"1.25rem"})]})}c();var Ws=createContext(null);function Ev(e){let r=e.backgroundColor||"surfaceContainer",t=e.color||"onSurface",n=e.placement||"right-start";return jsx(Ws.Provider,{value:{color:t,placement:n,onItemClick:e.onItemClick},children:jsxs(Menu.Root,{positioning:{placement:n,hideWhenDetached:true},children:[jsx(Menu.Trigger,{asChild:true,children:e.wrapTrigger?jsx("div",{...e.slotProps?.divWrapper,children:e.children}):e.children}),jsx(Rv,{children:jsx(Menu.Positioner,{children:jsx(Menu.Content,{h:e.height,w:e.width,maxH:e.maxHeight,maxW:e.maxWidth,minH:e.minHeight,minW:e.minWidth,backgroundColor:x(r),color:x(t),style:C({gap:e.gap||"xs",padding:".5rem",corners:"md"}),children:Object.keys(e.items).map(o=>{let i=e.items[o];return i.subMenu?jsx(Ev,{...e,gutter:(e.gutter||0)+2,items:i.subMenu,wrapTrigger:false,children:jsx(Js,{isTrigger:true,value:o})}):jsx(Js,{...i,value:o})})})})})]})})}function Rv(e){return e.asChild?e.children:jsx(Portal,{children:e.children})}function Js(e){let{color:r,onItemClick:t}=useContext(Ws),n=()=>{if(e.trailingEl)return "command"in e.trailingEl?jsx(Menu.ItemCommand,{children:e.trailingEl.command}):e.trailingEl},o=()=>{e.onClick?.(e.value),t?.(e.value);},{backgroundColor:i="onSurface[0.1]",color:a}=e.sx?.[":hover"]||{},l={disabled:e.disabled,backgroundColor:x(e.backgroundColor||"transparent"),color:x(e.color||r),padding:".25rem",borderRadius:".35rem",cursor:"pointer",_hover:{transition:"all 200ms linear",backgroundColor:x(i),color:a?x(a):void 0},_active:e.sx?.[":active"]?{...C({...e.sx[":active"]}),transition:"all 200ms linear"}:void 0,onClick:o};return e.isTrigger?jsxs(Menu.TriggerItem,{...l,alignItems:"center",justifyContent:"space-between",children:[e.value," ",jsx(LuChevronRight,{})]}):jsxs(Menu.Item,{...l,value:e.value,children:[e.leadingEl,jsx(g,{style:{flexGrow:1},asChildren:!e.leadingEl&&!e.trailingEl,children:e.value}),jsx(n,{})]})}c();var Ks=createContext(null);function zO(e){let[r,t]=useState(false),n=e.controller||Ys(0),[o,i]=useState(n.defaultPage??0),a;useEffect(()=>{r?e.onTransition?.("start"):e.onTransition?.("end");},[r]),n.goTo=useCallback((f,p)=>{let h=p?.transition||"smooth",_=o;if(!(f===_||r||!p?.ignoreOutOfBoundsCheck&&!e.children[f]))if(a?.(_,f),e.onChange?.(_,f),h==="smooth"){t(true);let I=_,b=setInterval(()=>{f>_?I++:I--,i(I),I===f&&(clearInterval(b),t(false));},p?.transitionDuration||200);}else i(f);},[o,e.children,r]),n.echo=e.onEcho,n.isPageActive=useCallback(f=>f===o,[o]),n.onPageChange=useCallback(f=>{a=f;},[]),n.getActivePage=useCallback(()=>o,[o]),useEffect(()=>()=>{for(let p of Object.keys(n)){let h=p;typeof n[h]=="function"&&(n[h]=null);}a=null;},[]);let l=()=>n.goTo(o-1),s=()=>n.goTo(o+1),u=C({height:e.height,width:e.width,spill:e.spill,gap:e.gap});return jsx(Ks.Provider,{value:{...e,transitioning:r},children:jsxs("div",{style:{display:"flex",position:"relative",alignItems:"center",height:u.height,width:u.width??"100%",justifyContent:"center",gap:u.gap??".5rem",overflow:u.overflow,transition:"all 300ms ease-in-out",perspective:"500px",transformStyle:"preserve-3d"},children:[!e.hideControls&&jsx(Gs,{disabled:o<=0,inset:"left",onClick:l}),e.children.map((f,p)=>{let h=Math.sign(o-p),_=Math.abs(o-p)/3,I=Math.abs(o-p)>(e.maxDisplayed??2);return jsx("div",{style:{overflow:"hidden",boxShadow:e.disableShadow?void 0:"rgba(0, 0, 0, 0.35) 0px 5px 15px",...e.slotProps?.childWrapperStyle||{},display:I?"none":"flex",position:"absolute",opacity:p!==o&&e.hideInactivePages?0:1,transition:"all 0.3s ease-out",flexGrow:e.childFlexGrow??1,justifyContent:"center",alignItems:"center",transform:`
43
43
  scaleY(calc(1 + ${_} * -0.4))
44
44
  translateZ(calc(${_} * -10rem))
45
- translateX(calc(${h} * -5rem))`,filter:`blur(calc(${_} * .5rem))`},children:typeof f=="function"?jsx(f,{isActive:p===o}):f},p)}),!e.hideControls&&jsx(Gs,{inset:"right",disabled:!hasIndex(e.children,o+1),onClick:s})]})})}function Gs(e){let r=useContext(Ks),t=e.inset==="left"?BsArrowLeft:BsArrowRight,n=e.disabled||r.transitioning;return jsx(g,{fade:n?.5:1,cursor:n?"not-allowed":"pointer",pos:"absolute",centerSelf:"y",centerContent:true,borderColor:r.navBorderColor,padding:r.navPadding??"md",backgroundColor:r.navBackgroundColor||"onSurface",color:r.navIconColor||"surface",corners:r.navCorners??"circle",size:r.navSize,css:{[e.inset]:"1rem",zIndex:2,transition:"all 300ms ease-in-out",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",":hover > *":n?void 0:{animation:"squish 300ms ease-in-out"},":active":n?void 0:{scale:.9,opacity:.75}},onClick:n?void 0:e.onClick,children:jsx(t,{size:r.navIconSize})})}c();c();var Wt=createContext(null);function lr(e){let r=j(e.open??false),{triggerRerender:t}=G(),n=`--${v4()}`,o=useRef(null),i=useRef(null),a=we__default.cloneElement(e.wrap?jsx("div",{...e.slotProps?.divWrapper,children:e.children}):e.children,{ref:i,popoverTarget:n});if(e.asChild)return e.children;useEffect(()=>{let u=e.placement||"bottom-left",f=["top","right","bottom","left"].includes(u),p=f?{positionArea:u}:Wv(e.anchorPoint||"top-left",Jv(u));if(!e.visibleOnScroll){let _=ei(o.current);_&&_.addEventListener("scroll",I=>{o.current?.hidePopover(),Object.assign(o.current?.style,{transform:`translateX(-${I.target?.scrollLeft}px)`});});}Object.assign(i.current?.style,{anchorName:n});let h={top:"bottom",right:"left",bottom:"top",left:"right"}[u.split("-")[0]];Object.assign(o.current?.style,{position:"absolute",positionAnchor:n,insetArea:e.insetArea,overflow:"hidden",[`margin-${h}`]:e.offset??".25rem",...p,...e.positionFallbacks?{positionTryFallbacks:e.positionFallbacks}:{},...C({minHeight:e.minHeight,maxHeight:e.maxHeight,height:e.height,minWidth:l(e.minWidth),maxWidth:l(e.maxWidth),width:l(e.width,"max-content"),backgroundColor:e.backgroundColor||"surfaceContainer",color:e.color||"onSurface",borderColor:e.borderColor||"onSurface[0.1]",gap:e.gap,padding:e.padding??"md",corners:e.corners??"md",fontSize:e.fontSize,fontWeight:e.fontWeight,spill:e.spill||"auto",backdropBlur:e.backdropBlur,style:{boxShadow:e.boxShadow||"rgba(0, 0, 0, 0.35) 0px 5px 15px",scrollbarWidth:"thin"}})});},[]),useEffect(()=>{e.open&&o.current?.showPopover();let u=e.displayAction||"click";if(o.current?.addEventListener("beforetoggle",f=>{let p=f.newState==="open";p?e.onOpen?.():e.onClose?.(),e.onOpenChange?.(p),r.upsert(p),!p&&e.rerenderOnClose&&t();}),u==="click")i.current?.addEventListener("click",()=>{s(()=>o.current?.togglePopover());});else if(u==="hover"){let f,h=()=>{f&&(f=null),s(()=>o.current?.hidePopover(),"close");};i.current?.addEventListener("mouseover",()=>{s(()=>o.current?.showPopover(),"open");}),i.current?.addEventListener("mouseleave",()=>{e.allowInteractions?f=setTimeout(h,20):h();}),e.allowInteractions&&(o.current?.addEventListener("mouseenter",()=>{f&&clearTimeout(f);}),o.current?.addEventListener("mouseleave",h));}},[]);let l=(u,f)=>u==="match-anchor"?getComputedStyle(i.current)?.width:u??f,s=(u,f)=>{let p=200;typeof e.delay=="number"?p=e.delay:e.delay&&f in e.delay&&(p=e.delay[f]),setTimeout(u,p);};return jsxs(Wt.Provider,{value:{open:()=>{o.current?.showPopover();},close:()=>{o.current?.hidePopover();},isOpen:()=>r.read()},children:[a,jsx("div",{popover:e.displayAction==="script"?"manual":"auto",id:n,ref:o,className:"popover-transition",children:e.content})]})}var Jv=e=>{let{0:r,1:t}=e?.split("-");return t=t==="left"?"start":t==="right"?"end":t??r,{vertical:`anchor(${r})`,horizontal:`anchor(${t})`}},Wv=(e,r)=>{let{0:t,1:n}=e?.split("-");return {[t]:r.vertical,[n]:r.horizontal}};c();function HO(e){let r=n=>{e.onChange?.(n.value);},t=e.controls[0];return jsxs(SegmentGroup.Root,{size:e.size,width:e.width,defaultValue:e.defaultValue||(typeof t=="string"?t:t?.value),value:e.value,onValueChange:r,style:{backgroundColor:e.backgroundColor?x(e.backgroundColor):void 0,boxShadow:e.borderColor?`${x(e.borderColor)} 0px 0px 0px 1px`:void 0,gap:e.gap in q?q[e.gap]:e.gap},children:[jsx(SegmentGroup.Indicator,{backgroundColor:e.indicatorColor?x(e.indicatorColor):void 0}),e.controls.map(n=>{let o=typeof n=="string"?n:n.value;return jsxs(SegmentGroup.Item,{cursor:"pointer",padding:e.padding in q?q[e.padding]:e.padding||".5rem",value:o,style:{height:"fit-content",border:0},children:[jsx(Gv,{selectedColor:e.selectedColor,color:e.color,fontSize:e.fontSize}),jsx(SegmentGroup.ItemHiddenInput,{style:{border:0}})]},o)})]})}function Gv(e){let r=useSegmentGroupItemContext();return jsx(SegmentGroup.ItemText,{style:{fontSize:e.fontSize in Y?Y[e.fontSize]:e.fontSize,border:0,color:x(r.checked&&e.selectedColor?e.selectedColor:e.color)},children:r.value})}c();function ou(e){return jsx(Tag.Root,{opacity:e.opacity,padding:"1",color:x(e.color),height:"fit-content",flexShrink:0,display:"inline-flex",children:jsx(Tag.Label,{opacity:e.labelOpacity,children:e.label})})}c();function nT(e){return jsx(g,{id:e.id,style:Yv({size:e.size,responsive:e.responsive,style:e.style}),children:e.children})}var Kv=e=>({a4:{height:"297mm",width:"210mm"},a6:{height:"148mm",width:"105mm"}})[e.toLowerCase()],Yv=e=>{let{height:r,width:t}=Kv(e.size),n={a4:95,a6:80}[e.size.toLowerCase()],o=e.responsive??true;return {...e?.style||{},maxHeight:r,height:o?`${n}%`:r,width:o?void 0:t,aspectRatio:"1/sqrt(2)",backgroundColor:x("paper"),color:x("onPaper"),overflow:"hidden"}};c();function au(e){let r={pending:"gray",success:"carlsbergGreen",error:"error"},t=e.indicatorSize||".3rem";return jsxs(g,{row:true,disableSelection:true,align:"center",gap:"md",corners:"md",padding:"sm",backgroundColor:`${r[e.status]}[0.5]`,style:{zIndex:3},children:[jsx(g,{corners:t,size:t,backgroundColor:r[e.status]}),!e.indicatorOnly&&jsx(S,{style:{fontWeight:500},fontSize:".85rem",color:`${r[e.status]}[0.75]`,text:upperFirst(e.status)})]})}c();function gT(e){return jsxs(({children:t})=>{let n={...e,paddingLeft:typeof e.indent=="boolean"?"11":e.indent,height:"full",width:"full",gap:"7",overflow:"hidden",style:{backgroundColor:e.showBg?"red":"transparent"},colorPalette:e.colorScheme};return e.value?jsx(Steps.RootProvider,{value:e.value,...n,children:t}):jsx(Steps.Root,{...n,count:e.steps.length,children:t})},{children:[jsx(Steps.List,{opacity:e.nested?.7:1,children:e.steps.map((t,n)=>jsxs(Steps.Item,{index:n,title:t.title,children:[jsxs(Steps.Trigger,{children:[jsx(Steps.Indicator,{children:t.icon&&jsx(Steps.Status,{incomplete:jsx(t.icon,{}),complete:jsx(LuCheck,{})})}),jsx(Steps.Title,{children:t.title})]}),jsx(Steps.Separator,{})]},n))}),jsxs(Stack,{justifyContent:"space-between",height:"full",width:"full",overflow:"hidden",children:[e.steps.map((t,n)=>jsx(Steps.Content,{height:"full",width:"full",index:n,overflow:"hidden",children:typeof t.description=="function"?jsx(t.description,{}):t.description},n)),e.completedel!=="none"&&jsx(Steps.CompletedContent,{height:"full",width:"full",overflow:"hidden",children:e.completedel||"All steps are complete!"}),e.footer?jsx(e.footer,{PrevTrigger:({children:t})=>jsx(Steps.PrevTrigger,{asChild:true,children:t}),NextTrigger:({children:t})=>jsx(Steps.NextTrigger,{asChild:true,children:t})}):jsxs(ButtonGroup,{size:"sm",variant:"outline",children:[jsx(Steps.PrevTrigger,{asChild:true,children:jsx(Button,{children:"Prev"})}),jsx(Steps.NextTrigger,{asChild:true,children:jsx(Button,{children:"Next"})})]})]})]})}c();c();var uu=we.forwardRef(function(r,t){let{showArrow:n,children:o,disabled:i,portalled:a=true,content:l,contentProps:s,portalRef:u,...f}=r;return i?o:jsxs(Tooltip.Root,{...f,children:[jsx(Tooltip.Trigger,{asChild:true,children:o}),jsx(Portal,{disabled:!a,container:u,children:jsx(Tooltip.Positioner,{children:jsxs(Tooltip.Content,{ref:t,...s,children:[n&&jsx(Tooltip.Arrow,{children:jsx(Tooltip.ArrowTip,{})}),l]})})})]})});function Xt(e){if(e.asChild)return e.children;let{padding:r,borderRadius:t,color:n,backgroundColor:o}=C({padding:e.padding||"sm",corners:e.corners||"sm",color:e.color||"onSurface",backgroundColor:e.backgroundColor||"onSurface[0.1]"});return jsx(uu,{positioning:{placement:e.placement},showArrow:e.arrow,openDelay:e.delay?.open,closeDelay:e.delay?.close,content:e.tooltip,contentProps:{padding:r,color:n,borderRadius:t,style:{backdropFilter:"blur(.25rem)"},css:{"--tooltip-bg":o}},children:e.wrapChildren?jsx("span",{style:e.slotProps?.spanWrapper?{...C(e.slotProps.spanWrapper)}:void 0,children:e.children}):e.children})}c();var uo=createContext(null);function lh(e){let r=j([]),t=e.lineSeparatorColor||"onSurface[0.5]",n=Array.isArray(e.children)?e.children:[e.children],o=n.length===1?n:n.map((a,l)=>l===0||!e.rowGap?a:jsxs(Fragment,{children:[jsx("p",{}),jsx(g,{width:"full",align:"center",children:jsx("p",{style:{width:"1px",height:e.rowGap,backgroundColor:x(t)}})}),jsx("p",{}),a]})),i=()=>{if(n.length===1)return "both";let a=[...r.read(),0];if(r.upsert(a),a.length===1)return "first";if(a.length===n.length)return "last"};return jsx(uo.Provider,{value:{register:i,lineSeparatorColor:t},children:jsx(g,{grid:true,width:e.width??"fit-content",gridCols:"auto auto auto",justify:"end",style:{columnGap:e.columnGap||".5rem"},children:o})})}function sh(e){let[r,t]=useState(),{register:n}=useContext(uo),{indicator:o,leadingEl:i,trailingEl:a}=e.styles||{},{0:l,1:s}=Array.isArray(e.children)?e.children:[e.children];useEffect(()=>{let f=n();typeof f=="string"&&t(f);},[r]);let u=f=>r===f||r==="both";return jsxs(Fragment,{children:[jsx(mu,{disabled:e.disabled,style:{...i,align:i?.align||"end"},children:e.reverse?s:l}),jsxs(g,{align:"center",height:"full",children:[jsx(fu,{hide:u("first")}),jsx(g,{style:{...C({...o||{},size:o?.size??".6rem",corners:o?.corners||"circle",backgroundColor:o?.backgroundColor||"onSurface",centerContent:o?.centerContent??true}),flexShrink:0},children:e.indicator}),jsx(fu,{hide:u("last")})]}),jsx(mu,{disabled:e.disabled,style:a,children:e.reverse?l:s})]})}function mu(e){return jsx(g,{size:"full",style:{...C({...e.style||{},fade:e.disabled?.5:e.style?.fade}),justifyContent:"center",flexGrow:1},children:e.children})}function fu(e){let{lineSeparatorColor:r}=useContext(uo);return jsx(g,{width:"1px",height:"full",backgroundColor:r,fade:e.hide?0:1})}var RT={Root:lh,Item:sh};c();function ZT(e){let r=()=>jsx(Separator,{flex:"1",variant:e.variant,orientation:e.orientation,size:e.size,color:x(e.color)});return e.label?jsxs(HStack,{children:[["center","right"].includes(e.labelPosition)&&jsx(r,{}),jsx(Text,{flexShrink:"0",color:x(e.labelColor),children:e.label}),["center","left"].includes(e.labelPosition)&&jsx(r,{})]}):jsx(r,{})}c();c();var mo=(e,r)=>{let t=n=>!!n.exec(e);if(typeof r!="string")return t(r);switch(r){case "number":return t(/[0-9]/g);case "symbol":case "space":return t(/\s/g);case "letter":return t(/[a-zA-Z]/);case "uppercaseLetter":return t(/[A-Z]/);case "lowercaseLetter":return t(/[a-z]/);case "all":return true;default:return r}};function he(e){let[r,t]=useState(e.defaultValue??""),n=e.value!==void 0,o=e.ref||useRef(null),i=useRef(null),a=e.maxChars??1/0,l="2rem",s=b=>typeof e.indent=="string"?e.indent:e.indent?.[b],u="md",{size:f,...p}=e,h={label:C({...e?.slotProps?.label,row:true,fade:e?.slotProps?.label?.fade||.75}),helperText:C({...e?.slotProps?.helperText}),root:C({width:e.width}),input:C({...p,width:"full",padding:{top:u,left:e.leadingContent?s("left")||l:u,right:e.trailingContent||e.showCharCounter?s("right")||l:u,bottom:u},corners:!e.corners&&e.corners!==0?".75rem":e.corners})},_=b=>{o.current.value=b,e.onChange(b,null);};useEffect(()=>{e.showCharCounter&&Object.assign(o.current?.style,{paddingRight:`calc(${getComputedStyle(i.current).width} + 7px)`});},[r,e.value]),useEffect(()=>{let b=k=>{if(e.format!=="currency")return;let B=k;if(B=B.replace(/[^0-9.]/g,"").replace(/\.{2,}/,"").split(".").filter((D,P)=>P<2).join("."),B&&takeLast(B.split(""))[0]!=="."){let D=parseFloat(B);if(!isNaN(D)){let P=new Intl.NumberFormat;_(P.format(D));}}};o.current?.addEventListener?.("beforeinput",k=>{let B=k.data,D=e.format==="currency"?/[0-9.]/:e.allowedChars||"all";D==="all"||Array.isArray(D)&&D.includes("all")||B===null||(!Array.isArray(D)&&!mo(B,D)||Array.isArray(D)&&D.some(P=>!mo(B,P)))&&k.preventDefault();}),o.current?.addEventListener?.("paste",k=>{b(k.target.value);}),o.current?.addEventListener?.("input",k=>{b(k.target.value);});},[o.current]);let I=b=>{e.onChange?.(b,void 0),e.onPasteClick?.(b);};return jsxs(Field.Root,{required:e.required,disabled:e.disabled,style:h.root,children:[(e.label||e.required)&&jsxs(Field.Label,{style:{...h.label},children:[e.required?e.label||"required":e.label," ",e.required&&jsx(Field.RequiredIndicator,{})]}),jsx(yh,{elementRef:o,useCopy:e.allowCopyText,usePaste:e.allowPasteText,onPaste:I,slotProps:e.slotProps,children:jsx(InputGroup,{startElement:e.leadingContent,startElementProps:e.slotProps?.leadingContent||{padding:"2"},endElement:e.showCharCounter?jsx(S,{ref:i,fade:.5,fontSize:e.slotProps?.charCounter?.fontSize||(o.current?getComputedStyle(o.current).fontSize:void 0),text:`${(e.value??r).length}/${a}`}):e.trailingContent,endElementProps:e.slotProps?.trailingContent||{padding:"1"},startAddon:e.leadingAdornment,startAddonProps:{...e.slotProps?.leadingAdornment,padding:e.slotProps?.leadingAdornment?.padding||"1",borderRadius:"xl"},endAddon:e.trailingAdornment,endAddonProps:{...e.slotProps?.trailingAdornment,padding:e.slotProps?.trailingAdornment?.padding||"1",borderRadius:"xl"},gapX:".5rem",children:jsx(Input,{maxLength:e.maxChars,readOnly:e.readOnly,ref:e.pureRef||o,width:"full",autoFocus:e.autoFocus,size:f,zIndex:1,variant:e.variant,onKeyDown:b=>{b.key==="Enter"?e.onEnterKeyPressed?.():b.key==="Escape"&&e.onEscapeKeyPressed?.();},value:e.value??r,overflow:"hidden",style:h.input,onFocus:e.onFocus,onBlur:e.onBlur,_placeholder:e.slotProps?.placeholder?.color?{color:x(e.slotProps.placeholder.color)}:void 0,onChange:b=>{let k=b.currentTarget.value;switch(e.allowHtmlInput||(k=ti(k)),e.trimOnChange){case "start":k=k.trimStart();break;case "end":k=k.trimEnd();break;case true:k=k.trim();break}e.validateInput?.(k)!==false&&(e.onChange?.(k,b),n||t(k));},placeholder:e.placeholder})})}),e.helperText&&jsx(Field.HelperText,{style:h.helperText,children:e.helperText})]})}function yh(e){return !e.useCopy&&!e.usePaste?e.children:jsxs("div",{style:{display:"flex",alignItems:"center",gap:q.sm,width:"100%"},children:[e.children,e.useCopy&&jsx(yr,{iconOnly:e.slotProps?.copyButton?.iconOnly,inputRef:e.elementRef}),e.usePaste&&jsx(yu,{iconOnly:e.slotProps?.pasteButton?.iconOnly,inputRef:e.elementRef,onClick:e.onPaste})]})}c();function Fs(e){let[r,t]=useState(false),o={error:BsExclamationCircle,info:BsInfoCircle,warning:BsExclamationTriangle}[e.severity],i=e.iconSize||"1rem",a=e.gap||"md",l=jsx(o,{size:i,style:{flexShrink:0}});return jsxs(g,{row:e.hideLabel,top:e.top,left:e.left,right:e.right,bottom:e.bottom,pos:e.pos,width:e.width,gap:e.hideLabel?a:void 0,corners:"md",backgroundColor:x(e.severity+"[0.5]",{preference:"res"}),color:"white",padding:"md",align:r||!e.hideLabel?"start":"center",style:{boxShadow:e.disableShadow?"none":"rgba(0, 0, 0, 0.35) 0px 5px 15px"},children:[e.hideLabel?l:jsxs(g,{row:true,gap:a,align:"center",children:[l,jsx(S,{fontWeight:"bold",fontSize:"xs",text:(e.facade?.(e.severity)||e.severity).toUpperCase()})]}),jsx("span",{ref:s=>{s&&t(ri(s));},style:C({fontSize:e.fontSize||"sm",fade:e.hideLabel?1:.75,style:{paddingLeft:e.hideLabel?void 0:`calc(${i} + ${C({gap:a}).gap})`}}),children:e.message})]})}c();c();c();c();function bu(e){return {FlyLeavingBox:Ch}[e]}var vo=createContext(null);function $h(e){let r=j(e.attachments||[]),{triggerRerender:t}=G(),n=()=>{e.onClose?.(),e.rerenderOnClose&&t();};return jsx(vo.Provider,{value:{...e,attachmentsEventListener:(o,i)=>{let a=r.read();o==="add"&&(a=[...a,i]),o==="delete"&&(a=a.filter(({uid:l})=>l!==i.uid)),r.upsert(a),e.onAttachmentsChange?.(a),o==="delete"&&isEmpty(a)&&t(),e.attachmentsEventListener?.(o,i);},attachments:r.read(),rerender:t},children:jsxs(E.Root,{onClose:n,unmountOnExit:e.unmountOnExit,maxHeight:"30rem",width:"27rem",scrollBehavior:"inside",triggerElement:e.triggerElement,controller:e.controller,spill:"hidden",children:[jsx(E.Header,{style:{flexShrink:0},fontSize:"xxl",children:"Attachments"}),jsx(E.Body,{size:"full",padding:"sm",spill:"hidden",children:isEmpty(r.read())?jsx(Dh,{}):jsx(wh,{})})]})})}function wh(){let e=useContext(vo),r=j(void 0),[t,n]=useState(""),[o,i]=useState(e?.attachments||[]);useEffect(()=>{r.upsert(true);},[]),useEffect(()=>{r.read()===true&&r.upsert(false);});let a=t.trim()?o.filter(({name:p})=>p.toLowerCase().includes(t.toLowerCase())):o,l=isEmpty(a)&&!!t.trim(),s=p=>{i(h=>h.filter(({uid:_})=>_!==p.uid)),e?.onAttachmentDeleted?.(p),e?.attachmentsEventListener?.("delete",p);},u=(p,h)=>{let _=h[0];i([...o,_]),e?.onAttachmentAdded?.(_),e?.attachmentsEventListener("add",_);},f=p=>{e?.onOpenAttachment?.(p),e?.attachmentsEventListener?.("open",p);};return jsxs(Fragment,{children:[jsx(_o,{width:"full",value:t,onChange:n}),jsx(g,{size:"full",maxHeight:"10rem",spill:"auto",padding:l?"lg":void 0,centerContent:l,children:l?jsx("span",{style:{opacity:.75},children:`"${t}" not found`}):a.map((p,h,_)=>jsx(zh,{scrollIntoView:r.read()===false&&h===_.length-1,value:p,hideDeleteButton:e.hideDeleteButton,hideOpenAttachmentButton:e.hideOpenAttachmentButton,disableDelete:typeof e?.deleteDisabled=="function"?e.deleteDisabled(p):e?.deleteDisabled,disableOpen:typeof e?.openDisabled=="function"?e.openDisabled(p):e?.openDisabled,onDelete:s,onOpen:f},p.uid))}),!e.hideUploadButton&&jsx(nt,{getFilePath:e?.getFilePath,disabled:e?.uploadDisabled,fileClass:"attachment",size:"xs",width:"full",onAccept:u})]})}function zh(e){let{alias:r,path:t,name:n,sizeInBytes:o}=e.value,i=Mt(r);return jsxs(ae.Root,{corners:"md",width:"full",sx:{cursor:"default",overflow:"hidden",transition:"all 300ms linear",":hover":{backgroundColor:"outline[0.1]"}},children:[jsx(ae.LeadingAddOn,{size:"2rem",aspectRatio:1,color:r,padding:"sm",corners:"md",backgroundColor:"onSurface[0.1]",style:{flexShrink:0},children:r==="img"&&t.trim()?jsx(je,{src:t.trim(),size:"full",corners:"md",spill:"hidden"}):jsx(i.outlined,{size:"100%"})}),jsxs(ae.Content,{gap:"sm",width:"full",children:[jsx(ae.Item,{truncateStyle:"ellipsis",value:n}),jsxs(g,{ref:a=>a&&e.scrollIntoView&&a.scrollIntoView({behavior:"instant"}),fade:.7,row:true,align:"center",gap:"sm",fontSize:"xxs",children:[jsx(S,{fontWeight:"bold",text:r.toUpperCase()}),jsx(g,{size:".25rem",corners:"circle",backgroundColor:"onSurface"}),jsx(S,{fade:.5,text:parseFileSize(o)})]})]}),(!e.hideDeleteButton||!e.hideOpenAttachmentButton)&&jsxs(ae.TrailingAddOn,{row:true,gap:"sm",align:"center",children:[!e.hideOpenAttachmentButton&&jsx(yo,{iconOnly:true,disabled:e.disableOpen,borderColor:"transparent",size:"sm",onClick:()=>e.onOpen?.(e.value)}),!e.hideDeleteButton&&jsx(tt,{iconOnly:true,disabled:e.disableDelete,backgroundColor:"transparent",color:"delete",size:"sm",onClick:()=>e.onDelete?.(e.value)})]})]})}function Dh(){let e=useContext(vo);return jsxs(Ut.Root,{children:[jsx(Ut.Indicator,{size:"7rem",disableFade:true,element:jsx(je,{spill:"hidden",size:"full",src:bu("FlyLeavingBox")})}),jsx(Ut.Content,{title:"Attachments not found",description:"Upload an attachment and it will appear here."}),!e.hideUploadButton&&jsx(nt,{disabled:e.uploadDisabled,getFilePath:e.getFilePath,fileClass:"attachment",backgroundColor:"secondaryContainer",color:"onSecondaryContainer",accepts:e.accepts,onAccept:(r,t)=>{t.forEach(n=>{e?.attachmentsEventListener?.("add",n);}),e.rerender();}})]})}var ho=$h;function Oh(e){let r=j(Array.isArray(e.attachments)?e.attachments:[]),{triggerRerender:t}=G(),n=o=>{r.upsert(o);};return jsx(Xt,{tooltip:"Attachments",placement:"right",children:jsx(Os,{circleChild:true,asChild:!e.attachments,badge:jsx(Ms,{content:typeof e.attachments=="number"?e.attachments:r.read().length}),children:jsx(Th,{asChild:!Array.isArray(e.attachments),attachments:r.read(),onAttachmentsChange:n,onClose:t,...e.slotProps?.attachmentsDialog,children:jsxs(g,{row:true,gap:"xs",fontSize:"xs",color:"onPaper",align:"center",corners:e.corners||"md",padding:"md",clickable:true,backgroundColor:"onPaper[0.1]",onClick:e.onClick,children:[jsx(BsPaperclip,{size:"1rem"}),!e.iconOnly&&"Attachments"]})})})})}function Th(e){let{asChild:r,children:t,unmountOnExit:n,onAttachmentsChange:o,onClose:i,...a}=e;return r?t:jsx(ho,{...a,unmountOnExit:n,triggerElement:t,onAttachmentsChange:o,onClose:i})}var bo=Oh;c();var Rh=Re({preset:{text:"Cancel",leadingEl:null,trailingEl:null},optional:{backgroundColor:"transparent",color:"onSurface",fade:.75}}),Gr=Rh;c();function Nh(e){return jsx(O,{disabled:e.disabled,size:e.size,corners:e.corners,gap:e.gap,iconSize:e.iconSize,fontSize:e.fontSize,leadingEl:!e.iconVariant||e.iconVariant==="outlined"?BsTrash:BsTrashFill,backgroundColor:e.backgroundColor||"delete",color:e.color||"white",text:e.iconOnly?void 0:"Delete",onClick:e.onClick})}var tt=Nh;c();function Lh(e){let{iconOnly:r,...t}=e;return jsx(O,{...t,leadingEl:LuPencilLine,text:r?void 0:"Edit",backgroundColor:e.backgroundColor||"transparent",borderColor:e.borderColor||"onSurface[0.25]",color:e.color||"onSurface",corners:e.corners||"sm"})}var Zh=Lh;c();function Xh(e){let r=j(e.initialState==="expanded"),t=e.icon||"chevron",n=t==="chevron"?BsChevronBarExpand:BsArrowsAngleExpand,o=t==="chevron"?BsChevronBarContract:BsArrowsAngleContract,i=r.read()?o:n;return jsx(g,{clickable:true,onClick:()=>{r.upsert(l=>(l?e.onContract():e.onExpand(),!l));},children:jsx(i,{})})}var Gh=Xh;c();function Kh(e){return jsx(O,{disabled:e.disabled,text:"Next",backgroundColor:"tertiaryContainer",color:"onTertiaryContainer",onClick:e.onClick})}var to=Kh;c();function Qh(e){return jsx(O,{disabled:e.disabled,leadingEl:IoOpenOutline,size:e.size,corners:e.corners,iconSize:e.iconSize,fontSize:e.fontSize,borderColor:e.borderColor||"onSurface[0.1]",backgroundColor:e.backgroundColor||"transparent",color:e.color||"onSurface",text:e.iconOnly?void 0:"Open",onClick:e.onClick})}var yo=Qh;c();function ty(e){return jsx(O,{disabled:e.disabled,leadingEl:MdMoreVert,size:e.size,borderColor:e.borderColor||"onSurface[0.1]",color:e.color||"onSurface",backgroundColor:e.backgroundColor||"transparent",iconSize:e.iconSize||"sm",text:e.iconOnly?void 0:"Options",onClick:e.onClick})}var ny=ty;c();function ay(e){let r=jsx(O,{disabled:e.disabled,width:e.width,backgroundColor:e.backgroundColor||"blue",color:e.color||"white",fontSize:e.fontSize||"xs",iconSize:e.iconSize||"sm",leadingEl:BsCreditCard2FrontFill,text:"Payment options",onClick:e.onClick});return e.options?jsx(xo,{triggerElement:r,options:e.options}):r}var cy=ay;c();function ly(e){return jsx(O,{disabled:e.disabled,border:"onSurface[0.15]",color:"onSurface",backgroundColor:"transparent",text:"Previous",onClick:e.onClick})}var no=ly;c();function dy(e){return jsx(O,{async:true,disabled:e.disabled,size:e.size,color:"white[0.85]",spinnerColor:"gray",trailingEl:jsx(IoMdSend,{}),backgroundColor:"sendBlue",text:e.iconOnly?void 0:"Send",onClick:e.onClick,corners:"xl"})}var So=dy;c();function my(e){return jsx(O,{async:true,disabled:e.disabled,text:`Submit ${e.class||""}`.trim(),onClick:e.onClick})}var oo=my;c();function gy(e){return jsx(O,{padding:"sm",gap:"sm",size:"xs",leadingEl:jsx(MdVerifiedUser,{}),backgroundColor:"primaryContainer",color:"onPrimaryContainer",text:"Verify",onClick:e.onClick})}var Co=gy;c();function hy(e){let r="rgba(0, 0, 0, 0.35) 0px 5px 15px",t=e.currency||"JMD";return jsxs(g,{width:e.width,gap:e.gap||"md",padding:"1.5rem",color:e.color||"surface",corners:e.corners||"lg",style:{boxShadow:r,background:Qo({backgroundColor:e.backgroundColor||"onSurface",borderColor:e.wireColor||"surface[0.25]",tileSize:"1.5rem"})},children:[jsxs(g,{gap:"sm",color:"inherit",children:[e.label&&jsx(S,{fade:.75,fontSize:e.slotProps?.label?.fontSize||"sm",text:e.label,color:"inherit"}),jsxs(g,{row:true,align:"end",gap:"sm",children:[jsx(S,{fontWeight:"bold",fontSize:e.slotProps?.fee?.fontSize||"xl",text:format("money",e.amount,{truncate:typeof e.truncateFee=="boolean"?e.truncateFee:e.truncateFee?.(e.amount)})}),jsx(S,{fontWeight:"bold",fade:.5,fontSize:e.slotProps?.currency?.fontSize||"sm",text:t})]})]}),e.children]})}var yy=hy;c();function xy(e){return jsxs(ae.Root,{backgroundColor:e.backgroundColor||"onSurface",color:e.color||"surface",width:e.width,maxWidth:e.maxWidth,minWidth:e.minWidth,corners:e.corners||"lg",style:{boxShadow:"rgba(0, 0, 0, 0.35) 0px 5px 15px"},children:[jsx(ae.LeadingAddOn,{size:"2rem",padding:"sm",centerContent:true,corners:"md",backgroundColor:e.indicatorBackgroundColor||"surface[0.1]",style:{flexShrink:0},children:e.receiptPath?jsx(je,{corners:"md",src:e.receiptPath,size:"full",spill:"hidden"}):jsx(TfiReceipt,{size:"100%"})}),jsxs(ae.Content,{width:"full",gap:"xs",children:[jsx(ae.Label,{value:"Your receipt",fade:.75,truncateStyle:"ellipsis"}),jsx(ae.Item,{value:e.receiptName||(e.receiptPath?inferFilename(e.receiptPath):"unknown"),truncateStyle:"ellipsis"})]}),!e.hideDeleteButton&&jsx(ae.TrailingAddOn,{children:jsx(tt,{iconOnly:true,iconVariant:e.deleteIconVariant,iconSize:e.deleteButtonSize,backgroundColor:"transparent",color:"delete",onClick:e.onDeleteClick})})]})}var Sy=xy;c();function Iy(e){let[r,t]=useState(e.selectedDate||new Date),n=j(r),o=e.minDate==="today"?new Date:Iu(e.minDate)||new Date("Jan 1, 1920"),i=e.maxDate==="today"?new Date:!e.maxDate||e.maxDate==="end-of-year"?Oy():Iu(e.maxDate),a=p=>{t(p),e.onDateSelected?.(p);},l=p=>p.toDateString()===r.toDateString(),s=p=>p.toDateString()===new Date().toDateString(),u=p=>{let h=n.read();return h.getMonth()===p.getMonth()&&Ey(p.getDate(),h.getMonth())},f=p=>n.upsert(p);return jsx($y,{inline:true,required:e.required,allowSameDay:e.allowSameDay,minDate:o,maxDate:i,onMonthChange:f,onYearChange:f,renderCustomHeader:p=>jsx(By,{...p,minDate:o,maxDate:i}),form:e.formId,selected:r,onChange:a,calendarClassName:"calendar",weekDayClassName:()=>"calendar-week-day",dayClassName:p=>["calendar-date",l(p)?"selected":"unselected",s(p)?"today":"",u(p)?"":"out-of-bounds",Ty(p,i)?"excluded":""].join(" ")})}function By(e){let r=["January","February","March","April","May","June","July","August","September","October","November","December"],t=r.filter((s,u)=>{let f=e.date.getFullYear();return f===e.minDate.getFullYear()?u>=e.minDate.getMonth():f===e.maxDate.getFullYear()?u<=e.maxDate.getMonth():true}),n=r[e.date.getMonth()],o=s=>{e.changeMonth(r.findIndex(u=>u===s));},i=s=>{e.changeYear(parseInt(s));},a=()=>range(e.minDate.getFullYear(),e.maxDate.getFullYear()+1),l=s=>["calendar-chevron","calendar-nav",s?"disabled":""].join(" ");return jsxs(g,{width:"full",row:true,align:"center",justify:"space-between",padding:["md","bottom"],children:[jsx(IoChevronBack,{className:l(e.prevMonthButtonDisabled),onClick:e.prevMonthButtonDisabled?void 0:e.decreaseMonth}),jsxs(g,{row:true,align:"center",gap:"md",children:[jsx(Du,{label:n,isSelected:s=>n===s,options:t.map(s=>({value:s})),onOptionClick:o}),jsx(Du,{label:`${e.date.getFullYear()}`,isSelected:s=>`${e.date.getFullYear()}`===s,options:a().map(s=>({value:s.toString()})).toReversed(),onOptionClick:i})]}),jsx(IoChevronForward,{className:l(e.nextMonthButtonDisabled),onClick:e.nextMonthButtonDisabled?void 0:e.increaseMonth})]})}function Du(e){return jsx(zr,{isSelected:({value:r})=>e.isSelected(r),onOptionClick:({value:r})=>e.onOptionClick(r),options:e.options,maxHeight:"10rem",children:jsxs("div",{style:{display:"inline-flex",gap:".25rem",alignItems:"center",cursor:"pointer",borderRadius:".5rem",fontSize:"1.1rem",fontWeight:"bold"},children:[jsx("span",{style:{},children:e.label}),jsx(IoChevronDown,{className:"calendar-chevron"})]})})}var Iu=e=>{if(e)return e instanceof Date?e:new Date(e)};var Oy=()=>{let e=new Date;return e.setMonth(11),e.setDate(31),e};var Ty=(e,r)=>{let t={year:e.getFullYear(),month:e.getMonth(),date:e.getDate()},n={year:r.getFullYear(),month:r.getMonth(),date:r.getDate()};if(t.year>n.year)return true;if(t.year===n.year){if(t.month>n.month)return true;if(t.month===n.month)return t.date>n.date}return false},Ey=(e,r)=>{let t=new Date;return t.setMonth(r),t.setDate(e),t.getMonth()===r};var wo=memo(Iy);c();c();var Ry=Re({preset:{text:"Done"},optional:{backgroundColor:"onSurface",color:"surface"}}),Bu=Ry;function jy(e){let r=j(null),{controller:t,triggerElement:n,backdropBlur:o,backgroundColor:i,...a}=e,l=e.actionButtonSize||"xs",s=p=>{r.upsert(p),e.onDateSelected?.(p);},u=()=>{let p=r.read();p&&e.onDoneClick?.(p);},f=p=>{e.onOpenChange?.(p);};return jsxs(E.Root,{hideCloseButton:true,onOpenChange:f,width:"max-content",controller:t,triggerElement:n,backgroundColor:i||"surface[0.25]",backdropBlur:o||".5rem",children:[e.title&&jsx(E.Header,{fontSize:e.titleFontSize,children:e.title}),jsx(E.Body,{children:jsx(wo,{...a,selectedDate:e.selectedDate||r.read(),onDateSelected:s})}),jsxs(E.Footer,{children:[jsx(E.ActionTrigger,{children:jsx(Gr,{size:l,fade:.5})}),jsx(E.ActionTrigger,{children:jsx(Bu,{size:l,onClick:u})})]})]})}var Fy=jy;c();function My(e){let[r,t]=useState(),n=r?FaAngleUp:FaAngleDown,o=i=>{if(i.content)return typeof i.content=="string"?jsx("span",{children:i.content}):jsx(g,{fade:.75,padding:["md",["left","right","bottom"]],fontSize:"xs",children:Object.keys(i.content).map(a=>jsxs("span",{children:[jsxs("strong",{children:[a,":"]}),"\xA0",i.content[a]]}))})};return jsxs(E.Root,{triggerElement:e.triggerElement,controller:e.controller,width:"22rem",children:[jsx(E.Header,{children:"Payment Options"}),jsx(E.Body,{gap:"sm",width:"full",children:e.options.map((i,a)=>{let l=i.variables?i?.["pre-element"]?.(i.variables):void 0,s=i.variables?i?.["post-element"]?.(i.variables):void 0;return jsxs(Fragment,{children:[l,jsxs(g,{width:"full",css:{backgroundColor:r?.index===a?"onSurface[0.1]":void 0},corners:"md",asChildren:!i.dropDownContent,children:[jsxs(g,{row:true,gap:"md",width:"full",align:"center",fade:i.disabled?.5:1,cursor:i.disabled?"not-allowed":"pointer",padding:"md",corners:"md",css:{transition:"all 300ms linear",":hover":i.disabled||r?.index===a?void 0:{backgroundColor:"onSurface[0.1]"}},onClick:()=>{i.onClick?.(i.variables),i.dropDownContent&&t(r?void 0:{index:a});},children:[jsx(i.icon,{size:"1.5rem"}),jsxs(g,{asChildren:!i.description,width:"full",children:[jsx(S,{width:"full",fontSize:"sm",text:i.label}),i.description&&jsx("span",{children:i.description,style:{opacity:.75,fontSize:Y.xs}})]}),i.dropDownContent&&jsx(n,{})]}),i.dropDownContent&&r?.index===a&&jsx(o,{content:i.dropDownContent})]}),s]})})})]})}var Tu=e=>e,O6=e=>Tu({icon:RiBankFill,label:"Bank Transfer",dropDownContent:{"Name On Account":e.accountName,Bank:e.bank,"Account type":e.accountType,"Account #":`${e.accountNo}`,"Transit #":`${e.transitNo}`,Branch:e.branch,"Transfer currency":e.transferCurrency}}),T6=()=>Tu({icon:RiSecurePaymentFill,label:"In App Payment",disabled:true,variables:{}}),xo=My;c();var Eu=createContext(null);function zo(e){let r=e.controller,t=!!r.value?.response,{title:n,message:o}=r.value?.response||r.value?.error||{},i=t?"carlsbergGreen":"billsRed",a=(()=>{if(r?.value)return !e.indicator||e.indicator==="normal"?t?BsCheck2Circle:IoWarningOutline:e.indicator==="mail"?t?RiMailSendLine:RiMailCloseLine:e.indicator(t?"success":"error")})(),l=e.actionButton?.(t?"succes":"error"),s={title:C({fontSize:e.titleFontSize||"lg"}),description:C({fontSize:e.descriptionFontSize||"sm",fade:.5})},u=({fontSize:f,lineHeight:p,opacity:h})=>({fontSize:f,lineHeight:p,opacity:h});return jsx(Eu.Provider,{value:{color:i},children:jsxs(E.Root,{onClose:e.onClose,controller:r,width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth??"25rem",gap:"sm",unmountOnExit:e.unmountOnExit,borderColor:e.disableColorIndicator?void 0:[i,"left"],children:[jsxs(E.Body,{grid:true,gridCols:"auto 1fr",gap:"lg",children:[jsx(a,{color:x(i),size:typeof e.indicatorSize=="function"?e.indicatorSize(t?"success":"error"):e.indicatorSize??"2.75rem"}),jsxs(g,{width:"full",gap:"sm",spill:"hidden",padding:["md","top"],children:[jsx("span",{style:u(s.title),children:n}),jsx("span",{style:u(s.description),children:o})]})]}),jsxs(E.Footer,{row:true,gap:"md",align:"center",children:[jsx(E.ActionTrigger,{children:jsx(O,{size:"xs",backgroundColor:l?"transparent":"onSurface[0.1]",color:"onSurface[0.75]",text:"Dismiss",onClick:r.hide})}),l?jsx(qy,{...l}):void 0]})]})})}function qy(e){let{color:r}=useContext(Eu);return jsx(O,{async:e.async,disabled:e.disabled,backgroundColor:r,leadingEl:e.leadingIcon,color:"white",size:"xs",trailingEl:e.trailingIcon,text:e.label,onClick:e.onClick})}var Ru=e=>r=>({disabled:r.disabled,async:true,label:e,leadingIcon:GrRotateLeft,onClick:r.onClick});zo.tryAgainButton=Ru("Try Again");zo.retryButton=Ru("Retry");var Yt=zo;c();var Do="onPaper[0.1]",Io=", ";function r_(e){let r=j(typeof e.disableSend=="boolean"?e.disableSend:!!e.onSendClick),t=Fu(),n=j({subject:e.subject??"",body:{text:e.body||""},recipients:e.recipients||[],attachments:e.attachments||[]}),o=(l,s)=>{n.upsert(u=>({...u,[l]:s}));},i=()=>strictArray(n.read().recipients),a=async()=>{let{subject:l,body:{text:s},attachments:u}=n.read(),f=await e.onSendClick({subject:l,body:{text:s,html:e.bodyToHtml?.(s)},recipients:i(),attachments:u});if(typeof f!="object")return;let{error:p,response:h}=f;if(typeof e.disableSend=="function"&&r.upsert(e.disableSend(f)),p)return t.show({error:p});h!=="success"?t.show({response:h}):t.show({response:{title:"Successfully sent email!",message:"Your email was successfully sent to the intended recipients."}});};return jsxs(g,{height:e.height||"15rem",width:e.width||"22rem",backgroundColor:"paper",color:"onPaper",corners:"md",padding:"md",spill:"hidden",style:{boxShadow:"rgba(0, 0, 0, 0.35) 0px 5px 15px"},children:[jsx(Yt,{unmountOnExit:true,disableColorIndicator:e.slotProps?.taskResultDialog?.disableColorIndicator,controller:t,indicator:"mail",actionButton:l=>l==="succes"?void 0:Yt.tryAgainButton({disabled:r.read(),onClick:a})}),e.readOnly&&n.read().recipients?jsx(n_,{recipients:i()}):jsx(t_,{readOnly:e.readOnly,recipients:i(),onChange:l=>o("recipients",l.split(Io))}),jsx(o_,{subject:n.read().subject,readOnly:e.readOnly,onChange:l=>o("subject",l)}),jsxs(g,{size:"full",gap:"sm",spill:"hidden",children:[jsx(i_,{defaultValue:n.read().body.text,readOnly:e.readOnly,onChange:l=>o("body",{text:l})}),jsxs(g,{width:"full",row:true,align:"center",justify:"space-between",gap:"md",children:[jsx(bo,{attachments:n.read().attachments,corners:"lg",slotProps:{attachmentsDialog:{...e.slotProps?.attachmentsDialog,unmountOnExit:true,uploadDisabled:e.readOnly||e.slotProps?.attachmentsDialog?.uploadDisabled,deleteDisabled:e.readOnly||e.slotProps?.attachmentsDialog?.deleteDisabled}}}),jsx(So,{size:"2xs",disabled:r.read(),onClick:a})]})]})]})}function t_(e){let[r,t]=useState(false),n=o=>jsx(S,{text:o.value,cursor:"not-allowed",sx:{":hover":{textDecoration:"underline"}}});return jsx(ju,{readOnly:e.readOnly,placeholder:"Recipients",defaultValue:e.recipients.join(Io),onFocus:e.readOnly?void 0:()=>t(true),onBlur:e.readOnly?void 0:()=>t(false),autoFocus:r,leadingContent:r?jsx(S,{fontSize:"xs",text:"To:"}):void 0,trailingContent:jsxs(g,{row:true,gap:"sm",fontSize:"xs",children:[jsx(n,{value:"Cc"}),jsx(n,{value:"Bcc"})]}),indent:{right:"3rem"},onChange:e.onChange})}function n_(e){return jsxs(g,{width:"full",grid:true,gridCols:"1fr auto",gap:"md",justify:"space-between",borderColor:[Do,"bottom"],children:[jsx(g,{row:true,width:"full",gap:"md",spill:"hidden",padding:["sm","bottom"],children:e.recipients.map(r=>jsxs(g,{row:true,align:"center",gap:"sm",fontSize:"xs",color:"onPaper",borderColor:"onPaper[0.1]",padding:"xs",corners:"xl",spill:"hidden",children:[jsx(Ve,{size:"2xs",backgroundColor:"sendBlue[0.25]",color:"sendBlue"}),jsx(S,{ellipsis:true,text:r})]}))}),jsx(Bo,{textToCopy:e.recipients.join(Io)})]})}function o_(e){let r=!!(e.readOnly&&e.subject);return jsxs(g,{row:true,width:"full",gap:"md",justify:"space-between",align:"center",padding:["xs",["top","bottom"]],asChildren:!r,borderColor:[Do,"bottom"],children:[jsx(ju,{disableSepColor:r,placeholder:"Subject",defaultValue:e.subject,readOnly:e.readOnly,onChange:e.onChange}),r&&jsx(Bo,{textToCopy:e.subject})]})}function i_(e){let r=!!(e.defaultValue&&e.readOnly);return jsxs(g,{pos:"relative",size:"full",asChildren:!r,children:[jsx("textarea",{defaultValue:e.defaultValue,readOnly:e.readOnly,style:{position:r?"relative":void 0,scrollbarColor:`${x("onPaper")} transparent`,padding:".6rem",width:"100%",height:"100%",backgroundColor:"transparent",outline:"none",resize:"none",fontSize:Y.xs,zIndex:1,flexShrink:r?0:1},onChange:t=>e.onChange(t.target.value)}),r&&jsx(g,{pos:"absolute",top:"72.5%",left:"85%",style:{zIndex:2},children:jsx(Bo,{textToCopy:e.defaultValue})})]})}function ju(e){return jsx(he,{size:"xs",readOnly:e.readOnly,corners:0,defaultValue:e.defaultValue,autoFocus:e.autoFocus,focusColor:"transparent",onFocus:e.onFocus,onBlur:e.onBlur,indent:e.indent,placeholder:e.placeholder,leadingContent:e.leadingContent,trailingContent:e.trailingContent,borderColor:e.disableSepColor?"transparent":[Do,"bottom"],onChange:e.onChange})}function Bo(e){return jsx(yr,{iconOnly:true,iconSize:"xs",textToCopy:e.textToCopy,backgroundColor:"onPaper[0.1]",color:"onPaper",borderColor:"onPaper[0.25]"})}var a_=r_;c();c();function c_(e){return jsxs(g,{row:true,gap:"md",children:[jsx(Uu,{onClick:e.onNoClick}),jsx(Au,{onClick:e.onYesClick})]})}var Oo=c_;function u_(e){return jsxs(g,{centerContent:true,size:"full",gap:"md",children:[e.icon&&jsx(e.icon,{opacity:.15,size:"5rem"}),jsx(Text,{fontSize:"1.5rem",opacity:.75,children:e.question}),jsx(Oo,{onNoClick:()=>{e.onNoClick?.(),e.onOptionClick?.("no");},onYesClick:()=>{e.onYesClick?.(),e?.onOptionClick?.("yes");}})]})}var d_=u_;c();function f_(e){let r=e.json?JSON.parse(e.json):void 0;return jsx(g,{size:e.fullSize?"full":void 0,height:e.height||"25rem",width:e.width||"35rem",pos:"relative",centerContent:!e.json,padding:"lg",corners:"md",borderColor:"outlineVariant[0.25]",style:{overflow:"auto",backgroundImage:"radial-gradient(circle at 1px 1px, rgba(255,255,255, .1) 1px, transparent 0)",backgroundSize:"20px 20px"},children:e.json?jsx("pre",{style:{width:"100%"},children:jsx("code",{children:jsx(jo,{value:r})})}):jsx(p_,{})})}function p_(){let e=r=>jsx(S,{fontSize:"2rem",color:"jsonBracket",text:r.value});return jsx(g,{centerContent:true,corners:"md",gap:"md",padding:"xl",children:jsx("pre",{children:jsx("code",{children:jsxs("span",{style:{fontSize:"1.5rem"},children:[jsx(e,{value:"{ "}),jsx(S,{color:"jsonKey",text:'"JSON"'}),":",jsx(S,{color:"string",text:'"Viewer"'}),jsx(e,{value:" }"})]})})})})}var g_=["string","number","boolean"];function Eo(e){let r=(()=>{let t=typeof e.value;if(t==="string")return "string";if(t==="number")return "number";if(t==="boolean")return "boolean"})();return jsx(S,{color:r,text:typeof e.value=="string"?`"${e.value}"`:`${e.value}`})}function Lu(e){return jsxs(Fragment,{children:[jsx(S,{width:"full",color:"arrayBracket",text:"["}),e.value.map((r,t)=>jsx(o=>{let i=e.value.some(a=>typeof a=="object");return jsxs(Fragment,{children:[i&&jsx("br",{}),o.children,t===e.value.length-1?"":", ",i&&t===e.value.length-1&&jsx("br",{})]})},{children:typeof r=="object"?jsx(jo,{indent:true,indentInitialBracket:true,value:r}):Array.isArray(r)?jsx(Lu,{value:r}):jsx(Eo,{value:r})})),jsx(S,{color:"arrayBracket",text:"]"})]})}function jo(e){let r="1rem",t=e.indentMultiplier||2,n=e.indent?`calc(${r} * ${t})`:r,o=`calc(${n} / ${t})`;return jsxs(Fragment,{children:[jsx(S,{style:{paddingLeft:e.indentInitialBracket?o:void 0},color:"jsonBracket",text:"{"}),jsx("br",{}),Object.keys(e.value).map((i,a,l)=>{let s=i,u=e.value[s],f=()=>g_.includes(typeof u)?jsx(Eo,{value:u}):Array.isArray(u)?jsx(Lu,{value:u}):typeof u=="object"?jsx(jo,{indent:true,value:u}):jsx(Eo,{value:`${u}`});return jsxs("span",{style:{paddingLeft:n,width:"100%"},children:[jsx(S,{color:"jsonKey",text:`"${s}"`})," : ",jsx(f,{}),a===l.length-1?"":",",jsx("br",{})]})}),jsx(S,{style:{paddingLeft:e.indent?o:void 0},color:"jsonBracket",text:"}"})]})}var Fo=f_;c();c();c();function b_(e){let r=getMimeTypes(distinct(strictArray(e.accepts?Array.isArray(e.accepts)?e.accepts:[e.accepts]:[...At.options].filter(l=>l!=="unknown")))),t=e.multiple?1/0:e.maxFiles??1,n=useRef(null),o=(...l)=>{if(e.disabled)return;let s="target"in l[0]?l[0].target.files:l[0],u=[],f=[],p=h=>strictArray(h).map(_=>toObject(_,{uploadDate:"now",filepath:e.getFilePath?.(_)}));for(let h of s){if(u.length+f.length>=t)break;r.includes(h.type)?u.push(h):f.push(h);}isEmpty(u)||e.onAccept?.(u,p(u)),isEmpty(f)||e.onReject?.(f,p(f));},i=l=>{if(l.preventDefault(),!e.allowDrop||e.disabled)return;let s=[];if(l.dataTransfer.items?s=[...l.dataTransfer.items].filter(u=>u.kind==="file").map(u=>u.getAsFile()):s=[...l.dataTransfer.files],!isEmpty(s)){let u=new DataTransfer;s.forEach(f=>u.items.add(f)),o(s);}},a=()=>{e.disabled||n.current.click();};return jsxs("label",{className:e.className,style:{...C(e),userSelect:e.disableSelection?"none":void 0,cursor:"pointer"},onDrop:i,onDragOver:l=>l.preventDefault(),onClick:a,children:[e.children,jsx("input",{id:"file",type:"file",ref:n,style:{display:"none"},onChange:o,accept:r.join(", "),multiple:e.multiple})]})}var Mu=b_;function Ju(e){return r=>{let{size:t,fontSize:n,iconSize:o,fileClass:i,backgroundColor:a,accepts:l=e?.accepts,...s}=r||{};return jsx(Mu,{spill:"hidden",corners:r.corners||"md",accepts:l,...s||{},allowDrop:false,children:jsx(O,{debug:r.debug,disabled:r.disabled,width:r.width,backgroundColor:a,corners:r.corners||"md",borderColor:r.borderColor,color:r.color,variant:"outline",fontSize:n,leadingEl:HiUpload,iconSize:o,size:t||"sm",text:`Upload ${r.hideFileClass?"":i||e?.fileClass}`.trim(),style:{flexShrink:0}})})}}var nt=Ju({fileClass:"file"}),MR=Ju({fileClass:"receipt",accepts:["img"]});function $_(e){let[r,t]=useState(e.defaultPicture.path),n=({children:i})=>e.label?jsxs(g,{gap:e.rowGap||"md",children:[jsx(S,{fontSize:e.slotProps?.label?.fontSize||"sm",fontWeight:e.slotProps?.label?.fontWeight||"bold",fade:e.slotProps?.label?.fade||.75,text:e.label}),i]}):i,o=(i,a)=>{let l=a[0];t(l.path),e.onChange?.(l);};return jsx(n,{children:jsxs(g,{row:true,gap:e.columnGap||"lg",align:"center",children:[jsx(Ve,{size:"xl",fallback:e.fallback||IoMdImages,src:r||null}),jsx(nt,{fileClass:"photo",accepts:["img"],getFilePath:e.getFilePath,onAccept:o})]})})}var w_=$_;c();function D_(e){let r=e.authProviders||xs.options;return jsxs(g,{padding:"1.75rem",corners:"lg",gap:"xl",width:e.width,borderColor:e.glassy?void 0:"outlineVariant",backgroundColor:e.backgroundColor||(e.glassy?"onSurface[0.1]":"surfaceContainer"),backdropBlur:e.glassy?".5rem":void 0,color:e.color||"onSurface",style:{boxShadow:"rgba(0, 0, 0, 0.35) 0px 5px 15px",zIndex:e.zIndex},children:[e.header||jsxs(g,{width:"full",color:"inherit",children:[jsx(S,{fontWeight:"bold",fontSize:"1.55rem",text:"Sign In"}),jsx("span",{style:{opacity:.75,fontSize:".95rem"},children:"Select a sign-in method to continue."})]}),jsx(g,{width:"full",color:"inherit",children:r.map(t=>jsx(I_,{provider:t,onClick:e.onAuthProviderClick}))})]})}function I_(e){let r=(()=>{switch(e.provider){case "Google":return FcGoogle;default:return e.provider}})(),t=()=>e.onClick(e.provider);return jsx(O,{async:true,width:"full",pendingDelay:1e3,borderColor:"outlineVariant",backgroundColor:"transparent",color:"inherit",padding:".75rem",iconSize:"md",leadingEl:r,text:`Continue with ${e.provider}`,style:{boxShadow:"rgba(0, 0, 0, 0.25) 0px 3px 8px"},onClick:t})}var B_=D_;c();c();var Xu={timestamp:Date.now(),status:"info",response:"Hello World!"};function j_(e){useEffect(()=>{e.initialMessage&&(Xu.response=e.initialMessage);},[]);let r=[Xu,...e.logs];return jsx(g,{size:"full",spill:{x:"hidden",y:"auto"},padding:"lg",corners:"md",borderColor:"outlineVariant",backgroundColor:"outlineVariant[0.1]",gap:"sm",maxHeight:"full",children:jsx(For,{each:r,children:(t,n)=>jsx(F_,{...t,scrollIntoView:n===lastIndex(r)},n)})})}function F_(e){let r={error:"error",success:"carlsbergGreen",info:"teal"};return jsxs("span",{ref:t=>{t&&e.scrollIntoView&&t.scrollIntoView();},style:{fontSize:".85rem",wordSpacing:".25rem"},children:[jsx("span",{style:{opacity:.5,wordSpacing:"normal"},children:format("date",e.timestamp,"hh:mm:ss A")}),"\xA0",jsx("span",{style:{fontWeight:"bold",color:x(r[e.status])},children:`[${e.status}]`}),"\xA0",typeof e.response=="object"&&jsxs(Fragment,{children:[jsx(ou,{labelOpacity:.75,label:e.response.tag}),"\xA0"]}),jsx("span",{style:{wordSpacing:"normal",backgroundColor:e.status==="info"?void 0:x(`${r[e.status]}[0.25]`),padding:"0px .2rem"},children:typeof e.response=="object"?e.response.message:e.response})]})}var Ao=j_;function M_(e){let[r,t]=useState(e.defaultTasks||[]);return useEffect(()=>e.onSnapshot(n=>{let o=Array.isArray(n)?n:"logs"in n?n.logs:null;t(o?sort(o,"timestamp","asc"):[...r,n]);}),[]),jsxs(g,{size:"full",grid:true,gridRows:"1fr .85fr",spill:"hidden",maxHeight:"full",children:[jsx(g,{size:"full",spill:{x:"hidden",y:"auto"},gap:"lg",style:{flexShrink:0},maxHeight:"full",children:jsx(For,{each:e.relatedTaskData,children:({content:n,...o})=>jsx(Vs,{item:o,info:n})})}),jsx(Ao,{initialMessage:"Awaiting registration process...",logs:r})]})}var V_=M_;c();function H_(e){return jsx(he,{...e,leadingAdornment:null,width:e.width||"20rem",backgroundColor:e.backgroundColor||"onSurface[0.1]",leadingContent:jsx(CiSearch,{size:e.searchIconSize||"1.15rem"}),placeholder:e.placeholder||"Search..."})}var _o=H_;c();c();function G_(e){return e.error?jsx(Xt,{...e,tooltip:jsx("span",{children:Object.keys(e.error).map(r=>{let t=r;return jsxs("span",{children:[jsx(S,{fontWeight:"bold",text:camelCaseToLetter(t)+": "}),jsx("span",{style:{textDecoration:"underline",opacity:.75,fontWeight:"normal"},children:e.error[t]}),jsx("br",{})]})})})}):e.children}var Uo=G_;function q_(e){let r=j(e?.verifyError),[t,n]=useState(e?.defaultStatus||"pending"),o=async()=>{let i=await e.onVerifyClick();if(console.log({verifyReq:i}),i.response)return n("success");r.upsert(i.error),n("error");};return jsx(he,{...e,leadingAdornment:jsx(Uo,{wrapChildren:true,asChild:t!=="error",error:r.read(),children:jsx(au,{indicatorSize:".4rem",status:t})}),trailingContent:jsx(Co,{onClick:o})})}var Lo=q_;c();function qu(e){let r=format("name",e.name),t=({value:n,default:o={}})=>{let{fade:i=o.fade,fontSize:a=o.fontSize||e.fontSize||".85rem",fontWeight:l=o.fontWeight,lineHeight:s=o.lineHeight=a,style:u}=e.slotProps?.[n]||{};return jsx(S,{ellipsis:true,fade:i,fontSize:a,fontWeight:l,text:n==="name"?r:e.email,style:{...u||{},lineHeight:u?.lineHeight||(s in Y?Y[s]:s)}})};return jsxs(g,{row:true,align:"center",spill:"hidden",gap:e.columnGap??e.gap??"md",width:e.fullWidth?"full":void 0,style:e.style,children:[jsx(Ve,{size:e.slotProps?.avatar?.size,fallback:e.useDefaultFallback?void 0:r,src:e.picture,backgroundColor:e.slotProps?.avatar?.backgroundColor,color:e.slotProps?.avatar?.color,style:e.slotProps?.avatar?.style,fallbackStyle:e.slotProps?.avatar?.fallbackStyle}),jsxs(g,{gap:e.rowGap??e.gap,width:"full",spill:"hidden",children:[jsx(t,{value:"name"}),jsx(t,{value:"email",default:{fade:.5}})]}),e.trailingEl]})}qu.RemoveButton=e=>jsx(IconButton,{variant:"outline",rounded:"full",size:"2xs",onClick:e.onClick,children:jsx(IoRemove,{})});var tb=qu;c();function Qu(e){return r=>{let[t,n]=useState(false);return jsx(O,{borderColor:r.borderColor||"onSurface[0.25]",backgroundColor:r.backgroundColor||"onSurface[0.1]",color:r.color||"onSurface",size:r.size||"xs",fontSize:r.fontSize,iconSize:r.iconSize,backdropBlur:".1rem",leadingEl:t?IoCheckmark:e.actionIcon,text:r.iconOnly?void 0:e.label(t),onClick:async()=>{if(t)return;let{error:o}=await e.handleOnClick(r);if(o)return console.error(new Error(o.message,{cause:o}));n(true),setTimeout(()=>n(false),3e3);}})}}var yu=Qu({actionIcon:ImPaste,label:e=>e?"Pasted!":"Paste",handleOnClick:async({inputRef:e,onClick:r})=>{let{error:t,response:n}=await readClipboardText();return t?{error:t}:(e?.current&&(e.current.value=n.text),r?.(n.text),{response:"success"})}}),yr=Qu({actionIcon:IoCopyOutline,label:e=>e?"Copied!":"Copy",handleOnClick:async({textToCopy:e,inputRef:r,onClick:t})=>{t?.();let n=e?typeof e=="function"?e():e:r?.current?.value;if(!n)return {error:{code:"BAD_REQUEST",title:"Failed to copy text.",message:"Failed to find the text to copy."}};let{error:o}=await copyToClipboard(n);return o?{error:o}:{response:"success"}}});c();function rd(e){return r=>jsx(O,{disabled:r.disabled,size:r.size,padding:r.padding,corners:"circle",backgroundColor:r.backgroundColor||"onSurface[0.25]",color:r.color||"surface",fontSize:r.iconSize,onClick:r.onClick,children:jsx(Icon,{as:e,boxSize:r.iconSize})})}var IF=rd(BsPlus),BF=rd(BsDash);c();function td(e){return r=>jsx(O,{...e.defaults,text:e.label,onClick:r.onClick})}var Au=td({label:"Yes"}),Uu=td({label:"No",defaults:{variant:"outline"}});c();var LF=Re({preset:{leadingEl:IoMdDownload,text:"Download",trailingEl:null},optional:{backgroundColor:"sendBlue",color:"onSendBlue"}});c();c();function hb(e){let r=j(e.defaulValue?.token||""),t=useRef(null),[n,o]=useState(e.defaulValue?.status),i=async()=>{let l=await e.onVerifyClick?.(r.read());return o(l),l.verified?{response:"success"}:{error:l.error}},a=l=>{r.upsert(l),e.onTokenChange?.(l);};return jsxs(g,{size:"full",spill:"hidden",maxHeight:"full",gap:"lg",children:[jsx(Lo,{allowCopyText:true,allowPasteText:true,required:true,defaultStatus:n?n.verified?"success":"error":"pending",ref:t,placeholder:e.hint,defaultValue:r.read(),onPasteClick:a,onChange:a,onVerifyClick:i}),jsxs(g,{size:"full",spill:"hidden",gap:"sm",children:[n&&jsx(yr,{textToCopy:n.payload}),jsx(Fo,{fullSize:true,json:n?n.payload:void 0})]})]})}var yb=hb;c();c();function Mt(e){switch(e){case "excel":return {filled:RiFileExcel2Fill,outlined:RiFileExcel2Line};case "word":return {filled:RiFileWord2Fill,outlined:RiFileWord2Line};case "pdf":return {filled:FaFilePdf,outlined:FaRegFilePdf};case "img":return {filled:FaFileImage,outlined:FaRegFileImage};case "txt":return {filled:RiFileTextFill,outlined:RiFileTextLine};case "unknown":return {filled:AiFillFileUnknown,outlined:AiOutlineFileUnknown};default:return e}}c();c();c();c();var od=(T=>(T.white="#FFF",T.black="#000",T.gray="#808080",T.pdf="#F40F02",T.word="#41A5EE",T.excel="#21A366",T.img="#8d481f",T.txt="#8c61a9",T.deepSkyBlue="#00BFFF",T.lightSkyBlue="#87CEFA",T.sendBlue="#0a57d0",T.onSendBlue="#c3dfff",T.book_it="#009688",T.stickyNote="#EFAD03",T.matteBlack="#28282B",T.navyBlue="#000080",T.teal="#008080",T.paper="#ffffff",T.onPaper="#28282B",T.paperVariant="#E6E6E6",T.success="#4BB543",T.hyperlink="#2979ff",T.gold="#d4af37",T.carlsbergGreen="#17B169",T.billsRed="#C60C30",T.info="#1565c0",T.error="#C60C30",T.warning="#f9a825",T.jsonKey="#D56C75",T.string="#59A779",T.number="#D19A5A",T.boolean="#56B6C2",T.jsonBracket="#FFCA1D",T.arrayBracket="#DA68A7",T.delete="#C60C30",T.pdf_table_header="#28282B",T))(od||{}),$e=od;c();var Bb=Object.freeze({"primary[0.1]":"var(--primary__100)","primary[0.15]":"var(--primary__150)","primary[0.2]":"var(--primary__200)","primary[0.25]":"var(--primary__250)","primary[0.3]":"var(--primary__300)","primary[0.35]":"var(--primary__350)","primary[0.4]":"var(--primary__400)","primary[0.45]":"var(--primary__450)","primary[0.5]":"var(--primary__500)","primary[0.55]":"var(--primary__550)","primary[0.6]":"var(--primary__600)","primary[0.65]":"var(--primary__650)","primary[0.7]":"var(--primary__700)","primary[0.75]":"var(--primary__750)","primary[0.8]":"var(--primary__800)","primary[0.85]":"var(--primary__850)","primary[0.9]":"var(--primary__900)","primary[0.95]":"var(--primary__950)",primary:"var(--primary)","surfaceTint[0.1]":"var(--surface-tint__100)","surfaceTint[0.15]":"var(--surface-tint__150)","surfaceTint[0.2]":"var(--surface-tint__200)","surfaceTint[0.25]":"var(--surface-tint__250)","surfaceTint[0.3]":"var(--surface-tint__300)","surfaceTint[0.35]":"var(--surface-tint__350)","surfaceTint[0.4]":"var(--surface-tint__400)","surfaceTint[0.45]":"var(--surface-tint__450)","surfaceTint[0.5]":"var(--surface-tint__500)","surfaceTint[0.55]":"var(--surface-tint__550)","surfaceTint[0.6]":"var(--surface-tint__600)","surfaceTint[0.65]":"var(--surface-tint__650)","surfaceTint[0.7]":"var(--surface-tint__700)","surfaceTint[0.75]":"var(--surface-tint__750)","surfaceTint[0.8]":"var(--surface-tint__800)","surfaceTint[0.85]":"var(--surface-tint__850)","surfaceTint[0.9]":"var(--surface-tint__900)","surfaceTint[0.95]":"var(--surface-tint__950)",surfaceTint:"var(--surface-tint)","onPrimary[0.1]":"var(--on-primary__100)","onPrimary[0.15]":"var(--on-primary__150)","onPrimary[0.2]":"var(--on-primary__200)","onPrimary[0.25]":"var(--on-primary__250)","onPrimary[0.3]":"var(--on-primary__300)","onPrimary[0.35]":"var(--on-primary__350)","onPrimary[0.4]":"var(--on-primary__400)","onPrimary[0.45]":"var(--on-primary__450)","onPrimary[0.5]":"var(--on-primary__500)","onPrimary[0.55]":"var(--on-primary__550)","onPrimary[0.6]":"var(--on-primary__600)","onPrimary[0.65]":"var(--on-primary__650)","onPrimary[0.7]":"var(--on-primary__700)","onPrimary[0.75]":"var(--on-primary__750)","onPrimary[0.8]":"var(--on-primary__800)","onPrimary[0.85]":"var(--on-primary__850)","onPrimary[0.9]":"var(--on-primary__900)","onPrimary[0.95]":"var(--on-primary__950)",onPrimary:"var(--on-primary)","primaryContainer[0.1]":"var(--primary-container__100)","primaryContainer[0.15]":"var(--primary-container__150)","primaryContainer[0.2]":"var(--primary-container__200)","primaryContainer[0.25]":"var(--primary-container__250)","primaryContainer[0.3]":"var(--primary-container__300)","primaryContainer[0.35]":"var(--primary-container__350)","primaryContainer[0.4]":"var(--primary-container__400)","primaryContainer[0.45]":"var(--primary-container__450)","primaryContainer[0.5]":"var(--primary-container__500)","primaryContainer[0.55]":"var(--primary-container__550)","primaryContainer[0.6]":"var(--primary-container__600)","primaryContainer[0.65]":"var(--primary-container__650)","primaryContainer[0.7]":"var(--primary-container__700)","primaryContainer[0.75]":"var(--primary-container__750)","primaryContainer[0.8]":"var(--primary-container__800)","primaryContainer[0.85]":"var(--primary-container__850)","primaryContainer[0.9]":"var(--primary-container__900)","primaryContainer[0.95]":"var(--primary-container__950)",primaryContainer:"var(--primary-container)","onPrimaryContainer[0.1]":"var(--on-primary-container__100)","onPrimaryContainer[0.15]":"var(--on-primary-container__150)","onPrimaryContainer[0.2]":"var(--on-primary-container__200)","onPrimaryContainer[0.25]":"var(--on-primary-container__250)","onPrimaryContainer[0.3]":"var(--on-primary-container__300)","onPrimaryContainer[0.35]":"var(--on-primary-container__350)","onPrimaryContainer[0.4]":"var(--on-primary-container__400)","onPrimaryContainer[0.45]":"var(--on-primary-container__450)","onPrimaryContainer[0.5]":"var(--on-primary-container__500)","onPrimaryContainer[0.55]":"var(--on-primary-container__550)","onPrimaryContainer[0.6]":"var(--on-primary-container__600)","onPrimaryContainer[0.65]":"var(--on-primary-container__650)","onPrimaryContainer[0.7]":"var(--on-primary-container__700)","onPrimaryContainer[0.75]":"var(--on-primary-container__750)","onPrimaryContainer[0.8]":"var(--on-primary-container__800)","onPrimaryContainer[0.85]":"var(--on-primary-container__850)","onPrimaryContainer[0.9]":"var(--on-primary-container__900)","onPrimaryContainer[0.95]":"var(--on-primary-container__950)",onPrimaryContainer:"var(--on-primary-container)","secondary[0.1]":"var(--secondary__100)","secondary[0.15]":"var(--secondary__150)","secondary[0.2]":"var(--secondary__200)","secondary[0.25]":"var(--secondary__250)","secondary[0.3]":"var(--secondary__300)","secondary[0.35]":"var(--secondary__350)","secondary[0.4]":"var(--secondary__400)","secondary[0.45]":"var(--secondary__450)","secondary[0.5]":"var(--secondary__500)","secondary[0.55]":"var(--secondary__550)","secondary[0.6]":"var(--secondary__600)","secondary[0.65]":"var(--secondary__650)","secondary[0.7]":"var(--secondary__700)","secondary[0.75]":"var(--secondary__750)","secondary[0.8]":"var(--secondary__800)","secondary[0.85]":"var(--secondary__850)","secondary[0.9]":"var(--secondary__900)","secondary[0.95]":"var(--secondary__950)",secondary:"var(--secondary)","onSecondary[0.1]":"var(--on-secondary__100)","onSecondary[0.15]":"var(--on-secondary__150)","onSecondary[0.2]":"var(--on-secondary__200)","onSecondary[0.25]":"var(--on-secondary__250)","onSecondary[0.3]":"var(--on-secondary__300)","onSecondary[0.35]":"var(--on-secondary__350)","onSecondary[0.4]":"var(--on-secondary__400)","onSecondary[0.45]":"var(--on-secondary__450)","onSecondary[0.5]":"var(--on-secondary__500)","onSecondary[0.55]":"var(--on-secondary__550)","onSecondary[0.6]":"var(--on-secondary__600)","onSecondary[0.65]":"var(--on-secondary__650)","onSecondary[0.7]":"var(--on-secondary__700)","onSecondary[0.75]":"var(--on-secondary__750)","onSecondary[0.8]":"var(--on-secondary__800)","onSecondary[0.85]":"var(--on-secondary__850)","onSecondary[0.9]":"var(--on-secondary__900)","onSecondary[0.95]":"var(--on-secondary__950)",onSecondary:"var(--on-secondary)","secondaryContainer[0.1]":"var(--secondary-container__100)","secondaryContainer[0.15]":"var(--secondary-container__150)","secondaryContainer[0.2]":"var(--secondary-container__200)","secondaryContainer[0.25]":"var(--secondary-container__250)","secondaryContainer[0.3]":"var(--secondary-container__300)","secondaryContainer[0.35]":"var(--secondary-container__350)","secondaryContainer[0.4]":"var(--secondary-container__400)","secondaryContainer[0.45]":"var(--secondary-container__450)","secondaryContainer[0.5]":"var(--secondary-container__500)","secondaryContainer[0.55]":"var(--secondary-container__550)","secondaryContainer[0.6]":"var(--secondary-container__600)","secondaryContainer[0.65]":"var(--secondary-container__650)","secondaryContainer[0.7]":"var(--secondary-container__700)","secondaryContainer[0.75]":"var(--secondary-container__750)","secondaryContainer[0.8]":"var(--secondary-container__800)","secondaryContainer[0.85]":"var(--secondary-container__850)","secondaryContainer[0.9]":"var(--secondary-container__900)","secondaryContainer[0.95]":"var(--secondary-container__950)",secondaryContainer:"var(--secondary-container)","onSecondaryContainer[0.1]":"var(--on-secondary-container__100)","onSecondaryContainer[0.15]":"var(--on-secondary-container__150)","onSecondaryContainer[0.2]":"var(--on-secondary-container__200)","onSecondaryContainer[0.25]":"var(--on-secondary-container__250)","onSecondaryContainer[0.3]":"var(--on-secondary-container__300)","onSecondaryContainer[0.35]":"var(--on-secondary-container__350)","onSecondaryContainer[0.4]":"var(--on-secondary-container__400)","onSecondaryContainer[0.45]":"var(--on-secondary-container__450)","onSecondaryContainer[0.5]":"var(--on-secondary-container__500)","onSecondaryContainer[0.55]":"var(--on-secondary-container__550)","onSecondaryContainer[0.6]":"var(--on-secondary-container__600)","onSecondaryContainer[0.65]":"var(--on-secondary-container__650)","onSecondaryContainer[0.7]":"var(--on-secondary-container__700)","onSecondaryContainer[0.75]":"var(--on-secondary-container__750)","onSecondaryContainer[0.8]":"var(--on-secondary-container__800)","onSecondaryContainer[0.85]":"var(--on-secondary-container__850)","onSecondaryContainer[0.9]":"var(--on-secondary-container__900)","onSecondaryContainer[0.95]":"var(--on-secondary-container__950)",onSecondaryContainer:"var(--on-secondary-container)","tertiary[0.1]":"var(--tertiary__100)","tertiary[0.15]":"var(--tertiary__150)","tertiary[0.2]":"var(--tertiary__200)","tertiary[0.25]":"var(--tertiary__250)","tertiary[0.3]":"var(--tertiary__300)","tertiary[0.35]":"var(--tertiary__350)","tertiary[0.4]":"var(--tertiary__400)","tertiary[0.45]":"var(--tertiary__450)","tertiary[0.5]":"var(--tertiary__500)","tertiary[0.55]":"var(--tertiary__550)","tertiary[0.6]":"var(--tertiary__600)","tertiary[0.65]":"var(--tertiary__650)","tertiary[0.7]":"var(--tertiary__700)","tertiary[0.75]":"var(--tertiary__750)","tertiary[0.8]":"var(--tertiary__800)","tertiary[0.85]":"var(--tertiary__850)","tertiary[0.9]":"var(--tertiary__900)","tertiary[0.95]":"var(--tertiary__950)",tertiary:"var(--tertiary)","onTertiary[0.1]":"var(--on-tertiary__100)","onTertiary[0.15]":"var(--on-tertiary__150)","onTertiary[0.2]":"var(--on-tertiary__200)","onTertiary[0.25]":"var(--on-tertiary__250)","onTertiary[0.3]":"var(--on-tertiary__300)","onTertiary[0.35]":"var(--on-tertiary__350)","onTertiary[0.4]":"var(--on-tertiary__400)","onTertiary[0.45]":"var(--on-tertiary__450)","onTertiary[0.5]":"var(--on-tertiary__500)","onTertiary[0.55]":"var(--on-tertiary__550)","onTertiary[0.6]":"var(--on-tertiary__600)","onTertiary[0.65]":"var(--on-tertiary__650)","onTertiary[0.7]":"var(--on-tertiary__700)","onTertiary[0.75]":"var(--on-tertiary__750)","onTertiary[0.8]":"var(--on-tertiary__800)","onTertiary[0.85]":"var(--on-tertiary__850)","onTertiary[0.9]":"var(--on-tertiary__900)","onTertiary[0.95]":"var(--on-tertiary__950)",onTertiary:"var(--on-tertiary)","tertiaryContainer[0.1]":"var(--tertiary-container__100)","tertiaryContainer[0.15]":"var(--tertiary-container__150)","tertiaryContainer[0.2]":"var(--tertiary-container__200)","tertiaryContainer[0.25]":"var(--tertiary-container__250)","tertiaryContainer[0.3]":"var(--tertiary-container__300)","tertiaryContainer[0.35]":"var(--tertiary-container__350)","tertiaryContainer[0.4]":"var(--tertiary-container__400)","tertiaryContainer[0.45]":"var(--tertiary-container__450)","tertiaryContainer[0.5]":"var(--tertiary-container__500)","tertiaryContainer[0.55]":"var(--tertiary-container__550)","tertiaryContainer[0.6]":"var(--tertiary-container__600)","tertiaryContainer[0.65]":"var(--tertiary-container__650)","tertiaryContainer[0.7]":"var(--tertiary-container__700)","tertiaryContainer[0.75]":"var(--tertiary-container__750)","tertiaryContainer[0.8]":"var(--tertiary-container__800)","tertiaryContainer[0.85]":"var(--tertiary-container__850)","tertiaryContainer[0.9]":"var(--tertiary-container__900)","tertiaryContainer[0.95]":"var(--tertiary-container__950)",tertiaryContainer:"var(--tertiary-container)","onTertiaryContainer[0.1]":"var(--on-tertiary-container__100)","onTertiaryContainer[0.15]":"var(--on-tertiary-container__150)","onTertiaryContainer[0.2]":"var(--on-tertiary-container__200)","onTertiaryContainer[0.25]":"var(--on-tertiary-container__250)","onTertiaryContainer[0.3]":"var(--on-tertiary-container__300)","onTertiaryContainer[0.35]":"var(--on-tertiary-container__350)","onTertiaryContainer[0.4]":"var(--on-tertiary-container__400)","onTertiaryContainer[0.45]":"var(--on-tertiary-container__450)","onTertiaryContainer[0.5]":"var(--on-tertiary-container__500)","onTertiaryContainer[0.55]":"var(--on-tertiary-container__550)","onTertiaryContainer[0.6]":"var(--on-tertiary-container__600)","onTertiaryContainer[0.65]":"var(--on-tertiary-container__650)","onTertiaryContainer[0.7]":"var(--on-tertiary-container__700)","onTertiaryContainer[0.75]":"var(--on-tertiary-container__750)","onTertiaryContainer[0.8]":"var(--on-tertiary-container__800)","onTertiaryContainer[0.85]":"var(--on-tertiary-container__850)","onTertiaryContainer[0.9]":"var(--on-tertiary-container__900)","onTertiaryContainer[0.95]":"var(--on-tertiary-container__950)",onTertiaryContainer:"var(--on-tertiary-container)","error[0.1]":"var(--error__100)","error[0.15]":"var(--error__150)","error[0.2]":"var(--error__200)","error[0.25]":"var(--error__250)","error[0.3]":"var(--error__300)","error[0.35]":"var(--error__350)","error[0.4]":"var(--error__400)","error[0.45]":"var(--error__450)","error[0.5]":"var(--error__500)","error[0.55]":"var(--error__550)","error[0.6]":"var(--error__600)","error[0.65]":"var(--error__650)","error[0.7]":"var(--error__700)","error[0.75]":"var(--error__750)","error[0.8]":"var(--error__800)","error[0.85]":"var(--error__850)","error[0.9]":"var(--error__900)","error[0.95]":"var(--error__950)",error:"var(--error)","onError[0.1]":"var(--on-error__100)","onError[0.15]":"var(--on-error__150)","onError[0.2]":"var(--on-error__200)","onError[0.25]":"var(--on-error__250)","onError[0.3]":"var(--on-error__300)","onError[0.35]":"var(--on-error__350)","onError[0.4]":"var(--on-error__400)","onError[0.45]":"var(--on-error__450)","onError[0.5]":"var(--on-error__500)","onError[0.55]":"var(--on-error__550)","onError[0.6]":"var(--on-error__600)","onError[0.65]":"var(--on-error__650)","onError[0.7]":"var(--on-error__700)","onError[0.75]":"var(--on-error__750)","onError[0.8]":"var(--on-error__800)","onError[0.85]":"var(--on-error__850)","onError[0.9]":"var(--on-error__900)","onError[0.95]":"var(--on-error__950)",onError:"var(--on-error)","errorContainer[0.1]":"var(--error-container__100)","errorContainer[0.15]":"var(--error-container__150)","errorContainer[0.2]":"var(--error-container__200)","errorContainer[0.25]":"var(--error-container__250)","errorContainer[0.3]":"var(--error-container__300)","errorContainer[0.35]":"var(--error-container__350)","errorContainer[0.4]":"var(--error-container__400)","errorContainer[0.45]":"var(--error-container__450)","errorContainer[0.5]":"var(--error-container__500)","errorContainer[0.55]":"var(--error-container__550)","errorContainer[0.6]":"var(--error-container__600)","errorContainer[0.65]":"var(--error-container__650)","errorContainer[0.7]":"var(--error-container__700)","errorContainer[0.75]":"var(--error-container__750)","errorContainer[0.8]":"var(--error-container__800)","errorContainer[0.85]":"var(--error-container__850)","errorContainer[0.9]":"var(--error-container__900)","errorContainer[0.95]":"var(--error-container__950)",errorContainer:"var(--error-container)","onErrorContainer[0.1]":"var(--on-error-container__100)","onErrorContainer[0.15]":"var(--on-error-container__150)","onErrorContainer[0.2]":"var(--on-error-container__200)","onErrorContainer[0.25]":"var(--on-error-container__250)","onErrorContainer[0.3]":"var(--on-error-container__300)","onErrorContainer[0.35]":"var(--on-error-container__350)","onErrorContainer[0.4]":"var(--on-error-container__400)","onErrorContainer[0.45]":"var(--on-error-container__450)","onErrorContainer[0.5]":"var(--on-error-container__500)","onErrorContainer[0.55]":"var(--on-error-container__550)","onErrorContainer[0.6]":"var(--on-error-container__600)","onErrorContainer[0.65]":"var(--on-error-container__650)","onErrorContainer[0.7]":"var(--on-error-container__700)","onErrorContainer[0.75]":"var(--on-error-container__750)","onErrorContainer[0.8]":"var(--on-error-container__800)","onErrorContainer[0.85]":"var(--on-error-container__850)","onErrorContainer[0.9]":"var(--on-error-container__900)","onErrorContainer[0.95]":"var(--on-error-container__950)",onErrorContainer:"var(--on-error-container)","background[0.1]":"var(--background__100)","background[0.15]":"var(--background__150)","background[0.2]":"var(--background__200)","background[0.25]":"var(--background__250)","background[0.3]":"var(--background__300)","background[0.35]":"var(--background__350)","background[0.4]":"var(--background__400)","background[0.45]":"var(--background__450)","background[0.5]":"var(--background__500)","background[0.55]":"var(--background__550)","background[0.6]":"var(--background__600)","background[0.65]":"var(--background__650)","background[0.7]":"var(--background__700)","background[0.75]":"var(--background__750)","background[0.8]":"var(--background__800)","background[0.85]":"var(--background__850)","background[0.9]":"var(--background__900)","background[0.95]":"var(--background__950)",background:"var(--background)","onBackground[0.1]":"var(--on-background__100)","onBackground[0.15]":"var(--on-background__150)","onBackground[0.2]":"var(--on-background__200)","onBackground[0.25]":"var(--on-background__250)","onBackground[0.3]":"var(--on-background__300)","onBackground[0.35]":"var(--on-background__350)","onBackground[0.4]":"var(--on-background__400)","onBackground[0.45]":"var(--on-background__450)","onBackground[0.5]":"var(--on-background__500)","onBackground[0.55]":"var(--on-background__550)","onBackground[0.6]":"var(--on-background__600)","onBackground[0.65]":"var(--on-background__650)","onBackground[0.7]":"var(--on-background__700)","onBackground[0.75]":"var(--on-background__750)","onBackground[0.8]":"var(--on-background__800)","onBackground[0.85]":"var(--on-background__850)","onBackground[0.9]":"var(--on-background__900)","onBackground[0.95]":"var(--on-background__950)",onBackground:"var(--on-background)","surface[0.1]":"var(--surface__100)","surface[0.15]":"var(--surface__150)","surface[0.2]":"var(--surface__200)","surface[0.25]":"var(--surface__250)","surface[0.3]":"var(--surface__300)","surface[0.35]":"var(--surface__350)","surface[0.4]":"var(--surface__400)","surface[0.45]":"var(--surface__450)","surface[0.5]":"var(--surface__500)","surface[0.55]":"var(--surface__550)","surface[0.6]":"var(--surface__600)","surface[0.65]":"var(--surface__650)","surface[0.7]":"var(--surface__700)","surface[0.75]":"var(--surface__750)","surface[0.8]":"var(--surface__800)","surface[0.85]":"var(--surface__850)","surface[0.9]":"var(--surface__900)","surface[0.95]":"var(--surface__950)",surface:"var(--surface)","onSurface[0.1]":"var(--on-surface__100)","onSurface[0.15]":"var(--on-surface__150)","onSurface[0.2]":"var(--on-surface__200)","onSurface[0.25]":"var(--on-surface__250)","onSurface[0.3]":"var(--on-surface__300)","onSurface[0.35]":"var(--on-surface__350)","onSurface[0.4]":"var(--on-surface__400)","onSurface[0.45]":"var(--on-surface__450)","onSurface[0.5]":"var(--on-surface__500)","onSurface[0.55]":"var(--on-surface__550)","onSurface[0.6]":"var(--on-surface__600)","onSurface[0.65]":"var(--on-surface__650)","onSurface[0.7]":"var(--on-surface__700)","onSurface[0.75]":"var(--on-surface__750)","onSurface[0.8]":"var(--on-surface__800)","onSurface[0.85]":"var(--on-surface__850)","onSurface[0.9]":"var(--on-surface__900)","onSurface[0.95]":"var(--on-surface__950)",onSurface:"var(--on-surface)","surfaceVariant[0.1]":"var(--surface-variant__100)","surfaceVariant[0.15]":"var(--surface-variant__150)","surfaceVariant[0.2]":"var(--surface-variant__200)","surfaceVariant[0.25]":"var(--surface-variant__250)","surfaceVariant[0.3]":"var(--surface-variant__300)","surfaceVariant[0.35]":"var(--surface-variant__350)","surfaceVariant[0.4]":"var(--surface-variant__400)","surfaceVariant[0.45]":"var(--surface-variant__450)","surfaceVariant[0.5]":"var(--surface-variant__500)","surfaceVariant[0.55]":"var(--surface-variant__550)","surfaceVariant[0.6]":"var(--surface-variant__600)","surfaceVariant[0.65]":"var(--surface-variant__650)","surfaceVariant[0.7]":"var(--surface-variant__700)","surfaceVariant[0.75]":"var(--surface-variant__750)","surfaceVariant[0.8]":"var(--surface-variant__800)","surfaceVariant[0.85]":"var(--surface-variant__850)","surfaceVariant[0.9]":"var(--surface-variant__900)","surfaceVariant[0.95]":"var(--surface-variant__950)",surfaceVariant:"var(--surface-variant)","onSurfaceVariant[0.1]":"var(--on-surface-variant__100)","onSurfaceVariant[0.15]":"var(--on-surface-variant__150)","onSurfaceVariant[0.2]":"var(--on-surface-variant__200)","onSurfaceVariant[0.25]":"var(--on-surface-variant__250)","onSurfaceVariant[0.3]":"var(--on-surface-variant__300)","onSurfaceVariant[0.35]":"var(--on-surface-variant__350)","onSurfaceVariant[0.4]":"var(--on-surface-variant__400)","onSurfaceVariant[0.45]":"var(--on-surface-variant__450)","onSurfaceVariant[0.5]":"var(--on-surface-variant__500)","onSurfaceVariant[0.55]":"var(--on-surface-variant__550)","onSurfaceVariant[0.6]":"var(--on-surface-variant__600)","onSurfaceVariant[0.65]":"var(--on-surface-variant__650)","onSurfaceVariant[0.7]":"var(--on-surface-variant__700)","onSurfaceVariant[0.75]":"var(--on-surface-variant__750)","onSurfaceVariant[0.8]":"var(--on-surface-variant__800)","onSurfaceVariant[0.85]":"var(--on-surface-variant__850)","onSurfaceVariant[0.9]":"var(--on-surface-variant__900)","onSurfaceVariant[0.95]":"var(--on-surface-variant__950)",onSurfaceVariant:"var(--on-surface-variant)","outline[0.1]":"var(--outline__100)","outline[0.15]":"var(--outline__150)","outline[0.2]":"var(--outline__200)","outline[0.25]":"var(--outline__250)","outline[0.3]":"var(--outline__300)","outline[0.35]":"var(--outline__350)","outline[0.4]":"var(--outline__400)","outline[0.45]":"var(--outline__450)","outline[0.5]":"var(--outline__500)","outline[0.55]":"var(--outline__550)","outline[0.6]":"var(--outline__600)","outline[0.65]":"var(--outline__650)","outline[0.7]":"var(--outline__700)","outline[0.75]":"var(--outline__750)","outline[0.8]":"var(--outline__800)","outline[0.85]":"var(--outline__850)","outline[0.9]":"var(--outline__900)","outline[0.95]":"var(--outline__950)",outline:"var(--outline)","outlineVariant[0.1]":"var(--outline-variant__100)","outlineVariant[0.15]":"var(--outline-variant__150)","outlineVariant[0.2]":"var(--outline-variant__200)","outlineVariant[0.25]":"var(--outline-variant__250)","outlineVariant[0.3]":"var(--outline-variant__300)","outlineVariant[0.35]":"var(--outline-variant__350)","outlineVariant[0.4]":"var(--outline-variant__400)","outlineVariant[0.45]":"var(--outline-variant__450)","outlineVariant[0.5]":"var(--outline-variant__500)","outlineVariant[0.55]":"var(--outline-variant__550)","outlineVariant[0.6]":"var(--outline-variant__600)","outlineVariant[0.65]":"var(--outline-variant__650)","outlineVariant[0.7]":"var(--outline-variant__700)","outlineVariant[0.75]":"var(--outline-variant__750)","outlineVariant[0.8]":"var(--outline-variant__800)","outlineVariant[0.85]":"var(--outline-variant__850)","outlineVariant[0.9]":"var(--outline-variant__900)","outlineVariant[0.95]":"var(--outline-variant__950)",outlineVariant:"var(--outline-variant)","shadow[0.1]":"var(--shadow__100)","shadow[0.15]":"var(--shadow__150)","shadow[0.2]":"var(--shadow__200)","shadow[0.25]":"var(--shadow__250)","shadow[0.3]":"var(--shadow__300)","shadow[0.35]":"var(--shadow__350)","shadow[0.4]":"var(--shadow__400)","shadow[0.45]":"var(--shadow__450)","shadow[0.5]":"var(--shadow__500)","shadow[0.55]":"var(--shadow__550)","shadow[0.6]":"var(--shadow__600)","shadow[0.65]":"var(--shadow__650)","shadow[0.7]":"var(--shadow__700)","shadow[0.75]":"var(--shadow__750)","shadow[0.8]":"var(--shadow__800)","shadow[0.85]":"var(--shadow__850)","shadow[0.9]":"var(--shadow__900)","shadow[0.95]":"var(--shadow__950)",shadow:"var(--shadow)","scrim[0.1]":"var(--scrim__100)","scrim[0.15]":"var(--scrim__150)","scrim[0.2]":"var(--scrim__200)","scrim[0.25]":"var(--scrim__250)","scrim[0.3]":"var(--scrim__300)","scrim[0.35]":"var(--scrim__350)","scrim[0.4]":"var(--scrim__400)","scrim[0.45]":"var(--scrim__450)","scrim[0.5]":"var(--scrim__500)","scrim[0.55]":"var(--scrim__550)","scrim[0.6]":"var(--scrim__600)","scrim[0.65]":"var(--scrim__650)","scrim[0.7]":"var(--scrim__700)","scrim[0.75]":"var(--scrim__750)","scrim[0.8]":"var(--scrim__800)","scrim[0.85]":"var(--scrim__850)","scrim[0.9]":"var(--scrim__900)","scrim[0.95]":"var(--scrim__950)",scrim:"var(--scrim)","inverseSurface[0.1]":"var(--inverse-surface__100)","inverseSurface[0.15]":"var(--inverse-surface__150)","inverseSurface[0.2]":"var(--inverse-surface__200)","inverseSurface[0.25]":"var(--inverse-surface__250)","inverseSurface[0.3]":"var(--inverse-surface__300)","inverseSurface[0.35]":"var(--inverse-surface__350)","inverseSurface[0.4]":"var(--inverse-surface__400)","inverseSurface[0.45]":"var(--inverse-surface__450)","inverseSurface[0.5]":"var(--inverse-surface__500)","inverseSurface[0.55]":"var(--inverse-surface__550)","inverseSurface[0.6]":"var(--inverse-surface__600)","inverseSurface[0.65]":"var(--inverse-surface__650)","inverseSurface[0.7]":"var(--inverse-surface__700)","inverseSurface[0.75]":"var(--inverse-surface__750)","inverseSurface[0.8]":"var(--inverse-surface__800)","inverseSurface[0.85]":"var(--inverse-surface__850)","inverseSurface[0.9]":"var(--inverse-surface__900)","inverseSurface[0.95]":"var(--inverse-surface__950)",inverseSurface:"var(--inverse-surface)","inverseOnSurface[0.1]":"var(--inverse-on-surface__100)","inverseOnSurface[0.15]":"var(--inverse-on-surface__150)","inverseOnSurface[0.2]":"var(--inverse-on-surface__200)","inverseOnSurface[0.25]":"var(--inverse-on-surface__250)","inverseOnSurface[0.3]":"var(--inverse-on-surface__300)","inverseOnSurface[0.35]":"var(--inverse-on-surface__350)","inverseOnSurface[0.4]":"var(--inverse-on-surface__400)","inverseOnSurface[0.45]":"var(--inverse-on-surface__450)","inverseOnSurface[0.5]":"var(--inverse-on-surface__500)","inverseOnSurface[0.55]":"var(--inverse-on-surface__550)","inverseOnSurface[0.6]":"var(--inverse-on-surface__600)","inverseOnSurface[0.65]":"var(--inverse-on-surface__650)","inverseOnSurface[0.7]":"var(--inverse-on-surface__700)","inverseOnSurface[0.75]":"var(--inverse-on-surface__750)","inverseOnSurface[0.8]":"var(--inverse-on-surface__800)","inverseOnSurface[0.85]":"var(--inverse-on-surface__850)","inverseOnSurface[0.9]":"var(--inverse-on-surface__900)","inverseOnSurface[0.95]":"var(--inverse-on-surface__950)",inverseOnSurface:"var(--inverse-on-surface)","inversePrimary[0.1]":"var(--inverse-primary__100)","inversePrimary[0.15]":"var(--inverse-primary__150)","inversePrimary[0.2]":"var(--inverse-primary__200)","inversePrimary[0.25]":"var(--inverse-primary__250)","inversePrimary[0.3]":"var(--inverse-primary__300)","inversePrimary[0.35]":"var(--inverse-primary__350)","inversePrimary[0.4]":"var(--inverse-primary__400)","inversePrimary[0.45]":"var(--inverse-primary__450)","inversePrimary[0.5]":"var(--inverse-primary__500)","inversePrimary[0.55]":"var(--inverse-primary__550)","inversePrimary[0.6]":"var(--inverse-primary__600)","inversePrimary[0.65]":"var(--inverse-primary__650)","inversePrimary[0.7]":"var(--inverse-primary__700)","inversePrimary[0.75]":"var(--inverse-primary__750)","inversePrimary[0.8]":"var(--inverse-primary__800)","inversePrimary[0.85]":"var(--inverse-primary__850)","inversePrimary[0.9]":"var(--inverse-primary__900)","inversePrimary[0.95]":"var(--inverse-primary__950)",inversePrimary:"var(--inverse-primary)","primaryFixed[0.1]":"var(--primary-fixed__100)","primaryFixed[0.15]":"var(--primary-fixed__150)","primaryFixed[0.2]":"var(--primary-fixed__200)","primaryFixed[0.25]":"var(--primary-fixed__250)","primaryFixed[0.3]":"var(--primary-fixed__300)","primaryFixed[0.35]":"var(--primary-fixed__350)","primaryFixed[0.4]":"var(--primary-fixed__400)","primaryFixed[0.45]":"var(--primary-fixed__450)","primaryFixed[0.5]":"var(--primary-fixed__500)","primaryFixed[0.55]":"var(--primary-fixed__550)","primaryFixed[0.6]":"var(--primary-fixed__600)","primaryFixed[0.65]":"var(--primary-fixed__650)","primaryFixed[0.7]":"var(--primary-fixed__700)","primaryFixed[0.75]":"var(--primary-fixed__750)","primaryFixed[0.8]":"var(--primary-fixed__800)","primaryFixed[0.85]":"var(--primary-fixed__850)","primaryFixed[0.9]":"var(--primary-fixed__900)","primaryFixed[0.95]":"var(--primary-fixed__950)",primaryFixed:"var(--primary-fixed)","onPrimaryFixed[0.1]":"var(--on-primary-fixed__100)","onPrimaryFixed[0.15]":"var(--on-primary-fixed__150)","onPrimaryFixed[0.2]":"var(--on-primary-fixed__200)","onPrimaryFixed[0.25]":"var(--on-primary-fixed__250)","onPrimaryFixed[0.3]":"var(--on-primary-fixed__300)","onPrimaryFixed[0.35]":"var(--on-primary-fixed__350)","onPrimaryFixed[0.4]":"var(--on-primary-fixed__400)","onPrimaryFixed[0.45]":"var(--on-primary-fixed__450)","onPrimaryFixed[0.5]":"var(--on-primary-fixed__500)","onPrimaryFixed[0.55]":"var(--on-primary-fixed__550)","onPrimaryFixed[0.6]":"var(--on-primary-fixed__600)","onPrimaryFixed[0.65]":"var(--on-primary-fixed__650)","onPrimaryFixed[0.7]":"var(--on-primary-fixed__700)","onPrimaryFixed[0.75]":"var(--on-primary-fixed__750)","onPrimaryFixed[0.8]":"var(--on-primary-fixed__800)","onPrimaryFixed[0.85]":"var(--on-primary-fixed__850)","onPrimaryFixed[0.9]":"var(--on-primary-fixed__900)","onPrimaryFixed[0.95]":"var(--on-primary-fixed__950)",onPrimaryFixed:"var(--on-primary-fixed)","primaryFixedDim[0.1]":"var(--primary-fixed-dim__100)","primaryFixedDim[0.15]":"var(--primary-fixed-dim__150)","primaryFixedDim[0.2]":"var(--primary-fixed-dim__200)","primaryFixedDim[0.25]":"var(--primary-fixed-dim__250)","primaryFixedDim[0.3]":"var(--primary-fixed-dim__300)","primaryFixedDim[0.35]":"var(--primary-fixed-dim__350)","primaryFixedDim[0.4]":"var(--primary-fixed-dim__400)","primaryFixedDim[0.45]":"var(--primary-fixed-dim__450)","primaryFixedDim[0.5]":"var(--primary-fixed-dim__500)","primaryFixedDim[0.55]":"var(--primary-fixed-dim__550)","primaryFixedDim[0.6]":"var(--primary-fixed-dim__600)","primaryFixedDim[0.65]":"var(--primary-fixed-dim__650)","primaryFixedDim[0.7]":"var(--primary-fixed-dim__700)","primaryFixedDim[0.75]":"var(--primary-fixed-dim__750)","primaryFixedDim[0.8]":"var(--primary-fixed-dim__800)","primaryFixedDim[0.85]":"var(--primary-fixed-dim__850)","primaryFixedDim[0.9]":"var(--primary-fixed-dim__900)","primaryFixedDim[0.95]":"var(--primary-fixed-dim__950)",primaryFixedDim:"var(--primary-fixed-dim)","onPrimaryFixedVariant[0.1]":"var(--on-primary-fixed-variant__100)","onPrimaryFixedVariant[0.15]":"var(--on-primary-fixed-variant__150)","onPrimaryFixedVariant[0.2]":"var(--on-primary-fixed-variant__200)","onPrimaryFixedVariant[0.25]":"var(--on-primary-fixed-variant__250)","onPrimaryFixedVariant[0.3]":"var(--on-primary-fixed-variant__300)","onPrimaryFixedVariant[0.35]":"var(--on-primary-fixed-variant__350)","onPrimaryFixedVariant[0.4]":"var(--on-primary-fixed-variant__400)","onPrimaryFixedVariant[0.45]":"var(--on-primary-fixed-variant__450)","onPrimaryFixedVariant[0.5]":"var(--on-primary-fixed-variant__500)","onPrimaryFixedVariant[0.55]":"var(--on-primary-fixed-variant__550)","onPrimaryFixedVariant[0.6]":"var(--on-primary-fixed-variant__600)","onPrimaryFixedVariant[0.65]":"var(--on-primary-fixed-variant__650)","onPrimaryFixedVariant[0.7]":"var(--on-primary-fixed-variant__700)","onPrimaryFixedVariant[0.75]":"var(--on-primary-fixed-variant__750)","onPrimaryFixedVariant[0.8]":"var(--on-primary-fixed-variant__800)","onPrimaryFixedVariant[0.85]":"var(--on-primary-fixed-variant__850)","onPrimaryFixedVariant[0.9]":"var(--on-primary-fixed-variant__900)","onPrimaryFixedVariant[0.95]":"var(--on-primary-fixed-variant__950)",onPrimaryFixedVariant:"var(--on-primary-fixed-variant)","secondaryFixed[0.1]":"var(--secondary-fixed__100)","secondaryFixed[0.15]":"var(--secondary-fixed__150)","secondaryFixed[0.2]":"var(--secondary-fixed__200)","secondaryFixed[0.25]":"var(--secondary-fixed__250)","secondaryFixed[0.3]":"var(--secondary-fixed__300)","secondaryFixed[0.35]":"var(--secondary-fixed__350)","secondaryFixed[0.4]":"var(--secondary-fixed__400)","secondaryFixed[0.45]":"var(--secondary-fixed__450)","secondaryFixed[0.5]":"var(--secondary-fixed__500)","secondaryFixed[0.55]":"var(--secondary-fixed__550)","secondaryFixed[0.6]":"var(--secondary-fixed__600)","secondaryFixed[0.65]":"var(--secondary-fixed__650)","secondaryFixed[0.7]":"var(--secondary-fixed__700)","secondaryFixed[0.75]":"var(--secondary-fixed__750)","secondaryFixed[0.8]":"var(--secondary-fixed__800)","secondaryFixed[0.85]":"var(--secondary-fixed__850)","secondaryFixed[0.9]":"var(--secondary-fixed__900)","secondaryFixed[0.95]":"var(--secondary-fixed__950)",secondaryFixed:"var(--secondary-fixed)","onSecondaryFixed[0.1]":"var(--on-secondary-fixed__100)","onSecondaryFixed[0.15]":"var(--on-secondary-fixed__150)","onSecondaryFixed[0.2]":"var(--on-secondary-fixed__200)","onSecondaryFixed[0.25]":"var(--on-secondary-fixed__250)","onSecondaryFixed[0.3]":"var(--on-secondary-fixed__300)","onSecondaryFixed[0.35]":"var(--on-secondary-fixed__350)","onSecondaryFixed[0.4]":"var(--on-secondary-fixed__400)","onSecondaryFixed[0.45]":"var(--on-secondary-fixed__450)","onSecondaryFixed[0.5]":"var(--on-secondary-fixed__500)","onSecondaryFixed[0.55]":"var(--on-secondary-fixed__550)","onSecondaryFixed[0.6]":"var(--on-secondary-fixed__600)","onSecondaryFixed[0.65]":"var(--on-secondary-fixed__650)","onSecondaryFixed[0.7]":"var(--on-secondary-fixed__700)","onSecondaryFixed[0.75]":"var(--on-secondary-fixed__750)","onSecondaryFixed[0.8]":"var(--on-secondary-fixed__800)","onSecondaryFixed[0.85]":"var(--on-secondary-fixed__850)","onSecondaryFixed[0.9]":"var(--on-secondary-fixed__900)","onSecondaryFixed[0.95]":"var(--on-secondary-fixed__950)",onSecondaryFixed:"var(--on-secondary-fixed)","secondaryFixedDim[0.1]":"var(--secondary-fixed-dim__100)","secondaryFixedDim[0.15]":"var(--secondary-fixed-dim__150)","secondaryFixedDim[0.2]":"var(--secondary-fixed-dim__200)","secondaryFixedDim[0.25]":"var(--secondary-fixed-dim__250)","secondaryFixedDim[0.3]":"var(--secondary-fixed-dim__300)","secondaryFixedDim[0.35]":"var(--secondary-fixed-dim__350)","secondaryFixedDim[0.4]":"var(--secondary-fixed-dim__400)","secondaryFixedDim[0.45]":"var(--secondary-fixed-dim__450)","secondaryFixedDim[0.5]":"var(--secondary-fixed-dim__500)","secondaryFixedDim[0.55]":"var(--secondary-fixed-dim__550)","secondaryFixedDim[0.6]":"var(--secondary-fixed-dim__600)","secondaryFixedDim[0.65]":"var(--secondary-fixed-dim__650)","secondaryFixedDim[0.7]":"var(--secondary-fixed-dim__700)","secondaryFixedDim[0.75]":"var(--secondary-fixed-dim__750)","secondaryFixedDim[0.8]":"var(--secondary-fixed-dim__800)","secondaryFixedDim[0.85]":"var(--secondary-fixed-dim__850)","secondaryFixedDim[0.9]":"var(--secondary-fixed-dim__900)","secondaryFixedDim[0.95]":"var(--secondary-fixed-dim__950)",secondaryFixedDim:"var(--secondary-fixed-dim)","onSecondaryFixedVariant[0.1]":"var(--on-secondary-fixed-variant__100)","onSecondaryFixedVariant[0.15]":"var(--on-secondary-fixed-variant__150)","onSecondaryFixedVariant[0.2]":"var(--on-secondary-fixed-variant__200)","onSecondaryFixedVariant[0.25]":"var(--on-secondary-fixed-variant__250)","onSecondaryFixedVariant[0.3]":"var(--on-secondary-fixed-variant__300)","onSecondaryFixedVariant[0.35]":"var(--on-secondary-fixed-variant__350)","onSecondaryFixedVariant[0.4]":"var(--on-secondary-fixed-variant__400)","onSecondaryFixedVariant[0.45]":"var(--on-secondary-fixed-variant__450)","onSecondaryFixedVariant[0.5]":"var(--on-secondary-fixed-variant__500)","onSecondaryFixedVariant[0.55]":"var(--on-secondary-fixed-variant__550)","onSecondaryFixedVariant[0.6]":"var(--on-secondary-fixed-variant__600)","onSecondaryFixedVariant[0.65]":"var(--on-secondary-fixed-variant__650)","onSecondaryFixedVariant[0.7]":"var(--on-secondary-fixed-variant__700)","onSecondaryFixedVariant[0.75]":"var(--on-secondary-fixed-variant__750)","onSecondaryFixedVariant[0.8]":"var(--on-secondary-fixed-variant__800)","onSecondaryFixedVariant[0.85]":"var(--on-secondary-fixed-variant__850)","onSecondaryFixedVariant[0.9]":"var(--on-secondary-fixed-variant__900)","onSecondaryFixedVariant[0.95]":"var(--on-secondary-fixed-variant__950)",onSecondaryFixedVariant:"var(--on-secondary-fixed-variant)","tertiaryFixed[0.1]":"var(--tertiary-fixed__100)","tertiaryFixed[0.15]":"var(--tertiary-fixed__150)","tertiaryFixed[0.2]":"var(--tertiary-fixed__200)","tertiaryFixed[0.25]":"var(--tertiary-fixed__250)","tertiaryFixed[0.3]":"var(--tertiary-fixed__300)","tertiaryFixed[0.35]":"var(--tertiary-fixed__350)","tertiaryFixed[0.4]":"var(--tertiary-fixed__400)","tertiaryFixed[0.45]":"var(--tertiary-fixed__450)","tertiaryFixed[0.5]":"var(--tertiary-fixed__500)","tertiaryFixed[0.55]":"var(--tertiary-fixed__550)","tertiaryFixed[0.6]":"var(--tertiary-fixed__600)","tertiaryFixed[0.65]":"var(--tertiary-fixed__650)","tertiaryFixed[0.7]":"var(--tertiary-fixed__700)","tertiaryFixed[0.75]":"var(--tertiary-fixed__750)","tertiaryFixed[0.8]":"var(--tertiary-fixed__800)","tertiaryFixed[0.85]":"var(--tertiary-fixed__850)","tertiaryFixed[0.9]":"var(--tertiary-fixed__900)","tertiaryFixed[0.95]":"var(--tertiary-fixed__950)",tertiaryFixed:"var(--tertiary-fixed)","onTertiaryFixed[0.1]":"var(--on-tertiary-fixed__100)","onTertiaryFixed[0.15]":"var(--on-tertiary-fixed__150)","onTertiaryFixed[0.2]":"var(--on-tertiary-fixed__200)","onTertiaryFixed[0.25]":"var(--on-tertiary-fixed__250)","onTertiaryFixed[0.3]":"var(--on-tertiary-fixed__300)","onTertiaryFixed[0.35]":"var(--on-tertiary-fixed__350)","onTertiaryFixed[0.4]":"var(--on-tertiary-fixed__400)","onTertiaryFixed[0.45]":"var(--on-tertiary-fixed__450)","onTertiaryFixed[0.5]":"var(--on-tertiary-fixed__500)","onTertiaryFixed[0.55]":"var(--on-tertiary-fixed__550)","onTertiaryFixed[0.6]":"var(--on-tertiary-fixed__600)","onTertiaryFixed[0.65]":"var(--on-tertiary-fixed__650)","onTertiaryFixed[0.7]":"var(--on-tertiary-fixed__700)","onTertiaryFixed[0.75]":"var(--on-tertiary-fixed__750)","onTertiaryFixed[0.8]":"var(--on-tertiary-fixed__800)","onTertiaryFixed[0.85]":"var(--on-tertiary-fixed__850)","onTertiaryFixed[0.9]":"var(--on-tertiary-fixed__900)","onTertiaryFixed[0.95]":"var(--on-tertiary-fixed__950)",onTertiaryFixed:"var(--on-tertiary-fixed)","tertiaryFixedDim[0.1]":"var(--tertiary-fixed-dim__100)","tertiaryFixedDim[0.15]":"var(--tertiary-fixed-dim__150)","tertiaryFixedDim[0.2]":"var(--tertiary-fixed-dim__200)","tertiaryFixedDim[0.25]":"var(--tertiary-fixed-dim__250)","tertiaryFixedDim[0.3]":"var(--tertiary-fixed-dim__300)","tertiaryFixedDim[0.35]":"var(--tertiary-fixed-dim__350)","tertiaryFixedDim[0.4]":"var(--tertiary-fixed-dim__400)","tertiaryFixedDim[0.45]":"var(--tertiary-fixed-dim__450)","tertiaryFixedDim[0.5]":"var(--tertiary-fixed-dim__500)","tertiaryFixedDim[0.55]":"var(--tertiary-fixed-dim__550)","tertiaryFixedDim[0.6]":"var(--tertiary-fixed-dim__600)","tertiaryFixedDim[0.65]":"var(--tertiary-fixed-dim__650)","tertiaryFixedDim[0.7]":"var(--tertiary-fixed-dim__700)","tertiaryFixedDim[0.75]":"var(--tertiary-fixed-dim__750)","tertiaryFixedDim[0.8]":"var(--tertiary-fixed-dim__800)","tertiaryFixedDim[0.85]":"var(--tertiary-fixed-dim__850)","tertiaryFixedDim[0.9]":"var(--tertiary-fixed-dim__900)","tertiaryFixedDim[0.95]":"var(--tertiary-fixed-dim__950)",tertiaryFixedDim:"var(--tertiary-fixed-dim)","onTertiaryFixedVariant[0.1]":"var(--on-tertiary-fixed-variant__100)","onTertiaryFixedVariant[0.15]":"var(--on-tertiary-fixed-variant__150)","onTertiaryFixedVariant[0.2]":"var(--on-tertiary-fixed-variant__200)","onTertiaryFixedVariant[0.25]":"var(--on-tertiary-fixed-variant__250)","onTertiaryFixedVariant[0.3]":"var(--on-tertiary-fixed-variant__300)","onTertiaryFixedVariant[0.35]":"var(--on-tertiary-fixed-variant__350)","onTertiaryFixedVariant[0.4]":"var(--on-tertiary-fixed-variant__400)","onTertiaryFixedVariant[0.45]":"var(--on-tertiary-fixed-variant__450)","onTertiaryFixedVariant[0.5]":"var(--on-tertiary-fixed-variant__500)","onTertiaryFixedVariant[0.55]":"var(--on-tertiary-fixed-variant__550)","onTertiaryFixedVariant[0.6]":"var(--on-tertiary-fixed-variant__600)","onTertiaryFixedVariant[0.65]":"var(--on-tertiary-fixed-variant__650)","onTertiaryFixedVariant[0.7]":"var(--on-tertiary-fixed-variant__700)","onTertiaryFixedVariant[0.75]":"var(--on-tertiary-fixed-variant__750)","onTertiaryFixedVariant[0.8]":"var(--on-tertiary-fixed-variant__800)","onTertiaryFixedVariant[0.85]":"var(--on-tertiary-fixed-variant__850)","onTertiaryFixedVariant[0.9]":"var(--on-tertiary-fixed-variant__900)","onTertiaryFixedVariant[0.95]":"var(--on-tertiary-fixed-variant__950)",onTertiaryFixedVariant:"var(--on-tertiary-fixed-variant)","surfaceDim[0.1]":"var(--surface-dim__100)","surfaceDim[0.15]":"var(--surface-dim__150)","surfaceDim[0.2]":"var(--surface-dim__200)","surfaceDim[0.25]":"var(--surface-dim__250)","surfaceDim[0.3]":"var(--surface-dim__300)","surfaceDim[0.35]":"var(--surface-dim__350)","surfaceDim[0.4]":"var(--surface-dim__400)","surfaceDim[0.45]":"var(--surface-dim__450)","surfaceDim[0.5]":"var(--surface-dim__500)","surfaceDim[0.55]":"var(--surface-dim__550)","surfaceDim[0.6]":"var(--surface-dim__600)","surfaceDim[0.65]":"var(--surface-dim__650)","surfaceDim[0.7]":"var(--surface-dim__700)","surfaceDim[0.75]":"var(--surface-dim__750)","surfaceDim[0.8]":"var(--surface-dim__800)","surfaceDim[0.85]":"var(--surface-dim__850)","surfaceDim[0.9]":"var(--surface-dim__900)","surfaceDim[0.95]":"var(--surface-dim__950)",surfaceDim:"var(--surface-dim)","surfaceBright[0.1]":"var(--surface-bright__100)","surfaceBright[0.15]":"var(--surface-bright__150)","surfaceBright[0.2]":"var(--surface-bright__200)","surfaceBright[0.25]":"var(--surface-bright__250)","surfaceBright[0.3]":"var(--surface-bright__300)","surfaceBright[0.35]":"var(--surface-bright__350)","surfaceBright[0.4]":"var(--surface-bright__400)","surfaceBright[0.45]":"var(--surface-bright__450)","surfaceBright[0.5]":"var(--surface-bright__500)","surfaceBright[0.55]":"var(--surface-bright__550)","surfaceBright[0.6]":"var(--surface-bright__600)","surfaceBright[0.65]":"var(--surface-bright__650)","surfaceBright[0.7]":"var(--surface-bright__700)","surfaceBright[0.75]":"var(--surface-bright__750)","surfaceBright[0.8]":"var(--surface-bright__800)","surfaceBright[0.85]":"var(--surface-bright__850)","surfaceBright[0.9]":"var(--surface-bright__900)","surfaceBright[0.95]":"var(--surface-bright__950)",surfaceBright:"var(--surface-bright)","surfaceContainerLowest[0.1]":"var(--surface-container-lowest__100)","surfaceContainerLowest[0.15]":"var(--surface-container-lowest__150)","surfaceContainerLowest[0.2]":"var(--surface-container-lowest__200)","surfaceContainerLowest[0.25]":"var(--surface-container-lowest__250)","surfaceContainerLowest[0.3]":"var(--surface-container-lowest__300)","surfaceContainerLowest[0.35]":"var(--surface-container-lowest__350)","surfaceContainerLowest[0.4]":"var(--surface-container-lowest__400)","surfaceContainerLowest[0.45]":"var(--surface-container-lowest__450)","surfaceContainerLowest[0.5]":"var(--surface-container-lowest__500)","surfaceContainerLowest[0.55]":"var(--surface-container-lowest__550)","surfaceContainerLowest[0.6]":"var(--surface-container-lowest__600)","surfaceContainerLowest[0.65]":"var(--surface-container-lowest__650)","surfaceContainerLowest[0.7]":"var(--surface-container-lowest__700)","surfaceContainerLowest[0.75]":"var(--surface-container-lowest__750)","surfaceContainerLowest[0.8]":"var(--surface-container-lowest__800)","surfaceContainerLowest[0.85]":"var(--surface-container-lowest__850)","surfaceContainerLowest[0.9]":"var(--surface-container-lowest__900)","surfaceContainerLowest[0.95]":"var(--surface-container-lowest__950)",surfaceContainerLowest:"var(--surface-container-lowest)","surfaceContainerLow[0.1]":"var(--surface-container-low__100)","surfaceContainerLow[0.15]":"var(--surface-container-low__150)","surfaceContainerLow[0.2]":"var(--surface-container-low__200)","surfaceContainerLow[0.25]":"var(--surface-container-low__250)","surfaceContainerLow[0.3]":"var(--surface-container-low__300)","surfaceContainerLow[0.35]":"var(--surface-container-low__350)","surfaceContainerLow[0.4]":"var(--surface-container-low__400)","surfaceContainerLow[0.45]":"var(--surface-container-low__450)","surfaceContainerLow[0.5]":"var(--surface-container-low__500)","surfaceContainerLow[0.55]":"var(--surface-container-low__550)","surfaceContainerLow[0.6]":"var(--surface-container-low__600)","surfaceContainerLow[0.65]":"var(--surface-container-low__650)","surfaceContainerLow[0.7]":"var(--surface-container-low__700)","surfaceContainerLow[0.75]":"var(--surface-container-low__750)","surfaceContainerLow[0.8]":"var(--surface-container-low__800)","surfaceContainerLow[0.85]":"var(--surface-container-low__850)","surfaceContainerLow[0.9]":"var(--surface-container-low__900)","surfaceContainerLow[0.95]":"var(--surface-container-low__950)",surfaceContainerLow:"var(--surface-container-low)","surfaceContainer[0.1]":"var(--surface-container__100)","surfaceContainer[0.15]":"var(--surface-container__150)","surfaceContainer[0.2]":"var(--surface-container__200)","surfaceContainer[0.25]":"var(--surface-container__250)","surfaceContainer[0.3]":"var(--surface-container__300)","surfaceContainer[0.35]":"var(--surface-container__350)","surfaceContainer[0.4]":"var(--surface-container__400)","surfaceContainer[0.45]":"var(--surface-container__450)","surfaceContainer[0.5]":"var(--surface-container__500)","surfaceContainer[0.55]":"var(--surface-container__550)","surfaceContainer[0.6]":"var(--surface-container__600)","surfaceContainer[0.65]":"var(--surface-container__650)","surfaceContainer[0.7]":"var(--surface-container__700)","surfaceContainer[0.75]":"var(--surface-container__750)","surfaceContainer[0.8]":"var(--surface-container__800)","surfaceContainer[0.85]":"var(--surface-container__850)","surfaceContainer[0.9]":"var(--surface-container__900)","surfaceContainer[0.95]":"var(--surface-container__950)",surfaceContainer:"var(--surface-container)","surfaceContainerHigh[0.1]":"var(--surface-container-high__100)","surfaceContainerHigh[0.15]":"var(--surface-container-high__150)","surfaceContainerHigh[0.2]":"var(--surface-container-high__200)","surfaceContainerHigh[0.25]":"var(--surface-container-high__250)","surfaceContainerHigh[0.3]":"var(--surface-container-high__300)","surfaceContainerHigh[0.35]":"var(--surface-container-high__350)","surfaceContainerHigh[0.4]":"var(--surface-container-high__400)","surfaceContainerHigh[0.45]":"var(--surface-container-high__450)","surfaceContainerHigh[0.5]":"var(--surface-container-high__500)","surfaceContainerHigh[0.55]":"var(--surface-container-high__550)","surfaceContainerHigh[0.6]":"var(--surface-container-high__600)","surfaceContainerHigh[0.65]":"var(--surface-container-high__650)","surfaceContainerHigh[0.7]":"var(--surface-container-high__700)","surfaceContainerHigh[0.75]":"var(--surface-container-high__750)","surfaceContainerHigh[0.8]":"var(--surface-container-high__800)","surfaceContainerHigh[0.85]":"var(--surface-container-high__850)","surfaceContainerHigh[0.9]":"var(--surface-container-high__900)","surfaceContainerHigh[0.95]":"var(--surface-container-high__950)",surfaceContainerHigh:"var(--surface-container-high)","surfaceContainerHighest[0.1]":"var(--surface-container-highest__100)","surfaceContainerHighest[0.15]":"var(--surface-container-highest__150)","surfaceContainerHighest[0.2]":"var(--surface-container-highest__200)","surfaceContainerHighest[0.25]":"var(--surface-container-highest__250)","surfaceContainerHighest[0.3]":"var(--surface-container-highest__300)","surfaceContainerHighest[0.35]":"var(--surface-container-highest__350)","surfaceContainerHighest[0.4]":"var(--surface-container-highest__400)","surfaceContainerHighest[0.45]":"var(--surface-container-highest__450)","surfaceContainerHighest[0.5]":"var(--surface-container-highest__500)","surfaceContainerHighest[0.55]":"var(--surface-container-highest__550)","surfaceContainerHighest[0.6]":"var(--surface-container-highest__600)","surfaceContainerHighest[0.65]":"var(--surface-container-highest__650)","surfaceContainerHighest[0.7]":"var(--surface-container-highest__700)","surfaceContainerHighest[0.75]":"var(--surface-container-highest__750)","surfaceContainerHighest[0.8]":"var(--surface-container-highest__800)","surfaceContainerHighest[0.85]":"var(--surface-container-highest__850)","surfaceContainerHighest[0.9]":"var(--surface-container-highest__900)","surfaceContainerHighest[0.95]":"var(--surface-container-highest__950)",surfaceContainerHighest:"var(--surface-container-highest)","themelessSurface[0.1]":"var(--themeless-surface__100)","themelessSurface[0.15]":"var(--themeless-surface__150)","themelessSurface[0.2]":"var(--themeless-surface__200)","themelessSurface[0.25]":"var(--themeless-surface__250)","themelessSurface[0.3]":"var(--themeless-surface__300)","themelessSurface[0.35]":"var(--themeless-surface__350)","themelessSurface[0.4]":"var(--themeless-surface__400)","themelessSurface[0.45]":"var(--themeless-surface__450)","themelessSurface[0.5]":"var(--themeless-surface__500)","themelessSurface[0.55]":"var(--themeless-surface__550)","themelessSurface[0.6]":"var(--themeless-surface__600)","themelessSurface[0.65]":"var(--themeless-surface__650)","themelessSurface[0.7]":"var(--themeless-surface__700)","themelessSurface[0.75]":"var(--themeless-surface__750)","themelessSurface[0.8]":"var(--themeless-surface__800)","themelessSurface[0.85]":"var(--themeless-surface__850)","themelessSurface[0.9]":"var(--themeless-surface__900)","themelessSurface[0.95]":"var(--themeless-surface__950)",themelessSurface:"var(--themeless-surface)","themelessOnSurface[0.1]":"var(--themeless-on-surface__100)","themelessOnSurface[0.15]":"var(--themeless-on-surface__150)","themelessOnSurface[0.2]":"var(--themeless-on-surface__200)","themelessOnSurface[0.25]":"var(--themeless-on-surface__250)","themelessOnSurface[0.3]":"var(--themeless-on-surface__300)","themelessOnSurface[0.35]":"var(--themeless-on-surface__350)","themelessOnSurface[0.4]":"var(--themeless-on-surface__400)","themelessOnSurface[0.45]":"var(--themeless-on-surface__450)","themelessOnSurface[0.5]":"var(--themeless-on-surface__500)","themelessOnSurface[0.55]":"var(--themeless-on-surface__550)","themelessOnSurface[0.6]":"var(--themeless-on-surface__600)","themelessOnSurface[0.65]":"var(--themeless-on-surface__650)","themelessOnSurface[0.7]":"var(--themeless-on-surface__700)","themelessOnSurface[0.75]":"var(--themeless-on-surface__750)","themelessOnSurface[0.8]":"var(--themeless-on-surface__800)","themelessOnSurface[0.85]":"var(--themeless-on-surface__850)","themelessOnSurface[0.9]":"var(--themeless-on-surface__900)","themelessOnSurface[0.95]":"var(--themeless-on-surface__950)",themelessOnSurface:"var(--themeless-on-surface)","seed[0.1]":"var(--seed__100)","seed[0.15]":"var(--seed__150)","seed[0.2]":"var(--seed__200)","seed[0.25]":"var(--seed__250)","seed[0.3]":"var(--seed__300)","seed[0.35]":"var(--seed__350)","seed[0.4]":"var(--seed__400)","seed[0.45]":"var(--seed__450)","seed[0.5]":"var(--seed__500)","seed[0.55]":"var(--seed__550)","seed[0.6]":"var(--seed__600)","seed[0.65]":"var(--seed__650)","seed[0.7]":"var(--seed__700)","seed[0.75]":"var(--seed__750)","seed[0.8]":"var(--seed__800)","seed[0.85]":"var(--seed__850)","seed[0.9]":"var(--seed__900)","seed[0.95]":"var(--seed__950)",seed:"var(--seed)"}),se=Bb;c();c();function _A(e,r){useEffect(()=>{let t=new AbortController;return e(),()=>{t.abort();}},r);}c();function PA(e,r){let t=useRef(true);useEffect(()=>{if(t.current)t.current=false;else return e()},r);}c();function OA(e,r,t){let[n,o]=useState({}),i=C(r);i={...i,...t?.inject?.()||{}};let a=document.getElementById("root")??document.body;return useEffect(()=>{t?.debug&&console.log({elementTag:e,props:r,style:n,timestamp:new Date().toLocaleTimeString()});},[n]),useEffect(()=>{let l=document.createElement(e),u=(Array.isArray(r.children)?r.children:[r.children]).map(h=>{let _=document.createElement(e);return _.innerHTML=jb.renderToStaticMarkup(h),_});Object.assign(l.style,{...i,visibility:"hidden"}),u.forEach(h=>l.appendChild(h)),a.appendChild(l);let f=getComputedStyle(l),p=Object.keys(i).filter(h=>h in f&&typeof f[h]=="string").map(h=>{let I=f[h];return [h,h==="opacity"?I.toString():I===0?"0px":I]});o(Object.fromEntries(p)),a.removeChild(l);},[r]),{style:n}}c();function Fu(e){let[r,t]=useState(e);return {value:r,isOpen:!!r,show:(...n)=>{n[0]===void 0&&typeof r!="boolean"||t(typeof r=="boolean"?true:n[0]);},hide:()=>t(typeof r=="boolean"?false:void 0)}}c();function j(e,r){let t=useRef({fresh:castReturn(e),stale:void 0});return {debug:()=>{let n=t.current.stale,o=t.current.fresh,i=()=>{if(Array.isArray(n)){let l=n;return {from:n,to:o,difference:o.filter((u,f)=>f<l.length?l[f]!==u:false)}}switch(typeof n){case "string":return {from:n,to:o,difference:o.replace(n,"")};case "object":return {from:n,to:o,difference:Object.fromEntries(Object.keys(n).map(l=>{let s=l;if(o[s]!==n[s])return [s,o[s]]}).filter(l=>!!l))};default:throw new Error("Not yet implemented bro!")}},a=250;return console.log(buildArray(a,l=>l===0||l===a?"/":"*").join(""),i()),i()},upsert:n=>{let o=typeof n=="function"?n(t.current.fresh):n,i=t.current.fresh;r?.transform&&(o=r.transform(o)),JSON.stringify(o)!==JSON.stringify(i)&&(t.current={fresh:o,stale:i},r?.onChange?.(o,i));},read:()=>t.current.fresh,delete:()=>{t.current.fresh=null,t.current.stale=null;}}}c();function Ys(e=0){return {defaultPage:e,goTo:()=>null,echo:()=>null,getActivePage:()=>null,isPageActive:()=>null,onPageChange:()=>null}}c();function Ri(){return useContext(Wt)}c();function G(){let[,e]=useState(false);return {triggerRerender:()=>e(r=>!r)}}c();function qA(e,r){let[t,n]=useState(()=>{try{let a=window.sessionStorage.getItem(e);return a?JSON.parse(a):r}catch(a){return console.log(a),r}});return [t,a=>{try{let l=a instanceof Function?a(t):a;n(l),window.sessionStorage.setItem(e,JSON.stringify(l));}catch(l){console.log(l);}},()=>{try{n(r),window.sessionStorage.removeItem(e);}catch(a){console.log(a);}}]}c();function oU(e){let r=useContext(dt),{triggerRerender:t}=G(),n=s=>{throw new Error("Invalid key used in useEvent",{cause:`${s} with type "${typeof s}" provided, but a key with type "string" was expected.`})};return {emit:(s,...u)=>{if(typeof s!="string")return n(s);r.emit(s,u?.[0]),e?.rerenderOnEmit&&t();},on:(s,u,f)=>{if(typeof s!="string")return n(s);let p=r.on(s,u);return f?.rerender&&t(),p},listeners:s=>typeof s!="string"?n(s):r.listeners(s),dettach:s=>typeof s!="string"?n(s):r.dettach(s)}}c();function uU(e){let{triggerRerender:r}=G(),t=useRef(castReturn(e)),n=(o,i={skipRender:false})=>{t.current=typeof o=="function"?o(t.current):o,i.skipRender||r();};return [t.current,n]}c();export{bo as AttachmentsButton,ho as AttachmentsDialog,Ve as Avatar,LC as AvatarGroup,Os as Badge,O as BasicButton,g as BasicDiv,je as BasicImg,un as BasicOl,pn as BasicOption,zr as BasicSelect,S as BasicSpan,Nm as BasicTable,wo as Calendar,Fy as CalendarDialog,Gr as CancelButton,ae as Card,Oi as Checkbox,$e as ColorResources,gB as ConfirmationDialog,yr as CopyButton,se as CssColors,Ee as CssShapes,q as CssSpacing,zC as Debounce,tt as DeleteButton,E as Dialog,Fs as Disclaimer,LF as DownloadButton,mP as Drawer,Zh as EditButton,oI as Editable,a_ as EmailComposer,Ut as EmptyState,Uo as ErrorTooltip,Ko as EventContainer,Gh as ExpandableButton,PB as FancyFormDialog,XD as FileDropzone,JB as FileViewer,Y as FontSize,Ms as Indicator,Vs as ItemInfo,Fo as JsonViewer,yb as JwtVerifier,AI as MediaCard,Ev as Menu,yy as MoneyDisplayCard,BF as NegativeButton,to as NextButton,Uu as NoButton,yo as OpenButton,ny as OptionsButton,rP as PageIndicator,zO as PageSlider,nT as Paper,yu as PasteButton,cy as PaymentOptionsButton,xo as PaymentOptionsDialog,w_ as PictureUploader,lr as Popover,IF as PositiveButton,no as PreviousButton,XI as ProfileCard,RC as ProgressBar,Sy as ReceiptCard,io as SaveButton,_o as SearchTextField,HO as SegmentedControls,So as SendButton,ZT as Separator,B_ as SignInWidget,jB as SimpleFormDialog,HC as Spinner,au as Status,gT as Stepper,oo as SubmitButton,ou as Tag,V_ as TaskLogger,Yt as TaskResultDialog,Ao as Terminal,he as TextField,RT as Timeline,Xt as Tooltip,nt as UploadButton,MR as UploadReceiptButton,tb as UserProfile,Co as VerifyButton,Lo as VerifyTextField,Od as WavyUi,Au as YesButton,Oo as YesNoButtonGroup,d_ as YesOrNoForm,C as applyBasicStyle,O6 as bankTransferPaymentOption,N0 as borderRadius,E0 as buildCSS,H0 as computedCssVariable,Ed as convertHexUnitTo256,R0 as cssTransition,Tu as definePaymentOption,A0 as disabledBorderRadius,U0 as dragElement,me as ellipsis,F0 as flexCenter,Mt as getFileIcon,Kv as getPaperDim,ei as getScrollParent,Rd as hexToRgba,T6 as inAppPaymentOption,tn as isOverflown,ri as isSpanMultiLine,Td as isValidHex,Z0 as nativeEllipsis,L0 as noSpaceStyle,Yv as paperStyle,W0 as remAsPx,jd as remToPx,x as resolveBasicColor,xr as restrictLineCount,M0 as rgbToRgba,V0 as screenHasMaxWidth,J0 as screenHasMinWidth,j0 as solidBorder,ti as stripHtml,Qo as tiledBackground,_A as useAsyncEffect,OA as useComputedStyle,oU as useEvent,j as useManagedRef,Fu as useModalControls,Ys as usePageSliderController,Ri as usePopoverContext,PA as usePostRenderEffect,G as useRerender,qA as useSessionStorage,uU as useSmartState};
45
+ translateX(calc(${h} * -5rem))`,filter:`blur(calc(${_} * .5rem))`},children:typeof f=="function"?jsx(f,{isActive:p===o}):f},p)}),!e.hideControls&&jsx(Gs,{inset:"right",disabled:!hasIndex(e.children,o+1),onClick:s})]})})}function Gs(e){let r=useContext(Ks),t=e.inset==="left"?BsArrowLeft:BsArrowRight,n=e.disabled||r.transitioning;return jsx(g,{fade:n?.5:1,cursor:n?"not-allowed":"pointer",pos:"absolute",centerSelf:"y",centerContent:true,borderColor:r.navBorderColor,padding:r.navPadding??"md",backgroundColor:r.navBackgroundColor||"onSurface",color:r.navIconColor||"surface",corners:r.navCorners??"circle",size:r.navSize,css:{[e.inset]:"1rem",zIndex:2,transition:"all 300ms ease-in-out",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",":hover > *":n?void 0:{animation:"squish 300ms ease-in-out"},":active":n?void 0:{scale:.9,opacity:.75}},onClick:n?void 0:e.onClick,children:jsx(t,{size:r.navIconSize})})}c();c();var Wt=createContext(null);function lr(e){let r=j(e.open??false),{triggerRerender:t}=G(),n=`--${v4()}`,o=useRef(null),i=useRef(null),a=we__default.cloneElement(e.wrap?jsx("div",{...e.slotProps?.divWrapper,children:e.children}):e.children,{ref:i,popoverTarget:n});if(e.asChild)return e.children;useEffect(()=>{let u=e.placement||"bottom-left",f=["top","right","bottom","left"].includes(u),p=f?{positionArea:u}:Wv(e.anchorPoint||"top-left",Jv(u));if(!e.visibleOnScroll){let _=ei(o.current);_&&_.addEventListener("scroll",I=>{o.current?.hidePopover(),Object.assign(o.current?.style,{transform:`translateX(-${I.target?.scrollLeft}px)`});});}Object.assign(i.current?.style,{anchorName:n});let h={top:"bottom",right:"left",bottom:"top",left:"right"}[u.split("-")[0]];Object.assign(o.current?.style,{position:"absolute",positionAnchor:n,insetArea:e.insetArea,overflow:"hidden",[`margin-${h}`]:e.offset??".25rem",...p,...e.positionFallbacks?{positionTryFallbacks:e.positionFallbacks}:{},...C({minHeight:e.minHeight,maxHeight:e.maxHeight,height:e.height,minWidth:l(e.minWidth),maxWidth:l(e.maxWidth),width:l(e.width,"max-content"),backgroundColor:e.backgroundColor||"surfaceContainer",color:e.color||"onSurface",borderColor:e.borderColor||"onSurface[0.1]",gap:e.gap,padding:e.padding??"md",corners:e.corners??"md",fontSize:e.fontSize,fontWeight:e.fontWeight,spill:e.spill||"auto",backdropBlur:e.backdropBlur,style:{boxShadow:e.boxShadow||"rgba(0, 0, 0, 0.35) 0px 5px 15px",scrollbarWidth:"thin"}})});},[]),useEffect(()=>{e.open&&o.current?.showPopover();let u=e.displayAction||"click";if(o.current?.addEventListener("beforetoggle",f=>{let p=f.newState==="open";p?e.onOpen?.():e.onClose?.(),e.onOpenChange?.(p),r.upsert(p),!p&&e.rerenderOnClose&&t();}),u==="click")i.current?.addEventListener("click",()=>{s(()=>o.current?.togglePopover());});else if(u==="hover"){let f,h=()=>{f&&(f=null),s(()=>o.current?.hidePopover(),"close");};i.current?.addEventListener("mouseover",()=>{s(()=>o.current?.showPopover(),"open");}),i.current?.addEventListener("mouseleave",()=>{e.allowInteractions?f=setTimeout(h,20):h();}),e.allowInteractions&&(o.current?.addEventListener("mouseenter",()=>{f&&clearTimeout(f);}),o.current?.addEventListener("mouseleave",h));}},[]);let l=(u,f)=>u==="match-anchor"?getComputedStyle(i.current)?.width:u??f,s=(u,f)=>{let p=200;typeof e.delay=="number"?p=e.delay:e.delay&&f in e.delay&&(p=e.delay[f]),setTimeout(u,p);};return jsxs(Wt.Provider,{value:{open:()=>{o.current?.showPopover();},close:()=>{o.current?.hidePopover();},isOpen:()=>r.read()},children:[a,jsx("div",{popover:e.displayAction==="script"?"manual":"auto",id:n,ref:o,className:"popover-transition",children:e.content})]})}var Jv=e=>{let{0:r,1:t}=e?.split("-");return t=t==="left"?"start":t==="right"?"end":t??r,{vertical:`anchor(${r})`,horizontal:`anchor(${t})`}},Wv=(e,r)=>{let{0:t,1:n}=e?.split("-");return {[t]:r.vertical,[n]:r.horizontal}};c();function HO(e){let r=n=>{e.onChange?.(n.value);},t=e.controls[0];return jsxs(SegmentGroup.Root,{size:e.size,width:e.width,defaultValue:e.defaultValue||(typeof t=="string"?t:t?.value),value:e.value,onValueChange:r,style:{backgroundColor:e.backgroundColor?x(e.backgroundColor):void 0,boxShadow:e.borderColor?`${x(e.borderColor)} 0px 0px 0px 1px`:void 0,gap:e.gap in q?q[e.gap]:e.gap},children:[jsx(SegmentGroup.Indicator,{backgroundColor:e.indicatorColor?x(e.indicatorColor):void 0}),e.controls.map(n=>{let o=typeof n=="string"?n:n.value;return jsxs(SegmentGroup.Item,{cursor:"pointer",padding:e.padding in q?q[e.padding]:e.padding||".5rem",value:o,style:{height:"fit-content",border:0},children:[jsx(Gv,{selectedColor:e.selectedColor,color:e.color,fontSize:e.fontSize}),jsx(SegmentGroup.ItemHiddenInput,{style:{border:0}})]},o)})]})}function Gv(e){let r=useSegmentGroupItemContext();return jsx(SegmentGroup.ItemText,{style:{fontSize:e.fontSize in Y?Y[e.fontSize]:e.fontSize,border:0,color:x(r.checked&&e.selectedColor?e.selectedColor:e.color)},children:r.value})}c();function ou(e){return jsx(Tag.Root,{opacity:e.opacity,padding:"1",color:x(e.color),height:"fit-content",flexShrink:0,display:"inline-flex",children:jsx(Tag.Label,{opacity:e.labelOpacity,children:e.label})})}c();function nT(e){return jsx(g,{id:e.id,style:Yv({size:e.size,responsive:e.responsive,style:e.style}),children:e.children})}var Kv=e=>({a4:{height:"297mm",width:"210mm"},a6:{height:"148mm",width:"105mm"}})[e.toLowerCase()],Yv=e=>{let{height:r,width:t}=Kv(e.size),n={a4:95,a6:80}[e.size.toLowerCase()],o=e.responsive??true;return {...e?.style||{},maxHeight:r,height:o?`${n}%`:r,width:o?void 0:t,aspectRatio:"1/sqrt(2)",backgroundColor:x("paper"),color:x("onPaper"),overflow:"hidden"}};c();function au(e){let r={pending:"gray",success:"carlsbergGreen",error:"error"},t=e.indicatorSize||".3rem";return jsxs(g,{row:true,disableSelection:true,align:"center",gap:"md",corners:"md",padding:"sm",backgroundColor:`${r[e.status]}[0.5]`,style:{zIndex:3},children:[jsx(g,{corners:t,size:t,backgroundColor:r[e.status]}),!e.indicatorOnly&&jsx(S,{style:{fontWeight:500},fontSize:".85rem",color:`${r[e.status]}[0.75]`,text:upperFirst(e.status)})]})}c();function gT(e){return jsxs(({children:t})=>{let n={...e,paddingLeft:typeof e.indent=="boolean"?"11":e.indent,height:"full",width:"full",gap:"7",overflow:"hidden",style:{backgroundColor:e.showBg?"red":"transparent"},colorPalette:e.colorScheme};return e.value?jsx(Steps.RootProvider,{value:e.value,...n,children:t}):jsx(Steps.Root,{...n,count:e.steps.length,children:t})},{children:[jsx(Steps.List,{opacity:e.nested?.7:1,children:e.steps.map((t,n)=>jsxs(Steps.Item,{index:n,title:t.title,children:[jsxs(Steps.Trigger,{children:[jsx(Steps.Indicator,{children:t.icon&&jsx(Steps.Status,{incomplete:jsx(t.icon,{}),complete:jsx(LuCheck,{})})}),jsx(Steps.Title,{children:t.title})]}),jsx(Steps.Separator,{})]},n))}),jsxs(Stack,{justifyContent:"space-between",height:"full",width:"full",overflow:"hidden",children:[e.steps.map((t,n)=>jsx(Steps.Content,{height:"full",width:"full",index:n,overflow:"hidden",children:typeof t.description=="function"?jsx(t.description,{}):t.description},n)),e.completedel!=="none"&&jsx(Steps.CompletedContent,{height:"full",width:"full",overflow:"hidden",children:e.completedel||"All steps are complete!"}),e.footer?jsx(e.footer,{PrevTrigger:({children:t})=>jsx(Steps.PrevTrigger,{asChild:true,children:t}),NextTrigger:({children:t})=>jsx(Steps.NextTrigger,{asChild:true,children:t})}):jsxs(ButtonGroup,{size:"sm",variant:"outline",children:[jsx(Steps.PrevTrigger,{asChild:true,children:jsx(Button,{children:"Prev"})}),jsx(Steps.NextTrigger,{asChild:true,children:jsx(Button,{children:"Next"})})]})]})]})}c();c();var uu=we.forwardRef(function(r,t){let{showArrow:n,children:o,disabled:i,portalled:a=true,content:l,contentProps:s,portalRef:u,...f}=r;return i?o:jsxs(Tooltip.Root,{...f,children:[jsx(Tooltip.Trigger,{asChild:true,children:o}),jsx(Portal,{disabled:!a,container:u,children:jsx(Tooltip.Positioner,{children:jsxs(Tooltip.Content,{ref:t,...s,children:[n&&jsx(Tooltip.Arrow,{children:jsx(Tooltip.ArrowTip,{})}),l]})})})]})});function Xt(e){if(e.asChild)return e.children;let{padding:r,borderRadius:t,color:n,backgroundColor:o}=C({padding:e.padding||"sm",corners:e.corners||"sm",color:e.color||"onSurface",backgroundColor:e.backgroundColor||"onSurface[0.1]"});return jsx(uu,{positioning:{placement:e.placement},showArrow:e.arrow,openDelay:e.delay?.open,closeDelay:e.delay?.close,content:e.tooltip,contentProps:{padding:r,color:n,borderRadius:t,style:{backdropFilter:"blur(.25rem)"},css:{"--tooltip-bg":o}},children:e.wrapChildren?jsx("span",{style:e.slotProps?.spanWrapper?{...C(e.slotProps.spanWrapper)}:void 0,children:e.children}):e.children})}c();var uo=createContext(null);function lh(e){let r=j([]),t=e.lineSeparatorColor||"onSurface[0.5]",n=Array.isArray(e.children)?e.children:[e.children],o=n.length===1?n:n.map((a,l)=>l===0||!e.rowGap?a:jsxs(Fragment,{children:[jsx("p",{}),jsx(g,{width:"full",align:"center",children:jsx("p",{style:{width:"1px",height:e.rowGap,backgroundColor:x(t)}})}),jsx("p",{}),a]})),i=()=>{if(n.length===1)return "both";let a=[...r.read(),0];if(r.upsert(a),a.length===1)return "first";if(a.length===n.length)return "last"};return jsx(uo.Provider,{value:{register:i,lineSeparatorColor:t},children:jsx(g,{grid:true,width:e.width??"fit-content",gridCols:"auto auto auto",justify:"end",style:{columnGap:e.columnGap||".5rem"},children:o})})}function sh(e){let[r,t]=useState(),{register:n}=useContext(uo),{indicator:o,leadingEl:i,trailingEl:a}=e.styles||{},{0:l,1:s}=Array.isArray(e.children)?e.children:[e.children];useEffect(()=>{let f=n();typeof f=="string"&&t(f);},[r]);let u=f=>r===f||r==="both";return jsxs(Fragment,{children:[jsx(mu,{disabled:e.disabled,style:{...i,align:i?.align||"end"},children:e.reverse?s:l}),jsxs(g,{align:"center",height:"full",children:[jsx(fu,{hide:u("first")}),jsx(g,{style:{...C({...o||{},size:o?.size??".6rem",corners:o?.corners||"circle",backgroundColor:o?.backgroundColor||"onSurface",centerContent:o?.centerContent??true}),flexShrink:0},children:e.indicator}),jsx(fu,{hide:u("last")})]}),jsx(mu,{disabled:e.disabled,style:a,children:e.reverse?l:s})]})}function mu(e){return jsx(g,{size:"full",style:{...C({...e.style||{},fade:e.disabled?.5:e.style?.fade}),justifyContent:"center",flexGrow:1},children:e.children})}function fu(e){let{lineSeparatorColor:r}=useContext(uo);return jsx(g,{width:"1px",height:"full",backgroundColor:r,fade:e.hide?0:1})}var RT={Root:lh,Item:sh};c();function ZT(e){let r=()=>jsx(Separator,{flex:"1",variant:e.variant,orientation:e.orientation,size:e.size,color:x(e.color)});return e.label?jsxs(HStack,{children:[["center","right"].includes(e.labelPosition)&&jsx(r,{}),jsx(Text,{flexShrink:"0",color:x(e.labelColor),children:e.label}),["center","left"].includes(e.labelPosition)&&jsx(r,{})]}):jsx(r,{})}c();c();var mo=(e,r)=>{let t=n=>!!n.exec(e);if(typeof r!="string")return t(r);switch(r){case "number":return t(/[0-9]/g);case "symbol":case "space":return t(/\s/g);case "letter":return t(/[a-zA-Z]/);case "uppercaseLetter":return t(/[A-Z]/);case "lowercaseLetter":return t(/[a-z]/);case "all":return true;default:return r}};function he(e){let[r,t]=useState(e.defaultValue??""),n=e.value!==void 0,o=e.ref||useRef(null),i=useRef(null),a=e.maxChars??1/0,l="2rem",s=b=>typeof e.indent=="string"?e.indent:e.indent?.[b],u="md",{size:f,...p}=e,h={label:C({...e?.slotProps?.label,row:true,fade:e?.slotProps?.label?.fade||.75}),helperText:C({...e?.slotProps?.helperText}),root:C({width:e.width}),input:C({...p,width:"full",padding:{top:u,left:e.leadingContent?s("left")||l:u,right:e.trailingContent||e.showCharCounter?s("right")||l:u,bottom:u},corners:!e.corners&&e.corners!==0?".75rem":e.corners})},_=b=>{o.current.value=b,e.onChange(b,null);};useEffect(()=>{e.showCharCounter&&Object.assign(o.current?.style,{paddingRight:`calc(${getComputedStyle(i.current).width} + 7px)`});},[r,e.value]),useEffect(()=>{let b=k=>{if(e.format!=="currency")return;let B=k;if(B=B.replace(/[^0-9.]/g,"").replace(/\.{2,}/,"").split(".").filter((D,P)=>P<2).join("."),B&&takeLast(B.split(""))[0]!=="."){let D=parseFloat(B);if(!isNaN(D)){let P=new Intl.NumberFormat;_(P.format(D));}}};o.current?.addEventListener?.("beforeinput",k=>{let B=k.data,D=e.format==="currency"?/[0-9.]/:e.allowedChars||"all";D==="all"||Array.isArray(D)&&D.includes("all")||B===null||(!Array.isArray(D)&&!mo(B,D)||Array.isArray(D)&&D.some(P=>!mo(B,P)))&&k.preventDefault();}),o.current?.addEventListener?.("paste",k=>{b(k.target.value);}),o.current?.addEventListener?.("input",k=>{b(k.target.value);});},[o.current]);let I=b=>{e.onChange?.(b,void 0),e.onPasteClick?.(b);};return jsxs(Field.Root,{required:e.required,disabled:e.disabled,style:h.root,children:[(e.label||e.required)&&jsxs(Field.Label,{style:{...h.label},children:[e.required?e.label||"required":e.label," ",e.required&&jsx(Field.RequiredIndicator,{})]}),jsx(yh,{elementRef:o,useCopy:e.allowCopyText,usePaste:e.allowPasteText,onPaste:I,slotProps:e.slotProps,children:jsx(InputGroup,{startElement:e.leadingContent,startElementProps:e.slotProps?.leadingContent||{padding:"2"},endElement:e.showCharCounter?jsx(S,{ref:i,fade:.5,fontSize:e.slotProps?.charCounter?.fontSize||(o.current?getComputedStyle(o.current).fontSize:void 0),text:`${(e.value??r).length}/${a}`}):e.trailingContent,endElementProps:e.slotProps?.trailingContent||{padding:"1"},startAddon:e.leadingAdornment,startAddonProps:{...e.slotProps?.leadingAdornment,padding:e.slotProps?.leadingAdornment?.padding||"1",borderRadius:"xl"},endAddon:e.trailingAdornment,endAddonProps:{...e.slotProps?.trailingAdornment,padding:e.slotProps?.trailingAdornment?.padding||"1",borderRadius:"xl"},gapX:".5rem",children:jsx(Input,{maxLength:e.maxChars,readOnly:e.readOnly,ref:e.pureRef||o,width:"full",autoFocus:e.autoFocus,size:f,zIndex:1,variant:e.variant,onKeyDown:b=>{b.key==="Enter"?e.onEnterKeyPressed?.():b.key==="Escape"&&e.onEscapeKeyPressed?.();},value:e.value??r,overflow:"hidden",style:h.input,onFocus:e.onFocus,onBlur:e.onBlur,_placeholder:e.slotProps?.placeholder?.color?{color:x(e.slotProps.placeholder.color)}:void 0,onChange:b=>{let k=b.currentTarget.value;switch(e.allowHtmlInput||(k=ti(k)),e.trimOnChange){case "start":k=k.trimStart();break;case "end":k=k.trimEnd();break;case true:k=k.trim();break}e.validateInput?.(k)!==false&&(e.onChange?.(k,b),n||t(k));},placeholder:e.placeholder})})}),e.helperText&&jsx(Field.HelperText,{style:h.helperText,children:e.helperText})]})}function yh(e){return !e.useCopy&&!e.usePaste?e.children:jsxs("div",{style:{display:"flex",alignItems:"center",gap:q.sm,width:"100%"},children:[e.children,e.useCopy&&jsx(yr,{iconOnly:e.slotProps?.copyButton?.iconOnly,inputRef:e.elementRef}),e.usePaste&&jsx(yu,{iconOnly:e.slotProps?.pasteButton?.iconOnly,inputRef:e.elementRef,onClick:e.onPaste})]})}c();function Fs(e){let[r,t]=useState(false),o={error:BsExclamationCircle,info:BsInfoCircle,warning:BsExclamationTriangle}[e.severity],i=e.iconSize||"1rem",a=e.gap||"md",l=jsx(o,{size:i,style:{flexShrink:0}});return jsxs(g,{row:e.hideLabel,top:e.top,left:e.left,right:e.right,bottom:e.bottom,pos:e.pos,width:e.width,gap:e.hideLabel?a:void 0,corners:"md",backgroundColor:x(e.severity+"[0.5]",{preference:"res"}),color:"white",padding:"md",align:r||!e.hideLabel?"start":"center",style:{boxShadow:e.disableShadow?"none":"rgba(0, 0, 0, 0.35) 0px 5px 15px"},children:[e.hideLabel?l:jsxs(g,{row:true,gap:a,align:"center",children:[l,jsx(S,{fontWeight:"bold",fontSize:"xs",text:(e.facade?.(e.severity)||e.severity).toUpperCase()})]}),jsx("span",{ref:s=>{s&&t(ri(s));},style:C({fontSize:e.fontSize||"sm",fade:e.hideLabel?1:.75,style:{paddingLeft:e.hideLabel?void 0:`calc(${i} + ${C({gap:a}).gap})`}}),children:e.message})]})}c();c();c();c();function bu(e){return {FlyLeavingBox:Ch}[e]}var vo=createContext(null);function $h(e){let r=j(e.attachments||[]),{triggerRerender:t}=G(),n=()=>{e.onClose?.(),e.rerenderOnClose&&t();};return jsx(vo.Provider,{value:{...e,attachmentsEventListener:(o,i)=>{let a=r.read();o==="add"&&(a=[...a,i]),o==="delete"&&(a=a.filter(({uid:l})=>l!==i.uid)),r.upsert(a),e.onAttachmentsChange?.(a),o==="delete"&&isEmpty(a)&&t(),e.attachmentsEventListener?.(o,i);},attachments:r.read(),rerender:t},children:jsxs(E.Root,{onClose:n,unmountOnExit:e.unmountOnExit,maxHeight:"30rem",width:"27rem",scrollBehavior:"inside",triggerElement:e.triggerElement,controller:e.controller,spill:"hidden",children:[jsx(E.Header,{style:{flexShrink:0},fontSize:"xxl",children:"Attachments"}),jsx(E.Body,{size:"full",padding:"sm",spill:"hidden",children:isEmpty(r.read())?jsx(Dh,{}):jsx(wh,{})})]})})}function wh(){let e=useContext(vo),r=j(void 0),[t,n]=useState(""),[o,i]=useState(e?.attachments||[]);useEffect(()=>{r.upsert(true);},[]),useEffect(()=>{r.read()===true&&r.upsert(false);});let a=t.trim()?o.filter(({name:p})=>p.toLowerCase().includes(t.toLowerCase())):o,l=isEmpty(a)&&!!t.trim(),s=p=>{i(h=>h.filter(({uid:_})=>_!==p.uid)),e?.onAttachmentDeleted?.(p),e?.attachmentsEventListener?.("delete",p);},u=(p,h)=>{let _=h[0];i([...o,_]),e?.onAttachmentAdded?.(_),e?.attachmentsEventListener("add",_);},f=p=>{e?.onOpenAttachment?.(p),e?.attachmentsEventListener?.("open",p);};return jsxs(Fragment,{children:[jsx(_o,{width:"full",value:t,onChange:n}),jsx(g,{size:"full",maxHeight:"10rem",spill:"auto",padding:l?"lg":void 0,centerContent:l,children:l?jsx("span",{style:{opacity:.75},children:`"${t}" not found`}):a.map((p,h,_)=>jsx(zh,{scrollIntoView:r.read()===false&&h===_.length-1,value:p,hideDeleteButton:e.hideDeleteButton,hideOpenAttachmentButton:e.hideOpenAttachmentButton,disableDelete:typeof e?.deleteDisabled=="function"?e.deleteDisabled(p):e?.deleteDisabled,disableOpen:typeof e?.openDisabled=="function"?e.openDisabled(p):e?.openDisabled,onDelete:s,onOpen:f},p.uid))}),!e.hideUploadButton&&jsx(nt,{getFilePath:e?.getFilePath,disabled:e?.uploadDisabled,fileClass:"attachment",size:"xs",width:"full",onAccept:u})]})}function zh(e){let{alias:r,path:t,name:n,sizeInBytes:o}=e.value,i=Mt(r);return jsxs(ae.Root,{corners:"md",width:"full",sx:{cursor:"default",overflow:"hidden",transition:"all 300ms linear",":hover":{backgroundColor:"outline[0.1]"}},children:[jsx(ae.LeadingAddOn,{size:"2rem",aspectRatio:1,color:r,padding:"sm",corners:"md",backgroundColor:"onSurface[0.1]",style:{flexShrink:0},children:r==="img"&&t.trim()?jsx(je,{src:t.trim(),size:"full",corners:"md",spill:"hidden"}):jsx(i.outlined,{size:"100%"})}),jsxs(ae.Content,{gap:"sm",width:"full",children:[jsx(ae.Item,{truncateStyle:"ellipsis",value:n}),jsxs(g,{ref:a=>a&&e.scrollIntoView&&a.scrollIntoView({behavior:"instant"}),fade:.7,row:true,align:"center",gap:"sm",fontSize:"xxs",children:[jsx(S,{fontWeight:"bold",text:r.toUpperCase()}),jsx(g,{size:".25rem",corners:"circle",backgroundColor:"onSurface"}),jsx(S,{fade:.5,text:parseFileSize(o)})]})]}),(!e.hideDeleteButton||!e.hideOpenAttachmentButton)&&jsxs(ae.TrailingAddOn,{row:true,gap:"sm",align:"center",children:[!e.hideOpenAttachmentButton&&jsx(yo,{iconOnly:true,disabled:e.disableOpen,borderColor:"transparent",size:"sm",onClick:()=>e.onOpen?.(e.value)}),!e.hideDeleteButton&&jsx(tt,{iconOnly:true,disabled:e.disableDelete,backgroundColor:"transparent",color:"delete",size:"sm",onClick:()=>e.onDelete?.(e.value)})]})]})}function Dh(){let e=useContext(vo);return jsxs(Ut.Root,{children:[jsx(Ut.Indicator,{size:"7rem",disableFade:true,element:jsx(je,{spill:"hidden",size:"full",src:bu("FlyLeavingBox")})}),jsx(Ut.Content,{title:"Attachments not found",description:"Upload an attachment and it will appear here."}),!e.hideUploadButton&&jsx(nt,{disabled:e.uploadDisabled,getFilePath:e.getFilePath,fileClass:"attachment",backgroundColor:"secondaryContainer",color:"onSecondaryContainer",accepts:e.accepts,onAccept:(r,t)=>{t.forEach(n=>{e?.attachmentsEventListener?.("add",n);}),e.rerender();}})]})}var ho=$h;function Oh(e){let r=j(Array.isArray(e.attachments)?e.attachments:[]),{triggerRerender:t}=G(),n=o=>{r.upsert(o);};return jsx(Xt,{tooltip:"Attachments",placement:"right",children:jsx(Os,{circleChild:true,asChild:!e.attachments,badge:jsx(Ms,{content:typeof e.attachments=="number"?e.attachments:r.read().length}),children:jsx(Th,{asChild:!Array.isArray(e.attachments),attachments:r.read(),onAttachmentsChange:n,onClose:t,...e.slotProps?.attachmentsDialog,children:jsxs(g,{row:true,gap:"xs",fontSize:"xs",color:"onPaper",align:"center",corners:e.corners||"md",padding:"md",clickable:true,backgroundColor:"onPaper[0.1]",onClick:e.onClick,children:[jsx(BsPaperclip,{size:"1rem"}),!e.iconOnly&&"Attachments"]})})})})}function Th(e){let{asChild:r,children:t,unmountOnExit:n,onAttachmentsChange:o,onClose:i,...a}=e;return r?t:jsx(ho,{...a,unmountOnExit:n,triggerElement:t,onAttachmentsChange:o,onClose:i})}var bo=Oh;c();var Rh=Re({preset:{text:"Cancel",leadingEl:null,trailingEl:null},optional:{backgroundColor:"transparent",color:"onSurface",fade:.75}}),Gr=Rh;c();function Nh(e){return jsx(O,{disabled:e.disabled,size:e.size,corners:e.corners,gap:e.gap,iconSize:e.iconSize,fontSize:e.fontSize,leadingEl:!e.iconVariant||e.iconVariant==="outlined"?BsTrash:BsTrashFill,backgroundColor:e.backgroundColor||"delete",color:e.color||"white",text:e.iconOnly?void 0:"Delete",onClick:e.onClick})}var tt=Nh;c();function Lh(e){let{iconOnly:r,...t}=e;return jsx(O,{...t,leadingEl:LuPencilLine,text:r?void 0:"Edit",backgroundColor:e.backgroundColor||"transparent",borderColor:e.borderColor||"onSurface[0.25]",color:e.color||"onSurface",corners:e.corners||"sm"})}var Zh=Lh;c();function Xh(e){let r=j(e.initialState==="expanded"),t=e.icon||"chevron",n=t==="chevron"?BsChevronBarExpand:BsArrowsAngleExpand,o=t==="chevron"?BsChevronBarContract:BsArrowsAngleContract,i=r.read()?o:n;return jsx(g,{clickable:true,onClick:()=>{r.upsert(l=>(l?e.onContract():e.onExpand(),!l));},children:jsx(i,{})})}var Gh=Xh;c();function Kh(e){return jsx(O,{disabled:e.disabled,text:"Next",backgroundColor:"tertiaryContainer",color:"onTertiaryContainer",onClick:e.onClick})}var to=Kh;c();function Qh(e){return jsx(O,{disabled:e.disabled,leadingEl:IoOpenOutline,size:e.size,corners:e.corners,iconSize:e.iconSize,fontSize:e.fontSize,borderColor:e.borderColor||"onSurface[0.1]",backgroundColor:e.backgroundColor||"transparent",color:e.color||"onSurface",text:e.iconOnly?void 0:"Open",onClick:e.onClick})}var yo=Qh;c();function ty(e){return jsx(O,{disabled:e.disabled,leadingEl:MdMoreVert,size:e.size,borderColor:e.borderColor||"onSurface[0.1]",color:e.color||"onSurface",backgroundColor:e.backgroundColor||"transparent",iconSize:e.iconSize||"sm",text:e.iconOnly?void 0:"Options",onClick:e.onClick})}var ny=ty;c();function ay(e){let r=jsx(O,{disabled:e.disabled,width:e.width,backgroundColor:e.backgroundColor||"blue",color:e.color||"white",fontSize:e.fontSize||"xs",iconSize:e.iconSize||"sm",leadingEl:BsCreditCard2FrontFill,text:"Payment options",onClick:e.onClick});return e.options?jsx(xo,{triggerElement:r,options:e.options}):r}var cy=ay;c();function ly(e){return jsx(O,{disabled:e.disabled,border:"onSurface[0.15]",color:"onSurface",backgroundColor:"transparent",text:"Previous",onClick:e.onClick})}var no=ly;c();function dy(e){return jsx(O,{async:true,disabled:e.disabled,size:e.size,color:"white[0.85]",spinnerColor:"gray",trailingEl:jsx(IoMdSend,{}),backgroundColor:"sendBlue",text:e.iconOnly?void 0:"Send",onClick:e.onClick,corners:"xl"})}var So=dy;c();function my(e){return jsx(O,{async:true,disabled:e.disabled,text:`Submit ${e.class||""}`.trim(),onClick:e.onClick})}var oo=my;c();function gy(e){return jsx(O,{padding:"sm",gap:"sm",size:"xs",leadingEl:jsx(MdVerifiedUser,{}),backgroundColor:"primaryContainer",color:"onPrimaryContainer",text:"Verify",onClick:e.onClick})}var Co=gy;c();function hy(e){let r="rgba(0, 0, 0, 0.35) 0px 5px 15px",t=e.currency||"JMD";return jsxs(g,{width:e.width,gap:e.gap||"md",padding:"1.5rem",color:e.color||"surface",corners:e.corners||"lg",style:{boxShadow:r,background:Qo({backgroundColor:e.backgroundColor||"onSurface",borderColor:e.wireColor||"surface[0.25]",tileSize:"1.5rem"})},children:[jsxs(g,{gap:"sm",color:"inherit",children:[e.label&&jsx(S,{fade:.75,fontSize:e.slotProps?.label?.fontSize||"sm",text:e.label,color:"inherit"}),jsxs(g,{row:true,align:"end",gap:"sm",children:[jsx(S,{fontWeight:"bold",fontSize:e.slotProps?.fee?.fontSize||"xl",text:format("money",e.amount,{truncate:typeof e.truncateFee=="boolean"?e.truncateFee:e.truncateFee?.(e.amount)})}),jsx(S,{fontWeight:"bold",fade:.5,fontSize:e.slotProps?.currency?.fontSize||"sm",text:t})]})]}),e.children]})}var yy=hy;c();function xy(e){return jsxs(ae.Root,{backgroundColor:e.backgroundColor||"onSurface",color:e.color||"surface",width:e.width,maxWidth:e.maxWidth,minWidth:e.minWidth,corners:e.corners||"lg",style:{boxShadow:"rgba(0, 0, 0, 0.35) 0px 5px 15px"},children:[jsx(ae.LeadingAddOn,{size:"2rem",padding:"sm",centerContent:true,corners:"md",backgroundColor:e.indicatorBackgroundColor||"surface[0.1]",style:{flexShrink:0},children:e.receiptPath?jsx(je,{corners:"md",src:e.receiptPath,size:"full",spill:"hidden"}):jsx(TfiReceipt,{size:"100%"})}),jsxs(ae.Content,{width:"full",gap:"xs",children:[jsx(ae.Label,{value:"Your receipt",fade:.75,truncateStyle:"ellipsis"}),jsx(ae.Item,{value:e.receiptName||(e.receiptPath?inferFilename(e.receiptPath):"unknown"),truncateStyle:"ellipsis"})]}),!e.hideDeleteButton&&jsx(ae.TrailingAddOn,{children:jsx(tt,{iconOnly:true,iconVariant:e.deleteIconVariant,iconSize:e.deleteButtonSize,backgroundColor:"transparent",color:"delete",onClick:e.onDeleteClick})})]})}var Sy=xy;c();function Iy(e){let[r,t]=useState(e.selectedDate||new Date),n=j(r),o=e.minDate==="today"?new Date:Iu(e.minDate)||new Date("Jan 1, 1920"),i=e.maxDate==="today"?new Date:!e.maxDate||e.maxDate==="end-of-year"?Oy():Iu(e.maxDate),a=p=>{t(p),e.onDateSelected?.(p);},l=p=>p.toDateString()===r.toDateString(),s=p=>p.toDateString()===new Date().toDateString(),u=p=>{let h=n.read();return h.getMonth()===p.getMonth()&&Ey(p.getDate(),h.getMonth())},f=p=>n.upsert(p);return jsx($y,{inline:true,required:e.required,allowSameDay:e.allowSameDay,minDate:o,maxDate:i,onMonthChange:f,onYearChange:f,renderCustomHeader:p=>jsx(By,{...p,minDate:o,maxDate:i}),form:e.formId,selected:r,onChange:a,calendarClassName:"calendar",weekDayClassName:()=>"calendar-week-day",dayClassName:p=>["calendar-date",l(p)?"selected":"unselected",s(p)?"today":"",u(p)?"":"out-of-bounds",Ty(p,i)?"excluded":""].join(" ")})}function By(e){let r=["January","February","March","April","May","June","July","August","September","October","November","December"],t=r.filter((s,u)=>{let f=e.date.getFullYear();return f===e.minDate.getFullYear()?u>=e.minDate.getMonth():f===e.maxDate.getFullYear()?u<=e.maxDate.getMonth():true}),n=r[e.date.getMonth()],o=s=>{e.changeMonth(r.findIndex(u=>u===s));},i=s=>{e.changeYear(parseInt(s));},a=()=>range(e.minDate.getFullYear(),e.maxDate.getFullYear()+1),l=s=>["calendar-chevron","calendar-nav",s?"disabled":""].join(" ");return jsxs(g,{width:"full",row:true,align:"center",justify:"space-between",padding:["md","bottom"],children:[jsx(IoChevronBack,{className:l(e.prevMonthButtonDisabled),onClick:e.prevMonthButtonDisabled?void 0:e.decreaseMonth}),jsxs(g,{row:true,align:"center",gap:"md",children:[jsx(Du,{label:n,isSelected:s=>n===s,options:t.map(s=>({value:s})),onOptionClick:o}),jsx(Du,{label:`${e.date.getFullYear()}`,isSelected:s=>`${e.date.getFullYear()}`===s,options:a().map(s=>({value:s.toString()})).toReversed(),onOptionClick:i})]}),jsx(IoChevronForward,{className:l(e.nextMonthButtonDisabled),onClick:e.nextMonthButtonDisabled?void 0:e.increaseMonth})]})}function Du(e){return jsx(zr,{isSelected:({value:r})=>e.isSelected(r),onOptionClick:({value:r})=>e.onOptionClick(r),options:e.options,maxHeight:"10rem",children:jsxs("div",{style:{display:"inline-flex",gap:".25rem",alignItems:"center",cursor:"pointer",borderRadius:".5rem",fontSize:"1.1rem",fontWeight:"bold"},children:[jsx("span",{style:{},children:e.label}),jsx(IoChevronDown,{className:"calendar-chevron"})]})})}var Iu=e=>{if(e)return e instanceof Date?e:new Date(e)};var Oy=()=>{let e=new Date;return e.setMonth(11),e.setDate(31),e};var Ty=(e,r)=>{let t={year:e.getFullYear(),month:e.getMonth(),date:e.getDate()},n={year:r.getFullYear(),month:r.getMonth(),date:r.getDate()};if(t.year>n.year)return true;if(t.year===n.year){if(t.month>n.month)return true;if(t.month===n.month)return t.date>n.date}return false},Ey=(e,r)=>{let t=new Date;return t.setMonth(r),t.setDate(e),t.getMonth()===r};var wo=memo(Iy);c();c();var Ry=Re({preset:{text:"Done"},optional:{backgroundColor:"onSurface",color:"surface"}}),Bu=Ry;function jy(e){let r=j(null),{controller:t,triggerElement:n,backdropBlur:o,backgroundColor:i,...a}=e,l=e.actionButtonSize||"xs",s=p=>{r.upsert(p),e.onDateSelected?.(p);},u=()=>{let p=r.read();p&&e.onDoneClick?.(p);},f=p=>{e.onOpenChange?.(p);};return jsxs(E.Root,{hideCloseButton:true,onOpenChange:f,width:"max-content",controller:t,triggerElement:n,backgroundColor:i||"surface[0.25]",backdropBlur:o||".5rem",children:[e.title&&jsx(E.Header,{fontSize:e.titleFontSize,children:e.title}),jsx(E.Body,{children:jsx(wo,{...a,selectedDate:e.selectedDate||r.read(),onDateSelected:s})}),jsxs(E.Footer,{children:[jsx(E.ActionTrigger,{children:jsx(Gr,{size:l,fade:.5})}),jsx(E.ActionTrigger,{children:jsx(Bu,{size:l,onClick:u})})]})]})}var Fy=jy;c();function My(e){let[r,t]=useState(),n=r?FaAngleUp:FaAngleDown,o=i=>{if(i.content)return typeof i.content=="string"?jsx("span",{children:i.content}):jsx(g,{fade:.75,padding:["md",["left","right","bottom"]],fontSize:"xs",children:Object.keys(i.content).map(a=>jsxs("span",{children:[jsxs("strong",{children:[a,":"]}),"\xA0",i.content[a]]}))})};return jsxs(E.Root,{triggerElement:e.triggerElement,controller:e.controller,width:"22rem",children:[jsx(E.Header,{children:"Payment Options"}),jsx(E.Body,{gap:"sm",width:"full",children:e.options.map((i,a)=>{let l=i.variables?i?.["pre-element"]?.(i.variables):void 0,s=i.variables?i?.["post-element"]?.(i.variables):void 0;return jsxs(Fragment,{children:[l,jsxs(g,{width:"full",css:{backgroundColor:r?.index===a?"onSurface[0.1]":void 0},corners:"md",asChildren:!i.dropDownContent,children:[jsxs(g,{row:true,gap:"md",width:"full",align:"center",fade:i.disabled?.5:1,cursor:i.disabled?"not-allowed":"pointer",padding:"md",corners:"md",css:{transition:"all 300ms linear",":hover":i.disabled||r?.index===a?void 0:{backgroundColor:"onSurface[0.1]"}},onClick:()=>{i.onClick?.(i.variables),i.dropDownContent&&t(r?void 0:{index:a});},children:[jsx(i.icon,{size:"1.5rem"}),jsxs(g,{asChildren:!i.description,width:"full",children:[jsx(S,{width:"full",fontSize:"sm",text:i.label}),i.description&&jsx("span",{children:i.description,style:{opacity:.75,fontSize:Y.xs}})]}),i.dropDownContent&&jsx(n,{})]}),i.dropDownContent&&r?.index===a&&jsx(o,{content:i.dropDownContent})]}),s]})})})]})}var Tu=e=>e,O6=e=>Tu({icon:RiBankFill,label:"Bank Transfer",dropDownContent:{"Name On Account":e.accountName,Bank:e.bank,"Account type":e.accountType,"Account #":`${e.accountNo}`,"Transit #":`${e.transitNo}`,Branch:e.branch,"Transfer currency":e.transferCurrency}}),T6=()=>Tu({icon:RiSecurePaymentFill,label:"In App Payment",disabled:true,variables:{}}),xo=My;c();var Eu=createContext(null);function zo(e){let r=e.controller,t=!!r.value?.response,{title:n,message:o}=r.value?.response||r.value?.error||{},i=t?"carlsbergGreen":"billsRed",a=(()=>{if(r?.value)return !e.indicator||e.indicator==="normal"?t?BsCheck2Circle:IoWarningOutline:e.indicator==="mail"?t?RiMailSendLine:RiMailCloseLine:e.indicator(t?"success":"error")})(),l=e.actionButton?.(t?"succes":"error"),s={title:C({fontSize:e.titleFontSize||"lg"}),description:C({fontSize:e.descriptionFontSize||"sm",fade:.5})},u=({fontSize:f,lineHeight:p,opacity:h})=>({fontSize:f,lineHeight:p,opacity:h});return jsx(Eu.Provider,{value:{color:i},children:jsxs(E.Root,{onClose:e.onClose,controller:r,width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth??"25rem",gap:"sm",unmountOnExit:e.unmountOnExit,borderColor:e.disableColorIndicator?void 0:[i,"left"],children:[jsxs(E.Body,{grid:true,gridCols:"auto 1fr",gap:"lg",children:[jsx(a,{color:x(i),size:typeof e.indicatorSize=="function"?e.indicatorSize(t?"success":"error"):e.indicatorSize??"2.75rem"}),jsxs(g,{width:"full",gap:"sm",spill:"hidden",padding:["md","top"],children:[jsx("span",{style:u(s.title),children:n}),jsx("span",{style:u(s.description),children:o})]})]}),jsxs(E.Footer,{row:true,gap:"md",align:"center",children:[jsx(E.ActionTrigger,{children:jsx(O,{size:"xs",backgroundColor:l?"transparent":"onSurface[0.1]",color:"onSurface[0.75]",text:"Dismiss",onClick:r.hide})}),l?jsx(qy,{...l}):void 0]})]})})}function qy(e){let{color:r}=useContext(Eu);return jsx(O,{async:e.async,disabled:e.disabled,backgroundColor:r,leadingEl:e.leadingIcon,color:"white",size:"xs",trailingEl:e.trailingIcon,text:e.label,onClick:e.onClick})}var Ru=e=>r=>({disabled:r.disabled,async:true,label:e,leadingIcon:GrRotateLeft,onClick:r.onClick});zo.tryAgainButton=Ru("Try Again");zo.retryButton=Ru("Retry");var Yt=zo;c();var Do="onPaper[0.1]",Io=", ";function r_(e){let r=j(typeof e.disableSend=="boolean"?e.disableSend:!!e.onSendClick),t=Fu(),n=j({subject:e.subject??"",body:{text:e.body||""},recipients:e.recipients||[],attachments:e.attachments||[]}),o=(l,s)=>{n.upsert(u=>({...u,[l]:s}));},i=()=>strictArray(n.read().recipients),a=async()=>{let{subject:l,body:{text:s},attachments:u}=n.read(),f=await e.onSendClick({subject:l,body:{text:s,html:e.bodyToHtml?.(s)},recipients:i(),attachments:u});if(typeof f!="object")return;let{error:p,response:h}=f;if(typeof e.disableSend=="function"&&r.upsert(e.disableSend(f)),p)return t.show({error:p});h!=="success"?t.show({response:h}):t.show({response:{title:"Successfully sent email!",message:"Your email was successfully sent to the intended recipients."}});};return jsxs(g,{height:e.height||"15rem",width:e.width||"22rem",backgroundColor:"paper",color:"onPaper",corners:"md",padding:"md",spill:"hidden",style:{boxShadow:"rgba(0, 0, 0, 0.35) 0px 5px 15px"},children:[jsx(Yt,{unmountOnExit:true,disableColorIndicator:e.slotProps?.taskResultDialog?.disableColorIndicator,controller:t,indicator:"mail",actionButton:l=>l==="succes"?void 0:Yt.tryAgainButton({disabled:r.read(),onClick:a})}),e.readOnly&&n.read().recipients?jsx(n_,{recipients:i()}):jsx(t_,{readOnly:e.readOnly,recipients:i(),onChange:l=>o("recipients",l.split(Io))}),jsx(o_,{subject:n.read().subject,readOnly:e.readOnly,onChange:l=>o("subject",l)}),jsxs(g,{size:"full",gap:"sm",spill:"hidden",children:[jsx(i_,{defaultValue:n.read().body.text,readOnly:e.readOnly,onChange:l=>o("body",{text:l})}),jsxs(g,{width:"full",row:true,align:"center",justify:"space-between",gap:"md",children:[jsx(bo,{attachments:n.read().attachments,corners:"lg",slotProps:{attachmentsDialog:{...e.slotProps?.attachmentsDialog,unmountOnExit:true,uploadDisabled:e.readOnly||e.slotProps?.attachmentsDialog?.uploadDisabled,deleteDisabled:e.readOnly||e.slotProps?.attachmentsDialog?.deleteDisabled}}}),jsx(So,{size:"2xs",disabled:r.read(),onClick:a})]})]})]})}function t_(e){let[r,t]=useState(false),n=o=>jsx(S,{text:o.value,cursor:"not-allowed",sx:{":hover":{textDecoration:"underline"}}});return jsx(ju,{readOnly:e.readOnly,placeholder:"Recipients",defaultValue:e.recipients.join(Io),onFocus:e.readOnly?void 0:()=>t(true),onBlur:e.readOnly?void 0:()=>t(false),autoFocus:r,leadingContent:r?jsx(S,{fontSize:"xs",text:"To:"}):void 0,trailingContent:jsxs(g,{row:true,gap:"sm",fontSize:"xs",children:[jsx(n,{value:"Cc"}),jsx(n,{value:"Bcc"})]}),indent:{right:"3rem"},onChange:e.onChange})}function n_(e){return jsxs(g,{width:"full",grid:true,gridCols:"1fr auto",gap:"md",justify:"space-between",borderColor:[Do,"bottom"],children:[jsx(g,{row:true,width:"full",gap:"md",spill:"hidden",padding:["sm","bottom"],children:e.recipients.map(r=>jsxs(g,{row:true,align:"center",gap:"sm",fontSize:"xs",color:"onPaper",borderColor:"onPaper[0.1]",padding:"xs",corners:"xl",spill:"hidden",children:[jsx(Ve,{size:"2xs",backgroundColor:"sendBlue[0.25]",color:"sendBlue"}),jsx(S,{ellipsis:true,text:r})]}))}),jsx(Bo,{textToCopy:e.recipients.join(Io)})]})}function o_(e){let r=!!(e.readOnly&&e.subject);return jsxs(g,{row:true,width:"full",gap:"md",justify:"space-between",align:"center",padding:["xs",["top","bottom"]],asChildren:!r,borderColor:[Do,"bottom"],children:[jsx(ju,{disableSepColor:r,placeholder:"Subject",defaultValue:e.subject,readOnly:e.readOnly,onChange:e.onChange}),r&&jsx(Bo,{textToCopy:e.subject})]})}function i_(e){let r=!!(e.defaultValue&&e.readOnly);return jsxs(g,{pos:"relative",size:"full",asChildren:!r,children:[jsx("textarea",{defaultValue:e.defaultValue,readOnly:e.readOnly,style:{position:r?"relative":void 0,scrollbarColor:`${x("onPaper")} transparent`,padding:".6rem",width:"100%",height:"100%",backgroundColor:"transparent",outline:"none",resize:"none",fontSize:Y.xs,zIndex:1,flexShrink:r?0:1},onChange:t=>e.onChange(t.target.value)}),r&&jsx(g,{pos:"absolute",top:"72.5%",left:"85%",style:{zIndex:2},children:jsx(Bo,{textToCopy:e.defaultValue})})]})}function ju(e){return jsx(he,{size:"xs",readOnly:e.readOnly,corners:0,defaultValue:e.defaultValue,autoFocus:e.autoFocus,focusColor:"transparent",onFocus:e.onFocus,onBlur:e.onBlur,indent:e.indent,placeholder:e.placeholder,leadingContent:e.leadingContent,trailingContent:e.trailingContent,borderColor:e.disableSepColor?"transparent":[Do,"bottom"],onChange:e.onChange})}function Bo(e){return jsx(yr,{iconOnly:true,iconSize:"xs",textToCopy:e.textToCopy,backgroundColor:"onPaper[0.1]",color:"onPaper",borderColor:"onPaper[0.25]"})}var a_=r_;c();c();function c_(e){return jsxs(g,{row:true,gap:"md",children:[jsx(Uu,{onClick:e.onNoClick}),jsx(Au,{onClick:e.onYesClick})]})}var Oo=c_;function u_(e){return jsxs(g,{centerContent:true,size:"full",gap:"md",children:[e.icon&&jsx(e.icon,{opacity:.15,size:"5rem"}),jsx(Text,{fontSize:"1.5rem",opacity:.75,children:e.question}),jsx(Oo,{onNoClick:()=>{e.onNoClick?.(),e.onOptionClick?.("no");},onYesClick:()=>{e.onYesClick?.(),e?.onOptionClick?.("yes");}})]})}var d_=u_;c();function f_(e){let r=e.json?JSON.parse(e.json):void 0;return jsx(g,{size:e.fullSize?"full":void 0,height:e.height||"25rem",width:e.width||"35rem",pos:"relative",centerContent:!e.json,padding:"lg",corners:"md",borderColor:"outlineVariant[0.25]",style:{overflow:"auto",backgroundImage:"radial-gradient(circle at 1px 1px, rgba(255,255,255, .1) 1px, transparent 0)",backgroundSize:"20px 20px"},children:e.json?jsx("pre",{style:{width:"100%"},children:jsx("code",{children:jsx(jo,{value:r})})}):jsx(p_,{})})}function p_(){let e=r=>jsx(S,{fontSize:"2rem",color:"jsonBracket",text:r.value});return jsx(g,{centerContent:true,corners:"md",gap:"md",padding:"xl",children:jsx("pre",{children:jsx("code",{children:jsxs("span",{style:{fontSize:"1.5rem"},children:[jsx(e,{value:"{ "}),jsx(S,{color:"jsonKey",text:'"JSON"'}),":",jsx(S,{color:"string",text:'"Viewer"'}),jsx(e,{value:" }"})]})})})})}var g_=["string","number","boolean"];function Eo(e){let r=(()=>{let t=typeof e.value;if(t==="string")return "string";if(t==="number")return "number";if(t==="boolean")return "boolean"})();return jsx(S,{color:r,text:typeof e.value=="string"?`"${e.value}"`:`${e.value}`})}function Lu(e){return jsxs(Fragment,{children:[jsx(S,{width:"full",color:"arrayBracket",text:"["}),e.value.map((r,t)=>jsx(o=>{let i=e.value.some(a=>typeof a=="object");return jsxs(Fragment,{children:[i&&jsx("br",{}),o.children,t===e.value.length-1?"":", ",i&&t===e.value.length-1&&jsx("br",{})]})},{children:typeof r=="object"?jsx(jo,{indent:true,indentInitialBracket:true,value:r}):Array.isArray(r)?jsx(Lu,{value:r}):jsx(Eo,{value:r})})),jsx(S,{color:"arrayBracket",text:"]"})]})}function jo(e){let r="1rem",t=e.indentMultiplier||2,n=e.indent?`calc(${r} * ${t})`:r,o=`calc(${n} / ${t})`;return jsxs(Fragment,{children:[jsx(S,{style:{paddingLeft:e.indentInitialBracket?o:void 0},color:"jsonBracket",text:"{"}),jsx("br",{}),Object.keys(e.value).map((i,a,l)=>{let s=i,u=e.value[s],f=()=>g_.includes(typeof u)?jsx(Eo,{value:u}):Array.isArray(u)?jsx(Lu,{value:u}):typeof u=="object"?jsx(jo,{indent:true,value:u}):jsx(Eo,{value:`${u}`});return jsxs("span",{style:{paddingLeft:n,width:"100%"},children:[jsx(S,{color:"jsonKey",text:`"${s}"`})," : ",jsx(f,{}),a===l.length-1?"":",",jsx("br",{})]})}),jsx(S,{style:{paddingLeft:e.indent?o:void 0},color:"jsonBracket",text:"}"})]})}var Fo=f_;c();c();c();function b_(e){let r=getMimeTypes(distinct(strictArray(e.accepts?Array.isArray(e.accepts)?e.accepts:[e.accepts]:[...At.options].filter(l=>l!=="unknown")))),t=e.multiple?1/0:e.maxFiles??1,n=useRef(null),o=(...l)=>{if(e.disabled)return;let s="target"in l[0]?l[0].target.files:l[0],u=[],f=[],p=h=>strictArray(h).map(_=>toObject(_,{uploadDate:"now",filepath:e.getFilePath?.(_)}));for(let h of s){if(u.length+f.length>=t)break;r.includes(h.type)?u.push(h):f.push(h);}isEmpty(u)||e.onAccept?.(u,p(u)),isEmpty(f)||e.onReject?.(f,p(f));},i=l=>{if(l.preventDefault(),!e.allowDrop||e.disabled)return;let s=[];if(l.dataTransfer.items?s=[...l.dataTransfer.items].filter(u=>u.kind==="file").map(u=>u.getAsFile()):s=[...l.dataTransfer.files],!isEmpty(s)){let u=new DataTransfer;s.forEach(f=>u.items.add(f)),o(s);}},a=()=>{e.disabled||n.current.click();};return jsxs("label",{className:e.className,style:{...C(e),userSelect:e.disableSelection?"none":void 0,cursor:"pointer"},onDrop:i,onDragOver:l=>l.preventDefault(),onClick:a,children:[e.children,jsx("input",{id:"file",type:"file",ref:n,style:{display:"none"},onChange:o,accept:r.join(", "),multiple:e.multiple})]})}var Mu=b_;function Ju(e){return r=>{let{size:t,fontSize:n,iconSize:o,fileClass:i,backgroundColor:a,accepts:l=e?.accepts,...s}=r||{};return jsx(Mu,{spill:"hidden",corners:r.corners||"md",accepts:l,...s||{},allowDrop:false,children:jsx(O,{debug:r.debug,disabled:r.disabled,width:r.width,backgroundColor:a,corners:r.corners||"md",borderColor:r.borderColor,color:r.color,variant:"outline",fontSize:n,leadingEl:HiUpload,iconSize:o,size:t||"sm",text:`Upload ${r.hideFileClass?"":i||e?.fileClass}`.trim(),style:{flexShrink:0}})})}}var nt=Ju({fileClass:"file"}),MR=Ju({fileClass:"receipt",accepts:["img"]});function $_(e){let[r,t]=useState(e.defaultPicture.path),n=({children:i})=>e.label?jsxs(g,{gap:e.rowGap||"md",children:[jsx(S,{fontSize:e.slotProps?.label?.fontSize||"sm",fontWeight:e.slotProps?.label?.fontWeight||"bold",fade:e.slotProps?.label?.fade||.75,text:e.label}),i]}):i,o=(i,a)=>{let l=a[0];t(l.path),e.onChange?.(l);};return jsx(n,{children:jsxs(g,{row:true,gap:e.columnGap||"lg",align:"center",children:[jsx(Ve,{size:"xl",fallback:e.fallback||IoMdImages,src:r||null}),jsx(nt,{fileClass:"photo",accepts:["img"],getFilePath:e.getFilePath,onAccept:o})]})})}var w_=$_;c();function D_(e){let r=e.authProviders||xs.options;return jsxs(g,{padding:"1.75rem",corners:"lg",gap:"xl",width:e.width,borderColor:e.glassy?void 0:"outlineVariant",backgroundColor:e.backgroundColor||(e.glassy?"onSurface[0.1]":"surfaceContainer"),backdropBlur:e.glassy?".5rem":void 0,color:e.color||"onSurface",style:{boxShadow:"rgba(0, 0, 0, 0.35) 0px 5px 15px",zIndex:e.zIndex},children:[e.header||jsxs(g,{width:"full",color:"inherit",children:[jsx(S,{fontWeight:"bold",fontSize:"1.55rem",text:"Sign In"}),jsx("span",{style:{opacity:.75,fontSize:".95rem"},children:"Select a sign-in method to continue."})]}),jsx(g,{width:"full",color:"inherit",children:r.map(t=>jsx(I_,{provider:t,onClick:e.onAuthProviderClick}))})]})}function I_(e){let r=(()=>{switch(e.provider){case "Google":return FcGoogle;default:return e.provider}})(),t=()=>e.onClick(e.provider);return jsx(O,{async:true,width:"full",pendingDelay:1e3,borderColor:"outlineVariant",backgroundColor:"transparent",color:"inherit",padding:".75rem",iconSize:"md",leadingEl:r,text:`Continue with ${e.provider}`,style:{boxShadow:"rgba(0, 0, 0, 0.25) 0px 3px 8px"},onClick:t})}var B_=D_;c();c();var Xu={timestamp:Date.now(),status:"info",response:"Hello World!"};function j_(e){useEffect(()=>{e.initialMessage&&(Xu.response=e.initialMessage);},[]);let r=[Xu,...e.logs];return jsx(g,{size:"full",spill:{x:"hidden",y:"auto"},padding:"lg",corners:"md",borderColor:"outlineVariant",backgroundColor:"outlineVariant[0.1]",gap:"sm",maxHeight:"full",children:jsx(For,{each:r,children:(t,n)=>jsx(F_,{...t,scrollIntoView:n===lastIndex(r)},n)})})}function F_(e){let r={error:"error",success:"carlsbergGreen",info:"teal"};return jsxs("span",{ref:t=>{t&&e.scrollIntoView&&t.scrollIntoView();},style:{fontSize:".85rem",wordSpacing:".25rem"},children:[jsx("span",{style:{opacity:.5,wordSpacing:"normal"},children:format("date",e.timestamp,"hh:mm:ss A")}),"\xA0",jsx("span",{style:{fontWeight:"bold",color:x(r[e.status])},children:`[${e.status}]`}),"\xA0",typeof e.response=="object"&&jsxs(Fragment,{children:[jsx(ou,{labelOpacity:.75,label:e.response.tag}),"\xA0"]}),jsx("span",{style:{wordSpacing:"normal",backgroundColor:e.status==="info"?void 0:x(`${r[e.status]}[0.25]`),padding:"0px .2rem"},children:typeof e.response=="object"?e.response.message:e.response})]})}var Ao=j_;function M_(e){let[r,t]=useState(e.defaultTasks||[]);return useEffect(()=>e.onSnapshot(n=>{let o=Array.isArray(n)?n:"logs"in n?n.logs:null;t(o?sort(o,"timestamp","asc"):[...r,n]);}),[]),jsxs(g,{size:"full",grid:true,gridRows:"1fr .85fr",spill:"hidden",maxHeight:"full",children:[jsx(g,{size:"full",spill:{x:"hidden",y:"auto"},gap:"lg",style:{flexShrink:0},maxHeight:"full",children:jsx(For,{each:e.relatedTaskData,children:({content:n,...o})=>jsx(Vs,{item:o,info:n})})}),jsx(Ao,{initialMessage:"Awaiting registration process...",logs:r})]})}var V_=M_;c();function H_(e){return jsx(he,{...e,leadingAdornment:null,width:e.width||"20rem",backgroundColor:e.backgroundColor||"onSurface[0.1]",leadingContent:jsx(CiSearch,{size:e.searchIconSize||"1.15rem"}),placeholder:e.placeholder||"Search..."})}var _o=H_;c();c();function G_(e){return e.error?jsx(Xt,{...e,tooltip:jsx("span",{children:Object.keys(e.error).map(r=>{let t=r;return jsxs("span",{children:[jsx(S,{fontWeight:"bold",text:camelCaseToLetter(t)+": "}),jsx("span",{style:{textDecoration:"underline",opacity:.75,fontWeight:"normal"},children:e.error[t]}),jsx("br",{})]})})})}):e.children}var Uo=G_;function q_(e){let r=j(e?.verifyError),[t,n]=useState(e?.defaultStatus||"pending"),o=async()=>{let i=await e.onVerifyClick();if(console.log({verifyReq:i}),i.response)return n("success");r.upsert(i.error),n("error");};return jsx(he,{...e,leadingAdornment:jsx(Uo,{wrapChildren:true,asChild:t!=="error",error:r.read(),children:jsx(au,{indicatorSize:".4rem",status:t})}),trailingContent:jsx(Co,{onClick:o})})}var Lo=q_;c();function qu(e){let r=format("name",e.name),t=({value:n,default:o={}})=>{let{fade:i=o.fade,fontSize:a=o.fontSize||e.fontSize||".85rem",fontWeight:l=o.fontWeight,lineHeight:s=o.lineHeight=a,style:u}=e.slotProps?.[n]||{};return jsx(S,{ellipsis:true,fade:i,fontSize:a,fontWeight:l,text:n==="name"?r:e.email,style:{...u||{},lineHeight:u?.lineHeight||(s in Y?Y[s]:s)}})};return jsxs(g,{row:true,align:"center",spill:"hidden",gap:e.columnGap??e.gap??"md",width:e.fullWidth?"full":void 0,style:e.style,children:[jsx(Ve,{size:e.slotProps?.avatar?.size,fallback:e.useDefaultFallback?void 0:r,src:e.picture,backgroundColor:e.slotProps?.avatar?.backgroundColor,color:e.slotProps?.avatar?.color,style:e.slotProps?.avatar?.style,fallbackStyle:e.slotProps?.avatar?.fallbackStyle}),jsxs(g,{gap:e.rowGap??e.gap,width:"full",spill:"hidden",children:[jsx(t,{value:"name"}),jsx(t,{value:"email",default:{fade:.5}})]}),e.trailingEl]})}qu.RemoveButton=e=>jsx(IconButton,{variant:"outline",rounded:"full",size:"2xs",onClick:e.onClick,children:jsx(IoRemove,{})});var tb=qu;c();function Qu(e){return r=>{let[t,n]=useState(false);return jsx(O,{borderColor:r.borderColor||"onSurface[0.25]",backgroundColor:r.backgroundColor||"onSurface[0.1]",color:r.color||"onSurface",size:r.size||"xs",fontSize:r.fontSize,iconSize:r.iconSize,backdropBlur:".1rem",leadingEl:t?IoCheckmark:e.actionIcon,text:r.iconOnly?void 0:e.label(t),onClick:async()=>{if(t)return;let{error:o}=await e.handleOnClick(r);if(o)return console.error(new Error(o.message,{cause:o}));n(true),setTimeout(()=>n(false),3e3);}})}}var yu=Qu({actionIcon:ImPaste,label:e=>e?"Pasted!":"Paste",handleOnClick:async({inputRef:e,onClick:r})=>{let{error:t,response:n}=await readClipboardText();return t?{error:t}:(e?.current&&(e.current.value=n.text),r?.(n.text),{response:"success"})}}),yr=Qu({actionIcon:IoCopyOutline,label:e=>e?"Copied!":"Copy",handleOnClick:async({textToCopy:e,inputRef:r,onClick:t})=>{t?.();let n=e?typeof e=="function"?e():e:r?.current?.value;if(!n)return {error:{code:"BAD_REQUEST",title:"Failed to copy text.",message:"Failed to find the text to copy."}};let{error:o}=await copyToClipboard(n);return o?{error:o}:{response:"success"}}});c();function rd(e){return r=>jsx(O,{disabled:r.disabled,size:r.size,padding:r.padding,corners:"circle",backgroundColor:r.backgroundColor||"onSurface[0.25]",color:r.color||"surface",fontSize:r.iconSize,onClick:r.onClick,children:jsx(Icon,{as:e,boxSize:r.iconSize})})}var IF=rd(BsPlus),BF=rd(BsDash);c();function td(e){return r=>jsx(O,{...e.defaults,text:e.label,onClick:r.onClick})}var Au=td({label:"Yes"}),Uu=td({label:"No",defaults:{variant:"outline"}});c();var LF=Re({preset:{leadingEl:IoMdDownload,text:"Download",trailingEl:null},optional:{backgroundColor:"sendBlue",color:"onSendBlue"}});c();c();function hb(e){let r=j(e.defaulValue?.token||""),t=useRef(null),[n,o]=useState(e.defaulValue?.status),i=async()=>{let l=await e.onVerifyClick?.(r.read());return o(l),l.verified?{response:"success"}:{error:l.error}},a=l=>{r.upsert(l),e.onTokenChange?.(l);};return jsxs(g,{size:"full",spill:"hidden",maxHeight:"full",gap:"lg",children:[jsx(Lo,{allowCopyText:true,allowPasteText:true,required:true,defaultStatus:n?n.verified?"success":"error":"pending",ref:t,placeholder:e.hint,defaultValue:r.read(),onPasteClick:a,onChange:a,onVerifyClick:i}),jsxs(g,{size:"full",spill:"hidden",gap:"sm",children:[n&&jsx(yr,{textToCopy:n.payload}),jsx(Fo,{fullSize:true,json:n?n.payload:void 0})]})]})}var yb=hb;c();c();function Mt(e){switch(e){case "excel":return {filled:RiFileExcel2Fill,outlined:RiFileExcel2Line};case "word":return {filled:RiFileWord2Fill,outlined:RiFileWord2Line};case "pdf":return {filled:FaFilePdf,outlined:FaRegFilePdf};case "img":return {filled:FaFileImage,outlined:FaRegFileImage};case "txt":return {filled:RiFileTextFill,outlined:RiFileTextLine};case "unknown":return {filled:AiFillFileUnknown,outlined:AiOutlineFileUnknown};default:return e}}c();c();c();c();var od=(T=>(T.white="#FFF",T.black="#000",T.gray="#808080",T.pdf="#F40F02",T.word="#41A5EE",T.excel="#21A366",T.img="#8d481f",T.txt="#8c61a9",T.deepSkyBlue="#00BFFF",T.lightSkyBlue="#87CEFA",T.sendBlue="#0a57d0",T.onSendBlue="#c3dfff",T.book_it="#009688",T.stickyNote="#EFAD03",T.matteBlack="#28282B",T.navyBlue="#000080",T.teal="#008080",T.paper="#ffffff",T.onPaper="#28282B",T.paperVariant="#E6E6E6",T.success="#4BB543",T.hyperlink="#2979ff",T.gold="#d4af37",T.carlsbergGreen="#17B169",T.billsRed="#C60C30",T.info="#1565c0",T.error="#C60C30",T.warning="#f9a825",T.jsonKey="#D56C75",T.string="#59A779",T.number="#D19A5A",T.boolean="#56B6C2",T.jsonBracket="#FFCA1D",T.arrayBracket="#DA68A7",T.delete="#C60C30",T.pdf_table_header="#28282B",T))(od||{}),$e=od;c();var Bb=Object.freeze({"primary[0.1]":"var(--primary__100)","primary[0.15]":"var(--primary__150)","primary[0.2]":"var(--primary__200)","primary[0.25]":"var(--primary__250)","primary[0.3]":"var(--primary__300)","primary[0.35]":"var(--primary__350)","primary[0.4]":"var(--primary__400)","primary[0.45]":"var(--primary__450)","primary[0.5]":"var(--primary__500)","primary[0.55]":"var(--primary__550)","primary[0.6]":"var(--primary__600)","primary[0.65]":"var(--primary__650)","primary[0.7]":"var(--primary__700)","primary[0.75]":"var(--primary__750)","primary[0.8]":"var(--primary__800)","primary[0.85]":"var(--primary__850)","primary[0.9]":"var(--primary__900)","primary[0.95]":"var(--primary__950)",primary:"var(--primary)","surfaceTint[0.1]":"var(--surface-tint__100)","surfaceTint[0.15]":"var(--surface-tint__150)","surfaceTint[0.2]":"var(--surface-tint__200)","surfaceTint[0.25]":"var(--surface-tint__250)","surfaceTint[0.3]":"var(--surface-tint__300)","surfaceTint[0.35]":"var(--surface-tint__350)","surfaceTint[0.4]":"var(--surface-tint__400)","surfaceTint[0.45]":"var(--surface-tint__450)","surfaceTint[0.5]":"var(--surface-tint__500)","surfaceTint[0.55]":"var(--surface-tint__550)","surfaceTint[0.6]":"var(--surface-tint__600)","surfaceTint[0.65]":"var(--surface-tint__650)","surfaceTint[0.7]":"var(--surface-tint__700)","surfaceTint[0.75]":"var(--surface-tint__750)","surfaceTint[0.8]":"var(--surface-tint__800)","surfaceTint[0.85]":"var(--surface-tint__850)","surfaceTint[0.9]":"var(--surface-tint__900)","surfaceTint[0.95]":"var(--surface-tint__950)",surfaceTint:"var(--surface-tint)","onPrimary[0.1]":"var(--on-primary__100)","onPrimary[0.15]":"var(--on-primary__150)","onPrimary[0.2]":"var(--on-primary__200)","onPrimary[0.25]":"var(--on-primary__250)","onPrimary[0.3]":"var(--on-primary__300)","onPrimary[0.35]":"var(--on-primary__350)","onPrimary[0.4]":"var(--on-primary__400)","onPrimary[0.45]":"var(--on-primary__450)","onPrimary[0.5]":"var(--on-primary__500)","onPrimary[0.55]":"var(--on-primary__550)","onPrimary[0.6]":"var(--on-primary__600)","onPrimary[0.65]":"var(--on-primary__650)","onPrimary[0.7]":"var(--on-primary__700)","onPrimary[0.75]":"var(--on-primary__750)","onPrimary[0.8]":"var(--on-primary__800)","onPrimary[0.85]":"var(--on-primary__850)","onPrimary[0.9]":"var(--on-primary__900)","onPrimary[0.95]":"var(--on-primary__950)",onPrimary:"var(--on-primary)","primaryContainer[0.1]":"var(--primary-container__100)","primaryContainer[0.15]":"var(--primary-container__150)","primaryContainer[0.2]":"var(--primary-container__200)","primaryContainer[0.25]":"var(--primary-container__250)","primaryContainer[0.3]":"var(--primary-container__300)","primaryContainer[0.35]":"var(--primary-container__350)","primaryContainer[0.4]":"var(--primary-container__400)","primaryContainer[0.45]":"var(--primary-container__450)","primaryContainer[0.5]":"var(--primary-container__500)","primaryContainer[0.55]":"var(--primary-container__550)","primaryContainer[0.6]":"var(--primary-container__600)","primaryContainer[0.65]":"var(--primary-container__650)","primaryContainer[0.7]":"var(--primary-container__700)","primaryContainer[0.75]":"var(--primary-container__750)","primaryContainer[0.8]":"var(--primary-container__800)","primaryContainer[0.85]":"var(--primary-container__850)","primaryContainer[0.9]":"var(--primary-container__900)","primaryContainer[0.95]":"var(--primary-container__950)",primaryContainer:"var(--primary-container)","onPrimaryContainer[0.1]":"var(--on-primary-container__100)","onPrimaryContainer[0.15]":"var(--on-primary-container__150)","onPrimaryContainer[0.2]":"var(--on-primary-container__200)","onPrimaryContainer[0.25]":"var(--on-primary-container__250)","onPrimaryContainer[0.3]":"var(--on-primary-container__300)","onPrimaryContainer[0.35]":"var(--on-primary-container__350)","onPrimaryContainer[0.4]":"var(--on-primary-container__400)","onPrimaryContainer[0.45]":"var(--on-primary-container__450)","onPrimaryContainer[0.5]":"var(--on-primary-container__500)","onPrimaryContainer[0.55]":"var(--on-primary-container__550)","onPrimaryContainer[0.6]":"var(--on-primary-container__600)","onPrimaryContainer[0.65]":"var(--on-primary-container__650)","onPrimaryContainer[0.7]":"var(--on-primary-container__700)","onPrimaryContainer[0.75]":"var(--on-primary-container__750)","onPrimaryContainer[0.8]":"var(--on-primary-container__800)","onPrimaryContainer[0.85]":"var(--on-primary-container__850)","onPrimaryContainer[0.9]":"var(--on-primary-container__900)","onPrimaryContainer[0.95]":"var(--on-primary-container__950)",onPrimaryContainer:"var(--on-primary-container)","secondary[0.1]":"var(--secondary__100)","secondary[0.15]":"var(--secondary__150)","secondary[0.2]":"var(--secondary__200)","secondary[0.25]":"var(--secondary__250)","secondary[0.3]":"var(--secondary__300)","secondary[0.35]":"var(--secondary__350)","secondary[0.4]":"var(--secondary__400)","secondary[0.45]":"var(--secondary__450)","secondary[0.5]":"var(--secondary__500)","secondary[0.55]":"var(--secondary__550)","secondary[0.6]":"var(--secondary__600)","secondary[0.65]":"var(--secondary__650)","secondary[0.7]":"var(--secondary__700)","secondary[0.75]":"var(--secondary__750)","secondary[0.8]":"var(--secondary__800)","secondary[0.85]":"var(--secondary__850)","secondary[0.9]":"var(--secondary__900)","secondary[0.95]":"var(--secondary__950)",secondary:"var(--secondary)","onSecondary[0.1]":"var(--on-secondary__100)","onSecondary[0.15]":"var(--on-secondary__150)","onSecondary[0.2]":"var(--on-secondary__200)","onSecondary[0.25]":"var(--on-secondary__250)","onSecondary[0.3]":"var(--on-secondary__300)","onSecondary[0.35]":"var(--on-secondary__350)","onSecondary[0.4]":"var(--on-secondary__400)","onSecondary[0.45]":"var(--on-secondary__450)","onSecondary[0.5]":"var(--on-secondary__500)","onSecondary[0.55]":"var(--on-secondary__550)","onSecondary[0.6]":"var(--on-secondary__600)","onSecondary[0.65]":"var(--on-secondary__650)","onSecondary[0.7]":"var(--on-secondary__700)","onSecondary[0.75]":"var(--on-secondary__750)","onSecondary[0.8]":"var(--on-secondary__800)","onSecondary[0.85]":"var(--on-secondary__850)","onSecondary[0.9]":"var(--on-secondary__900)","onSecondary[0.95]":"var(--on-secondary__950)",onSecondary:"var(--on-secondary)","secondaryContainer[0.1]":"var(--secondary-container__100)","secondaryContainer[0.15]":"var(--secondary-container__150)","secondaryContainer[0.2]":"var(--secondary-container__200)","secondaryContainer[0.25]":"var(--secondary-container__250)","secondaryContainer[0.3]":"var(--secondary-container__300)","secondaryContainer[0.35]":"var(--secondary-container__350)","secondaryContainer[0.4]":"var(--secondary-container__400)","secondaryContainer[0.45]":"var(--secondary-container__450)","secondaryContainer[0.5]":"var(--secondary-container__500)","secondaryContainer[0.55]":"var(--secondary-container__550)","secondaryContainer[0.6]":"var(--secondary-container__600)","secondaryContainer[0.65]":"var(--secondary-container__650)","secondaryContainer[0.7]":"var(--secondary-container__700)","secondaryContainer[0.75]":"var(--secondary-container__750)","secondaryContainer[0.8]":"var(--secondary-container__800)","secondaryContainer[0.85]":"var(--secondary-container__850)","secondaryContainer[0.9]":"var(--secondary-container__900)","secondaryContainer[0.95]":"var(--secondary-container__950)",secondaryContainer:"var(--secondary-container)","onSecondaryContainer[0.1]":"var(--on-secondary-container__100)","onSecondaryContainer[0.15]":"var(--on-secondary-container__150)","onSecondaryContainer[0.2]":"var(--on-secondary-container__200)","onSecondaryContainer[0.25]":"var(--on-secondary-container__250)","onSecondaryContainer[0.3]":"var(--on-secondary-container__300)","onSecondaryContainer[0.35]":"var(--on-secondary-container__350)","onSecondaryContainer[0.4]":"var(--on-secondary-container__400)","onSecondaryContainer[0.45]":"var(--on-secondary-container__450)","onSecondaryContainer[0.5]":"var(--on-secondary-container__500)","onSecondaryContainer[0.55]":"var(--on-secondary-container__550)","onSecondaryContainer[0.6]":"var(--on-secondary-container__600)","onSecondaryContainer[0.65]":"var(--on-secondary-container__650)","onSecondaryContainer[0.7]":"var(--on-secondary-container__700)","onSecondaryContainer[0.75]":"var(--on-secondary-container__750)","onSecondaryContainer[0.8]":"var(--on-secondary-container__800)","onSecondaryContainer[0.85]":"var(--on-secondary-container__850)","onSecondaryContainer[0.9]":"var(--on-secondary-container__900)","onSecondaryContainer[0.95]":"var(--on-secondary-container__950)",onSecondaryContainer:"var(--on-secondary-container)","tertiary[0.1]":"var(--tertiary__100)","tertiary[0.15]":"var(--tertiary__150)","tertiary[0.2]":"var(--tertiary__200)","tertiary[0.25]":"var(--tertiary__250)","tertiary[0.3]":"var(--tertiary__300)","tertiary[0.35]":"var(--tertiary__350)","tertiary[0.4]":"var(--tertiary__400)","tertiary[0.45]":"var(--tertiary__450)","tertiary[0.5]":"var(--tertiary__500)","tertiary[0.55]":"var(--tertiary__550)","tertiary[0.6]":"var(--tertiary__600)","tertiary[0.65]":"var(--tertiary__650)","tertiary[0.7]":"var(--tertiary__700)","tertiary[0.75]":"var(--tertiary__750)","tertiary[0.8]":"var(--tertiary__800)","tertiary[0.85]":"var(--tertiary__850)","tertiary[0.9]":"var(--tertiary__900)","tertiary[0.95]":"var(--tertiary__950)",tertiary:"var(--tertiary)","onTertiary[0.1]":"var(--on-tertiary__100)","onTertiary[0.15]":"var(--on-tertiary__150)","onTertiary[0.2]":"var(--on-tertiary__200)","onTertiary[0.25]":"var(--on-tertiary__250)","onTertiary[0.3]":"var(--on-tertiary__300)","onTertiary[0.35]":"var(--on-tertiary__350)","onTertiary[0.4]":"var(--on-tertiary__400)","onTertiary[0.45]":"var(--on-tertiary__450)","onTertiary[0.5]":"var(--on-tertiary__500)","onTertiary[0.55]":"var(--on-tertiary__550)","onTertiary[0.6]":"var(--on-tertiary__600)","onTertiary[0.65]":"var(--on-tertiary__650)","onTertiary[0.7]":"var(--on-tertiary__700)","onTertiary[0.75]":"var(--on-tertiary__750)","onTertiary[0.8]":"var(--on-tertiary__800)","onTertiary[0.85]":"var(--on-tertiary__850)","onTertiary[0.9]":"var(--on-tertiary__900)","onTertiary[0.95]":"var(--on-tertiary__950)",onTertiary:"var(--on-tertiary)","tertiaryContainer[0.1]":"var(--tertiary-container__100)","tertiaryContainer[0.15]":"var(--tertiary-container__150)","tertiaryContainer[0.2]":"var(--tertiary-container__200)","tertiaryContainer[0.25]":"var(--tertiary-container__250)","tertiaryContainer[0.3]":"var(--tertiary-container__300)","tertiaryContainer[0.35]":"var(--tertiary-container__350)","tertiaryContainer[0.4]":"var(--tertiary-container__400)","tertiaryContainer[0.45]":"var(--tertiary-container__450)","tertiaryContainer[0.5]":"var(--tertiary-container__500)","tertiaryContainer[0.55]":"var(--tertiary-container__550)","tertiaryContainer[0.6]":"var(--tertiary-container__600)","tertiaryContainer[0.65]":"var(--tertiary-container__650)","tertiaryContainer[0.7]":"var(--tertiary-container__700)","tertiaryContainer[0.75]":"var(--tertiary-container__750)","tertiaryContainer[0.8]":"var(--tertiary-container__800)","tertiaryContainer[0.85]":"var(--tertiary-container__850)","tertiaryContainer[0.9]":"var(--tertiary-container__900)","tertiaryContainer[0.95]":"var(--tertiary-container__950)",tertiaryContainer:"var(--tertiary-container)","onTertiaryContainer[0.1]":"var(--on-tertiary-container__100)","onTertiaryContainer[0.15]":"var(--on-tertiary-container__150)","onTertiaryContainer[0.2]":"var(--on-tertiary-container__200)","onTertiaryContainer[0.25]":"var(--on-tertiary-container__250)","onTertiaryContainer[0.3]":"var(--on-tertiary-container__300)","onTertiaryContainer[0.35]":"var(--on-tertiary-container__350)","onTertiaryContainer[0.4]":"var(--on-tertiary-container__400)","onTertiaryContainer[0.45]":"var(--on-tertiary-container__450)","onTertiaryContainer[0.5]":"var(--on-tertiary-container__500)","onTertiaryContainer[0.55]":"var(--on-tertiary-container__550)","onTertiaryContainer[0.6]":"var(--on-tertiary-container__600)","onTertiaryContainer[0.65]":"var(--on-tertiary-container__650)","onTertiaryContainer[0.7]":"var(--on-tertiary-container__700)","onTertiaryContainer[0.75]":"var(--on-tertiary-container__750)","onTertiaryContainer[0.8]":"var(--on-tertiary-container__800)","onTertiaryContainer[0.85]":"var(--on-tertiary-container__850)","onTertiaryContainer[0.9]":"var(--on-tertiary-container__900)","onTertiaryContainer[0.95]":"var(--on-tertiary-container__950)",onTertiaryContainer:"var(--on-tertiary-container)","error[0.1]":"var(--error__100)","error[0.15]":"var(--error__150)","error[0.2]":"var(--error__200)","error[0.25]":"var(--error__250)","error[0.3]":"var(--error__300)","error[0.35]":"var(--error__350)","error[0.4]":"var(--error__400)","error[0.45]":"var(--error__450)","error[0.5]":"var(--error__500)","error[0.55]":"var(--error__550)","error[0.6]":"var(--error__600)","error[0.65]":"var(--error__650)","error[0.7]":"var(--error__700)","error[0.75]":"var(--error__750)","error[0.8]":"var(--error__800)","error[0.85]":"var(--error__850)","error[0.9]":"var(--error__900)","error[0.95]":"var(--error__950)",error:"var(--error)","onError[0.1]":"var(--on-error__100)","onError[0.15]":"var(--on-error__150)","onError[0.2]":"var(--on-error__200)","onError[0.25]":"var(--on-error__250)","onError[0.3]":"var(--on-error__300)","onError[0.35]":"var(--on-error__350)","onError[0.4]":"var(--on-error__400)","onError[0.45]":"var(--on-error__450)","onError[0.5]":"var(--on-error__500)","onError[0.55]":"var(--on-error__550)","onError[0.6]":"var(--on-error__600)","onError[0.65]":"var(--on-error__650)","onError[0.7]":"var(--on-error__700)","onError[0.75]":"var(--on-error__750)","onError[0.8]":"var(--on-error__800)","onError[0.85]":"var(--on-error__850)","onError[0.9]":"var(--on-error__900)","onError[0.95]":"var(--on-error__950)",onError:"var(--on-error)","errorContainer[0.1]":"var(--error-container__100)","errorContainer[0.15]":"var(--error-container__150)","errorContainer[0.2]":"var(--error-container__200)","errorContainer[0.25]":"var(--error-container__250)","errorContainer[0.3]":"var(--error-container__300)","errorContainer[0.35]":"var(--error-container__350)","errorContainer[0.4]":"var(--error-container__400)","errorContainer[0.45]":"var(--error-container__450)","errorContainer[0.5]":"var(--error-container__500)","errorContainer[0.55]":"var(--error-container__550)","errorContainer[0.6]":"var(--error-container__600)","errorContainer[0.65]":"var(--error-container__650)","errorContainer[0.7]":"var(--error-container__700)","errorContainer[0.75]":"var(--error-container__750)","errorContainer[0.8]":"var(--error-container__800)","errorContainer[0.85]":"var(--error-container__850)","errorContainer[0.9]":"var(--error-container__900)","errorContainer[0.95]":"var(--error-container__950)",errorContainer:"var(--error-container)","onErrorContainer[0.1]":"var(--on-error-container__100)","onErrorContainer[0.15]":"var(--on-error-container__150)","onErrorContainer[0.2]":"var(--on-error-container__200)","onErrorContainer[0.25]":"var(--on-error-container__250)","onErrorContainer[0.3]":"var(--on-error-container__300)","onErrorContainer[0.35]":"var(--on-error-container__350)","onErrorContainer[0.4]":"var(--on-error-container__400)","onErrorContainer[0.45]":"var(--on-error-container__450)","onErrorContainer[0.5]":"var(--on-error-container__500)","onErrorContainer[0.55]":"var(--on-error-container__550)","onErrorContainer[0.6]":"var(--on-error-container__600)","onErrorContainer[0.65]":"var(--on-error-container__650)","onErrorContainer[0.7]":"var(--on-error-container__700)","onErrorContainer[0.75]":"var(--on-error-container__750)","onErrorContainer[0.8]":"var(--on-error-container__800)","onErrorContainer[0.85]":"var(--on-error-container__850)","onErrorContainer[0.9]":"var(--on-error-container__900)","onErrorContainer[0.95]":"var(--on-error-container__950)",onErrorContainer:"var(--on-error-container)","background[0.1]":"var(--background__100)","background[0.15]":"var(--background__150)","background[0.2]":"var(--background__200)","background[0.25]":"var(--background__250)","background[0.3]":"var(--background__300)","background[0.35]":"var(--background__350)","background[0.4]":"var(--background__400)","background[0.45]":"var(--background__450)","background[0.5]":"var(--background__500)","background[0.55]":"var(--background__550)","background[0.6]":"var(--background__600)","background[0.65]":"var(--background__650)","background[0.7]":"var(--background__700)","background[0.75]":"var(--background__750)","background[0.8]":"var(--background__800)","background[0.85]":"var(--background__850)","background[0.9]":"var(--background__900)","background[0.95]":"var(--background__950)",background:"var(--background)","onBackground[0.1]":"var(--on-background__100)","onBackground[0.15]":"var(--on-background__150)","onBackground[0.2]":"var(--on-background__200)","onBackground[0.25]":"var(--on-background__250)","onBackground[0.3]":"var(--on-background__300)","onBackground[0.35]":"var(--on-background__350)","onBackground[0.4]":"var(--on-background__400)","onBackground[0.45]":"var(--on-background__450)","onBackground[0.5]":"var(--on-background__500)","onBackground[0.55]":"var(--on-background__550)","onBackground[0.6]":"var(--on-background__600)","onBackground[0.65]":"var(--on-background__650)","onBackground[0.7]":"var(--on-background__700)","onBackground[0.75]":"var(--on-background__750)","onBackground[0.8]":"var(--on-background__800)","onBackground[0.85]":"var(--on-background__850)","onBackground[0.9]":"var(--on-background__900)","onBackground[0.95]":"var(--on-background__950)",onBackground:"var(--on-background)","surface[0.1]":"var(--surface__100)","surface[0.15]":"var(--surface__150)","surface[0.2]":"var(--surface__200)","surface[0.25]":"var(--surface__250)","surface[0.3]":"var(--surface__300)","surface[0.35]":"var(--surface__350)","surface[0.4]":"var(--surface__400)","surface[0.45]":"var(--surface__450)","surface[0.5]":"var(--surface__500)","surface[0.55]":"var(--surface__550)","surface[0.6]":"var(--surface__600)","surface[0.65]":"var(--surface__650)","surface[0.7]":"var(--surface__700)","surface[0.75]":"var(--surface__750)","surface[0.8]":"var(--surface__800)","surface[0.85]":"var(--surface__850)","surface[0.9]":"var(--surface__900)","surface[0.95]":"var(--surface__950)",surface:"var(--surface)","onSurface[0.1]":"var(--on-surface__100)","onSurface[0.15]":"var(--on-surface__150)","onSurface[0.2]":"var(--on-surface__200)","onSurface[0.25]":"var(--on-surface__250)","onSurface[0.3]":"var(--on-surface__300)","onSurface[0.35]":"var(--on-surface__350)","onSurface[0.4]":"var(--on-surface__400)","onSurface[0.45]":"var(--on-surface__450)","onSurface[0.5]":"var(--on-surface__500)","onSurface[0.55]":"var(--on-surface__550)","onSurface[0.6]":"var(--on-surface__600)","onSurface[0.65]":"var(--on-surface__650)","onSurface[0.7]":"var(--on-surface__700)","onSurface[0.75]":"var(--on-surface__750)","onSurface[0.8]":"var(--on-surface__800)","onSurface[0.85]":"var(--on-surface__850)","onSurface[0.9]":"var(--on-surface__900)","onSurface[0.95]":"var(--on-surface__950)",onSurface:"var(--on-surface)","surfaceVariant[0.1]":"var(--surface-variant__100)","surfaceVariant[0.15]":"var(--surface-variant__150)","surfaceVariant[0.2]":"var(--surface-variant__200)","surfaceVariant[0.25]":"var(--surface-variant__250)","surfaceVariant[0.3]":"var(--surface-variant__300)","surfaceVariant[0.35]":"var(--surface-variant__350)","surfaceVariant[0.4]":"var(--surface-variant__400)","surfaceVariant[0.45]":"var(--surface-variant__450)","surfaceVariant[0.5]":"var(--surface-variant__500)","surfaceVariant[0.55]":"var(--surface-variant__550)","surfaceVariant[0.6]":"var(--surface-variant__600)","surfaceVariant[0.65]":"var(--surface-variant__650)","surfaceVariant[0.7]":"var(--surface-variant__700)","surfaceVariant[0.75]":"var(--surface-variant__750)","surfaceVariant[0.8]":"var(--surface-variant__800)","surfaceVariant[0.85]":"var(--surface-variant__850)","surfaceVariant[0.9]":"var(--surface-variant__900)","surfaceVariant[0.95]":"var(--surface-variant__950)",surfaceVariant:"var(--surface-variant)","onSurfaceVariant[0.1]":"var(--on-surface-variant__100)","onSurfaceVariant[0.15]":"var(--on-surface-variant__150)","onSurfaceVariant[0.2]":"var(--on-surface-variant__200)","onSurfaceVariant[0.25]":"var(--on-surface-variant__250)","onSurfaceVariant[0.3]":"var(--on-surface-variant__300)","onSurfaceVariant[0.35]":"var(--on-surface-variant__350)","onSurfaceVariant[0.4]":"var(--on-surface-variant__400)","onSurfaceVariant[0.45]":"var(--on-surface-variant__450)","onSurfaceVariant[0.5]":"var(--on-surface-variant__500)","onSurfaceVariant[0.55]":"var(--on-surface-variant__550)","onSurfaceVariant[0.6]":"var(--on-surface-variant__600)","onSurfaceVariant[0.65]":"var(--on-surface-variant__650)","onSurfaceVariant[0.7]":"var(--on-surface-variant__700)","onSurfaceVariant[0.75]":"var(--on-surface-variant__750)","onSurfaceVariant[0.8]":"var(--on-surface-variant__800)","onSurfaceVariant[0.85]":"var(--on-surface-variant__850)","onSurfaceVariant[0.9]":"var(--on-surface-variant__900)","onSurfaceVariant[0.95]":"var(--on-surface-variant__950)",onSurfaceVariant:"var(--on-surface-variant)","outline[0.1]":"var(--outline__100)","outline[0.15]":"var(--outline__150)","outline[0.2]":"var(--outline__200)","outline[0.25]":"var(--outline__250)","outline[0.3]":"var(--outline__300)","outline[0.35]":"var(--outline__350)","outline[0.4]":"var(--outline__400)","outline[0.45]":"var(--outline__450)","outline[0.5]":"var(--outline__500)","outline[0.55]":"var(--outline__550)","outline[0.6]":"var(--outline__600)","outline[0.65]":"var(--outline__650)","outline[0.7]":"var(--outline__700)","outline[0.75]":"var(--outline__750)","outline[0.8]":"var(--outline__800)","outline[0.85]":"var(--outline__850)","outline[0.9]":"var(--outline__900)","outline[0.95]":"var(--outline__950)",outline:"var(--outline)","outlineVariant[0.1]":"var(--outline-variant__100)","outlineVariant[0.15]":"var(--outline-variant__150)","outlineVariant[0.2]":"var(--outline-variant__200)","outlineVariant[0.25]":"var(--outline-variant__250)","outlineVariant[0.3]":"var(--outline-variant__300)","outlineVariant[0.35]":"var(--outline-variant__350)","outlineVariant[0.4]":"var(--outline-variant__400)","outlineVariant[0.45]":"var(--outline-variant__450)","outlineVariant[0.5]":"var(--outline-variant__500)","outlineVariant[0.55]":"var(--outline-variant__550)","outlineVariant[0.6]":"var(--outline-variant__600)","outlineVariant[0.65]":"var(--outline-variant__650)","outlineVariant[0.7]":"var(--outline-variant__700)","outlineVariant[0.75]":"var(--outline-variant__750)","outlineVariant[0.8]":"var(--outline-variant__800)","outlineVariant[0.85]":"var(--outline-variant__850)","outlineVariant[0.9]":"var(--outline-variant__900)","outlineVariant[0.95]":"var(--outline-variant__950)",outlineVariant:"var(--outline-variant)","shadow[0.1]":"var(--shadow__100)","shadow[0.15]":"var(--shadow__150)","shadow[0.2]":"var(--shadow__200)","shadow[0.25]":"var(--shadow__250)","shadow[0.3]":"var(--shadow__300)","shadow[0.35]":"var(--shadow__350)","shadow[0.4]":"var(--shadow__400)","shadow[0.45]":"var(--shadow__450)","shadow[0.5]":"var(--shadow__500)","shadow[0.55]":"var(--shadow__550)","shadow[0.6]":"var(--shadow__600)","shadow[0.65]":"var(--shadow__650)","shadow[0.7]":"var(--shadow__700)","shadow[0.75]":"var(--shadow__750)","shadow[0.8]":"var(--shadow__800)","shadow[0.85]":"var(--shadow__850)","shadow[0.9]":"var(--shadow__900)","shadow[0.95]":"var(--shadow__950)",shadow:"var(--shadow)","scrim[0.1]":"var(--scrim__100)","scrim[0.15]":"var(--scrim__150)","scrim[0.2]":"var(--scrim__200)","scrim[0.25]":"var(--scrim__250)","scrim[0.3]":"var(--scrim__300)","scrim[0.35]":"var(--scrim__350)","scrim[0.4]":"var(--scrim__400)","scrim[0.45]":"var(--scrim__450)","scrim[0.5]":"var(--scrim__500)","scrim[0.55]":"var(--scrim__550)","scrim[0.6]":"var(--scrim__600)","scrim[0.65]":"var(--scrim__650)","scrim[0.7]":"var(--scrim__700)","scrim[0.75]":"var(--scrim__750)","scrim[0.8]":"var(--scrim__800)","scrim[0.85]":"var(--scrim__850)","scrim[0.9]":"var(--scrim__900)","scrim[0.95]":"var(--scrim__950)",scrim:"var(--scrim)","inverseSurface[0.1]":"var(--inverse-surface__100)","inverseSurface[0.15]":"var(--inverse-surface__150)","inverseSurface[0.2]":"var(--inverse-surface__200)","inverseSurface[0.25]":"var(--inverse-surface__250)","inverseSurface[0.3]":"var(--inverse-surface__300)","inverseSurface[0.35]":"var(--inverse-surface__350)","inverseSurface[0.4]":"var(--inverse-surface__400)","inverseSurface[0.45]":"var(--inverse-surface__450)","inverseSurface[0.5]":"var(--inverse-surface__500)","inverseSurface[0.55]":"var(--inverse-surface__550)","inverseSurface[0.6]":"var(--inverse-surface__600)","inverseSurface[0.65]":"var(--inverse-surface__650)","inverseSurface[0.7]":"var(--inverse-surface__700)","inverseSurface[0.75]":"var(--inverse-surface__750)","inverseSurface[0.8]":"var(--inverse-surface__800)","inverseSurface[0.85]":"var(--inverse-surface__850)","inverseSurface[0.9]":"var(--inverse-surface__900)","inverseSurface[0.95]":"var(--inverse-surface__950)",inverseSurface:"var(--inverse-surface)","inverseOnSurface[0.1]":"var(--inverse-on-surface__100)","inverseOnSurface[0.15]":"var(--inverse-on-surface__150)","inverseOnSurface[0.2]":"var(--inverse-on-surface__200)","inverseOnSurface[0.25]":"var(--inverse-on-surface__250)","inverseOnSurface[0.3]":"var(--inverse-on-surface__300)","inverseOnSurface[0.35]":"var(--inverse-on-surface__350)","inverseOnSurface[0.4]":"var(--inverse-on-surface__400)","inverseOnSurface[0.45]":"var(--inverse-on-surface__450)","inverseOnSurface[0.5]":"var(--inverse-on-surface__500)","inverseOnSurface[0.55]":"var(--inverse-on-surface__550)","inverseOnSurface[0.6]":"var(--inverse-on-surface__600)","inverseOnSurface[0.65]":"var(--inverse-on-surface__650)","inverseOnSurface[0.7]":"var(--inverse-on-surface__700)","inverseOnSurface[0.75]":"var(--inverse-on-surface__750)","inverseOnSurface[0.8]":"var(--inverse-on-surface__800)","inverseOnSurface[0.85]":"var(--inverse-on-surface__850)","inverseOnSurface[0.9]":"var(--inverse-on-surface__900)","inverseOnSurface[0.95]":"var(--inverse-on-surface__950)",inverseOnSurface:"var(--inverse-on-surface)","inversePrimary[0.1]":"var(--inverse-primary__100)","inversePrimary[0.15]":"var(--inverse-primary__150)","inversePrimary[0.2]":"var(--inverse-primary__200)","inversePrimary[0.25]":"var(--inverse-primary__250)","inversePrimary[0.3]":"var(--inverse-primary__300)","inversePrimary[0.35]":"var(--inverse-primary__350)","inversePrimary[0.4]":"var(--inverse-primary__400)","inversePrimary[0.45]":"var(--inverse-primary__450)","inversePrimary[0.5]":"var(--inverse-primary__500)","inversePrimary[0.55]":"var(--inverse-primary__550)","inversePrimary[0.6]":"var(--inverse-primary__600)","inversePrimary[0.65]":"var(--inverse-primary__650)","inversePrimary[0.7]":"var(--inverse-primary__700)","inversePrimary[0.75]":"var(--inverse-primary__750)","inversePrimary[0.8]":"var(--inverse-primary__800)","inversePrimary[0.85]":"var(--inverse-primary__850)","inversePrimary[0.9]":"var(--inverse-primary__900)","inversePrimary[0.95]":"var(--inverse-primary__950)",inversePrimary:"var(--inverse-primary)","primaryFixed[0.1]":"var(--primary-fixed__100)","primaryFixed[0.15]":"var(--primary-fixed__150)","primaryFixed[0.2]":"var(--primary-fixed__200)","primaryFixed[0.25]":"var(--primary-fixed__250)","primaryFixed[0.3]":"var(--primary-fixed__300)","primaryFixed[0.35]":"var(--primary-fixed__350)","primaryFixed[0.4]":"var(--primary-fixed__400)","primaryFixed[0.45]":"var(--primary-fixed__450)","primaryFixed[0.5]":"var(--primary-fixed__500)","primaryFixed[0.55]":"var(--primary-fixed__550)","primaryFixed[0.6]":"var(--primary-fixed__600)","primaryFixed[0.65]":"var(--primary-fixed__650)","primaryFixed[0.7]":"var(--primary-fixed__700)","primaryFixed[0.75]":"var(--primary-fixed__750)","primaryFixed[0.8]":"var(--primary-fixed__800)","primaryFixed[0.85]":"var(--primary-fixed__850)","primaryFixed[0.9]":"var(--primary-fixed__900)","primaryFixed[0.95]":"var(--primary-fixed__950)",primaryFixed:"var(--primary-fixed)","onPrimaryFixed[0.1]":"var(--on-primary-fixed__100)","onPrimaryFixed[0.15]":"var(--on-primary-fixed__150)","onPrimaryFixed[0.2]":"var(--on-primary-fixed__200)","onPrimaryFixed[0.25]":"var(--on-primary-fixed__250)","onPrimaryFixed[0.3]":"var(--on-primary-fixed__300)","onPrimaryFixed[0.35]":"var(--on-primary-fixed__350)","onPrimaryFixed[0.4]":"var(--on-primary-fixed__400)","onPrimaryFixed[0.45]":"var(--on-primary-fixed__450)","onPrimaryFixed[0.5]":"var(--on-primary-fixed__500)","onPrimaryFixed[0.55]":"var(--on-primary-fixed__550)","onPrimaryFixed[0.6]":"var(--on-primary-fixed__600)","onPrimaryFixed[0.65]":"var(--on-primary-fixed__650)","onPrimaryFixed[0.7]":"var(--on-primary-fixed__700)","onPrimaryFixed[0.75]":"var(--on-primary-fixed__750)","onPrimaryFixed[0.8]":"var(--on-primary-fixed__800)","onPrimaryFixed[0.85]":"var(--on-primary-fixed__850)","onPrimaryFixed[0.9]":"var(--on-primary-fixed__900)","onPrimaryFixed[0.95]":"var(--on-primary-fixed__950)",onPrimaryFixed:"var(--on-primary-fixed)","primaryFixedDim[0.1]":"var(--primary-fixed-dim__100)","primaryFixedDim[0.15]":"var(--primary-fixed-dim__150)","primaryFixedDim[0.2]":"var(--primary-fixed-dim__200)","primaryFixedDim[0.25]":"var(--primary-fixed-dim__250)","primaryFixedDim[0.3]":"var(--primary-fixed-dim__300)","primaryFixedDim[0.35]":"var(--primary-fixed-dim__350)","primaryFixedDim[0.4]":"var(--primary-fixed-dim__400)","primaryFixedDim[0.45]":"var(--primary-fixed-dim__450)","primaryFixedDim[0.5]":"var(--primary-fixed-dim__500)","primaryFixedDim[0.55]":"var(--primary-fixed-dim__550)","primaryFixedDim[0.6]":"var(--primary-fixed-dim__600)","primaryFixedDim[0.65]":"var(--primary-fixed-dim__650)","primaryFixedDim[0.7]":"var(--primary-fixed-dim__700)","primaryFixedDim[0.75]":"var(--primary-fixed-dim__750)","primaryFixedDim[0.8]":"var(--primary-fixed-dim__800)","primaryFixedDim[0.85]":"var(--primary-fixed-dim__850)","primaryFixedDim[0.9]":"var(--primary-fixed-dim__900)","primaryFixedDim[0.95]":"var(--primary-fixed-dim__950)",primaryFixedDim:"var(--primary-fixed-dim)","onPrimaryFixedVariant[0.1]":"var(--on-primary-fixed-variant__100)","onPrimaryFixedVariant[0.15]":"var(--on-primary-fixed-variant__150)","onPrimaryFixedVariant[0.2]":"var(--on-primary-fixed-variant__200)","onPrimaryFixedVariant[0.25]":"var(--on-primary-fixed-variant__250)","onPrimaryFixedVariant[0.3]":"var(--on-primary-fixed-variant__300)","onPrimaryFixedVariant[0.35]":"var(--on-primary-fixed-variant__350)","onPrimaryFixedVariant[0.4]":"var(--on-primary-fixed-variant__400)","onPrimaryFixedVariant[0.45]":"var(--on-primary-fixed-variant__450)","onPrimaryFixedVariant[0.5]":"var(--on-primary-fixed-variant__500)","onPrimaryFixedVariant[0.55]":"var(--on-primary-fixed-variant__550)","onPrimaryFixedVariant[0.6]":"var(--on-primary-fixed-variant__600)","onPrimaryFixedVariant[0.65]":"var(--on-primary-fixed-variant__650)","onPrimaryFixedVariant[0.7]":"var(--on-primary-fixed-variant__700)","onPrimaryFixedVariant[0.75]":"var(--on-primary-fixed-variant__750)","onPrimaryFixedVariant[0.8]":"var(--on-primary-fixed-variant__800)","onPrimaryFixedVariant[0.85]":"var(--on-primary-fixed-variant__850)","onPrimaryFixedVariant[0.9]":"var(--on-primary-fixed-variant__900)","onPrimaryFixedVariant[0.95]":"var(--on-primary-fixed-variant__950)",onPrimaryFixedVariant:"var(--on-primary-fixed-variant)","secondaryFixed[0.1]":"var(--secondary-fixed__100)","secondaryFixed[0.15]":"var(--secondary-fixed__150)","secondaryFixed[0.2]":"var(--secondary-fixed__200)","secondaryFixed[0.25]":"var(--secondary-fixed__250)","secondaryFixed[0.3]":"var(--secondary-fixed__300)","secondaryFixed[0.35]":"var(--secondary-fixed__350)","secondaryFixed[0.4]":"var(--secondary-fixed__400)","secondaryFixed[0.45]":"var(--secondary-fixed__450)","secondaryFixed[0.5]":"var(--secondary-fixed__500)","secondaryFixed[0.55]":"var(--secondary-fixed__550)","secondaryFixed[0.6]":"var(--secondary-fixed__600)","secondaryFixed[0.65]":"var(--secondary-fixed__650)","secondaryFixed[0.7]":"var(--secondary-fixed__700)","secondaryFixed[0.75]":"var(--secondary-fixed__750)","secondaryFixed[0.8]":"var(--secondary-fixed__800)","secondaryFixed[0.85]":"var(--secondary-fixed__850)","secondaryFixed[0.9]":"var(--secondary-fixed__900)","secondaryFixed[0.95]":"var(--secondary-fixed__950)",secondaryFixed:"var(--secondary-fixed)","onSecondaryFixed[0.1]":"var(--on-secondary-fixed__100)","onSecondaryFixed[0.15]":"var(--on-secondary-fixed__150)","onSecondaryFixed[0.2]":"var(--on-secondary-fixed__200)","onSecondaryFixed[0.25]":"var(--on-secondary-fixed__250)","onSecondaryFixed[0.3]":"var(--on-secondary-fixed__300)","onSecondaryFixed[0.35]":"var(--on-secondary-fixed__350)","onSecondaryFixed[0.4]":"var(--on-secondary-fixed__400)","onSecondaryFixed[0.45]":"var(--on-secondary-fixed__450)","onSecondaryFixed[0.5]":"var(--on-secondary-fixed__500)","onSecondaryFixed[0.55]":"var(--on-secondary-fixed__550)","onSecondaryFixed[0.6]":"var(--on-secondary-fixed__600)","onSecondaryFixed[0.65]":"var(--on-secondary-fixed__650)","onSecondaryFixed[0.7]":"var(--on-secondary-fixed__700)","onSecondaryFixed[0.75]":"var(--on-secondary-fixed__750)","onSecondaryFixed[0.8]":"var(--on-secondary-fixed__800)","onSecondaryFixed[0.85]":"var(--on-secondary-fixed__850)","onSecondaryFixed[0.9]":"var(--on-secondary-fixed__900)","onSecondaryFixed[0.95]":"var(--on-secondary-fixed__950)",onSecondaryFixed:"var(--on-secondary-fixed)","secondaryFixedDim[0.1]":"var(--secondary-fixed-dim__100)","secondaryFixedDim[0.15]":"var(--secondary-fixed-dim__150)","secondaryFixedDim[0.2]":"var(--secondary-fixed-dim__200)","secondaryFixedDim[0.25]":"var(--secondary-fixed-dim__250)","secondaryFixedDim[0.3]":"var(--secondary-fixed-dim__300)","secondaryFixedDim[0.35]":"var(--secondary-fixed-dim__350)","secondaryFixedDim[0.4]":"var(--secondary-fixed-dim__400)","secondaryFixedDim[0.45]":"var(--secondary-fixed-dim__450)","secondaryFixedDim[0.5]":"var(--secondary-fixed-dim__500)","secondaryFixedDim[0.55]":"var(--secondary-fixed-dim__550)","secondaryFixedDim[0.6]":"var(--secondary-fixed-dim__600)","secondaryFixedDim[0.65]":"var(--secondary-fixed-dim__650)","secondaryFixedDim[0.7]":"var(--secondary-fixed-dim__700)","secondaryFixedDim[0.75]":"var(--secondary-fixed-dim__750)","secondaryFixedDim[0.8]":"var(--secondary-fixed-dim__800)","secondaryFixedDim[0.85]":"var(--secondary-fixed-dim__850)","secondaryFixedDim[0.9]":"var(--secondary-fixed-dim__900)","secondaryFixedDim[0.95]":"var(--secondary-fixed-dim__950)",secondaryFixedDim:"var(--secondary-fixed-dim)","onSecondaryFixedVariant[0.1]":"var(--on-secondary-fixed-variant__100)","onSecondaryFixedVariant[0.15]":"var(--on-secondary-fixed-variant__150)","onSecondaryFixedVariant[0.2]":"var(--on-secondary-fixed-variant__200)","onSecondaryFixedVariant[0.25]":"var(--on-secondary-fixed-variant__250)","onSecondaryFixedVariant[0.3]":"var(--on-secondary-fixed-variant__300)","onSecondaryFixedVariant[0.35]":"var(--on-secondary-fixed-variant__350)","onSecondaryFixedVariant[0.4]":"var(--on-secondary-fixed-variant__400)","onSecondaryFixedVariant[0.45]":"var(--on-secondary-fixed-variant__450)","onSecondaryFixedVariant[0.5]":"var(--on-secondary-fixed-variant__500)","onSecondaryFixedVariant[0.55]":"var(--on-secondary-fixed-variant__550)","onSecondaryFixedVariant[0.6]":"var(--on-secondary-fixed-variant__600)","onSecondaryFixedVariant[0.65]":"var(--on-secondary-fixed-variant__650)","onSecondaryFixedVariant[0.7]":"var(--on-secondary-fixed-variant__700)","onSecondaryFixedVariant[0.75]":"var(--on-secondary-fixed-variant__750)","onSecondaryFixedVariant[0.8]":"var(--on-secondary-fixed-variant__800)","onSecondaryFixedVariant[0.85]":"var(--on-secondary-fixed-variant__850)","onSecondaryFixedVariant[0.9]":"var(--on-secondary-fixed-variant__900)","onSecondaryFixedVariant[0.95]":"var(--on-secondary-fixed-variant__950)",onSecondaryFixedVariant:"var(--on-secondary-fixed-variant)","tertiaryFixed[0.1]":"var(--tertiary-fixed__100)","tertiaryFixed[0.15]":"var(--tertiary-fixed__150)","tertiaryFixed[0.2]":"var(--tertiary-fixed__200)","tertiaryFixed[0.25]":"var(--tertiary-fixed__250)","tertiaryFixed[0.3]":"var(--tertiary-fixed__300)","tertiaryFixed[0.35]":"var(--tertiary-fixed__350)","tertiaryFixed[0.4]":"var(--tertiary-fixed__400)","tertiaryFixed[0.45]":"var(--tertiary-fixed__450)","tertiaryFixed[0.5]":"var(--tertiary-fixed__500)","tertiaryFixed[0.55]":"var(--tertiary-fixed__550)","tertiaryFixed[0.6]":"var(--tertiary-fixed__600)","tertiaryFixed[0.65]":"var(--tertiary-fixed__650)","tertiaryFixed[0.7]":"var(--tertiary-fixed__700)","tertiaryFixed[0.75]":"var(--tertiary-fixed__750)","tertiaryFixed[0.8]":"var(--tertiary-fixed__800)","tertiaryFixed[0.85]":"var(--tertiary-fixed__850)","tertiaryFixed[0.9]":"var(--tertiary-fixed__900)","tertiaryFixed[0.95]":"var(--tertiary-fixed__950)",tertiaryFixed:"var(--tertiary-fixed)","onTertiaryFixed[0.1]":"var(--on-tertiary-fixed__100)","onTertiaryFixed[0.15]":"var(--on-tertiary-fixed__150)","onTertiaryFixed[0.2]":"var(--on-tertiary-fixed__200)","onTertiaryFixed[0.25]":"var(--on-tertiary-fixed__250)","onTertiaryFixed[0.3]":"var(--on-tertiary-fixed__300)","onTertiaryFixed[0.35]":"var(--on-tertiary-fixed__350)","onTertiaryFixed[0.4]":"var(--on-tertiary-fixed__400)","onTertiaryFixed[0.45]":"var(--on-tertiary-fixed__450)","onTertiaryFixed[0.5]":"var(--on-tertiary-fixed__500)","onTertiaryFixed[0.55]":"var(--on-tertiary-fixed__550)","onTertiaryFixed[0.6]":"var(--on-tertiary-fixed__600)","onTertiaryFixed[0.65]":"var(--on-tertiary-fixed__650)","onTertiaryFixed[0.7]":"var(--on-tertiary-fixed__700)","onTertiaryFixed[0.75]":"var(--on-tertiary-fixed__750)","onTertiaryFixed[0.8]":"var(--on-tertiary-fixed__800)","onTertiaryFixed[0.85]":"var(--on-tertiary-fixed__850)","onTertiaryFixed[0.9]":"var(--on-tertiary-fixed__900)","onTertiaryFixed[0.95]":"var(--on-tertiary-fixed__950)",onTertiaryFixed:"var(--on-tertiary-fixed)","tertiaryFixedDim[0.1]":"var(--tertiary-fixed-dim__100)","tertiaryFixedDim[0.15]":"var(--tertiary-fixed-dim__150)","tertiaryFixedDim[0.2]":"var(--tertiary-fixed-dim__200)","tertiaryFixedDim[0.25]":"var(--tertiary-fixed-dim__250)","tertiaryFixedDim[0.3]":"var(--tertiary-fixed-dim__300)","tertiaryFixedDim[0.35]":"var(--tertiary-fixed-dim__350)","tertiaryFixedDim[0.4]":"var(--tertiary-fixed-dim__400)","tertiaryFixedDim[0.45]":"var(--tertiary-fixed-dim__450)","tertiaryFixedDim[0.5]":"var(--tertiary-fixed-dim__500)","tertiaryFixedDim[0.55]":"var(--tertiary-fixed-dim__550)","tertiaryFixedDim[0.6]":"var(--tertiary-fixed-dim__600)","tertiaryFixedDim[0.65]":"var(--tertiary-fixed-dim__650)","tertiaryFixedDim[0.7]":"var(--tertiary-fixed-dim__700)","tertiaryFixedDim[0.75]":"var(--tertiary-fixed-dim__750)","tertiaryFixedDim[0.8]":"var(--tertiary-fixed-dim__800)","tertiaryFixedDim[0.85]":"var(--tertiary-fixed-dim__850)","tertiaryFixedDim[0.9]":"var(--tertiary-fixed-dim__900)","tertiaryFixedDim[0.95]":"var(--tertiary-fixed-dim__950)",tertiaryFixedDim:"var(--tertiary-fixed-dim)","onTertiaryFixedVariant[0.1]":"var(--on-tertiary-fixed-variant__100)","onTertiaryFixedVariant[0.15]":"var(--on-tertiary-fixed-variant__150)","onTertiaryFixedVariant[0.2]":"var(--on-tertiary-fixed-variant__200)","onTertiaryFixedVariant[0.25]":"var(--on-tertiary-fixed-variant__250)","onTertiaryFixedVariant[0.3]":"var(--on-tertiary-fixed-variant__300)","onTertiaryFixedVariant[0.35]":"var(--on-tertiary-fixed-variant__350)","onTertiaryFixedVariant[0.4]":"var(--on-tertiary-fixed-variant__400)","onTertiaryFixedVariant[0.45]":"var(--on-tertiary-fixed-variant__450)","onTertiaryFixedVariant[0.5]":"var(--on-tertiary-fixed-variant__500)","onTertiaryFixedVariant[0.55]":"var(--on-tertiary-fixed-variant__550)","onTertiaryFixedVariant[0.6]":"var(--on-tertiary-fixed-variant__600)","onTertiaryFixedVariant[0.65]":"var(--on-tertiary-fixed-variant__650)","onTertiaryFixedVariant[0.7]":"var(--on-tertiary-fixed-variant__700)","onTertiaryFixedVariant[0.75]":"var(--on-tertiary-fixed-variant__750)","onTertiaryFixedVariant[0.8]":"var(--on-tertiary-fixed-variant__800)","onTertiaryFixedVariant[0.85]":"var(--on-tertiary-fixed-variant__850)","onTertiaryFixedVariant[0.9]":"var(--on-tertiary-fixed-variant__900)","onTertiaryFixedVariant[0.95]":"var(--on-tertiary-fixed-variant__950)",onTertiaryFixedVariant:"var(--on-tertiary-fixed-variant)","surfaceDim[0.1]":"var(--surface-dim__100)","surfaceDim[0.15]":"var(--surface-dim__150)","surfaceDim[0.2]":"var(--surface-dim__200)","surfaceDim[0.25]":"var(--surface-dim__250)","surfaceDim[0.3]":"var(--surface-dim__300)","surfaceDim[0.35]":"var(--surface-dim__350)","surfaceDim[0.4]":"var(--surface-dim__400)","surfaceDim[0.45]":"var(--surface-dim__450)","surfaceDim[0.5]":"var(--surface-dim__500)","surfaceDim[0.55]":"var(--surface-dim__550)","surfaceDim[0.6]":"var(--surface-dim__600)","surfaceDim[0.65]":"var(--surface-dim__650)","surfaceDim[0.7]":"var(--surface-dim__700)","surfaceDim[0.75]":"var(--surface-dim__750)","surfaceDim[0.8]":"var(--surface-dim__800)","surfaceDim[0.85]":"var(--surface-dim__850)","surfaceDim[0.9]":"var(--surface-dim__900)","surfaceDim[0.95]":"var(--surface-dim__950)",surfaceDim:"var(--surface-dim)","surfaceBright[0.1]":"var(--surface-bright__100)","surfaceBright[0.15]":"var(--surface-bright__150)","surfaceBright[0.2]":"var(--surface-bright__200)","surfaceBright[0.25]":"var(--surface-bright__250)","surfaceBright[0.3]":"var(--surface-bright__300)","surfaceBright[0.35]":"var(--surface-bright__350)","surfaceBright[0.4]":"var(--surface-bright__400)","surfaceBright[0.45]":"var(--surface-bright__450)","surfaceBright[0.5]":"var(--surface-bright__500)","surfaceBright[0.55]":"var(--surface-bright__550)","surfaceBright[0.6]":"var(--surface-bright__600)","surfaceBright[0.65]":"var(--surface-bright__650)","surfaceBright[0.7]":"var(--surface-bright__700)","surfaceBright[0.75]":"var(--surface-bright__750)","surfaceBright[0.8]":"var(--surface-bright__800)","surfaceBright[0.85]":"var(--surface-bright__850)","surfaceBright[0.9]":"var(--surface-bright__900)","surfaceBright[0.95]":"var(--surface-bright__950)",surfaceBright:"var(--surface-bright)","surfaceContainerLowest[0.1]":"var(--surface-container-lowest__100)","surfaceContainerLowest[0.15]":"var(--surface-container-lowest__150)","surfaceContainerLowest[0.2]":"var(--surface-container-lowest__200)","surfaceContainerLowest[0.25]":"var(--surface-container-lowest__250)","surfaceContainerLowest[0.3]":"var(--surface-container-lowest__300)","surfaceContainerLowest[0.35]":"var(--surface-container-lowest__350)","surfaceContainerLowest[0.4]":"var(--surface-container-lowest__400)","surfaceContainerLowest[0.45]":"var(--surface-container-lowest__450)","surfaceContainerLowest[0.5]":"var(--surface-container-lowest__500)","surfaceContainerLowest[0.55]":"var(--surface-container-lowest__550)","surfaceContainerLowest[0.6]":"var(--surface-container-lowest__600)","surfaceContainerLowest[0.65]":"var(--surface-container-lowest__650)","surfaceContainerLowest[0.7]":"var(--surface-container-lowest__700)","surfaceContainerLowest[0.75]":"var(--surface-container-lowest__750)","surfaceContainerLowest[0.8]":"var(--surface-container-lowest__800)","surfaceContainerLowest[0.85]":"var(--surface-container-lowest__850)","surfaceContainerLowest[0.9]":"var(--surface-container-lowest__900)","surfaceContainerLowest[0.95]":"var(--surface-container-lowest__950)",surfaceContainerLowest:"var(--surface-container-lowest)","surfaceContainerLow[0.1]":"var(--surface-container-low__100)","surfaceContainerLow[0.15]":"var(--surface-container-low__150)","surfaceContainerLow[0.2]":"var(--surface-container-low__200)","surfaceContainerLow[0.25]":"var(--surface-container-low__250)","surfaceContainerLow[0.3]":"var(--surface-container-low__300)","surfaceContainerLow[0.35]":"var(--surface-container-low__350)","surfaceContainerLow[0.4]":"var(--surface-container-low__400)","surfaceContainerLow[0.45]":"var(--surface-container-low__450)","surfaceContainerLow[0.5]":"var(--surface-container-low__500)","surfaceContainerLow[0.55]":"var(--surface-container-low__550)","surfaceContainerLow[0.6]":"var(--surface-container-low__600)","surfaceContainerLow[0.65]":"var(--surface-container-low__650)","surfaceContainerLow[0.7]":"var(--surface-container-low__700)","surfaceContainerLow[0.75]":"var(--surface-container-low__750)","surfaceContainerLow[0.8]":"var(--surface-container-low__800)","surfaceContainerLow[0.85]":"var(--surface-container-low__850)","surfaceContainerLow[0.9]":"var(--surface-container-low__900)","surfaceContainerLow[0.95]":"var(--surface-container-low__950)",surfaceContainerLow:"var(--surface-container-low)","surfaceContainer[0.1]":"var(--surface-container__100)","surfaceContainer[0.15]":"var(--surface-container__150)","surfaceContainer[0.2]":"var(--surface-container__200)","surfaceContainer[0.25]":"var(--surface-container__250)","surfaceContainer[0.3]":"var(--surface-container__300)","surfaceContainer[0.35]":"var(--surface-container__350)","surfaceContainer[0.4]":"var(--surface-container__400)","surfaceContainer[0.45]":"var(--surface-container__450)","surfaceContainer[0.5]":"var(--surface-container__500)","surfaceContainer[0.55]":"var(--surface-container__550)","surfaceContainer[0.6]":"var(--surface-container__600)","surfaceContainer[0.65]":"var(--surface-container__650)","surfaceContainer[0.7]":"var(--surface-container__700)","surfaceContainer[0.75]":"var(--surface-container__750)","surfaceContainer[0.8]":"var(--surface-container__800)","surfaceContainer[0.85]":"var(--surface-container__850)","surfaceContainer[0.9]":"var(--surface-container__900)","surfaceContainer[0.95]":"var(--surface-container__950)",surfaceContainer:"var(--surface-container)","surfaceContainerHigh[0.1]":"var(--surface-container-high__100)","surfaceContainerHigh[0.15]":"var(--surface-container-high__150)","surfaceContainerHigh[0.2]":"var(--surface-container-high__200)","surfaceContainerHigh[0.25]":"var(--surface-container-high__250)","surfaceContainerHigh[0.3]":"var(--surface-container-high__300)","surfaceContainerHigh[0.35]":"var(--surface-container-high__350)","surfaceContainerHigh[0.4]":"var(--surface-container-high__400)","surfaceContainerHigh[0.45]":"var(--surface-container-high__450)","surfaceContainerHigh[0.5]":"var(--surface-container-high__500)","surfaceContainerHigh[0.55]":"var(--surface-container-high__550)","surfaceContainerHigh[0.6]":"var(--surface-container-high__600)","surfaceContainerHigh[0.65]":"var(--surface-container-high__650)","surfaceContainerHigh[0.7]":"var(--surface-container-high__700)","surfaceContainerHigh[0.75]":"var(--surface-container-high__750)","surfaceContainerHigh[0.8]":"var(--surface-container-high__800)","surfaceContainerHigh[0.85]":"var(--surface-container-high__850)","surfaceContainerHigh[0.9]":"var(--surface-container-high__900)","surfaceContainerHigh[0.95]":"var(--surface-container-high__950)",surfaceContainerHigh:"var(--surface-container-high)","surfaceContainerHighest[0.1]":"var(--surface-container-highest__100)","surfaceContainerHighest[0.15]":"var(--surface-container-highest__150)","surfaceContainerHighest[0.2]":"var(--surface-container-highest__200)","surfaceContainerHighest[0.25]":"var(--surface-container-highest__250)","surfaceContainerHighest[0.3]":"var(--surface-container-highest__300)","surfaceContainerHighest[0.35]":"var(--surface-container-highest__350)","surfaceContainerHighest[0.4]":"var(--surface-container-highest__400)","surfaceContainerHighest[0.45]":"var(--surface-container-highest__450)","surfaceContainerHighest[0.5]":"var(--surface-container-highest__500)","surfaceContainerHighest[0.55]":"var(--surface-container-highest__550)","surfaceContainerHighest[0.6]":"var(--surface-container-highest__600)","surfaceContainerHighest[0.65]":"var(--surface-container-highest__650)","surfaceContainerHighest[0.7]":"var(--surface-container-highest__700)","surfaceContainerHighest[0.75]":"var(--surface-container-highest__750)","surfaceContainerHighest[0.8]":"var(--surface-container-highest__800)","surfaceContainerHighest[0.85]":"var(--surface-container-highest__850)","surfaceContainerHighest[0.9]":"var(--surface-container-highest__900)","surfaceContainerHighest[0.95]":"var(--surface-container-highest__950)",surfaceContainerHighest:"var(--surface-container-highest)","themelessSurface[0.1]":"var(--themeless-surface__100)","themelessSurface[0.15]":"var(--themeless-surface__150)","themelessSurface[0.2]":"var(--themeless-surface__200)","themelessSurface[0.25]":"var(--themeless-surface__250)","themelessSurface[0.3]":"var(--themeless-surface__300)","themelessSurface[0.35]":"var(--themeless-surface__350)","themelessSurface[0.4]":"var(--themeless-surface__400)","themelessSurface[0.45]":"var(--themeless-surface__450)","themelessSurface[0.5]":"var(--themeless-surface__500)","themelessSurface[0.55]":"var(--themeless-surface__550)","themelessSurface[0.6]":"var(--themeless-surface__600)","themelessSurface[0.65]":"var(--themeless-surface__650)","themelessSurface[0.7]":"var(--themeless-surface__700)","themelessSurface[0.75]":"var(--themeless-surface__750)","themelessSurface[0.8]":"var(--themeless-surface__800)","themelessSurface[0.85]":"var(--themeless-surface__850)","themelessSurface[0.9]":"var(--themeless-surface__900)","themelessSurface[0.95]":"var(--themeless-surface__950)",themelessSurface:"var(--themeless-surface)","themelessOnSurface[0.1]":"var(--themeless-on-surface__100)","themelessOnSurface[0.15]":"var(--themeless-on-surface__150)","themelessOnSurface[0.2]":"var(--themeless-on-surface__200)","themelessOnSurface[0.25]":"var(--themeless-on-surface__250)","themelessOnSurface[0.3]":"var(--themeless-on-surface__300)","themelessOnSurface[0.35]":"var(--themeless-on-surface__350)","themelessOnSurface[0.4]":"var(--themeless-on-surface__400)","themelessOnSurface[0.45]":"var(--themeless-on-surface__450)","themelessOnSurface[0.5]":"var(--themeless-on-surface__500)","themelessOnSurface[0.55]":"var(--themeless-on-surface__550)","themelessOnSurface[0.6]":"var(--themeless-on-surface__600)","themelessOnSurface[0.65]":"var(--themeless-on-surface__650)","themelessOnSurface[0.7]":"var(--themeless-on-surface__700)","themelessOnSurface[0.75]":"var(--themeless-on-surface__750)","themelessOnSurface[0.8]":"var(--themeless-on-surface__800)","themelessOnSurface[0.85]":"var(--themeless-on-surface__850)","themelessOnSurface[0.9]":"var(--themeless-on-surface__900)","themelessOnSurface[0.95]":"var(--themeless-on-surface__950)",themelessOnSurface:"var(--themeless-on-surface)","seed[0.1]":"var(--seed__100)","seed[0.15]":"var(--seed__150)","seed[0.2]":"var(--seed__200)","seed[0.25]":"var(--seed__250)","seed[0.3]":"var(--seed__300)","seed[0.35]":"var(--seed__350)","seed[0.4]":"var(--seed__400)","seed[0.45]":"var(--seed__450)","seed[0.5]":"var(--seed__500)","seed[0.55]":"var(--seed__550)","seed[0.6]":"var(--seed__600)","seed[0.65]":"var(--seed__650)","seed[0.7]":"var(--seed__700)","seed[0.75]":"var(--seed__750)","seed[0.8]":"var(--seed__800)","seed[0.85]":"var(--seed__850)","seed[0.9]":"var(--seed__900)","seed[0.95]":"var(--seed__950)",seed:"var(--seed)"}),se=Bb;c();c();function _A(e,r){useEffect(()=>{let t=new AbortController;return e(),()=>{t.abort();}},r);}c();function PA(e,r){let t=useRef(true);useEffect(()=>{if(t.current)t.current=false;else return e()},r);}c();function OA(e,r,t){let[n,o]=useState({}),i=C(r);i={...i,...t?.inject?.()||{}};let a=document.getElementById("root")??document.body;return useEffect(()=>{t?.debug&&console.log({elementTag:e,props:r,style:n,timestamp:new Date().toLocaleTimeString()});},[n]),useEffect(()=>{let l=document.createElement(e),u=(Array.isArray(r.children)?r.children:[r.children]).map(h=>{let _=document.createElement(e);return _.innerHTML=jb.renderToStaticMarkup(h),_});Object.assign(l.style,{...i,visibility:"hidden"}),u.forEach(h=>l.appendChild(h)),a.appendChild(l);let f=getComputedStyle(l),p=Object.keys(i).filter(h=>h in f&&typeof f[h]=="string").map(h=>{let I=f[h];return [h,h==="opacity"?I.toString():I===0?"0px":I]});o(Object.fromEntries(p)),a.removeChild(l);},[r]),{style:n}}c();function Fu(e){let[r,t]=useState(e);return {value:r,isOpen:!!r,show:(...n)=>{n[0]===void 0&&typeof r!="boolean"||t(typeof r=="boolean"?true:n[0]);},hide:()=>t(typeof r=="boolean"?false:void 0)}}c();function j(e,r){let t=useRef({fresh:castReturn(e),stale:void 0});return {debug:()=>{let n=t.current.stale,o=t.current.fresh,i=()=>{if(Array.isArray(n)){let l=n;return {from:n,to:o,difference:o.filter((u,f)=>f<l.length?l[f]!==u:false)}}switch(typeof n){case "string":return {from:n,to:o,difference:o.replace(n,"")};case "object":return {from:n,to:o,difference:Object.fromEntries(Object.keys(n).map(l=>{let s=l;if(o[s]!==n[s])return [s,o[s]]}).filter(l=>!!l))};default:throw new Error("Not yet implemented bro!")}},a=250;return console.log(buildArray(a,l=>l===0||l===a?"/":"*").join(""),i()),i()},upsert:n=>{let o=typeof n=="function"?n(t.current.fresh):n,i=t.current.fresh;r?.transform&&(o=r.transform(o)),JSON.stringify(o)!==JSON.stringify(i)&&(t.current={fresh:o,stale:i},r?.onChange?.(o,i));},read:()=>structuredClone(t.current.fresh),delete:()=>{t.current.fresh=null,t.current.stale=null;}}}c();function Ys(e=0){return {defaultPage:e,goTo:()=>null,echo:()=>null,getActivePage:()=>null,isPageActive:()=>null,onPageChange:()=>null}}c();function Ri(){return useContext(Wt)}c();function G(){let[,e]=useState(false);return {triggerRerender:()=>e(r=>!r)}}c();function qA(e,r){let[t,n]=useState(()=>{try{let a=window.sessionStorage.getItem(e);return a?JSON.parse(a):r}catch(a){return console.log(a),r}});return [t,a=>{try{let l=a instanceof Function?a(t):a;n(l),window.sessionStorage.setItem(e,JSON.stringify(l));}catch(l){console.log(l);}},()=>{try{n(r),window.sessionStorage.removeItem(e);}catch(a){console.log(a);}}]}c();function oU(e){let r=useContext(dt),{triggerRerender:t}=G(),n=s=>{throw new Error("Invalid key used in useEvent",{cause:`${s} with type "${typeof s}" provided, but a key with type "string" was expected.`})};return {emit:(s,...u)=>{if(typeof s!="string")return n(s);r.emit(s,u?.[0]),e?.rerenderOnEmit&&t();},on:(s,u,f)=>{if(typeof s!="string")return n(s);let p=r.on(s,u);return f?.rerender&&t(),p},listeners:s=>typeof s!="string"?n(s):r.listeners(s),dettach:s=>typeof s!="string"?n(s):r.dettach(s)}}c();function uU(e){let{triggerRerender:r}=G(),t=useRef(castReturn(e)),n=(o,i={skipRender:false})=>{t.current=typeof o=="function"?o(t.current):o,i.skipRender||r();};return [t.current,n]}c();export{bo as AttachmentsButton,ho as AttachmentsDialog,Ve as Avatar,LC as AvatarGroup,Os as Badge,O as BasicButton,g as BasicDiv,je as BasicImg,un as BasicOl,pn as BasicOption,zr as BasicSelect,S as BasicSpan,Nm as BasicTable,wo as Calendar,Fy as CalendarDialog,Gr as CancelButton,ae as Card,Oi as Checkbox,$e as ColorResources,gB as ConfirmationDialog,yr as CopyButton,se as CssColors,Ee as CssShapes,q as CssSpacing,zC as Debounce,tt as DeleteButton,E as Dialog,Fs as Disclaimer,LF as DownloadButton,mP as Drawer,Zh as EditButton,oI as Editable,a_ as EmailComposer,Ut as EmptyState,Uo as ErrorTooltip,Ko as EventContainer,Gh as ExpandableButton,PB as FancyFormDialog,XD as FileDropzone,JB as FileViewer,Y as FontSize,Ms as Indicator,Vs as ItemInfo,Fo as JsonViewer,yb as JwtVerifier,AI as MediaCard,Ev as Menu,yy as MoneyDisplayCard,BF as NegativeButton,to as NextButton,Uu as NoButton,yo as OpenButton,ny as OptionsButton,rP as PageIndicator,zO as PageSlider,nT as Paper,yu as PasteButton,cy as PaymentOptionsButton,xo as PaymentOptionsDialog,w_ as PictureUploader,lr as Popover,IF as PositiveButton,no as PreviousButton,XI as ProfileCard,RC as ProgressBar,Sy as ReceiptCard,io as SaveButton,_o as SearchTextField,HO as SegmentedControls,So as SendButton,ZT as Separator,B_ as SignInWidget,jB as SimpleFormDialog,HC as Spinner,au as Status,gT as Stepper,oo as SubmitButton,ou as Tag,V_ as TaskLogger,Yt as TaskResultDialog,Ao as Terminal,he as TextField,RT as Timeline,Xt as Tooltip,nt as UploadButton,MR as UploadReceiptButton,tb as UserProfile,Co as VerifyButton,Lo as VerifyTextField,Od as WavyUi,Au as YesButton,Oo as YesNoButtonGroup,d_ as YesOrNoForm,C as applyBasicStyle,O6 as bankTransferPaymentOption,N0 as borderRadius,E0 as buildCSS,H0 as computedCssVariable,Ed as convertHexUnitTo256,R0 as cssTransition,Tu as definePaymentOption,A0 as disabledBorderRadius,U0 as dragElement,me as ellipsis,F0 as flexCenter,Mt as getFileIcon,Kv as getPaperDim,ei as getScrollParent,Rd as hexToRgba,T6 as inAppPaymentOption,tn as isOverflown,ri as isSpanMultiLine,Td as isValidHex,Z0 as nativeEllipsis,L0 as noSpaceStyle,Yv as paperStyle,W0 as remAsPx,jd as remToPx,x as resolveBasicColor,xr as restrictLineCount,M0 as rgbToRgba,V0 as screenHasMaxWidth,J0 as screenHasMinWidth,j0 as solidBorder,ti as stripHtml,Qo as tiledBackground,_A as useAsyncEffect,OA as useComputedStyle,oU as useEvent,j as useManagedRef,Fu as useModalControls,Ys as usePageSliderController,Ri as usePopoverContext,PA as usePostRenderEffect,G as useRerender,qA as useSessionStorage,uU as useSmartState};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavy/react-ui",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "Wavy",