xmlui 0.9.82 → 0.9.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/{index-z40PVcrw.mjs → index-BSCmaXIB.mjs} +34 -16
- package/dist/lib/{initMock-BPsXM5rg.mjs → initMock-CSQJ_OLe.mjs} +1 -1
- package/dist/lib/xmlui.mjs +1 -1
- package/dist/metadata/{collectedComponentMetadata-DMqRnWLT.mjs → collectedComponentMetadata-CTbfFAXY.mjs} +34 -16
- package/dist/metadata/{initMock-qDOHn1cO.mjs → initMock-MSZ7AoaC.mjs} +1 -1
- package/dist/metadata/xmlui-metadata.mjs +1 -1
- package/dist/metadata/xmlui-metadata.umd.js +3 -3
- package/dist/scripts/package.json +6 -3
- package/dist/scripts/src/components/Bookmark/Bookmark.js +5 -0
- package/dist/scripts/src/components/Bookmark/BookmarkNative.js +11 -1
- package/dist/scripts/src/components/ModalDialog/ModalDialogNative.js +3 -1
- package/dist/scripts/src/components-core/rendering/AppContent.js +8 -3
- package/dist/standalone/xmlui-standalone.umd.js +229 -229
- package/package.json +6 -3
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</Pages>
|
|
31
31
|
</App>
|
|
32
32
|
|
|
33
|
-
`);return A}const C1={anchorRef:"_anchorRef_1d4md_1"},yl={level:1,omitFromToc:!1},m1=({uid:A,level:e=yl.level,children:t,title:o,omitFromToc:r=yl.omitFromToc})=>{const n=d.useRef(null),a=d.useContext(vl),i=a==null?void 0:a.registerHeading,s=a==null?void 0:a.hasTableOfContents;return d.useLayoutEffect(()=>{var l,u,g;if(s&&n.current&&A&&!r)return i==null?void 0:i({id:A,level:e,text:o||((g=(u=(l=n.current)==null?void 0:l.textContent)==null?void 0:u.trim())==null?void 0:g.replace(/#$/,""))||A,anchor:n.current})},[A,s,i,e,o,r]),c.jsx("span",{ref:n,id:A,"data-anchor":!0,className:C1.anchorRef,children:t})},h1="Bookmark",TC={status:"stable",description:"As its name suggests, this component places a bookmark into its parent component's view. The component has an `id` that you can use in links to navigate (scroll to) the bookmark's location.",opaque:!0,props:{uid:{description:"The unique identifier of the bookmark. You can use this identifier in links to navigate to this component's location. If this identifier is not set, you cannot programmatically visit this bookmark.",valueType:"string"},level:{description:"The level of the bookmark. The level is used to determine the bookmark's position in the table of contents.",valueType:"number",defaultValue:yl.level},title:{description:"Defines the text to display the bookmark in the table of contents. If this property is empty, the text falls back to the value of `id`.",valueType:"string"},omitFromToc:{description:"If true, this bookmark will be excluded from the table of contents.",valueType:"boolean",defaultValue:yl.omitFromToc}}},Q1=$(h1,TC,A=>{const{node:e,renderChild:t,extractValue:o,layoutContext:r}=A;return c.jsx(m1,{uid:o(e.uid),level:o(e.props.level),title:o(e.props.title),omitFromToc:o.asOptionalBoolean(e.props.omitFromToc),children:t(e.children,r)})}),Jn={themeVars:`'{"padding-Card": "var(--xmlui-padding-Card)", "paddingHorizontal-Card": "var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card))", "paddingVertical-Card": "var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card))", "paddingLeft-Card": "var(--xmlui-paddingLeft-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingRight-Card": "var(--xmlui-paddingRight-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingTop-Card": "var(--xmlui-paddingTop-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "paddingBottom-Card": "var(--xmlui-paddingBottom-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "border-Card": "var(--xmlui-border-Card)", "borderHorizontal-Card": "var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card))", "borderVertical-Card": "var(--xmlui-borderVertical-Card, var(--xmlui-border-Card))", "borderLeft-Card": "var(--xmlui-borderLeft-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderRight-Card": "var(--xmlui-borderRight-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderTop-Card": "var(--xmlui-borderTop-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderBottom-Card": "var(--xmlui-borderBottom-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderWidth-Card": "var(--xmlui-borderWidth-Card)", "borderHorizontalWidth-Card": "var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card))", "borderLeftWidth-Card": "var(--xmlui-borderLeftWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderRightWidth-Card": "var(--xmlui-borderRightWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderVerticalWidth-Card": "var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card))", "borderTopWidth-Card": "var(--xmlui-borderTopWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderBottomWidth-Card": "var(--xmlui-borderBottomWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderStyle-Card": "var(--xmlui-borderStyle-Card)", "borderHorizontalStyle-Card": "var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card))", "borderLeftStyle-Card": "var(--xmlui-borderLeftStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderRightStyle-Card": "var(--xmlui-borderRightStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderVerticalStyle-Card": "var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card))", "borderTopStyle-Card": "var(--xmlui-borderTopStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderBottomStyle-Card": "var(--xmlui-borderBottomStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderColor-Card": "var(--xmlui-borderColor-Card)", "borderHorizontalColor-Card": "var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card))", "borderLeftColor-Card": "var(--xmlui-borderLeftColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderRightColor-Card": "var(--xmlui-borderRightColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderVerticalColor-Card": "var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card))", "borderTopColor-Card": "var(--xmlui-borderTopColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderBottomColor-Card": "var(--xmlui-borderBottomColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderStartStartRadius-Card": "var(--xmlui-borderStartStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderStartEndRadius-Card": "var(--xmlui-borderStartEndRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndStartRadius-Card": "var(--xmlui-borderEndStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndEndRadius-Card": "var(--xmlui-borderEndEndRadius-Card, var(--xmlui-borderRadius-Card))", "boxShadow-Card": "var(--xmlui-boxShadow-Card)", "backgroundColor-Card": "var(--xmlui-backgroundColor-Card)", "borderRadius-Card": "var(--xmlui-borderRadius-Card)", "gap-Card": "var(--xmlui-gap-Card)", "gap-title-Card": "var(--xmlui-gap-title-Card)", "gap-avatar-Card": "var(--xmlui-gap-avatar-Card)", "horizontalAlignment-title-Card": "var(--xmlui-horizontalAlignment-title-Card)", "verticalAlignment-title-Card": "var(--xmlui-verticalAlignment-title-Card)"}'`,wrapper:"_wrapper_zx7g9_13",avatarWrapper:"_avatarWrapper_zx7g9_46",titleWrapper:"_titleWrapper_zx7g9_53",horizontal:"_horizontal_zx7g9_61",vertical:"_vertical_zx7g9_65",isClickable:"_isClickable_zx7g9_68"},Fa={themeVars:`'{"padding-Link": "var(--xmlui-padding-Link)", "paddingHorizontal-Link": "var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link))", "paddingVertical-Link": "var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link))", "paddingLeft-Link": "var(--xmlui-paddingLeft-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingRight-Link": "var(--xmlui-paddingRight-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingTop-Link": "var(--xmlui-paddingTop-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "paddingBottom-Link": "var(--xmlui-paddingBottom-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "paddingHorizontal-icon-Link": "var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link))", "paddingVertical-icon-Link": "var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link))", "paddingLeft-icon-Link": "var(--xmlui-paddingLeft-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingRight-icon-Link": "var(--xmlui-paddingRight-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingTop-icon-Link": "var(--xmlui-paddingTop-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingBottom-icon-Link": "var(--xmlui-paddingBottom-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "border-Link": "var(--xmlui-border-Link)", "borderHorizontal-Link": "var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link))", "borderVertical-Link": "var(--xmlui-borderVertical-Link, var(--xmlui-border-Link))", "borderLeft-Link": "var(--xmlui-borderLeft-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderRight-Link": "var(--xmlui-borderRight-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderTop-Link": "var(--xmlui-borderTop-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderBottom-Link": "var(--xmlui-borderBottom-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderWidth-Link": "var(--xmlui-borderWidth-Link)", "borderHorizontalWidth-Link": "var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link))", "borderLeftWidth-Link": "var(--xmlui-borderLeftWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderRightWidth-Link": "var(--xmlui-borderRightWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderVerticalWidth-Link": "var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link))", "borderTopWidth-Link": "var(--xmlui-borderTopWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderBottomWidth-Link": "var(--xmlui-borderBottomWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderStyle-Link": "var(--xmlui-borderStyle-Link)", "borderHorizontalStyle-Link": "var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link))", "borderLeftStyle-Link": "var(--xmlui-borderLeftStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderRightStyle-Link": "var(--xmlui-borderRightStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderVerticalStyle-Link": "var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link))", "borderTopStyle-Link": "var(--xmlui-borderTopStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderBottomStyle-Link": "var(--xmlui-borderBottomStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderColor-Link": "var(--xmlui-borderColor-Link)", "borderHorizontalColor-Link": "var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link))", "borderLeftColor-Link": "var(--xmlui-borderLeftColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderRightColor-Link": "var(--xmlui-borderRightColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderVerticalColor-Link": "var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link))", "borderTopColor-Link": "var(--xmlui-borderTopColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderBottomColor-Link": "var(--xmlui-borderBottomColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderStartStartRadius-Link": "var(--xmlui-borderStartStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderStartEndRadius-Link": "var(--xmlui-borderStartEndRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndStartRadius-Link": "var(--xmlui-borderEndStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndEndRadius-Link": "var(--xmlui-borderEndEndRadius-Link, var(--xmlui-borderRadius-Link))", "textColor-Link": "var(--xmlui-textColor-Link)", "fontFamily-Link": "var(--xmlui-fontFamily-Link)", "fontSize-Link": "var(--xmlui-fontSize-Link)", "fontStyle-Link": "var(--xmlui-fontStyle-Link)", "fontVariant-Link": "var(--xmlui-fontVariant-Link)", "fontWeight-Link": "var(--xmlui-fontWeight-Link)", "fontStretch-Link": "var(--xmlui-fontStretch-Link)", "textDecorationLine-Link": "var(--xmlui-textDecorationLine-Link)", "textDecorationColor-Link": "var(--xmlui-textDecorationColor-Link)", "textDecorationStyle-Link": "var(--xmlui-textDecorationStyle-Link)", "textDecorationThickness-Link": "var(--xmlui-textDecorationThickness-Link)", "textUnderlineOffset-Link": "var(--xmlui-textUnderlineOffset-Link)", "lineHeight-Link": "var(--xmlui-lineHeight-Link)", "backgroundColor-Link": "var(--xmlui-backgroundColor-Link)", "textTransform-Link": "var(--xmlui-textTransform-Link)", "letterSpacing-Link": "var(--xmlui-letterSpacing-Link)", "wordSpacing-Link": "var(--xmlui-wordSpacing-Link)", "textShadow-Link": "var(--xmlui-textShadow-Link)", "textIndent-Link": "var(--xmlui-textIndent-Link)", "textAlign-Link": "var(--xmlui-textAlign-Link)", "textAlignLast-Link": "var(--xmlui-textAlignLast-Link)", "wordBreak-Link": "var(--xmlui-wordBreak-Link)", "wordWrap-Link": "var(--xmlui-wordWrap-Link)", "direction-Link": "var(--xmlui-direction-Link)", "writingMode-Link": "var(--xmlui-writingMode-Link)", "lineBreak-Link": "var(--xmlui-lineBreak-Link)", "textColor-Link--active": "var(--xmlui-textColor-Link--active)", "textColor-Link--hover": "var(--xmlui-textColor-Link--hover)", "textColor-Link--hover--active": "var(--xmlui-textColor-Link--hover--active)", "fontWeight-Link--active": "var(--xmlui-fontWeight-Link--active)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "textDecorationColor-Link--hover": "var(--xmlui-textDecorationColor-Link--hover)", "textDecorationColor-Link--active": "var(--xmlui-textDecorationColor-Link--active)", "outlineWidth-Link--focus": "var(--xmlui-outlineWidth-Link--focus)", "outlineColor-Link--focus": "var(--xmlui-outlineColor-Link--focus)", "outlineStyle-Link--focus": "var(--xmlui-outlineStyle-Link--focus)", "outlineOffset-Link--focus": "var(--xmlui-outlineOffset-Link--focus)"}'`,container:"_container_1gaie_13",active:"_active_1gaie_74",disabled:"_disabled_1gaie_78",iconWrapper:"_iconWrapper_1gaie_94"},fu={active:!1,disabled:!1},xl=d.forwardRef(function(e,t){const{to:o,children:r,icon:n,active:a=fu.active,onClick:i,target:s,disabled:l=fu.disabled,style:u,...g}=E1(e),p=!!n&&!r,B=d.useMemo(()=>fl(o),[o]),C=o?Ke.Link:"div";return c.jsxs(C,{ref:t,to:B,style:u,target:s,onClick:i,className:lA(Fa.container,{[Fa.iconLink]:p,[Fa.active]:a,[Fa.disabled]:l}),...g,children:[n&&c.jsx("div",{className:Fa.iconWrapper,children:c.jsx(vA,{name:n})}),r]})});function E1(A){const{target:e,referrerPolicy:t}=A;return{...A,target:e,referrerPolicy:t}}const uo={themeVars:`'{"border-H1": "var(--xmlui-border-H1)", "borderHorizontal-H1": "var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1))", "borderVertical-H1": "var(--xmlui-borderVertical-H1, var(--xmlui-border-H1))", "borderLeft-H1": "var(--xmlui-borderLeft-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderRight-H1": "var(--xmlui-borderRight-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderTop-H1": "var(--xmlui-borderTop-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderBottom-H1": "var(--xmlui-borderBottom-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderWidth-H1": "var(--xmlui-borderWidth-H1)", "borderHorizontalWidth-H1": "var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1))", "borderLeftWidth-H1": "var(--xmlui-borderLeftWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderRightWidth-H1": "var(--xmlui-borderRightWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderVerticalWidth-H1": "var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1))", "borderTopWidth-H1": "var(--xmlui-borderTopWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderBottomWidth-H1": "var(--xmlui-borderBottomWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderStyle-H1": "var(--xmlui-borderStyle-H1)", "borderHorizontalStyle-H1": "var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1))", "borderLeftStyle-H1": "var(--xmlui-borderLeftStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderRightStyle-H1": "var(--xmlui-borderRightStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderVerticalStyle-H1": "var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1))", "borderTopStyle-H1": "var(--xmlui-borderTopStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderBottomStyle-H1": "var(--xmlui-borderBottomStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderColor-H1": "var(--xmlui-borderColor-H1)", "borderHorizontalColor-H1": "var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1))", "borderLeftColor-H1": "var(--xmlui-borderLeftColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderRightColor-H1": "var(--xmlui-borderRightColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderVerticalColor-H1": "var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1))", "borderTopColor-H1": "var(--xmlui-borderTopColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderBottomColor-H1": "var(--xmlui-borderBottomColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderStartStartRadius-H1": "var(--xmlui-borderStartStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderStartEndRadius-H1": "var(--xmlui-borderStartEndRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndStartRadius-H1": "var(--xmlui-borderEndStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndEndRadius-H1": "var(--xmlui-borderEndEndRadius-H1, var(--xmlui-borderRadius-H1))", "padding-H1": "var(--xmlui-padding-H1)", "paddingHorizontal-H1": "var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1))", "paddingVertical-H1": "var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1))", "paddingLeft-H1": "var(--xmlui-paddingLeft-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingRight-H1": "var(--xmlui-paddingRight-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingTop-H1": "var(--xmlui-paddingTop-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "paddingBottom-H1": "var(--xmlui-paddingBottom-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "textColor-H1": "var(--xmlui-textColor-H1)", "fontFamily-H1": "var(--xmlui-fontFamily-H1)", "fontSize-H1": "var(--xmlui-fontSize-H1)", "fontStyle-H1": "var(--xmlui-fontStyle-H1)", "fontVariant-H1": "var(--xmlui-fontVariant-H1)", "fontWeight-H1": "var(--xmlui-fontWeight-H1)", "fontStretch-H1": "var(--xmlui-fontStretch-H1)", "textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "lineHeight-H1": "var(--xmlui-lineHeight-H1)", "backgroundColor-H1": "var(--xmlui-backgroundColor-H1)", "textTransform-H1": "var(--xmlui-textTransform-H1)", "letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "wordSpacing-H1": "var(--xmlui-wordSpacing-H1)", "textShadow-H1": "var(--xmlui-textShadow-H1)", "textIndent-H1": "var(--xmlui-textIndent-H1)", "textAlign-H1": "var(--xmlui-textAlign-H1)", "textAlignLast-H1": "var(--xmlui-textAlignLast-H1)", "wordBreak-H1": "var(--xmlui-wordBreak-H1)", "wordWrap-H1": "var(--xmlui-wordWrap-H1)", "direction-H1": "var(--xmlui-direction-H1)", "writingMode-H1": "var(--xmlui-writingMode-H1)", "lineBreak-H1": "var(--xmlui-lineBreak-H1)", "border-H2": "var(--xmlui-border-H2)", "borderHorizontal-H2": "var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2))", "borderVertical-H2": "var(--xmlui-borderVertical-H2, var(--xmlui-border-H2))", "borderLeft-H2": "var(--xmlui-borderLeft-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderRight-H2": "var(--xmlui-borderRight-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderTop-H2": "var(--xmlui-borderTop-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderBottom-H2": "var(--xmlui-borderBottom-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderWidth-H2": "var(--xmlui-borderWidth-H2)", "borderHorizontalWidth-H2": "var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2))", "borderLeftWidth-H2": "var(--xmlui-borderLeftWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderRightWidth-H2": "var(--xmlui-borderRightWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderVerticalWidth-H2": "var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2))", "borderTopWidth-H2": "var(--xmlui-borderTopWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderBottomWidth-H2": "var(--xmlui-borderBottomWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderStyle-H2": "var(--xmlui-borderStyle-H2)", "borderHorizontalStyle-H2": "var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2))", "borderLeftStyle-H2": "var(--xmlui-borderLeftStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderRightStyle-H2": "var(--xmlui-borderRightStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderVerticalStyle-H2": "var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2))", "borderTopStyle-H2": "var(--xmlui-borderTopStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderBottomStyle-H2": "var(--xmlui-borderBottomStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderColor-H2": "var(--xmlui-borderColor-H2)", "borderHorizontalColor-H2": "var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2))", "borderLeftColor-H2": "var(--xmlui-borderLeftColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderRightColor-H2": "var(--xmlui-borderRightColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderVerticalColor-H2": "var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2))", "borderTopColor-H2": "var(--xmlui-borderTopColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderBottomColor-H2": "var(--xmlui-borderBottomColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderStartStartRadius-H2": "var(--xmlui-borderStartStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderStartEndRadius-H2": "var(--xmlui-borderStartEndRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndStartRadius-H2": "var(--xmlui-borderEndStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndEndRadius-H2": "var(--xmlui-borderEndEndRadius-H2, var(--xmlui-borderRadius-H2))", "padding-H2": "var(--xmlui-padding-H2)", "paddingHorizontal-H2": "var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2))", "paddingVertical-H2": "var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2))", "paddingLeft-H2": "var(--xmlui-paddingLeft-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingRight-H2": "var(--xmlui-paddingRight-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingTop-H2": "var(--xmlui-paddingTop-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "paddingBottom-H2": "var(--xmlui-paddingBottom-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "textColor-H2": "var(--xmlui-textColor-H2)", "fontFamily-H2": "var(--xmlui-fontFamily-H2)", "fontSize-H2": "var(--xmlui-fontSize-H2)", "fontStyle-H2": "var(--xmlui-fontStyle-H2)", "fontVariant-H2": "var(--xmlui-fontVariant-H2)", "fontWeight-H2": "var(--xmlui-fontWeight-H2)", "fontStretch-H2": "var(--xmlui-fontStretch-H2)", "textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "lineHeight-H2": "var(--xmlui-lineHeight-H2)", "backgroundColor-H2": "var(--xmlui-backgroundColor-H2)", "textTransform-H2": "var(--xmlui-textTransform-H2)", "letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "wordSpacing-H2": "var(--xmlui-wordSpacing-H2)", "textShadow-H2": "var(--xmlui-textShadow-H2)", "textIndent-H2": "var(--xmlui-textIndent-H2)", "textAlign-H2": "var(--xmlui-textAlign-H2)", "textAlignLast-H2": "var(--xmlui-textAlignLast-H2)", "wordBreak-H2": "var(--xmlui-wordBreak-H2)", "wordWrap-H2": "var(--xmlui-wordWrap-H2)", "direction-H2": "var(--xmlui-direction-H2)", "writingMode-H2": "var(--xmlui-writingMode-H2)", "lineBreak-H2": "var(--xmlui-lineBreak-H2)", "border-H3": "var(--xmlui-border-H3)", "borderHorizontal-H3": "var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3))", "borderVertical-H3": "var(--xmlui-borderVertical-H3, var(--xmlui-border-H3))", "borderLeft-H3": "var(--xmlui-borderLeft-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderRight-H3": "var(--xmlui-borderRight-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderTop-H3": "var(--xmlui-borderTop-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderBottom-H3": "var(--xmlui-borderBottom-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderWidth-H3": "var(--xmlui-borderWidth-H3)", "borderHorizontalWidth-H3": "var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3))", "borderLeftWidth-H3": "var(--xmlui-borderLeftWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderRightWidth-H3": "var(--xmlui-borderRightWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderVerticalWidth-H3": "var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3))", "borderTopWidth-H3": "var(--xmlui-borderTopWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderBottomWidth-H3": "var(--xmlui-borderBottomWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderStyle-H3": "var(--xmlui-borderStyle-H3)", "borderHorizontalStyle-H3": "var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3))", "borderLeftStyle-H3": "var(--xmlui-borderLeftStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderRightStyle-H3": "var(--xmlui-borderRightStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderVerticalStyle-H3": "var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3))", "borderTopStyle-H3": "var(--xmlui-borderTopStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderBottomStyle-H3": "var(--xmlui-borderBottomStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderColor-H3": "var(--xmlui-borderColor-H3)", "borderHorizontalColor-H3": "var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3))", "borderLeftColor-H3": "var(--xmlui-borderLeftColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderRightColor-H3": "var(--xmlui-borderRightColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderVerticalColor-H3": "var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3))", "borderTopColor-H3": "var(--xmlui-borderTopColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderBottomColor-H3": "var(--xmlui-borderBottomColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderStartStartRadius-H3": "var(--xmlui-borderStartStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderStartEndRadius-H3": "var(--xmlui-borderStartEndRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndStartRadius-H3": "var(--xmlui-borderEndStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndEndRadius-H3": "var(--xmlui-borderEndEndRadius-H3, var(--xmlui-borderRadius-H3))", "padding-H3": "var(--xmlui-padding-H3)", "paddingHorizontal-H3": "var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3))", "paddingVertical-H3": "var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3))", "paddingLeft-H3": "var(--xmlui-paddingLeft-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingRight-H3": "var(--xmlui-paddingRight-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingTop-H3": "var(--xmlui-paddingTop-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "paddingBottom-H3": "var(--xmlui-paddingBottom-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "textColor-H3": "var(--xmlui-textColor-H3)", "fontFamily-H3": "var(--xmlui-fontFamily-H3)", "fontSize-H3": "var(--xmlui-fontSize-H3)", "fontStyle-H3": "var(--xmlui-fontStyle-H3)", "fontVariant-H3": "var(--xmlui-fontVariant-H3)", "fontWeight-H3": "var(--xmlui-fontWeight-H3)", "fontStretch-H3": "var(--xmlui-fontStretch-H3)", "textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "lineHeight-H3": "var(--xmlui-lineHeight-H3)", "backgroundColor-H3": "var(--xmlui-backgroundColor-H3)", "textTransform-H3": "var(--xmlui-textTransform-H3)", "letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "wordSpacing-H3": "var(--xmlui-wordSpacing-H3)", "textShadow-H3": "var(--xmlui-textShadow-H3)", "textIndent-H3": "var(--xmlui-textIndent-H3)", "textAlign-H3": "var(--xmlui-textAlign-H3)", "textAlignLast-H3": "var(--xmlui-textAlignLast-H3)", "wordBreak-H3": "var(--xmlui-wordBreak-H3)", "wordWrap-H3": "var(--xmlui-wordWrap-H3)", "direction-H3": "var(--xmlui-direction-H3)", "writingMode-H3": "var(--xmlui-writingMode-H3)", "lineBreak-H3": "var(--xmlui-lineBreak-H3)", "border-H4": "var(--xmlui-border-H4)", "borderHorizontal-H4": "var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4))", "borderVertical-H4": "var(--xmlui-borderVertical-H4, var(--xmlui-border-H4))", "borderLeft-H4": "var(--xmlui-borderLeft-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderRight-H4": "var(--xmlui-borderRight-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderTop-H4": "var(--xmlui-borderTop-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderBottom-H4": "var(--xmlui-borderBottom-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderWidth-H4": "var(--xmlui-borderWidth-H4)", "borderHorizontalWidth-H4": "var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4))", "borderLeftWidth-H4": "var(--xmlui-borderLeftWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderRightWidth-H4": "var(--xmlui-borderRightWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderVerticalWidth-H4": "var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4))", "borderTopWidth-H4": "var(--xmlui-borderTopWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderBottomWidth-H4": "var(--xmlui-borderBottomWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderStyle-H4": "var(--xmlui-borderStyle-H4)", "borderHorizontalStyle-H4": "var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4))", "borderLeftStyle-H4": "var(--xmlui-borderLeftStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderRightStyle-H4": "var(--xmlui-borderRightStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderVerticalStyle-H4": "var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4))", "borderTopStyle-H4": "var(--xmlui-borderTopStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderBottomStyle-H4": "var(--xmlui-borderBottomStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderColor-H4": "var(--xmlui-borderColor-H4)", "borderHorizontalColor-H4": "var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4))", "borderLeftColor-H4": "var(--xmlui-borderLeftColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderRightColor-H4": "var(--xmlui-borderRightColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderVerticalColor-H4": "var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4))", "borderTopColor-H4": "var(--xmlui-borderTopColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderBottomColor-H4": "var(--xmlui-borderBottomColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderStartStartRadius-H4": "var(--xmlui-borderStartStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderStartEndRadius-H4": "var(--xmlui-borderStartEndRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndStartRadius-H4": "var(--xmlui-borderEndStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndEndRadius-H4": "var(--xmlui-borderEndEndRadius-H4, var(--xmlui-borderRadius-H4))", "padding-H4": "var(--xmlui-padding-H4)", "paddingHorizontal-H4": "var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4))", "paddingVertical-H4": "var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4))", "paddingLeft-H4": "var(--xmlui-paddingLeft-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingRight-H4": "var(--xmlui-paddingRight-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingTop-H4": "var(--xmlui-paddingTop-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "paddingBottom-H4": "var(--xmlui-paddingBottom-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "textColor-H4": "var(--xmlui-textColor-H4)", "fontFamily-H4": "var(--xmlui-fontFamily-H4)", "fontSize-H4": "var(--xmlui-fontSize-H4)", "fontStyle-H4": "var(--xmlui-fontStyle-H4)", "fontVariant-H4": "var(--xmlui-fontVariant-H4)", "fontWeight-H4": "var(--xmlui-fontWeight-H4)", "fontStretch-H4": "var(--xmlui-fontStretch-H4)", "textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "lineHeight-H4": "var(--xmlui-lineHeight-H4)", "backgroundColor-H4": "var(--xmlui-backgroundColor-H4)", "textTransform-H4": "var(--xmlui-textTransform-H4)", "letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "wordSpacing-H4": "var(--xmlui-wordSpacing-H4)", "textShadow-H4": "var(--xmlui-textShadow-H4)", "textIndent-H4": "var(--xmlui-textIndent-H4)", "textAlign-H4": "var(--xmlui-textAlign-H4)", "textAlignLast-H4": "var(--xmlui-textAlignLast-H4)", "wordBreak-H4": "var(--xmlui-wordBreak-H4)", "wordWrap-H4": "var(--xmlui-wordWrap-H4)", "direction-H4": "var(--xmlui-direction-H4)", "writingMode-H4": "var(--xmlui-writingMode-H4)", "lineBreak-H4": "var(--xmlui-lineBreak-H4)", "border-H5": "var(--xmlui-border-H5)", "borderHorizontal-H5": "var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5))", "borderVertical-H5": "var(--xmlui-borderVertical-H5, var(--xmlui-border-H5))", "borderLeft-H5": "var(--xmlui-borderLeft-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderRight-H5": "var(--xmlui-borderRight-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderTop-H5": "var(--xmlui-borderTop-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderBottom-H5": "var(--xmlui-borderBottom-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderWidth-H5": "var(--xmlui-borderWidth-H5)", "borderHorizontalWidth-H5": "var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5))", "borderLeftWidth-H5": "var(--xmlui-borderLeftWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderRightWidth-H5": "var(--xmlui-borderRightWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderVerticalWidth-H5": "var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5))", "borderTopWidth-H5": "var(--xmlui-borderTopWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderBottomWidth-H5": "var(--xmlui-borderBottomWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderStyle-H5": "var(--xmlui-borderStyle-H5)", "borderHorizontalStyle-H5": "var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5))", "borderLeftStyle-H5": "var(--xmlui-borderLeftStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderRightStyle-H5": "var(--xmlui-borderRightStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderVerticalStyle-H5": "var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5))", "borderTopStyle-H5": "var(--xmlui-borderTopStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderBottomStyle-H5": "var(--xmlui-borderBottomStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderColor-H5": "var(--xmlui-borderColor-H5)", "borderHorizontalColor-H5": "var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5))", "borderLeftColor-H5": "var(--xmlui-borderLeftColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderRightColor-H5": "var(--xmlui-borderRightColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderVerticalColor-H5": "var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5))", "borderTopColor-H5": "var(--xmlui-borderTopColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderBottomColor-H5": "var(--xmlui-borderBottomColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderStartStartRadius-H5": "var(--xmlui-borderStartStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderStartEndRadius-H5": "var(--xmlui-borderStartEndRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndStartRadius-H5": "var(--xmlui-borderEndStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndEndRadius-H5": "var(--xmlui-borderEndEndRadius-H5, var(--xmlui-borderRadius-H5))", "padding-H5": "var(--xmlui-padding-H5)", "paddingHorizontal-H5": "var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5))", "paddingVertical-H5": "var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5))", "paddingLeft-H5": "var(--xmlui-paddingLeft-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingRight-H5": "var(--xmlui-paddingRight-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingTop-H5": "var(--xmlui-paddingTop-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "paddingBottom-H5": "var(--xmlui-paddingBottom-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "textColor-H5": "var(--xmlui-textColor-H5)", "fontFamily-H5": "var(--xmlui-fontFamily-H5)", "fontSize-H5": "var(--xmlui-fontSize-H5)", "fontStyle-H5": "var(--xmlui-fontStyle-H5)", "fontVariant-H5": "var(--xmlui-fontVariant-H5)", "fontWeight-H5": "var(--xmlui-fontWeight-H5)", "fontStretch-H5": "var(--xmlui-fontStretch-H5)", "textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "lineHeight-H5": "var(--xmlui-lineHeight-H5)", "backgroundColor-H5": "var(--xmlui-backgroundColor-H5)", "textTransform-H5": "var(--xmlui-textTransform-H5)", "letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "wordSpacing-H5": "var(--xmlui-wordSpacing-H5)", "textShadow-H5": "var(--xmlui-textShadow-H5)", "textIndent-H5": "var(--xmlui-textIndent-H5)", "textAlign-H5": "var(--xmlui-textAlign-H5)", "textAlignLast-H5": "var(--xmlui-textAlignLast-H5)", "wordBreak-H5": "var(--xmlui-wordBreak-H5)", "wordWrap-H5": "var(--xmlui-wordWrap-H5)", "direction-H5": "var(--xmlui-direction-H5)", "writingMode-H5": "var(--xmlui-writingMode-H5)", "lineBreak-H5": "var(--xmlui-lineBreak-H5)", "border-H6": "var(--xmlui-border-H6)", "borderHorizontal-H6": "var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6))", "borderVertical-H6": "var(--xmlui-borderVertical-H6, var(--xmlui-border-H6))", "borderLeft-H6": "var(--xmlui-borderLeft-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderRight-H6": "var(--xmlui-borderRight-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderTop-H6": "var(--xmlui-borderTop-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderBottom-H6": "var(--xmlui-borderBottom-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderWidth-H6": "var(--xmlui-borderWidth-H6)", "borderHorizontalWidth-H6": "var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6))", "borderLeftWidth-H6": "var(--xmlui-borderLeftWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderRightWidth-H6": "var(--xmlui-borderRightWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderVerticalWidth-H6": "var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6))", "borderTopWidth-H6": "var(--xmlui-borderTopWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderBottomWidth-H6": "var(--xmlui-borderBottomWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderStyle-H6": "var(--xmlui-borderStyle-H6)", "borderHorizontalStyle-H6": "var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6))", "borderLeftStyle-H6": "var(--xmlui-borderLeftStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderRightStyle-H6": "var(--xmlui-borderRightStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderVerticalStyle-H6": "var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6))", "borderTopStyle-H6": "var(--xmlui-borderTopStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderBottomStyle-H6": "var(--xmlui-borderBottomStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderColor-H6": "var(--xmlui-borderColor-H6)", "borderHorizontalColor-H6": "var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6))", "borderLeftColor-H6": "var(--xmlui-borderLeftColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderRightColor-H6": "var(--xmlui-borderRightColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderVerticalColor-H6": "var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6))", "borderTopColor-H6": "var(--xmlui-borderTopColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderBottomColor-H6": "var(--xmlui-borderBottomColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderStartStartRadius-H6": "var(--xmlui-borderStartStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderStartEndRadius-H6": "var(--xmlui-borderStartEndRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndStartRadius-H6": "var(--xmlui-borderEndStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndEndRadius-H6": "var(--xmlui-borderEndEndRadius-H6, var(--xmlui-borderRadius-H6))", "padding-H6": "var(--xmlui-padding-H6)", "paddingHorizontal-H6": "var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6))", "paddingVertical-H6": "var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6))", "paddingLeft-H6": "var(--xmlui-paddingLeft-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingRight-H6": "var(--xmlui-paddingRight-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingTop-H6": "var(--xmlui-paddingTop-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "paddingBottom-H6": "var(--xmlui-paddingBottom-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "textColor-H6": "var(--xmlui-textColor-H6)", "fontFamily-H6": "var(--xmlui-fontFamily-H6)", "fontSize-H6": "var(--xmlui-fontSize-H6)", "fontStyle-H6": "var(--xmlui-fontStyle-H6)", "fontVariant-H6": "var(--xmlui-fontVariant-H6)", "fontWeight-H6": "var(--xmlui-fontWeight-H6)", "fontStretch-H6": "var(--xmlui-fontStretch-H6)", "textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)", "lineHeight-H6": "var(--xmlui-lineHeight-H6)", "backgroundColor-H6": "var(--xmlui-backgroundColor-H6)", "textTransform-H6": "var(--xmlui-textTransform-H6)", "letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "wordSpacing-H6": "var(--xmlui-wordSpacing-H6)", "textShadow-H6": "var(--xmlui-textShadow-H6)", "textIndent-H6": "var(--xmlui-textIndent-H6)", "textAlign-H6": "var(--xmlui-textAlign-H6)", "textAlignLast-H6": "var(--xmlui-textAlignLast-H6)", "wordBreak-H6": "var(--xmlui-wordBreak-H6)", "wordWrap-H6": "var(--xmlui-wordWrap-H6)", "direction-H6": "var(--xmlui-direction-H6)", "writingMode-H6": "var(--xmlui-writingMode-H6)", "lineBreak-H6": "var(--xmlui-lineBreak-H6)", "color-anchor-Heading": "var(--xmlui-color-anchor-Heading)", "gap-anchor-Heading": "var(--xmlui-gap-anchor-Heading)", "textDecorationLine-anchor-Heading": "var(--xmlui-textDecorationLine-anchor-Heading)", "Heading:textColor-H1": "var(--xmlui-textColor-H1)", "Heading:letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "Heading:fontFamily-H1": "var(--xmlui-fontFamily-H1)", "Heading:fontWeight-H1": "var(--xmlui-fontWeight-H1)", "marginTop-H1": "var(--xmlui-marginTop-H1)", "marginBottom-H1": "var(--xmlui-marginBottom-H1)", "Heading:textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "Heading:textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "Heading:textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "Heading:textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "Heading:textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "Heading:textColor-H2": "var(--xmlui-textColor-H2)", "Heading:letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "Heading:fontFamily-H2": "var(--xmlui-fontFamily-H2)", "Heading:fontWeight-H2": "var(--xmlui-fontWeight-H2)", "marginTop-H2": "var(--xmlui-marginTop-H2)", "marginBottom-H2": "var(--xmlui-marginBottom-H2)", "Heading:textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "Heading:textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "Heading:textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "Heading:textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "Heading:textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "Heading:textColor-H3": "var(--xmlui-textColor-H3)", "Heading:letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "Heading:fontFamily-H3": "var(--xmlui-fontFamily-H3)", "Heading:fontWeight-H3": "var(--xmlui-fontWeight-H3)", "marginTop-H3": "var(--xmlui-marginTop-H3)", "marginBottom-H3": "var(--xmlui-marginBottom-H3)", "Heading:textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "Heading:textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "Heading:textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "Heading:textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "Heading:textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "Heading:textColor-H4": "var(--xmlui-textColor-H4)", "Heading:letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "Heading:fontFamily-H4": "var(--xmlui-fontFamily-H4)", "Heading:fontWeight-H4": "var(--xmlui-fontWeight-H4)", "marginTop-H4": "var(--xmlui-marginTop-H4)", "marginBottom-H4": "var(--xmlui-marginBottom-H4)", "Heading:textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "Heading:textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "Heading:textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "Heading:textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "Heading:textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "Heading:textColor-H5": "var(--xmlui-textColor-H5)", "Heading:letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "Heading:fontFamily-H5": "var(--xmlui-fontFamily-H5)", "Heading:fontWeight-H5": "var(--xmlui-fontWeight-H5)", "marginTop-H5": "var(--xmlui-marginTop-H5)", "marginBottom-H5": "var(--xmlui-marginBottom-H5)", "Heading:textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "Heading:textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "Heading:textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "Heading:textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "Heading:textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "Heading:textColor-H6": "var(--xmlui-textColor-H6)", "Heading:letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "Heading:fontFamily-H6": "var(--xmlui-fontFamily-H6)", "Heading:fontWeight-H6": "var(--xmlui-fontWeight-H6)", "marginTop-H6": "var(--xmlui-marginTop-H6)", "marginBottom-H6": "var(--xmlui-marginBottom-H6)", "Heading:textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "Heading:textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "Heading:textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "Heading:textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "Heading:textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)"}'`,heading:"_heading_1y8d6_13",h1:"_h1_1y8d6_17",h2:"_h2_1y8d6_80",h3:"_h3_1y8d6_143",h4:"_h4_1y8d6_206",h5:"_h5_1y8d6_269",h6:"_h6_1y8d6_332",anchorRef:"_anchorRef_1y8d6_406",truncateOverflow:"_truncateOverflow_1y8d6_417",preserveLinebreaks:"_preserveLinebreaks_1y8d6_423",noEllipsis:"_noEllipsis_1y8d6_427"},on={level:"h1",ellipses:!0,omitFromToc:!1,maxLines:0,preserveLinebreaks:!1},dr=d.forwardRef(function({uid:e,level:t=on.level,children:o,sx:r,style:n,title:a,maxLines:i=on.maxLines,preserveLinebreaks:s,ellipses:l=on.ellipses,className:u,omitFromToc:g=on.omitFromToc,showAnchor:p,...B},C){var T;const m=t==null?void 0:t.toLowerCase(),h=d.useRef(null),[E,Q]=d.useState(null),I=d.useRef(null),w=d.useContext(vl),b=w==null?void 0:w.registerHeading,v=je();p===void 0&&(p=((T=v==null?void 0:v.appGlobals)==null?void 0:T.showHeadingAnchors)??!1);const x=C?Et(h,C):h;return d.useEffect(()=>{var H,P,f,y;if(h.current){const L=(y=(f=(P=(H=h.current.textContent)==null?void 0:H.trim())==null?void 0:P.replace(/[^\w\s-]/g,""))==null?void 0:f.replace(/\s+/g,"-"))==null?void 0:y.toLowerCase();Q(L||null)}},[]),be(()=>{if(h.current&&E&&!g)return b==null?void 0:b({id:E,level:parseInt(t.replace("h","")),text:h.current.textContent.trim().replace(/#$/,""),anchor:I.current})},[E,b,t,g]),c.jsxs(m,{ref:x,id:e,title:a,style:{...r,...n,...Kp(i)},className:lA(uo.heading,uo[m],u||"",{[uo.truncateOverflow]:i>0,[uo.preserveLinebreaks]:s,[uo.noEllipsis]:!l}),...B,children:[E&&c.jsx("span",{ref:I,id:E,className:uo.anchorRef,"data-anchor":!0}),o,p&&E&&c.jsx(Ke.Link,{to:`#${E}`,"aria-hidden":"true",onClick:H=>{w&&(!H.ctrlKey&&!H.metaKey&&!H.metaKey&&H.preventDefault(),w.scrollToAnchor(E,!0))},children:"#"})]})}),kl={orientation:"vertical",showAvatar:!1},LC=d.forwardRef(function({children:e,orientation:t=kl.orientation,style:o,title:r,subtitle:n,linkTo:a,avatarUrl:i,showAvatar:s=!!i||kl.showAvatar,avatarSize:l,onClick:u},g){const p={level:"h2",maxLines:1};return c.jsxs("div",{ref:g,className:lA(Jn.wrapper,{[Jn.isClickable]:!!u,[Jn.vertical]:t==="vertical",[Jn.horizontal]:t==="horizontal"}),style:o,onClick:u,children:[[r,n,i,s].some(Boolean)&&c.jsxs("div",{className:Jn.avatarWrapper,children:[s&&c.jsx(kC,{url:i,name:r,size:l}),c.jsxs("div",{className:Jn.titleWrapper,children:[a?r?c.jsx(xl,{to:a+"",children:c.jsx(dr,{...p,children:r})}):null:r?c.jsx(dr,{...p,children:r}):null,n!==void 0&&c.jsx(c.Fragment,{children:c.jsx(VA,{variant:"secondary",children:n})})]})]}),e]})}),Xe="Card",NC={status:"stable",description:"`Card` is a versatile container that groups related content with a visual boundary, typically featuring background color, padding, borders, and rounded corners. It's ideal for organizing information, creating sections, and establishing visual hierarchy in your interface.",props:{avatarUrl:{description:`The url for an avarar image. If not specified, but [\`showAvatar\`](#showAvatar) is true, ${Xe} will show the first letters of the [\`title\`](#title).`,type:"string"},showAvatar:{description:"Indicates whether the avatar should be displayed",valueType:"boolean",defaultValue:kl.showAvatar},avatarSize:{description:"This prop sets the size of the avatar. The default value is `sm`.",availableValues:["xs","sm","md","lg"],valueType:"string"},title:{description:"This prop sets the pre-styled title. If the property is not set, no title is displayed in the Card.",valueType:"string"},subtitle:{description:"This prop sets the pre-styled subtitle. If the property is not set, no subtitle is displayed in the Card.",valueType:"string"},linkTo:{description:"This optional property wraps the title in a `Link` component that is clickable to navigate.",valueType:"string"},orientation:{description:`An optional property that governs the ${Xe}'s orientation (whether the ${Xe} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${Xe} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,availableValues:Zs,valueType:"string",defaultValue:kl.orientation}},events:{click:Un(Xe)},themeVars:hA(Jn.themeVars),defaultThemeVars:{[`padding-${Xe}`]:"$space-4",[`border-${Xe}`]:"1px solid $borderColor",[`borderRadius-${Xe}`]:"$borderRadius",[`boxShadow-${Xe}`]:"none",[`backgroundColor-${Xe}`]:"$color-surface-raised",[`gap-${Xe}`]:"var(--stack-gap-default)",[`gap-title-${Xe}`]:"$gap-none",[`gap-avatar-${Xe}`]:"$gap-normal",[`verticalAlignment-title-${Xe}`]:"center"},themeVarDescriptions:{[`gap-${Xe}`]:"The gap between the component's children.",[`gap-title-${Xe}`]:"The gap between the title and the subtitle",[`gap-avatar-${Xe}`]:"The gap between the avatar and the title panel",[`horizontalAlignment-title-${Xe}`]:"The horizontal alignment of panel with the title and subtitle",[`verticalAlignment-title-${Xe}`]:"The vertical alignment of the title and subtitle to the avatar"}},I1=$("Card",NC,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(LC,{style:o,title:e.asOptionalString(A.props.title),linkTo:e.asOptionalString(A.props.linkTo),subtitle:e.asOptionalString(A.props.subtitle),avatarUrl:e.asOptionalString(A.props.avatarUrl),showAvatar:e.asOptionalBoolean(A.props.showAvatar),avatarSize:e.asOptionalString(A.props.avatarSize),orientation:e.asOptionalString(A.props.orientation),children:t(A.children,{type:"Stack",orientation:"vertical"})})),FC={throttleWaitInMs:0};function w1({listenTo:A,onChange:e,throttleWaitInMs:t=FC.throttleWaitInMs}){const o=Pr(A),r=d.useMemo(()=>t!==0&&e?wA.throttle(e,t,{leading:!0}):e,[e,t]);return d.useEffect(()=>{r&&!wA.isEqual(o,A)&&(r==null||r({prevValue:o,newValue:A}))},[A,r,o]),null}const PC="ChangeListener",GC={status:"stable",description:"`ChangeListener` is an invisible component that watches for changes in values and triggers actions in response. It's essential for creating reactive behavior when you need to respond to data changes, state updates, or component property modifications outside of normal event handlers.",props:{listenTo:{description:"Value to the changes of which this component listens. If this property is not set, the `ChangeListener` is inactive.",valueType:"any"},throttleWaitInMs:{description:"This variable sets a throttling time (in milliseconds) to apply when executing the `didChange` event handler. All changes within that throttling time will only fire the `didChange` event once.",valueType:"number",defaultValue:FC.throttleWaitInMs}},events:{didChange:dt(PC)}},f1=$(PC,GC,({node:A,lookupEventHandler:e,extractValue:t})=>c.jsx(w1,{listenTo:t(A.props.listenTo),throttleWaitInMs:t(A.props.throttleWaitInMs),onChange:e("didChange")})),Br={themeVars:`'{"Input:borderRadius-Checkbox-default": "var(--xmlui-borderRadius-Checkbox-default)", "Input:borderColor-Checkbox-default": "var(--xmlui-borderColor-Checkbox-default)", "Input:backgroundColor-Checkbox-default": "var(--xmlui-backgroundColor-Checkbox-default)", "Input:outlineWidth-Checkbox-default--focus": "var(--xmlui-outlineWidth-Checkbox-default--focus)", "Input:outlineColor-Checkbox-default--focus": "var(--xmlui-outlineColor-Checkbox-default--focus)", "Input:outlineStyle-Checkbox-default--focus": "var(--xmlui-outlineStyle-Checkbox-default--focus)", "Input:outlineOffset-Checkbox-default--focus": "var(--xmlui-outlineOffset-Checkbox-default--focus)", "Input:borderColor-Checkbox-default--hover": "var(--xmlui-borderColor-Checkbox-default--hover)", "Input:backgroundColor-Checkbox--disabled": "var(--xmlui-backgroundColor-Checkbox--disabled)", "Input:borderColor-Checkbox--disabled": "var(--xmlui-borderColor-Checkbox--disabled)", "Input:borderRadius-Checkbox-error": "var(--xmlui-borderRadius-Checkbox-error)", "Input:borderColor-Checkbox-error": "var(--xmlui-borderColor-Checkbox-error)", "Input:backgroundColor-Checkbox-error": "var(--xmlui-backgroundColor-Checkbox-error)", "Input:outlineWidth-Checkbox-error--focus": "var(--xmlui-outlineWidth-Checkbox-error--focus)", "Input:outlineColor-Checkbox-error--focus": "var(--xmlui-outlineColor-Checkbox-error--focus)", "Input:outlineStyle-Checkbox-error--focus": "var(--xmlui-outlineStyle-Checkbox-error--focus)", "Input:outlineOffset-Checkbox-error--focus": "var(--xmlui-outlineOffset-Checkbox-error--focus)", "Input:borderRadius-Checkbox-warning": "var(--xmlui-borderRadius-Checkbox-warning)", "Input:borderColor-Checkbox-warning": "var(--xmlui-borderColor-Checkbox-warning)", "Input:backgroundColor-Checkbox-warning": "var(--xmlui-backgroundColor-Checkbox-warning)", "Input:outlineWidth-Checkbox-warning--focus": "var(--xmlui-outlineWidth-Checkbox-warning--focus)", "Input:outlineColor-Checkbox-warning--focus": "var(--xmlui-outlineColor-Checkbox-warning--focus)", "Input:outlineStyle-Checkbox-warning--focus": "var(--xmlui-outlineStyle-Checkbox-warning--focus)", "Input:outlineOffset-Checkbox-warning--focus": "var(--xmlui-outlineOffset-Checkbox-warning--focus)", "Input:borderRadius-Checkbox-success": "var(--xmlui-borderRadius-Checkbox-success)", "Input:borderColor-Checkbox-success": "var(--xmlui-borderColor-Checkbox-success)", "Input:backgroundColor-Checkbox-success": "var(--xmlui-backgroundColor-Checkbox-success)", "Input:outlineWidth-Checkbox-success--focus": "var(--xmlui-outlineWidth-Checkbox-success--focus)", "Input:outlineColor-Checkbox-success--focus": "var(--xmlui-outlineColor-Checkbox-success--focus)", "Input:outlineStyle-Checkbox-success--focus": "var(--xmlui-outlineStyle-Checkbox-success--focus)", "Input:outlineOffset-Checkbox-success--focus": "var(--xmlui-outlineOffset-Checkbox-success--focus)", "backgroundColor-indicator-Checkbox": "var(--xmlui-backgroundColor-indicator-Checkbox)", "Input:borderColor-checked-Checkbox": "var(--xmlui-borderColor-checked-Checkbox)", "Input:backgroundColor-checked-Checkbox": "var(--xmlui-backgroundColor-checked-Checkbox)", "Input:borderColor-checked-Checkbox-error": "var(--xmlui-borderColor-checked-Checkbox-error)", "Input:backgroundColor-checked-Checkbox-error": "var(--xmlui-backgroundColor-checked-Checkbox-error)", "Input:borderColor-checked-Checkbox-warning": "var(--xmlui-borderColor-checked-Checkbox-warning)", "Input:backgroundColor-checked-Checkbox-warning": "var(--xmlui-backgroundColor-checked-Checkbox-warning)", "Input:borderColor-checked-Checkbox-success": "var(--xmlui-borderColor-checked-Checkbox-success)", "Input:backgroundColor-checked-Checkbox-success": "var(--xmlui-backgroundColor-checked-Checkbox-success)", "Input:backgroundColor-Switch": "var(--xmlui-backgroundColor-Switch)", "Input:borderColor-Switch": "var(--xmlui-borderColor-Switch)", "backgroundColor-indicator-Switch": "var(--xmlui-backgroundColor-indicator-Switch)", "backgroundColor-checked-Switch": "var(--xmlui-backgroundColor-checked-Switch)", "backgroundColor-indicator-checked-Switch": "var(--xmlui-backgroundColor-indicator-checked-Switch)", "Input:borderColor-Switch-default--hover": "var(--xmlui-borderColor-Switch-default--hover)", "Input:backgroundColor-Switch--disabled": "var(--xmlui-backgroundColor-Switch--disabled)", "Input:borderColor-Switch--disabled": "var(--xmlui-borderColor-Switch--disabled)", "Input:borderColor-checked-Switch": "var(--xmlui-borderColor-checked-Switch)", "Input:backgroundColor-checked-Switch": "var(--xmlui-backgroundColor-checked-Switch)", "Input:borderColor-checked-Switch-error": "var(--xmlui-borderColor-checked-Switch-error)", "Input:backgroundColor-checked-Switch-error": "var(--xmlui-backgroundColor-checked-Switch-error)", "Input:borderColor-checked-Switch-warning": "var(--xmlui-borderColor-checked-Switch-warning)", "Input:backgroundColor-checked-Switch-warning": "var(--xmlui-backgroundColor-checked-Switch-warning)", "Input:borderColor-checked-Switch-success": "var(--xmlui-borderColor-checked-Switch-success)", "Input:backgroundColor-checked-Switch-success": "var(--xmlui-backgroundColor-checked-Switch-success)", "Input:outlineWidth-Switch--focus": "var(--xmlui-outlineWidth-Switch--focus)", "Input:outlineColor-Switch--focus": "var(--xmlui-outlineColor-Switch--focus)", "Input:outlineStyle-Switch--focus": "var(--xmlui-outlineStyle-Switch--focus)", "Input:outlineOffset-Switch--focus": "var(--xmlui-outlineOffset-Switch--focus)", "backgroundColor-Switch-indicator--disabled": "var(--xmlui-backgroundColor-Switch-indicator--disabled)", "Input:borderColor-Switch-error": "var(--xmlui-borderColor-Switch-error)", "Input:borderColor-Switch-warning": "var(--xmlui-borderColor-Switch-warning)", "Input:borderColor-Switch-success": "var(--xmlui-borderColor-Switch-success)"}'`,resetAppearance:"_resetAppearance_ga4w0_13",label:"_label_ga4w0_21",inputContainer:"_inputContainer_ga4w0_25",checkbox:"_checkbox_ga4w0_33",error:"_error_ga4w0_62",warning:"_warning_ga4w0_73",valid:"_valid_ga4w0_84",switch:"_switch_ga4w0_144"},Bo={initialValue:!1,value:!1,enabled:!0,validationStatus:"none",indeterminate:!1},rn=d.forwardRef(function({id:e,initialValue:t=Bo.initialValue,value:o=Bo.value,enabled:r=Bo.enabled,style:n,readOnly:a,validationStatus:i=Bo.validationStatus,updateState:s=yA,onDidChange:l=yA,onFocus:u=yA,onBlur:g=yA,variant:p="checkbox",indeterminate:B=Bo.indeterminate,className:C,label:m,labelPosition:h="end",labelWidth:E,labelBreak:Q,required:I,registerComponentApi:w,inputRenderer:b},v){const x=d.useId(),T=e||x,H=d.useRef(null);d.useEffect(()=>{s({value:t},{initial:!0})},[t,s]);const P=d.useCallback(R=>{var U;((U=H.current)==null?void 0:U.checked)!==R&&(s({value:R}),l(R))},[l,s]),f=d.useCallback(R=>{a||(s({value:R.target.checked}),l(R.target.checked))},[l,a,s]),y=d.useCallback(()=>{u==null||u()},[u]),L=d.useCallback(()=>{g==null||g()},[g]);d.useEffect(()=>{typeof B=="boolean"&&H.current&&(H.current.indeterminate=B)},[B]);const F=d.useCallback(()=>{var R;(R=H.current)==null||R.focus()},[]),S=OA(R=>{P(R)});d.useEffect(()=>{w==null||w({focus:F,setValue:S})},[F,w,S]);const J=d.useMemo(()=>c.jsx("input",{id:T,ref:H,type:"checkbox",role:p,checked:o,disabled:!r,required:I,readOnly:a,"aria-readonly":a,"aria-checked":o,onChange:f,onFocus:y,onBlur:L,className:lA(Br.resetAppearance,C,{[Br.checkbox]:p==="checkbox",[Br.switch]:p==="switch",[Br.error]:i==="error",[Br.warning]:i==="warning",[Br.valid]:i==="valid"})}),[T,C,r,L,y,f,a,I,i,o,p]);return c.jsx(yt,{ref:v,id:T,label:m,style:n,labelPosition:h,labelWidth:E,labelBreak:Q,required:I,enabled:r,isInputTemplateUsed:!!b,shrinkToLabel:!0,labelStyle:{pointerEvents:a?"none":void 0},children:b?c.jsxs("label",{className:Br.label,children:[c.jsx("div",{className:Br.inputContainer,children:J}),b({$checked:o,$setChecked:S})]}):J})}),nt=d.memo(({node:A,item:e,context:t,renderChild:o,layoutContext:r,contextVars:n=jA,itemKey:a="$item",contextKey:i="$context"})=>{const s=Ve(n),l=d.useMemo(()=>a===i?{type:"Container",contextVars:{[a]:{...e,...t},...s},children:Array.isArray(A)?A:[A]}:{type:"Container",contextVars:{[a]:e,[i]:t,...s},children:Array.isArray(A)?A:[A]},[t,e,A,s]);return c.jsx(c.Fragment,{children:o(l,r)})}),He="Checkbox",OC={status:"stable",description:"`Checkbox` allows users to make binary choices with a clickable box that shows checked/unchecked states. It's essential for settings, preferences, multi-select lists, and accepting terms or conditions.",props:{indeterminate:Cp(Bo.indeterminate),label:Fe(),labelPosition:jt("end"),labelWidth:_t(He),labelBreak:ro(He),required:io(),initialValue:Wt(Bo.initialValue),autoFocus:Qt(),readOnly:no(),enabled:Ye(),validationStatus:ao(Bo.validationStatus),description:Se(`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${He} besides its label.`),inputTemplate:zA("This property is used to define a custom checkbox input template")},childrenAsTemplate:"inputTemplate",events:{gotFocus:Kt(He),lostFocus:Yt(He),didChange:dt(He)},apis:{value:hp(),setValue:wo()},themeVars:hA(Br.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`borderColor-checked-${He}-error`]:`$borderColor-${He}-error`,[`backgroundColor-checked-${He}-error`]:`$borderColor-${He}-error`,[`borderColor-checked-${He}-warning`]:`$borderColor-${He}-warning`,[`backgroundColor-checked-${He}-warning`]:`$borderColor-${He}-warning`,[`borderColor-checked-${He}-success`]:`$borderColor-${He}-success`,[`backgroundColor-checked-${He}-success`]:`$borderColor-${He}-success`,[`backgroundColor-indicator-${He}`]:"$backgroundColor-primary",[`borderColor-checked-${He}`]:"$color-primary-500",[`backgroundColor-checked-${He}`]:"$color-primary-500",[`backgroundColor-${He}--disabled`]:"$color-surface-200"}},b1=$(He,OC,({node:A,extractValue:e,layoutCss:t,updateState:o,lookupEventHandler:r,state:n,registerComponentApi:a,renderChild:i,layoutContext:s})=>{const l=A.props.inputTemplate;return c.jsx(rn,{inputRenderer:l?u=>c.jsx(nt,{contextVars:u,node:l,renderChild:i,layoutContext:s}):void 0,enabled:e.asOptionalBoolean(A.props.enabled),style:t,initialValue:e.asOptionalBoolean(A.props.initialValue,Bo.initialValue),value:n==null?void 0:n.value,readOnly:e.asOptionalBoolean(A.props.readOnly),validationStatus:e(A.props.validationStatus),updateState:o,onDidChange:r("didChange"),onFocus:r("gotFocus"),onBlur:r("lostFocus"),label:e(A.props.label),labelPosition:e(A.props.labelPosition),labelWidth:e(A.props.labelWidth),labelBreak:e.asOptionalBoolean(A.props.labelBreak),required:e.asOptionalBoolean(A.props.required),indeterminate:e.asOptionalBoolean(A.props.indeterminate),registerComponentApi:a})}),Sl={themeVars:`'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`,separator:"_separator_1o93m_13",horizontal:"_horizontal_1o93m_16",vertical:"_vertical_1o93m_20"},RC={orientation:"horizontal"},D1=({orientation:A=RC.orientation,size:e,style:t})=>c.jsx("div",{className:lA(Sl.separator,{[Sl.horizontal]:A==="horizontal",[Sl.vertical]:A==="vertical"}),style:{height:A==="horizontal"?e:void 0,width:A==="horizontal"?"100%":e,...t}}),bu="ContentSeparator",UC={status:"stable",description:"`ContentSeparator` creates visual dividers between content sections using horizontal or vertical lines. It's essential for improving readability by breaking up dense content, separating list items, or creating clear boundaries between different UI sections.",props:{size:{description:"This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical). If not defined, the component uses the entire available width or height.",valueType:"any"},orientation:{description:"Sets the main axis of the component",availableValues:Zs,defaultValue:RC.orientation,valueType:"string"}},themeVars:hA(Sl.themeVars),defaultThemeVars:{[`backgroundColor-${bu}`]:"$color-surface-200",[`size-${bu}`]:"1px",light:{},dark:{}}},v1=$(bu,UC,({node:A,layoutCss:e,extractValue:t})=>c.jsx(D1,{orientation:t(A.props.orientation),size:t.asSize(A.props.size),style:e})),$t={themeVars:`'{"Input:backgroundColor-item-DatePicker--active": "var(--xmlui-backgroundColor-item-DatePicker--active)", "Input:backgroundColor-item-DatePicker--hover": "var(--xmlui-backgroundColor-item-DatePicker--hover)", "Input:textColor-value-DatePicker": "var(--xmlui-textColor-value-DatePicker)", "Input:minHeight-DatePicker": "var(--xmlui-minHeight-DatePicker)", "Input:borderColor-selectedItem-DatePicker": "var(--xmlui-borderColor-selectedItem-DatePicker)", "Input:fontSize-DatePicker": "var(--xmlui-fontSize-DatePicker)", "Input:borderRadius-DatePicker-default": "var(--xmlui-borderRadius-DatePicker-default)", "Input:borderColor-DatePicker-default": "var(--xmlui-borderColor-DatePicker-default)", "Input:borderWidth-DatePicker-default": "var(--xmlui-borderWidth-DatePicker-default)", "Input:borderStyle-DatePicker-default": "var(--xmlui-borderStyle-DatePicker-default)", "Input:backgroundColor-DatePicker-default": "var(--xmlui-backgroundColor-DatePicker-default)", "Input:boxShadow-DatePicker-default": "var(--xmlui-boxShadow-DatePicker-default)", "Input:textColor-DatePicker-default": "var(--xmlui-textColor-DatePicker-default)", "Input:padding-DatePicker-default": "var(--xmlui-padding-DatePicker-default)", "Input:borderColor-DatePicker-default--hover": "var(--xmlui-borderColor-DatePicker-default--hover)", "Input:backgroundColor-DatePicker-default--hover": "var(--xmlui-backgroundColor-DatePicker-default--hover)", "Input:boxShadow-DatePicker-default--hover": "var(--xmlui-boxShadow-DatePicker-default--hover)", "Input:textColor-DatePicker-default--hover": "var(--xmlui-textColor-DatePicker-default--hover)", "Input:outlineWidth-DatePicker-default--focus": "var(--xmlui-outlineWidth-DatePicker-default--focus)", "Input:outlineColor-DatePicker-default--focus": "var(--xmlui-outlineColor-DatePicker-default--focus)", "Input:outlineStyle-DatePicker-default--focus": "var(--xmlui-outlineStyle-DatePicker-default--focus)", "Input:outlineOffset-DatePicker-default--focus": "var(--xmlui-outlineOffset-DatePicker-default--focus)", "Input:textColor-placeholder-DatePicker-default": "var(--xmlui-textColor-placeholder-DatePicker-default)", "Input:fontSize-placeholder-DatePicker-default": "var(--xmlui-fontSize-placeholder-DatePicker-default)", "Input:color-adornment-DatePicker-default": "var(--xmlui-color-adornment-DatePicker-default)", "Input:borderRadius-DatePicker-error": "var(--xmlui-borderRadius-DatePicker-error)", "Input:borderColor-DatePicker-error": "var(--xmlui-borderColor-DatePicker-error)", "Input:borderWidth-DatePicker-error": "var(--xmlui-borderWidth-DatePicker-error)", "Input:borderStyle-DatePicker-error": "var(--xmlui-borderStyle-DatePicker-error)", "Input:backgroundColor-DatePicker-error": "var(--xmlui-backgroundColor-DatePicker-error)", "Input:boxShadow-DatePicker-error": "var(--xmlui-boxShadow-DatePicker-error)", "Input:textColor-DatePicker-error": "var(--xmlui-textColor-DatePicker-error)", "Input:padding-DatePicker-error": "var(--xmlui-padding-DatePicker-error)", "Input:borderColor-DatePicker-error--hover": "var(--xmlui-borderColor-DatePicker-error--hover)", "Input:backgroundColor-DatePicker-error--hover": "var(--xmlui-backgroundColor-DatePicker-error--hover)", "Input:boxShadow-DatePicker-error--hover": "var(--xmlui-boxShadow-DatePicker-error--hover)", "Input:textColor-DatePicker-error--hover": "var(--xmlui-textColor-DatePicker-error--hover)", "Input:outlineWidth-DatePicker-error--focus": "var(--xmlui-outlineWidth-DatePicker-error--focus)", "Input:outlineColor-DatePicker-error--focus": "var(--xmlui-outlineColor-DatePicker-error--focus)", "Input:outlineStyle-DatePicker-error--focus": "var(--xmlui-outlineStyle-DatePicker-error--focus)", "Input:outlineOffset-DatePicker-error--focus": "var(--xmlui-outlineOffset-DatePicker-error--focus)", "Input:textColor-placeholder-DatePicker-error": "var(--xmlui-textColor-placeholder-DatePicker-error)", "Input:fontSize-placeholder-DatePicker-error": "var(--xmlui-fontSize-placeholder-DatePicker-error)", "Input:color-adornment-DatePicker-error": "var(--xmlui-color-adornment-DatePicker-error)", "Input:borderRadius-DatePicker-warning": "var(--xmlui-borderRadius-DatePicker-warning)", "Input:borderColor-DatePicker-warning": "var(--xmlui-borderColor-DatePicker-warning)", "Input:borderWidth-DatePicker-warning": "var(--xmlui-borderWidth-DatePicker-warning)", "Input:borderStyle-DatePicker-warning": "var(--xmlui-borderStyle-DatePicker-warning)", "Input:backgroundColor-DatePicker-warning": "var(--xmlui-backgroundColor-DatePicker-warning)", "Input:boxShadow-DatePicker-warning": "var(--xmlui-boxShadow-DatePicker-warning)", "Input:textColor-DatePicker-warning": "var(--xmlui-textColor-DatePicker-warning)", "Input:padding-DatePicker-warning": "var(--xmlui-padding-DatePicker-warning)", "Input:borderColor-DatePicker-warning--hover": "var(--xmlui-borderColor-DatePicker-warning--hover)", "Input:backgroundColor-DatePicker-warning--hover": "var(--xmlui-backgroundColor-DatePicker-warning--hover)", "Input:boxShadow-DatePicker-warning--hover": "var(--xmlui-boxShadow-DatePicker-warning--hover)", "Input:textColor-DatePicker-warning--hover": "var(--xmlui-textColor-DatePicker-warning--hover)", "Input:outlineWidth-DatePicker-warning--focus": "var(--xmlui-outlineWidth-DatePicker-warning--focus)", "Input:outlineColor-DatePicker-warning--focus": "var(--xmlui-outlineColor-DatePicker-warning--focus)", "Input:outlineStyle-DatePicker-warning--focus": "var(--xmlui-outlineStyle-DatePicker-warning--focus)", "Input:outlineOffset-DatePicker-warning--focus": "var(--xmlui-outlineOffset-DatePicker-warning--focus)", "Input:textColor-placeholder-DatePicker-warning": "var(--xmlui-textColor-placeholder-DatePicker-warning)", "Input:fontSize-placeholder-DatePicker-warning": "var(--xmlui-fontSize-placeholder-DatePicker-warning)", "Input:color-adornment-DatePicker-warning": "var(--xmlui-color-adornment-DatePicker-warning)", "Input:borderRadius-DatePicker-success": "var(--xmlui-borderRadius-DatePicker-success)", "Input:borderColor-DatePicker-success": "var(--xmlui-borderColor-DatePicker-success)", "Input:borderWidth-DatePicker-success": "var(--xmlui-borderWidth-DatePicker-success)", "Input:borderStyle-DatePicker-success": "var(--xmlui-borderStyle-DatePicker-success)", "Input:backgroundColor-DatePicker-success": "var(--xmlui-backgroundColor-DatePicker-success)", "Input:boxShadow-DatePicker-success": "var(--xmlui-boxShadow-DatePicker-success)", "Input:textColor-DatePicker-success": "var(--xmlui-textColor-DatePicker-success)", "Input:padding-DatePicker-success": "var(--xmlui-padding-DatePicker-success)", "Input:borderColor-DatePicker-success--hover": "var(--xmlui-borderColor-DatePicker-success--hover)", "Input:backgroundColor-DatePicker-success--hover": "var(--xmlui-backgroundColor-DatePicker-success--hover)", "Input:boxShadow-DatePicker-success--hover": "var(--xmlui-boxShadow-DatePicker-success--hover)", "Input:textColor-DatePicker-success--hover": "var(--xmlui-textColor-DatePicker-success--hover)", "Input:outlineWidth-DatePicker-success--focus": "var(--xmlui-outlineWidth-DatePicker-success--focus)", "Input:outlineColor-DatePicker-success--focus": "var(--xmlui-outlineColor-DatePicker-success--focus)", "Input:outlineStyle-DatePicker-success--focus": "var(--xmlui-outlineStyle-DatePicker-success--focus)", "Input:outlineOffset-DatePicker-success--focus": "var(--xmlui-outlineOffset-DatePicker-success--focus)", "Input:textColor-placeholder-DatePicker-success": "var(--xmlui-textColor-placeholder-DatePicker-success)", "Input:fontSize-placeholder-DatePicker-success": "var(--xmlui-fontSize-placeholder-DatePicker-success)", "Input:color-adornment-DatePicker-success": "var(--xmlui-color-adornment-DatePicker-success)", "Input:backgroundColor-DatePicker--disabled": "var(--xmlui-backgroundColor-DatePicker--disabled)", "Input:textColor-DatePicker--disabled": "var(--xmlui-textColor-DatePicker--disabled)", "Input:borderColor-DatePicker--disabled": "var(--xmlui-borderColor-DatePicker--disabled)", "Input:boxShadow-menu-DatePicker": "var(--xmlui-boxShadow-menu-DatePicker)", "Input:backgroundColor-menu-DatePicker": "var(--xmlui-backgroundColor-menu-DatePicker)", "Input:borderRadius-menu-DatePicker": "var(--xmlui-borderRadius-menu-DatePicker)"}'`,datePicker:"_datePicker_g5m5l_13",placeholder:"_placeholder_g5m5l_47",adornment:"_adornment_g5m5l_51",error:"_error_g5m5l_54",warning:"_warning_g5m5l_83",valid:"_valid_g5m5l_112",disabled:"_disabled_g5m5l_141",indicator:"_indicator_g5m5l_147",datePickerInput:"_datePickerInput_g5m5l_147",inlinePickerMenu:"_inlinePickerMenu_g5m5l_151",datePickerMenu:"_datePickerMenu_g5m5l_273",root:"_root_g5m5l_285",day:"_day_g5m5l_339",day_button:"_day_button_g5m5l_345",caption_label:"_caption_label_g5m5l_368",dropdown:"_dropdown_g5m5l_379",button_next:"_button_next_g5m5l_383",button_previous:"_button_previous_g5m5l_384",chevron:"_chevron_g5m5l_415",nav:"_nav_g5m5l_420",dropdowns:"_dropdowns_g5m5l_425",dropdown_root:"_dropdown_root_g5m5l_449",month_caption:"_month_caption_g5m5l_464",month:"_month_g5m5l_464",months:"_months_g5m5l_502",month_grid:"_month_grid_g5m5l_510",weekday:"_weekday_g5m5l_523",week_number:"_week_number_g5m5l_533",today:"_today_g5m5l_545",outside:"_outside_g5m5l_545",selected:"_selected_g5m5l_549",hidden:"_hidden_g5m5l_566",range_start:"_range_start_g5m5l_571",range_middle:"_range_middle_g5m5l_580",range_end:"_range_end_g5m5l_591",focusable:"_focusable_g5m5l_605",datePickerValue:"_datePickerValue_g5m5l_609",weeks_before_enter:"_weeks_before_enter_g5m5l_646","rdp-slide_in_left":"_rdp-slide_in_left_g5m5l_1",weeks_before_exit:"_weeks_before_exit_g5m5l_650","rdp-slide_out_left":"_rdp-slide_out_left_g5m5l_1",weeks_after_enter:"_weeks_after_enter_g5m5l_654","rdp-slide_in_right":"_rdp-slide_in_right_g5m5l_1",weeks_after_exit:"_weeks_after_exit_g5m5l_658","rdp-slide_out_right":"_rdp-slide_out_right_g5m5l_1",caption_after_enter:"_caption_after_enter_g5m5l_694","rdp-fade_in":"_rdp-fade_in_g5m5l_1",caption_after_exit:"_caption_after_exit_g5m5l_698","rdp-fade_out":"_rdp-fade_out_g5m5l_1",caption_before_enter:"_caption_before_enter_g5m5l_702",caption_before_exit:"_caption_before_exit_g5m5l_706"},y1=["single","range"];var nn=(A=>(A[A.Sunday=0]="Sunday",A[A.Monday=1]="Monday",A[A.Tuesday=2]="Tuesday",A[A.Wednesday=3]="Wednesday",A[A.Thursday=4]="Thursday",A[A.Friday=5]="Friday",A[A.Saturday=6]="Saturday",A))(nn||{});const Hl=["MM/dd/yyyy","MM-dd-yyyy","yyyy/MM/dd","yyyy-MM-dd","dd/MM/yyyy","dd-MM-yyyy","yyyyMMdd","MMddyyyy"],kt={mode:"single",validationStatus:"none",enabled:!0,inline:!1,dateFormat:"MM/dd/yyyy",showWeekNumber:!1,weekStartsOn:0,disabledDates:[]},KC=({...A})=>{const{orientation:e="left"}=A;if(e==="up")return c.jsx(vA,{name:"chevronup",size:"sm"});if(e==="down")return c.jsx(vA,{name:"chevrondown",size:"sm"});if(e==="left")return c.jsx(vA,{name:"chevronleft",size:"lg"});if(e==="right")return c.jsx(vA,{name:"chevronright",size:"lg"})},YC=d.forwardRef(function({id:e,initialValue:t,value:o,mode:r=kt.mode,enabled:n=kt.enabled,placeholder:a,updateState:i=yA,validationStatus:s=kt.validationStatus,onDidChange:l=yA,onFocus:u=yA,onBlur:g=yA,dateFormat:p=kt.dateFormat,showWeekNumber:B=kt.showWeekNumber,weekStartsOn:C=kt.weekStartsOn,minValue:m,maxValue:h,disabledDates:E=kt.disabledDates,style:Q,registerComponentApi:I,inline:w=kt.inline,startText:b,startIcon:v,endText:x,endIcon:T,label:H,labelPosition:P,labelWidth:f,labelBreak:y,readOnly:L=!1,required:F,autoFocus:S=!1},J){const R=C>=0&&C<=6?C:0,[U,j]=d.useState(!1),[_,Z]=d.useState(!1),[z,O]=d.useState(null),Y=d.useId(),q=e||Y,eA=d.useMemo(()=>{if(r==="single"&&typeof o=="string")return Du(o)||Ml(o);if(r==="range"&&typeof o=="object")return{from:Du(o==null?void 0:o.from)||Ml(o==null?void 0:o.from),to:Du(o==null?void 0:o.to)||Ml(o==null?void 0:o.to)}},[o,r]);d.useEffect(()=>{if(!Hl.includes(p))throw new Error(`Invalid dateFormat: ${p}. Supported formats are: ${Hl.join(", ")}`)},[p]);const AA=d.useMemo(()=>m?se.parse(m,p,new Date):void 0,[m,p]),uA=d.useMemo(()=>h?se.parse(h,p,new Date):void 0,[h,p]),gA=d.useMemo(()=>E==null?void 0:E.map(sA=>se.parse(sA,p,new Date)),[E,p]),[cA,BA]=d.useState(!1),{root:X}=ne(),M=()=>{Z(!0)},G=()=>{Z(!1)},K=d.useCallback(()=>{z==null||z.focus()},[z]),V=OA(sA=>{const EA=Ml(sA);nA(EA)});d.useEffect(()=>{I==null||I({focus:K,setValue:V})},[K,I,V]),d.useEffect(()=>{!U&&!_&&(g==null||g()),(U||_)&&(u==null||u())},[U,_,u,g]),d.useEffect(()=>{i({value:t},{initial:!0})},[t,i]);const nA=d.useCallback(sA=>{if(!L){if(!sA)i({value:void 0}),l("");else if(r==="single"){const EA=sA,IA=se.format(EA,p);i({value:IA}),l(IA)}else{const EA=sA,IA={from:EA.from?se.format(EA.from,p):"",to:EA.to?se.format(EA.to,p):""};i({value:IA}),l(IA)}r==="single"&&BA(!1)}},[l,i,r,p]);return c.jsx(yt,{id:q,labelPosition:P,label:H,labelWidth:f,labelBreak:y,required:F,enabled:n,onFocus:u,onBlur:g,style:Q,ref:J,children:w?c.jsx("div",{className:$t.inlinePickerMenu,ref:sA=>O(sA),children:c.jsx(ZB.DayPicker,{id:q,required:void 0,captionLayout:"dropdown",fixedWeeks:!0,startMonth:AA,endMonth:uA,disabled:gA,weekStartsOn:R,showWeekNumber:B,showOutsideDays:!0,classNames:$t,mode:r==="single"?"single":"range",selected:eA,onSelect:nA,autoFocus:S,numberOfMonths:r==="range"?2:1,components:{Chevron:KC}})}):c.jsxs(Ro.Popover,{open:cA,onOpenChange:BA,modal:!1,children:[c.jsxs(Ro.PopoverTrigger,{ref:O,id:q,"aria-haspopup":!0,disabled:!n,style:Q,"aria-expanded":cA,className:lA($t.datePicker,{[$t.disabled]:!n,[$t.error]:s==="error",[$t.warning]:s==="warning",[$t.valid]:s==="valid"}),autoFocus:S,onFocus:u,onBlur:g,children:[c.jsx(Gr,{text:b,iconName:v,className:$t.adornment}),c.jsx("div",{className:$t.datePickerValue,children:r==="single"&&eA?c.jsx(c.Fragment,{children:se.format(eA,p)}):r==="range"&&typeof eA=="object"&&eA.from?eA.to?c.jsxs(c.Fragment,{children:[se.format(eA.from,p)," - ",se.format(eA.to,p)]}):c.jsx(c.Fragment,{children:se.format(eA.from,p)}):a?c.jsx("span",{className:$t.placeholder,placeholder:a,children:a}):c.jsx("span",{children:" "})}),c.jsx(Gr,{text:x,iconName:T,className:$t.adornment})]}),c.jsx(Ro.PopoverPortal,{container:X,children:c.jsx(Ro.PopoverContent,{role:"menu",align:"start",sideOffset:5,className:$t.datePickerMenu,onFocus:M,onBlur:G,onInteractOutside:G,children:c.jsx(ZB.DayPicker,{required:void 0,animate:!0,fixedWeeks:!0,autoFocus:S,classNames:$t,captionLayout:"dropdown",startMonth:AA,endMonth:uA,disabled:gA,weekStartsOn:R,showWeekNumber:B,showOutsideDays:!0,mode:r==="single"?"single":"range",selected:eA,onSelect:nA,numberOfMonths:r==="range"?2:1,components:{Chevron:KC}})})})]})})}),x1=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/,Du=A=>{if(A&&x1.test(A)){const e=se.parseISO(A);if(se.isValid(e))return e}},Ml=A=>{if(A)for(const e of Hl){const t=se.parse(A,e,new Date);if(se.isValid(t))return t}},Jt="DatePicker",jC={status:"experimental",description:"`DatePicker` provides an interactive calendar interface for selecting single dates or date ranges, with customizable formatting and validation options. It displays a text input that opens a calendar popup when clicked, offering both keyboard and mouse interaction.",props:{placeholder:An(),initialValue:Wt(),autoFocus:Qt(),readOnly:no(),enabled:Ye(kt.enabled),validationStatus:ao(kt.validationStatus),label:Fe(),labelPosition:jt("top"),labelWidth:_t(Jt),labelBreak:ro(Jt),mode:{description:"The mode of the datepicker (single or range)",valueType:"string",availableValues:y1,defaultValue:kt.mode},dateFormat:{description:"The format of the date displayed in the input field",valueType:"string",defaultValue:kt.dateFormat,availableValues:Hl},showWeekNumber:{description:"Whether to show the week number in the calendar",valueType:"boolean",defaultValue:kt.showWeekNumber},weekStartsOn:{description:"The first day of the week. 0 is Sunday, 1 is Monday, etc.",valueType:"number",defaultValue:kt.weekStartsOn,availableValues:[{value:nn.Sunday,description:"Sunday"},{value:nn.Monday,description:"Monday"},{value:nn.Tuesday,description:"Tuesday"},{value:nn.Wednesday,description:"Wednesday"},{value:nn.Thursday,description:"Thursday"},{value:nn.Friday,description:"Friday"},{value:nn.Saturday,description:"Saturday"}]},minValue:{description:"The optional start date of the selectable date range. If not defined, the range allows any dates in the past.",valueType:"string"},maxValue:{description:"The optional end date of the selectable date range. If not defined, the range allows any future dates.",valueType:"string"},disabledDates:{description:"An optional array of dates that are disabled",valueType:"any"},inline:{description:"Whether to display the datepicker inline",valueType:"boolean",defaultValue:kt.inline},startText:ol(),startIcon:rl(),endText:nl(),endIcon:al()},events:{didChange:dt(Jt),gotFocus:Kt(Jt),lostFocus:Yt(Jt)},apis:{focus:Ko(Jt),value:k("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:wo()},themeVars:hA($t.themeVars),defaultThemeVars:{[`boxShadow-menu-${Jt}`]:"$boxShadow-md",[`borderRadius-menu-${Jt}`]:"$borderRadius",[`textColor-value-${Jt}`]:"$textColor-primary",[`borderColor-selectedItem-${Jt}`]:"$color-primary-200",[`backgroundColor-menu-${Jt}`]:"$color-surface-50",[`backgroundColor-item-${Jt}--hover`]:"$color-surface-100",[`backgroundColor-item-${Jt}--active`]:"$color-surface-200"}},k1=$(Jt,jC,({node:A,state:e,updateState:t,extractValue:o,layoutCss:r,lookupEventHandler:n,registerComponentApi:a})=>{var i;return c.jsx(YC,{id:A.uid,style:r,mode:o((i=A.props)==null?void 0:i.mode),value:e==null?void 0:e.value,initialValue:o(A.props.initialValue),enabled:o.asOptionalBoolean(A.props.enabled),placeholder:o.asOptionalString(A.props.placeholder),validationStatus:o(A.props.validationStatus),updateState:t,onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:a,dateFormat:o(A.props.dateFormat),showWeekNumber:o.asOptionalBoolean(A.props.showWeekNumber),weekStartsOn:o(A.props.weekStartsOn),minValue:o(A.props.minValue),maxValue:o(A.props.maxValue),disabledDates:o(A.props.disabledDates),inline:o.asOptionalBoolean(A.props.inline),startText:o.asOptionalString(A.props.startText),startIcon:o.asOptionalString(A.props.startIcon),endText:o.asOptionalString(A.props.endText),endIcon:o.asOptionalString(A.props.endIcon),readOnly:o.asOptionalBoolean(A.props.readOnly),autoFocus:o.asOptionalBoolean(A.props.autoFocus),label:o(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak)})}),Wo={themeVars:`'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`,DropdownMenuContent:"_DropdownMenuContent_1ty8e_13",DropdownMenuSubContent:"_DropdownMenuSubContent_1ty8e_14",DropdownMenuItem:"_DropdownMenuItem_1ty8e_26",DropdownMenuSubTrigger:"_DropdownMenuSubTrigger_1ty8e_27",active:"_active_1ty8e_50",disabled:"_disabled_1ty8e_60",wrapper:"_wrapper_1ty8e_71",DropdownMenuSeparator:"_DropdownMenuSeparator_1ty8e_76"},pr={alignment:"start",triggerButtonVariant:"ghost",triggerButtonThemeColor:"primary",triggerButtonIcon:"triggerButton:DropdownMenu",triggerButtonIconPosition:"end"},S1=d.forwardRef(function({triggerTemplate:e,children:t,label:o,registerComponentApi:r,style:n,onWillOpen:a,alignment:i=pr.alignment,disabled:s=!1,triggerButtonVariant:l=pr.triggerButtonVariant,triggerButtonThemeColor:u=pr.triggerButtonThemeColor,triggerButtonIcon:g=pr.triggerButtonIcon,triggerButtonIconPosition:p=pr.triggerButtonIconPosition},B){const{root:C}=ne(),[m,h]=d.useState(!1);return d.useEffect(()=>{r==null||r({close:()=>h(!1)})},[r]),c.jsxs(sr.Root,{open:m,onOpenChange:async E=>{E&&await(a==null?void 0:a())===!1||h(E)},children:[c.jsx(sr.Trigger,{asChild:!0,disabled:s,ref:B,children:e||c.jsx(ae,{icon:c.jsx(vA,{name:g,fallback:"chevrondown"}),iconPosition:p,type:"button",variant:l,themeColor:u,disabled:s,children:o})}),c.jsx(sr.Portal,{container:C,children:c.jsx(sr.Content,{align:i,style:n,className:Wo.DropdownMenuContent,children:t})})]})}),Tl={iconPosition:"start",active:!1},H1=d.forwardRef(function({children:e,onClick:t=yA,label:o,style:r,icon:n,iconPosition:a=Tl.iconPosition,active:i=Tl.active,enabled:s=!0},l){const u=a==="start";return c.jsxs(sr.Item,{style:r,className:lA(Wo.DropdownMenuItem,{[Wo.active]:i,[Wo.disabled]:!s}),onClick:g=>{if(!s){g.preventDefault(),g.stopPropagation();return}g.stopPropagation(),s&&t(g)},ref:l,children:[u&&n,c.jsx("div",{className:Wo.wrapper,children:o??e}),!u&&n]})});function M1({children:A,label:e,triggerTemplate:t}){const{root:o}=ne();return c.jsxs(sr.Sub,{children:[c.jsx(sr.SubTrigger,{className:Wo.DropdownMenuSubTrigger,asChild:!0,children:t||c.jsx("div",{children:e})}),c.jsx(sr.Portal,{container:o,children:c.jsx(sr.SubContent,{className:Wo.DropdownMenuSubContent,children:A})})]})}function T1(){return c.jsx(sr.Separator,{className:Wo.DropdownMenuSeparator})}const Do="DropdownMenu",_C={status:"stable",description:"`DropdownMenu` provides a space-efficient way to present multiple options or actions through a collapsible interface. When clicked, the trigger button reveals a menu that can include items, separators, and nested submenus, making it ideal for navigation, action lists, or any situation requiring many options without permanent screen space.",props:{label:Fe(),triggerTemplate:Qp(Do),alignment:{description:"This property allows you to determine the alignment of the dropdown panel with the displayed menu items.",valueType:"string",availableValues:cp,defaultValue:pr.alignment},enabled:Ye(),triggerButtonVariant:{description:"This property defines the theme variant of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:Yg,defaultValue:pr.triggerButtonVariant},triggerButtonThemeColor:{description:"This property defines the theme color of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:Kg,defaultValue:pr.triggerButtonThemeColor},triggerButtonIcon:{description:`This property defines the icon to display on the trigger button. You can change the default icon for all ${Do} instances with the "icon.triggerButton:DropdownMenu" declaration in the app configuration file.`,defaultValue:pr.triggerButtonIcon,valueType:"string"},triggerButtonIconPosition:{description:"This property defines the position of the icon on the trigger button.",defaultValue:pr.triggerButtonIconPosition,valueType:"string",availableValues:Al}},events:{willOpen:k(`This event fires when the \`${Do}\` component is opened.`)},apis:{close:k("This method command closes the dropdown.")},themeVars:hA(Wo.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`backgroundColor-${Do}`]:"$color-surface-raised",[`minWidth-${Do}`]:"160px",[`boxShadow-${Do}`]:"$boxShadow-xl",[`borderStyle-${Do}-content`]:"solid",[`borderRadius-${Do}`]:"$borderRadius"}},WC=$(Do,_C,({node:A,extractValue:e,renderChild:t,registerComponentApi:o,layoutCss:r,lookupEventHandler:n})=>{var a,i,s;return c.jsx(S1,{triggerTemplate:t((a=A.props)==null?void 0:a.triggerTemplate),label:e((i=A.props)==null?void 0:i.label),registerComponentApi:o,onWillOpen:n("willOpen"),style:r,alignment:e((s=A.props)==null?void 0:s.alignment),disabled:!e.asOptionalBoolean(A.props.enabled,!0),triggerButtonThemeColor:e(A.props.triggerButtonThemeColor),triggerButtonVariant:e(A.props.triggerButtonVariant),triggerButtonIcon:e(A.props.triggerButtonIcon),triggerButtonIconPosition:e(A.props.triggerButtonIconPosition),children:t(A.children)})}),zt="MenuItem",$C={status:"stable",description:"`MenuItem` represents individual clickable items within dropdown menus and other menu components. Each menu item can display text, icons, and respond to clicks with either navigation or custom actions, making it the building block for interactive menu systems.",docFolder:Do,props:{iconPosition:{description:"This property allows you to determine the position of the icon displayed in the menu item.",valueType:"string",availableValues:Al,defaultValue:Tl.iconPosition},icon:{description:'This property names an optional icon to display with the menu item. You can use component-specific icons in the format "iconName:MenuItem".',valueType:"string"},label:Fe(),to:{description:"This property defines the URL of the menu item. If this property is defined (and the `click` event does not have an event handler), clicking the menu item navigates to this link.",valueType:"string"},active:{description:"This property indicates if the specified menu item is active.",valueType:"boolean",defaultValue:Tl.active},enabled:Ye()},events:{click:Un(zt)},themeVars:hA(Wo.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`backgroundColor-${zt}`]:"$backgroundColor-dropdown-item",[`color-${zt}`]:"$textColor-primary",[`color-${zt}--disabled`]:"$textColor--disabled",[`fontFamily-${zt}`]:"$fontFamily",[`fontSize-${zt}`]:"$fontSize-small",[`paddingVertical-${zt}`]:"$space-2",[`paddingHorizontal-${zt}`]:"$space-3",[`backgroundColor-${zt}--hover`]:"$backgroundColor-dropdown-item--hover",[`color-${zt}--hover`]:"inherit",[`gap-${zt}`]:"$space-2",[`color-${zt}--active`]:"$color-primary",[`backgroundColor-${zt}--active`]:"$backgroundColor-dropdown-item--active",light:{},dark:{}}},L1=$(zt,$C,({node:A,renderChild:e,lookupEventHandler:t,lookupAction:o,extractValue:r,layoutCss:n})=>{var l,u;const a=t("click");let i;const s=r(A.props.to);if(!a&&(s!=null&&s.trim())){const g=o("navigate",{signError:!1});i=()=>{g==null||g({pathname:s})}}return c.jsx(H1,{onClick:i,label:r((l=A.props)==null?void 0:l.label),style:n,iconPosition:r(A.props.iconPosition),icon:((u=A.props)==null?void 0:u.icon)&&c.jsx(vA,{name:r(A.props.icon),fallback:r(A.props.icon)}),active:r.asOptionalBoolean(A.props.active,!1),enabled:r.asOptionalBoolean(A.props.enabled,!0),children:e(A.children)})}),JC="SubMenuItem",zC={status:"stable",description:"`SubMenuItem` creates hierarchical menu structures by acting as both a menu item and a container for nested menu items. When clicked or hovered, it reveals a submenu containing additional [MenuItem](/components/MenuItem), [MenuSeparator](/components/MenuSeparator), or other [SubMenuItem](/components/SubMenuItems) components, enabling complex multi-level navigation and action organization.",docFolder:Do,props:{label:Fe(),triggerTemplate:Qp(JC)}},N1=$(JC,zC,({node:A,renderChild:e,extractValue:t})=>{var o,r;return c.jsx(M1,{label:t((o=A.props)==null?void 0:o.label),triggerTemplate:e((r=A.props)==null?void 0:r.triggerTemplate),children:e(A.children)})}),zn="MenuSeparator",qC={status:"stable",description:"`MenuSeparator` displays a separator line between menu items to group related menu options within `DropdownMenu`.",docFolder:Do,themeVars:hA(Wo.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`marginTop-${zn}`]:"$space-1",[`marginBottom-${zn}`]:"$space-1",[`width-${zn}`]:"100%",[`height-${zn}`]:"1px",[`color-${zn}`]:"$borderColor-dropdown-item",[`marginHorizontal-${zn}`]:"12px"}},F1=$(zn,qC,()=>c.jsx(T1,{})),Ll={theme:"light",select:yA,autoFocus:!1},P1=({select:A=Ll.select,theme:e=Ll.theme,autoFocus:t=Ll.autoFocus})=>c.jsx(Ap,{autoFocusSearch:t,onEmojiClick:async o=>{await A(o.emoji)},lazyLoadEmojis:!0,theme:e,previewConfig:{showPreview:!1},skinTonesDisabled:!0,height:360,emojiStyle:Ap.EmojiStyle.NATIVE}),G1="EmojiSelector",VC={status:"experimental",description:"`EmojiSelector` enables users to browse, search and select emojis from their system's native emoji set.",props:{autoFocus:{...Qt(),defaultValue:Ll.autoFocus}},events:{select:k("This event is fired when the user selects an emoticon from this component.")}},O1=$(G1,VC,({node:A,lookupEventHandler:e,extractValue:t})=>{const o=e("select"),r=ne();return c.jsx(P1,{select:o,theme:r.activeThemeTone,autoFocus:t.asOptionalBoolean(A.props.autoFocus)})}),Pa={themeVars:'"[]"',container:"_container_1hin1_13",buttonStart:"_buttonStart_1hin1_22",buttonEnd:"_buttonEnd_1hin1_26",textBoxWrapper:"_textBoxWrapper_1hin1_30",button:"_button_1hin1_22"},{useDropzone:R1}=ip,po={enabled:!0,buttonPosition:"end",buttonLabel:"Browse",multiple:!1,directory:!1,buttonThemeColor:"primary",updateState:yA,onDidChange:yA,onFocus:yA,onBlur:yA},XC=({id:A,enabled:e=po.enabled,style:t,placeholder:o,buttonPosition:r=po.buttonPosition,buttonLabel:n=po.buttonLabel,buttonIcon:a,buttonIconPosition:i,variant:s,buttonThemeColor:l,buttonSize:u,autoFocus:g,validationStatus:p,updateState:B=po.updateState,onDidChange:C=po.onDidChange,onFocus:m=po.onFocus,onBlur:h=po.onBlur,registerComponentApi:E,value:Q,initialValue:I,acceptsFileType:w,multiple:b=po.multiple,directory:v=po.directory,label:x,labelPosition:T,labelWidth:H,labelBreak:P,required:f})=>{const y=vu(I)?I:void 0,L=vu(Q)?Q:void 0,F=d.useRef(null),S=typeof w=="string"?w:w==null?void 0:w.join(",");d.useEffect(()=>{g&&setTimeout(()=>{var Y;(Y=F.current)==null||Y.focus()},0)},[g]),d.useEffect(()=>{B({value:y},{initial:!0})},[y,B]);const J=d.useCallback(()=>{h==null||h()},[h]),R=d.useCallback(()=>{var Y;(Y=F.current)==null||Y.focus()},[]),U=d.useCallback(Y=>{Y.length&&(B({value:Y}),C(Y))},[B,C]),{getRootProps:j,getInputProps:_,open:Z}=R1({disabled:!e,multiple:b||v,onDrop:U,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,useFsAccessApi:v===!1}),z=d.useCallback(()=>{m==null||m()},[m]),O=OA(()=>{Z()});return d.useEffect(()=>{E==null||E({focus:R,open:O})},[R,O,E]),c.jsx(yt,{labelPosition:T,label:x,labelWidth:H,labelBreak:P,required:f,enabled:e,onFocus:m,onBlur:h,style:t,children:c.jsxs("div",{className:lA(Pa.container,{[Pa.buttonStart]:r==="start",[Pa.buttonEnd]:r==="end"}),children:[c.jsxs("button",{...j({tabIndex:0,onFocus:z,onBlur:J,disabled:!e,className:Pa.textBoxWrapper,onClick:Z,ref:F,type:"button"}),children:[c.jsx(cx.Root,{children:c.jsx("input",{..._({webkitdirectory:v?"true":void 0}),accept:S})}),c.jsx(Cl,{placeholder:o,enabled:e,value:(L==null?void 0:L.map(Y=>Y.name).join(", "))||"",validationStatus:p,readOnly:!0,tabIndex:-1})]}),c.jsx(ae,{id:A,disabled:!e,type:"button",onClick:Z,icon:a,iconPosition:i,variant:s,themeColor:l,size:u,className:Pa.button,autoFocus:g,children:n})]})})};function U1(A){return A instanceof File}function vu(A){return Array.isArray(A)&&A.every(U1)}const an="FileInput",K1="browse:FileInput",ZC={status:"stable",description:"`FileInput` enables users to select files from their device's file system for upload or processing. It combines a text field displaying selected files with a customizable button that opens the system file browser. Use it for forms, media uploads, and document processing workflows.",props:{placeholder:An(),initialValue:Wt(),autoFocus:Qt(),required:io(),readOnly:no(),enabled:Ye(),validationStatus:ao(),label:Fe(),labelPosition:jt("top"),labelWidth:_t(an),labelBreak:ro(an),buttonVariant:k("The button variant to use",Bx),buttonLabel:k("This property is an optional string to set a label for the button part."),buttonIcon:k(`The ID of the icon to display in the button. You can change the default icon for all ${an} instances with the "icon.browse:FileInput" declaration in the app configuration file.`),buttonIconPosition:k("This optional string determines the location of the button icon.",px,"string","start"),acceptsFileType:k("An optional list of file types the input controls accepts provided as a string array."),multiple:{...k("This boolean property enables to add not just one (`false`), but multiple files to the field (`true`). This is done either by dragging onto the field or by selecting multiple files in the browser menu after clicking the input field button.",null,"boolean"),defaultValue:po.multiple},directory:{...k("This boolean property indicates whether the component allows selecting directories (`true`) or files only (`false`).",null,"boolean"),defaultValue:po.directory},buttonPosition:{...k("This property determines the position of the button relative to the input field.",["start","end"]),defaultValue:po.buttonPosition},buttonSize:k("The size of the button (small, medium, large)",Xs),buttonThemeColor:k("The button color scheme (primary, secondary, attention)",ux,"string",po.buttonThemeColor)},events:{didChange:dt(an),gotFocus:Kt(an),lostFocus:Yt(an)},apis:{value:k("By setting an ID for the component, you can refer to the value of the field if set. If no value is set, the value will be undefined."),setValue:k("(**NOT IMPLEMENTED YET**) You can use this method to set the component's current value programmatically."),focus:Ko(an),open:k("This API command triggers the file browsing dialog to open.")},themeVars:hA(Pa.themeVars)},Y1=$(an,ZC,({node:A,state:e,updateState:t,extractValue:o,lookupEventHandler:r,registerComponentApi:n})=>{const a=o.asOptionalString(A.props.buttonIcon)||K1;return c.jsx(XC,{enabled:o.asOptionalBoolean(A.props.enabled),variant:o(A.props.buttonVariant),buttonThemeColor:o(A.props.buttonThemeColor),buttonSize:o(A.props.buttonSize),buttonIcon:c.jsx(vA,{name:a,fallback:"folder-open"}),buttonIconPosition:o(A.props.buttonIconPosition),buttonLabel:o.asOptionalString(A.props.buttonLabel),updateState:t,value:vu(e==null?void 0:e.value)?e==null?void 0:e.value:void 0,autoFocus:o.asOptionalBoolean(A.props.autoFocus),onDidChange:r("didChange"),onFocus:r("gotFocus"),onBlur:r("lostFocus"),validationStatus:o(A.props.validationStatus),registerComponentApi:n,multiple:o.asOptionalBoolean(A.props.multiple),directory:o.asOptionalBoolean(A.props.directory),placeholder:o.asOptionalString(A.props.placeholder),buttonPosition:o.asOptionalString(A.props.buttonPosition),initialValue:o(A.props.initialValue),acceptsFileType:o(A.props.acceptsFileType),label:o.asOptionalString(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o.asOptionalString(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak),required:o.asOptionalBoolean(A.props.required)})}),yu={themeVars:`'{"backgroundColor-FileUploadDropZone": "var(--xmlui-backgroundColor-FileUploadDropZone)", "textColor-FileUploadDropZone": "var(--xmlui-textColor-FileUploadDropZone)", "backgroundColor-dropping-FileUploadDropZone": "var(--xmlui-backgroundColor-dropping-FileUploadDropZone)", "opacity-dropping-FileUploadDropZone": "var(--xmlui-opacity-dropping-FileUploadDropZone)"}'`,wrapper:"_wrapper_15hp1_13",dropPlaceholder:"_dropPlaceholder_15hp1_21"},{useDropzone:j1}=ip,qn={onUpload:_x,uid:"fileUploadDialog",allowPaste:!0,text:"Drop files here",disabled:!1},_1=d.forwardRef(function({children:e,onUpload:t=qn.onUpload,uid:o=qn.uid,registerComponentApi:r,style:n,allowPaste:a=qn.allowPaste,text:i=qn.text,disabled:s=qn.disabled},l){const u=d.useCallback(async Q=>{Q.length&&(t==null||t(Q))},[t]),{getRootProps:g,getInputProps:p,isDragActive:B,open:C,inputRef:m}=j1({onDrop:u,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,disabled:s}),h=OA(()=>{C()}),E=d.useCallback(Q=>{var I,w;if(a&&m.current&&(I=Q.clipboardData)!=null&&I.files){const b=((w=Q.clipboardData)==null?void 0:w.items)||[],v=[];for(let x=0;x<b.length;x++){const T=b[x];if(T.kind==="file"){const H=T.getAsFile();H!==null&&v.push(H)}}v.length>0&&(Q.stopPropagation(),Q.preventDefault(),m.current.files=Q.clipboardData.files,m.current.dispatchEvent(new Event("change",{bubbles:!0})))}},[a,m]);return d.useEffect(()=>{r({open:h})},[h,r,o]),c.jsxs("div",{...g(),style:n,className:yu.wrapper,onPaste:E,ref:l,children:[c.jsx("input",{...p()}),e,B&&c.jsxs("div",{className:yu.dropPlaceholder,children:[c.jsx(vA,{name:"upload"}),i]})]})}),W1="FileUploadDropZone",Am={status:"stable",description:"`FileUploadDropZone` enables users to upload files by dragging and dropping files from their local file system onto a designated area within the UI.",props:{text:{description:"With this property, you can change the default text to display when files are dragged over the drop zone.",defaultValue:qn.text,type:"string"},allowPaste:{description:"This property indicates if the drop zone accepts files pasted from the clipboard (`true`) or only dragged files (`false`).",type:"boolean",defaultValue:qn.allowPaste},enabled:k("If set to `false`, the drop zone will be disabled and users will not be able to upload files.",null,"boolean",!0)},events:{upload:k("This component accepts files for upload but does not perform the actual operation. It fires the `upload` event and passes the list files to upload in the method's argument. You can use the passed file information to implement the upload (according to the protocol your backend supports).")},themeVars:hA(yu.themeVars),defaultThemeVars:{"backgroundColor-FileUploadDropZone":"$backgroundColor","backgroundColor-dropping-FileUploadDropZone":"$backgroundColor--selected","opacity-dropping-FileUploadDropZone":"0.5","textColor-FileUploadDropZone":"$textColor",light:{},dark:{}}},$1=$(W1,Am,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,registerComponentApi:r,layoutCss:n})=>c.jsx(_1,{onUpload:o("upload"),uid:e(A.uid),registerComponentApi:r,style:n,allowPaste:e(A.props.allowPaste),text:e(A.props.text),disabled:!e.asOptionalBoolean(A.props.enabled,!0),children:t(A.children,{type:"Stack"})})),sn={themeVars:'"[]"',outer:"_outer_aarhe_13",flowContainer:"_flowContainer_aarhe_17",horizontal:"_horizontal_aarhe_21",flowItem:"_flowItem_aarhe_24",break:"_break_aarhe_47",forceBreak:"_forceBreak_aarhe_47",starSized:"_starSized_aarhe_47"},xu={},em=d.createContext({rowGap:0,columnGap:0,setNumberOfChildren:wA.noop}),tm=({force:A})=>c.jsx("div",{className:lA(sn.break,{[sn.forceBreak]:A})}),J1=d.forwardRef(function({children:e,forceBreak:t,...o},r){const{rowGap:n,columnGap:a,setNumberOfChildren:i}=d.useContext(em),{mediaSize:s}=je();be(()=>(i(x=>x+1),()=>{i(x=>x-1)}),[i]);const{root:l}=ne(),u=o.width||"100%",g=o.minWidth||void 0,p=o.maxWidth||void 0,{width:B=u,minWidth:C,maxWidth:m,flex:h}=d.useMemo(()=>Jp({width:u,maxWidth:p,minWidth:g},{type:"Stack",orientation:"horizontal"}).cssProps||{},[p,g,u]),E=d.useMemo(()=>{if(B&&typeof B=="string"&&B.startsWith("var(")){if(!xu[B]){const x=B.substring(4,B.length-1),T=getComputedStyle(l||document.body).getPropertyValue(x);xu[B]=T||u}return xu[B]}return B||u},[u,l,B]),Q=typeof E=="string"&&E.endsWith("%"),I=wk(a);let w;if(Q){const x=parseFloat(E);if(s.sizeIndex<=1){let T=x*4;T>50?w="100%":w=`min(${T}%, 100%)`}else if(s.sizeIndex<=2){let T=x*3;T>=50&&T<=75?w="50%":T>75?w="100%":w=`min(${T}%, 100%)`}else w=`min(${B}, 100%)`}else w=`min(calc(${B} + ${I}), 100%)`;const b={minWidth:C,maxWidth:m,width:w,paddingBottom:n,flex:h},v=h!==void 0;return v&&(b.width="100%",b.minWidth=C||"1px"),c.jsxs(c.Fragment,{children:[c.jsx("div",{style:{...b,paddingRight:I},className:lA(sn.flowItem,{[sn.starSized]:v}),ref:r,children:e}),v&&c.jsx(tm,{})]})}),om={columnGap:"$gap-normal",rowGap:"$gap-normal"},z1=d.forwardRef(function({style:e,columnGap:t=0,rowGap:o=0,children:r},n){const[a,i]=d.useState(0),s=a===1?0:t,l=Yp(o),u=Yp(s),g=d.useMemo(()=>({marginRight:`calc(-1 * ${u})`,marginBottom:`calc(-1 * ${l})`}),[u,l]),p=d.useMemo(()=>({rowGap:l,columnGap:u,setNumberOfChildren:i}),[u,l]);return c.jsx(em.Provider,{value:p,children:c.jsx("div",{style:e,ref:n,children:c.jsx("div",{className:sn.outer,children:c.jsx("div",{className:lA(sn.flowContainer,sn.horizontal),style:g,children:r})})})})}),ku="FlowLayout",rm={status:"stable",description:"`FlowLayout` positions content in rows with automatic wrapping. When items exceed the available horizontal space, they automatically wrap to a new line.",props:{gap:{description:`This property defines the gap between items in the same row and between rows. The ${ku} component creates a new row when an item is about to overflow the current row.`,type:"string",defaultValue:"$gap-normal"},columnGap:{description:"The `columnGap` property specifies the space between items in a single row; it overrides the `gap` value.",defaultValue:om.columnGap},rowGap:{description:`The \`rowGap\` property specifies the space between the ${ku} rows; it overrides the \`gap\` value.`,defaultValue:om.rowGap}},themeVars:hA(sn.themeVars)},q1=$(ku,rm,({node:A,renderChild:e,layoutCss:t,extractValue:o})=>{var a,i;if(!Jg(A.children))throw new ji;const r=o.asSize((a=A.props)==null?void 0:a.columnGap)||t.gap||o.asSize("$space-4"),n=o.asSize((i=A.props)==null?void 0:i.rowGap)||t.gap||o.asSize("$space-4");return c.jsx(z1,{style:t,columnGap:r,rowGap:n,children:e(A.children,{wrapChild:({node:s,extractValue:l},u,g)=>{var m,h,E;if(g!=null&&g.opaque)return u;if(s.type==="SpaceFiller")return c.jsx(tm,{force:!0});const p=l((m=s.props)==null?void 0:m.width),B=l((h=s.props)==null?void 0:h.minWidth),C=l((E=s.props)==null?void 0:E.maxWidth);return c.jsx(J1,{width:p,minWidth:B,maxWidth:C,forceBreak:s.type==="SpaceFiller",children:u})}})})}),Nl={themeVars:`'{"padding-Footer": "var(--xmlui-padding-Footer)", "paddingHorizontal-Footer": "var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer))", "paddingVertical-Footer": "var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer))", "paddingLeft-Footer": "var(--xmlui-paddingLeft-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingRight-Footer": "var(--xmlui-paddingRight-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingTop-Footer": "var(--xmlui-paddingTop-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "paddingBottom-Footer": "var(--xmlui-paddingBottom-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "border-Footer": "var(--xmlui-border-Footer)", "borderHorizontal-Footer": "var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer))", "borderVertical-Footer": "var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer))", "borderLeft-Footer": "var(--xmlui-borderLeft-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderRight-Footer": "var(--xmlui-borderRight-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderTop-Footer": "var(--xmlui-borderTop-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderBottom-Footer": "var(--xmlui-borderBottom-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderWidth-Footer": "var(--xmlui-borderWidth-Footer)", "borderHorizontalWidth-Footer": "var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderLeftWidth-Footer": "var(--xmlui-borderLeftWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderRightWidth-Footer": "var(--xmlui-borderRightWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderVerticalWidth-Footer": "var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderTopWidth-Footer": "var(--xmlui-borderTopWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderBottomWidth-Footer": "var(--xmlui-borderBottomWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderStyle-Footer": "var(--xmlui-borderStyle-Footer)", "borderHorizontalStyle-Footer": "var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderLeftStyle-Footer": "var(--xmlui-borderLeftStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderRightStyle-Footer": "var(--xmlui-borderRightStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderVerticalStyle-Footer": "var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderTopStyle-Footer": "var(--xmlui-borderTopStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderBottomStyle-Footer": "var(--xmlui-borderBottomStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderColor-Footer": "var(--xmlui-borderColor-Footer)", "borderHorizontalColor-Footer": "var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer))", "borderLeftColor-Footer": "var(--xmlui-borderLeftColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderRightColor-Footer": "var(--xmlui-borderRightColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderVerticalColor-Footer": "var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer))", "borderTopColor-Footer": "var(--xmlui-borderTopColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderBottomColor-Footer": "var(--xmlui-borderBottomColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderStartStartRadius-Footer": "var(--xmlui-borderStartStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderStartEndRadius-Footer": "var(--xmlui-borderStartEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndStartRadius-Footer": "var(--xmlui-borderEndStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndEndRadius-Footer": "var(--xmlui-borderEndEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "backgroundColor-Footer": "var(--xmlui-backgroundColor-Footer)", "textColor-Footer": "var(--xmlui-textColor-Footer)", "height-Footer": "var(--xmlui-height-Footer)", "fontSize-Footer": "var(--xmlui-fontSize-Footer)", "verticalAlignment-Footer": "var(--xmlui-verticalAlignment-Footer)", "maxWidth-content-Footer": "var(--xmlui-maxWidth-content-Footer)", "gap-Footer": "var(--xmlui-gap-Footer)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "margin-Footer": "var(--xmlui-margin-Footer)"}'`,outerWrapper:"_outerWrapper_1i6n3_13",wrapper:"_wrapper_1i6n3_38",full:"_full_1i6n3_56"},V1=d.forwardRef(function({children:e,style:t,className:o},r){const{layout:n}=La()||{},a=n!=="vertical-full-header";return c.jsx("div",{className:Nl.outerWrapper,ref:r,style:t,children:c.jsx("div",{className:lA(Nl.wrapper,o,{[Nl.full]:!a}),children:e})})}),Cr="Footer",nm={status:"stable",description:"`Footer` provides a designated area at the bottom of your application for footer content such as branding, copyright notices, or utility controls like theme toggles.",themeVars:hA(Nl.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`backgroundColor-${Cr}`]:"$backgroundColor-AppHeader",[`verticalAlignment-${Cr}`]:"center",[`fontSize-${Cr}`]:"$fontSize-small",[`textColor-${Cr}`]:"$textColor-secondary",[`maxWidth-content-${Cr}`]:"$maxWidth-content",[`borderTop-${Cr}`]:"1px solid $borderColor",[`padding-${Cr}`]:"$space-2 $space-4",[`gap-${Cr}`]:"$space-normal",[`margin-${Cr}`]:"0 auto",light:{},dark:{}}},X1=$(Cr,nm,({node:A,renderChild:e,layoutCss:t,layoutContext:o})=>c.jsx(V1,{style:t,className:o==null?void 0:o.themeClassName,children:e(A.children,{type:"Stack",orientation:"horizontal"})})),Su={themeVars:`'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`,wrapper:"_wrapper_wscb6_13",buttonRow:"_buttonRow_wscb6_19"},am="__UNBOUND_FIELD__";var qt=(A=>(A.FIELD_LOST_FOCUS="FormActionKind:FIELD_LOST_FOCUS",A.FIELD_VALUE_CHANGED="FormActionKind:FIELD_VALUE_CHANGED",A.FIELD_FOCUSED="FormActionKind:FIELD_FOCUSED",A.FIELD_VALIDATED="FormActionKind:FIELD_VALIDATED",A.FIELD_INITIALIZED="FormActionKind:FIELD_INITIALIZED",A.FIELD_REMOVED="FormActionKind:FIELD_REMOVED",A.TRIED_TO_SUBMIT="FormActionKind:TRIED_TO_SUBMIT",A.BACKEND_VALIDATION_ARRIVED="FormActionKind:BACKEND_VALIDATION_ARRIVED",A.SUBMITTING="FormActionKind:SUBMITTING",A.SUBMITTED="FormActionKind:SUBMITTED",A.RESET="FormActionKind:RESET",A))(qt||{});function Z1(A,e,t=!1){return{type:"FormActionKind:FIELD_INITIALIZED",payload:{uid:A,value:e,force:t}}}function im(A,e){return{type:"FormActionKind:FIELD_VALUE_CHANGED",payload:{uid:A,value:e}}}function AS(A){return{type:"FormActionKind:FIELD_FOCUSED",payload:{uid:A}}}function eS(A){return{type:"FormActionKind:FIELD_LOST_FOCUS",payload:{uid:A}}}function sm(A,e){return{type:"FormActionKind:FIELD_VALIDATED",payload:{uid:A,validationResult:e}}}function tS(A){return{type:"FormActionKind:FIELD_REMOVED",payload:{uid:A}}}function oS(){return{type:"FormActionKind:TRIED_TO_SUBMIT",payload:{}}}function rS(){return{type:"FormActionKind:SUBMITTING",payload:{}}}function nS(){return{type:"FormActionKind:SUBMITTED",payload:{}}}function aS(A){return{type:"FormActionKind:RESET",payload:{originalSubject:A}}}function iS({generalValidationResults:A=[],fieldValidationResults:e={}}){return{type:"FormActionKind:BACKEND_VALIDATION_ARRIVED",payload:{generalValidationResults:A,fieldValidationResults:e}}}const $o={themeVars:`'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`,overlay:"_overlay_1svyq_13",fullScreen:"_fullScreen_1svyq_22",content:"_content_1svyq_28",overlayBg:"_overlayBg_1svyq_37",nested:"_nested_1svyq_43",dialogTitle:"_dialogTitle_1svyq_81",innerContent:"_innerContent_1svyq_87",closeButton:"_closeButton_1svyq_114"},lm=d.createContext(null),sS=()=>{const A=d.useId(),{registerForm:e,unRegisterForm:t,requestClose:o,amITheSingleForm:r}=d.useContext(lm)||{};return d.useEffect(()=>{if(e)return e(A),()=>{t==null||t(A)}},[A,e,t]),d.useCallback(()=>{if(o&&r(A))return o()},[r,A,o])},Fl={fullScreen:!1,closeButtonVisible:!0},cm=d.forwardRef(({isInitiallyOpen:A,onOpen:e,onClose:t,registerComponentApi:o,renderDialog:r},n)=>{const a=um(A,e,t),{doOpen:i,doClose:s,isOpen:l,openParams:u}=a;return d.useEffect(()=>{o==null||o({open:i,close:s})},[s,i,o]),l?c.jsx(gm.Provider,{value:a,children:r({openParams:u,ref:n})}):null});cm.displayName="ModalDialogFrame";const gm=d.createContext(null);function um(A,e,t){const[o,r]=d.useState(A),n=d.useRef(!1),[a,i]=d.useState(null),s=OA((...u)=>{i(u),e==null||e(),r(!0)}),l=OA(async()=>{if(!n.current)try{if(n.current=!0,await(t==null?void 0:t())===!1)return}finally{n.current=!1}r(!1)});return d.useMemo(()=>({isOpen:o,doClose:l,doOpen:s,openParams:a}),[l,s,o,a])}function lS(A=!0,e,t){const o=d.useContext(gm),r=um(A,e,t);return o||r}const Pl=d.forwardRef(({children:A,style:e,isInitiallyOpen:t,fullScreen:o=Fl.fullScreen,title:r,closeButtonVisible:n=Fl.closeButtonVisible,onOpen:a,onClose:i},s)=>{const{root:l}=ne(),u=(l==null?void 0:l.getRootNode())instanceof ShadowRoot,g=d.useRef(null),p=s?Et(s,g):g,{isOpen:B,doClose:C,doOpen:m}=lS(t,a,i);d.useEffect(()=>{var I;B&&((I=g.current)==null||I.focus())},[B]),d.useEffect(()=>{if(B){const I=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout(I)}else document.body.style.pointerEvents="auto"},[B]);const h=d.useRef(new Set),E=d.useMemo(()=>({registerForm:I=>{h.current.add(I)},unRegisterForm:I=>{h.current.delete(I)},amITheSingleForm:I=>h.current.size===1&&h.current.has(I),requestClose:()=>C()}),[C]);if(!l)return null;const Q=c.jsxs(Oe.Content,{className:lA($o.content),onPointerDownOutside:I=>{I.target instanceof Element&&I.target.closest("._debug-inspect-button")!==null&&I.preventDefault()},ref:p,style:{...e,gap:void 0},children:[!!r&&c.jsx(Oe.Title,{style:{marginTop:0},children:c.jsx("header",{id:"dialogTitle",className:$o.dialogTitle,children:r})}),c.jsx("div",{className:$o.innerContent,style:{gap:e==null?void 0:e.gap},children:c.jsx(lm.Provider,{value:E,children:A})}),n&&c.jsx(Oe.Close,{asChild:!0,children:c.jsx(ae,{variant:"ghost",themeColor:"secondary",className:$o.closeButton,"aria-label":"Close",icon:c.jsx(vA,{name:"close",size:"sm"}),orientation:"vertical"})})]});return c.jsx(Oe.Root,{open:B,onOpenChange:I=>I?m():C(),children:c.jsxs(Oe.Portal,{container:l,children:[u&&c.jsx("div",{className:lA($o.overlayBg,$o.nested,{[$o.fullScreen]:o}),children:Q}),!u&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:lA($o.overlayBg)}),c.jsx(Oe.Overlay,{className:lA($o.overlay,{[$o.fullScreen]:o}),children:Q})]})]})})});Pl.displayName="ModalDialog";const dm=new Set,Vt=new WeakMap,Ga=new WeakMap,Vn=new WeakMap,Hu=new WeakMap,cS=new WeakMap,Oa=new WeakMap,Gl=new WeakMap,Zi=new WeakSet;let Xn;const Or="__aa_tgt",Mu="__aa_del",gS=A=>{const e=CS(A);e&&e.forEach(t=>mS(t))},uS=A=>{A.forEach(e=>{e.target===Xn&&BS(),Vt.has(e.target)&&Zn(e.target)})};function dS(A){const e=Hu.get(A);e==null||e.disconnect();let t=Vt.get(A),o=0;const r=5;t||(t=Ua(A),Vt.set(A,t));const{offsetWidth:n,offsetHeight:a}=Xn,s=[t.top-r,n-(t.left+r+t.width),a-(t.top+r+t.height),t.left-r].map(u=>`${-1*Math.floor(u)}px`).join(" "),l=new IntersectionObserver(()=>{++o>1&&Zn(A)},{root:Xn,threshold:1,rootMargin:s});l.observe(A),Hu.set(A,l)}function Zn(A){clearTimeout(Gl.get(A));const e=Ol(A),t=typeof e=="function"?500:e.duration;Gl.set(A,setTimeout(async()=>{const o=Vn.get(A);try{await(o==null?void 0:o.finished),Vt.set(A,Ua(A)),dS(A)}catch{}},t))}function BS(){clearTimeout(Gl.get(Xn)),Gl.set(Xn,setTimeout(()=>{dm.forEach(A=>mm(A,e=>Bm(()=>Zn(e))))},100))}function pS(A){setTimeout(()=>{cS.set(A,setInterval(()=>Bm(Zn.bind(null,A)),2e3))},Math.round(2e3*Math.random()))}function Bm(A){typeof requestIdleCallback=="function"?requestIdleCallback(()=>A()):requestAnimationFrame(()=>A())}let Tu,Ra;typeof window<"u"&&(Xn=document.documentElement,Tu=new MutationObserver(gS),Ra=new ResizeObserver(uS),Ra.observe(Xn));function CS(A){return A.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:A.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(Lu(r.target),!o.has(r.target)){o.add(r.target);for(let n=0;n<r.target.children.length;n++){const a=r.target.children.item(n);if(a){if(Mu in a)return!1;Lu(r.target,a),o.add(a)}}}if(r.removedNodes.length)for(let n=0;n<r.removedNodes.length;n++){const a=r.removedNodes[n];if(Mu in a)return!1;a instanceof Element&&(o.add(a),Lu(r.target,a),Ga.set(a,[r.previousSibling,r.nextSibling]))}}return o},new Set)}function Lu(A,e){!e&&!(Or in A)?Object.defineProperty(A,Or,{value:A}):e&&!(Or in e)&&Object.defineProperty(e,Or,{value:A})}function mS(A){var e;const t=A.isConnected,o=Vt.has(A);t&&Ga.has(A)&&Ga.delete(A),Vn.has(A)&&((e=Vn.get(A))===null||e===void 0||e.cancel()),o&&t?QS(A):o&&!t?IS(A):ES(A)}function mr(A){return Number(A.replace(/[^0-9.\-]/g,""))}function hS(A){let e=A.parentElement;for(;e;){if(e.scrollLeft||e.scrollTop)return{x:e.scrollLeft,y:e.scrollTop};e=e.parentElement}return{x:0,y:0}}function Ua(A){const e=A.getBoundingClientRect(),{x:t,y:o}=hS(A);return{top:e.top+o,left:e.left+t,width:e.width,height:e.height}}function pm(A,e,t){let o=e.width,r=e.height,n=t.width,a=t.height;const i=getComputedStyle(A);if(i.getPropertyValue("box-sizing")==="content-box"){const l=mr(i.paddingTop)+mr(i.paddingBottom)+mr(i.borderTopWidth)+mr(i.borderBottomWidth),u=mr(i.paddingLeft)+mr(i.paddingRight)+mr(i.borderRightWidth)+mr(i.borderLeftWidth);o-=u,n-=u,r-=l,a-=l}return[o,n,r,a].map(Math.round)}function Ol(A){return Or in A&&Oa.has(A[Or])?Oa.get(A[Or]):{duration:250,easing:"ease-in-out"}}function Cm(A){if(Or in A)return A[Or]}function Nu(A){const e=Cm(A);return e?Zi.has(e):!1}function mm(A,...e){e.forEach(t=>t(A,Oa.has(A)));for(let t=0;t<A.children.length;t++){const o=A.children.item(t);o&&e.forEach(r=>r(o,Oa.has(o)))}}function QS(A){const e=Vt.get(A),t=Ua(A);if(!Nu(A))return Vt.set(A,t);let o;if(!e)return;const r=Ol(A);if(typeof r!="function"){const n=e.left-t.left,a=e.top-t.top,[i,s,l,u]=pm(A,e,t),g={transform:`translate(${n}px, ${a}px)`},p={transform:"translate(0, 0)"};i!==s&&(g.width=`${i}px`,p.width=`${s}px`),l!==u&&(g.height=`${l}px`,p.height=`${u}px`),o=A.animate([g,p],{duration:r.duration,easing:r.easing})}else o=new Animation(r(A,"remain",e,t)),o.play();Vn.set(A,o),Vt.set(A,t),o.addEventListener("finish",Zn.bind(null,A))}function ES(A){const e=Ua(A);Vt.set(A,e);const t=Ol(A);if(!Nu(A))return;let o;typeof t!="function"?o=A.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"}):(o=new Animation(t(A,"add",e)),o.play()),Vn.set(A,o),o.addEventListener("finish",Zn.bind(null,A))}function IS(A){var e;if(!Ga.has(A)||!Vt.has(A))return;const[t,o]=Ga.get(A);Object.defineProperty(A,Mu,{value:!0}),o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(A,o):t&&t.parentNode?t.parentNode.appendChild(A):(e=Cm(A))===null||e===void 0||e.appendChild(A);function r(){var p;A.remove(),Vt.delete(A),Ga.delete(A),Vn.delete(A),(p=Hu.get(A))===null||p===void 0||p.disconnect()}if(!Nu(A))return r();const[n,a,i,s]=wS(A),l=Ol(A),u=Vt.get(A);let g;Object.assign(A.style,{position:"absolute",top:`${n}px`,left:`${a}px`,width:`${i}px`,height:`${s}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof l!="function"?g=A.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"}):(g=new Animation(l(A,"remove",u)),g.play()),Vn.set(A,g),g.addEventListener("finish",r)}function wS(A){const e=Vt.get(A),[t,,o]=pm(A,e,Ua(A));let r=A.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const n=getComputedStyle(r),a=Vt.get(r)||Ua(r),i=Math.round(e.top-a.top)-mr(n.borderTopWidth),s=Math.round(e.left-a.left)-mr(n.borderLeftWidth);return[i,s,t,o]}function fS(A,e={}){return Tu&&Ra&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof e!="function"&&!e.disrespectUserMotionPreference||(Zi.add(A),getComputedStyle(A).position==="static"&&Object.assign(A.style,{position:"relative"}),mm(A,Zn,pS,r=>Ra==null?void 0:Ra.observe(r)),typeof e=="function"?Oa.set(A,e):Oa.set(A,{duration:250,easing:"ease-in-out",...e}),Tu.observe(A,{childList:!0}),dm.add(A))),Object.freeze({parent:A,enable:()=>{Zi.add(A)},disable:()=>{Zi.delete(A)},isEnabled:()=>Zi.has(A)})}function Fu(A){const[e,t]=d.useState();return[d.useCallback(n=>{n instanceof HTMLElement?t(fS(n,A)):t(void 0)},[]),n=>{e&&(n?e.enable():e.disable())}]}const ln={summaryContainer:"_summaryContainer_1sc6r_13",validationContainer:"_validationContainer_1sc6r_22",error:"_error_1sc6r_52",heading:"_heading_1sc6r_58",warning:"_warning_1sc6r_62",info:"_info_1sc6r_72",valid:"_valid_1sc6r_22"},hm={themeVars:'"[]"',spacer:"_spacer_1414d_13"},Qm=()=>c.jsx("div",{className:hm.spacer}),Em={fieldValidationResults:jA,generalValidationResults:Ae};function Im({fieldValidationResults:A=Em.fieldValidationResults,generalValidationResults:e=Em.generalValidationResults}){const[t]=Fu({duration:100}),o=d.useMemo(()=>{const r={};return Object.entries(A).forEach(([n,a])=>{a.validations.forEach(i=>{i.isValid||(r[i.severity]=r[i.severity]||[],r[i.severity].push({field:n,message:i.invalidMessage||""}))})}),e.forEach(n=>{r[n.severity]=r[n.severity]||[],r[n.severity].push({message:n.invalidMessage||""})}),r},[A,e]);return c.jsxs("div",{ref:t,className:ln.summaryContainer,"data-validation-summary":!0,children:[c.jsx(wm,{issues:o.warning,severity:"warning",heading:"Validation warnings"}),c.jsx(wm,{issues:o.error,severity:"error",heading:"Validation errors"})]})}const wm=({heading:A,issues:e=Ae,severity:t="error",onClose:o})=>{const[r]=Fu({duration:100});return e.length===0?null:c.jsxs("div",{className:lA(ln.validationContainer,{[ln.valid]:t==="valid",[ln.info]:t==="info",[ln.warning]:t==="warning",[ln.error]:t==="error"}),style:{paddingTop:o?void 0:"0.5rem"},"data-validation-display-severity":t,children:[c.jsxs(xa,{orientation:"horizontal",verticalAlignment:"center",style:{gap:"0.5rem"},children:[c.jsx(vA,{className:ln.heading,name:t,size:"md"}),c.jsx("div",{className:ln.heading,children:c.jsx(VA,{children:A})}),!!o&&c.jsxs(c.Fragment,{children:[c.jsx(Qm,{}),c.jsx(ae,{onClick:o,variant:"ghost",themeColor:"secondary",icon:c.jsx(vA,{name:"close",size:"sm"}),orientation:"vertical"})]})]}),c.jsx("ul",{ref:r,children:e.map((n,a)=>c.jsx(bS,{issue:n},a))})]})},bS=({issue:A})=>{const{field:e,message:t}=A;return c.jsx("li",{children:c.jsxs("span",{style:{display:"inline-flex",gap:e?"0.25rem":void 0},children:[e&&c.jsx(VA,{variant:"small",fontWeight:"bold",children:`${e}:`}),c.jsx(VA,{variant:"small",preserveLinebreaks:!0,children:t})]})})},DS=["error","warning","valid","none"],fm="errorLate",vS=[{value:"errorLate",description:"Display the error when the field loses focus.If an error is already displayed, continue for every keystroke until input is accepted."},{value:"onChanged",description:"Display error (if present) for every keystroke."},{value:"onLostFocus",description:"Show/hide error (if present) only if the field loses focus."}],bm=Rn.createContext(void 0);function vo(A){return Rn.useContextSelector(bm,A)}const yS=[{value:"text",description:"Renders TextBox"},{value:"password",description:"Renders TextBox with `password` type"},{value:"textarea",description:"Renders Textarea"},{value:"checkbox",description:"Renders Checkbox"},{value:"number",description:"Renders NumberBox"},{value:"integer",description:"Renders NumberBox with `integersOnly` set to true"},{value:"file",description:"Renders FileInput"},{value:"datePicker",description:"Renders DatePicker"},{value:"radioGroup",description:"Renders RadioGroup"},{value:"switch",description:"Renders Switch"},{value:"select",description:"Renders Select"},{value:"autocomplete",description:"Renders AutoComplete"},{value:"slider",description:"Renders Slider"},{value:"colorpicker",description:"Renders ColorPicker"},{value:"items",description:"Renders Items"},{value:"custom",description:"A custom control specified in children. If `type` is not specified but the `FormItem` has children, it considers the control a custom one."}];function xS(A){return A==null||A===""?!0:typeof A=="string"?A.trim().length===0:wA.isEmpty(A)}function Dm(A="",e){return typeof A=="string"?A.length>=e:(console.warn("minLength can only be used on strings"),!0)}function vm(A="",e){return typeof A=="string"?A.length<=e:(console.warn("maxLength can only be used on strings"),!0)}function Pu(A="",e){return typeof A!="string"&&!wA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)>=e}function Gu(A="",e){return typeof A!="string"&&!wA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)<=e}function kS(A="",e){if(typeof A=="string")return t(e).test(A);return console.warn("Regex can only be used on strings"),!0;function t(o){const r=o.match(/^([/~@;%#'])(.*?)\1([gimsuy]*)$/);return r?new RegExp(r[2],r[3]):new RegExp(o)}}class ym{constructor(e,t,o){this.validations=e,this.onValidate=t,this.value=o,this.preValidate=()=>{const r=this.validateRequired();let n=[r];return(!r||r.isValid)&&n.push(this.validateLength(),this.validateRange(),this.validatePattern(),this.validateRegex()),n=n.filter(a=>a!==void 0),{isValid:n.find(a=>!a.isValid)===void 0,validatedValue:this.value,partial:this.onValidate!==void 0,validations:n}},this.validate=async()=>{const r=this.preValidate(),n=await this.validateCustom()||[];return r.validations.push(...n.map(a=>({...a,async:!0}))),{isValid:r.validations.find(a=>!a.isValid)===void 0,validatedValue:this.value,partial:!1,validations:r.validations}}}validateRequired(){const{required:e,requiredInvalidMessage:t}=this.validations;if(e)return{isValid:!xS(this.value),invalidMessage:t||"This field is required",severity:"error"}}validateLength(){const{minLength:e,maxLength:t,lengthInvalidMessage:o,lengthInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:Dm(this.value,e),invalidMessage:o||`Input should be at least ${e} ${km(e,"character")}`,severity:r}:e===void 0&&t!==void 0?{isValid:vm(this.value,t),invalidMessage:o||`Input should be up to ${t} ${km(t,"character")}`,severity:r}:{isValid:Dm(this.value,e)&&vm(this.value,t),invalidMessage:o||`Input length should be between ${e} and ${t}`,severity:r}}validateRange(){const{minValue:e,maxValue:t,rangeInvalidMessage:o,rangeInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:Pu(this.value,e),invalidMessage:o||`Input should be bigger than ${e}`,severity:r}:e===void 0&&t!==void 0?{isValid:Gu(this.value,t),invalidMessage:o||`Input should be smaller than ${t}`,severity:r}:typeof this.value=="object"&&Array.isArray(this.value)?{isValid:this.value.every(a=>Pu(a,e)&&Gu(a,t)),invalidMessage:o||`All inputs should be between ${e} and ${t}`,severity:r}:{isValid:Pu(this.value,e)&&Gu(this.value,t),invalidMessage:o||`Input should be between ${e} and ${t}`,severity:r}}validatePattern(){const{pattern:e,patternInvalidMessage:t,patternInvalidSeverity:o="error"}=this.validations;if(e)switch(e.toLowerCase()){case"email":return{isValid:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(this.value),invalidMessage:t||"Not a valid email address",severity:o};case"phone":return{isValid:/^[a-zA-Z0-9#*)(+.\-_&']+$/g.test(this.value),invalidMessage:t||"Not a valid phone number",severity:o};case"url":let r;try{r=new URL(this.value)}catch{}return!r||r.protocol&&!["http:","https:"].includes(r.protocol)?{isValid:!1,invalidMessage:"Not a valid URL",severity:o}:{isValid:!0,severity:"valid"};default:return console.warn("Unknown pattern provided"),{isValid:!0,severity:"valid"}}}validateRegex(){const{regex:e,regexInvalidMessage:t,regexInvalidSeverity:o="error"}=this.validations;if(e!==void 0)return{isValid:kS(this.value,e),invalidMessage:t||"Input is not in the correct format",severity:o}}async validateCustom(){if(!this.onValidate)return;const e=await this.onValidate(this.value);return typeof e=="boolean"?[{isValid:e,invalidMessage:"Invalid input",severity:"error"}]:wA.isArray(e)?e:[e]}}async function xm(A,e,t){return await new ym(A,e,t).validate()}function SS(A,e,t,o,r,n=0){const a=d.useDeferredValue(t),i=d.useMemo(()=>n!==0?jx(xm,n,{trailing:!0,leading:!0}):xm,[n]);d.useEffect(function(){const l=new ym(A,e,a);let u=!1;const g=l.preValidate();return u||(o(sm(r,g)),g.partial&&(async()=>{const p=await i(A,e,a);u||o(sm(r,p))})()),()=>{u=!0}},[r,a,o,e,i,A])}function HS(A,e,t,o=fm){const r=vo(E=>E.interactionFlags[A])||jA,n=r.forceShowValidationResult,a=r.focused,i=r.isValidLostFocus,s=r.isValidOnFocus,l=r.invalidToValid,u=!t||t.validatedValue!==e,g=r.isDirty,p=(t==null?void 0:t.isValid)===!0;let B="none";for(const E of(t==null?void 0:t.validations)||[])if(!E.isValid&&(B!=="error"&&E.severity==="warning"&&(B="warning"),E.severity==="error")){B="error";break}let C=!1;switch(o){case"errorLate":C=g&&(a?!l&&!s:!i);break;case"onChanged":C=g;break;case"onLostFocus":C=g&&(!a&&!p||!i&&!p)}C=C||n;const[m,h]=d.useState(C);return m!==C&&!u&&h(C),u&&(C=m),{isHelperTextShown:C,validationStatus:C?B:"none"}}function Rl(A){if(A!==void 0)return A==="error"||A==="warning"||A==="valid"||A==="none"?A:"none"}function MS(A){const e={error:[],warning:[],valid:[],none:[]};return Object.entries(A).forEach(([t,o])=>{o.validations.forEach(r=>{r.isValid||(e[r.severity]=e[r.severity]||[],e[r.severity].push(r))})}),e}function km(A,e){return A===1?e:e+"s"}const Ou=(A,e)=>wA.get(A,e),TS=he((A,e)=>{var o,r,n,a;const{uid:t}=e.payload;switch(t!==void 0&&!A.interactionFlags[t]&&(A.interactionFlags[t]={isDirty:!1,invalidToValid:!1,isValidOnFocus:!1,isValidLostFocus:!1,focused:!1,forceShowValidationResult:!1}),e.type){case qt.FIELD_INITIALIZED:{(!A.interactionFlags[t].isDirty||e.payload.force)&&wA.set(A.subject,t,e.payload.value);break}case qt.FIELD_REMOVED:{delete A.validationResults[t],delete A.interactionFlags[t];break}case qt.FIELD_VALUE_CHANGED:{wA.set(A.subject,t,e.payload.value),A.interactionFlags[t].isDirty=!0,A.interactionFlags[t].forceShowValidationResult=!1;break}case qt.FIELD_VALIDATED:{if(e.payload.validationResult.validations.length===0){delete A.validationResults[t];break}const i=(o=A.validationResults[t])==null?void 0:o.isValid;if(e.payload.validationResult.partial){const s=[...e.payload.validationResult.validations,...(((r=A.validationResults[t])==null?void 0:r.validations.filter(l=>l.async))||[]).map(l=>({...l,stale:!0}))];A.validationResults[t]={...e.payload.validationResult,isValid:s.find(l=>!l.isValid)===void 0,validations:s}}else A.validationResults[t]=e.payload.validationResult;A.interactionFlags[t].invalidToValid=!i&&A.validationResults[t].isValid;break}case qt.FIELD_FOCUSED:{A.interactionFlags[t].isValidOnFocus=!!((n=A.validationResults[t])!=null&&n.isValid),A.interactionFlags[t].focused=!0;break}case qt.FIELD_LOST_FOCUS:{A.interactionFlags[t].isValidLostFocus=!!((a=A.validationResults[t])!=null&&a.isValid),A.interactionFlags[t].focused=!1;break}case qt.TRIED_TO_SUBMIT:{Object.keys(A.interactionFlags).forEach(i=>{A.interactionFlags[i].forceShowValidationResult=!0});break}case qt.SUBMITTING:{A.submitInProgress=!0;break}case qt.SUBMITTED:{A.submitInProgress=!1,A.generalValidationResults=[],A.interactionFlags={},Object.keys(A.validationResults).forEach(i=>{var s;A.validationResults[i].validations=(s=A.validationResults[i].validations)==null?void 0:s.filter(l=>!l.fromBackend),A.validationResults[i].isValid=A.validationResults[i].validations.find(l=>!l.isValid)===void 0});break}case qt.BACKEND_VALIDATION_ARRIVED:{A.submitInProgress=!1,A.generalValidationResults=e.payload.generalValidationResults,Object.keys(A.validationResults).forEach(i=>{var s;A.validationResults[i].validations=(s=A.validationResults[i].validations)==null?void 0:s.filter(l=>!l.fromBackend)}),Object.entries(e.payload.fieldValidationResults).forEach(([i,s])=>{var l;A.validationResults[i]||(A.validationResults[i]={isValid:!1,validations:[],partial:!1,validatedValue:A.subject[i]}),A.validationResults[i].validations=[...((l=A.validationResults[i])==null?void 0:l.validations)||[],...s||[]],A.validationResults[i].isValid=A.validationResults[i].validations.find(u=>!u.isValid)===void 0});break}case qt.RESET:{const{originalSubject:i}=e.payload;return{...Sm,subject:i,resetVersion:(A.resetVersion??0)+1}}}}),Sm={subject:{},validationResults:{},generalValidationResults:[],interactionFlags:{},submitInProgress:!1,resetVersion:0},Co={cancelLabel:"Cancel",saveLabel:"Save",saveInProgressLabel:"Saving...",itemLabelPosition:"top",itemLabelBreak:!0,keepModalOpenOnSubmit:!1,swapCancelAndSave:!1};function Hm(A){return Object.entries(A||{}).reduce((e,[t,o])=>(t.endsWith(am)||(e[t]=o),e),{})}const Mm=d.forwardRef(function({formState:A,dispatch:e,initialValue:t=jA,children:o,style:r,enabled:n=!0,cancelLabel:a=Co.cancelLabel,saveLabel:i=Co.saveLabel,saveInProgressLabel:s=Co.saveInProgressLabel,swapCancelAndSave:l,onSubmit:u,onCancel:g,onReset:p,onSuccess:B,buttonRow:C,id:m,registerComponentApi:h,itemLabelBreak:E=Co.itemLabelBreak,itemLabelWidth:Q,itemLabelPosition:I=Co.itemLabelPosition,keepModalOpenOnSubmit:w=Co.keepModalOpenOnSubmit},b){const v=d.useRef(null);d.useImperativeHandle(b,()=>v.current);const[x,T]=d.useState(!1),H=sS(),P=n&&!A.submitInProgress,f=d.useMemo(()=>({itemLabelBreak:E,itemLabelWidth:Q,itemLabelPosition:I,subject:A.subject,originalSubject:t,validationResults:A.validationResults,interactionFlags:A.interactionFlags,dispatch:e,enabled:P}),[e,A.interactionFlags,A.subject,A.validationResults,t,P,E,I,Q]),y=OA(()=>{g==null||g(),H()}),L=OA(async U=>{var z;if(U==null||U.preventDefault(),!P)return;T(!1),e(oS());const{error:j,warning:_}=MS(Object.values(A.validationResults));if(j.length)return;if(_.length&&!x){T(!0);return}const Z=document.activeElement;e(rS());try{const O=Hm(A.subject),Y=await(u==null?void 0:u(O,{passAsDefaultBody:!0}));e(nS()),await(B==null?void 0:B(Y)),w||H(),t===jA&&fa.flushSync(()=>{F()}),Z&&typeof Z.focus=="function"&&Z.focus()}catch(O){const Y=[],q={};O instanceof Error&&"errorCategory"in O&&O.errorCategory==="GenericBackendError"&&((z=O.details)!=null&&z.issues)&&Array.isArray(O.details.issues)?O.details.issues.forEach(eA=>{const AA={isValid:!1,invalidMessage:eA.message,severity:eA.severity||"error",fromBackend:!0};eA.field!==void 0?(q[eA.field]=q[eA.field]||[],q[eA.field].push(AA)):Y.push(AA)}):Y.push({isValid:!1,invalidMessage:O.message||"Couldn't save the form.",severity:"error",fromBackend:!0}),e(iS({generalValidationResults:Y,fieldValidationResults:q}))}}),F=OA(()=>{e(aS(t)),p==null||p()}),S=OA(U=>{typeof U!="object"||U===null||U===void 0||Object.entries(U).forEach(([j,_])=>{e({type:qt.FIELD_VALUE_CHANGED,payload:{uid:j,value:_}})})}),J=a===""?null:c.jsx(ae,{type:"button",themeColor:"secondary",variant:"ghost",onClick:y,children:a},"cancel"),R=d.useMemo(()=>c.jsx(ae,{type:"submit",disabled:!P,children:A.submitInProgress?s:i},"submit"),[P,A.submitInProgress,s,i]);return d.useEffect(()=>{h==null||h({reset:F,update:S})},[F,S,h]),c.jsxs(c.Fragment,{children:[c.jsxs("form",{style:r,className:Su.wrapper,onSubmit:L,onReset:F,id:m,ref:v,children:[c.jsx(Im,{generalValidationResults:A.generalValidationResults}),c.jsx(bm.Provider,{value:f,children:o}),C||c.jsxs("div",{className:Su.buttonRow,children:[l&&[R,J],!l&&[J,R]]})]},A.resetVersion),x&&c.jsx(Pl,{onClose:()=>T(!1),isInitiallyOpen:!0,title:"Are you sure want to move forward?",children:c.jsxs(xa,{orientation:"vertical",style:{gap:"0.5rem"},children:[c.jsx(VA,{children:"The following warnings were found during validation. Please make sure you are willing to move forward despite these issues."}),c.jsx(Im,{generalValidationResults:A.generalValidationResults,fieldValidationResults:A.validationResults}),c.jsxs(xa,{orientation:"horizontal",horizontalAlignment:"end",style:{gap:"1em"},children:[c.jsx(ae,{variant:"ghost",themeColor:"secondary",onClick:()=>T(!1),children:"No"}),c.jsx(ae,{onClick:()=>L(),autoFocus:!0,children:"Yes, proceed"})]})]})})]})});Mm.displayName="Form";function LS({node:A,renderChild:e,extractValue:t,style:o,lookupEventHandler:r,registerComponentApi:n}){const[a,i]=d.useReducer(TS,Sm),s=d.useMemo(()=>{const h=E=>{typeof E!="object"||E===null||E===void 0||Object.entries(E).forEach(([Q,I])=>{i({type:qt.FIELD_VALUE_CHANGED,payload:{uid:Q,value:I}})})};return{...Hm(a.subject),update:h}},[a.subject]),l=d.useMemo(()=>({type:"Fragment",vars:{$data:s},children:A.children}),[s,A.children]),u=t(A.props.data),g=t.asOptionalString(A.props.submitMethod)||(u?"put":"post"),p=t.asOptionalString(A.props.inProgressNotificationMessage)||"",B=t.asOptionalString(A.props.completedNotificationMessage)||"",C=t.asOptionalString(A.props.errorNotificationMessage)||"",m=t.asOptionalString(A.props.submitUrl)||t.asOptionalString(A.props._data_url);return c.jsx(Mm,{keepModalOpenOnSubmit:t.asOptionalBoolean(A.props.keepModalOpenOnSubmit),itemLabelPosition:t.asOptionalString(A.props.itemLabelPosition),itemLabelBreak:t.asOptionalBoolean(A.props.itemLabelBreak),itemLabelWidth:t.asOptionalString(A.props.itemLabelWidth),formState:a,dispatch:i,id:A.uid,style:o,cancelLabel:t(A.props.cancelLabel),saveLabel:t(A.props.saveLabel),saveInProgressLabel:t(A.props.saveInProgressLabel),swapCancelAndSave:t.asOptionalBoolean(A.props.swapCancelAndSave,!1),onSubmit:r("submit",{defaultHandler:m?`(eventArgs)=> Actions.callApi({ url: "${m}", method: "${g}", body: eventArgs, inProgressNotificationMessage: "${p}", completedNotificationMessage: "${B}", errorNotificationMessage: "${C}" })`:void 0,context:{$data:s}}),onCancel:r("cancel",{context:{$data:s}}),onReset:r("reset",{context:{$data:s}}),onSuccess:r("success",{context:{$data:s}}),initialValue:u,buttonRow:e(A.props.buttonRowTemplate),registerComponentApi:n,enabled:t.asOptionalBoolean(A.props.enabled,!0)&&!t.asOptionalBoolean(A.props.loading,!1),children:e(l)})}const NS="Form",Tm={status:"stable",description:"`Form` provides a structured container for collecting and validating user input, with built-in data binding, validation, and submission handling. It automatically manages form state and provides context for nested form controls to work together.",props:{buttonRowTemplate:zA("This property allows defining a custom component to display the buttons at the bottom of the form."),itemLabelPosition:{description:"This property sets the position of the item labels within the form.Individual `FormItem` instances can override this property.",availableValues:gp,type:"string",defaultValue:Co.itemLabelPosition},itemLabelWidth:{description:"This property sets the width of the item labels within the form. Individual `FormItem` instances can override this property. If this property is not set, each form item nested in the form uses its calculated label width. These widths may be different for each item.",type:"string"},itemLabelBreak:{description:"This boolean value indicates if form item labels can be split into multiple lines if it would overflow the available label width. Individual `FormItem` instances can override this property.",type:"boolean",defaultValue:Co.itemLabelBreak},keepModalOpenOnSubmit:{description:"This property prevents the modal from closing when the form is submitted.",type:"boolean",defaultValue:Co.keepModalOpenOnSubmit},data:{description:"This property sets the initial value of the form's data structure. The form infrastructure uses this value to set the initial state of form items within the form. If this property isnot set, the form does not have an initial value."},cancelLabel:{description:"This property defines the label of the Cancel button.",type:"string",defaultValue:Co.cancelLabel},saveLabel:{description:"This property defines the label of the Save button.",type:"string",defaultValue:Co.saveLabel},saveInProgressLabel:{description:"This property defines the label of the Save button to display during the form data submit (save) operation.",type:"string",defaultValue:Co.saveInProgressLabel},swapCancelAndSave:{description:"By default, the Cancel button is to the left of the Save button. Set this property to `true` to swap them or `false` to keep their original location.",type:"boolean",defaultValue:Co.swapCancelAndSave},submitUrl:k("URL to submit the form data."),submitMethod:{description:"This property sets the HTTP method to use when submitting the form data. If not defined, `put` is used when the form has initial data; otherwise, `post`."},inProgressNotificationMessage:k("This property sets the message to display when the form is being submitted."),completedNotificationMessage:k("This property sets the message to display when the form is submitted successfully."),errorNotificationMessage:k("This property sets the message to display when the form submission fails."),enabled:Ye(),_data_url:Se("when we have an api bound data prop, we inject the url here")},events:{submit:k("The form infrastructure fires this event when the form is submitted. The event argument is the current `data` value to save."),success:k("The form infrastructure fires this event when the form is submitted successfully."),cancel:k("The form infrastructure fires this event when the form is canceled."),reset:k("The form infrastructure fires this event when the form is reset.")},contextVars:{$data:k("This property represents the value of the form data. You can access the fields of the form using the IDs in the `bindTo` property of nested `FormItem` instances. `$data` also provides an `update` method as a shortcut to the Form's exposed `update` method.")},apis:{reset:k("Call this event to reset the form to its initial state."),update:k("You can pass a data object to update the form data. The properties in the passed data object are updated to their values accordingly. Other form properties remain intact.")},themeVars:hA(Su.themeVars),defaultThemeVars:{"gap-Form":"$space-4","gap-buttonRow-Form":"$space-4","backgroundColor-ValidationDisplay-error":"$color-danger-100","backgroundColor-ValidationDisplay-warning":"$color-warn-100","backgroundColor-ValidationDisplay-info":"$color-primary-100","backgroundColor-ValidationDisplay-valid":"$color-success-100","color-accent-ValidationDisplay-error":"$color-error","color-accent-ValidationDisplay-warning":"$color-warning","color-accent-ValidationDisplay-info":"$color-info","color-accent-ValidationDisplay-valid":"$color-valid","textColor-ValidationDisplay-error":"$color-error","textColor-ValidationDisplay-warning":"$color-warning","textColor-ValidationDisplay-info":"$color-info","textColor-ValidationDisplay-valid":"$color-valid"}},FS=$(NS,Tm,({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n})=>c.jsx(LS,{node:A,renderChild:e,extractValue:t,lookupEventHandler:r,style:o,registerComponentApi:n})),PS=Object.freeze(Object.defineProperty({__proto__:null,T_ARRAY_DESTRUCTURE:202,T_ARRAY_LITERAL:110,T_ARROW_EXPRESSION:115,T_ARROW_EXPRESSION_STATEMENT:4,T_ASSIGNMENT_EXPRESSION:113,T_BINARY_EXPRESSION:101,T_BLOCK_STATEMENT:1,T_BREAK_STATEMENT:10,T_CALCULATED_MEMBER_ACCESS_EXPRESSION:106,T_CONDITIONAL_EXPRESSION:103,T_CONST_STATEMENT:6,T_CONTINUE_STATEMENT:11,T_DESTRUCTURE:201,T_DO_WHILE_STATEMENT:13,T_EMPTY_STATEMENT:2,T_EXPRESSION_STATEMENT:3,T_FOR_IN_STATEMENT:15,T_FOR_OF_STATEMENT:16,T_FOR_STATEMENT:14,T_FUNCTION_DECLARATION:20,T_FUNCTION_INVOCATION_EXPRESSION:104,T_IDENTIFIER:107,T_IF_STATEMENT:8,T_LET_STATEMENT:5,T_LITERAL:109,T_MEMBER_ACCESS_EXPRESSION:105,T_NO_ARG_EXPRESSION:114,T_OBJECT_DESTRUCTURE:203,T_OBJECT_LITERAL:111,T_POSTFIX_OP_EXPRESSION:117,T_PREFIX_OP_EXPRESSION:116,T_REACTIVE_VAR_DECLARATION:118,T_RETURN_STATEMENT:9,T_SEQUENCE_EXPRESSION:102,T_SPREAD_EXPRESSION:112,T_SWITCH_CASE:204,T_SWITCH_STATEMENT:19,T_TEMPLATE_LITERAL_EXPRESSION:108,T_THROW_STATEMENT:17,T_TRY_STATEMENT:18,T_UNARY_EXPRESSION:100,T_VAR_DECLARATION:200,T_VAR_STATEMENT:7,T_WHILE_STATEMENT:12},Symbol.toStringTag,{value:"Module"})),{T_BLOCK_STATEMENT:Jo,T_EMPTY_STATEMENT:zo,T_EXPRESSION_STATEMENT:qo,T_ARROW_EXPRESSION_STATEMENT:Xt,T_LET_STATEMENT:Ul,T_CONST_STATEMENT:Kl,T_VAR_STATEMENT:Yl,T_IF_STATEMENT:jl,T_RETURN_STATEMENT:Aa,T_BREAK_STATEMENT:Ru,T_CONTINUE_STATEMENT:Uu,T_WHILE_STATEMENT:_l,T_DO_WHILE_STATEMENT:Wl,T_FOR_STATEMENT:$l,T_FOR_IN_STATEMENT:cn,T_FOR_OF_STATEMENT:ea,T_THROW_STATEMENT:Jl,T_TRY_STATEMENT:zl,T_SWITCH_STATEMENT:ql,T_FUNCTION_DECLARATION:Ka,T_UNARY_EXPRESSION:Vl,T_BINARY_EXPRESSION:Bt,T_SEQUENCE_EXPRESSION:hr,T_CONDITIONAL_EXPRESSION:Xl,T_FUNCTION_INVOCATION_EXPRESSION:As,T_MEMBER_ACCESS_EXPRESSION:Vo,T_CALCULATED_MEMBER_ACCESS_EXPRESSION:gn,T_IDENTIFIER:KA,T_TEMPLATE_LITERAL_EXPRESSION:Ku,T_LITERAL:Me,T_ARRAY_LITERAL:Qr,T_OBJECT_LITERAL:Er,T_SPREAD_EXPRESSION:pt,T_ASSIGNMENT_EXPRESSION:un,T_NO_ARG_EXPRESSION:es,T_ARROW_EXPRESSION:De,T_PREFIX_OP_EXPRESSION:Ya,T_POSTFIX_OP_EXPRESSION:Zl,T_REACTIVE_VAR_DECLARATION:GS,T_VAR_DECLARATION:yo,T_DESTRUCTURE:ja,T_ARRAY_DESTRUCTURE:Rr,T_OBJECT_DESTRUCTURE:dn,T_SWITCH_CASE:OS}=PS;class Lm{constructor(e){this.source=e,this._pos=0,this._line=1,this._column=0}get position(){return this._pos}get line(){return this._line}get column(){return this._column}peek(){return this.ahead(0)}ahead(e=1){return this._pos+e>this.source.length-1?null:this.source[this._pos+e]}get(){if(this._pos>=this.source.length)return null;const e=this.source[this._pos++];return e===`
|
|
33
|
+
`);return A}const C1={anchorRef:"_anchorRef_1d4md_1"},yl={level:1,omitFromToc:!1},m1=({uid:A,level:e=yl.level,children:t,title:o,omitFromToc:r=yl.omitFromToc,registerComponentApi:n})=>{const a=d.useRef(null),i=d.useContext(vl),s=i==null?void 0:i.registerHeading,l=i==null?void 0:i.hasTableOfContents,u=d.useCallback(g=>{a.current&&a.current.scrollIntoView({behavior:"smooth",block:"start",...g})},[]);return d.useEffect(()=>{n==null||n({scrollIntoView:u})},[n,u]),d.useLayoutEffect(()=>{var g,p,B;if(l&&a.current&&A&&!r)return s==null?void 0:s({id:A,level:e,text:o||((B=(p=(g=a.current)==null?void 0:g.textContent)==null?void 0:p.trim())==null?void 0:B.replace(/#$/,""))||A,anchor:a.current})},[A,l,s,e,o,r]),c.jsx("span",{ref:a,id:A,"data-anchor":!0,className:C1.anchorRef,children:t})},h1="Bookmark",TC={status:"stable",description:"As its name suggests, this component places a bookmark into its parent component's view. The component has an `id` that you can use in links to navigate (scroll to) the bookmark's location.",opaque:!0,props:{uid:{description:"The unique identifier of the bookmark. You can use this identifier in links to navigate to this component's location. If this identifier is not set, you cannot programmatically visit this bookmark.",valueType:"string"},level:{description:"The level of the bookmark. The level is used to determine the bookmark's position in the table of contents.",valueType:"number",defaultValue:yl.level},title:{description:"Defines the text to display the bookmark in the table of contents. If this property is empty, the text falls back to the value of `id`.",valueType:"string"},omitFromToc:{description:"If true, this bookmark will be excluded from the table of contents.",valueType:"boolean",defaultValue:yl.omitFromToc}},apis:{scrollIntoView:{description:"Scrolls the bookmark into view."}}},Q1=$(h1,TC,A=>{const{node:e,renderChild:t,extractValue:o,layoutContext:r}=A;return c.jsx(m1,{uid:o(e.uid),level:o(e.props.level),title:o(e.props.title),omitFromToc:o.asOptionalBoolean(e.props.omitFromToc),children:t(e.children,r)})}),Jn={themeVars:`'{"padding-Card": "var(--xmlui-padding-Card)", "paddingHorizontal-Card": "var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card))", "paddingVertical-Card": "var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card))", "paddingLeft-Card": "var(--xmlui-paddingLeft-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingRight-Card": "var(--xmlui-paddingRight-Card, var(--xmlui-paddingHorizontal-Card, var(--xmlui-padding-Card)))", "paddingTop-Card": "var(--xmlui-paddingTop-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "paddingBottom-Card": "var(--xmlui-paddingBottom-Card, var(--xmlui-paddingVertical-Card, var(--xmlui-padding-Card)))", "border-Card": "var(--xmlui-border-Card)", "borderHorizontal-Card": "var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card))", "borderVertical-Card": "var(--xmlui-borderVertical-Card, var(--xmlui-border-Card))", "borderLeft-Card": "var(--xmlui-borderLeft-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderRight-Card": "var(--xmlui-borderRight-Card, var(--xmlui-borderHorizontal-Card, var(--xmlui-border-Card)))", "borderTop-Card": "var(--xmlui-borderTop-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderBottom-Card": "var(--xmlui-borderBottom-Card, var(--xmlui-borderVertical-Card, var(--xmlui-border-Card)))", "borderWidth-Card": "var(--xmlui-borderWidth-Card)", "borderHorizontalWidth-Card": "var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card))", "borderLeftWidth-Card": "var(--xmlui-borderLeftWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderRightWidth-Card": "var(--xmlui-borderRightWidth-Card, var(--xmlui-borderHorizontalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderVerticalWidth-Card": "var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card))", "borderTopWidth-Card": "var(--xmlui-borderTopWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderBottomWidth-Card": "var(--xmlui-borderBottomWidth-Card, var(--xmlui-borderVerticalWidth-Card, var(--xmlui-borderWidth-Card)))", "borderStyle-Card": "var(--xmlui-borderStyle-Card)", "borderHorizontalStyle-Card": "var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card))", "borderLeftStyle-Card": "var(--xmlui-borderLeftStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderRightStyle-Card": "var(--xmlui-borderRightStyle-Card, var(--xmlui-borderHorizontalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderVerticalStyle-Card": "var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card))", "borderTopStyle-Card": "var(--xmlui-borderTopStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderBottomStyle-Card": "var(--xmlui-borderBottomStyle-Card, var(--xmlui-borderVerticalStyle-Card, var(--xmlui-borderStyle-Card)))", "borderColor-Card": "var(--xmlui-borderColor-Card)", "borderHorizontalColor-Card": "var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card))", "borderLeftColor-Card": "var(--xmlui-borderLeftColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderRightColor-Card": "var(--xmlui-borderRightColor-Card, var(--xmlui-borderHorizontalColor-Card, var(--xmlui-borderColor-Card)))", "borderVerticalColor-Card": "var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card))", "borderTopColor-Card": "var(--xmlui-borderTopColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderBottomColor-Card": "var(--xmlui-borderBottomColor-Card, var(--xmlui-borderVerticalColor-Card, var(--xmlui-borderColor-Card)))", "borderStartStartRadius-Card": "var(--xmlui-borderStartStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderStartEndRadius-Card": "var(--xmlui-borderStartEndRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndStartRadius-Card": "var(--xmlui-borderEndStartRadius-Card, var(--xmlui-borderRadius-Card))", "borderEndEndRadius-Card": "var(--xmlui-borderEndEndRadius-Card, var(--xmlui-borderRadius-Card))", "boxShadow-Card": "var(--xmlui-boxShadow-Card)", "backgroundColor-Card": "var(--xmlui-backgroundColor-Card)", "borderRadius-Card": "var(--xmlui-borderRadius-Card)", "gap-Card": "var(--xmlui-gap-Card)", "gap-title-Card": "var(--xmlui-gap-title-Card)", "gap-avatar-Card": "var(--xmlui-gap-avatar-Card)", "horizontalAlignment-title-Card": "var(--xmlui-horizontalAlignment-title-Card)", "verticalAlignment-title-Card": "var(--xmlui-verticalAlignment-title-Card)"}'`,wrapper:"_wrapper_zx7g9_13",avatarWrapper:"_avatarWrapper_zx7g9_46",titleWrapper:"_titleWrapper_zx7g9_53",horizontal:"_horizontal_zx7g9_61",vertical:"_vertical_zx7g9_65",isClickable:"_isClickable_zx7g9_68"},Fa={themeVars:`'{"padding-Link": "var(--xmlui-padding-Link)", "paddingHorizontal-Link": "var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link))", "paddingVertical-Link": "var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link))", "paddingLeft-Link": "var(--xmlui-paddingLeft-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingRight-Link": "var(--xmlui-paddingRight-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingTop-Link": "var(--xmlui-paddingTop-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "paddingBottom-Link": "var(--xmlui-paddingBottom-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "paddingHorizontal-icon-Link": "var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link))", "paddingVertical-icon-Link": "var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link))", "paddingLeft-icon-Link": "var(--xmlui-paddingLeft-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingRight-icon-Link": "var(--xmlui-paddingRight-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingTop-icon-Link": "var(--xmlui-paddingTop-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingBottom-icon-Link": "var(--xmlui-paddingBottom-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "border-Link": "var(--xmlui-border-Link)", "borderHorizontal-Link": "var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link))", "borderVertical-Link": "var(--xmlui-borderVertical-Link, var(--xmlui-border-Link))", "borderLeft-Link": "var(--xmlui-borderLeft-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderRight-Link": "var(--xmlui-borderRight-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderTop-Link": "var(--xmlui-borderTop-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderBottom-Link": "var(--xmlui-borderBottom-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderWidth-Link": "var(--xmlui-borderWidth-Link)", "borderHorizontalWidth-Link": "var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link))", "borderLeftWidth-Link": "var(--xmlui-borderLeftWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderRightWidth-Link": "var(--xmlui-borderRightWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderVerticalWidth-Link": "var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link))", "borderTopWidth-Link": "var(--xmlui-borderTopWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderBottomWidth-Link": "var(--xmlui-borderBottomWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderStyle-Link": "var(--xmlui-borderStyle-Link)", "borderHorizontalStyle-Link": "var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link))", "borderLeftStyle-Link": "var(--xmlui-borderLeftStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderRightStyle-Link": "var(--xmlui-borderRightStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderVerticalStyle-Link": "var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link))", "borderTopStyle-Link": "var(--xmlui-borderTopStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderBottomStyle-Link": "var(--xmlui-borderBottomStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderColor-Link": "var(--xmlui-borderColor-Link)", "borderHorizontalColor-Link": "var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link))", "borderLeftColor-Link": "var(--xmlui-borderLeftColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderRightColor-Link": "var(--xmlui-borderRightColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderVerticalColor-Link": "var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link))", "borderTopColor-Link": "var(--xmlui-borderTopColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderBottomColor-Link": "var(--xmlui-borderBottomColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderStartStartRadius-Link": "var(--xmlui-borderStartStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderStartEndRadius-Link": "var(--xmlui-borderStartEndRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndStartRadius-Link": "var(--xmlui-borderEndStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndEndRadius-Link": "var(--xmlui-borderEndEndRadius-Link, var(--xmlui-borderRadius-Link))", "textColor-Link": "var(--xmlui-textColor-Link)", "fontFamily-Link": "var(--xmlui-fontFamily-Link)", "fontSize-Link": "var(--xmlui-fontSize-Link)", "fontStyle-Link": "var(--xmlui-fontStyle-Link)", "fontVariant-Link": "var(--xmlui-fontVariant-Link)", "fontWeight-Link": "var(--xmlui-fontWeight-Link)", "fontStretch-Link": "var(--xmlui-fontStretch-Link)", "textDecorationLine-Link": "var(--xmlui-textDecorationLine-Link)", "textDecorationColor-Link": "var(--xmlui-textDecorationColor-Link)", "textDecorationStyle-Link": "var(--xmlui-textDecorationStyle-Link)", "textDecorationThickness-Link": "var(--xmlui-textDecorationThickness-Link)", "textUnderlineOffset-Link": "var(--xmlui-textUnderlineOffset-Link)", "lineHeight-Link": "var(--xmlui-lineHeight-Link)", "backgroundColor-Link": "var(--xmlui-backgroundColor-Link)", "textTransform-Link": "var(--xmlui-textTransform-Link)", "letterSpacing-Link": "var(--xmlui-letterSpacing-Link)", "wordSpacing-Link": "var(--xmlui-wordSpacing-Link)", "textShadow-Link": "var(--xmlui-textShadow-Link)", "textIndent-Link": "var(--xmlui-textIndent-Link)", "textAlign-Link": "var(--xmlui-textAlign-Link)", "textAlignLast-Link": "var(--xmlui-textAlignLast-Link)", "wordBreak-Link": "var(--xmlui-wordBreak-Link)", "wordWrap-Link": "var(--xmlui-wordWrap-Link)", "direction-Link": "var(--xmlui-direction-Link)", "writingMode-Link": "var(--xmlui-writingMode-Link)", "lineBreak-Link": "var(--xmlui-lineBreak-Link)", "textColor-Link--active": "var(--xmlui-textColor-Link--active)", "textColor-Link--hover": "var(--xmlui-textColor-Link--hover)", "textColor-Link--hover--active": "var(--xmlui-textColor-Link--hover--active)", "fontWeight-Link--active": "var(--xmlui-fontWeight-Link--active)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "textDecorationColor-Link--hover": "var(--xmlui-textDecorationColor-Link--hover)", "textDecorationColor-Link--active": "var(--xmlui-textDecorationColor-Link--active)", "outlineWidth-Link--focus": "var(--xmlui-outlineWidth-Link--focus)", "outlineColor-Link--focus": "var(--xmlui-outlineColor-Link--focus)", "outlineStyle-Link--focus": "var(--xmlui-outlineStyle-Link--focus)", "outlineOffset-Link--focus": "var(--xmlui-outlineOffset-Link--focus)"}'`,container:"_container_1gaie_13",active:"_active_1gaie_74",disabled:"_disabled_1gaie_78",iconWrapper:"_iconWrapper_1gaie_94"},fu={active:!1,disabled:!1},xl=d.forwardRef(function(e,t){const{to:o,children:r,icon:n,active:a=fu.active,onClick:i,target:s,disabled:l=fu.disabled,style:u,...g}=E1(e),p=!!n&&!r,B=d.useMemo(()=>fl(o),[o]),C=o?Ke.Link:"div";return c.jsxs(C,{ref:t,to:B,style:u,target:s,onClick:i,className:lA(Fa.container,{[Fa.iconLink]:p,[Fa.active]:a,[Fa.disabled]:l}),...g,children:[n&&c.jsx("div",{className:Fa.iconWrapper,children:c.jsx(vA,{name:n})}),r]})});function E1(A){const{target:e,referrerPolicy:t}=A;return{...A,target:e,referrerPolicy:t}}const uo={themeVars:`'{"border-H1": "var(--xmlui-border-H1)", "borderHorizontal-H1": "var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1))", "borderVertical-H1": "var(--xmlui-borderVertical-H1, var(--xmlui-border-H1))", "borderLeft-H1": "var(--xmlui-borderLeft-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderRight-H1": "var(--xmlui-borderRight-H1, var(--xmlui-borderHorizontal-H1, var(--xmlui-border-H1)))", "borderTop-H1": "var(--xmlui-borderTop-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderBottom-H1": "var(--xmlui-borderBottom-H1, var(--xmlui-borderVertical-H1, var(--xmlui-border-H1)))", "borderWidth-H1": "var(--xmlui-borderWidth-H1)", "borderHorizontalWidth-H1": "var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1))", "borderLeftWidth-H1": "var(--xmlui-borderLeftWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderRightWidth-H1": "var(--xmlui-borderRightWidth-H1, var(--xmlui-borderHorizontalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderVerticalWidth-H1": "var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1))", "borderTopWidth-H1": "var(--xmlui-borderTopWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderBottomWidth-H1": "var(--xmlui-borderBottomWidth-H1, var(--xmlui-borderVerticalWidth-H1, var(--xmlui-borderWidth-H1)))", "borderStyle-H1": "var(--xmlui-borderStyle-H1)", "borderHorizontalStyle-H1": "var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1))", "borderLeftStyle-H1": "var(--xmlui-borderLeftStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderRightStyle-H1": "var(--xmlui-borderRightStyle-H1, var(--xmlui-borderHorizontalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderVerticalStyle-H1": "var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1))", "borderTopStyle-H1": "var(--xmlui-borderTopStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderBottomStyle-H1": "var(--xmlui-borderBottomStyle-H1, var(--xmlui-borderVerticalStyle-H1, var(--xmlui-borderStyle-H1)))", "borderColor-H1": "var(--xmlui-borderColor-H1)", "borderHorizontalColor-H1": "var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1))", "borderLeftColor-H1": "var(--xmlui-borderLeftColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderRightColor-H1": "var(--xmlui-borderRightColor-H1, var(--xmlui-borderHorizontalColor-H1, var(--xmlui-borderColor-H1)))", "borderVerticalColor-H1": "var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1))", "borderTopColor-H1": "var(--xmlui-borderTopColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderBottomColor-H1": "var(--xmlui-borderBottomColor-H1, var(--xmlui-borderVerticalColor-H1, var(--xmlui-borderColor-H1)))", "borderStartStartRadius-H1": "var(--xmlui-borderStartStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderStartEndRadius-H1": "var(--xmlui-borderStartEndRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndStartRadius-H1": "var(--xmlui-borderEndStartRadius-H1, var(--xmlui-borderRadius-H1))", "borderEndEndRadius-H1": "var(--xmlui-borderEndEndRadius-H1, var(--xmlui-borderRadius-H1))", "padding-H1": "var(--xmlui-padding-H1)", "paddingHorizontal-H1": "var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1))", "paddingVertical-H1": "var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1))", "paddingLeft-H1": "var(--xmlui-paddingLeft-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingRight-H1": "var(--xmlui-paddingRight-H1, var(--xmlui-paddingHorizontal-H1, var(--xmlui-padding-H1)))", "paddingTop-H1": "var(--xmlui-paddingTop-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "paddingBottom-H1": "var(--xmlui-paddingBottom-H1, var(--xmlui-paddingVertical-H1, var(--xmlui-padding-H1)))", "textColor-H1": "var(--xmlui-textColor-H1)", "fontFamily-H1": "var(--xmlui-fontFamily-H1)", "fontSize-H1": "var(--xmlui-fontSize-H1)", "fontStyle-H1": "var(--xmlui-fontStyle-H1)", "fontVariant-H1": "var(--xmlui-fontVariant-H1)", "fontWeight-H1": "var(--xmlui-fontWeight-H1)", "fontStretch-H1": "var(--xmlui-fontStretch-H1)", "textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "lineHeight-H1": "var(--xmlui-lineHeight-H1)", "backgroundColor-H1": "var(--xmlui-backgroundColor-H1)", "textTransform-H1": "var(--xmlui-textTransform-H1)", "letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "wordSpacing-H1": "var(--xmlui-wordSpacing-H1)", "textShadow-H1": "var(--xmlui-textShadow-H1)", "textIndent-H1": "var(--xmlui-textIndent-H1)", "textAlign-H1": "var(--xmlui-textAlign-H1)", "textAlignLast-H1": "var(--xmlui-textAlignLast-H1)", "wordBreak-H1": "var(--xmlui-wordBreak-H1)", "wordWrap-H1": "var(--xmlui-wordWrap-H1)", "direction-H1": "var(--xmlui-direction-H1)", "writingMode-H1": "var(--xmlui-writingMode-H1)", "lineBreak-H1": "var(--xmlui-lineBreak-H1)", "border-H2": "var(--xmlui-border-H2)", "borderHorizontal-H2": "var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2))", "borderVertical-H2": "var(--xmlui-borderVertical-H2, var(--xmlui-border-H2))", "borderLeft-H2": "var(--xmlui-borderLeft-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderRight-H2": "var(--xmlui-borderRight-H2, var(--xmlui-borderHorizontal-H2, var(--xmlui-border-H2)))", "borderTop-H2": "var(--xmlui-borderTop-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderBottom-H2": "var(--xmlui-borderBottom-H2, var(--xmlui-borderVertical-H2, var(--xmlui-border-H2)))", "borderWidth-H2": "var(--xmlui-borderWidth-H2)", "borderHorizontalWidth-H2": "var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2))", "borderLeftWidth-H2": "var(--xmlui-borderLeftWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderRightWidth-H2": "var(--xmlui-borderRightWidth-H2, var(--xmlui-borderHorizontalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderVerticalWidth-H2": "var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2))", "borderTopWidth-H2": "var(--xmlui-borderTopWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderBottomWidth-H2": "var(--xmlui-borderBottomWidth-H2, var(--xmlui-borderVerticalWidth-H2, var(--xmlui-borderWidth-H2)))", "borderStyle-H2": "var(--xmlui-borderStyle-H2)", "borderHorizontalStyle-H2": "var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2))", "borderLeftStyle-H2": "var(--xmlui-borderLeftStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderRightStyle-H2": "var(--xmlui-borderRightStyle-H2, var(--xmlui-borderHorizontalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderVerticalStyle-H2": "var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2))", "borderTopStyle-H2": "var(--xmlui-borderTopStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderBottomStyle-H2": "var(--xmlui-borderBottomStyle-H2, var(--xmlui-borderVerticalStyle-H2, var(--xmlui-borderStyle-H2)))", "borderColor-H2": "var(--xmlui-borderColor-H2)", "borderHorizontalColor-H2": "var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2))", "borderLeftColor-H2": "var(--xmlui-borderLeftColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderRightColor-H2": "var(--xmlui-borderRightColor-H2, var(--xmlui-borderHorizontalColor-H2, var(--xmlui-borderColor-H2)))", "borderVerticalColor-H2": "var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2))", "borderTopColor-H2": "var(--xmlui-borderTopColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderBottomColor-H2": "var(--xmlui-borderBottomColor-H2, var(--xmlui-borderVerticalColor-H2, var(--xmlui-borderColor-H2)))", "borderStartStartRadius-H2": "var(--xmlui-borderStartStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderStartEndRadius-H2": "var(--xmlui-borderStartEndRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndStartRadius-H2": "var(--xmlui-borderEndStartRadius-H2, var(--xmlui-borderRadius-H2))", "borderEndEndRadius-H2": "var(--xmlui-borderEndEndRadius-H2, var(--xmlui-borderRadius-H2))", "padding-H2": "var(--xmlui-padding-H2)", "paddingHorizontal-H2": "var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2))", "paddingVertical-H2": "var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2))", "paddingLeft-H2": "var(--xmlui-paddingLeft-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingRight-H2": "var(--xmlui-paddingRight-H2, var(--xmlui-paddingHorizontal-H2, var(--xmlui-padding-H2)))", "paddingTop-H2": "var(--xmlui-paddingTop-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "paddingBottom-H2": "var(--xmlui-paddingBottom-H2, var(--xmlui-paddingVertical-H2, var(--xmlui-padding-H2)))", "textColor-H2": "var(--xmlui-textColor-H2)", "fontFamily-H2": "var(--xmlui-fontFamily-H2)", "fontSize-H2": "var(--xmlui-fontSize-H2)", "fontStyle-H2": "var(--xmlui-fontStyle-H2)", "fontVariant-H2": "var(--xmlui-fontVariant-H2)", "fontWeight-H2": "var(--xmlui-fontWeight-H2)", "fontStretch-H2": "var(--xmlui-fontStretch-H2)", "textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "lineHeight-H2": "var(--xmlui-lineHeight-H2)", "backgroundColor-H2": "var(--xmlui-backgroundColor-H2)", "textTransform-H2": "var(--xmlui-textTransform-H2)", "letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "wordSpacing-H2": "var(--xmlui-wordSpacing-H2)", "textShadow-H2": "var(--xmlui-textShadow-H2)", "textIndent-H2": "var(--xmlui-textIndent-H2)", "textAlign-H2": "var(--xmlui-textAlign-H2)", "textAlignLast-H2": "var(--xmlui-textAlignLast-H2)", "wordBreak-H2": "var(--xmlui-wordBreak-H2)", "wordWrap-H2": "var(--xmlui-wordWrap-H2)", "direction-H2": "var(--xmlui-direction-H2)", "writingMode-H2": "var(--xmlui-writingMode-H2)", "lineBreak-H2": "var(--xmlui-lineBreak-H2)", "border-H3": "var(--xmlui-border-H3)", "borderHorizontal-H3": "var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3))", "borderVertical-H3": "var(--xmlui-borderVertical-H3, var(--xmlui-border-H3))", "borderLeft-H3": "var(--xmlui-borderLeft-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderRight-H3": "var(--xmlui-borderRight-H3, var(--xmlui-borderHorizontal-H3, var(--xmlui-border-H3)))", "borderTop-H3": "var(--xmlui-borderTop-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderBottom-H3": "var(--xmlui-borderBottom-H3, var(--xmlui-borderVertical-H3, var(--xmlui-border-H3)))", "borderWidth-H3": "var(--xmlui-borderWidth-H3)", "borderHorizontalWidth-H3": "var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3))", "borderLeftWidth-H3": "var(--xmlui-borderLeftWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderRightWidth-H3": "var(--xmlui-borderRightWidth-H3, var(--xmlui-borderHorizontalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderVerticalWidth-H3": "var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3))", "borderTopWidth-H3": "var(--xmlui-borderTopWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderBottomWidth-H3": "var(--xmlui-borderBottomWidth-H3, var(--xmlui-borderVerticalWidth-H3, var(--xmlui-borderWidth-H3)))", "borderStyle-H3": "var(--xmlui-borderStyle-H3)", "borderHorizontalStyle-H3": "var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3))", "borderLeftStyle-H3": "var(--xmlui-borderLeftStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderRightStyle-H3": "var(--xmlui-borderRightStyle-H3, var(--xmlui-borderHorizontalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderVerticalStyle-H3": "var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3))", "borderTopStyle-H3": "var(--xmlui-borderTopStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderBottomStyle-H3": "var(--xmlui-borderBottomStyle-H3, var(--xmlui-borderVerticalStyle-H3, var(--xmlui-borderStyle-H3)))", "borderColor-H3": "var(--xmlui-borderColor-H3)", "borderHorizontalColor-H3": "var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3))", "borderLeftColor-H3": "var(--xmlui-borderLeftColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderRightColor-H3": "var(--xmlui-borderRightColor-H3, var(--xmlui-borderHorizontalColor-H3, var(--xmlui-borderColor-H3)))", "borderVerticalColor-H3": "var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3))", "borderTopColor-H3": "var(--xmlui-borderTopColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderBottomColor-H3": "var(--xmlui-borderBottomColor-H3, var(--xmlui-borderVerticalColor-H3, var(--xmlui-borderColor-H3)))", "borderStartStartRadius-H3": "var(--xmlui-borderStartStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderStartEndRadius-H3": "var(--xmlui-borderStartEndRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndStartRadius-H3": "var(--xmlui-borderEndStartRadius-H3, var(--xmlui-borderRadius-H3))", "borderEndEndRadius-H3": "var(--xmlui-borderEndEndRadius-H3, var(--xmlui-borderRadius-H3))", "padding-H3": "var(--xmlui-padding-H3)", "paddingHorizontal-H3": "var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3))", "paddingVertical-H3": "var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3))", "paddingLeft-H3": "var(--xmlui-paddingLeft-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingRight-H3": "var(--xmlui-paddingRight-H3, var(--xmlui-paddingHorizontal-H3, var(--xmlui-padding-H3)))", "paddingTop-H3": "var(--xmlui-paddingTop-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "paddingBottom-H3": "var(--xmlui-paddingBottom-H3, var(--xmlui-paddingVertical-H3, var(--xmlui-padding-H3)))", "textColor-H3": "var(--xmlui-textColor-H3)", "fontFamily-H3": "var(--xmlui-fontFamily-H3)", "fontSize-H3": "var(--xmlui-fontSize-H3)", "fontStyle-H3": "var(--xmlui-fontStyle-H3)", "fontVariant-H3": "var(--xmlui-fontVariant-H3)", "fontWeight-H3": "var(--xmlui-fontWeight-H3)", "fontStretch-H3": "var(--xmlui-fontStretch-H3)", "textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "lineHeight-H3": "var(--xmlui-lineHeight-H3)", "backgroundColor-H3": "var(--xmlui-backgroundColor-H3)", "textTransform-H3": "var(--xmlui-textTransform-H3)", "letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "wordSpacing-H3": "var(--xmlui-wordSpacing-H3)", "textShadow-H3": "var(--xmlui-textShadow-H3)", "textIndent-H3": "var(--xmlui-textIndent-H3)", "textAlign-H3": "var(--xmlui-textAlign-H3)", "textAlignLast-H3": "var(--xmlui-textAlignLast-H3)", "wordBreak-H3": "var(--xmlui-wordBreak-H3)", "wordWrap-H3": "var(--xmlui-wordWrap-H3)", "direction-H3": "var(--xmlui-direction-H3)", "writingMode-H3": "var(--xmlui-writingMode-H3)", "lineBreak-H3": "var(--xmlui-lineBreak-H3)", "border-H4": "var(--xmlui-border-H4)", "borderHorizontal-H4": "var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4))", "borderVertical-H4": "var(--xmlui-borderVertical-H4, var(--xmlui-border-H4))", "borderLeft-H4": "var(--xmlui-borderLeft-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderRight-H4": "var(--xmlui-borderRight-H4, var(--xmlui-borderHorizontal-H4, var(--xmlui-border-H4)))", "borderTop-H4": "var(--xmlui-borderTop-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderBottom-H4": "var(--xmlui-borderBottom-H4, var(--xmlui-borderVertical-H4, var(--xmlui-border-H4)))", "borderWidth-H4": "var(--xmlui-borderWidth-H4)", "borderHorizontalWidth-H4": "var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4))", "borderLeftWidth-H4": "var(--xmlui-borderLeftWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderRightWidth-H4": "var(--xmlui-borderRightWidth-H4, var(--xmlui-borderHorizontalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderVerticalWidth-H4": "var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4))", "borderTopWidth-H4": "var(--xmlui-borderTopWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderBottomWidth-H4": "var(--xmlui-borderBottomWidth-H4, var(--xmlui-borderVerticalWidth-H4, var(--xmlui-borderWidth-H4)))", "borderStyle-H4": "var(--xmlui-borderStyle-H4)", "borderHorizontalStyle-H4": "var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4))", "borderLeftStyle-H4": "var(--xmlui-borderLeftStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderRightStyle-H4": "var(--xmlui-borderRightStyle-H4, var(--xmlui-borderHorizontalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderVerticalStyle-H4": "var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4))", "borderTopStyle-H4": "var(--xmlui-borderTopStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderBottomStyle-H4": "var(--xmlui-borderBottomStyle-H4, var(--xmlui-borderVerticalStyle-H4, var(--xmlui-borderStyle-H4)))", "borderColor-H4": "var(--xmlui-borderColor-H4)", "borderHorizontalColor-H4": "var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4))", "borderLeftColor-H4": "var(--xmlui-borderLeftColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderRightColor-H4": "var(--xmlui-borderRightColor-H4, var(--xmlui-borderHorizontalColor-H4, var(--xmlui-borderColor-H4)))", "borderVerticalColor-H4": "var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4))", "borderTopColor-H4": "var(--xmlui-borderTopColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderBottomColor-H4": "var(--xmlui-borderBottomColor-H4, var(--xmlui-borderVerticalColor-H4, var(--xmlui-borderColor-H4)))", "borderStartStartRadius-H4": "var(--xmlui-borderStartStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderStartEndRadius-H4": "var(--xmlui-borderStartEndRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndStartRadius-H4": "var(--xmlui-borderEndStartRadius-H4, var(--xmlui-borderRadius-H4))", "borderEndEndRadius-H4": "var(--xmlui-borderEndEndRadius-H4, var(--xmlui-borderRadius-H4))", "padding-H4": "var(--xmlui-padding-H4)", "paddingHorizontal-H4": "var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4))", "paddingVertical-H4": "var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4))", "paddingLeft-H4": "var(--xmlui-paddingLeft-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingRight-H4": "var(--xmlui-paddingRight-H4, var(--xmlui-paddingHorizontal-H4, var(--xmlui-padding-H4)))", "paddingTop-H4": "var(--xmlui-paddingTop-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "paddingBottom-H4": "var(--xmlui-paddingBottom-H4, var(--xmlui-paddingVertical-H4, var(--xmlui-padding-H4)))", "textColor-H4": "var(--xmlui-textColor-H4)", "fontFamily-H4": "var(--xmlui-fontFamily-H4)", "fontSize-H4": "var(--xmlui-fontSize-H4)", "fontStyle-H4": "var(--xmlui-fontStyle-H4)", "fontVariant-H4": "var(--xmlui-fontVariant-H4)", "fontWeight-H4": "var(--xmlui-fontWeight-H4)", "fontStretch-H4": "var(--xmlui-fontStretch-H4)", "textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "lineHeight-H4": "var(--xmlui-lineHeight-H4)", "backgroundColor-H4": "var(--xmlui-backgroundColor-H4)", "textTransform-H4": "var(--xmlui-textTransform-H4)", "letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "wordSpacing-H4": "var(--xmlui-wordSpacing-H4)", "textShadow-H4": "var(--xmlui-textShadow-H4)", "textIndent-H4": "var(--xmlui-textIndent-H4)", "textAlign-H4": "var(--xmlui-textAlign-H4)", "textAlignLast-H4": "var(--xmlui-textAlignLast-H4)", "wordBreak-H4": "var(--xmlui-wordBreak-H4)", "wordWrap-H4": "var(--xmlui-wordWrap-H4)", "direction-H4": "var(--xmlui-direction-H4)", "writingMode-H4": "var(--xmlui-writingMode-H4)", "lineBreak-H4": "var(--xmlui-lineBreak-H4)", "border-H5": "var(--xmlui-border-H5)", "borderHorizontal-H5": "var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5))", "borderVertical-H5": "var(--xmlui-borderVertical-H5, var(--xmlui-border-H5))", "borderLeft-H5": "var(--xmlui-borderLeft-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderRight-H5": "var(--xmlui-borderRight-H5, var(--xmlui-borderHorizontal-H5, var(--xmlui-border-H5)))", "borderTop-H5": "var(--xmlui-borderTop-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderBottom-H5": "var(--xmlui-borderBottom-H5, var(--xmlui-borderVertical-H5, var(--xmlui-border-H5)))", "borderWidth-H5": "var(--xmlui-borderWidth-H5)", "borderHorizontalWidth-H5": "var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5))", "borderLeftWidth-H5": "var(--xmlui-borderLeftWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderRightWidth-H5": "var(--xmlui-borderRightWidth-H5, var(--xmlui-borderHorizontalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderVerticalWidth-H5": "var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5))", "borderTopWidth-H5": "var(--xmlui-borderTopWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderBottomWidth-H5": "var(--xmlui-borderBottomWidth-H5, var(--xmlui-borderVerticalWidth-H5, var(--xmlui-borderWidth-H5)))", "borderStyle-H5": "var(--xmlui-borderStyle-H5)", "borderHorizontalStyle-H5": "var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5))", "borderLeftStyle-H5": "var(--xmlui-borderLeftStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderRightStyle-H5": "var(--xmlui-borderRightStyle-H5, var(--xmlui-borderHorizontalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderVerticalStyle-H5": "var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5))", "borderTopStyle-H5": "var(--xmlui-borderTopStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderBottomStyle-H5": "var(--xmlui-borderBottomStyle-H5, var(--xmlui-borderVerticalStyle-H5, var(--xmlui-borderStyle-H5)))", "borderColor-H5": "var(--xmlui-borderColor-H5)", "borderHorizontalColor-H5": "var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5))", "borderLeftColor-H5": "var(--xmlui-borderLeftColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderRightColor-H5": "var(--xmlui-borderRightColor-H5, var(--xmlui-borderHorizontalColor-H5, var(--xmlui-borderColor-H5)))", "borderVerticalColor-H5": "var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5))", "borderTopColor-H5": "var(--xmlui-borderTopColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderBottomColor-H5": "var(--xmlui-borderBottomColor-H5, var(--xmlui-borderVerticalColor-H5, var(--xmlui-borderColor-H5)))", "borderStartStartRadius-H5": "var(--xmlui-borderStartStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderStartEndRadius-H5": "var(--xmlui-borderStartEndRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndStartRadius-H5": "var(--xmlui-borderEndStartRadius-H5, var(--xmlui-borderRadius-H5))", "borderEndEndRadius-H5": "var(--xmlui-borderEndEndRadius-H5, var(--xmlui-borderRadius-H5))", "padding-H5": "var(--xmlui-padding-H5)", "paddingHorizontal-H5": "var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5))", "paddingVertical-H5": "var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5))", "paddingLeft-H5": "var(--xmlui-paddingLeft-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingRight-H5": "var(--xmlui-paddingRight-H5, var(--xmlui-paddingHorizontal-H5, var(--xmlui-padding-H5)))", "paddingTop-H5": "var(--xmlui-paddingTop-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "paddingBottom-H5": "var(--xmlui-paddingBottom-H5, var(--xmlui-paddingVertical-H5, var(--xmlui-padding-H5)))", "textColor-H5": "var(--xmlui-textColor-H5)", "fontFamily-H5": "var(--xmlui-fontFamily-H5)", "fontSize-H5": "var(--xmlui-fontSize-H5)", "fontStyle-H5": "var(--xmlui-fontStyle-H5)", "fontVariant-H5": "var(--xmlui-fontVariant-H5)", "fontWeight-H5": "var(--xmlui-fontWeight-H5)", "fontStretch-H5": "var(--xmlui-fontStretch-H5)", "textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "lineHeight-H5": "var(--xmlui-lineHeight-H5)", "backgroundColor-H5": "var(--xmlui-backgroundColor-H5)", "textTransform-H5": "var(--xmlui-textTransform-H5)", "letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "wordSpacing-H5": "var(--xmlui-wordSpacing-H5)", "textShadow-H5": "var(--xmlui-textShadow-H5)", "textIndent-H5": "var(--xmlui-textIndent-H5)", "textAlign-H5": "var(--xmlui-textAlign-H5)", "textAlignLast-H5": "var(--xmlui-textAlignLast-H5)", "wordBreak-H5": "var(--xmlui-wordBreak-H5)", "wordWrap-H5": "var(--xmlui-wordWrap-H5)", "direction-H5": "var(--xmlui-direction-H5)", "writingMode-H5": "var(--xmlui-writingMode-H5)", "lineBreak-H5": "var(--xmlui-lineBreak-H5)", "border-H6": "var(--xmlui-border-H6)", "borderHorizontal-H6": "var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6))", "borderVertical-H6": "var(--xmlui-borderVertical-H6, var(--xmlui-border-H6))", "borderLeft-H6": "var(--xmlui-borderLeft-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderRight-H6": "var(--xmlui-borderRight-H6, var(--xmlui-borderHorizontal-H6, var(--xmlui-border-H6)))", "borderTop-H6": "var(--xmlui-borderTop-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderBottom-H6": "var(--xmlui-borderBottom-H6, var(--xmlui-borderVertical-H6, var(--xmlui-border-H6)))", "borderWidth-H6": "var(--xmlui-borderWidth-H6)", "borderHorizontalWidth-H6": "var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6))", "borderLeftWidth-H6": "var(--xmlui-borderLeftWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderRightWidth-H6": "var(--xmlui-borderRightWidth-H6, var(--xmlui-borderHorizontalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderVerticalWidth-H6": "var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6))", "borderTopWidth-H6": "var(--xmlui-borderTopWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderBottomWidth-H6": "var(--xmlui-borderBottomWidth-H6, var(--xmlui-borderVerticalWidth-H6, var(--xmlui-borderWidth-H6)))", "borderStyle-H6": "var(--xmlui-borderStyle-H6)", "borderHorizontalStyle-H6": "var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6))", "borderLeftStyle-H6": "var(--xmlui-borderLeftStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderRightStyle-H6": "var(--xmlui-borderRightStyle-H6, var(--xmlui-borderHorizontalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderVerticalStyle-H6": "var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6))", "borderTopStyle-H6": "var(--xmlui-borderTopStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderBottomStyle-H6": "var(--xmlui-borderBottomStyle-H6, var(--xmlui-borderVerticalStyle-H6, var(--xmlui-borderStyle-H6)))", "borderColor-H6": "var(--xmlui-borderColor-H6)", "borderHorizontalColor-H6": "var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6))", "borderLeftColor-H6": "var(--xmlui-borderLeftColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderRightColor-H6": "var(--xmlui-borderRightColor-H6, var(--xmlui-borderHorizontalColor-H6, var(--xmlui-borderColor-H6)))", "borderVerticalColor-H6": "var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6))", "borderTopColor-H6": "var(--xmlui-borderTopColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderBottomColor-H6": "var(--xmlui-borderBottomColor-H6, var(--xmlui-borderVerticalColor-H6, var(--xmlui-borderColor-H6)))", "borderStartStartRadius-H6": "var(--xmlui-borderStartStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderStartEndRadius-H6": "var(--xmlui-borderStartEndRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndStartRadius-H6": "var(--xmlui-borderEndStartRadius-H6, var(--xmlui-borderRadius-H6))", "borderEndEndRadius-H6": "var(--xmlui-borderEndEndRadius-H6, var(--xmlui-borderRadius-H6))", "padding-H6": "var(--xmlui-padding-H6)", "paddingHorizontal-H6": "var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6))", "paddingVertical-H6": "var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6))", "paddingLeft-H6": "var(--xmlui-paddingLeft-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingRight-H6": "var(--xmlui-paddingRight-H6, var(--xmlui-paddingHorizontal-H6, var(--xmlui-padding-H6)))", "paddingTop-H6": "var(--xmlui-paddingTop-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "paddingBottom-H6": "var(--xmlui-paddingBottom-H6, var(--xmlui-paddingVertical-H6, var(--xmlui-padding-H6)))", "textColor-H6": "var(--xmlui-textColor-H6)", "fontFamily-H6": "var(--xmlui-fontFamily-H6)", "fontSize-H6": "var(--xmlui-fontSize-H6)", "fontStyle-H6": "var(--xmlui-fontStyle-H6)", "fontVariant-H6": "var(--xmlui-fontVariant-H6)", "fontWeight-H6": "var(--xmlui-fontWeight-H6)", "fontStretch-H6": "var(--xmlui-fontStretch-H6)", "textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)", "lineHeight-H6": "var(--xmlui-lineHeight-H6)", "backgroundColor-H6": "var(--xmlui-backgroundColor-H6)", "textTransform-H6": "var(--xmlui-textTransform-H6)", "letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "wordSpacing-H6": "var(--xmlui-wordSpacing-H6)", "textShadow-H6": "var(--xmlui-textShadow-H6)", "textIndent-H6": "var(--xmlui-textIndent-H6)", "textAlign-H6": "var(--xmlui-textAlign-H6)", "textAlignLast-H6": "var(--xmlui-textAlignLast-H6)", "wordBreak-H6": "var(--xmlui-wordBreak-H6)", "wordWrap-H6": "var(--xmlui-wordWrap-H6)", "direction-H6": "var(--xmlui-direction-H6)", "writingMode-H6": "var(--xmlui-writingMode-H6)", "lineBreak-H6": "var(--xmlui-lineBreak-H6)", "color-anchor-Heading": "var(--xmlui-color-anchor-Heading)", "gap-anchor-Heading": "var(--xmlui-gap-anchor-Heading)", "textDecorationLine-anchor-Heading": "var(--xmlui-textDecorationLine-anchor-Heading)", "Heading:textColor-H1": "var(--xmlui-textColor-H1)", "Heading:letterSpacing-H1": "var(--xmlui-letterSpacing-H1)", "Heading:fontFamily-H1": "var(--xmlui-fontFamily-H1)", "Heading:fontWeight-H1": "var(--xmlui-fontWeight-H1)", "marginTop-H1": "var(--xmlui-marginTop-H1)", "marginBottom-H1": "var(--xmlui-marginBottom-H1)", "Heading:textDecorationLine-H1": "var(--xmlui-textDecorationLine-H1)", "Heading:textDecorationColor-H1": "var(--xmlui-textDecorationColor-H1)", "Heading:textDecorationStyle-H1": "var(--xmlui-textDecorationStyle-H1)", "Heading:textDecorationThickness-H1": "var(--xmlui-textDecorationThickness-H1)", "Heading:textUnderlineOffset-H1": "var(--xmlui-textUnderlineOffset-H1)", "Heading:textColor-H2": "var(--xmlui-textColor-H2)", "Heading:letterSpacing-H2": "var(--xmlui-letterSpacing-H2)", "Heading:fontFamily-H2": "var(--xmlui-fontFamily-H2)", "Heading:fontWeight-H2": "var(--xmlui-fontWeight-H2)", "marginTop-H2": "var(--xmlui-marginTop-H2)", "marginBottom-H2": "var(--xmlui-marginBottom-H2)", "Heading:textDecorationLine-H2": "var(--xmlui-textDecorationLine-H2)", "Heading:textDecorationColor-H2": "var(--xmlui-textDecorationColor-H2)", "Heading:textDecorationStyle-H2": "var(--xmlui-textDecorationStyle-H2)", "Heading:textDecorationThickness-H2": "var(--xmlui-textDecorationThickness-H2)", "Heading:textUnderlineOffset-H2": "var(--xmlui-textUnderlineOffset-H2)", "Heading:textColor-H3": "var(--xmlui-textColor-H3)", "Heading:letterSpacing-H3": "var(--xmlui-letterSpacing-H3)", "Heading:fontFamily-H3": "var(--xmlui-fontFamily-H3)", "Heading:fontWeight-H3": "var(--xmlui-fontWeight-H3)", "marginTop-H3": "var(--xmlui-marginTop-H3)", "marginBottom-H3": "var(--xmlui-marginBottom-H3)", "Heading:textDecorationLine-H3": "var(--xmlui-textDecorationLine-H3)", "Heading:textDecorationColor-H3": "var(--xmlui-textDecorationColor-H3)", "Heading:textDecorationStyle-H3": "var(--xmlui-textDecorationStyle-H3)", "Heading:textDecorationThickness-H3": "var(--xmlui-textDecorationThickness-H3)", "Heading:textUnderlineOffset-H3": "var(--xmlui-textUnderlineOffset-H3)", "Heading:textColor-H4": "var(--xmlui-textColor-H4)", "Heading:letterSpacing-H4": "var(--xmlui-letterSpacing-H4)", "Heading:fontFamily-H4": "var(--xmlui-fontFamily-H4)", "Heading:fontWeight-H4": "var(--xmlui-fontWeight-H4)", "marginTop-H4": "var(--xmlui-marginTop-H4)", "marginBottom-H4": "var(--xmlui-marginBottom-H4)", "Heading:textDecorationLine-H4": "var(--xmlui-textDecorationLine-H4)", "Heading:textDecorationColor-H4": "var(--xmlui-textDecorationColor-H4)", "Heading:textDecorationStyle-H4": "var(--xmlui-textDecorationStyle-H4)", "Heading:textDecorationThickness-H4": "var(--xmlui-textDecorationThickness-H4)", "Heading:textUnderlineOffset-H4": "var(--xmlui-textUnderlineOffset-H4)", "Heading:textColor-H5": "var(--xmlui-textColor-H5)", "Heading:letterSpacing-H5": "var(--xmlui-letterSpacing-H5)", "Heading:fontFamily-H5": "var(--xmlui-fontFamily-H5)", "Heading:fontWeight-H5": "var(--xmlui-fontWeight-H5)", "marginTop-H5": "var(--xmlui-marginTop-H5)", "marginBottom-H5": "var(--xmlui-marginBottom-H5)", "Heading:textDecorationLine-H5": "var(--xmlui-textDecorationLine-H5)", "Heading:textDecorationColor-H5": "var(--xmlui-textDecorationColor-H5)", "Heading:textDecorationStyle-H5": "var(--xmlui-textDecorationStyle-H5)", "Heading:textDecorationThickness-H5": "var(--xmlui-textDecorationThickness-H5)", "Heading:textUnderlineOffset-H5": "var(--xmlui-textUnderlineOffset-H5)", "Heading:textColor-H6": "var(--xmlui-textColor-H6)", "Heading:letterSpacing-H6": "var(--xmlui-letterSpacing-H6)", "Heading:fontFamily-H6": "var(--xmlui-fontFamily-H6)", "Heading:fontWeight-H6": "var(--xmlui-fontWeight-H6)", "marginTop-H6": "var(--xmlui-marginTop-H6)", "marginBottom-H6": "var(--xmlui-marginBottom-H6)", "Heading:textDecorationLine-H6": "var(--xmlui-textDecorationLine-H6)", "Heading:textDecorationColor-H6": "var(--xmlui-textDecorationColor-H6)", "Heading:textDecorationStyle-H6": "var(--xmlui-textDecorationStyle-H6)", "Heading:textDecorationThickness-H6": "var(--xmlui-textDecorationThickness-H6)", "Heading:textUnderlineOffset-H6": "var(--xmlui-textUnderlineOffset-H6)"}'`,heading:"_heading_1y8d6_13",h1:"_h1_1y8d6_17",h2:"_h2_1y8d6_80",h3:"_h3_1y8d6_143",h4:"_h4_1y8d6_206",h5:"_h5_1y8d6_269",h6:"_h6_1y8d6_332",anchorRef:"_anchorRef_1y8d6_406",truncateOverflow:"_truncateOverflow_1y8d6_417",preserveLinebreaks:"_preserveLinebreaks_1y8d6_423",noEllipsis:"_noEllipsis_1y8d6_427"},on={level:"h1",ellipses:!0,omitFromToc:!1,maxLines:0,preserveLinebreaks:!1},dr=d.forwardRef(function({uid:e,level:t=on.level,children:o,sx:r,style:n,title:a,maxLines:i=on.maxLines,preserveLinebreaks:s,ellipses:l=on.ellipses,className:u,omitFromToc:g=on.omitFromToc,showAnchor:p,...B},C){var T;const m=t==null?void 0:t.toLowerCase(),h=d.useRef(null),[E,Q]=d.useState(null),I=d.useRef(null),w=d.useContext(vl),b=w==null?void 0:w.registerHeading,v=je();p===void 0&&(p=((T=v==null?void 0:v.appGlobals)==null?void 0:T.showHeadingAnchors)??!1);const x=C?Et(h,C):h;return d.useEffect(()=>{var H,P,f,y;if(h.current){const L=(y=(f=(P=(H=h.current.textContent)==null?void 0:H.trim())==null?void 0:P.replace(/[^\w\s-]/g,""))==null?void 0:f.replace(/\s+/g,"-"))==null?void 0:y.toLowerCase();Q(L||null)}},[]),be(()=>{if(h.current&&E&&!g)return b==null?void 0:b({id:E,level:parseInt(t.replace("h","")),text:h.current.textContent.trim().replace(/#$/,""),anchor:I.current})},[E,b,t,g]),c.jsxs(m,{ref:x,id:e,title:a,style:{...r,...n,...Kp(i)},className:lA(uo.heading,uo[m],u||"",{[uo.truncateOverflow]:i>0,[uo.preserveLinebreaks]:s,[uo.noEllipsis]:!l}),...B,children:[E&&c.jsx("span",{ref:I,id:E,className:uo.anchorRef,"data-anchor":!0}),o,p&&E&&c.jsx(Ke.Link,{to:`#${E}`,"aria-hidden":"true",onClick:H=>{w&&(!H.ctrlKey&&!H.metaKey&&!H.metaKey&&H.preventDefault(),w.scrollToAnchor(E,!0))},children:"#"})]})}),kl={orientation:"vertical",showAvatar:!1},LC=d.forwardRef(function({children:e,orientation:t=kl.orientation,style:o,title:r,subtitle:n,linkTo:a,avatarUrl:i,showAvatar:s=!!i||kl.showAvatar,avatarSize:l,onClick:u},g){const p={level:"h2",maxLines:1};return c.jsxs("div",{ref:g,className:lA(Jn.wrapper,{[Jn.isClickable]:!!u,[Jn.vertical]:t==="vertical",[Jn.horizontal]:t==="horizontal"}),style:o,onClick:u,children:[[r,n,i,s].some(Boolean)&&c.jsxs("div",{className:Jn.avatarWrapper,children:[s&&c.jsx(kC,{url:i,name:r,size:l}),c.jsxs("div",{className:Jn.titleWrapper,children:[a?r?c.jsx(xl,{to:a+"",children:c.jsx(dr,{...p,children:r})}):null:r?c.jsx(dr,{...p,children:r}):null,n!==void 0&&c.jsx(c.Fragment,{children:c.jsx(VA,{variant:"secondary",children:n})})]})]}),e]})}),Xe="Card",NC={status:"stable",description:"`Card` is a versatile container that groups related content with a visual boundary, typically featuring background color, padding, borders, and rounded corners. It's ideal for organizing information, creating sections, and establishing visual hierarchy in your interface.",props:{avatarUrl:{description:`The url for an avarar image. If not specified, but [\`showAvatar\`](#showAvatar) is true, ${Xe} will show the first letters of the [\`title\`](#title).`,type:"string"},showAvatar:{description:"Indicates whether the avatar should be displayed",valueType:"boolean",defaultValue:kl.showAvatar},avatarSize:{description:"This prop sets the size of the avatar. The default value is `sm`.",availableValues:["xs","sm","md","lg"],valueType:"string"},title:{description:"This prop sets the pre-styled title. If the property is not set, no title is displayed in the Card.",valueType:"string"},subtitle:{description:"This prop sets the pre-styled subtitle. If the property is not set, no subtitle is displayed in the Card.",valueType:"string"},linkTo:{description:"This optional property wraps the title in a `Link` component that is clickable to navigate.",valueType:"string"},orientation:{description:`An optional property that governs the ${Xe}'s orientation (whether the ${Xe} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${Xe} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,availableValues:Zs,valueType:"string",defaultValue:kl.orientation}},events:{click:Un(Xe)},themeVars:hA(Jn.themeVars),defaultThemeVars:{[`padding-${Xe}`]:"$space-4",[`border-${Xe}`]:"1px solid $borderColor",[`borderRadius-${Xe}`]:"$borderRadius",[`boxShadow-${Xe}`]:"none",[`backgroundColor-${Xe}`]:"$color-surface-raised",[`gap-${Xe}`]:"var(--stack-gap-default)",[`gap-title-${Xe}`]:"$gap-none",[`gap-avatar-${Xe}`]:"$gap-normal",[`verticalAlignment-title-${Xe}`]:"center"},themeVarDescriptions:{[`gap-${Xe}`]:"The gap between the component's children.",[`gap-title-${Xe}`]:"The gap between the title and the subtitle",[`gap-avatar-${Xe}`]:"The gap between the avatar and the title panel",[`horizontalAlignment-title-${Xe}`]:"The horizontal alignment of panel with the title and subtitle",[`verticalAlignment-title-${Xe}`]:"The vertical alignment of the title and subtitle to the avatar"}},I1=$("Card",NC,({node:A,extractValue:e,renderChild:t,layoutCss:o})=>c.jsx(LC,{style:o,title:e.asOptionalString(A.props.title),linkTo:e.asOptionalString(A.props.linkTo),subtitle:e.asOptionalString(A.props.subtitle),avatarUrl:e.asOptionalString(A.props.avatarUrl),showAvatar:e.asOptionalBoolean(A.props.showAvatar),avatarSize:e.asOptionalString(A.props.avatarSize),orientation:e.asOptionalString(A.props.orientation),children:t(A.children,{type:"Stack",orientation:"vertical"})})),FC={throttleWaitInMs:0};function w1({listenTo:A,onChange:e,throttleWaitInMs:t=FC.throttleWaitInMs}){const o=Pr(A),r=d.useMemo(()=>t!==0&&e?wA.throttle(e,t,{leading:!0}):e,[e,t]);return d.useEffect(()=>{r&&!wA.isEqual(o,A)&&(r==null||r({prevValue:o,newValue:A}))},[A,r,o]),null}const PC="ChangeListener",GC={status:"stable",description:"`ChangeListener` is an invisible component that watches for changes in values and triggers actions in response. It's essential for creating reactive behavior when you need to respond to data changes, state updates, or component property modifications outside of normal event handlers.",props:{listenTo:{description:"Value to the changes of which this component listens. If this property is not set, the `ChangeListener` is inactive.",valueType:"any"},throttleWaitInMs:{description:"This variable sets a throttling time (in milliseconds) to apply when executing the `didChange` event handler. All changes within that throttling time will only fire the `didChange` event once.",valueType:"number",defaultValue:FC.throttleWaitInMs}},events:{didChange:dt(PC)}},f1=$(PC,GC,({node:A,lookupEventHandler:e,extractValue:t})=>c.jsx(w1,{listenTo:t(A.props.listenTo),throttleWaitInMs:t(A.props.throttleWaitInMs),onChange:e("didChange")})),Br={themeVars:`'{"Input:borderRadius-Checkbox-default": "var(--xmlui-borderRadius-Checkbox-default)", "Input:borderColor-Checkbox-default": "var(--xmlui-borderColor-Checkbox-default)", "Input:backgroundColor-Checkbox-default": "var(--xmlui-backgroundColor-Checkbox-default)", "Input:outlineWidth-Checkbox-default--focus": "var(--xmlui-outlineWidth-Checkbox-default--focus)", "Input:outlineColor-Checkbox-default--focus": "var(--xmlui-outlineColor-Checkbox-default--focus)", "Input:outlineStyle-Checkbox-default--focus": "var(--xmlui-outlineStyle-Checkbox-default--focus)", "Input:outlineOffset-Checkbox-default--focus": "var(--xmlui-outlineOffset-Checkbox-default--focus)", "Input:borderColor-Checkbox-default--hover": "var(--xmlui-borderColor-Checkbox-default--hover)", "Input:backgroundColor-Checkbox--disabled": "var(--xmlui-backgroundColor-Checkbox--disabled)", "Input:borderColor-Checkbox--disabled": "var(--xmlui-borderColor-Checkbox--disabled)", "Input:borderRadius-Checkbox-error": "var(--xmlui-borderRadius-Checkbox-error)", "Input:borderColor-Checkbox-error": "var(--xmlui-borderColor-Checkbox-error)", "Input:backgroundColor-Checkbox-error": "var(--xmlui-backgroundColor-Checkbox-error)", "Input:outlineWidth-Checkbox-error--focus": "var(--xmlui-outlineWidth-Checkbox-error--focus)", "Input:outlineColor-Checkbox-error--focus": "var(--xmlui-outlineColor-Checkbox-error--focus)", "Input:outlineStyle-Checkbox-error--focus": "var(--xmlui-outlineStyle-Checkbox-error--focus)", "Input:outlineOffset-Checkbox-error--focus": "var(--xmlui-outlineOffset-Checkbox-error--focus)", "Input:borderRadius-Checkbox-warning": "var(--xmlui-borderRadius-Checkbox-warning)", "Input:borderColor-Checkbox-warning": "var(--xmlui-borderColor-Checkbox-warning)", "Input:backgroundColor-Checkbox-warning": "var(--xmlui-backgroundColor-Checkbox-warning)", "Input:outlineWidth-Checkbox-warning--focus": "var(--xmlui-outlineWidth-Checkbox-warning--focus)", "Input:outlineColor-Checkbox-warning--focus": "var(--xmlui-outlineColor-Checkbox-warning--focus)", "Input:outlineStyle-Checkbox-warning--focus": "var(--xmlui-outlineStyle-Checkbox-warning--focus)", "Input:outlineOffset-Checkbox-warning--focus": "var(--xmlui-outlineOffset-Checkbox-warning--focus)", "Input:borderRadius-Checkbox-success": "var(--xmlui-borderRadius-Checkbox-success)", "Input:borderColor-Checkbox-success": "var(--xmlui-borderColor-Checkbox-success)", "Input:backgroundColor-Checkbox-success": "var(--xmlui-backgroundColor-Checkbox-success)", "Input:outlineWidth-Checkbox-success--focus": "var(--xmlui-outlineWidth-Checkbox-success--focus)", "Input:outlineColor-Checkbox-success--focus": "var(--xmlui-outlineColor-Checkbox-success--focus)", "Input:outlineStyle-Checkbox-success--focus": "var(--xmlui-outlineStyle-Checkbox-success--focus)", "Input:outlineOffset-Checkbox-success--focus": "var(--xmlui-outlineOffset-Checkbox-success--focus)", "backgroundColor-indicator-Checkbox": "var(--xmlui-backgroundColor-indicator-Checkbox)", "Input:borderColor-checked-Checkbox": "var(--xmlui-borderColor-checked-Checkbox)", "Input:backgroundColor-checked-Checkbox": "var(--xmlui-backgroundColor-checked-Checkbox)", "Input:borderColor-checked-Checkbox-error": "var(--xmlui-borderColor-checked-Checkbox-error)", "Input:backgroundColor-checked-Checkbox-error": "var(--xmlui-backgroundColor-checked-Checkbox-error)", "Input:borderColor-checked-Checkbox-warning": "var(--xmlui-borderColor-checked-Checkbox-warning)", "Input:backgroundColor-checked-Checkbox-warning": "var(--xmlui-backgroundColor-checked-Checkbox-warning)", "Input:borderColor-checked-Checkbox-success": "var(--xmlui-borderColor-checked-Checkbox-success)", "Input:backgroundColor-checked-Checkbox-success": "var(--xmlui-backgroundColor-checked-Checkbox-success)", "Input:backgroundColor-Switch": "var(--xmlui-backgroundColor-Switch)", "Input:borderColor-Switch": "var(--xmlui-borderColor-Switch)", "backgroundColor-indicator-Switch": "var(--xmlui-backgroundColor-indicator-Switch)", "backgroundColor-checked-Switch": "var(--xmlui-backgroundColor-checked-Switch)", "backgroundColor-indicator-checked-Switch": "var(--xmlui-backgroundColor-indicator-checked-Switch)", "Input:borderColor-Switch-default--hover": "var(--xmlui-borderColor-Switch-default--hover)", "Input:backgroundColor-Switch--disabled": "var(--xmlui-backgroundColor-Switch--disabled)", "Input:borderColor-Switch--disabled": "var(--xmlui-borderColor-Switch--disabled)", "Input:borderColor-checked-Switch": "var(--xmlui-borderColor-checked-Switch)", "Input:backgroundColor-checked-Switch": "var(--xmlui-backgroundColor-checked-Switch)", "Input:borderColor-checked-Switch-error": "var(--xmlui-borderColor-checked-Switch-error)", "Input:backgroundColor-checked-Switch-error": "var(--xmlui-backgroundColor-checked-Switch-error)", "Input:borderColor-checked-Switch-warning": "var(--xmlui-borderColor-checked-Switch-warning)", "Input:backgroundColor-checked-Switch-warning": "var(--xmlui-backgroundColor-checked-Switch-warning)", "Input:borderColor-checked-Switch-success": "var(--xmlui-borderColor-checked-Switch-success)", "Input:backgroundColor-checked-Switch-success": "var(--xmlui-backgroundColor-checked-Switch-success)", "Input:outlineWidth-Switch--focus": "var(--xmlui-outlineWidth-Switch--focus)", "Input:outlineColor-Switch--focus": "var(--xmlui-outlineColor-Switch--focus)", "Input:outlineStyle-Switch--focus": "var(--xmlui-outlineStyle-Switch--focus)", "Input:outlineOffset-Switch--focus": "var(--xmlui-outlineOffset-Switch--focus)", "backgroundColor-Switch-indicator--disabled": "var(--xmlui-backgroundColor-Switch-indicator--disabled)", "Input:borderColor-Switch-error": "var(--xmlui-borderColor-Switch-error)", "Input:borderColor-Switch-warning": "var(--xmlui-borderColor-Switch-warning)", "Input:borderColor-Switch-success": "var(--xmlui-borderColor-Switch-success)"}'`,resetAppearance:"_resetAppearance_ga4w0_13",label:"_label_ga4w0_21",inputContainer:"_inputContainer_ga4w0_25",checkbox:"_checkbox_ga4w0_33",error:"_error_ga4w0_62",warning:"_warning_ga4w0_73",valid:"_valid_ga4w0_84",switch:"_switch_ga4w0_144"},Bo={initialValue:!1,value:!1,enabled:!0,validationStatus:"none",indeterminate:!1},rn=d.forwardRef(function({id:e,initialValue:t=Bo.initialValue,value:o=Bo.value,enabled:r=Bo.enabled,style:n,readOnly:a,validationStatus:i=Bo.validationStatus,updateState:s=yA,onDidChange:l=yA,onFocus:u=yA,onBlur:g=yA,variant:p="checkbox",indeterminate:B=Bo.indeterminate,className:C,label:m,labelPosition:h="end",labelWidth:E,labelBreak:Q,required:I,registerComponentApi:w,inputRenderer:b},v){const x=d.useId(),T=e||x,H=d.useRef(null);d.useEffect(()=>{s({value:t},{initial:!0})},[t,s]);const P=d.useCallback(R=>{var U;((U=H.current)==null?void 0:U.checked)!==R&&(s({value:R}),l(R))},[l,s]),f=d.useCallback(R=>{a||(s({value:R.target.checked}),l(R.target.checked))},[l,a,s]),y=d.useCallback(()=>{u==null||u()},[u]),L=d.useCallback(()=>{g==null||g()},[g]);d.useEffect(()=>{typeof B=="boolean"&&H.current&&(H.current.indeterminate=B)},[B]);const F=d.useCallback(()=>{var R;(R=H.current)==null||R.focus()},[]),S=OA(R=>{P(R)});d.useEffect(()=>{w==null||w({focus:F,setValue:S})},[F,w,S]);const J=d.useMemo(()=>c.jsx("input",{id:T,ref:H,type:"checkbox",role:p,checked:o,disabled:!r,required:I,readOnly:a,"aria-readonly":a,"aria-checked":o,onChange:f,onFocus:y,onBlur:L,className:lA(Br.resetAppearance,C,{[Br.checkbox]:p==="checkbox",[Br.switch]:p==="switch",[Br.error]:i==="error",[Br.warning]:i==="warning",[Br.valid]:i==="valid"})}),[T,C,r,L,y,f,a,I,i,o,p]);return c.jsx(yt,{ref:v,id:T,label:m,style:n,labelPosition:h,labelWidth:E,labelBreak:Q,required:I,enabled:r,isInputTemplateUsed:!!b,shrinkToLabel:!0,labelStyle:{pointerEvents:a?"none":void 0},children:b?c.jsxs("label",{className:Br.label,children:[c.jsx("div",{className:Br.inputContainer,children:J}),b({$checked:o,$setChecked:S})]}):J})}),nt=d.memo(({node:A,item:e,context:t,renderChild:o,layoutContext:r,contextVars:n=jA,itemKey:a="$item",contextKey:i="$context"})=>{const s=Ve(n),l=d.useMemo(()=>a===i?{type:"Container",contextVars:{[a]:{...e,...t},...s},children:Array.isArray(A)?A:[A]}:{type:"Container",contextVars:{[a]:e,[i]:t,...s},children:Array.isArray(A)?A:[A]},[t,e,A,s]);return c.jsx(c.Fragment,{children:o(l,r)})}),He="Checkbox",OC={status:"stable",description:"`Checkbox` allows users to make binary choices with a clickable box that shows checked/unchecked states. It's essential for settings, preferences, multi-select lists, and accepting terms or conditions.",props:{indeterminate:Cp(Bo.indeterminate),label:Fe(),labelPosition:jt("end"),labelWidth:_t(He),labelBreak:ro(He),required:io(),initialValue:Wt(Bo.initialValue),autoFocus:Qt(),readOnly:no(),enabled:Ye(),validationStatus:ao(Bo.validationStatus),description:Se(`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${He} besides its label.`),inputTemplate:zA("This property is used to define a custom checkbox input template")},childrenAsTemplate:"inputTemplate",events:{gotFocus:Kt(He),lostFocus:Yt(He),didChange:dt(He)},apis:{value:hp(),setValue:wo()},themeVars:hA(Br.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`borderColor-checked-${He}-error`]:`$borderColor-${He}-error`,[`backgroundColor-checked-${He}-error`]:`$borderColor-${He}-error`,[`borderColor-checked-${He}-warning`]:`$borderColor-${He}-warning`,[`backgroundColor-checked-${He}-warning`]:`$borderColor-${He}-warning`,[`borderColor-checked-${He}-success`]:`$borderColor-${He}-success`,[`backgroundColor-checked-${He}-success`]:`$borderColor-${He}-success`,[`backgroundColor-indicator-${He}`]:"$backgroundColor-primary",[`borderColor-checked-${He}`]:"$color-primary-500",[`backgroundColor-checked-${He}`]:"$color-primary-500",[`backgroundColor-${He}--disabled`]:"$color-surface-200"}},b1=$(He,OC,({node:A,extractValue:e,layoutCss:t,updateState:o,lookupEventHandler:r,state:n,registerComponentApi:a,renderChild:i,layoutContext:s})=>{const l=A.props.inputTemplate;return c.jsx(rn,{inputRenderer:l?u=>c.jsx(nt,{contextVars:u,node:l,renderChild:i,layoutContext:s}):void 0,enabled:e.asOptionalBoolean(A.props.enabled),style:t,initialValue:e.asOptionalBoolean(A.props.initialValue,Bo.initialValue),value:n==null?void 0:n.value,readOnly:e.asOptionalBoolean(A.props.readOnly),validationStatus:e(A.props.validationStatus),updateState:o,onDidChange:r("didChange"),onFocus:r("gotFocus"),onBlur:r("lostFocus"),label:e(A.props.label),labelPosition:e(A.props.labelPosition),labelWidth:e(A.props.labelWidth),labelBreak:e.asOptionalBoolean(A.props.labelBreak),required:e.asOptionalBoolean(A.props.required),indeterminate:e.asOptionalBoolean(A.props.indeterminate),registerComponentApi:a})}),Sl={themeVars:`'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`,separator:"_separator_1o93m_13",horizontal:"_horizontal_1o93m_16",vertical:"_vertical_1o93m_20"},RC={orientation:"horizontal"},D1=({orientation:A=RC.orientation,size:e,style:t})=>c.jsx("div",{className:lA(Sl.separator,{[Sl.horizontal]:A==="horizontal",[Sl.vertical]:A==="vertical"}),style:{height:A==="horizontal"?e:void 0,width:A==="horizontal"?"100%":e,...t}}),bu="ContentSeparator",UC={status:"stable",description:"`ContentSeparator` creates visual dividers between content sections using horizontal or vertical lines. It's essential for improving readability by breaking up dense content, separating list items, or creating clear boundaries between different UI sections.",props:{size:{description:"This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical). If not defined, the component uses the entire available width or height.",valueType:"any"},orientation:{description:"Sets the main axis of the component",availableValues:Zs,defaultValue:RC.orientation,valueType:"string"}},themeVars:hA(Sl.themeVars),defaultThemeVars:{[`backgroundColor-${bu}`]:"$color-surface-200",[`size-${bu}`]:"1px",light:{},dark:{}}},v1=$(bu,UC,({node:A,layoutCss:e,extractValue:t})=>c.jsx(D1,{orientation:t(A.props.orientation),size:t.asSize(A.props.size),style:e})),$t={themeVars:`'{"Input:backgroundColor-item-DatePicker--active": "var(--xmlui-backgroundColor-item-DatePicker--active)", "Input:backgroundColor-item-DatePicker--hover": "var(--xmlui-backgroundColor-item-DatePicker--hover)", "Input:textColor-value-DatePicker": "var(--xmlui-textColor-value-DatePicker)", "Input:minHeight-DatePicker": "var(--xmlui-minHeight-DatePicker)", "Input:borderColor-selectedItem-DatePicker": "var(--xmlui-borderColor-selectedItem-DatePicker)", "Input:fontSize-DatePicker": "var(--xmlui-fontSize-DatePicker)", "Input:borderRadius-DatePicker-default": "var(--xmlui-borderRadius-DatePicker-default)", "Input:borderColor-DatePicker-default": "var(--xmlui-borderColor-DatePicker-default)", "Input:borderWidth-DatePicker-default": "var(--xmlui-borderWidth-DatePicker-default)", "Input:borderStyle-DatePicker-default": "var(--xmlui-borderStyle-DatePicker-default)", "Input:backgroundColor-DatePicker-default": "var(--xmlui-backgroundColor-DatePicker-default)", "Input:boxShadow-DatePicker-default": "var(--xmlui-boxShadow-DatePicker-default)", "Input:textColor-DatePicker-default": "var(--xmlui-textColor-DatePicker-default)", "Input:padding-DatePicker-default": "var(--xmlui-padding-DatePicker-default)", "Input:borderColor-DatePicker-default--hover": "var(--xmlui-borderColor-DatePicker-default--hover)", "Input:backgroundColor-DatePicker-default--hover": "var(--xmlui-backgroundColor-DatePicker-default--hover)", "Input:boxShadow-DatePicker-default--hover": "var(--xmlui-boxShadow-DatePicker-default--hover)", "Input:textColor-DatePicker-default--hover": "var(--xmlui-textColor-DatePicker-default--hover)", "Input:outlineWidth-DatePicker-default--focus": "var(--xmlui-outlineWidth-DatePicker-default--focus)", "Input:outlineColor-DatePicker-default--focus": "var(--xmlui-outlineColor-DatePicker-default--focus)", "Input:outlineStyle-DatePicker-default--focus": "var(--xmlui-outlineStyle-DatePicker-default--focus)", "Input:outlineOffset-DatePicker-default--focus": "var(--xmlui-outlineOffset-DatePicker-default--focus)", "Input:textColor-placeholder-DatePicker-default": "var(--xmlui-textColor-placeholder-DatePicker-default)", "Input:fontSize-placeholder-DatePicker-default": "var(--xmlui-fontSize-placeholder-DatePicker-default)", "Input:color-adornment-DatePicker-default": "var(--xmlui-color-adornment-DatePicker-default)", "Input:borderRadius-DatePicker-error": "var(--xmlui-borderRadius-DatePicker-error)", "Input:borderColor-DatePicker-error": "var(--xmlui-borderColor-DatePicker-error)", "Input:borderWidth-DatePicker-error": "var(--xmlui-borderWidth-DatePicker-error)", "Input:borderStyle-DatePicker-error": "var(--xmlui-borderStyle-DatePicker-error)", "Input:backgroundColor-DatePicker-error": "var(--xmlui-backgroundColor-DatePicker-error)", "Input:boxShadow-DatePicker-error": "var(--xmlui-boxShadow-DatePicker-error)", "Input:textColor-DatePicker-error": "var(--xmlui-textColor-DatePicker-error)", "Input:padding-DatePicker-error": "var(--xmlui-padding-DatePicker-error)", "Input:borderColor-DatePicker-error--hover": "var(--xmlui-borderColor-DatePicker-error--hover)", "Input:backgroundColor-DatePicker-error--hover": "var(--xmlui-backgroundColor-DatePicker-error--hover)", "Input:boxShadow-DatePicker-error--hover": "var(--xmlui-boxShadow-DatePicker-error--hover)", "Input:textColor-DatePicker-error--hover": "var(--xmlui-textColor-DatePicker-error--hover)", "Input:outlineWidth-DatePicker-error--focus": "var(--xmlui-outlineWidth-DatePicker-error--focus)", "Input:outlineColor-DatePicker-error--focus": "var(--xmlui-outlineColor-DatePicker-error--focus)", "Input:outlineStyle-DatePicker-error--focus": "var(--xmlui-outlineStyle-DatePicker-error--focus)", "Input:outlineOffset-DatePicker-error--focus": "var(--xmlui-outlineOffset-DatePicker-error--focus)", "Input:textColor-placeholder-DatePicker-error": "var(--xmlui-textColor-placeholder-DatePicker-error)", "Input:fontSize-placeholder-DatePicker-error": "var(--xmlui-fontSize-placeholder-DatePicker-error)", "Input:color-adornment-DatePicker-error": "var(--xmlui-color-adornment-DatePicker-error)", "Input:borderRadius-DatePicker-warning": "var(--xmlui-borderRadius-DatePicker-warning)", "Input:borderColor-DatePicker-warning": "var(--xmlui-borderColor-DatePicker-warning)", "Input:borderWidth-DatePicker-warning": "var(--xmlui-borderWidth-DatePicker-warning)", "Input:borderStyle-DatePicker-warning": "var(--xmlui-borderStyle-DatePicker-warning)", "Input:backgroundColor-DatePicker-warning": "var(--xmlui-backgroundColor-DatePicker-warning)", "Input:boxShadow-DatePicker-warning": "var(--xmlui-boxShadow-DatePicker-warning)", "Input:textColor-DatePicker-warning": "var(--xmlui-textColor-DatePicker-warning)", "Input:padding-DatePicker-warning": "var(--xmlui-padding-DatePicker-warning)", "Input:borderColor-DatePicker-warning--hover": "var(--xmlui-borderColor-DatePicker-warning--hover)", "Input:backgroundColor-DatePicker-warning--hover": "var(--xmlui-backgroundColor-DatePicker-warning--hover)", "Input:boxShadow-DatePicker-warning--hover": "var(--xmlui-boxShadow-DatePicker-warning--hover)", "Input:textColor-DatePicker-warning--hover": "var(--xmlui-textColor-DatePicker-warning--hover)", "Input:outlineWidth-DatePicker-warning--focus": "var(--xmlui-outlineWidth-DatePicker-warning--focus)", "Input:outlineColor-DatePicker-warning--focus": "var(--xmlui-outlineColor-DatePicker-warning--focus)", "Input:outlineStyle-DatePicker-warning--focus": "var(--xmlui-outlineStyle-DatePicker-warning--focus)", "Input:outlineOffset-DatePicker-warning--focus": "var(--xmlui-outlineOffset-DatePicker-warning--focus)", "Input:textColor-placeholder-DatePicker-warning": "var(--xmlui-textColor-placeholder-DatePicker-warning)", "Input:fontSize-placeholder-DatePicker-warning": "var(--xmlui-fontSize-placeholder-DatePicker-warning)", "Input:color-adornment-DatePicker-warning": "var(--xmlui-color-adornment-DatePicker-warning)", "Input:borderRadius-DatePicker-success": "var(--xmlui-borderRadius-DatePicker-success)", "Input:borderColor-DatePicker-success": "var(--xmlui-borderColor-DatePicker-success)", "Input:borderWidth-DatePicker-success": "var(--xmlui-borderWidth-DatePicker-success)", "Input:borderStyle-DatePicker-success": "var(--xmlui-borderStyle-DatePicker-success)", "Input:backgroundColor-DatePicker-success": "var(--xmlui-backgroundColor-DatePicker-success)", "Input:boxShadow-DatePicker-success": "var(--xmlui-boxShadow-DatePicker-success)", "Input:textColor-DatePicker-success": "var(--xmlui-textColor-DatePicker-success)", "Input:padding-DatePicker-success": "var(--xmlui-padding-DatePicker-success)", "Input:borderColor-DatePicker-success--hover": "var(--xmlui-borderColor-DatePicker-success--hover)", "Input:backgroundColor-DatePicker-success--hover": "var(--xmlui-backgroundColor-DatePicker-success--hover)", "Input:boxShadow-DatePicker-success--hover": "var(--xmlui-boxShadow-DatePicker-success--hover)", "Input:textColor-DatePicker-success--hover": "var(--xmlui-textColor-DatePicker-success--hover)", "Input:outlineWidth-DatePicker-success--focus": "var(--xmlui-outlineWidth-DatePicker-success--focus)", "Input:outlineColor-DatePicker-success--focus": "var(--xmlui-outlineColor-DatePicker-success--focus)", "Input:outlineStyle-DatePicker-success--focus": "var(--xmlui-outlineStyle-DatePicker-success--focus)", "Input:outlineOffset-DatePicker-success--focus": "var(--xmlui-outlineOffset-DatePicker-success--focus)", "Input:textColor-placeholder-DatePicker-success": "var(--xmlui-textColor-placeholder-DatePicker-success)", "Input:fontSize-placeholder-DatePicker-success": "var(--xmlui-fontSize-placeholder-DatePicker-success)", "Input:color-adornment-DatePicker-success": "var(--xmlui-color-adornment-DatePicker-success)", "Input:backgroundColor-DatePicker--disabled": "var(--xmlui-backgroundColor-DatePicker--disabled)", "Input:textColor-DatePicker--disabled": "var(--xmlui-textColor-DatePicker--disabled)", "Input:borderColor-DatePicker--disabled": "var(--xmlui-borderColor-DatePicker--disabled)", "Input:boxShadow-menu-DatePicker": "var(--xmlui-boxShadow-menu-DatePicker)", "Input:backgroundColor-menu-DatePicker": "var(--xmlui-backgroundColor-menu-DatePicker)", "Input:borderRadius-menu-DatePicker": "var(--xmlui-borderRadius-menu-DatePicker)"}'`,datePicker:"_datePicker_g5m5l_13",placeholder:"_placeholder_g5m5l_47",adornment:"_adornment_g5m5l_51",error:"_error_g5m5l_54",warning:"_warning_g5m5l_83",valid:"_valid_g5m5l_112",disabled:"_disabled_g5m5l_141",indicator:"_indicator_g5m5l_147",datePickerInput:"_datePickerInput_g5m5l_147",inlinePickerMenu:"_inlinePickerMenu_g5m5l_151",datePickerMenu:"_datePickerMenu_g5m5l_273",root:"_root_g5m5l_285",day:"_day_g5m5l_339",day_button:"_day_button_g5m5l_345",caption_label:"_caption_label_g5m5l_368",dropdown:"_dropdown_g5m5l_379",button_next:"_button_next_g5m5l_383",button_previous:"_button_previous_g5m5l_384",chevron:"_chevron_g5m5l_415",nav:"_nav_g5m5l_420",dropdowns:"_dropdowns_g5m5l_425",dropdown_root:"_dropdown_root_g5m5l_449",month_caption:"_month_caption_g5m5l_464",month:"_month_g5m5l_464",months:"_months_g5m5l_502",month_grid:"_month_grid_g5m5l_510",weekday:"_weekday_g5m5l_523",week_number:"_week_number_g5m5l_533",today:"_today_g5m5l_545",outside:"_outside_g5m5l_545",selected:"_selected_g5m5l_549",hidden:"_hidden_g5m5l_566",range_start:"_range_start_g5m5l_571",range_middle:"_range_middle_g5m5l_580",range_end:"_range_end_g5m5l_591",focusable:"_focusable_g5m5l_605",datePickerValue:"_datePickerValue_g5m5l_609",weeks_before_enter:"_weeks_before_enter_g5m5l_646","rdp-slide_in_left":"_rdp-slide_in_left_g5m5l_1",weeks_before_exit:"_weeks_before_exit_g5m5l_650","rdp-slide_out_left":"_rdp-slide_out_left_g5m5l_1",weeks_after_enter:"_weeks_after_enter_g5m5l_654","rdp-slide_in_right":"_rdp-slide_in_right_g5m5l_1",weeks_after_exit:"_weeks_after_exit_g5m5l_658","rdp-slide_out_right":"_rdp-slide_out_right_g5m5l_1",caption_after_enter:"_caption_after_enter_g5m5l_694","rdp-fade_in":"_rdp-fade_in_g5m5l_1",caption_after_exit:"_caption_after_exit_g5m5l_698","rdp-fade_out":"_rdp-fade_out_g5m5l_1",caption_before_enter:"_caption_before_enter_g5m5l_702",caption_before_exit:"_caption_before_exit_g5m5l_706"},y1=["single","range"];var nn=(A=>(A[A.Sunday=0]="Sunday",A[A.Monday=1]="Monday",A[A.Tuesday=2]="Tuesday",A[A.Wednesday=3]="Wednesday",A[A.Thursday=4]="Thursday",A[A.Friday=5]="Friday",A[A.Saturday=6]="Saturday",A))(nn||{});const Hl=["MM/dd/yyyy","MM-dd-yyyy","yyyy/MM/dd","yyyy-MM-dd","dd/MM/yyyy","dd-MM-yyyy","yyyyMMdd","MMddyyyy"],kt={mode:"single",validationStatus:"none",enabled:!0,inline:!1,dateFormat:"MM/dd/yyyy",showWeekNumber:!1,weekStartsOn:0,disabledDates:[]},KC=({...A})=>{const{orientation:e="left"}=A;if(e==="up")return c.jsx(vA,{name:"chevronup",size:"sm"});if(e==="down")return c.jsx(vA,{name:"chevrondown",size:"sm"});if(e==="left")return c.jsx(vA,{name:"chevronleft",size:"lg"});if(e==="right")return c.jsx(vA,{name:"chevronright",size:"lg"})},YC=d.forwardRef(function({id:e,initialValue:t,value:o,mode:r=kt.mode,enabled:n=kt.enabled,placeholder:a,updateState:i=yA,validationStatus:s=kt.validationStatus,onDidChange:l=yA,onFocus:u=yA,onBlur:g=yA,dateFormat:p=kt.dateFormat,showWeekNumber:B=kt.showWeekNumber,weekStartsOn:C=kt.weekStartsOn,minValue:m,maxValue:h,disabledDates:E=kt.disabledDates,style:Q,registerComponentApi:I,inline:w=kt.inline,startText:b,startIcon:v,endText:x,endIcon:T,label:H,labelPosition:P,labelWidth:f,labelBreak:y,readOnly:L=!1,required:F,autoFocus:S=!1},J){const R=C>=0&&C<=6?C:0,[U,j]=d.useState(!1),[_,Z]=d.useState(!1),[z,O]=d.useState(null),Y=d.useId(),q=e||Y,eA=d.useMemo(()=>{if(r==="single"&&typeof o=="string")return Du(o)||Ml(o);if(r==="range"&&typeof o=="object")return{from:Du(o==null?void 0:o.from)||Ml(o==null?void 0:o.from),to:Du(o==null?void 0:o.to)||Ml(o==null?void 0:o.to)}},[o,r]);d.useEffect(()=>{if(!Hl.includes(p))throw new Error(`Invalid dateFormat: ${p}. Supported formats are: ${Hl.join(", ")}`)},[p]);const AA=d.useMemo(()=>m?se.parse(m,p,new Date):void 0,[m,p]),uA=d.useMemo(()=>h?se.parse(h,p,new Date):void 0,[h,p]),gA=d.useMemo(()=>E==null?void 0:E.map(sA=>se.parse(sA,p,new Date)),[E,p]),[cA,BA]=d.useState(!1),{root:X}=ne(),M=()=>{Z(!0)},G=()=>{Z(!1)},K=d.useCallback(()=>{z==null||z.focus()},[z]),V=OA(sA=>{const EA=Ml(sA);nA(EA)});d.useEffect(()=>{I==null||I({focus:K,setValue:V})},[K,I,V]),d.useEffect(()=>{!U&&!_&&(g==null||g()),(U||_)&&(u==null||u())},[U,_,u,g]),d.useEffect(()=>{i({value:t},{initial:!0})},[t,i]);const nA=d.useCallback(sA=>{if(!L){if(!sA)i({value:void 0}),l("");else if(r==="single"){const EA=sA,IA=se.format(EA,p);i({value:IA}),l(IA)}else{const EA=sA,IA={from:EA.from?se.format(EA.from,p):"",to:EA.to?se.format(EA.to,p):""};i({value:IA}),l(IA)}r==="single"&&BA(!1)}},[l,i,r,p]);return c.jsx(yt,{id:q,labelPosition:P,label:H,labelWidth:f,labelBreak:y,required:F,enabled:n,onFocus:u,onBlur:g,style:Q,ref:J,children:w?c.jsx("div",{className:$t.inlinePickerMenu,ref:sA=>O(sA),children:c.jsx(ZB.DayPicker,{id:q,required:void 0,captionLayout:"dropdown",fixedWeeks:!0,startMonth:AA,endMonth:uA,disabled:gA,weekStartsOn:R,showWeekNumber:B,showOutsideDays:!0,classNames:$t,mode:r==="single"?"single":"range",selected:eA,onSelect:nA,autoFocus:S,numberOfMonths:r==="range"?2:1,components:{Chevron:KC}})}):c.jsxs(Ro.Popover,{open:cA,onOpenChange:BA,modal:!1,children:[c.jsxs(Ro.PopoverTrigger,{ref:O,id:q,"aria-haspopup":!0,disabled:!n,style:Q,"aria-expanded":cA,className:lA($t.datePicker,{[$t.disabled]:!n,[$t.error]:s==="error",[$t.warning]:s==="warning",[$t.valid]:s==="valid"}),autoFocus:S,onFocus:u,onBlur:g,children:[c.jsx(Gr,{text:b,iconName:v,className:$t.adornment}),c.jsx("div",{className:$t.datePickerValue,children:r==="single"&&eA?c.jsx(c.Fragment,{children:se.format(eA,p)}):r==="range"&&typeof eA=="object"&&eA.from?eA.to?c.jsxs(c.Fragment,{children:[se.format(eA.from,p)," - ",se.format(eA.to,p)]}):c.jsx(c.Fragment,{children:se.format(eA.from,p)}):a?c.jsx("span",{className:$t.placeholder,placeholder:a,children:a}):c.jsx("span",{children:" "})}),c.jsx(Gr,{text:x,iconName:T,className:$t.adornment})]}),c.jsx(Ro.PopoverPortal,{container:X,children:c.jsx(Ro.PopoverContent,{role:"menu",align:"start",sideOffset:5,className:$t.datePickerMenu,onFocus:M,onBlur:G,onInteractOutside:G,children:c.jsx(ZB.DayPicker,{required:void 0,animate:!0,fixedWeeks:!0,autoFocus:S,classNames:$t,captionLayout:"dropdown",startMonth:AA,endMonth:uA,disabled:gA,weekStartsOn:R,showWeekNumber:B,showOutsideDays:!0,mode:r==="single"?"single":"range",selected:eA,onSelect:nA,numberOfMonths:r==="range"?2:1,components:{Chevron:KC}})})})]})})}),x1=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/,Du=A=>{if(A&&x1.test(A)){const e=se.parseISO(A);if(se.isValid(e))return e}},Ml=A=>{if(A)for(const e of Hl){const t=se.parse(A,e,new Date);if(se.isValid(t))return t}},Jt="DatePicker",jC={status:"experimental",description:"`DatePicker` provides an interactive calendar interface for selecting single dates or date ranges, with customizable formatting and validation options. It displays a text input that opens a calendar popup when clicked, offering both keyboard and mouse interaction.",props:{placeholder:An(),initialValue:Wt(),autoFocus:Qt(),readOnly:no(),enabled:Ye(kt.enabled),validationStatus:ao(kt.validationStatus),label:Fe(),labelPosition:jt("top"),labelWidth:_t(Jt),labelBreak:ro(Jt),mode:{description:"The mode of the datepicker (single or range)",valueType:"string",availableValues:y1,defaultValue:kt.mode},dateFormat:{description:"The format of the date displayed in the input field",valueType:"string",defaultValue:kt.dateFormat,availableValues:Hl},showWeekNumber:{description:"Whether to show the week number in the calendar",valueType:"boolean",defaultValue:kt.showWeekNumber},weekStartsOn:{description:"The first day of the week. 0 is Sunday, 1 is Monday, etc.",valueType:"number",defaultValue:kt.weekStartsOn,availableValues:[{value:nn.Sunday,description:"Sunday"},{value:nn.Monday,description:"Monday"},{value:nn.Tuesday,description:"Tuesday"},{value:nn.Wednesday,description:"Wednesday"},{value:nn.Thursday,description:"Thursday"},{value:nn.Friday,description:"Friday"},{value:nn.Saturday,description:"Saturday"}]},minValue:{description:"The optional start date of the selectable date range. If not defined, the range allows any dates in the past.",valueType:"string"},maxValue:{description:"The optional end date of the selectable date range. If not defined, the range allows any future dates.",valueType:"string"},disabledDates:{description:"An optional array of dates that are disabled",valueType:"any"},inline:{description:"Whether to display the datepicker inline",valueType:"boolean",defaultValue:kt.inline},startText:ol(),startIcon:rl(),endText:nl(),endIcon:al()},events:{didChange:dt(Jt),gotFocus:Kt(Jt),lostFocus:Yt(Jt)},apis:{focus:Ko(Jt),value:k("You can query the component's value. If no value is set, it will retrieve `undefined`."),setValue:wo()},themeVars:hA($t.themeVars),defaultThemeVars:{[`boxShadow-menu-${Jt}`]:"$boxShadow-md",[`borderRadius-menu-${Jt}`]:"$borderRadius",[`textColor-value-${Jt}`]:"$textColor-primary",[`borderColor-selectedItem-${Jt}`]:"$color-primary-200",[`backgroundColor-menu-${Jt}`]:"$color-surface-50",[`backgroundColor-item-${Jt}--hover`]:"$color-surface-100",[`backgroundColor-item-${Jt}--active`]:"$color-surface-200"}},k1=$(Jt,jC,({node:A,state:e,updateState:t,extractValue:o,layoutCss:r,lookupEventHandler:n,registerComponentApi:a})=>{var i;return c.jsx(YC,{id:A.uid,style:r,mode:o((i=A.props)==null?void 0:i.mode),value:e==null?void 0:e.value,initialValue:o(A.props.initialValue),enabled:o.asOptionalBoolean(A.props.enabled),placeholder:o.asOptionalString(A.props.placeholder),validationStatus:o(A.props.validationStatus),updateState:t,onDidChange:n("didChange"),onFocus:n("gotFocus"),onBlur:n("lostFocus"),registerComponentApi:a,dateFormat:o(A.props.dateFormat),showWeekNumber:o.asOptionalBoolean(A.props.showWeekNumber),weekStartsOn:o(A.props.weekStartsOn),minValue:o(A.props.minValue),maxValue:o(A.props.maxValue),disabledDates:o(A.props.disabledDates),inline:o.asOptionalBoolean(A.props.inline),startText:o.asOptionalString(A.props.startText),startIcon:o.asOptionalString(A.props.startIcon),endText:o.asOptionalString(A.props.endText),endIcon:o.asOptionalString(A.props.endIcon),readOnly:o.asOptionalBoolean(A.props.readOnly),autoFocus:o.asOptionalBoolean(A.props.autoFocus),label:o(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak)})}),Wo={themeVars:`'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`,DropdownMenuContent:"_DropdownMenuContent_1ty8e_13",DropdownMenuSubContent:"_DropdownMenuSubContent_1ty8e_14",DropdownMenuItem:"_DropdownMenuItem_1ty8e_26",DropdownMenuSubTrigger:"_DropdownMenuSubTrigger_1ty8e_27",active:"_active_1ty8e_50",disabled:"_disabled_1ty8e_60",wrapper:"_wrapper_1ty8e_71",DropdownMenuSeparator:"_DropdownMenuSeparator_1ty8e_76"},pr={alignment:"start",triggerButtonVariant:"ghost",triggerButtonThemeColor:"primary",triggerButtonIcon:"triggerButton:DropdownMenu",triggerButtonIconPosition:"end"},S1=d.forwardRef(function({triggerTemplate:e,children:t,label:o,registerComponentApi:r,style:n,onWillOpen:a,alignment:i=pr.alignment,disabled:s=!1,triggerButtonVariant:l=pr.triggerButtonVariant,triggerButtonThemeColor:u=pr.triggerButtonThemeColor,triggerButtonIcon:g=pr.triggerButtonIcon,triggerButtonIconPosition:p=pr.triggerButtonIconPosition},B){const{root:C}=ne(),[m,h]=d.useState(!1);return d.useEffect(()=>{r==null||r({close:()=>h(!1)})},[r]),c.jsxs(sr.Root,{open:m,onOpenChange:async E=>{E&&await(a==null?void 0:a())===!1||h(E)},children:[c.jsx(sr.Trigger,{asChild:!0,disabled:s,ref:B,children:e||c.jsx(ae,{icon:c.jsx(vA,{name:g,fallback:"chevrondown"}),iconPosition:p,type:"button",variant:l,themeColor:u,disabled:s,children:o})}),c.jsx(sr.Portal,{container:C,children:c.jsx(sr.Content,{align:i,style:n,className:Wo.DropdownMenuContent,children:t})})]})}),Tl={iconPosition:"start",active:!1},H1=d.forwardRef(function({children:e,onClick:t=yA,label:o,style:r,icon:n,iconPosition:a=Tl.iconPosition,active:i=Tl.active,enabled:s=!0},l){const u=a==="start";return c.jsxs(sr.Item,{style:r,className:lA(Wo.DropdownMenuItem,{[Wo.active]:i,[Wo.disabled]:!s}),onClick:g=>{if(!s){g.preventDefault(),g.stopPropagation();return}g.stopPropagation(),s&&t(g)},ref:l,children:[u&&n,c.jsx("div",{className:Wo.wrapper,children:o??e}),!u&&n]})});function M1({children:A,label:e,triggerTemplate:t}){const{root:o}=ne();return c.jsxs(sr.Sub,{children:[c.jsx(sr.SubTrigger,{className:Wo.DropdownMenuSubTrigger,asChild:!0,children:t||c.jsx("div",{children:e})}),c.jsx(sr.Portal,{container:o,children:c.jsx(sr.SubContent,{className:Wo.DropdownMenuSubContent,children:A})})]})}function T1(){return c.jsx(sr.Separator,{className:Wo.DropdownMenuSeparator})}const Do="DropdownMenu",_C={status:"stable",description:"`DropdownMenu` provides a space-efficient way to present multiple options or actions through a collapsible interface. When clicked, the trigger button reveals a menu that can include items, separators, and nested submenus, making it ideal for navigation, action lists, or any situation requiring many options without permanent screen space.",props:{label:Fe(),triggerTemplate:Qp(Do),alignment:{description:"This property allows you to determine the alignment of the dropdown panel with the displayed menu items.",valueType:"string",availableValues:cp,defaultValue:pr.alignment},enabled:Ye(),triggerButtonVariant:{description:"This property defines the theme variant of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:Yg,defaultValue:pr.triggerButtonVariant},triggerButtonThemeColor:{description:"This property defines the theme color of the `Button` as the dropdown menu's trigger. It has no effect when a custom trigger is defined with `triggerTemplate`.",valueType:"string",availableValues:Kg,defaultValue:pr.triggerButtonThemeColor},triggerButtonIcon:{description:`This property defines the icon to display on the trigger button. You can change the default icon for all ${Do} instances with the "icon.triggerButton:DropdownMenu" declaration in the app configuration file.`,defaultValue:pr.triggerButtonIcon,valueType:"string"},triggerButtonIconPosition:{description:"This property defines the position of the icon on the trigger button.",defaultValue:pr.triggerButtonIconPosition,valueType:"string",availableValues:Al}},events:{willOpen:k(`This event fires when the \`${Do}\` component is opened.`)},apis:{close:k("This method command closes the dropdown.")},themeVars:hA(Wo.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`backgroundColor-${Do}`]:"$color-surface-raised",[`minWidth-${Do}`]:"160px",[`boxShadow-${Do}`]:"$boxShadow-xl",[`borderStyle-${Do}-content`]:"solid",[`borderRadius-${Do}`]:"$borderRadius"}},WC=$(Do,_C,({node:A,extractValue:e,renderChild:t,registerComponentApi:o,layoutCss:r,lookupEventHandler:n})=>{var a,i,s;return c.jsx(S1,{triggerTemplate:t((a=A.props)==null?void 0:a.triggerTemplate),label:e((i=A.props)==null?void 0:i.label),registerComponentApi:o,onWillOpen:n("willOpen"),style:r,alignment:e((s=A.props)==null?void 0:s.alignment),disabled:!e.asOptionalBoolean(A.props.enabled,!0),triggerButtonThemeColor:e(A.props.triggerButtonThemeColor),triggerButtonVariant:e(A.props.triggerButtonVariant),triggerButtonIcon:e(A.props.triggerButtonIcon),triggerButtonIconPosition:e(A.props.triggerButtonIconPosition),children:t(A.children)})}),zt="MenuItem",$C={status:"stable",description:"`MenuItem` represents individual clickable items within dropdown menus and other menu components. Each menu item can display text, icons, and respond to clicks with either navigation or custom actions, making it the building block for interactive menu systems.",docFolder:Do,props:{iconPosition:{description:"This property allows you to determine the position of the icon displayed in the menu item.",valueType:"string",availableValues:Al,defaultValue:Tl.iconPosition},icon:{description:'This property names an optional icon to display with the menu item. You can use component-specific icons in the format "iconName:MenuItem".',valueType:"string"},label:Fe(),to:{description:"This property defines the URL of the menu item. If this property is defined (and the `click` event does not have an event handler), clicking the menu item navigates to this link.",valueType:"string"},active:{description:"This property indicates if the specified menu item is active.",valueType:"boolean",defaultValue:Tl.active},enabled:Ye()},events:{click:Un(zt)},themeVars:hA(Wo.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`backgroundColor-${zt}`]:"$backgroundColor-dropdown-item",[`color-${zt}`]:"$textColor-primary",[`color-${zt}--disabled`]:"$textColor--disabled",[`fontFamily-${zt}`]:"$fontFamily",[`fontSize-${zt}`]:"$fontSize-small",[`paddingVertical-${zt}`]:"$space-2",[`paddingHorizontal-${zt}`]:"$space-3",[`backgroundColor-${zt}--hover`]:"$backgroundColor-dropdown-item--hover",[`color-${zt}--hover`]:"inherit",[`gap-${zt}`]:"$space-2",[`color-${zt}--active`]:"$color-primary",[`backgroundColor-${zt}--active`]:"$backgroundColor-dropdown-item--active",light:{},dark:{}}},L1=$(zt,$C,({node:A,renderChild:e,lookupEventHandler:t,lookupAction:o,extractValue:r,layoutCss:n})=>{var l,u;const a=t("click");let i;const s=r(A.props.to);if(!a&&(s!=null&&s.trim())){const g=o("navigate",{signError:!1});i=()=>{g==null||g({pathname:s})}}return c.jsx(H1,{onClick:i,label:r((l=A.props)==null?void 0:l.label),style:n,iconPosition:r(A.props.iconPosition),icon:((u=A.props)==null?void 0:u.icon)&&c.jsx(vA,{name:r(A.props.icon),fallback:r(A.props.icon)}),active:r.asOptionalBoolean(A.props.active,!1),enabled:r.asOptionalBoolean(A.props.enabled,!0),children:e(A.children)})}),JC="SubMenuItem",zC={status:"stable",description:"`SubMenuItem` creates hierarchical menu structures by acting as both a menu item and a container for nested menu items. When clicked or hovered, it reveals a submenu containing additional [MenuItem](/components/MenuItem), [MenuSeparator](/components/MenuSeparator), or other [SubMenuItem](/components/SubMenuItems) components, enabling complex multi-level navigation and action organization.",docFolder:Do,props:{label:Fe(),triggerTemplate:Qp(JC)}},N1=$(JC,zC,({node:A,renderChild:e,extractValue:t})=>{var o,r;return c.jsx(M1,{label:t((o=A.props)==null?void 0:o.label),triggerTemplate:e((r=A.props)==null?void 0:r.triggerTemplate),children:e(A.children)})}),zn="MenuSeparator",qC={status:"stable",description:"`MenuSeparator` displays a separator line between menu items to group related menu options within `DropdownMenu`.",docFolder:Do,themeVars:hA(Wo.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`marginTop-${zn}`]:"$space-1",[`marginBottom-${zn}`]:"$space-1",[`width-${zn}`]:"100%",[`height-${zn}`]:"1px",[`color-${zn}`]:"$borderColor-dropdown-item",[`marginHorizontal-${zn}`]:"12px"}},F1=$(zn,qC,()=>c.jsx(T1,{})),Ll={theme:"light",select:yA,autoFocus:!1},P1=({select:A=Ll.select,theme:e=Ll.theme,autoFocus:t=Ll.autoFocus})=>c.jsx(Ap,{autoFocusSearch:t,onEmojiClick:async o=>{await A(o.emoji)},lazyLoadEmojis:!0,theme:e,previewConfig:{showPreview:!1},skinTonesDisabled:!0,height:360,emojiStyle:Ap.EmojiStyle.NATIVE}),G1="EmojiSelector",VC={status:"experimental",description:"`EmojiSelector` enables users to browse, search and select emojis from their system's native emoji set.",props:{autoFocus:{...Qt(),defaultValue:Ll.autoFocus}},events:{select:k("This event is fired when the user selects an emoticon from this component.")}},O1=$(G1,VC,({node:A,lookupEventHandler:e,extractValue:t})=>{const o=e("select"),r=ne();return c.jsx(P1,{select:o,theme:r.activeThemeTone,autoFocus:t.asOptionalBoolean(A.props.autoFocus)})}),Pa={themeVars:'"[]"',container:"_container_1hin1_13",buttonStart:"_buttonStart_1hin1_22",buttonEnd:"_buttonEnd_1hin1_26",textBoxWrapper:"_textBoxWrapper_1hin1_30",button:"_button_1hin1_22"},{useDropzone:R1}=ip,po={enabled:!0,buttonPosition:"end",buttonLabel:"Browse",multiple:!1,directory:!1,buttonThemeColor:"primary",updateState:yA,onDidChange:yA,onFocus:yA,onBlur:yA},XC=({id:A,enabled:e=po.enabled,style:t,placeholder:o,buttonPosition:r=po.buttonPosition,buttonLabel:n=po.buttonLabel,buttonIcon:a,buttonIconPosition:i,variant:s,buttonThemeColor:l,buttonSize:u,autoFocus:g,validationStatus:p,updateState:B=po.updateState,onDidChange:C=po.onDidChange,onFocus:m=po.onFocus,onBlur:h=po.onBlur,registerComponentApi:E,value:Q,initialValue:I,acceptsFileType:w,multiple:b=po.multiple,directory:v=po.directory,label:x,labelPosition:T,labelWidth:H,labelBreak:P,required:f})=>{const y=vu(I)?I:void 0,L=vu(Q)?Q:void 0,F=d.useRef(null),S=typeof w=="string"?w:w==null?void 0:w.join(",");d.useEffect(()=>{g&&setTimeout(()=>{var Y;(Y=F.current)==null||Y.focus()},0)},[g]),d.useEffect(()=>{B({value:y},{initial:!0})},[y,B]);const J=d.useCallback(()=>{h==null||h()},[h]),R=d.useCallback(()=>{var Y;(Y=F.current)==null||Y.focus()},[]),U=d.useCallback(Y=>{Y.length&&(B({value:Y}),C(Y))},[B,C]),{getRootProps:j,getInputProps:_,open:Z}=R1({disabled:!e,multiple:b||v,onDrop:U,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,useFsAccessApi:v===!1}),z=d.useCallback(()=>{m==null||m()},[m]),O=OA(()=>{Z()});return d.useEffect(()=>{E==null||E({focus:R,open:O})},[R,O,E]),c.jsx(yt,{labelPosition:T,label:x,labelWidth:H,labelBreak:P,required:f,enabled:e,onFocus:m,onBlur:h,style:t,children:c.jsxs("div",{className:lA(Pa.container,{[Pa.buttonStart]:r==="start",[Pa.buttonEnd]:r==="end"}),children:[c.jsxs("button",{...j({tabIndex:0,onFocus:z,onBlur:J,disabled:!e,className:Pa.textBoxWrapper,onClick:Z,ref:F,type:"button"}),children:[c.jsx(cx.Root,{children:c.jsx("input",{..._({webkitdirectory:v?"true":void 0}),accept:S})}),c.jsx(Cl,{placeholder:o,enabled:e,value:(L==null?void 0:L.map(Y=>Y.name).join(", "))||"",validationStatus:p,readOnly:!0,tabIndex:-1})]}),c.jsx(ae,{id:A,disabled:!e,type:"button",onClick:Z,icon:a,iconPosition:i,variant:s,themeColor:l,size:u,className:Pa.button,autoFocus:g,children:n})]})})};function U1(A){return A instanceof File}function vu(A){return Array.isArray(A)&&A.every(U1)}const an="FileInput",K1="browse:FileInput",ZC={status:"stable",description:"`FileInput` enables users to select files from their device's file system for upload or processing. It combines a text field displaying selected files with a customizable button that opens the system file browser. Use it for forms, media uploads, and document processing workflows.",props:{placeholder:An(),initialValue:Wt(),autoFocus:Qt(),required:io(),readOnly:no(),enabled:Ye(),validationStatus:ao(),label:Fe(),labelPosition:jt("top"),labelWidth:_t(an),labelBreak:ro(an),buttonVariant:k("The button variant to use",Bx),buttonLabel:k("This property is an optional string to set a label for the button part."),buttonIcon:k(`The ID of the icon to display in the button. You can change the default icon for all ${an} instances with the "icon.browse:FileInput" declaration in the app configuration file.`),buttonIconPosition:k("This optional string determines the location of the button icon.",px,"string","start"),acceptsFileType:k("An optional list of file types the input controls accepts provided as a string array."),multiple:{...k("This boolean property enables to add not just one (`false`), but multiple files to the field (`true`). This is done either by dragging onto the field or by selecting multiple files in the browser menu after clicking the input field button.",null,"boolean"),defaultValue:po.multiple},directory:{...k("This boolean property indicates whether the component allows selecting directories (`true`) or files only (`false`).",null,"boolean"),defaultValue:po.directory},buttonPosition:{...k("This property determines the position of the button relative to the input field.",["start","end"]),defaultValue:po.buttonPosition},buttonSize:k("The size of the button (small, medium, large)",Xs),buttonThemeColor:k("The button color scheme (primary, secondary, attention)",ux,"string",po.buttonThemeColor)},events:{didChange:dt(an),gotFocus:Kt(an),lostFocus:Yt(an)},apis:{value:k("By setting an ID for the component, you can refer to the value of the field if set. If no value is set, the value will be undefined."),setValue:k("(**NOT IMPLEMENTED YET**) You can use this method to set the component's current value programmatically."),focus:Ko(an),open:k("This API command triggers the file browsing dialog to open.")},themeVars:hA(Pa.themeVars)},Y1=$(an,ZC,({node:A,state:e,updateState:t,extractValue:o,lookupEventHandler:r,registerComponentApi:n})=>{const a=o.asOptionalString(A.props.buttonIcon)||K1;return c.jsx(XC,{enabled:o.asOptionalBoolean(A.props.enabled),variant:o(A.props.buttonVariant),buttonThemeColor:o(A.props.buttonThemeColor),buttonSize:o(A.props.buttonSize),buttonIcon:c.jsx(vA,{name:a,fallback:"folder-open"}),buttonIconPosition:o(A.props.buttonIconPosition),buttonLabel:o.asOptionalString(A.props.buttonLabel),updateState:t,value:vu(e==null?void 0:e.value)?e==null?void 0:e.value:void 0,autoFocus:o.asOptionalBoolean(A.props.autoFocus),onDidChange:r("didChange"),onFocus:r("gotFocus"),onBlur:r("lostFocus"),validationStatus:o(A.props.validationStatus),registerComponentApi:n,multiple:o.asOptionalBoolean(A.props.multiple),directory:o.asOptionalBoolean(A.props.directory),placeholder:o.asOptionalString(A.props.placeholder),buttonPosition:o.asOptionalString(A.props.buttonPosition),initialValue:o(A.props.initialValue),acceptsFileType:o(A.props.acceptsFileType),label:o.asOptionalString(A.props.label),labelPosition:o(A.props.labelPosition),labelWidth:o.asOptionalString(A.props.labelWidth),labelBreak:o.asOptionalBoolean(A.props.labelBreak),required:o.asOptionalBoolean(A.props.required)})}),yu={themeVars:`'{"backgroundColor-FileUploadDropZone": "var(--xmlui-backgroundColor-FileUploadDropZone)", "textColor-FileUploadDropZone": "var(--xmlui-textColor-FileUploadDropZone)", "backgroundColor-dropping-FileUploadDropZone": "var(--xmlui-backgroundColor-dropping-FileUploadDropZone)", "opacity-dropping-FileUploadDropZone": "var(--xmlui-opacity-dropping-FileUploadDropZone)"}'`,wrapper:"_wrapper_15hp1_13",dropPlaceholder:"_dropPlaceholder_15hp1_21"},{useDropzone:j1}=ip,qn={onUpload:_x,uid:"fileUploadDialog",allowPaste:!0,text:"Drop files here",disabled:!1},_1=d.forwardRef(function({children:e,onUpload:t=qn.onUpload,uid:o=qn.uid,registerComponentApi:r,style:n,allowPaste:a=qn.allowPaste,text:i=qn.text,disabled:s=qn.disabled},l){const u=d.useCallback(async Q=>{Q.length&&(t==null||t(Q))},[t]),{getRootProps:g,getInputProps:p,isDragActive:B,open:C,inputRef:m}=j1({onDrop:u,noClick:!0,noKeyboard:!0,noDragEventsBubbling:!0,disabled:s}),h=OA(()=>{C()}),E=d.useCallback(Q=>{var I,w;if(a&&m.current&&(I=Q.clipboardData)!=null&&I.files){const b=((w=Q.clipboardData)==null?void 0:w.items)||[],v=[];for(let x=0;x<b.length;x++){const T=b[x];if(T.kind==="file"){const H=T.getAsFile();H!==null&&v.push(H)}}v.length>0&&(Q.stopPropagation(),Q.preventDefault(),m.current.files=Q.clipboardData.files,m.current.dispatchEvent(new Event("change",{bubbles:!0})))}},[a,m]);return d.useEffect(()=>{r({open:h})},[h,r,o]),c.jsxs("div",{...g(),style:n,className:yu.wrapper,onPaste:E,ref:l,children:[c.jsx("input",{...p()}),e,B&&c.jsxs("div",{className:yu.dropPlaceholder,children:[c.jsx(vA,{name:"upload"}),i]})]})}),W1="FileUploadDropZone",Am={status:"stable",description:"`FileUploadDropZone` enables users to upload files by dragging and dropping files from their local file system onto a designated area within the UI.",props:{text:{description:"With this property, you can change the default text to display when files are dragged over the drop zone.",defaultValue:qn.text,type:"string"},allowPaste:{description:"This property indicates if the drop zone accepts files pasted from the clipboard (`true`) or only dragged files (`false`).",type:"boolean",defaultValue:qn.allowPaste},enabled:k("If set to `false`, the drop zone will be disabled and users will not be able to upload files.",null,"boolean",!0)},events:{upload:k("This component accepts files for upload but does not perform the actual operation. It fires the `upload` event and passes the list files to upload in the method's argument. You can use the passed file information to implement the upload (according to the protocol your backend supports).")},themeVars:hA(yu.themeVars),defaultThemeVars:{"backgroundColor-FileUploadDropZone":"$backgroundColor","backgroundColor-dropping-FileUploadDropZone":"$backgroundColor--selected","opacity-dropping-FileUploadDropZone":"0.5","textColor-FileUploadDropZone":"$textColor",light:{},dark:{}}},$1=$(W1,Am,({node:A,extractValue:e,renderChild:t,lookupEventHandler:o,registerComponentApi:r,layoutCss:n})=>c.jsx(_1,{onUpload:o("upload"),uid:e(A.uid),registerComponentApi:r,style:n,allowPaste:e(A.props.allowPaste),text:e(A.props.text),disabled:!e.asOptionalBoolean(A.props.enabled,!0),children:t(A.children,{type:"Stack"})})),sn={themeVars:'"[]"',outer:"_outer_aarhe_13",flowContainer:"_flowContainer_aarhe_17",horizontal:"_horizontal_aarhe_21",flowItem:"_flowItem_aarhe_24",break:"_break_aarhe_47",forceBreak:"_forceBreak_aarhe_47",starSized:"_starSized_aarhe_47"},xu={},em=d.createContext({rowGap:0,columnGap:0,setNumberOfChildren:wA.noop}),tm=({force:A})=>c.jsx("div",{className:lA(sn.break,{[sn.forceBreak]:A})}),J1=d.forwardRef(function({children:e,forceBreak:t,...o},r){const{rowGap:n,columnGap:a,setNumberOfChildren:i}=d.useContext(em),{mediaSize:s}=je();be(()=>(i(x=>x+1),()=>{i(x=>x-1)}),[i]);const{root:l}=ne(),u=o.width||"100%",g=o.minWidth||void 0,p=o.maxWidth||void 0,{width:B=u,minWidth:C,maxWidth:m,flex:h}=d.useMemo(()=>Jp({width:u,maxWidth:p,minWidth:g},{type:"Stack",orientation:"horizontal"}).cssProps||{},[p,g,u]),E=d.useMemo(()=>{if(B&&typeof B=="string"&&B.startsWith("var(")){if(!xu[B]){const x=B.substring(4,B.length-1),T=getComputedStyle(l||document.body).getPropertyValue(x);xu[B]=T||u}return xu[B]}return B||u},[u,l,B]),Q=typeof E=="string"&&E.endsWith("%"),I=wk(a);let w;if(Q){const x=parseFloat(E);if(s.sizeIndex<=1){let T=x*4;T>50?w="100%":w=`min(${T}%, 100%)`}else if(s.sizeIndex<=2){let T=x*3;T>=50&&T<=75?w="50%":T>75?w="100%":w=`min(${T}%, 100%)`}else w=`min(${B}, 100%)`}else w=`min(calc(${B} + ${I}), 100%)`;const b={minWidth:C,maxWidth:m,width:w,paddingBottom:n,flex:h},v=h!==void 0;return v&&(b.width="100%",b.minWidth=C||"1px"),c.jsxs(c.Fragment,{children:[c.jsx("div",{style:{...b,paddingRight:I},className:lA(sn.flowItem,{[sn.starSized]:v}),ref:r,children:e}),v&&c.jsx(tm,{})]})}),om={columnGap:"$gap-normal",rowGap:"$gap-normal"},z1=d.forwardRef(function({style:e,columnGap:t=0,rowGap:o=0,children:r},n){const[a,i]=d.useState(0),s=a===1?0:t,l=Yp(o),u=Yp(s),g=d.useMemo(()=>({marginRight:`calc(-1 * ${u})`,marginBottom:`calc(-1 * ${l})`}),[u,l]),p=d.useMemo(()=>({rowGap:l,columnGap:u,setNumberOfChildren:i}),[u,l]);return c.jsx(em.Provider,{value:p,children:c.jsx("div",{style:e,ref:n,children:c.jsx("div",{className:sn.outer,children:c.jsx("div",{className:lA(sn.flowContainer,sn.horizontal),style:g,children:r})})})})}),ku="FlowLayout",rm={status:"stable",description:"`FlowLayout` positions content in rows with automatic wrapping. When items exceed the available horizontal space, they automatically wrap to a new line.",props:{gap:{description:`This property defines the gap between items in the same row and between rows. The ${ku} component creates a new row when an item is about to overflow the current row.`,type:"string",defaultValue:"$gap-normal"},columnGap:{description:"The `columnGap` property specifies the space between items in a single row; it overrides the `gap` value.",defaultValue:om.columnGap},rowGap:{description:`The \`rowGap\` property specifies the space between the ${ku} rows; it overrides the \`gap\` value.`,defaultValue:om.rowGap}},themeVars:hA(sn.themeVars)},q1=$(ku,rm,({node:A,renderChild:e,layoutCss:t,extractValue:o})=>{var a,i;if(!Jg(A.children))throw new ji;const r=o.asSize((a=A.props)==null?void 0:a.columnGap)||t.gap||o.asSize("$space-4"),n=o.asSize((i=A.props)==null?void 0:i.rowGap)||t.gap||o.asSize("$space-4");return c.jsx(z1,{style:t,columnGap:r,rowGap:n,children:e(A.children,{wrapChild:({node:s,extractValue:l},u,g)=>{var m,h,E;if(g!=null&&g.opaque)return u;if(s.type==="SpaceFiller")return c.jsx(tm,{force:!0});const p=l((m=s.props)==null?void 0:m.width),B=l((h=s.props)==null?void 0:h.minWidth),C=l((E=s.props)==null?void 0:E.maxWidth);return c.jsx(J1,{width:p,minWidth:B,maxWidth:C,forceBreak:s.type==="SpaceFiller",children:u})}})})}),Nl={themeVars:`'{"padding-Footer": "var(--xmlui-padding-Footer)", "paddingHorizontal-Footer": "var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer))", "paddingVertical-Footer": "var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer))", "paddingLeft-Footer": "var(--xmlui-paddingLeft-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingRight-Footer": "var(--xmlui-paddingRight-Footer, var(--xmlui-paddingHorizontal-Footer, var(--xmlui-padding-Footer)))", "paddingTop-Footer": "var(--xmlui-paddingTop-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "paddingBottom-Footer": "var(--xmlui-paddingBottom-Footer, var(--xmlui-paddingVertical-Footer, var(--xmlui-padding-Footer)))", "border-Footer": "var(--xmlui-border-Footer)", "borderHorizontal-Footer": "var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer))", "borderVertical-Footer": "var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer))", "borderLeft-Footer": "var(--xmlui-borderLeft-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderRight-Footer": "var(--xmlui-borderRight-Footer, var(--xmlui-borderHorizontal-Footer, var(--xmlui-border-Footer)))", "borderTop-Footer": "var(--xmlui-borderTop-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderBottom-Footer": "var(--xmlui-borderBottom-Footer, var(--xmlui-borderVertical-Footer, var(--xmlui-border-Footer)))", "borderWidth-Footer": "var(--xmlui-borderWidth-Footer)", "borderHorizontalWidth-Footer": "var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderLeftWidth-Footer": "var(--xmlui-borderLeftWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderRightWidth-Footer": "var(--xmlui-borderRightWidth-Footer, var(--xmlui-borderHorizontalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderVerticalWidth-Footer": "var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer))", "borderTopWidth-Footer": "var(--xmlui-borderTopWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderBottomWidth-Footer": "var(--xmlui-borderBottomWidth-Footer, var(--xmlui-borderVerticalWidth-Footer, var(--xmlui-borderWidth-Footer)))", "borderStyle-Footer": "var(--xmlui-borderStyle-Footer)", "borderHorizontalStyle-Footer": "var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderLeftStyle-Footer": "var(--xmlui-borderLeftStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderRightStyle-Footer": "var(--xmlui-borderRightStyle-Footer, var(--xmlui-borderHorizontalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderVerticalStyle-Footer": "var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer))", "borderTopStyle-Footer": "var(--xmlui-borderTopStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderBottomStyle-Footer": "var(--xmlui-borderBottomStyle-Footer, var(--xmlui-borderVerticalStyle-Footer, var(--xmlui-borderStyle-Footer)))", "borderColor-Footer": "var(--xmlui-borderColor-Footer)", "borderHorizontalColor-Footer": "var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer))", "borderLeftColor-Footer": "var(--xmlui-borderLeftColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderRightColor-Footer": "var(--xmlui-borderRightColor-Footer, var(--xmlui-borderHorizontalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderVerticalColor-Footer": "var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer))", "borderTopColor-Footer": "var(--xmlui-borderTopColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderBottomColor-Footer": "var(--xmlui-borderBottomColor-Footer, var(--xmlui-borderVerticalColor-Footer, var(--xmlui-borderColor-Footer)))", "borderStartStartRadius-Footer": "var(--xmlui-borderStartStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderStartEndRadius-Footer": "var(--xmlui-borderStartEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndStartRadius-Footer": "var(--xmlui-borderEndStartRadius-Footer, var(--xmlui-borderRadius-Footer))", "borderEndEndRadius-Footer": "var(--xmlui-borderEndEndRadius-Footer, var(--xmlui-borderRadius-Footer))", "backgroundColor-Footer": "var(--xmlui-backgroundColor-Footer)", "textColor-Footer": "var(--xmlui-textColor-Footer)", "height-Footer": "var(--xmlui-height-Footer)", "fontSize-Footer": "var(--xmlui-fontSize-Footer)", "verticalAlignment-Footer": "var(--xmlui-verticalAlignment-Footer)", "maxWidth-content-Footer": "var(--xmlui-maxWidth-content-Footer)", "gap-Footer": "var(--xmlui-gap-Footer)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "margin-Footer": "var(--xmlui-margin-Footer)"}'`,outerWrapper:"_outerWrapper_1i6n3_13",wrapper:"_wrapper_1i6n3_38",full:"_full_1i6n3_56"},V1=d.forwardRef(function({children:e,style:t,className:o},r){const{layout:n}=La()||{},a=n!=="vertical-full-header";return c.jsx("div",{className:Nl.outerWrapper,ref:r,style:t,children:c.jsx("div",{className:lA(Nl.wrapper,o,{[Nl.full]:!a}),children:e})})}),Cr="Footer",nm={status:"stable",description:"`Footer` provides a designated area at the bottom of your application for footer content such as branding, copyright notices, or utility controls like theme toggles.",themeVars:hA(Nl.themeVars),limitThemeVarsToComponent:!0,defaultThemeVars:{[`backgroundColor-${Cr}`]:"$backgroundColor-AppHeader",[`verticalAlignment-${Cr}`]:"center",[`fontSize-${Cr}`]:"$fontSize-small",[`textColor-${Cr}`]:"$textColor-secondary",[`maxWidth-content-${Cr}`]:"$maxWidth-content",[`borderTop-${Cr}`]:"1px solid $borderColor",[`padding-${Cr}`]:"$space-2 $space-4",[`gap-${Cr}`]:"$space-normal",[`margin-${Cr}`]:"0 auto",light:{},dark:{}}},X1=$(Cr,nm,({node:A,renderChild:e,layoutCss:t,layoutContext:o})=>c.jsx(V1,{style:t,className:o==null?void 0:o.themeClassName,children:e(A.children,{type:"Stack",orientation:"horizontal"})})),Su={themeVars:`'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`,wrapper:"_wrapper_wscb6_13",buttonRow:"_buttonRow_wscb6_19"},am="__UNBOUND_FIELD__";var qt=(A=>(A.FIELD_LOST_FOCUS="FormActionKind:FIELD_LOST_FOCUS",A.FIELD_VALUE_CHANGED="FormActionKind:FIELD_VALUE_CHANGED",A.FIELD_FOCUSED="FormActionKind:FIELD_FOCUSED",A.FIELD_VALIDATED="FormActionKind:FIELD_VALIDATED",A.FIELD_INITIALIZED="FormActionKind:FIELD_INITIALIZED",A.FIELD_REMOVED="FormActionKind:FIELD_REMOVED",A.TRIED_TO_SUBMIT="FormActionKind:TRIED_TO_SUBMIT",A.BACKEND_VALIDATION_ARRIVED="FormActionKind:BACKEND_VALIDATION_ARRIVED",A.SUBMITTING="FormActionKind:SUBMITTING",A.SUBMITTED="FormActionKind:SUBMITTED",A.RESET="FormActionKind:RESET",A))(qt||{});function Z1(A,e,t=!1){return{type:"FormActionKind:FIELD_INITIALIZED",payload:{uid:A,value:e,force:t}}}function im(A,e){return{type:"FormActionKind:FIELD_VALUE_CHANGED",payload:{uid:A,value:e}}}function AS(A){return{type:"FormActionKind:FIELD_FOCUSED",payload:{uid:A}}}function eS(A){return{type:"FormActionKind:FIELD_LOST_FOCUS",payload:{uid:A}}}function sm(A,e){return{type:"FormActionKind:FIELD_VALIDATED",payload:{uid:A,validationResult:e}}}function tS(A){return{type:"FormActionKind:FIELD_REMOVED",payload:{uid:A}}}function oS(){return{type:"FormActionKind:TRIED_TO_SUBMIT",payload:{}}}function rS(){return{type:"FormActionKind:SUBMITTING",payload:{}}}function nS(){return{type:"FormActionKind:SUBMITTED",payload:{}}}function aS(A){return{type:"FormActionKind:RESET",payload:{originalSubject:A}}}function iS({generalValidationResults:A=[],fieldValidationResults:e={}}){return{type:"FormActionKind:BACKEND_VALIDATION_ARRIVED",payload:{generalValidationResults:A,fieldValidationResults:e}}}const $o={themeVars:`'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`,overlay:"_overlay_1svyq_13",fullScreen:"_fullScreen_1svyq_22",content:"_content_1svyq_28",overlayBg:"_overlayBg_1svyq_37",nested:"_nested_1svyq_43",dialogTitle:"_dialogTitle_1svyq_81",innerContent:"_innerContent_1svyq_87",closeButton:"_closeButton_1svyq_114"},lm=d.createContext(null),sS=()=>{const A=d.useId(),{registerForm:e,unRegisterForm:t,requestClose:o,amITheSingleForm:r}=d.useContext(lm)||{};return d.useEffect(()=>{if(e)return e(A),()=>{t==null||t(A)}},[A,e,t]),d.useCallback(()=>{if(o&&r(A))return o()},[r,A,o])},Fl={fullScreen:!1,closeButtonVisible:!0},cm=d.forwardRef(({isInitiallyOpen:A,onOpen:e,onClose:t,registerComponentApi:o,renderDialog:r},n)=>{const a=um(A,e,t),{doOpen:i,doClose:s,isOpen:l,openParams:u}=a;return d.useEffect(()=>{o==null||o({open:i,close:s})},[s,i,o]),l?c.jsx(gm.Provider,{value:a,children:r({openParams:u,ref:n})}):null});cm.displayName="ModalDialogFrame";const gm=d.createContext(null);function um(A,e,t){const[o,r]=d.useState(A),n=d.useRef(!1),[a,i]=d.useState(null),s=OA((...u)=>{i(u),e==null||e(),r(!0)}),l=OA(async()=>{if(!n.current)try{if(n.current=!0,await(t==null?void 0:t())===!1)return}finally{n.current=!1}r(!1)});return d.useMemo(()=>({isOpen:o,doClose:l,doOpen:s,openParams:a}),[l,s,o,a])}function lS(A=!0,e,t){const o=d.useContext(gm),r=um(A,e,t);return o||r}const Pl=d.forwardRef(({children:A,style:e,isInitiallyOpen:t,fullScreen:o=Fl.fullScreen,title:r,closeButtonVisible:n=Fl.closeButtonVisible,onOpen:a,onClose:i},s)=>{const{root:l}=ne(),u=typeof ShadowRoot<"u"&&(l==null?void 0:l.getRootNode())instanceof ShadowRoot,g=d.useRef(null),p=s?Et(s,g):g,{isOpen:B,doClose:C,doOpen:m}=lS(t,a,i);d.useEffect(()=>{var I;B&&((I=g.current)==null||I.focus())},[B]),d.useEffect(()=>{if(B){const I=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout(I)}else document.body.style.pointerEvents="auto"},[B]);const h=d.useRef(new Set),E=d.useMemo(()=>({registerForm:I=>{h.current.add(I)},unRegisterForm:I=>{h.current.delete(I)},amITheSingleForm:I=>h.current.size===1&&h.current.has(I),requestClose:()=>C()}),[C]);if(!l)return null;const Q=c.jsxs(Oe.Content,{className:lA($o.content),onPointerDownOutside:I=>{I.target instanceof Element&&I.target.closest("._debug-inspect-button")!==null&&I.preventDefault()},ref:p,style:{...e,gap:void 0},children:[!!r&&c.jsx(Oe.Title,{style:{marginTop:0},children:c.jsx("header",{id:"dialogTitle",className:$o.dialogTitle,children:r})}),c.jsx("div",{className:$o.innerContent,style:{gap:e==null?void 0:e.gap},children:c.jsx(lm.Provider,{value:E,children:A})}),n&&c.jsx(Oe.Close,{asChild:!0,children:c.jsx(ae,{variant:"ghost",themeColor:"secondary",className:$o.closeButton,"aria-label":"Close",icon:c.jsx(vA,{name:"close",size:"sm"}),orientation:"vertical"})})]});return c.jsx(Oe.Root,{open:B,onOpenChange:I=>I?m():C(),children:c.jsxs(Oe.Portal,{container:l,children:[u&&c.jsx("div",{className:lA($o.overlayBg,$o.nested,{[$o.fullScreen]:o}),children:Q}),!u&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:lA($o.overlayBg)}),c.jsx(Oe.Overlay,{className:lA($o.overlay,{[$o.fullScreen]:o}),children:Q})]})]})})});Pl.displayName="ModalDialog";const dm=new Set,Vt=new WeakMap,Ga=new WeakMap,Vn=new WeakMap,Hu=new WeakMap,cS=new WeakMap,Oa=new WeakMap,Gl=new WeakMap,Zi=new WeakSet;let Xn;const Or="__aa_tgt",Mu="__aa_del",gS=A=>{const e=CS(A);e&&e.forEach(t=>mS(t))},uS=A=>{A.forEach(e=>{e.target===Xn&&BS(),Vt.has(e.target)&&Zn(e.target)})};function dS(A){const e=Hu.get(A);e==null||e.disconnect();let t=Vt.get(A),o=0;const r=5;t||(t=Ua(A),Vt.set(A,t));const{offsetWidth:n,offsetHeight:a}=Xn,s=[t.top-r,n-(t.left+r+t.width),a-(t.top+r+t.height),t.left-r].map(u=>`${-1*Math.floor(u)}px`).join(" "),l=new IntersectionObserver(()=>{++o>1&&Zn(A)},{root:Xn,threshold:1,rootMargin:s});l.observe(A),Hu.set(A,l)}function Zn(A){clearTimeout(Gl.get(A));const e=Ol(A),t=typeof e=="function"?500:e.duration;Gl.set(A,setTimeout(async()=>{const o=Vn.get(A);try{await(o==null?void 0:o.finished),Vt.set(A,Ua(A)),dS(A)}catch{}},t))}function BS(){clearTimeout(Gl.get(Xn)),Gl.set(Xn,setTimeout(()=>{dm.forEach(A=>mm(A,e=>Bm(()=>Zn(e))))},100))}function pS(A){setTimeout(()=>{cS.set(A,setInterval(()=>Bm(Zn.bind(null,A)),2e3))},Math.round(2e3*Math.random()))}function Bm(A){typeof requestIdleCallback=="function"?requestIdleCallback(()=>A()):requestAnimationFrame(()=>A())}let Tu,Ra;typeof window<"u"&&(Xn=document.documentElement,Tu=new MutationObserver(gS),Ra=new ResizeObserver(uS),Ra.observe(Xn));function CS(A){return A.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:A.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(Lu(r.target),!o.has(r.target)){o.add(r.target);for(let n=0;n<r.target.children.length;n++){const a=r.target.children.item(n);if(a){if(Mu in a)return!1;Lu(r.target,a),o.add(a)}}}if(r.removedNodes.length)for(let n=0;n<r.removedNodes.length;n++){const a=r.removedNodes[n];if(Mu in a)return!1;a instanceof Element&&(o.add(a),Lu(r.target,a),Ga.set(a,[r.previousSibling,r.nextSibling]))}}return o},new Set)}function Lu(A,e){!e&&!(Or in A)?Object.defineProperty(A,Or,{value:A}):e&&!(Or in e)&&Object.defineProperty(e,Or,{value:A})}function mS(A){var e;const t=A.isConnected,o=Vt.has(A);t&&Ga.has(A)&&Ga.delete(A),Vn.has(A)&&((e=Vn.get(A))===null||e===void 0||e.cancel()),o&&t?QS(A):o&&!t?IS(A):ES(A)}function mr(A){return Number(A.replace(/[^0-9.\-]/g,""))}function hS(A){let e=A.parentElement;for(;e;){if(e.scrollLeft||e.scrollTop)return{x:e.scrollLeft,y:e.scrollTop};e=e.parentElement}return{x:0,y:0}}function Ua(A){const e=A.getBoundingClientRect(),{x:t,y:o}=hS(A);return{top:e.top+o,left:e.left+t,width:e.width,height:e.height}}function pm(A,e,t){let o=e.width,r=e.height,n=t.width,a=t.height;const i=getComputedStyle(A);if(i.getPropertyValue("box-sizing")==="content-box"){const l=mr(i.paddingTop)+mr(i.paddingBottom)+mr(i.borderTopWidth)+mr(i.borderBottomWidth),u=mr(i.paddingLeft)+mr(i.paddingRight)+mr(i.borderRightWidth)+mr(i.borderLeftWidth);o-=u,n-=u,r-=l,a-=l}return[o,n,r,a].map(Math.round)}function Ol(A){return Or in A&&Oa.has(A[Or])?Oa.get(A[Or]):{duration:250,easing:"ease-in-out"}}function Cm(A){if(Or in A)return A[Or]}function Nu(A){const e=Cm(A);return e?Zi.has(e):!1}function mm(A,...e){e.forEach(t=>t(A,Oa.has(A)));for(let t=0;t<A.children.length;t++){const o=A.children.item(t);o&&e.forEach(r=>r(o,Oa.has(o)))}}function QS(A){const e=Vt.get(A),t=Ua(A);if(!Nu(A))return Vt.set(A,t);let o;if(!e)return;const r=Ol(A);if(typeof r!="function"){const n=e.left-t.left,a=e.top-t.top,[i,s,l,u]=pm(A,e,t),g={transform:`translate(${n}px, ${a}px)`},p={transform:"translate(0, 0)"};i!==s&&(g.width=`${i}px`,p.width=`${s}px`),l!==u&&(g.height=`${l}px`,p.height=`${u}px`),o=A.animate([g,p],{duration:r.duration,easing:r.easing})}else o=new Animation(r(A,"remain",e,t)),o.play();Vn.set(A,o),Vt.set(A,t),o.addEventListener("finish",Zn.bind(null,A))}function ES(A){const e=Ua(A);Vt.set(A,e);const t=Ol(A);if(!Nu(A))return;let o;typeof t!="function"?o=A.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"}):(o=new Animation(t(A,"add",e)),o.play()),Vn.set(A,o),o.addEventListener("finish",Zn.bind(null,A))}function IS(A){var e;if(!Ga.has(A)||!Vt.has(A))return;const[t,o]=Ga.get(A);Object.defineProperty(A,Mu,{value:!0}),o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(A,o):t&&t.parentNode?t.parentNode.appendChild(A):(e=Cm(A))===null||e===void 0||e.appendChild(A);function r(){var p;A.remove(),Vt.delete(A),Ga.delete(A),Vn.delete(A),(p=Hu.get(A))===null||p===void 0||p.disconnect()}if(!Nu(A))return r();const[n,a,i,s]=wS(A),l=Ol(A),u=Vt.get(A);let g;Object.assign(A.style,{position:"absolute",top:`${n}px`,left:`${a}px`,width:`${i}px`,height:`${s}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof l!="function"?g=A.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"}):(g=new Animation(l(A,"remove",u)),g.play()),Vn.set(A,g),g.addEventListener("finish",r)}function wS(A){const e=Vt.get(A),[t,,o]=pm(A,e,Ua(A));let r=A.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const n=getComputedStyle(r),a=Vt.get(r)||Ua(r),i=Math.round(e.top-a.top)-mr(n.borderTopWidth),s=Math.round(e.left-a.left)-mr(n.borderLeftWidth);return[i,s,t,o]}function fS(A,e={}){return Tu&&Ra&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof e!="function"&&!e.disrespectUserMotionPreference||(Zi.add(A),getComputedStyle(A).position==="static"&&Object.assign(A.style,{position:"relative"}),mm(A,Zn,pS,r=>Ra==null?void 0:Ra.observe(r)),typeof e=="function"?Oa.set(A,e):Oa.set(A,{duration:250,easing:"ease-in-out",...e}),Tu.observe(A,{childList:!0}),dm.add(A))),Object.freeze({parent:A,enable:()=>{Zi.add(A)},disable:()=>{Zi.delete(A)},isEnabled:()=>Zi.has(A)})}function Fu(A){const[e,t]=d.useState();return[d.useCallback(n=>{n instanceof HTMLElement?t(fS(n,A)):t(void 0)},[]),n=>{e&&(n?e.enable():e.disable())}]}const ln={summaryContainer:"_summaryContainer_1sc6r_13",validationContainer:"_validationContainer_1sc6r_22",error:"_error_1sc6r_52",heading:"_heading_1sc6r_58",warning:"_warning_1sc6r_62",info:"_info_1sc6r_72",valid:"_valid_1sc6r_22"},hm={themeVars:'"[]"',spacer:"_spacer_1414d_13"},Qm=()=>c.jsx("div",{className:hm.spacer}),Em={fieldValidationResults:jA,generalValidationResults:Ae};function Im({fieldValidationResults:A=Em.fieldValidationResults,generalValidationResults:e=Em.generalValidationResults}){const[t]=Fu({duration:100}),o=d.useMemo(()=>{const r={};return Object.entries(A).forEach(([n,a])=>{a.validations.forEach(i=>{i.isValid||(r[i.severity]=r[i.severity]||[],r[i.severity].push({field:n,message:i.invalidMessage||""}))})}),e.forEach(n=>{r[n.severity]=r[n.severity]||[],r[n.severity].push({message:n.invalidMessage||""})}),r},[A,e]);return c.jsxs("div",{ref:t,className:ln.summaryContainer,"data-validation-summary":!0,children:[c.jsx(wm,{issues:o.warning,severity:"warning",heading:"Validation warnings"}),c.jsx(wm,{issues:o.error,severity:"error",heading:"Validation errors"})]})}const wm=({heading:A,issues:e=Ae,severity:t="error",onClose:o})=>{const[r]=Fu({duration:100});return e.length===0?null:c.jsxs("div",{className:lA(ln.validationContainer,{[ln.valid]:t==="valid",[ln.info]:t==="info",[ln.warning]:t==="warning",[ln.error]:t==="error"}),style:{paddingTop:o?void 0:"0.5rem"},"data-validation-display-severity":t,children:[c.jsxs(xa,{orientation:"horizontal",verticalAlignment:"center",style:{gap:"0.5rem"},children:[c.jsx(vA,{className:ln.heading,name:t,size:"md"}),c.jsx("div",{className:ln.heading,children:c.jsx(VA,{children:A})}),!!o&&c.jsxs(c.Fragment,{children:[c.jsx(Qm,{}),c.jsx(ae,{onClick:o,variant:"ghost",themeColor:"secondary",icon:c.jsx(vA,{name:"close",size:"sm"}),orientation:"vertical"})]})]}),c.jsx("ul",{ref:r,children:e.map((n,a)=>c.jsx(bS,{issue:n},a))})]})},bS=({issue:A})=>{const{field:e,message:t}=A;return c.jsx("li",{children:c.jsxs("span",{style:{display:"inline-flex",gap:e?"0.25rem":void 0},children:[e&&c.jsx(VA,{variant:"small",fontWeight:"bold",children:`${e}:`}),c.jsx(VA,{variant:"small",preserveLinebreaks:!0,children:t})]})})},DS=["error","warning","valid","none"],fm="errorLate",vS=[{value:"errorLate",description:"Display the error when the field loses focus.If an error is already displayed, continue for every keystroke until input is accepted."},{value:"onChanged",description:"Display error (if present) for every keystroke."},{value:"onLostFocus",description:"Show/hide error (if present) only if the field loses focus."}],bm=Rn.createContext(void 0);function vo(A){return Rn.useContextSelector(bm,A)}const yS=[{value:"text",description:"Renders TextBox"},{value:"password",description:"Renders TextBox with `password` type"},{value:"textarea",description:"Renders Textarea"},{value:"checkbox",description:"Renders Checkbox"},{value:"number",description:"Renders NumberBox"},{value:"integer",description:"Renders NumberBox with `integersOnly` set to true"},{value:"file",description:"Renders FileInput"},{value:"datePicker",description:"Renders DatePicker"},{value:"radioGroup",description:"Renders RadioGroup"},{value:"switch",description:"Renders Switch"},{value:"select",description:"Renders Select"},{value:"autocomplete",description:"Renders AutoComplete"},{value:"slider",description:"Renders Slider"},{value:"colorpicker",description:"Renders ColorPicker"},{value:"items",description:"Renders Items"},{value:"custom",description:"A custom control specified in children. If `type` is not specified but the `FormItem` has children, it considers the control a custom one."}];function xS(A){return A==null||A===""?!0:typeof A=="string"?A.trim().length===0:wA.isEmpty(A)}function Dm(A="",e){return typeof A=="string"?A.length>=e:(console.warn("minLength can only be used on strings"),!0)}function vm(A="",e){return typeof A=="string"?A.length<=e:(console.warn("maxLength can only be used on strings"),!0)}function Pu(A="",e){return typeof A!="string"&&!wA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)>=e}function Gu(A="",e){return typeof A!="string"&&!wA.isNumber(A)&&console.warn("Range can only be used on strings and numbers"),Number(A)<=e}function kS(A="",e){if(typeof A=="string")return t(e).test(A);return console.warn("Regex can only be used on strings"),!0;function t(o){const r=o.match(/^([/~@;%#'])(.*?)\1([gimsuy]*)$/);return r?new RegExp(r[2],r[3]):new RegExp(o)}}class ym{constructor(e,t,o){this.validations=e,this.onValidate=t,this.value=o,this.preValidate=()=>{const r=this.validateRequired();let n=[r];return(!r||r.isValid)&&n.push(this.validateLength(),this.validateRange(),this.validatePattern(),this.validateRegex()),n=n.filter(a=>a!==void 0),{isValid:n.find(a=>!a.isValid)===void 0,validatedValue:this.value,partial:this.onValidate!==void 0,validations:n}},this.validate=async()=>{const r=this.preValidate(),n=await this.validateCustom()||[];return r.validations.push(...n.map(a=>({...a,async:!0}))),{isValid:r.validations.find(a=>!a.isValid)===void 0,validatedValue:this.value,partial:!1,validations:r.validations}}}validateRequired(){const{required:e,requiredInvalidMessage:t}=this.validations;if(e)return{isValid:!xS(this.value),invalidMessage:t||"This field is required",severity:"error"}}validateLength(){const{minLength:e,maxLength:t,lengthInvalidMessage:o,lengthInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:Dm(this.value,e),invalidMessage:o||`Input should be at least ${e} ${km(e,"character")}`,severity:r}:e===void 0&&t!==void 0?{isValid:vm(this.value,t),invalidMessage:o||`Input should be up to ${t} ${km(t,"character")}`,severity:r}:{isValid:Dm(this.value,e)&&vm(this.value,t),invalidMessage:o||`Input length should be between ${e} and ${t}`,severity:r}}validateRange(){const{minValue:e,maxValue:t,rangeInvalidMessage:o,rangeInvalidSeverity:r="error"}=this.validations;if(!(e===void 0&&t===void 0))return e!==void 0&&t===void 0?{isValid:Pu(this.value,e),invalidMessage:o||`Input should be bigger than ${e}`,severity:r}:e===void 0&&t!==void 0?{isValid:Gu(this.value,t),invalidMessage:o||`Input should be smaller than ${t}`,severity:r}:typeof this.value=="object"&&Array.isArray(this.value)?{isValid:this.value.every(a=>Pu(a,e)&&Gu(a,t)),invalidMessage:o||`All inputs should be between ${e} and ${t}`,severity:r}:{isValid:Pu(this.value,e)&&Gu(this.value,t),invalidMessage:o||`Input should be between ${e} and ${t}`,severity:r}}validatePattern(){const{pattern:e,patternInvalidMessage:t,patternInvalidSeverity:o="error"}=this.validations;if(e)switch(e.toLowerCase()){case"email":return{isValid:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(this.value),invalidMessage:t||"Not a valid email address",severity:o};case"phone":return{isValid:/^[a-zA-Z0-9#*)(+.\-_&']+$/g.test(this.value),invalidMessage:t||"Not a valid phone number",severity:o};case"url":let r;try{r=new URL(this.value)}catch{}return!r||r.protocol&&!["http:","https:"].includes(r.protocol)?{isValid:!1,invalidMessage:"Not a valid URL",severity:o}:{isValid:!0,severity:"valid"};default:return console.warn("Unknown pattern provided"),{isValid:!0,severity:"valid"}}}validateRegex(){const{regex:e,regexInvalidMessage:t,regexInvalidSeverity:o="error"}=this.validations;if(e!==void 0)return{isValid:kS(this.value,e),invalidMessage:t||"Input is not in the correct format",severity:o}}async validateCustom(){if(!this.onValidate)return;const e=await this.onValidate(this.value);return typeof e=="boolean"?[{isValid:e,invalidMessage:"Invalid input",severity:"error"}]:wA.isArray(e)?e:[e]}}async function xm(A,e,t){return await new ym(A,e,t).validate()}function SS(A,e,t,o,r,n=0){const a=d.useDeferredValue(t),i=d.useMemo(()=>n!==0?jx(xm,n,{trailing:!0,leading:!0}):xm,[n]);d.useEffect(function(){const l=new ym(A,e,a);let u=!1;const g=l.preValidate();return u||(o(sm(r,g)),g.partial&&(async()=>{const p=await i(A,e,a);u||o(sm(r,p))})()),()=>{u=!0}},[r,a,o,e,i,A])}function HS(A,e,t,o=fm){const r=vo(E=>E.interactionFlags[A])||jA,n=r.forceShowValidationResult,a=r.focused,i=r.isValidLostFocus,s=r.isValidOnFocus,l=r.invalidToValid,u=!t||t.validatedValue!==e,g=r.isDirty,p=(t==null?void 0:t.isValid)===!0;let B="none";for(const E of(t==null?void 0:t.validations)||[])if(!E.isValid&&(B!=="error"&&E.severity==="warning"&&(B="warning"),E.severity==="error")){B="error";break}let C=!1;switch(o){case"errorLate":C=g&&(a?!l&&!s:!i);break;case"onChanged":C=g;break;case"onLostFocus":C=g&&(!a&&!p||!i&&!p)}C=C||n;const[m,h]=d.useState(C);return m!==C&&!u&&h(C),u&&(C=m),{isHelperTextShown:C,validationStatus:C?B:"none"}}function Rl(A){if(A!==void 0)return A==="error"||A==="warning"||A==="valid"||A==="none"?A:"none"}function MS(A){const e={error:[],warning:[],valid:[],none:[]};return Object.entries(A).forEach(([t,o])=>{o.validations.forEach(r=>{r.isValid||(e[r.severity]=e[r.severity]||[],e[r.severity].push(r))})}),e}function km(A,e){return A===1?e:e+"s"}const Ou=(A,e)=>wA.get(A,e),TS=he((A,e)=>{var o,r,n,a;const{uid:t}=e.payload;switch(t!==void 0&&!A.interactionFlags[t]&&(A.interactionFlags[t]={isDirty:!1,invalidToValid:!1,isValidOnFocus:!1,isValidLostFocus:!1,focused:!1,forceShowValidationResult:!1}),e.type){case qt.FIELD_INITIALIZED:{(!A.interactionFlags[t].isDirty||e.payload.force)&&wA.set(A.subject,t,e.payload.value);break}case qt.FIELD_REMOVED:{delete A.validationResults[t],delete A.interactionFlags[t];break}case qt.FIELD_VALUE_CHANGED:{wA.set(A.subject,t,e.payload.value),A.interactionFlags[t].isDirty=!0,A.interactionFlags[t].forceShowValidationResult=!1;break}case qt.FIELD_VALIDATED:{if(e.payload.validationResult.validations.length===0){delete A.validationResults[t];break}const i=(o=A.validationResults[t])==null?void 0:o.isValid;if(e.payload.validationResult.partial){const s=[...e.payload.validationResult.validations,...(((r=A.validationResults[t])==null?void 0:r.validations.filter(l=>l.async))||[]).map(l=>({...l,stale:!0}))];A.validationResults[t]={...e.payload.validationResult,isValid:s.find(l=>!l.isValid)===void 0,validations:s}}else A.validationResults[t]=e.payload.validationResult;A.interactionFlags[t].invalidToValid=!i&&A.validationResults[t].isValid;break}case qt.FIELD_FOCUSED:{A.interactionFlags[t].isValidOnFocus=!!((n=A.validationResults[t])!=null&&n.isValid),A.interactionFlags[t].focused=!0;break}case qt.FIELD_LOST_FOCUS:{A.interactionFlags[t].isValidLostFocus=!!((a=A.validationResults[t])!=null&&a.isValid),A.interactionFlags[t].focused=!1;break}case qt.TRIED_TO_SUBMIT:{Object.keys(A.interactionFlags).forEach(i=>{A.interactionFlags[i].forceShowValidationResult=!0});break}case qt.SUBMITTING:{A.submitInProgress=!0;break}case qt.SUBMITTED:{A.submitInProgress=!1,A.generalValidationResults=[],A.interactionFlags={},Object.keys(A.validationResults).forEach(i=>{var s;A.validationResults[i].validations=(s=A.validationResults[i].validations)==null?void 0:s.filter(l=>!l.fromBackend),A.validationResults[i].isValid=A.validationResults[i].validations.find(l=>!l.isValid)===void 0});break}case qt.BACKEND_VALIDATION_ARRIVED:{A.submitInProgress=!1,A.generalValidationResults=e.payload.generalValidationResults,Object.keys(A.validationResults).forEach(i=>{var s;A.validationResults[i].validations=(s=A.validationResults[i].validations)==null?void 0:s.filter(l=>!l.fromBackend)}),Object.entries(e.payload.fieldValidationResults).forEach(([i,s])=>{var l;A.validationResults[i]||(A.validationResults[i]={isValid:!1,validations:[],partial:!1,validatedValue:A.subject[i]}),A.validationResults[i].validations=[...((l=A.validationResults[i])==null?void 0:l.validations)||[],...s||[]],A.validationResults[i].isValid=A.validationResults[i].validations.find(u=>!u.isValid)===void 0});break}case qt.RESET:{const{originalSubject:i}=e.payload;return{...Sm,subject:i,resetVersion:(A.resetVersion??0)+1}}}}),Sm={subject:{},validationResults:{},generalValidationResults:[],interactionFlags:{},submitInProgress:!1,resetVersion:0},Co={cancelLabel:"Cancel",saveLabel:"Save",saveInProgressLabel:"Saving...",itemLabelPosition:"top",itemLabelBreak:!0,keepModalOpenOnSubmit:!1,swapCancelAndSave:!1};function Hm(A){return Object.entries(A||{}).reduce((e,[t,o])=>(t.endsWith(am)||(e[t]=o),e),{})}const Mm=d.forwardRef(function({formState:A,dispatch:e,initialValue:t=jA,children:o,style:r,enabled:n=!0,cancelLabel:a=Co.cancelLabel,saveLabel:i=Co.saveLabel,saveInProgressLabel:s=Co.saveInProgressLabel,swapCancelAndSave:l,onSubmit:u,onCancel:g,onReset:p,onSuccess:B,buttonRow:C,id:m,registerComponentApi:h,itemLabelBreak:E=Co.itemLabelBreak,itemLabelWidth:Q,itemLabelPosition:I=Co.itemLabelPosition,keepModalOpenOnSubmit:w=Co.keepModalOpenOnSubmit},b){const v=d.useRef(null);d.useImperativeHandle(b,()=>v.current);const[x,T]=d.useState(!1),H=sS(),P=n&&!A.submitInProgress,f=d.useMemo(()=>({itemLabelBreak:E,itemLabelWidth:Q,itemLabelPosition:I,subject:A.subject,originalSubject:t,validationResults:A.validationResults,interactionFlags:A.interactionFlags,dispatch:e,enabled:P}),[e,A.interactionFlags,A.subject,A.validationResults,t,P,E,I,Q]),y=OA(()=>{g==null||g(),H()}),L=OA(async U=>{var z;if(U==null||U.preventDefault(),!P)return;T(!1),e(oS());const{error:j,warning:_}=MS(Object.values(A.validationResults));if(j.length)return;if(_.length&&!x){T(!0);return}const Z=document.activeElement;e(rS());try{const O=Hm(A.subject),Y=await(u==null?void 0:u(O,{passAsDefaultBody:!0}));e(nS()),await(B==null?void 0:B(Y)),w||H(),t===jA&&fa.flushSync(()=>{F()}),Z&&typeof Z.focus=="function"&&Z.focus()}catch(O){const Y=[],q={};O instanceof Error&&"errorCategory"in O&&O.errorCategory==="GenericBackendError"&&((z=O.details)!=null&&z.issues)&&Array.isArray(O.details.issues)?O.details.issues.forEach(eA=>{const AA={isValid:!1,invalidMessage:eA.message,severity:eA.severity||"error",fromBackend:!0};eA.field!==void 0?(q[eA.field]=q[eA.field]||[],q[eA.field].push(AA)):Y.push(AA)}):Y.push({isValid:!1,invalidMessage:O.message||"Couldn't save the form.",severity:"error",fromBackend:!0}),e(iS({generalValidationResults:Y,fieldValidationResults:q}))}}),F=OA(()=>{e(aS(t)),p==null||p()}),S=OA(U=>{typeof U!="object"||U===null||U===void 0||Object.entries(U).forEach(([j,_])=>{e({type:qt.FIELD_VALUE_CHANGED,payload:{uid:j,value:_}})})}),J=a===""?null:c.jsx(ae,{type:"button",themeColor:"secondary",variant:"ghost",onClick:y,children:a},"cancel"),R=d.useMemo(()=>c.jsx(ae,{type:"submit",disabled:!P,children:A.submitInProgress?s:i},"submit"),[P,A.submitInProgress,s,i]);return d.useEffect(()=>{h==null||h({reset:F,update:S})},[F,S,h]),c.jsxs(c.Fragment,{children:[c.jsxs("form",{style:r,className:Su.wrapper,onSubmit:L,onReset:F,id:m,ref:v,children:[c.jsx(Im,{generalValidationResults:A.generalValidationResults}),c.jsx(bm.Provider,{value:f,children:o}),C||c.jsxs("div",{className:Su.buttonRow,children:[l&&[R,J],!l&&[J,R]]})]},A.resetVersion),x&&c.jsx(Pl,{onClose:()=>T(!1),isInitiallyOpen:!0,title:"Are you sure want to move forward?",children:c.jsxs(xa,{orientation:"vertical",style:{gap:"0.5rem"},children:[c.jsx(VA,{children:"The following warnings were found during validation. Please make sure you are willing to move forward despite these issues."}),c.jsx(Im,{generalValidationResults:A.generalValidationResults,fieldValidationResults:A.validationResults}),c.jsxs(xa,{orientation:"horizontal",horizontalAlignment:"end",style:{gap:"1em"},children:[c.jsx(ae,{variant:"ghost",themeColor:"secondary",onClick:()=>T(!1),children:"No"}),c.jsx(ae,{onClick:()=>L(),autoFocus:!0,children:"Yes, proceed"})]})]})})]})});Mm.displayName="Form";function LS({node:A,renderChild:e,extractValue:t,style:o,lookupEventHandler:r,registerComponentApi:n}){const[a,i]=d.useReducer(TS,Sm),s=d.useMemo(()=>{const h=E=>{typeof E!="object"||E===null||E===void 0||Object.entries(E).forEach(([Q,I])=>{i({type:qt.FIELD_VALUE_CHANGED,payload:{uid:Q,value:I}})})};return{...Hm(a.subject),update:h}},[a.subject]),l=d.useMemo(()=>({type:"Fragment",vars:{$data:s},children:A.children}),[s,A.children]),u=t(A.props.data),g=t.asOptionalString(A.props.submitMethod)||(u?"put":"post"),p=t.asOptionalString(A.props.inProgressNotificationMessage)||"",B=t.asOptionalString(A.props.completedNotificationMessage)||"",C=t.asOptionalString(A.props.errorNotificationMessage)||"",m=t.asOptionalString(A.props.submitUrl)||t.asOptionalString(A.props._data_url);return c.jsx(Mm,{keepModalOpenOnSubmit:t.asOptionalBoolean(A.props.keepModalOpenOnSubmit),itemLabelPosition:t.asOptionalString(A.props.itemLabelPosition),itemLabelBreak:t.asOptionalBoolean(A.props.itemLabelBreak),itemLabelWidth:t.asOptionalString(A.props.itemLabelWidth),formState:a,dispatch:i,id:A.uid,style:o,cancelLabel:t(A.props.cancelLabel),saveLabel:t(A.props.saveLabel),saveInProgressLabel:t(A.props.saveInProgressLabel),swapCancelAndSave:t.asOptionalBoolean(A.props.swapCancelAndSave,!1),onSubmit:r("submit",{defaultHandler:m?`(eventArgs)=> Actions.callApi({ url: "${m}", method: "${g}", body: eventArgs, inProgressNotificationMessage: "${p}", completedNotificationMessage: "${B}", errorNotificationMessage: "${C}" })`:void 0,context:{$data:s}}),onCancel:r("cancel",{context:{$data:s}}),onReset:r("reset",{context:{$data:s}}),onSuccess:r("success",{context:{$data:s}}),initialValue:u,buttonRow:e(A.props.buttonRowTemplate),registerComponentApi:n,enabled:t.asOptionalBoolean(A.props.enabled,!0)&&!t.asOptionalBoolean(A.props.loading,!1),children:e(l)})}const NS="Form",Tm={status:"stable",description:"`Form` provides a structured container for collecting and validating user input, with built-in data binding, validation, and submission handling. It automatically manages form state and provides context for nested form controls to work together.",props:{buttonRowTemplate:zA("This property allows defining a custom component to display the buttons at the bottom of the form."),itemLabelPosition:{description:"This property sets the position of the item labels within the form.Individual `FormItem` instances can override this property.",availableValues:gp,type:"string",defaultValue:Co.itemLabelPosition},itemLabelWidth:{description:"This property sets the width of the item labels within the form. Individual `FormItem` instances can override this property. If this property is not set, each form item nested in the form uses its calculated label width. These widths may be different for each item.",type:"string"},itemLabelBreak:{description:"This boolean value indicates if form item labels can be split into multiple lines if it would overflow the available label width. Individual `FormItem` instances can override this property.",type:"boolean",defaultValue:Co.itemLabelBreak},keepModalOpenOnSubmit:{description:"This property prevents the modal from closing when the form is submitted.",type:"boolean",defaultValue:Co.keepModalOpenOnSubmit},data:{description:"This property sets the initial value of the form's data structure. The form infrastructure uses this value to set the initial state of form items within the form. If this property isnot set, the form does not have an initial value."},cancelLabel:{description:"This property defines the label of the Cancel button.",type:"string",defaultValue:Co.cancelLabel},saveLabel:{description:"This property defines the label of the Save button.",type:"string",defaultValue:Co.saveLabel},saveInProgressLabel:{description:"This property defines the label of the Save button to display during the form data submit (save) operation.",type:"string",defaultValue:Co.saveInProgressLabel},swapCancelAndSave:{description:"By default, the Cancel button is to the left of the Save button. Set this property to `true` to swap them or `false` to keep their original location.",type:"boolean",defaultValue:Co.swapCancelAndSave},submitUrl:k("URL to submit the form data."),submitMethod:{description:"This property sets the HTTP method to use when submitting the form data. If not defined, `put` is used when the form has initial data; otherwise, `post`."},inProgressNotificationMessage:k("This property sets the message to display when the form is being submitted."),completedNotificationMessage:k("This property sets the message to display when the form is submitted successfully."),errorNotificationMessage:k("This property sets the message to display when the form submission fails."),enabled:Ye(),_data_url:Se("when we have an api bound data prop, we inject the url here")},events:{submit:k("The form infrastructure fires this event when the form is submitted. The event argument is the current `data` value to save."),success:k("The form infrastructure fires this event when the form is submitted successfully."),cancel:k("The form infrastructure fires this event when the form is canceled."),reset:k("The form infrastructure fires this event when the form is reset.")},contextVars:{$data:k("This property represents the value of the form data. You can access the fields of the form using the IDs in the `bindTo` property of nested `FormItem` instances. `$data` also provides an `update` method as a shortcut to the Form's exposed `update` method.")},apis:{reset:k("Call this event to reset the form to its initial state."),update:k("You can pass a data object to update the form data. The properties in the passed data object are updated to their values accordingly. Other form properties remain intact.")},themeVars:hA(Su.themeVars),defaultThemeVars:{"gap-Form":"$space-4","gap-buttonRow-Form":"$space-4","backgroundColor-ValidationDisplay-error":"$color-danger-100","backgroundColor-ValidationDisplay-warning":"$color-warn-100","backgroundColor-ValidationDisplay-info":"$color-primary-100","backgroundColor-ValidationDisplay-valid":"$color-success-100","color-accent-ValidationDisplay-error":"$color-error","color-accent-ValidationDisplay-warning":"$color-warning","color-accent-ValidationDisplay-info":"$color-info","color-accent-ValidationDisplay-valid":"$color-valid","textColor-ValidationDisplay-error":"$color-error","textColor-ValidationDisplay-warning":"$color-warning","textColor-ValidationDisplay-info":"$color-info","textColor-ValidationDisplay-valid":"$color-valid"}},FS=$(NS,Tm,({node:A,renderChild:e,extractValue:t,layoutCss:o,lookupEventHandler:r,registerComponentApi:n})=>c.jsx(LS,{node:A,renderChild:e,extractValue:t,lookupEventHandler:r,style:o,registerComponentApi:n})),PS=Object.freeze(Object.defineProperty({__proto__:null,T_ARRAY_DESTRUCTURE:202,T_ARRAY_LITERAL:110,T_ARROW_EXPRESSION:115,T_ARROW_EXPRESSION_STATEMENT:4,T_ASSIGNMENT_EXPRESSION:113,T_BINARY_EXPRESSION:101,T_BLOCK_STATEMENT:1,T_BREAK_STATEMENT:10,T_CALCULATED_MEMBER_ACCESS_EXPRESSION:106,T_CONDITIONAL_EXPRESSION:103,T_CONST_STATEMENT:6,T_CONTINUE_STATEMENT:11,T_DESTRUCTURE:201,T_DO_WHILE_STATEMENT:13,T_EMPTY_STATEMENT:2,T_EXPRESSION_STATEMENT:3,T_FOR_IN_STATEMENT:15,T_FOR_OF_STATEMENT:16,T_FOR_STATEMENT:14,T_FUNCTION_DECLARATION:20,T_FUNCTION_INVOCATION_EXPRESSION:104,T_IDENTIFIER:107,T_IF_STATEMENT:8,T_LET_STATEMENT:5,T_LITERAL:109,T_MEMBER_ACCESS_EXPRESSION:105,T_NO_ARG_EXPRESSION:114,T_OBJECT_DESTRUCTURE:203,T_OBJECT_LITERAL:111,T_POSTFIX_OP_EXPRESSION:117,T_PREFIX_OP_EXPRESSION:116,T_REACTIVE_VAR_DECLARATION:118,T_RETURN_STATEMENT:9,T_SEQUENCE_EXPRESSION:102,T_SPREAD_EXPRESSION:112,T_SWITCH_CASE:204,T_SWITCH_STATEMENT:19,T_TEMPLATE_LITERAL_EXPRESSION:108,T_THROW_STATEMENT:17,T_TRY_STATEMENT:18,T_UNARY_EXPRESSION:100,T_VAR_DECLARATION:200,T_VAR_STATEMENT:7,T_WHILE_STATEMENT:12},Symbol.toStringTag,{value:"Module"})),{T_BLOCK_STATEMENT:Jo,T_EMPTY_STATEMENT:zo,T_EXPRESSION_STATEMENT:qo,T_ARROW_EXPRESSION_STATEMENT:Xt,T_LET_STATEMENT:Ul,T_CONST_STATEMENT:Kl,T_VAR_STATEMENT:Yl,T_IF_STATEMENT:jl,T_RETURN_STATEMENT:Aa,T_BREAK_STATEMENT:Ru,T_CONTINUE_STATEMENT:Uu,T_WHILE_STATEMENT:_l,T_DO_WHILE_STATEMENT:Wl,T_FOR_STATEMENT:$l,T_FOR_IN_STATEMENT:cn,T_FOR_OF_STATEMENT:ea,T_THROW_STATEMENT:Jl,T_TRY_STATEMENT:zl,T_SWITCH_STATEMENT:ql,T_FUNCTION_DECLARATION:Ka,T_UNARY_EXPRESSION:Vl,T_BINARY_EXPRESSION:Bt,T_SEQUENCE_EXPRESSION:hr,T_CONDITIONAL_EXPRESSION:Xl,T_FUNCTION_INVOCATION_EXPRESSION:As,T_MEMBER_ACCESS_EXPRESSION:Vo,T_CALCULATED_MEMBER_ACCESS_EXPRESSION:gn,T_IDENTIFIER:KA,T_TEMPLATE_LITERAL_EXPRESSION:Ku,T_LITERAL:Me,T_ARRAY_LITERAL:Qr,T_OBJECT_LITERAL:Er,T_SPREAD_EXPRESSION:pt,T_ASSIGNMENT_EXPRESSION:un,T_NO_ARG_EXPRESSION:es,T_ARROW_EXPRESSION:De,T_PREFIX_OP_EXPRESSION:Ya,T_POSTFIX_OP_EXPRESSION:Zl,T_REACTIVE_VAR_DECLARATION:GS,T_VAR_DECLARATION:yo,T_DESTRUCTURE:ja,T_ARRAY_DESTRUCTURE:Rr,T_OBJECT_DESTRUCTURE:dn,T_SWITCH_CASE:OS}=PS;class Lm{constructor(e){this.source=e,this._pos=0,this._line=1,this._column=0}get position(){return this._pos}get line(){return this._line}get column(){return this._column}peek(){return this.ahead(0)}ahead(e=1){return this._pos+e>this.source.length-1?null:this.source[this._pos+e]}get(){if(this._pos>=this.source.length)return null;const e=this.source[this._pos++];return e===`
|
|
34
34
|
`?(this._line++,this._column=0):this._column++,e}getTail(e){var t;return((t=this.source)==null?void 0:t.substring(e))??""}}var D=(A=>(A[A.Eof=-1]="Eof",A[A.Ws=-2]="Ws",A[A.BlockComment=-3]="BlockComment",A[A.EolComment=-4]="EolComment",A[A.Unknown=0]="Unknown",A[A.LParent=1]="LParent",A[A.RParent=2]="RParent",A[A.Identifier=3]="Identifier",A[A.Exponent=4]="Exponent",A[A.Divide=5]="Divide",A[A.Multiply=6]="Multiply",A[A.Remainder=7]="Remainder",A[A.Plus=8]="Plus",A[A.Minus=9]="Minus",A[A.BitwiseXor=10]="BitwiseXor",A[A.BitwiseOr=11]="BitwiseOr",A[A.LogicalOr=12]="LogicalOr",A[A.BitwiseAnd=13]="BitwiseAnd",A[A.LogicalAnd=14]="LogicalAnd",A[A.IncOp=15]="IncOp",A[A.DecOp=16]="DecOp",A[A.Assignment=17]="Assignment",A[A.AddAssignment=18]="AddAssignment",A[A.SubtractAssignment=19]="SubtractAssignment",A[A.ExponentAssignment=20]="ExponentAssignment",A[A.MultiplyAssignment=21]="MultiplyAssignment",A[A.DivideAssignment=22]="DivideAssignment",A[A.RemainderAssignment=23]="RemainderAssignment",A[A.ShiftLeftAssignment=24]="ShiftLeftAssignment",A[A.ShiftRightAssignment=25]="ShiftRightAssignment",A[A.SignedShiftRightAssignment=26]="SignedShiftRightAssignment",A[A.BitwiseAndAssignment=27]="BitwiseAndAssignment",A[A.BitwiseXorAssignment=28]="BitwiseXorAssignment",A[A.BitwiseOrAssignment=29]="BitwiseOrAssignment",A[A.LogicalAndAssignment=30]="LogicalAndAssignment",A[A.LogicalOrAssignment=31]="LogicalOrAssignment",A[A.NullCoalesceAssignment=32]="NullCoalesceAssignment",A[A.Semicolon=33]="Semicolon",A[A.Comma=34]="Comma",A[A.Colon=35]="Colon",A[A.LSquare=36]="LSquare",A[A.RSquare=37]="RSquare",A[A.QuestionMark=38]="QuestionMark",A[A.NullCoalesce=39]="NullCoalesce",A[A.OptionalChaining=40]="OptionalChaining",A[A.BinaryNot=41]="BinaryNot",A[A.LBrace=42]="LBrace",A[A.RBrace=43]="RBrace",A[A.Equal=44]="Equal",A[A.StrictEqual=45]="StrictEqual",A[A.LogicalNot=46]="LogicalNot",A[A.NotEqual=47]="NotEqual",A[A.StrictNotEqual=48]="StrictNotEqual",A[A.LessThan=49]="LessThan",A[A.LessThanOrEqual=50]="LessThanOrEqual",A[A.ShiftLeft=51]="ShiftLeft",A[A.GreaterThan=52]="GreaterThan",A[A.GreaterThanOrEqual=53]="GreaterThanOrEqual",A[A.ShiftRight=54]="ShiftRight",A[A.SignedShiftRight=55]="SignedShiftRight",A[A.Dot=56]="Dot",A[A.Spread=57]="Spread",A[A.Global=58]="Global",A[A.Backtick=59]="Backtick",A[A.DollarLBrace=60]="DollarLBrace",A[A.Arrow=61]="Arrow",A[A.DecimalLiteral=62]="DecimalLiteral",A[A.HexadecimalLiteral=63]="HexadecimalLiteral",A[A.BinaryLiteral=64]="BinaryLiteral",A[A.RealLiteral=65]="RealLiteral",A[A.StringLiteral=66]="StringLiteral",A[A.Infinity=67]="Infinity",A[A.NaN=68]="NaN",A[A.True=69]="True",A[A.False=70]="False",A[A.Typeof=71]="Typeof",A[A.Null=72]="Null",A[A.Undefined=73]="Undefined",A[A.In=74]="In",A[A.Let=75]="Let",A[A.Const=76]="Const",A[A.Var=77]="Var",A[A.If=78]="If",A[A.Else=79]="Else",A[A.Return=80]="Return",A[A.Break=81]="Break",A[A.Continue=82]="Continue",A[A.Do=83]="Do",A[A.While=84]="While",A[A.For=85]="For",A[A.Of=86]="Of",A[A.Try=87]="Try",A[A.Catch=88]="Catch",A[A.Finally=89]="Finally",A[A.Throw=90]="Throw",A[A.Switch=91]="Switch",A[A.Case=92]="Case",A[A.Default=93]="Default",A[A.Delete=94]="Delete",A[A.Function=95]="Function",A[A.As=96]="As",A[A.From=97]="From",A))(D||{});class Nm{constructor(e){this.input=e,this._ahead=[],this._prefetched=null,this._prefetchedPos=null,this._prefetchedColumn=null,this._lastFetchPosition=0,this._phaseExternallySet=null}peek(e=!1){return this.ahead(0,e)}ahead(e=1,t=!1){if(e>16)throw new Error("Cannot look ahead more than 16 tokens");for(;this._ahead.length<=e;){const o=this.fetch();if(Fm(o))return o;(t||!t&&!Pm(o))&&this._ahead.push(o)}return this._ahead[e]}get(e=!1){if(this._ahead.length>0){const t=this._ahead.shift();if(!t)throw new Error("Token expected");return t}for(;;){const t=this.fetch();if(Fm(t)||e||!e&&!Pm(t))return t}}getRegEx(){return this.fetchRegEx()}getTail(){return this._ahead.length>0?this.input.getTail(this._ahead[0].startPosition):this.input.getTail(this._lastFetchPosition)}setStartingPhaseToTemplateLiteral(){this._phaseExternallySet=34}fetchNextChar(){return this._prefetched||(this._prefetchedPos=this.input.position,this._prefetchedColumn=this.input.column,this._prefetched=this.input.get()),this._prefetched}fetch(){const e=this,t=this.input,o=this._prefetchedPos||t.position,r=t.line,n=this._prefetchedColumn||t.column;this._lastFetchPosition=this.input.position;let a=null,i="",s=D.Eof,l=t.position,u=t.column,g=null,p=!1,B=this.getStartingPhaseThenReset();for(;;){if(g=this.fetchNextChar(),g===null)return m();s===D.Eof&&(s=D.Unknown);A:switch(B){case 0:switch(g){case" ":case" ":case`
|
|
35
35
|
`:case"\r":B=1,s=D.Ws;break;case"/":B=5,s=D.Divide;break;case"$":B=6,s=D.Identifier;break;case"*":B=8,s=D.Multiply;break;case"%":B=54,s=D.Remainder;break;case"+":B=51,s=D.Plus;break;case"-":B=52,s=D.Minus;break;case"^":B=58,s=D.BitwiseXor;break;case"|":B=7,s=D.BitwiseOr;break;case"&":B=9,s=D.BitwiseAnd;break;case"?":B=22,s=D.QuestionMark;break;case";":return h(D.Semicolon);case",":return h(D.Comma);case"(":return h(D.LParent);case")":return h(D.RParent);case":":B=20,s=D.Colon;break;case"`":return h(D.Backtick);case"[":return h(D.LSquare);case"]":return h(D.RSquare);case"~":return h(D.BinaryNot);case"{":return h(D.LBrace);case"}":return h(D.RBrace);case"=":B=10,s=D.Assignment;break;case"!":B=13,s=D.LogicalNot;break;case"<":B=14,s=D.LessThan;break;case">":B=15,s=D.GreaterThan;break;case"0":B=21,s=D.DecimalLiteral;break;case".":B=18,s=D.Dot;break;case'"':case"'":a=g,B=35;break;default:Gm(g)?(p=!0,B=17,s=D.Identifier):Ir(g)?(B=27,s=D.DecimalLiteral):h(D.Unknown);break}break;case 1:if(g!==" "&&g!==" "&&g!=="\r"&&g!==`
|
|
36
36
|
`)return m();break;case 3:g==="*"&&(B=4);break;case 4:if(g==="/")return h(D.BlockComment);break;case 2:if(g===`
|
|
@@ -242,7 +242,7 @@ It supports both side-by-side and stacked layouts.`,props:{markdown:{description
|
|
|
242
242
|
c0,0.26,0.23,0.51,0.5,0.5c0.27-0.01,0.5-0.22,0.5-0.5v-0.59h7v0.59c0,0.26,0.23,0.51,0.5,0.5c0.27-0.01,0.5-0.22,0.5-0.5v-0.59
|
|
243
243
|
h1.94c0.83,0,1.5,0.67,1.5,1.5V9.035z`}},{tag:"path",attr:{d:`M11.492,17.173v-3.46c0-0.059-0.064-0.095-0.114-0.064l-0.638,0.392
|
|
244
244
|
c-0.1,0.061-0.228-0.01-0.228-0.128v-0.651c0-0.105,0.055-0.203,0.146-0.257l0.764-0.457c0.047-0.028,0.1-0.043,0.154-0.043h0.626
|
|
245
|
-
c0.166,0,0.3,0.134,0.3,0.3v4.367c0,0.166-0.134,0.3-0.3,0.3h-0.409C11.626,17.473,11.492,17.339,11.492,17.173z`}}]}]})(A)}const Y3="data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208.5C16.9706%208.5%2021%207.15685%2021%205.5C21%203.84315%2016.9706%202.5%2012%202.5C7.02944%202.5%203%203.84315%203%205.5C3%207.15685%207.02944%208.5%2012%208.5Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012.5C21%2014.16%2017%2015.5%2012%2015.5C7%2015.5%203%2014.16%203%2012.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5V19.5C3%2021.16%207%2022.5%2012%2022.5C17%2022.5%2021%2021.16%2021%2019.5V5.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",j3=A=>c.jsx(Y3,{...A}),_3="data:image/svg+xml,%3csvg%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16px'%20height='16px'%20viewBox='0%200%2016%2016'%20version='1.1'%3e%3cg%20id='surface1'%3e%3cpath%20stroke='none'%20fill-rule='nonzero'%20fill-opacity='1'%20d='M%209.886719%205.171875%20L%206.113281%208.941406%20C%205.855469%209.203125%205.855469%209.625%206.113281%209.886719%20C%206.375%2010.144531%206.796875%2010.144531%207.058594%209.886719%20L%2010.828125%206.113281%20C%2011.609375%205.332031%2011.609375%204.066406%2010.828125%203.285156%20C%2010.046875%202.503906%208.78125%202.503906%208%203.285156%20L%204.230469%207.058594%20C%202.925781%208.359375%202.925781%2010.46875%204.230469%2011.769531%20C%205.53125%2013.074219%207.640625%2013.074219%208.941406%2011.769531%20L%2012.714844%208%20L%2013.65625%208.941406%20L%209.886719%2012.714844%20C%208.0625%2014.535156%205.109375%2014.535156%203.285156%2012.714844%20C%201.464844%2010.890625%201.464844%207.9375%203.285156%206.113281%20L%207.058594%202.34375%20C%208.359375%201.042969%2010.46875%201.042969%2011.769531%202.34375%20C%2013.074219%203.644531%2013.074219%205.753906%2011.769531%207.058594%20L%208%2010.828125%20C%207.21875%2011.609375%205.953125%2011.609375%205.171875%2010.828125%20C%204.390625%2010.046875%204.390625%208.78125%205.171875%208%20L%208.941406%204.230469%20Z%20M%209.886719%205.171875%20'/%3e%3c/g%3e%3c/svg%3e",W3=A=>c.jsx(_3,{...A}),$3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2013C10.4295%2013.5741%2010.9774%2014.0491%2011.6066%2014.3929C12.2357%2014.7367%2012.9315%2014.9411%2013.6467%2014.9923C14.3618%2015.0435%2015.0796%2014.9403%2015.7513%2014.6897C16.4231%2014.4392%2017.0331%2014.047%2017.54%2013.54L20.54%2010.54C21.4508%209.59695%2021.9548%208.33394%2021.9434%207.02296C21.932%205.71198%2021.4061%204.45791%2020.4791%203.53087C19.5521%202.60383%2018.298%202.07799%2016.987%202.0666C15.676%202.0552%2014.413%202.55918%2013.47%203.46997L11.75%205.17997'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0002%2011.0012C13.5707%2010.4271%2013.0228%209.95202%2012.3936%209.60826C11.7645%209.2645%2011.0687%209.06009%2010.3535%209.00887C9.63841%208.95765%208.92061%209.06083%208.24885%209.31142C7.5771%209.56201%206.96709%209.95413%206.4602%2010.4612L3.4602%2013.4612C2.54941%2014.4042%202.04544%2015.6672%202.05683%2016.9782C2.06822%2018.2892%202.59407%2019.5433%203.52111%2020.4703C4.44815%2021.3973%205.70221%2021.9232%207.01319%2021.9346C8.32418%2021.946%209.58719%2021.442%2010.5302%2020.5312L12.2402%2018.8212'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",J3={binding:"_binding_14mdd_1"},z3=A=>c.jsx($3,{className:J3.binding,...A}),q3=A=>c.jsx(vQ,{...A}),V3="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",X3=A=>c.jsx(V3,{...A}),Z3=A=>c.jsx(rM,{...A}),AG=A=>c.jsx(bQ,{...A}),eG=A=>c.jsx(DQ,{...A}),tG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6665%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.99967L8.6665%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.6665%201.33301V5.99967H13.3332'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%2010.6667L10.6668%209.33333L9.3335%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.6665%208.00033L5.33317%209.33366L6.6665%2010.667'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",oG=A=>c.jsx(tG,{...A}),rG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='%233B3B3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%202.80664L8%204.53997L11%202.80664'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013.1933V9.73333L2%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%208L11%209.73333V13.1933'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",nG=A=>c.jsx(rG,{...A}),aG=A=>c.jsx(yQ,{...A}),iG=A=>c.jsx(f3,{...A}),sG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C16.9706%208%2021%206.65685%2021%205C21%203.34315%2016.9706%202%2012%202C7.02944%202%203%203.34315%203%205C3%206.65685%207.02944%208%2012%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012C21%2013.66%2017%2015%2012%2015C7%2015%203%2013.66%203%2012'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205V19C3%2020.66%207%2022%2012%2022C17%2022%2021%2020.66%2021%2019V5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",lG={database:"_database_14jkq_1"},cG=A=>c.jsx(sG,{className:lG.database,...A}),gG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.33317%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.33301L9.33317%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%201.33301V5.33301H13.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%208.66699H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%2011.333H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.66683%206H6.00016H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",uG=A=>c.jsx(gG,{...A}),dG="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_15061)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H2.76551C1.36355%200%200.227051%201.10179%200.227051%202.46094V25.5391C0.227051%2026.8982%201.36355%2028%202.76551%2028H19.6886C21.0906%2028%2022.2271%2026.8982%2022.2271%2025.5391V7.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M16.304%2013.1797H6.15011C5.68241%2013.1797%205.30396%2012.8128%205.30396%2012.3594C5.30396%2011.906%205.68241%2011.5391%206.15011%2011.5391H16.304C16.7717%2011.5391%2017.1501%2011.906%2017.1501%2012.3594C17.1501%2012.8128%2016.7717%2013.1797%2016.304%2013.1797Z'%20fill='white'/%3e%3cpath%20d='M16.304%2016.4609H6.15011C5.68241%2016.4609%205.30396%2016.094%205.30396%2015.6406C5.30396%2015.1872%205.68241%2014.8203%206.15011%2014.8203H16.304C16.7717%2014.8203%2017.1501%2015.1872%2017.1501%2015.6406C17.1501%2016.094%2016.7717%2016.4609%2016.304%2016.4609Z'%20fill='white'/%3e%3cpath%20d='M16.304%2019.7422H6.15011C5.68241%2019.7422%205.30396%2019.3753%205.30396%2018.9219C5.30396%2018.4685%205.68241%2018.1016%206.15011%2018.1016H16.304C16.7717%2018.1016%2017.1501%2018.4685%2017.1501%2018.9219C17.1501%2019.3753%2016.7717%2019.7422%2016.304%2019.7422Z'%20fill='white'/%3e%3cpath%20d='M12.9193%2023.0234H6.15011C5.68241%2023.0234%205.30396%2022.6565%205.30396%2022.2031C5.30396%2021.7497%205.68241%2021.3828%206.15011%2021.3828H12.9193C13.387%2021.3828%2013.7655%2021.7497%2013.7655%2022.2031C13.7655%2022.6565%2013.387%2023.0234%2012.9193%2023.0234Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_15061'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Wb=A=>c.jsx(dG,{...A}),BG=A=>c.jsx(d3,{...A}),pG=A=>c.jsx(B3,{...A}),CG=A=>c.jsx(w3,{...A}),mG="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3cpath%20d='M10.9928%200.157898H29C29.5523%200.157898%2030%200.605613%2030%201.1579V20C30%2020.5523%2029.5523%2021%2029%2021H1.00002C0.447731%2021%201.71661e-05%2020.5523%201.71661e-05%2020V3.93087C1.71661e-05%203.37858%200.447733%202.93087%201.00002%202.93087H6.55236L10.9928%200.157898Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",hG=A=>c.jsx(mG,{...A}),QG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21%2016.0019V8.00186C20.9996%207.65113%2020.9071%207.30667%2020.7315%207.00302C20.556%206.69937%2020.3037%206.44722%2020%206.27186L13%202.27186C12.696%202.09632%2012.3511%202.00391%2012%202.00391C11.6489%202.00391%2011.304%202.09632%2011%202.27186L4%206.27186C3.69626%206.44722%203.44398%206.69937%203.26846%207.00302C3.09294%207.30667%203.00036%207.65113%203%208.00186V16.0019C3.00036%2016.3526%203.09294%2016.697%203.26846%2017.0007C3.44398%2017.3043%203.69626%2017.5565%204%2017.7319L11%2021.7319C11.304%2021.9074%2011.6489%2021.9998%2012%2021.9998C12.3511%2021.9998%2012.696%2021.9074%2013%2021.7319L20%2017.7319C20.3037%2017.5565%2020.556%2017.3043%2020.7315%2017.0007C20.9071%2016.697%2020.9996%2016.3526%2021%2016.0019Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.26953%206.96094L11.9995%2012.0109L20.7295%206.96094'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%2022.08V12'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",EG=A=>c.jsx(QG,{...A}),IG=A=>c.jsx(kH,{...A}),wG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%203H2L10%2012.46V19L14%2021V12.46L22%203Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",fG=A=>c.jsx(wG,{...A}),bG="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3crect%20x='1.2179'%20y='2.44446'%20width='28.0128'%20height='15.8889'%20fill='white'/%3e%3cpath%20d='M10.9928%201.1579H29C29.5523%201.1579%2030%201.60561%2030%202.1579V21C30%2021.5523%2029.5523%2022%2029%2022H1.00002C0.447731%2022%201.71661e-05%2021.5523%201.71661e-05%2021V4.93087C1.71661e-05%204.37858%200.447733%203.93087%201.00002%203.93087H6.55236L10.9928%201.1579Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",DG=A=>c.jsx(bG,{...A}),vG=A=>c.jsx(E3,{...A}),yG=A=>c.jsx(BM,{...A}),xG=A=>c.jsx(I3,{...A}),kG="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14704)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14704'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",SG=A=>c.jsx(kG,{...A});function HG(A){return CA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M74.6 256c0-38.3 31.1-69.4 69.4-69.4h88V144h-88c-61.8 0-112 50.2-112 112s50.2 112 112 112h88v-42.6h-88c-38.3 0-69.4-31.1-69.4-69.4zm85.4 22h192v-44H160v44zm208-134h-88v42.6h88c38.3 0 69.4 31.1 69.4 69.4s-31.1 69.4-69.4 69.4h-88V368h88c61.8 0 112-50.2 112-112s-50.2-112-112-112z"}}]})(A)}const MG=A=>c.jsx(HG,{...A}),TG=A=>c.jsx(yQ,{...A}),LG=A=>c.jsx(U3,{...A}),NG=A=>c.jsx(mM,{...A}),FG="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1813_15242)'%3e%3cpath%20d='M21.788%207.38281L16.3739%205.74219L14.827%200H3.22546C2.37112%200%201.67859%200.734508%201.67859%201.64062V26.3594C1.67859%2027.2655%202.37112%2028%203.22546%2028H20.2411C21.0954%2028%2021.788%2027.2655%2021.788%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7879%207.38281V26.3594C21.7879%2027.2655%2021.0954%2028%2020.2411%2028H11.8571V0H14.827L16.3739%205.74219L21.7879%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.788%207.38281H16.3739C15.5231%207.38281%2014.827%206.64453%2014.827%205.74219V0C15.0281%200%2015.2292%200.0820312%2015.3684%200.246148L21.5559%206.80865C21.7106%206.95625%2021.788%207.16953%2021.788%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4445%200.855556%2012.4445H19.6778C20.1483%2012.4445%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23FF3E3E'/%3e%3cpath%20d='M4.25304%2017.732V16.448H4.98504C5.09304%2016.448%205.19704%2016.456%205.29704%2016.472C5.39704%2016.488%205.48504%2016.52%205.56104%2016.568C5.63704%2016.612%205.69704%2016.676%205.74104%2016.76C5.78904%2016.844%205.81304%2016.954%205.81304%2017.09C5.81304%2017.226%205.78904%2017.336%205.74104%2017.42C5.69704%2017.504%205.63704%2017.57%205.56104%2017.618C5.48504%2017.662%205.39704%2017.692%205.29704%2017.708C5.19704%2017.724%205.09304%2017.732%204.98504%2017.732H4.25304ZM3.31104%2015.716V20H4.25304V18.464H5.24304C5.51104%2018.464%205.73904%2018.426%205.92704%2018.35C6.11504%2018.27%206.26704%2018.166%206.38304%2018.038C6.50304%2017.91%206.58904%2017.764%206.64104%2017.6C6.69704%2017.432%206.72504%2017.262%206.72504%2017.09C6.72504%2016.914%206.69704%2016.744%206.64104%2016.58C6.58904%2016.416%206.50304%2016.27%206.38304%2016.142C6.26704%2016.014%206.11504%2015.912%205.92704%2015.836C5.73904%2015.756%205.51104%2015.716%205.24304%2015.716H3.31104Z'%20fill='white'/%3e%3cpath%20d='M8.85499%2019.208V16.508H9.52699C9.75899%2016.508%209.95299%2016.542%2010.109%2016.61C10.269%2016.674%2010.397%2016.768%2010.493%2016.892C10.589%2017.016%2010.657%2017.166%2010.697%2017.342C10.741%2017.514%2010.763%2017.708%2010.763%2017.924C10.763%2018.16%2010.733%2018.36%2010.673%2018.524C10.613%2018.688%2010.533%2018.822%2010.433%2018.926C10.333%2019.026%2010.219%2019.098%2010.091%2019.142C9.96299%2019.186%209.83099%2019.208%209.69499%2019.208H8.85499ZM7.91299%2015.716V20H9.76099C10.089%2020%2010.373%2019.946%2010.613%2019.838C10.857%2019.726%2011.059%2019.574%2011.219%2019.382C11.383%2019.19%2011.505%2018.962%2011.585%2018.698C11.665%2018.434%2011.705%2018.146%2011.705%2017.834C11.705%2017.478%2011.655%2017.168%2011.555%2016.904C11.459%2016.64%2011.323%2016.42%2011.147%2016.244C10.975%2016.068%2010.769%2015.936%2010.529%2015.848C10.293%2015.76%2010.037%2015.716%209.76099%2015.716H7.91299Z'%20fill='white'/%3e%3cpath%20d='M12.9603%2015.716V20H13.9023V18.23H15.6963V17.498H13.9023V16.508H15.9723V15.716H12.9603Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1813_15242'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",PG=A=>c.jsx(FG,{...A}),GG=A=>c.jsx(R3,{...A}),OG=A=>c.jsx(hM,{...A}),RG="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14734)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14734'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",UG=A=>c.jsx(RG,{...A}),KG=A=>c.jsx(LH,{...A}),YG=A=>c.jsx(EM,{...A}),jG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M18%208C19.6569%208%2021%206.65685%2021%205C21%203.34315%2019.6569%202%2018%202C16.3431%202%2015%203.34315%2015%205C15%206.65685%2016.3431%208%2018%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M6%2015C7.65685%2015%209%2013.6569%209%2012C9%2010.3431%207.65685%209%206%209C4.34315%209%203%2010.3431%203%2012C3%2013.6569%204.34315%2015%206%2015Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M18%2022C19.6569%2022%2021%2020.6569%2021%2019C21%2017.3431%2019.6569%2016%2018%2016C16.3431%2016%2015%2017.3431%2015%2019C15%2020.6569%2016.3431%2022%2018%2022Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M8.58984%2013.51L15.4198%2017.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M15.4098%206.51001L8.58984%2010.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e",_G=A=>c.jsx(jG,{...A}),WG=A=>c.jsx(Q3,{...A}),$G="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14941)'%3e%3cpath%20d='M21.7881%207.38281L16.374%205.74219L14.8271%200H3.22559C2.37125%200%201.67871%200.734508%201.67871%201.64062V26.3594C1.67871%2027.2655%202.37125%2028%203.22559%2028H20.2412C21.0956%2028%2021.7881%2027.2655%2021.7881%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281V26.3594C21.7881%2027.2655%2021.0955%2028%2020.2412%2028H11.8572V0H14.8271L16.374%205.74219L21.7881%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281H16.374C15.5232%207.38281%2014.8271%206.64453%2014.8271%205.74219V0C15.0282%200%2015.2293%200.0820312%2015.3685%200.246148L21.556%206.80865C21.7107%206.95625%2021.7881%207.16953%2021.7881%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4444%200.855556%2012.4444H19.6778C20.1483%2012.4444%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23161C28'/%3e%3cpath%20d='M4.62629%2016.508V20H5.56828V16.508H6.85229V15.716H3.34229V16.508H4.62629Z'%20fill='white'/%3e%3cpath%20d='M8.99625%2017.756L7.50225%2020H8.55825L9.51225%2018.518L10.4483%2020H11.5703L10.0763%2017.762L11.4503%2015.716H10.4183L9.54825%2017.084L8.70825%2015.716H7.61625L8.99625%2017.756Z'%20fill='white'/%3e%3cpath%20d='M13.4962%2016.508V20H14.4382V16.508H15.7222V15.716H12.2122V16.508H13.4962Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14941'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",JG=A=>c.jsx($G,{...A}),zG="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14989)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23AAC4D6'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14989'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",qG=A=>c.jsx(zG,{...A}),VG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2012.4503C10.3236%2012.894%2010.7365%2013.2612%2011.2106%2013.5269C11.6847%2013.7926%2012.209%2013.9505%2012.7479%2013.9901C13.2868%2014.0297%2013.8277%2013.95%2014.3339%2013.7563C14.8401%2013.5626%2015.2998%2013.2596%2015.6817%2012.8677L17.9424%2010.549C18.6287%209.82019%2019.0084%208.84404%2018.9999%207.83081C18.9913%206.81758%2018.595%205.84834%2017.8965%205.13185C17.1979%204.41536%2016.2529%204.00895%2015.265%204.00015C14.2771%203.99134%2013.3254%204.38085%2012.6148%205.08478L11.3187%206.4064'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13%2010.5497C12.6764%2010.106%2012.2635%209.73881%2011.7894%209.47313C11.3153%209.20745%2010.791%209.04946%2010.2521%209.00987C9.7132%208.97029%209.17231%209.05004%208.66611%209.24371C8.15991%209.43738%207.70024%209.74045%207.31828%2010.1323L5.05764%2012.451C4.37132%2013.1798%203.99156%2014.156%204.00014%2015.1692C4.00873%2016.1824%204.40497%2017.1517%205.10354%2017.8681C5.80211%2018.5846%206.7471%2018.991%207.73498%2018.9999C8.72287%2019.0087%209.6746%2018.6192%2010.3852%2017.9152L11.6738%2016.5936'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.1582%202.67383L9.06952%205.30645'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.4316%2017.667L16.8262%2015.3902'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%205.28906L7.23775%206.94848'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.7402%2014.2783L18.1301%2013.3044'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",XG=A=>c.jsx(VG,{...A}),ZG=A=>c.jsx(xQ,{...A}),AO="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.9982%207.38281L16.0756%205.74219L14.3835%200H1.69217C0.757586%200%200%200.734508%200%201.64062V26.3594C0%2027.2655%200.757586%2028%201.69217%2028H20.3061C21.2407%2028%2021.9982%2027.2655%2021.9982%2026.3594V7.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M21.9982%207.38281V26.3594C21.9982%2027.2655%2021.2406%2028%2020.306%2028H11.1345V0H14.3834L16.0756%205.74219L21.9982%207.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M16.0753%2011.5391H5.92226C5.4546%2011.5391%205.07617%2011.906%205.07617%2012.3594V22.2031C5.07617%2022.6565%205.4546%2023.0234%205.92226%2023.0234H16.0753C16.543%2023.0234%2016.9214%2022.6565%2016.9214%2022.2031V12.3594C16.9214%2011.906%2016.543%2011.5391%2016.0753%2011.5391ZM6.76834%2016.4609H10.1527V18.1016H6.76834V16.4609ZM11.8449%2016.4609H15.2292V18.1016H11.8449V16.4609ZM15.2292%2014.8203H11.8449V13.1797H15.2292V14.8203ZM10.1527%2013.1797V14.8203H6.76834V13.1797H10.1527ZM6.76834%2019.7422H10.1527V21.3828H6.76834V19.7422ZM11.8449%2021.3828V19.7422H15.2292V21.3828H11.8449Z'%20fill='white'/%3e%3cpath%20d='M16.0758%2011.5391H11.1365V23.0234H16.0758C16.5435%2023.0234%2016.9219%2022.6565%2016.9219%2022.2031V12.3594C16.9219%2011.906%2016.5435%2011.5391%2016.0758%2011.5391ZM15.2297%2021.3828H11.8454V19.7422H15.2297V21.3828ZM15.2297%2018.1016H11.8454V16.4609H15.2297V18.1016ZM15.2297%2014.8203H11.8454V13.1797H15.2297V14.8203Z'%20fill='white'/%3e%3cpath%20d='M21.9995%207.38281H16.0769C15.1462%207.38281%2014.3848%206.64453%2014.3848%205.74219V0C14.6047%200%2014.8247%200.0820312%2014.977%200.246148L21.7457%206.80865C21.9149%206.95625%2021.9995%207.16953%2021.9995%207.38281Z'%20fill='%23A0DEB0'/%3e%3c/svg%3e",eO=A=>c.jsx(AO,{...A}),tO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-up'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%2017l6%20-6l4%204l8%20-8'%20/%3e%3cpath%20d='M14%207l7%200l0%207'%20/%3e%3c/svg%3e",oO=A=>c.jsx(tO,{...A}),rO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-down'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%207l6%206l4%20-4l8%208'%20/%3e%3cpath%20d='M21%2010l0%207l-7%200'%20/%3e%3c/svg%3e",nO=A=>c.jsx(rO,{...A}),aO=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor"}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),iO=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor"})]}),sO=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),lO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20ms-1'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'%3e%3c/path%3e%3cpath%20d='M5%2012l14%200'%3e%3c/path%3e%3c/svg%3e",cO=A=>c.jsx(lO,{...A}),gO="data:image/svg+xml,%3csvg%20width='56'%20height='56'%20viewBox='0%200%2056%2056'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_8732_12671)'%3e%3crect%20x='10'%20y='10'%20width='36'%20height='36'%20rx='6'%20fill='%23143566'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M28.834%2018.6667H23.0007C22.5586%2018.6667%2022.1347%2018.8423%2021.8221%2019.1549C21.5096%2019.4675%2021.334%2019.8914%2021.334%2020.3334V33.6667C21.334%2034.1088%2021.5096%2034.5327%2021.8221%2034.8453C22.1347%2035.1578%2022.5586%2035.3334%2023.0007%2035.3334H33.0007C33.4427%2035.3334%2033.8666%2035.1578%2034.1792%2034.8453C34.4917%2034.5327%2034.6673%2034.1088%2034.6673%2033.6667V24.5001L28.834%2018.6667Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.834%2018.6667V24.5001H34.6673'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.666%2030.3333L31.3327%2028.6667L29.666%2027'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.334%2026.9999L24.6673%2028.6666L26.334%2030.3333'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_8732_12671'%20x='0'%20y='0'%20width='56'%20height='56'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.2%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_8732_12671'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_8732_12671'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",uO=A=>c.jsx(gO,{...A}),dO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='M600-640%20480-760l120-120%20120%20120-120%20120Zm200%20120-80-80%2080-80%2080%2080-80%2080ZM483-80q-84%200-157.5-32t-128-86.5Q143-253%20111-326.5T79-484q0-146%2093-257.5T409-880q-18%2099%2011%20193.5T520-521q71%2071%20165.5%20100T879-410q-26%20144-138%20237T483-80Zm0-80q88%200%20163-44t118-121q-86-8-163-43.5T463-465q-61-61-97-138t-43-163q-77%2043-120.5%20118.5T159-484q0%20135%2094.5%20229.5T483-160Zm-20-305Z'/%3e%3c/svg%3e",BO=A=>c.jsx(dO,{...A}),pO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='m354-287%20126-76%20126%2077-33-144%20111-96-146-13-58-136-58%20135-146%2013%20111%2097-33%20143ZM233-120l65-281L80-590l288-25%20112-265%20112%20265%20288%2025-218%20189%2065%20281-247-149-247%20149Zm457-560%2021-89-71-59%2094-8%2036-84%2036%2084%2094%208-71%2059%2021%2089-80-47-80%2047ZM480-481Z'/%3e%3c/svg%3e",CO=A=>c.jsx(pO,{...A}),mO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.79086%2014.2091%208%2012%208V16Z'%20fill='%23394150'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%202C6.47715%202%202%206.47715%202%2012C2%2017.5228%206.47715%2022%2012%2022C17.5228%2022%2022%2017.5228%2022%2012C22%206.47715%2017.5228%202%2012%202ZM12%204V8C9.79086%208%208%209.79086%208%2012C8%2014.2091%209.79086%2016%2012%2016V20C16.4183%2020%2020%2016.4183%2020%2012C20%207.58172%2016.4183%204%2012%204Z'%20fill='%23394150'/%3e%3c/svg%3e",hO=A=>c.jsx(mO,{...A}),QO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C9.7909%208%208%209.7909%208%2012C8%2014.2091%209.7909%2016%2012%2016L12%208Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%2022C17.5229%2022%2022%2017.5229%2022%2012C22%206.4772%2017.5228%202%2012%202C6.4772%202%202%206.4772%202%2012C2%2017.5229%206.4772%2022%2012%2022ZM12%2020L12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.7909%2014.2091%208%2012%208L12%204C7.5817%204%204%207.5817%204%2012C4%2016.4183%207.5817%2020%2012%2020Z'%20fill='white'/%3e%3c/svg%3e",EO=A=>c.jsx(QO,{...A}),IO="data:image/svg+xml,%3csvg%20width='37'%20height='36'%20viewBox='0%200%2037%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6797%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7308%2017.141%2033.6056%2018.2168%2033.6056C19.2925%2033.6056%2020.1674%2032.7308%2020.1674%2031.655V31.1673C20.1674%2030.8978%2019.9493%2030.6797%2019.6797%2030.6797Z'%20fill='%23868491'/%3e%3cpath%20d='M18.2163%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7307%2017.1407%2033.6053%2018.2163%2033.6056V30.6797Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M25.8957%205.43603C23.6164%203.29393%2020.631%202.22101%2017.4998%202.41742C11.7935%202.7725%207.18363%207.53242%207.00551%2013.2541C6.87409%2017.4935%209.10093%2021.3967%2012.8174%2023.4411C13.7413%2023.9497%2014.3152%2024.9265%2014.3152%2025.9908V29.704C14.3152%2030.7798%2015.19%2031.6547%2016.2658%2031.6547H20.1671C21.2429%2031.6547%2022.1177%2030.7798%2022.1177%2029.704V25.9908C22.1177%2024.9274%2022.6959%2023.9483%2023.6274%2023.4349C27.2082%2021.4595%2029.4326%2017.6954%2029.4326%2013.6112C29.4326%2010.5281%2028.1435%207.54833%2025.8957%205.43603Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.2172%2022.9604C23.3799%2022.9604%2027.5651%2018.7752%2027.5651%2013.6125C27.5651%208.44982%2023.3799%204.26465%2018.2172%204.26465C13.0546%204.26465%208.86938%208.44982%208.86938%2013.6125C8.86938%2018.7752%2013.0546%2022.9604%2018.2172%2022.9604Z'%20fill='%23FFE980'/%3e%3cpath%20d='M19.922%2016.5376C19.2738%2016.5376%2018.9424%2016.1594%2018.701%2015.8837C18.4881%2015.6408%2018.4033%2015.5622%2018.2133%2015.5622C18.0242%2015.5622%2017.94%2015.6408%2017.728%2015.8832C17.5004%2016.1437%2017.156%2016.5376%2016.5079%2016.5376C15.8602%2016.5376%2015.5159%2016.1437%2015.2883%2015.8832C15.0763%2015.6408%2014.9921%2015.5622%2014.803%2015.5622C14.5334%2015.5622%2014.3153%2015.3441%2014.3153%2015.0746C14.3153%2014.805%2014.5334%2014.5869%2014.803%2014.5869C15.4506%2014.5869%2015.7949%2014.9808%2016.0226%2015.2412C16.2346%2015.4837%2016.3188%2015.5622%2016.5079%2015.5622C16.697%2015.5622%2016.7817%2015.4837%2016.9937%2015.2412C17.2213%2014.9808%2017.5656%2014.5869%2018.2133%2014.5869C18.8615%2014.5869%2019.1929%2014.965%2019.4343%2015.2408C19.6472%2015.4837%2019.732%2015.5622%2019.922%2015.5622C20.1115%2015.5622%2020.1963%2015.4837%2020.4092%2015.2412C20.6373%2014.9808%2020.9816%2014.5869%2021.6302%2014.5869C21.8998%2014.5869%2022.1179%2014.805%2022.1179%2015.0746C22.1179%2015.3441%2021.8998%2015.5622%2021.6302%2015.5622C21.4402%2015.5622%2021.3554%2015.6408%2021.1425%2015.8837C20.9144%2016.1442%2020.5702%2016.5376%2019.922%2016.5376Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M16.7533%2025.8024C16.529%2025.8024%2016.3271%2025.6466%2016.277%2025.4185L13.8387%2014.2023C13.7815%2013.939%2013.9488%2013.6794%2014.2116%2013.6218C14.4764%2013.5637%2014.7345%2013.7319%2014.7921%2013.9947L17.2304%2025.2109C17.2876%2025.4742%2017.1204%2025.7338%2016.8575%2025.7914C16.8224%2025.7991%2016.7875%2025.8024%2016.7533%2025.8024Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M19.6802%2025.8022C19.6458%2025.8022%2019.6111%2025.7989%2019.5759%2025.7913C19.313%2025.7337%2019.1458%2025.4741%2019.203%2025.2108L21.6413%2013.9946C21.6989%2013.7317%2021.9561%2013.564%2022.2218%2013.6217C22.4847%2013.6793%2022.6518%2013.9389%2022.5947%2014.2022L20.1564%2025.4184C20.1064%2025.6466%2019.9045%2025.8022%2019.6802%2025.8022Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M14.2314%2025.3164C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H20.1671C21.2429%2031.656%2022.1178%2030.7811%2022.1178%2029.7053V25.9922C22.1178%2025.7612%2022.1499%2025.5355%2022.2021%2025.3164H14.2314Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M18.2162%2025.3164H14.2314C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H18.2162V25.3164Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M22.1175%2026.7773H18.2162V27.7527H22.1175V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M22.1177%2028.7285H18.2164V29.7038H22.1177V28.7285Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2026.7773H14.3149V27.7527H18.2162V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2028.7285H14.3149V29.7038H18.2162V28.7285Z'%20fill='%239A9A9A'/%3e%3c/svg%3e",wO=A=>c.jsx(IO,{...A}),fO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8283%206C16.5981%204.66667%2018.5226%204.66667%2019.2924%206L31.8498%2027.75C32.6196%2029.0833%2031.6573%2030.75%2030.1177%2030.75H5.00298C3.46338%2030.75%202.50113%2029.0833%203.27093%2027.75L15.8283%206Z'%20fill='url(%23paint0_linear_11265_27105)'/%3e%3cpath%20d='M15.8278%206C16.5976%204.66667%2018.5229%204.66667%2019.2927%206L31.8493%2027.75C32.595%2029.0416%2031.7158%2030.646%2030.2605%2030.7451L30.1179%2030.75V29.75C30.8875%2029.7498%2031.3687%2028.9166%2030.9841%2028.25L18.4265%206.5C18.0657%205.87505%2017.1975%205.83607%2016.7731%206.38281L16.694%206.5L4.13643%2028.25C3.75177%2028.9166%204.23306%2029.7498%205.00264%2029.75V30.75L4.86006%2030.7451C3.4517%2030.6492%202.5826%2029.1436%203.20381%2027.876L3.2712%2027.75L15.8278%206ZM30.1179%2029.75V30.75H5.00264V29.75H30.1179Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.9476%2012.0938L18.7226%2022.572H16.5272L16.309%2012.0938H18.9476ZM17.6249%2027.0938C17.2112%2027.0938%2016.8567%2026.9392%2016.5612%2026.63C16.2703%2026.3208%2016.1249%2025.944%2016.1249%2025.4995C16.1249%2025.0648%2016.2703%2024.6928%2016.5612%2024.3836C16.8567%2024.0744%2017.2112%2023.9198%2017.6249%2023.9198C18.0294%2023.9198%2018.3794%2024.0744%2018.6749%2024.3836C18.9749%2024.6928%2019.1249%2025.0648%2019.1249%2025.4995C19.1249%2025.7942%2019.0544%2026.0623%2018.9135%2026.3039C18.7772%2026.5454%2018.5953%2026.7387%2018.3681%2026.8836C18.1453%2027.0237%2017.8976%2027.0938%2017.6249%2027.0938Z'%20fill='black'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11265_27105'%20x1='17.5604'%20y1='3'%20x2='17.5604'%20y2='40'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFE980'/%3e%3cstop%20offset='0.932692'%20stop-color='%23FFD93C'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",bO=A=>c.jsx(fO,{...A}),DO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%206C11.3831%206%206%2011.3832%206%2018C6%2024.6168%2011.3831%2030%2018%2030C24.6169%2030%2030%2024.6168%2030%2018C30%2011.3832%2024.6169%206%2018%206ZM18%208.32256C20.2505%208.32256%2022.324%209.09473%2023.9696%2010.3881L10.3881%2023.9696C9.09478%2022.324%208.32256%2020.2505%208.32256%2018C8.32256%2012.6639%2012.6639%208.32256%2018%208.32256ZM18%2027.6774C15.7495%2027.6774%2013.676%2026.9053%2012.0304%2025.6119L25.6119%2012.0304C26.9053%2013.676%2027.6774%2015.7495%2027.6774%2018C27.6774%2023.3361%2023.3361%2027.6774%2018%2027.6774Z'%20fill='url(%23paint0_linear_11264_27095)'/%3e%3cpath%20d='M29.9167%2018C29.9167%2011.4292%2024.5709%206.08333%2018%206.08333C11.4291%206.08333%206.08333%2011.4292%206.08333%2018C6.08333%2024.5708%2011.4291%2029.9167%2018%2029.9167C24.5709%2029.9167%2029.9167%2024.5708%2029.9167%2018ZM26.527%2018C26.527%2016.4591%2026.1141%2015.0148%2025.3961%2013.7661L13.7661%2025.3961C15.0148%2026.1141%2016.4591%2026.527%2018%2026.527V27.6104L17.5832%2027.6008C15.5096%2027.5119%2013.6043%2026.763%2012.0723%2025.559L25.559%2012.0723C26.8433%2013.7064%2027.6104%2015.7652%2027.6104%2018L27.5977%2018.4941C27.3396%2023.5644%2023.1334%2027.6104%2018%2027.6104V26.527C22.7007%2026.527%2026.527%2022.7007%2026.527%2018ZM18.4168%208.39917C20.4904%208.4881%2022.3957%209.23699%2023.9277%2010.441L10.441%2023.9277C9.23704%2022.3957%208.4881%2020.4904%208.39917%2018.4168L8.38965%2018C8.38965%2012.7009%2012.7009%208.38965%2018%208.38965L18.4168%208.39917ZM9.47298%2018C9.47298%2019.5404%209.88531%2020.9844%2010.6029%2022.2328L22.2328%2010.6029C20.9844%209.8853%2019.5404%209.47298%2018%209.47298C13.2993%209.47298%209.47298%2013.2993%209.47298%2018ZM31%2018C31%2025.1691%2025.1692%2031%2018%2031C10.8308%2031%205%2025.1691%205%2018C5%2010.8309%2010.8308%205%2018%205C25.1692%205%2031%2010.8309%2031%2018Z'%20fill='url(%23paint1_linear_11264_27095)'/%3e%3cpath%20d='M31%2018C31%2010.9428%2025.35%205.18214%2018.335%205.00391L18%205C10.8308%205%205%2010.8309%205%2018L5.00391%2018.335C5.17931%2025.2386%2010.7613%2030.8207%2017.665%2030.9961L18%2031C25.0573%2031%2030.8179%2025.3499%2030.9961%2018.335L31%2018ZM29.6162%2018C29.6162%2011.5949%2024.4052%206.38379%2018%206.38379C11.5948%206.38379%206.38379%2011.5949%206.38379%2018C6.38379%2024.4051%2011.5948%2029.6162%2018%2029.6162V29.917L17.6934%2029.9131C11.3655%2029.7525%206.24754%2024.6344%206.08691%2018.3066L6.08301%2018C6.08301%2011.4292%2011.4291%206.08301%2018%206.08301L18.3066%206.08691C24.7364%206.25013%2029.917%2011.5317%2029.917%2018L29.9131%2018.3066C29.7499%2024.7363%2024.4684%2029.917%2018%2029.917V29.6162C24.4052%2029.6162%2029.6162%2024.4051%2029.6162%2018ZM25.7949%2011.8867C27.1191%2013.5716%2027.9102%2015.6954%2027.9102%2018V18.0078L27.8975%2018.502V18.5098C27.6311%2023.7386%2023.2939%2027.9102%2018%2027.9102H17.9932L17.5762%2027.9004H17.5703C15.4317%2027.8087%2013.4663%2027.0363%2011.8867%2025.7949L11.6211%2025.5859L25.5859%2011.6211L25.7949%2011.8867ZM12.0723%2025.5586C13.6042%2026.7626%2015.5095%2027.5116%2017.583%2027.6006L18%2027.6104C22.9728%2027.6104%2027.0751%2023.8136%2027.5615%2018.9668L27.5977%2018.4941L27.6104%2018C27.6104%2015.7652%2026.8429%2013.7063%2025.5586%2012.0723L12.0723%2025.5586ZM26.2266%2018C26.2266%2016.6539%2025.8993%2015.3851%2025.3232%2014.2627L14.2627%2025.3232C15.3851%2025.8993%2016.6539%2026.2266%2018%2026.2266C22.5351%2026.2266%2026.2266%2022.5351%2026.2266%2018ZM18.0068%208.08984L18.4238%208.09961H18.4297L18.8281%208.125C20.8122%208.28992%2022.6323%209.04117%2024.1133%2010.2051L24.3789%2010.4141L10.4141%2024.3789L10.2051%2024.1133C8.96372%2022.5337%208.19133%2020.5683%208.09961%2018.4297V18.4238L8.08984%2018.0068V18L8.10254%2017.4912C8.36824%2012.262%2012.7059%208.08984%2018%208.08984H18.0068ZM18%208.38965C12.7009%208.38965%208.38965%2012.7009%208.38965%2018L8.39941%2018.417C8.48838%2020.4905%209.23748%2022.3958%2010.4414%2023.9277L23.9277%2010.4414C22.3958%209.23743%2020.4905%208.48838%2018.417%208.39941L18%208.38965ZM18.2881%209.47754C19.7202%209.52552%2021.0622%209.93004%2022.2324%2010.6025L10.6025%2022.2324C9.93005%2021.0622%209.52552%2019.7202%209.47754%2018.2881L9.47266%2018C9.47266%2013.2993%2013.2993%209.47266%2018%209.47266L18.2881%209.47754ZM9.77344%2018C9.77344%2019.3452%2010.0995%2020.6135%2010.6748%2021.7354L21.7354%2010.6748C20.6135%2010.0995%2019.3452%209.77344%2018%209.77344C13.4649%209.77344%209.77344%2013.4649%209.77344%2018ZM26.5156%2018.4385C26.2865%2022.9364%2022.5537%2026.5273%2018%2026.5273C16.4593%2026.5273%2015.0152%2026.1143%2013.7666%2025.3965L25.3965%2013.7666C26.1143%2015.0152%2026.5273%2016.4593%2026.5273%2018L26.5156%2018.4385ZM31.2998%2018C31.2998%2025.3348%2025.3349%2031.2998%2018%2031.2998C10.6651%2031.2998%204.7002%2025.3348%204.7002%2018C4.7002%2010.6652%2010.6651%204.7002%2018%204.7002C25.3349%204.7002%2031.2998%2010.6652%2031.2998%2018Z'%20fill='url(%23paint2_linear_11264_27095)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11264_27095'%20x1='18'%20y1='6'%20x2='18'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ED5A3B'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EC5A3A'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EB5A39'/%3e%3cstop%20offset='1'%20stop-color='%23B03117'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",vO=A=>c.jsx(DO,{...A}),yO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%205.15039H28C28.4694%205.15039%2028.8496%205.53056%2028.8496%206V26.6445C28.8496%2026.8769%2028.755%2027.0994%2028.5869%2027.2598L24.0205%2031.6152C23.8625%2031.766%2023.652%2031.8496%2023.4336%2031.8496H7C6.53056%2031.8496%206.15039%2031.4694%206.15039%2031V6C6.15039%205.53056%206.53056%205.15039%207%205.15039Z'%20fill='%23FEFEFE'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M26.0982%2012.5596H8.58191V13.083H26.0982V12.5596Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2015.3857H8.58191V15.9092H26.0982V15.3857Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2018.2109H8.58191V18.7344H26.0982V18.2109Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2021.0039H8.58191V21.5273H26.0982V21.0039Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2023.8291H8.58191V24.3525H26.0982V23.8291Z'%20fill='%23666666'/%3e%3cpath%20d='M16.8516%2027.0947H8.58191V27.6181H16.8516V27.0947Z'%20fill='%23666666'/%3e%3cpath%20d='M23.9056%2032.3591L29%2027.2646H23.9056V32.3591Z'%20fill='%23F4F2F2'/%3e%3cpath%20d='M21%209H14V10H21V9Z'%20fill='%23535353'/%3e%3cpath%20d='M23.9339%2014.783L22.4576%2013.9355L21.6053%2015.4034L23.0816%2016.2508L23.9339%2014.783Z'%20fill='%23E0E1E2'/%3e%3cpath%20d='M25.6385%2011.8475L24.8948%2011.4206C24.7937%2011.3625%2024.6837%2011.3307%2024.5715%2011.3222C24.5154%2011.318%2024.4589%2011.3196%2024.4026%2011.3276C24.1208%2011.3654%2023.8457%2011.5452%2023.6789%2011.8325L22.4576%2013.9357L23.9339%2014.7831L25.6385%2011.8475Z'%20fill='%23E85738'/%3e%3cpath%20d='M24.9268%2017.3103L23.0815%2016.251L18.1808%2024.6911L20.0261%2025.7504L24.9268%2017.3103Z'%20fill='%23F2C91D'/%3e%3cpath%20d='M25.7791%2015.8425L23.9338%2014.7832L23.0815%2016.251L24.9268%2017.3104L25.7791%2015.8425Z'%20fill='%23C4C4C4'/%3e%3cpath%20d='M25.7791%2015.8427L27.0003%2013.7395C27.1671%2013.4522%2027.1541%2013.107%2026.9975%2012.8174C26.9664%2012.7598%2026.9289%2012.7036%2026.8866%2012.6514C26.8012%2012.5465%2026.6944%2012.4539%2026.568%2012.3813L25.6384%2011.8477L23.9338%2014.7833L25.7791%2015.8427Z'%20fill='%23B13218'/%3e%3cpath%20d='M20.0261%2025.7505L16.7046%2023.8438L16.6607%2027.7328L20.0261%2025.7505Z'%20fill='%23FDEDD9'/%3e%3cpath%20d='M17.8536%2026.95L16.7465%2026.3145L16.6608%2027.7331L17.8536%2026.95Z'%20fill='%234C4C4C'/%3e%3cpath%20d='M23.0816%2016.2508L21.6053%2015.4033L16.7046%2023.8434L18.1808%2024.6909L23.0816%2016.2508Z'%20fill='%23FFD93C'/%3e%3c/svg%3e",xO=A=>c.jsx(yO,{...A}),kO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.29297%205.15039H30.6719C31.2902%205.15044%2031.7575%205.5568%2031.8389%206.09961L31.8496%206.20215V24.1748C31.8496%2024.7617%2031.3364%2025.2273%2030.707%2025.2275H14.5459L14.5068%2025.2539L6.49219%2030.7158V25.2275H5.29297C4.63423%2025.2273%204.15039%2024.7343%204.15039%2024.1748V6.20215C4.15058%205.61545%204.66376%205.15058%205.29297%205.15039Z'%20fill='url(%23paint0_linear_11266_27250)'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M25.6739%2012.3672H11V12.8057H25.6739V12.3672Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2014.7344H11V15.1729H25.6739V14.7344Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2017.0742H11V17.5127H25.6739V17.0742Z'%20fill='%23666666'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11266_27250'%20x1='16.7273'%20y1='21.25'%20x2='12.1155'%20y2='30.9251'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FEFEFE'/%3e%3cstop%20offset='1'%20stop-color='%23E0E0E0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",SO=A=>c.jsx(kO,{...A});function HO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"19",y1:"6",x2:"19",y2:"10"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function MO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function TO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"19",y1:"6.5",x2:"19",y2:"9.5"}),c.jsx("line",{x1:"17.5",y1:"8",x2:"20.5",y2:"8"})]})}function LO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}const $c=new Map;function aA(A,e){typeof A=="object"?A.forEach(t=>{$c.set(t,{renderer:e})}):$c.set(A.toLowerCase(),{renderer:e})}aA("assign",A=>c.jsx(xQ,{...A})),aA("arrowup",A=>c.jsx(ZP,{...A})),aA("arrowleft",A=>c.jsx(VP,{...A})),aA("arrowright",A=>c.jsx(XP,{...A})),aA("pause",A=>c.jsx(t3,{...A})),aA("play",A=>c.jsx(o3,{...A})),aA("date",A=>c.jsx(K3,{...A})),aA("hamburger",A=>c.jsx(MH,{...A})),aA("send",A=>c.jsx(NH,{...A})),aA("users",A=>c.jsx(vM,{...A})),aA("refresh",A=>c.jsx(QM,{...A})),aA("chevrondown",A=>c.jsx(nM,{...A})),aA("chevronup",A=>c.jsx(aM,{...A})),aA("chevronright",A=>c.jsx(eG,{...A})),aA("chevronleft",A=>c.jsx(AG,{...A})),aA("dotmenu",A=>c.jsx(pG,{...A})),aA("dotmenuhorizontal",A=>c.jsx(BG,{...A})),aA("noresult",A=>c.jsx(IM,{...A})),aA("crm",A=>c.jsx(jb,{...A})),aA("chat",A=>c.jsx(jb,{...A})),aA("pencil",A=>c.jsx(m3,{...A})),aA("cube",A=>c.jsx(u3,{...A})),aA("apps",A=>c.jsx(vQ,{...A})),aA("permissions",A=>c.jsx(pM,{...A})),aA("close",A=>c.jsx(yM,{...A})),aA("star",A=>c.jsx(wM,{...A})),aA("help",A=>c.jsx(dM,{...A})),aA("compactlist",A=>c.jsx(aG,{...A})),aA("copy",A=>c.jsx(iG,{...A})),aA("move",A=>c.jsx(lM,{...A})),aA("rename",A=>c.jsx(b3,{...A})),aA("hyperlink",A=>c.jsx(xG,{...A})),aA("globe",A=>c.jsx(vG,{...A})),aA("link",A=>c.jsx(MG,{...A})),aA("looseList",A=>c.jsx(LG,{...A})),aA("options",A=>c.jsx(NG,{...A})),aA("search",A=>c.jsx(YG,{...A})),aA("filter",A=>c.jsx(fG,{...A})),aA("trash",A=>c.jsx(WG,{...A})),aA("pen",A=>c.jsx(GG,{...A})),aA("email",A=>c.jsx(CG,{...A})),aA("phone",A=>c.jsx(OG,{...A})),aA("home",A=>c.jsx(yG,{...A})),aA("user",A=>c.jsx(ZG,{...A})),aA("exit",A=>c.jsx(T3,{...A})),aA("adduser",A=>c.jsx(DM,{...A})),aA("userminus",A=>c.jsx(bM,{...A})),aA("plus",A=>c.jsx(KG,{...A})),aA("inspect",A=>c.jsx(uO,{...A})),aA("plus-circle",A=>c.jsx(TH,{...A})),aA("filledplus",A=>c.jsx(IG,{...A})),aA("darktolight",A=>c.jsx(EO,{...A})),aA("lighttodark",A=>c.jsx(hO,{...A})),aA("checkmark",A=>c.jsx(Z3,{...A})),aA("valid",A=>c.jsx(oM,{...A})),aA("info",A=>c.jsx(tM,{...A})),aA("error",A=>c.jsx(Th,{...A})),aA("warning",A=>c.jsx(Mh,{...A})),aA("board",A=>c.jsx(q3,{...A})),aA("list",A=>c.jsx(TG,{...A})),aA("folder",A=>c.jsx(DG,{...A})),aA("folder-outline",A=>c.jsx(gM,{...A})),aA("emptyfolder",A=>c.jsx(hG,{...A})),aA("pdf",A=>c.jsx(PG,{...A})),aA("txt",A=>c.jsx(JG,{...A})),aA("doc",A=>c.jsx(Wb,{...A})),aA("docx",A=>c.jsx(Wb,{...A})),aA("doc-outline",A=>c.jsx(uG,{...A})),aA("conf",A=>c.jsx(s3,{...A})),aA("code",A=>c.jsx(oG,{...A})),aA("codesandbox",A=>c.jsx(nG,{...A})),aA("box",A=>c.jsx(X3,{...A})),aA(["xls","xlsx"],A=>c.jsx(eO,{...A})),aA(["jpg","jpeg","png","webp","svg","gif","tif","ppt","pptx"],A=>c.jsx(SG,{...A})),aA("unknownfile",A=>c.jsx(qG,{...A})),aA("photo",A=>c.jsx(UG,{...A})),aA("previous",A=>c.jsx(g3,{...A})),aA("next",A=>c.jsx(c3,{...A})),aA("like",A=>c.jsx(HH,{...A})),aA("reply",A=>c.jsx(r3,{...A})),aA("attach",A=>c.jsx(W3,{...A})),aA("attach2",A=>c.jsx(x3,{...A})),aA("emoji",A=>c.jsx(l3,{...A})),aA("message",A=>c.jsx(v3,{...A})),aA("upload",A=>c.jsx(fM,{...A})),aA("split-vertical",A=>c.jsx(M3,{...A})),aA("split-horizontal",A=>c.jsx(H3,{...A})),aA("swap",A=>c.jsx(h3,{...A})),aA("download",A=>c.jsx(cM,{...A})),aA("note",A=>c.jsx(y3,{...A})),aA("binding",A=>c.jsx(z3,{...A})),aA("database",A=>c.jsx(cG,{...A})),aA("unlink",A=>c.jsx(XG,{...A})),aA("api",A=>c.jsx(j3,{...A})),aA("expression",A=>c.jsx(EG,{...A})),aA("chat",A=>c.jsx(A3,{...A})),aA("hash",A=>c.jsx(e3,{...A})),aA("drive",A=>c.jsx(uM,{...A})),aA("lock",A=>c.jsx(CM,{...A})),aA("start",A=>c.jsx(k3,{...A})),aA("stop",A=>c.jsx(S3,{...A})),aA("restart",A=>c.jsx(P3,{...A})),aA("duplicate",A=>c.jsx(O3,{...A})),aA("connect",A=>c.jsx(L3,{...A})),aA("cog",A=>c.jsx(G3,{...A})),aA("sun",A=>c.jsx(N3,{...A})),aA("moon",A=>c.jsx(BO,{...A})),aA("stars",A=>c.jsx(CO,{...A})),aA("share",A=>c.jsx(_G,{...A})),aA("new-window",A=>c.jsx(_b,{...A})),aA("paint",A=>c.jsx(F3,{...A})),aA("palette",A=>c.jsx(D3,{...A})),aA("trending-up",A=>c.jsx(oO,{...A})),aA("trending-down",A=>c.jsx(nO,{...A})),aA("trending-level",A=>c.jsx(cO,{...A})),aA("sortasc",A=>c.jsx(aO,{...A})),aA("sortdesc",A=>c.jsx(iO,{...A})),aA("nosort",A=>c.jsx(sO,{...A})),aA("admonition_info",A=>c.jsx(wO,{...A})),aA("admonition_warning",A=>c.jsx(bO,{...A})),aA("admonition_danger",A=>c.jsx(vO,{...A})),aA("admonition_note",A=>c.jsx(xO,{...A})),aA("admonition_tip",A=>c.jsx(SO,{...A})),aA("arrowdown",A=>c.jsx(qP,{...A})),aA("square",A=>c.jsx(i3,{...A})),aA("squarehalf",A=>c.jsx(a3,{...A})),aA("squarefill",A=>c.jsx(n3,{...A})),aA("table-insert-row",A=>c.jsx(HO,{...A})),aA("table-delete-row",A=>c.jsx(MO,{...A})),aA("table-insert-column",A=>c.jsx(TO,{...A})),aA("table-delete-column",A=>c.jsx(LO,{...A})),aA("eye",A=>c.jsx(C3,{...A})),aA("eye-off",A=>c.jsx(p3,{...A}));function NO({children:A}){const e=d.useCallback(()=>Array.from($c.keys()),[]),t=d.useCallback(l=>$c.get(l),[]),[o,r]=d.useState({}),n=d.useRef({}),a=d.useRef(null),i=d.useCallback(async l=>{if(n.current[l])return;const u=await(await fetch(l)).text(),g=document.createElement("div");g.style.display="none",g.innerHTML=u;const p={};for(let m=0;m<g.children[0].attributes.length;m++){const h=g.children[0].attributes[m];h.nodeName!=="class"&&(p[h.nodeName]=h.nodeValue)}Object.keys(p).forEach(m=>{g.children[0].removeAttribute(m)});const B=document.createElementNS("http://www.w3.org/2000/svg","symbol");B.innerHTML=g.children[0].innerHTML,B.id=l,B.setAttributeNS(null,"viewBox",p.viewBox),n.current[l]||(a.current.appendChild(B),n.current[l]=!0);const C={name:l,attributes:p};r(m=>({...m,[l]:C}))},[]),s=d.useMemo(()=>({getRegisteredIconNames:e,lookupIconRenderer:t,ensureCustomSvgIcon:i,customSvgs:o}),[o,i,e,t]);return c.jsxs(vp.Provider,{value:s,children:[A,c.jsx("svg",{style:{display:"none"},ref:a})]})}const FO="0.9.82",$b={capitalize:wA.capitalize,pluralize:Rx,defaultTo:wA.defaultTo,toHashObject:Ux,findByField:Kx,distinct:Yx};function PO(A){return(A?new Date(A):new Date).toJSON()}function Jb(A){return new Date(A).toLocaleDateString()}function GO(A){return new Date(A).toLocaleString()}function OO(A){return new Date(A).toLocaleTimeString()}function RO(A){return se.format(new Date(A),"H:m")}function UO(A){return new Date(A).toLocaleDateString([],{month:"numeric",day:"2-digit"})}function zb(A){return A?new Date(A):new Date}function KO(A,e,t){return A?Hx(A,e,t):"-"}function YO(A){return A?se.isToday(new Date(A))?new Date(A).toLocaleTimeString():se.isThisWeek(new Date(A))?`${se.formatRelative(new Date(A),new Date)}`:new Date(A).toLocaleString():"-"}function jO(A){return A?se.isToday(new Date(A))?"Today":se.isYesterday(new Date(A))?"Yesterday":new Date(A).toLocaleDateString():"-"}function _O(A){return se.isToday(new Date(A))}function WO(A){return se.isYesterday(new Date(A))}function $O(A){return se.isTomorrow(new Date(A))}function JO(A,e=!1){const t=new Date,o=new Date(A),r=t.getTime()-o.getTime();if(r<0)return Jb(A);const n=Math.floor(r/1e3),a=Math.floor(n/60),i=Math.floor(a/60),s=Math.floor(i/24),l=Math.floor(s/7),u=Math.floor(s/30),g=Math.floor(s/365),p={second:{singular:e?"s":"second",plural:e?"s":"seconds"},minute:{singular:e?"min":"minute",plural:e?"min":"minutes"},hour:{singular:e?"hr":"hour",plural:e?"hrs":"hours"},day:{singular:e?"d":"day",plural:e?"d":"days"},week:{singular:e?"wk":"week",plural:e?"wks":"weeks"},month:{singular:e?"mo":"month",plural:e?"mos":"months"},year:{singular:e?"y":"year",plural:e?"yrs":"years"}};if(n<10)return"now";if(n<60){const C=n===1?p.second.singular:p.second.plural;return`${n} ${C} ago`}if(a<60){const C=a===1?p.minute.singular:p.minute.plural;return`${a} ${C} ago`}if(se.isToday(o)){const C=i===1?p.hour.singular:p.hour.plural;return`${i} ${C} ago`}if(se.isYesterday(o))return"yesterday";if(s<7){const C=s===1?p.day.singular:p.day.plural;return`${s} ${C} ago`}if(l<4){const C=l===1?p.week.singular:p.week.plural;return`${l} ${C} ago`}if(u<12){const C=u===1?p.month.singular:p.month.plural;return`${u} ${C} ago`}const B=g===1?p.year.singular:p.year.plural;return`${g} ${B} ago`}const qb={isoDateString:PO,formatDate:Jb,formatDateTime:GO,formatTime:OO,formatTimeWithoutSeconds:RO,formatDateWithoutYear:UO,getDate:zb,getDateUntilNow:KO,smartFormatDateTime:YO,smartFormatDate:jO,isToday:_O,isYesterday:WO,isTomorrow:$O,differenceInMinutes:se.differenceInMinutes,isSameDay:se.isSameDay,isThisYear:se.isThisYear,formatHumanElapsedTime:JO};function zO(A,e){if(A.length===0)return 0;const o=Vb(A)/A.length;return e?Number(o.toFixed(e)):o}function Vb(A){return A.reduce((e,t)=>e+t,0)}const qO={avg:zO,sum:Vb};var $e=(A=>(A.LOADER_LOADED="ContainerActionKind:LOADER_LOADED",A.LOADER_IN_PROGRESS_CHANGED="ContainerActionKind:LOADER_IN_PROGRESS_CHANGED",A.LOADER_IS_REFETCHING_CHANGED="ContainerActionKind:LOADER_IS_REFETCHING_CHANGED",A.LOADER_ERROR="ContainerActionKind:LOADER_ERROR",A.EVENT_HANDLER_STARTED="ContainerActionKind:EVENT_HANDLER_STARTED",A.EVENT_HANDLER_COMPLETED="ContainerActionKind:EVENT_HANDLER_COMPLETED",A.EVENT_HANDLER_ERROR="ContainerActionKind:EVENT_HANDLER_ERROR",A.COMPONENT_STATE_CHANGED="ContainerActionKind:COMPONENT_STATE_CHANGED",A.STATE_PART_CHANGED="ContainerActionKind:STATE_PART_CHANGED",A))($e||{});function VO(A={}){const e=Object.keys(A);function t(r,n=new Set){if(!e.includes(r))return[r];n.add(r);const a=[];return A[r].forEach(i=>{n.has(i)||(n.add(i),a.push(...t(i,n)))}),a}const o={};return e.forEach(r=>{o[r]=[...new Set(t(r))]}),o}const XO=100;function ZO(A){const e=A.collectStateTransitions;let t,o;return he((r,n)=>{const{uid:a}=n.payload;if(a===void 0&&n.type!==$e.STATE_PART_CHANGED)return console.error("uid not provided for control component",{state:r,action:n}),r;if(e)try{t=wA.cloneDeep(r[a])}catch(s){console.error("Error while cloning previous value",s)}switch(n.type){case $e.LOADER_IN_PROGRESS_CHANGED:{r[a]={...r[a],inProgress:n.payload.inProgress},i(r[a]);break}case $e.LOADER_IS_REFETCHING_CHANGED:{r[a]={...r[a],isRefetching:n.payload.isRefetching},i(r[a]);break}case $e.LOADER_LOADED:{const{data:s,pageInfo:l}=n.payload;r[a]={value:s,byId:Array.isArray(s)?wA.keyBy(s,u=>u.$id):void 0,inProgress:!1,loaded:s!==void 0,pageInfo:l},i(r[a]);break}case $e.LOADER_ERROR:{const{error:s}=n.payload;r[a]={...r[a],error:s,inProgress:!1,loaded:!0},i(r[a]);break}case $e.EVENT_HANDLER_STARTED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!0},i(r[a]);break}case $e.EVENT_HANDLER_COMPLETED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case $e.EVENT_HANDLER_ERROR:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case $e.COMPONENT_STATE_CHANGED:{const{state:s}=n.payload;r[a]={...r[a],...s},i(r[a]);break}case $e.STATE_PART_CHANGED:{const{path:s,value:l,target:u,actionType:g,localVars:p}=n.payload;if(g==="unset")wA.unset(r,s);else{let B=p;wA.setWith(r,s,l,(C,m,h)=>{if(B=B==null?void 0:B[m],C===void 0&&B===void 0&&wA.isPlainObject(u))return Object(C)}),i(r)}break}default:throw new Error}if(e){const s={action:n.type,uid:a,prevState:t,nextState:o};A.stateTransitions&&(A.stateTransitions.length>=XO&&A.stateTransitions.shift(),A.stateTransitions.push(s))}function i(s){if(e)try{o=wA.cloneDeep(s)}catch(l){console.error("Error while cloning next value",l)}}})}function Xb(A,e,t=[]){const o=n=>t.concat(n).join("."),r=new WeakMap;return new Proxy(A,{get:function(n,a,i){const s=Reflect.get(n,a,i);return s&&!s._ARROW_EXPR_&&!Object.isFrozen(s)&&typeof s=="object"&&["Array","Object"].includes(s.constructor.name)?(r.has(s)||r.set(s,Xb(s,e,t.concat(a))),r.get(s)):s},set:function(n,a,i,s){return e({action:"set",path:o(a),pathArray:t.concat(a),target:n,newValue:i,previousValue:Reflect.get(n,a,s)}),Reflect.set(n,a,i,s)},deleteProperty:function(n,a){return e({action:"unset",path:o(a),pathArray:t.concat(a),target:n}),Reflect.deleteProperty(n,a)}})}function A5(A,e,t){const o=qr.get(A);return o?(e.unshift(t),o):A}const qr=new Map;qr.set(Array.prototype.filter,t5),qr.set(Array.prototype.forEach,o5),qr.set(Array.prototype.map,r5),qr.set(Array.prototype.every,n5),qr.set(Array.prototype.findIndex,i5),qr.set(Array.prototype.find,a5),qr.set(Array.prototype.flatMap,s5),qr.set(Array.prototype.some,e5);async function e5(A,e){const t=await Promise.all(A.map(e));return A.some((o,r)=>t[r])}async function t5(A,e){const t=await Promise.all(A.map(e));return A.filter((o,r)=>t[r])}async function o5(A,e){for(let t=0;t<A.length;t++)await e(A[t],t,A)}async function r5(A,e){const t=[];for(let o=0;o<A.length;o++)t.push(await e(A[o],o,A));return t}async function n5(A,e){const t=await Promise.all(A.map(e));return t.every((o,r)=>t[r])}async function a5(A,e){const t=await Promise.all(A.map(e));return A.find((o,r)=>t[r])}async function i5(A,e){const t=await Promise.all(A.map(e));return A.findIndex((o,r)=>t[r])}async function s5(A,e){const t=await Promise.all(A.map(e));return A.flatMap((o,r)=>t[r])}async function eo(A,e,t){const o=[];return os(e),t??(t=e.mainThread),await _d(o,A,e,t??e.mainThread)}async function l5(A,e,t,...o){if(A.type!==De)throw new Error("executeArrowExpression expects an 'ArrowExpression' object.");return await(await Jc(_d,A))(A.args,e,t??e.mainThread,...o)}async function _d(A,e,t,o){t.options||(t.options={defaultToOptionalMemberAccess:!0});const r=_d;try{switch(e.type){case Ku:return I5(r,A,e,t,o);case Me:return Km(A,e,o);case KA:return Ym(A,e,t,o);case Vo:return await c5(r,A,e,t,o);case gn:return await g5(r,A,e,t,o);case hr:return await u5(r,A,e,t,o);case Qr:return await d5(r,A,e,t,o);case Er:return await B5(r,A,e,t,o);case Vl:return await p5(r,A,e,t,o);case Bt:return await C5(r,A,e,t,o);case Xl:return await m5(r,A,e,t,o);case un:return await h5(r,A,e,t,o);case Ya:case Zl:return await Q5(r,A,e,t,o);case As:return await E5(r,A,e,t,o);case De:return zm(A,e,o);case pt:throw new Error("Cannot use spread expression (...) with the current intermediate value.");default:throw new Error(`Unknown expression tree node: ${e.type}`)}}catch(n){throw n}}async function c5(A,e,t,o,r){return await A(e,t.obj,o,r),await Gt(t.obj,r),tc(e,t,o,r)}async function g5(A,e,t,o,r){return await A(e,t.obj,o,r),await Gt(t.obj,r),await A(e,t.member,o,r),e.pop(),await Gt(t.member,r),jm(e,t,o,r)}async function u5(A,e,t,o,r){if(!t.exprs||t.exprs.length===0)throw new Error("Missing expression sequence");const n=t.exprs.map(async i=>{const s=await A(e,i,o,r);return we(i,{value:s},r),e.pop(),s}),a=n[n.length-1];return e.push(a),a}async function d5(A,e,t,o,r){const n=[];for(const a of t.items)if(a.type===pt){const i=await A(e,a.expr,o,r);if(e.pop(),!Array.isArray(i))throw new Error("Spread operator within an array literal expects an array operand.");n.push(...i)}else n.push(await A(e,a,o,r)),e.pop(),e.push(n);return we(t,{value:n},r),e.push(n),n}async function B5(A,e,t,o,r){const n={};for(const a of t.props){if(!Array.isArray(a)){const s=await A(e,a.expr,o,r);if(e.pop(),Array.isArray(s))for(let l=0;l<s.length;l++)n[l]=s[l];else if(typeof s=="object")for(const[l,u]of Object.entries(s))n[l]=u;continue}let i;switch(a[0].type){case Me:i=a[0].value;break;case KA:i=a[0].name;break;default:i=await A(e,a[0],o,r),e.pop();break}n[i]=await A(e,a[1],o,r),e.pop()}return we(t,{value:n},r),e.push(n),n}async function p5(A,e,t,o,r){return await A(e,t.expr,o,r),e.pop(),await Gt(t.expr,r),_m(t,e,o,r)}async function C5(A,e,t,o,r){await A(e,t.left,o,r),e.pop();const n=await Gt(t.left,r);return t.op==="&&"&&!n?(we(t,{value:n},r),n):t.op==="||"&&n?(we(t,{value:n},r),n):(await A(e,t.right,o,r),e.pop(),await Gt(t.right,r),Wm(t,e,o,r))}async function m5(A,e,t,o,r){await A(e,t.cond,o,r),e.pop();const n=await Gt(t.cond,r),a=await A(e,n?t.thenE:t.elseE,o,r);return we(t,{value:a},r),a}async function h5(A,e,t,o,r){const n=t.leftValue,a=pn(n,o,r),i=a&&a.type!=="block";i&&o.onWillUpdate&&o.onWillUpdate(a,a.name,"assignment"),await A(e,n,o,r),e.pop(),await Gt(n,r),await A(e,t.expr,o,r),e.pop(),await Gt(t.expr,r);const s=$m(e,t,o,r);return i&&o.onDidUpdate&&o.onDidUpdate(a,a.name,"assignment"),s}async function Q5(A,e,t,o,r){const n=pn(t.expr,o,r),a=n&&n.type!=="block";a&&o.onWillUpdate&&o.onWillUpdate(n,n.name,"pre-post"),await A(e,t.expr,o,r),e.pop(),await Gt(t.expr,r);const i=Jm(e,t,o,r);return a&&o.onDidUpdate&&o.onDidUpdate(n,n.name,"pre-post"),i}async function E5(A,e,t,o,r){var C,m;let n,a=null;if(t.obj.type===Vo){const h=await A(e,t.obj.obj,o,r);await Gt(t.obj.obj,r),n=tc(e,t.obj,o,r),t.obj.obj.type===KA&&(h!=null&&h._SUPPORT_IMPLICIT_CONTEXT)&&(a=h)}else await A(e,t.obj,o,r),n=await Gt(t.obj,r);e.pop();const i=[];if(n!=null&&n._ARROW_EXPR_)i.push(n.args,o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0}))),n=await Jc(A,n);else if(t.obj.type===De)i.push(t.obj.args.map(h=>h.name),o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0})));else{for(let h=0;h<t.arguments.length;h++){const E=t.arguments[h];if(E.type===pt){await A([],E.expr,o,r);const Q=await Gt(E.expr,r);if(!Array.isArray(Q))throw new Error("Spread operator within a function invocation expects an array operand.");i.push(...Q)}else if(E.type===De){const Q=await Jc(A,E),I=async(...w)=>Q(E.args,o,r,...w);i.push(I)}else{await A([],E,o,r);const Q=await Gt(E,r);if(Q!=null&&Q._ARROW_EXPR_){const I=await Jc(A,Q),w=(...b)=>I(Q.args,o,r,...b);i.push(w)}else i.push(Q)}}if(a)if(o.implicitContextGetter){const h=o.implicitContextGetter(a);i.unshift(h)}else throw new Error("Cannot use implicitContextGetter, it is undefined")}const s=rh(n);if(s.banned)throw new Error(`Function ${((C=s.func)==null?void 0:C.name)??"unknown"} is not allowed to call. ${(s==null?void 0:s.help)??""}`);const l=e.length>0?e.pop():o.localContext;n=A5(n,i,l);const u=pn(t.obj,o,r),g=u&&u.type!=="block";g&&o.onWillUpdate&&o.onWillUpdate(u,u.name,"function-call");const p=(m=o.options)!=null&&m.defaultToOptionalMemberAccess?n==null?void 0:n.call(l,...i):n.call(l,...i);let B=await Zb(p);return g&&o.onDidUpdate&&o.onDidUpdate(u,u.name,"function-call"),we(t,{value:B},r),e.push(B),B}async function Jc(A,e){return async(...t)=>{const o=t[1],r=t[2],n={parent:r,childThreads:[],blocks:[{vars:{}}],loops:[],breakLabelValue:-1,closures:e.closureContext};if(r.childThreads.push(n),e.name){const p={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(p),p.vars[e.name]=e,p.constVars=new Set([e.name])}const a={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(a);const i=t[0];let s=!1;for(let p=0;p<i.length;p++){const B=i[p];let C;switch(B.type){case KA:{C={type:yo,id:B.name};break}case ja:{C={type:yo,id:B.id,aDestr:B.aDestr,oDestr:B.oDestr};break}case pt:{s=!0,C={type:yo,id:B.expr.name};break}default:throw new Error("Unexpected arrow argument specification")}if(C)if(s){const m=t.slice(p+3);let h=[];for(const E of m)E!=null&&E._EXPRESSION_?h.push(await A([],E,o,r)):h.push(E);await zc(a,o,r,[C],!1,!0,h)}else{let m=t[p+3];m!=null&&m._EXPRESSION_&&(m=await A([],m,o,r)),await zc(a,o,r,[C],!1,!0,m)}}let l,u;switch(e.statement.type){case zo:u=[];break;case qo:u=[{type:Aa,expr:e.statement.expr}];break;case Jo:u=e.statement.stmts;break;default:throw new Error(`Arrow expression with a body of '${e.statement.type}' is not supported yet.`)}await Wd(u,o,n),l=n.returnValue;const g=r.childThreads.indexOf(n);if(g<0)throw new Error("Cannot find thread to remove.");return r.childThreads.splice(g,1),n.blocks.pop(),l}}async function Zb(A){const e=new Map;return t(A);async function t(o){if(o==null)return o;const r=e.get(o);if(r)return r;if(Um(o)){const n=await o;return e.set(o,n),t(n)}if(e.set(o,o),Array.isArray(o)){for(let n=0;n<o.length;n++){const a=await t(o[n]);o[n]!==a&&o.splice(n,1,a)}return o}if(wA.isPlainObject(o)){for(const n of Object.keys(o)){let a=await t(o[n]);o[n]!==a&&(o[n]=a)}return o}return o}}async function I5(A,e,t,o,r){const n=new Array(t.segments.length);for(let a=0;a<t.segments.length;++a){await A(e,t.segments[a],o,r),e.pop();const i=await Gt(t.segments[a],r);n[a]=i}return Vm(n)}async function Gt(A,e){const t=Xo(A,e),o=await Zb(t==null?void 0:t.value);return we(A,{...t,value:o},e),o}async function Wd(A,e,t){var a,i,s;t||(t=os(e)),nc(t,A);const o=new Xm;o.push(Ce(Ur(A)));const r={processedStatements:0,maxQueueLength:o.length,unshiftedItems:0,clearToLabels:0,maxBlocks:0,maxLoops:0};let n=new Date().getTime();for(;o.length>0&&!((a=e.cancellationToken)!=null&&a.cancelled);){if(e.timeout&&new Date().getTime()-n>e.timeout)throw new Error("Script execution timeout");const l=o.dequeue();t.breakLabelValue=o.length>0?o.peek().label:-1;let u;try{await((i=e==null?void 0:e.onStatementStarted)==null?void 0:i.call(e,e,l.statement)),u=await w5(l.statement,(l==null?void 0:l.execInfo)??{},e,t)}catch(g){if(t.tryBlocks&&t.tryBlocks.length>0){const p=t.tryBlocks[t.tryBlocks.length-1];p.errorToThrow=g,p.errorSource=p.processingPhase,p.processingPhase="error",u={clearToLabel:p.tryLabel}}else g instanceof lr?$a(g):$a(new Yi(g),g)}u&&(u.toUnshift&&(o.unshift(u.toUnshift),r.unshiftedItems+=u.toUnshift.length),u.clearToLabel!==void 0&&(o.clearToLabel(u.clearToLabel),r.clearToLabels++)),await((s=e==null?void 0:e.onStatementCompleted)==null?void 0:s.call(e,e,l.statement)),o.length>r.maxQueueLength&&(r.maxQueueLength=o.length),t.blocks&&t.blocks.length>r.maxBlocks&&(r.maxBlocks=t.blocks.length),t.loops&&t.loops.length>r.maxLoops&&(r.maxLoops=t.loops.length),r.processedStatements++}return r}async function w5(A,e,t,o){let r=[],n;switch(A.type){case Ka:break;case Yl:if(o!==t.mainThread)throw new Error("'var' declarations are not allowed within functions");break;case zo:break;case Jo:if(A.stmts.length===0)break;o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),nc(o,A.stmts),r=Ce([...Ur(A.stmts),ts()]);break;case qo:const a=await eo(A.expr,t,o);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=a);break;case Xt:const i=await l5(A.expr,t,o,...t.eventArgs??[]);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=i);break;case Ul:{const l=at(o);if(!l)throw new Error("Missing block scope");await zc(l,t,o,A.decls);break}case Kl:{const l=at(o);if(!l)throw new Error("Missing block scope");await zc(l,t,o,A.decls,!0);break}case jl:!!await eo(A.cond,t,o)?r=oc(A.thenB):A.elseB&&(r=oc(A.elseB));break;case Aa:{if(at(o)===void 0)throw new Error("Return requires a block scope");if(o.returnValue=A.expr?await eo(A.expr,t,o):void 0,(o.tryBlocks??[]).length>0){const u=o.tryBlocks[0];u.exitType="return",u.processingPhase!=="postFinally"&&o.blocks.pop(),n=Cn(o).tryLabel}else n=-1;break}case _l:{let l=e.guard?Ze(o):xo(o);!!await eo(A.cond,t,o)?r=Wa(l,A,o.breakLabelValue):_e(o);break}case Wl:{if(!e.guard){r=Wa(xo(o),A,o.breakLabelValue);break}!!await eo(A.cond,t,o)?r=Wa(Ze(o),A,o.breakLabelValue):_e(o);break}case Uu:{if(!o.loops||o.loops.length===0)throw new Error("Missing loop scope");let l;for(;o.loops.length>0&&(l=Ze(o),!!l.isSwitch);)o.loops.pop();if(!l)throw new Error("Missing loop scope");if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let g=l.tryBlockDepth;g<o.tryBlocks.length;g++)o.tryBlocks[l.tryBlockDepth].exitType="continue";n=Cn(o).tryLabel}else n=l.continueLabel,_e(o,!1);break}case Ru:{const l=Ze(o);if(l===void 0)throw new Error("Missing loop scope");if(l.isSwitch){n=l.breakLabel;break}if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let g=l.tryBlockDepth;g<o.tryBlocks.length;g++)o.tryBlocks[l.tryBlockDepth].exitType="break";n=Cn(o).tryLabel}else n=l.breakLabel,_e(o);break}case $l:if(e.guard)if(!A.cond||await eo(A.cond,t,o)){const l=Ze(o);if(A.upd){const u={statement:{type:qo,nodeId:Bn(),expr:A.upd}};r=Ce([{statement:A.body},u,{statement:A,execInfo:e}])}else r=Ce([{statement:A.body},{statement:A,execInfo:e}]);l.breakLabel=o.breakLabelValue??-1,l.continueLabel=r[1].label}else _e(o);else{xo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}});const l=Kr(A);A.init?r=Ce([{statement:A.init},l]):r=Ce([l])}break;case cn:if(e.guard){if(e.keyIndex===void 0||e.keys===void 0)throw new Error("Keys information expected in for..in loop");if(e.keyIndex<e.keys.length){const l=e.keys[e.keyIndex++];switch(A.varB){case"none":{const g={type:un,leftValue:{type:KA,name:A.id.name},op:"=",expr:{type:Me,value:l}};await eo(g,t,o);break}case"const":case"let":{const g=at(o);if(!g)throw new Error("Missing block scope");g.vars[A.id.name]=l,A.varB==="const"&&(g.constVars??(g.constVars=new Set),g.constVars.add(A.id.name))}break}const u=Ze(o);r=Ce([{statement:A.body},{statement:A,execInfo:e}]),u.breakLabel=o.breakLabelValue??-1,u.continueLabel=r[1].label}else _e(o)}else{const l=await eo(A.expr,t,o);if(l==null)break;xo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=Ce([{statement:A,execInfo:{guard:!0,keys:Object.keys(l),keyIndex:0}}])}break;case ea:if(e.guard){if(e.iterator===void 0)throw new Error("Iterator expected in for..of loop");const l=e.iterator.next();if(l.done){_e(o);break}const u=l.value;switch(A.varB){case"none":{const p={type:un,leftValue:{type:KA,name:A.id.name},op:"=",expr:{type:Me,value:u}};await eo(p,t,o);break}case"const":case"let":{const p=at(o);if(!p)throw new Error("Missing block scope");p.vars[A.id.name]=u,A.varB==="const"&&(p.constVars??(p.constVars=new Set),p.constVars.add(A.id.name))}break}const g=Ze(o);r=Ce([{statement:A.body},{statement:A,execInfo:e}]),g.breakLabel=o.breakLabelValue??-1,g.continueLabel=r[1].label}else{const l=await eo(A.expr,t,o);if(l==null||typeof l[Symbol.iterator]!="function")throw new Error("Object in for..of is not iterable");xo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=Ce([{statement:A,execInfo:{guard:!0,iterator:l[Symbol.iterator]()}}])}break;case Jl:throw new lr(await eo(A.expr,t,o));case zl:{if(!e.guard){r=eh(o,Ah(o,A));break}const l=Cn(o);switch(l.processingPhase){case"error":switch(l.errorSource){case"try":if(o.blocks.pop(),A.catchB){if(l.statement.catchV){const g=at(o);g.vars[l.statement.catchV.name]=l.errorToThrow instanceof lr?l.errorToThrow.errorObject:l.errorToThrow}delete l.errorToThrow,l.processingPhase="catch",r=th(o,l)}else l.statement.finallyB&&(l.processingPhase="finally",r=mn(o,l));break;case"catch":o.blocks.pop(),l.processingPhase="finally",r=mn(o,l);break;case"finally":o.blocks.pop(),l.processingPhase="postFinally",r=rc(l);break}break;case"try":l.processingPhase="finally",A.finallyB&&(r=mn(o,l));break;case"catch":l.processingPhase="finally",A.finallyB&&(r=mn(o,l));break;case"finally":l.processingPhase="postFinally",r=rc(l);break;case"postFinally":const u=o.tryBlocks.pop();switch(u.exitType){case"break":{const g=Ze(o);if(g===void 0)throw new Error("Missing loop scope");_e(o),n=g.breakLabel;break}case"continue":{const g=Ze(o);if(g===void 0)throw new Error("Missing loop scope");n=g.continueLabel,_e(o,!1);break}case"return":n=-1;break}if(u.errorToThrow)throw u.errorToThrow;break}break}case ql:{if(e.guard)_e(o);else{let l=xo(o);l.isSwitch=!0,o.blocks.push({vars:{}});const u=await eo(A.expr,t,o);let g=-1;for(let B=0;B<A.cases.length;B++){const C=A.cases[B];if(C.caseE===void 0){g=B;break}if(await eo(C.caseE,t,o)===u){g=B;break}}const p=[];if(g>=0)for(let B=g;B<A.cases.length;B++)p.push(...A.cases[B].stmts);r=Ce([...Ur(p),Kr(A)]),l.breakLabel=r[r.length-1].label}break}}return e.removeBlockScope&&o.blocks&&o.blocks.length>0&&o.blocks.pop(),{toUnshift:r,clearToLabel:n}}async function zc(A,e,t,o,r=!1,n=!1,a=void 0){for(let g=0;g<o.length;g++){let p;const B=o[g];n?p=a:B.expr&&(p=await eo(B.expr,e,t)),i(A,B,p,r)}function i(g,p,B,C){if(p.id)s(g,p.id,B,C);else if(p.aDestr)l(g,p.aDestr,B,C);else if(p.oDestr)u(g,p.oDestr,B,C);else throw new Error("Unknown declaration specifier")}function s(g,p,B,C){if(g.vars[p])throw new Error(`Variable ${p} is already declared in the current scope.`);g.vars[p]=B,C&&(g.constVars??(g.constVars=new Set),g.constVars.add(p))}function l(g,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],E=B==null?void 0:B[m];h.id?s(g,h.id,E,C):h.aDestr?l(g,h.aDestr,E,C):h.oDestr&&u(g,h.oDestr,E,C)}}function u(g,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],E=B==null?void 0:B[h.id];h.aDestr?l(g,h.aDestr,E,C):h.oDestr?u(g,h.oDestr,E,C):s(g,h.alias??h.id,E,C)}}}function AD(A){const e=new _a(A);let t=null;try{t=e.parseStatements()}catch(o){if(e.errors.length>0){const r=e.errors[0];$a(new Ki(`${r.code}(${r.line}, ${r.column}): ${e.errors[0].text}`,A,r.position))}else throw o}if(!e.isEof){const o=e.getTail();$a(new Ki("Invalid tail found",A,A.length-o.length+1))}return t}function $d(A,e){const t=(A==null?void 0:A.length)??0;if(t===0)return[{type:Xt,expr:{type:De,args:[],statement:{type:zo}}}];if(t===1){const n=A[0];if(n.type===qo){if(e){if(n.expr.type===KA)return[r(n.expr)];if(o(n.expr))return[r(n.expr)]}return n.expr.type===De?[{type:Xt,expr:n.expr}]:[{type:Xt,expr:{type:De,args:[],statement:A[0]}}]}if(n.type===Aa)return[{type:Xt,expr:{type:De,args:[],statement:{type:Jo,stmts:[n]}}}];if(n.type===Jo)return n.stmts[0].type===qo&&n.stmts[0].expr.type===De?[{type:Xt,expr:n.stmts[0].expr}]:[{type:Xt,expr:{type:De,args:[],statement:A[0]}}]}if(t>1)return[{type:Xt,expr:{type:De,args:[],statement:{type:Jo,stmts:A}}}];return A;function o(n){return(n.type===Vo||n.type===gn&&n.member.type===Me)&&(o(n.obj)||n.obj.type===KA)}function r(n){const a=e.eventArgs?e.eventArgs.map((s,l)=>({type:KA,name:`__arg@@#__${l}__`})):[];e.eventArgs&&e.eventArgs.forEach((s,l)=>{e.localContext[`__arg@@#__${l}__`]=s});const i={type:De,args:a,statement:{type:qo,expr:{type:As,obj:n,arguments:[...a]}}};return{type:Xt,expr:i}}}async function f5(A,e,t){const o=$d(AD(A));return await Wd(o,e,t)}function b5({node:A,state:e,dispatch:t,lookupAction:o,lookupSyncCallback:r,registerComponentApi:n,onUnmount:a,appContext:i,memoedVarsRef:s}){const l=Ta(),u=d.useMemo(()=>Symbol(A.uid),[A.uid]);d.useEffect(()=>()=>{a(u)},[a,u]);const g=d.useCallback(b=>{n(u,b)},[n,u]),p=d.useCallback((b,v)=>o(b,u,v),[o,u]),B=ll(e),C=d.useMemo(()=>sh(e,i,B,s),[i,s,B,e]),m=d.useCallback(b=>{if(b)return r(C(b),u)},[r,u,C]),h=d.useCallback(b=>{t(D5(u,b))},[t,u]),E=d.useCallback(b=>{t(v5(u,b))},[t,u]),Q=d.useCallback((b,v)=>{t(y5(u,b,v))},[t,u]),I=d.useCallback(b=>{t(x5(u,b))},[t,u]),w=l.lookupLoaderRenderer(A.type);return w?w({loader:A,state:e,dispatch:t,loaderInProgressChanged:h,loaderIsRefetchingChanged:E,loaderLoaded:Q,loaderError:I,extractValue:C,registerComponentApi:g,lookupAction:p,lookupSyncCallback:m}):(console.error(`Loader ${A.type} is not available. Did you forget to register it in the loaderRegistry?`),null)}function D5(A,e){return{type:$e.LOADER_IN_PROGRESS_CHANGED,payload:{uid:A,inProgress:e}}}function v5(A,e){return{type:$e.LOADER_IS_REFETCHING_CHANGED,payload:{uid:A,isRefetching:e}}}function y5(A,e,t){return{type:$e.LOADER_LOADED,payload:{uid:A,data:e,pageInfo:t}}}function x5(A,e){return{type:$e.LOADER_ERROR,payload:{uid:A,error:e}}}const k5=d.memo(d.forwardRef(function({node:e,componentState:t,dispatch:o,parentDispatch:r,resolvedKey:n,version:a,setVersion:i,statePartChanged:s,registerComponentApi:l,parentRegisterComponentApi:u,layoutContextRef:g,parentRenderContext:p,memoedVarsRef:B,isImplicit:C,uidInfoRef:m,children:h},E){var X;const{apiBoundContainer:Q}=e,I=C?r:o,w=C?u:l,b=je(),{getThemeVar:v}=ne(),x=Ke.useNavigate(),T=Ke.useLocation(),H=d.useRef({}),P=d.useRef(t);P.current=t;const f=d.useRef({}),[y,L]=d.useTransition(),F=d.useRef(!0),S=d.useRef(new Map);be(()=>{for(const M of S.current.values())M()},[a]),d.useEffect(()=>{F.current=!0;const M=S.current;return()=>{F.current=!1;for(const G of M.values())G()}},[]);const{apiInstance:J}=ps(),R=OA(async(M,G,K,...V)=>{var rA,bA,DA;const nA=()=>G.description!==void 0&&(K==null?void 0:K.eventName)!==void 0;let sA=[];const EA=()=>{sA.length=0;const LA=wA.cloneDeep({...P.current,...(K==null?void 0:K.context)||{}});return LA.$this=P.current[G],Xb(LA,ZA=>{var SA;const TA=(SA=ZA.pathArray)==null?void 0:SA[0];if(TA!=null&&TA.startsWith("$"))throw new Error("Cannot update a read-only variable");sA.push(ZA)})},IA={...b,getThemeVar:v},iA={appContext:IA,eventArgs:V,localContext:EA(),implicitContextGetter:()=>({uid:G,state:P.current,getCurrentState:()=>P.current,dispatch:I,appContext:IA,apiInstance:J,navigate:x,location:T,lookupAction:(LA,ZA,TA={})=>z(LA,ZA,{...TA,ephemeral:!0})}),options:{defaultToOptionalMemberAccess:typeof((rA=b.appGlobals)==null?void 0:rA.defaultToOptionalMemberAccess)=="boolean"?b.appGlobals.defaultToOptionalMemberAccess:!0}};try{let LA;if(typeof M=="string")f.current[M]||(f.current[M]=$d(AD(M),iA)),LA=f.current[M];else if(eD(M)){const TA=M.parseId.toString();f.current[TA]||(f.current[TA]=$d(M.statements,iA)),LA=f.current[TA]}else LA=[{type:Xt,expr:M}];if(!(LA!=null&&LA.length))return;nA()&&I({type:$e.EVENT_HANDLER_STARTED,payload:{uid:G.description,eventName:K.eventName}});let ZA=0;if(iA.onStatementCompleted=async TA=>{if(sA.length){ZA=0,sA.forEach(ze=>{s(ze.pathArray,wA.cloneDeep(ze.newValue),ze.target,ze.action)});let SA=null;const xe=new Promise(ze=>{SA=()=>{ze(null)}}),Ie=Gi();S.current.set(Ie,SA),L(()=>{i(ze=>ze+1)}),F.current?await xe:await va(0),S.current.delete(Ie),sA=[]}else ZA++,ZA>100&&(ZA=0,await va(0));TA.localContext=EA()},await Wd(LA,iA),nA()&&I({type:$e.EVENT_HANDLER_COMPLETED,payload:{uid:G.description,eventName:K.eventName}}),(DA=(bA=iA.mainThread)==null?void 0:bA.blocks)!=null&&DA.length)return iA.mainThread.blocks[iA.mainThread.blocks.length-1].returnValue}catch(LA){throw(K==null?void 0:K.signError)!==!1&&b.signError(LA),nA()&&I({type:$e.EVENT_HANDLER_ERROR,payload:{uid:G.description,eventName:K.eventName,error:LA}}),LA}}),U=d.useCallback((M,...G)=>{var V,nA;const K={localContext:wA.cloneDeep(P.current),appContext:b,eventArgs:G};try{if(_u([{type:Xt,expr:M}],K),(nA=(V=K.mainThread)==null?void 0:V.blocks)!=null&&nA.length)return K.mainThread.blocks[K.mainThread.blocks.length-1].returnValue}catch(sA){throw console.error(sA),sA}},[b]),j=OA((M,G,K)=>{var sA;if(Array.isArray(M))throw new Error("Multiple event handlers are not supported");let V,nA;if(typeof M=="string")V=`${K==null?void 0:K.eventName};${M}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else if(eD(M))V=`${K==null?void 0:K.eventName};${M.parseId}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else if(H5(M))V=`${K==null?void 0:K.eventName};${M.statement.nodeId}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else if(M.type)V=`${K==null?void 0:K.eventName};${JSON.stringify(M)}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else throw new Error("Invalid event handler");return K!=null&&K.ephemeral||K!=null&&K.context?nA:((sA=H.current[G])!=null&&sA[V]||(H.current[G]=H.current[G]||{},H.current[G][V]=nA),H.current[G][V])}),_=d.useCallback((M,G)=>{var V;const K=`sync-callback-${M.nodeId}`;return(V=H.current[G])!=null&&V[K]||(H.current[G]=H.current[G]||{},H.current[G][K]=Mi(nA=>(...sA)=>U(nA,...sA))),H.current[G][K](M)},[U]),Z=d.useCallback((M,G)=>{if(M){if(typeof M=="function")return M;if(M){if(typeof M=="function")return M;if(!M._ARROW_EXPR_)throw new Error("Only arrow expression allowed in sync callback");return _(M,G)}}},[_]),z=d.useCallback((M,G,K)=>{let V=M;if(!M&&G.description&&(K!=null&&K.eventName)){const nA=`${G.description}_on${Oi(K==null?void 0:K.eventName)}`;t[nA]&&t[nA]._ARROW_EXPR_&&(V=t[nA])}if(V)return typeof V=="function"?V:j(V,G,K)},[t,j]),O=d.useRef(!1);d.useEffect(()=>{if(!e.api||!e.containerUid||O.current)return;O.current=!0;const M={},G=Symbol("$self");Object.entries(e.api).forEach(([K,V])=>{M[K]=z(V,G)}),C||w(G,M),u(e.containerUid,M)},[z,e.api,e.containerUid,e.uid,C,u,w]);const Y=OA(M=>{delete H.current[M]}),q=d.useCallback((M,G,K,V,nA)=>{if(typeof M=="string")throw Error("should be resolved for now");const sA=wA.isArray(M)?M:[M];if(!sA||!sA.length)return null;const EA=sA.length>1,IA=sA.map((iA,rA)=>{if(!iA)return;const bA=sD({node:iA,state:t,dispatch:I,appContext:b,lookupAction:z,lookupSyncCallback:Z,registerComponentApi:w,renderChild:q,statePartChanged:s,layoutContext:G,parentRenderContext:K,memoedVarsRef:B,cleanup:Y,uidInfoRef:V});if(bA===void 0)return;let DA=bA;const LA=`${rA}_${iA.uid}`;return EA&&(d.isValidElement(bA)?DA=d.cloneElement(bA,{key:LA}):DA=c.jsx(d.Fragment,{children:bA},LA)),DA});return IA.length===1?nA&&IA[0]&&d.isValidElement(IA[0])?d.cloneElement(IA[0],{ref:Et(nA,IA[0].ref)}):IA[0]:IA},[t,I,b,z,Z,w,s,B,Y]);(X=e.props)!=null&&X.debug&&console.log(`Container: ${n}`,{componentState:t,node:e});const eA={},AA=d.useRef({}),uA=e.uses===void 0?m:AA,gA=q(e.children,g==null?void 0:g.current,p,uA,E),cA=S5({uidInfo:eA,uidInfoRef:uA,loaders:e.loaders,componentState:t,memoedVarsRef:B,dispatch:Q?o:I,registerComponentApi:Q?l:w,appContext:b,lookupAction:z,lookupSyncCallback:Z,cleanup:Y}),BA=c.jsxs(c.Fragment,{children:[cA,h&&d.isValidElement(gA)?d.cloneElement(gA,null,h):gA]});return c.jsx(d.Fragment,{children:BA},e.uid?`${n}>${FA(t,e.uid,b,!0)}`:void 0)}));function S5({uidInfo:A,uidInfoRef:e,loaders:t=Ae,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,cleanup:l,memoedVarsRef:u}){return t.map(p=>{if(p!=null&&p.uid){if(A[p.uid])throw new Error(`Another ${A[p.uid]} definition in this container already uses the uid '${p.uid}'`);A[p.uid]="loader",e.current[p.uid]={type:"loader",value:"loaderValue",uid:p.uid}}const B=g({loader:p,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,memoedVarsRef:u,cleanup:l});if(B!==void 0)return c.jsx(d.Fragment,{children:B},p.uid)});function g({loader:p,componentState:B,dispatch:C,appContext:m,registerComponentApi:h,lookupAction:E,lookupSyncCallback:Q,cleanup:I,memoedVarsRef:w}){return!p||!$u(p.when,B,m)?null:c.jsx(b5,{onUnmount:I,node:p,state:B,dispatch:C,registerComponentApi:h,lookupAction:E,lookupSyncCallback:Q,memoedVarsRef:w,appContext:m})}}function eD(A){return A.__PARSED===!0}function H5(A){return A.type===De}const M5=d.memo(d.forwardRef(function({node:e,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,isImplicit:u,children:g,...p},B){const[C,m]=d.useState(0),h=T5(),E=d.useRef(new Map),Q=Ve(d.useMemo(()=>L5(o,e.uses),[e.uses,o])),I=Ub(),w=ZO(I),[b,v]=d.useReducer(w,jA),[x,T]=d.useState(jA),H=Ve(d.useMemo(()=>{const O={...b};for(const Y of Object.getOwnPropertySymbols(b)){const q=b[Y];Y.description&&(O[Y.description]=q)}if(Reflect.ownKeys(x).length===0)return O;for(const Y of Object.getOwnPropertySymbols(x)){const q=x[Y];if(Y.description){const eA=Y.description;O[eA]={...O[eA]||{},...q}}O[Y]={...O[Y],...q}}return O},[b,x])),P=tD(Q,H,e.contextVars),f=e.scriptCollected;if(f!=null&&f.moduleErrors&&!wA.isEmpty(f.moduleErrors))throw new qc(f.moduleErrors);if(e.scriptError&&!wA.isEmpty(e.scriptError))throw new qc(e.scriptError);const y=ll(b),L=Ve({...f==null?void 0:f.functions,...e.functions,...f==null?void 0:f.vars,...e.vars}),F=d.useMemo(()=>{const O={};return Object.entries(L).forEach(([Y,q])=>{Vc(q)&&q.tree.type===De&&(O[Y]=ac(q.tree,y))}),VO(O)},[y,L]),S=oD(L,F,P,d.useRef(new Map)),J=Ve({...S,...P}),R=oD(L,F,J,E),U=N5(R,H),j=tD(Q,e.contextVars,U,h),_=d.useCallback((O,Y)=>{T(he(q=>{q[O]||(q[O]={}),Object.entries(Y).forEach(([eA,AA])=>{q[O][eA]!==AA&&(q[O][eA]=AA)})}))},[]),Z=d.useRef(H),z=d.useCallback((O,Y,q,eA)=>{const AA=O[0];AA in Z.current||AA in R?v({type:$e.STATE_PART_CHANGED,payload:{path:O,value:Y,target:q,actionType:eA,localVars:R}}):(!e.uses||e.uses.includes(AA))&&r(O,Y,q,eA)},[R,e.uses,r]);return c.jsx($i,{node:e,location:"container",children:c.jsx(k5,{resolvedKey:t,node:e,componentState:j,dispatch:v,parentDispatch:a,setVersion:m,version:C,statePartChanged:z,registerComponentApi:_,parentRegisterComponentApi:n,layoutContextRef:s,parentRenderContext:i,memoedVarsRef:E,isImplicit:u,ref:B,uidInfoRef:l,...p,children:g})})})),T5=()=>{const[A]=Ke.useSearchParams(),e=Ke.useParams(),t=Ke.useLocation(),o=hC(),r=d.useMemo(()=>{var a;return((a=o==null?void 0:o.linkMap)==null?void 0:a.get(t.pathname))||jA},[o==null?void 0:o.linkMap,t.pathname]),n=d.useMemo(()=>{const a={};for(const[i,s]of Array.from(A.entries()))a[i]=s;return a},[A]);return d.useMemo(()=>({$pathname:t.pathname,$routeParams:e,$queryParams:n,$linkInfo:r}),[r,t.pathname,n,e])};function L5(A,e){return e?e.length===0?jA:wA.pick(A,e):A}function tD(...A){const e=d.useMemo(()=>{let t={};return A.forEach((o=jA)=>{o!==jA&&(t={...t,...o})}),t},[A]);return Ve(e)}function N5(A,e){const t=d.useMemo(()=>{const o={...A};return Reflect.ownKeys(e).forEach(r=>{const n=e[r];o[r]===void 0?o[r]=n:wA.isPlainObject(o[r])&&wA.isPlainObject(n)||Array.isArray(o[r])&&Array.isArray(n)?o[r]=wA.merge(wA.cloneDeep(o[r]),n):o[r]=n}),o},[A,e]);return Ve(t)}function oD(A=jA,e=jA,t,o){const r=je(),n=ll(t),a=d.useMemo(()=>{const i={};return Object.entries(A).forEach(([s,l])=>{if(s==="$props")i[s]=l;else if(!Vc(l)&&typeof l!="string")i[s]=l;else{o.current.has(l)||o.current.set(l,{getDependencies:Mi((C,m)=>{if(Vc(C))return ac(C.tree,m);const h=Yu(C);let E=new Set;return h.forEach(Q=>{Q.type==="expression"&&(E=new Set([...E,...ac(Q.value,m)]))}),Array.from(E)}),obtainValue:Mi((C,m,h,E,Q,I)=>{try{return Vc(C)?Ct(C.tree,{localContext:m,appContext:h,options:{defaultToOptionalMemberAccess:!0}}):FA(m,C,h,E)}catch(w){throw console.log(m),new F5(C,w)}},([C,m,h,E,Q,I],[w,b,v,x,T,H])=>Ri(Q,T)&&Ri(I,H))});const u={...i,...t};let g=[];e[s]?g=e[s]:(o.current.get(l).getDependencies(l,n).forEach(C=>{e[C]?g.push(...e[C]):g.push(C)}),g=[...new Set(g)]);const p=il(u,g),B=il(r,g);i[s]=o.current.get(l).obtainValue(l,u,r,!0,p,B)}}),i},[r,t,e,o,n,A]);return Ve(a)}class qc extends Error{constructor(e){const o=(e.Main||[]).map(r=>{let n=`${r.code} : ${r.text}`;const a=[];return r.line!==void 0&&a.push(`line:${r.line}`),r.column!==void 0&&a.push(`column:${r.column}`),a.length&&(n=`${n} (${a.join(", ")})`),n});super(o.join(`
|
|
245
|
+
c0.166,0,0.3,0.134,0.3,0.3v4.367c0,0.166-0.134,0.3-0.3,0.3h-0.409C11.626,17.473,11.492,17.339,11.492,17.173z`}}]}]})(A)}const Y3="data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208.5C16.9706%208.5%2021%207.15685%2021%205.5C21%203.84315%2016.9706%202.5%2012%202.5C7.02944%202.5%203%203.84315%203%205.5C3%207.15685%207.02944%208.5%2012%208.5Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012.5C21%2014.16%2017%2015.5%2012%2015.5C7%2015.5%203%2014.16%203%2012.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5V19.5C3%2021.16%207%2022.5%2012%2022.5C17%2022.5%2021%2021.16%2021%2019.5V5.5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",j3=A=>c.jsx(Y3,{...A}),_3="data:image/svg+xml,%3csvg%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16px'%20height='16px'%20viewBox='0%200%2016%2016'%20version='1.1'%3e%3cg%20id='surface1'%3e%3cpath%20stroke='none'%20fill-rule='nonzero'%20fill-opacity='1'%20d='M%209.886719%205.171875%20L%206.113281%208.941406%20C%205.855469%209.203125%205.855469%209.625%206.113281%209.886719%20C%206.375%2010.144531%206.796875%2010.144531%207.058594%209.886719%20L%2010.828125%206.113281%20C%2011.609375%205.332031%2011.609375%204.066406%2010.828125%203.285156%20C%2010.046875%202.503906%208.78125%202.503906%208%203.285156%20L%204.230469%207.058594%20C%202.925781%208.359375%202.925781%2010.46875%204.230469%2011.769531%20C%205.53125%2013.074219%207.640625%2013.074219%208.941406%2011.769531%20L%2012.714844%208%20L%2013.65625%208.941406%20L%209.886719%2012.714844%20C%208.0625%2014.535156%205.109375%2014.535156%203.285156%2012.714844%20C%201.464844%2010.890625%201.464844%207.9375%203.285156%206.113281%20L%207.058594%202.34375%20C%208.359375%201.042969%2010.46875%201.042969%2011.769531%202.34375%20C%2013.074219%203.644531%2013.074219%205.753906%2011.769531%207.058594%20L%208%2010.828125%20C%207.21875%2011.609375%205.953125%2011.609375%205.171875%2010.828125%20C%204.390625%2010.046875%204.390625%208.78125%205.171875%208%20L%208.941406%204.230469%20Z%20M%209.886719%205.171875%20'/%3e%3c/g%3e%3c/svg%3e",W3=A=>c.jsx(_3,{...A}),$3="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2013C10.4295%2013.5741%2010.9774%2014.0491%2011.6066%2014.3929C12.2357%2014.7367%2012.9315%2014.9411%2013.6467%2014.9923C14.3618%2015.0435%2015.0796%2014.9403%2015.7513%2014.6897C16.4231%2014.4392%2017.0331%2014.047%2017.54%2013.54L20.54%2010.54C21.4508%209.59695%2021.9548%208.33394%2021.9434%207.02296C21.932%205.71198%2021.4061%204.45791%2020.4791%203.53087C19.5521%202.60383%2018.298%202.07799%2016.987%202.0666C15.676%202.0552%2014.413%202.55918%2013.47%203.46997L11.75%205.17997'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0002%2011.0012C13.5707%2010.4271%2013.0228%209.95202%2012.3936%209.60826C11.7645%209.2645%2011.0687%209.06009%2010.3535%209.00887C9.63841%208.95765%208.92061%209.06083%208.24885%209.31142C7.5771%209.56201%206.96709%209.95413%206.4602%2010.4612L3.4602%2013.4612C2.54941%2014.4042%202.04544%2015.6672%202.05683%2016.9782C2.06822%2018.2892%202.59407%2019.5433%203.52111%2020.4703C4.44815%2021.3973%205.70221%2021.9232%207.01319%2021.9346C8.32418%2021.946%209.58719%2021.442%2010.5302%2020.5312L12.2402%2018.8212'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",J3={binding:"_binding_14mdd_1"},z3=A=>c.jsx($3,{className:J3.binding,...A}),q3=A=>c.jsx(vQ,{...A}),V3="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",X3=A=>c.jsx(V3,{...A}),Z3=A=>c.jsx(rM,{...A}),AG=A=>c.jsx(bQ,{...A}),eG=A=>c.jsx(DQ,{...A}),tG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6665%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.99967L8.6665%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.6665%201.33301V5.99967H13.3332'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%2010.6667L10.6668%209.33333L9.3335%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.6665%208.00033L5.33317%209.33366L6.6665%2010.667'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",oG=A=>c.jsx(tG,{...A}),rG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2010.6669V5.33359C13.9998%205.09978%2013.938%204.87013%2013.821%204.6677C13.704%204.46527%2013.5358%204.29717%2013.3333%204.18026L8.66667%201.51359C8.46397%201.39657%208.23405%201.33496%208%201.33496C7.76595%201.33496%207.53603%201.39657%207.33333%201.51359L2.66667%204.18026C2.46418%204.29717%202.29599%204.46527%202.17897%204.6677C2.06196%204.87013%202.00024%205.09978%202%205.33359V10.6669C2.00024%2010.9007%202.06196%2011.1304%202.17897%2011.3328C2.29599%2011.5353%202.46418%2011.7034%202.66667%2011.8203L7.33333%2014.4869C7.53603%2014.604%207.76595%2014.6656%208%2014.6656C8.23405%2014.6656%208.46397%2014.604%208.66667%2014.4869L13.3333%2011.8203C13.5358%2011.7034%2013.704%2011.5353%2013.821%2011.3328C13.938%2011.1304%2013.9998%2010.9007%2014%2010.6669Z'%20stroke='%233B3B3B'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%202.80664L8%204.53997L11%202.80664'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013.1933V9.73333L2%208'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%208L11%209.73333V13.1933'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.18018%204.63965L8.00018%208.00632L13.8202%204.63965'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8%2014.72V8'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",nG=A=>c.jsx(rG,{...A}),aG=A=>c.jsx(yQ,{...A}),iG=A=>c.jsx(f3,{...A}),sG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C16.9706%208%2021%206.65685%2021%205C21%203.34315%2016.9706%202%2012%202C7.02944%202%203%203.34315%203%205C3%206.65685%207.02944%208%2012%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2012C21%2013.66%2017%2015%2012%2015C7%2015%203%2013.66%203%2012'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205V19C3%2020.66%207%2022%2012%2022C17%2022%2021%2020.66%2021%2019V5'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",lG={database:"_database_14jkq_1"},cG=A=>c.jsx(sG,{className:lG.database,...A}),gG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.33317%201.33301H3.99984C3.64622%201.33301%203.30708%201.47348%203.05703%201.72353C2.80698%201.97358%202.6665%202.31272%202.6665%202.66634V13.333C2.6665%2013.6866%202.80698%2014.0258%203.05703%2014.2758C3.30708%2014.5259%203.64622%2014.6663%203.99984%2014.6663H11.9998C12.3535%2014.6663%2012.6926%2014.5259%2012.9426%2014.2758C13.1927%2014.0258%2013.3332%2013.6866%2013.3332%2013.333V5.33301L9.33317%201.33301Z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.3335%201.33301V5.33301H13.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%208.66699H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6668%2011.333H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.66683%206H6.00016H5.3335'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",uG=A=>c.jsx(gG,{...A}),dG="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_15061)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H2.76551C1.36355%200%200.227051%201.10179%200.227051%202.46094V25.5391C0.227051%2026.8982%201.36355%2028%202.76551%2028H19.6886C21.0906%2028%2022.2271%2026.8982%2022.2271%2025.5391V7.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='currentColor'/%3e%3cpath%20d='M16.304%2013.1797H6.15011C5.68241%2013.1797%205.30396%2012.8128%205.30396%2012.3594C5.30396%2011.906%205.68241%2011.5391%206.15011%2011.5391H16.304C16.7717%2011.5391%2017.1501%2011.906%2017.1501%2012.3594C17.1501%2012.8128%2016.7717%2013.1797%2016.304%2013.1797Z'%20fill='white'/%3e%3cpath%20d='M16.304%2016.4609H6.15011C5.68241%2016.4609%205.30396%2016.094%205.30396%2015.6406C5.30396%2015.1872%205.68241%2014.8203%206.15011%2014.8203H16.304C16.7717%2014.8203%2017.1501%2015.1872%2017.1501%2015.6406C17.1501%2016.094%2016.7717%2016.4609%2016.304%2016.4609Z'%20fill='white'/%3e%3cpath%20d='M16.304%2019.7422H6.15011C5.68241%2019.7422%205.30396%2019.3753%205.30396%2018.9219C5.30396%2018.4685%205.68241%2018.1016%206.15011%2018.1016H16.304C16.7717%2018.1016%2017.1501%2018.4685%2017.1501%2018.9219C17.1501%2019.3753%2016.7717%2019.7422%2016.304%2019.7422Z'%20fill='white'/%3e%3cpath%20d='M12.9193%2023.0234H6.15011C5.68241%2023.0234%205.30396%2022.6565%205.30396%2022.2031C5.30396%2021.7497%205.68241%2021.3828%206.15011%2021.3828H12.9193C13.387%2021.3828%2013.7655%2021.7497%2013.7655%2022.2031C13.7655%2022.6565%2013.387%2023.0234%2012.9193%2023.0234Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_15061'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Wb=A=>c.jsx(dG,{...A}),BG=A=>c.jsx(d3,{...A}),pG=A=>c.jsx(B3,{...A}),CG=A=>c.jsx(w3,{...A}),mG="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3cpath%20d='M10.9928%200.157898H29C29.5523%200.157898%2030%200.605613%2030%201.1579V20C30%2020.5523%2029.5523%2021%2029%2021H1.00002C0.447731%2021%201.71661e-05%2020.5523%201.71661e-05%2020V3.93087C1.71661e-05%203.37858%200.447733%202.93087%201.00002%202.93087H6.55236L10.9928%200.157898Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",hG=A=>c.jsx(mG,{...A}),QG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21%2016.0019V8.00186C20.9996%207.65113%2020.9071%207.30667%2020.7315%207.00302C20.556%206.69937%2020.3037%206.44722%2020%206.27186L13%202.27186C12.696%202.09632%2012.3511%202.00391%2012%202.00391C11.6489%202.00391%2011.304%202.09632%2011%202.27186L4%206.27186C3.69626%206.44722%203.44398%206.69937%203.26846%207.00302C3.09294%207.30667%203.00036%207.65113%203%208.00186V16.0019C3.00036%2016.3526%203.09294%2016.697%203.26846%2017.0007C3.44398%2017.3043%203.69626%2017.5565%204%2017.7319L11%2021.7319C11.304%2021.9074%2011.6489%2021.9998%2012%2021.9998C12.3511%2021.9998%2012.696%2021.9074%2013%2021.7319L20%2017.7319C20.3037%2017.5565%2020.556%2017.3043%2020.7315%2017.0007C20.9071%2016.697%2020.9996%2016.3526%2021%2016.0019Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.26953%206.96094L11.9995%2012.0109L20.7295%206.96094'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%2022.08V12'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",EG=A=>c.jsx(QG,{...A}),IG=A=>c.jsx(kH,{...A}),wG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%203H2L10%2012.46V19L14%2021V12.46L22%203Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",fG=A=>c.jsx(wG,{...A}),bG="data:image/svg+xml,%3csvg%20viewBox='0%200%2030%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.58122%200H1C0.447715%200%200%200.447715%200%200.999999V21.0737H30V3.71273H12.0217L7.58122%200Z'%20fill='%23ADDAE9'/%3e%3crect%20x='1.2179'%20y='2.44446'%20width='28.0128'%20height='15.8889'%20fill='white'/%3e%3cpath%20d='M10.9928%201.1579H29C29.5523%201.1579%2030%201.60561%2030%202.1579V21C30%2021.5523%2029.5523%2022%2029%2022H1.00002C0.447731%2022%201.71661e-05%2021.5523%201.71661e-05%2021V4.93087C1.71661e-05%204.37858%200.447733%203.93087%201.00002%203.93087H6.55236L10.9928%201.1579Z'%20fill='%23CAE9F3'/%3e%3c/svg%3e",DG=A=>c.jsx(bG,{...A}),vG=A=>c.jsx(E3,{...A}),yG=A=>c.jsx(BM,{...A}),xG=A=>c.jsx(I3,{...A}),kG="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14704)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14704'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",SG=A=>c.jsx(kG,{...A});function HG(A){return CA({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M74.6 256c0-38.3 31.1-69.4 69.4-69.4h88V144h-88c-61.8 0-112 50.2-112 112s50.2 112 112 112h88v-42.6h-88c-38.3 0-69.4-31.1-69.4-69.4zm85.4 22h192v-44H160v44zm208-134h-88v42.6h88c38.3 0 69.4 31.1 69.4 69.4s-31.1 69.4-69.4 69.4h-88V368h88c61.8 0 112-50.2 112-112s-50.2-112-112-112z"}}]})(A)}const MG=A=>c.jsx(HG,{...A}),TG=A=>c.jsx(yQ,{...A}),LG=A=>c.jsx(U3,{...A}),NG=A=>c.jsx(mM,{...A}),FG="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1813_15242)'%3e%3cpath%20d='M21.788%207.38281L16.3739%205.74219L14.827%200H3.22546C2.37112%200%201.67859%200.734508%201.67859%201.64062V26.3594C1.67859%2027.2655%202.37112%2028%203.22546%2028H20.2411C21.0954%2028%2021.788%2027.2655%2021.788%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7879%207.38281V26.3594C21.7879%2027.2655%2021.0954%2028%2020.2411%2028H11.8571V0H14.827L16.3739%205.74219L21.7879%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.788%207.38281H16.3739C15.5231%207.38281%2014.827%206.64453%2014.827%205.74219V0C15.0281%200%2015.2292%200.0820312%2015.3684%200.246148L21.5559%206.80865C21.7106%206.95625%2021.788%207.16953%2021.788%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4445%200.855556%2012.4445H19.6778C20.1483%2012.4445%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23FF3E3E'/%3e%3cpath%20d='M4.25304%2017.732V16.448H4.98504C5.09304%2016.448%205.19704%2016.456%205.29704%2016.472C5.39704%2016.488%205.48504%2016.52%205.56104%2016.568C5.63704%2016.612%205.69704%2016.676%205.74104%2016.76C5.78904%2016.844%205.81304%2016.954%205.81304%2017.09C5.81304%2017.226%205.78904%2017.336%205.74104%2017.42C5.69704%2017.504%205.63704%2017.57%205.56104%2017.618C5.48504%2017.662%205.39704%2017.692%205.29704%2017.708C5.19704%2017.724%205.09304%2017.732%204.98504%2017.732H4.25304ZM3.31104%2015.716V20H4.25304V18.464H5.24304C5.51104%2018.464%205.73904%2018.426%205.92704%2018.35C6.11504%2018.27%206.26704%2018.166%206.38304%2018.038C6.50304%2017.91%206.58904%2017.764%206.64104%2017.6C6.69704%2017.432%206.72504%2017.262%206.72504%2017.09C6.72504%2016.914%206.69704%2016.744%206.64104%2016.58C6.58904%2016.416%206.50304%2016.27%206.38304%2016.142C6.26704%2016.014%206.11504%2015.912%205.92704%2015.836C5.73904%2015.756%205.51104%2015.716%205.24304%2015.716H3.31104Z'%20fill='white'/%3e%3cpath%20d='M8.85499%2019.208V16.508H9.52699C9.75899%2016.508%209.95299%2016.542%2010.109%2016.61C10.269%2016.674%2010.397%2016.768%2010.493%2016.892C10.589%2017.016%2010.657%2017.166%2010.697%2017.342C10.741%2017.514%2010.763%2017.708%2010.763%2017.924C10.763%2018.16%2010.733%2018.36%2010.673%2018.524C10.613%2018.688%2010.533%2018.822%2010.433%2018.926C10.333%2019.026%2010.219%2019.098%2010.091%2019.142C9.96299%2019.186%209.83099%2019.208%209.69499%2019.208H8.85499ZM7.91299%2015.716V20H9.76099C10.089%2020%2010.373%2019.946%2010.613%2019.838C10.857%2019.726%2011.059%2019.574%2011.219%2019.382C11.383%2019.19%2011.505%2018.962%2011.585%2018.698C11.665%2018.434%2011.705%2018.146%2011.705%2017.834C11.705%2017.478%2011.655%2017.168%2011.555%2016.904C11.459%2016.64%2011.323%2016.42%2011.147%2016.244C10.975%2016.068%2010.769%2015.936%2010.529%2015.848C10.293%2015.76%2010.037%2015.716%209.76099%2015.716H7.91299Z'%20fill='white'/%3e%3cpath%20d='M12.9603%2015.716V20H13.9023V18.23H15.6963V17.498H13.9023V16.508H15.9723V15.716H12.9603Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1813_15242'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",PG=A=>c.jsx(FG,{...A}),GG=A=>c.jsx(R3,{...A}),OG=A=>c.jsx(hM,{...A}),RG="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1960_14734)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23F2F2F2'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23E1E1E1'/%3e%3cpath%20d='M9%2017L14.1962%2021.5H3.80385L9%2017Z'%20fill='%238BDC6F'/%3e%3cpath%20d='M13%2014L18.1963%2021.5H7.80396L13%2014Z'%20fill='%238BDC6F'/%3e%3ccircle%20cx='7'%20cy='11'%20r='2'%20fill='%23EFC942'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1960_14734'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",UG=A=>c.jsx(RG,{...A}),KG=A=>c.jsx(LH,{...A}),YG=A=>c.jsx(EM,{...A}),jG="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M18%208C19.6569%208%2021%206.65685%2021%205C21%203.34315%2019.6569%202%2018%202C16.3431%202%2015%203.34315%2015%205C15%206.65685%2016.3431%208%2018%208Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M6%2015C7.65685%2015%209%2013.6569%209%2012C9%2010.3431%207.65685%209%206%209C4.34315%209%203%2010.3431%203%2012C3%2013.6569%204.34315%2015%206%2015Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M18%2022C19.6569%2022%2021%2020.6569%2021%2019C21%2017.3431%2019.6569%2016%2018%2016C16.3431%2016%2015%2017.3431%2015%2019C15%2020.6569%2016.3431%2022%2018%2022Z'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M8.58984%2013.51L15.4198%2017.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M15.4098%206.51001L8.58984%2010.49'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e",_G=A=>c.jsx(jG,{...A}),WG=A=>c.jsx(Q3,{...A}),$G="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14941)'%3e%3cpath%20d='M21.7881%207.38281L16.374%205.74219L14.8271%200H3.22559C2.37125%200%201.67871%200.734508%201.67871%201.64062V26.3594C1.67871%2027.2655%202.37125%2028%203.22559%2028H20.2412C21.0956%2028%2021.7881%2027.2655%2021.7881%2026.3594V7.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281V26.3594C21.7881%2027.2655%2021.0955%2028%2020.2412%2028H11.8572V0H14.8271L16.374%205.74219L21.7881%207.38281Z'%20fill='%23EDEDED'/%3e%3cpath%20d='M21.7881%207.38281H16.374C15.5232%207.38281%2014.8271%206.64453%2014.8271%205.74219V0C15.0282%200%2015.2293%200.0820312%2015.3685%200.246148L21.556%206.80865C21.7107%206.95625%2021.7881%207.16953%2021.7881%207.38281Z'%20fill='%23BDBDBD'/%3e%3cpath%20d='M20.5333%2022.4259C20.5333%2022.925%2020.1483%2023.3333%2019.6778%2023.3333H0.855556C0.385%2023.3333%200%2022.925%200%2022.4259V13.3519C0%2012.8528%200.385%2012.4444%200.855556%2012.4444H19.6778C20.1483%2012.4444%2020.5333%2012.8528%2020.5333%2013.3519V22.4259Z'%20fill='%23161C28'/%3e%3cpath%20d='M4.62629%2016.508V20H5.56828V16.508H6.85229V15.716H3.34229V16.508H4.62629Z'%20fill='white'/%3e%3cpath%20d='M8.99625%2017.756L7.50225%2020H8.55825L9.51225%2018.518L10.4483%2020H11.5703L10.0763%2017.762L11.4503%2015.716H10.4183L9.54825%2017.084L8.70825%2015.716H7.61625L8.99625%2017.756Z'%20fill='white'/%3e%3cpath%20d='M13.4962%2016.508V20H14.4382V16.508H15.7222V15.716H12.2122V16.508H13.4962Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14941'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",JG=A=>c.jsx($G,{...A}),zG="data:image/svg+xml,%3csvg%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1811_14989)'%3e%3cpath%20d='M22.2271%207.38281L16.304%205.74219L14.6117%200H1.91936C0.984697%200%200.227051%200.734508%200.227051%201.64062V26.3594C0.227051%2027.2655%200.984697%2028%201.91936%2028H20.5347C21.4694%2028%2022.2271%2027.2655%2022.2271%2026.3594V7.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.2271%207.38281V26.3594C22.2271%2027.2655%2021.4695%2028%2020.5348%2028H11.3625V0H14.6117L16.304%205.74219L22.2271%207.38281Z'%20fill='%23C9E3F4'/%3e%3cpath%20d='M22.227%207.38281H16.3039C15.3731%207.38281%2014.6116%206.64453%2014.6116%205.74219V0C14.8316%200%2015.0516%200.0820312%2015.2038%200.246148L21.9731%206.80865C22.1423%206.95625%2022.227%207.16953%2022.227%207.38281Z'%20fill='%23AAC4D6'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1811_14989'%3e%3crect%20width='22'%20height='28'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",qG=A=>c.jsx(zG,{...A}),VG="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2012.4503C10.3236%2012.894%2010.7365%2013.2612%2011.2106%2013.5269C11.6847%2013.7926%2012.209%2013.9505%2012.7479%2013.9901C13.2868%2014.0297%2013.8277%2013.95%2014.3339%2013.7563C14.8401%2013.5626%2015.2998%2013.2596%2015.6817%2012.8677L17.9424%2010.549C18.6287%209.82019%2019.0084%208.84404%2018.9999%207.83081C18.9913%206.81758%2018.595%205.84834%2017.8965%205.13185C17.1979%204.41536%2016.2529%204.00895%2015.265%204.00015C14.2771%203.99134%2013.3254%204.38085%2012.6148%205.08478L11.3187%206.4064'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13%2010.5497C12.6764%2010.106%2012.2635%209.73881%2011.7894%209.47313C11.3153%209.20745%2010.791%209.04946%2010.2521%209.00987C9.7132%208.97029%209.17231%209.05004%208.66611%209.24371C8.15991%209.43738%207.70024%209.74045%207.31828%2010.1323L5.05764%2012.451C4.37132%2013.1798%203.99156%2014.156%204.00014%2015.1692C4.00873%2016.1824%204.40497%2017.1517%205.10354%2017.8681C5.80211%2018.5846%206.7471%2018.991%207.73498%2018.9999C8.72287%2019.0087%209.6746%2018.6192%2010.3852%2017.9152L11.6738%2016.5936'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.1582%202.67383L9.06952%205.30645'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.4316%2017.667L16.8262%2015.3902'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%205.28906L7.23775%206.94848'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.7402%2014.2783L18.1301%2013.3044'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",XG=A=>c.jsx(VG,{...A}),ZG=A=>c.jsx(xQ,{...A}),AO="data:image/svg+xml,%3csvg%20width='22'%20height='28'%20viewBox='0%200%2022%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.9982%207.38281L16.0756%205.74219L14.3835%200H1.69217C0.757586%200%200%200.734508%200%201.64062V26.3594C0%2027.2655%200.757586%2028%201.69217%2028H20.3061C21.2407%2028%2021.9982%2027.2655%2021.9982%2026.3594V7.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M21.9982%207.38281V26.3594C21.9982%2027.2655%2021.2406%2028%2020.306%2028H11.1345V0H14.3834L16.0756%205.74219L21.9982%207.38281Z'%20fill='%2359C36A'/%3e%3cpath%20d='M16.0753%2011.5391H5.92226C5.4546%2011.5391%205.07617%2011.906%205.07617%2012.3594V22.2031C5.07617%2022.6565%205.4546%2023.0234%205.92226%2023.0234H16.0753C16.543%2023.0234%2016.9214%2022.6565%2016.9214%2022.2031V12.3594C16.9214%2011.906%2016.543%2011.5391%2016.0753%2011.5391ZM6.76834%2016.4609H10.1527V18.1016H6.76834V16.4609ZM11.8449%2016.4609H15.2292V18.1016H11.8449V16.4609ZM15.2292%2014.8203H11.8449V13.1797H15.2292V14.8203ZM10.1527%2013.1797V14.8203H6.76834V13.1797H10.1527ZM6.76834%2019.7422H10.1527V21.3828H6.76834V19.7422ZM11.8449%2021.3828V19.7422H15.2292V21.3828H11.8449Z'%20fill='white'/%3e%3cpath%20d='M16.0758%2011.5391H11.1365V23.0234H16.0758C16.5435%2023.0234%2016.9219%2022.6565%2016.9219%2022.2031V12.3594C16.9219%2011.906%2016.5435%2011.5391%2016.0758%2011.5391ZM15.2297%2021.3828H11.8454V19.7422H15.2297V21.3828ZM15.2297%2018.1016H11.8454V16.4609H15.2297V18.1016ZM15.2297%2014.8203H11.8454V13.1797H15.2297V14.8203Z'%20fill='white'/%3e%3cpath%20d='M21.9995%207.38281H16.0769C15.1462%207.38281%2014.3848%206.64453%2014.3848%205.74219V0C14.6047%200%2014.8247%200.0820312%2014.977%200.246148L21.7457%206.80865C21.9149%206.95625%2021.9995%207.16953%2021.9995%207.38281Z'%20fill='%23A0DEB0'/%3e%3c/svg%3e",eO=A=>c.jsx(AO,{...A}),tO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-up'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%2017l6%20-6l4%204l8%20-8'%20/%3e%3cpath%20d='M14%207l7%200l0%207'%20/%3e%3c/svg%3e",oO=A=>c.jsx(tO,{...A}),rO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20class='icon%20icon-tabler%20icon-tabler-trending-down'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20stroke-width='2'%20stroke='currentColor'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M3%207l6%206l4%20-4l8%208'%20/%3e%3cpath%20d='M21%2010l0%207l-7%200'%20/%3e%3c/svg%3e",nO=A=>c.jsx(rO,{...A}),aO=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor"}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),iO=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor"})]}),sO=A=>c.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",...A,children:[c.jsx("rect",{id:"sortasc",x:"0",y:"0",width:"24",height:"24",fill:"none"}),c.jsx("path",{d:"M12,2l7,8l-14,-0l7,-8Z",fill:"currentColor",fillOpacity:.5}),c.jsx("path",{d:"M12,22l-7,-8l14,-0l-7,8Z",fill:"currentColor",fillOpacity:.5})]}),lO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20ms-1'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'%3e%3c/path%3e%3cpath%20d='M5%2012l14%200'%3e%3c/path%3e%3c/svg%3e",cO=A=>c.jsx(lO,{...A}),gO="data:image/svg+xml,%3csvg%20width='56'%20height='56'%20viewBox='0%200%2056%2056'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_8732_12671)'%3e%3crect%20x='10'%20y='10'%20width='36'%20height='36'%20rx='6'%20fill='%23143566'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M28.834%2018.6667H23.0007C22.5586%2018.6667%2022.1347%2018.8423%2021.8221%2019.1549C21.5096%2019.4675%2021.334%2019.8914%2021.334%2020.3334V33.6667C21.334%2034.1088%2021.5096%2034.5327%2021.8221%2034.8453C22.1347%2035.1578%2022.5586%2035.3334%2023.0007%2035.3334H33.0007C33.4427%2035.3334%2033.8666%2035.1578%2034.1792%2034.8453C34.4917%2034.5327%2034.6673%2034.1088%2034.6673%2033.6667V24.5001L28.834%2018.6667Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.834%2018.6667V24.5001H34.6673'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.666%2030.3333L31.3327%2028.6667L29.666%2027'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.334%2026.9999L24.6673%2028.6666L26.334%2030.3333'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_8732_12671'%20x='0'%20y='0'%20width='56'%20height='56'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.2%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_8732_12671'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_8732_12671'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",uO=A=>c.jsx(gO,{...A}),dO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='M600-640%20480-760l120-120%20120%20120-120%20120Zm200%20120-80-80%2080-80%2080%2080-80%2080ZM483-80q-84%200-157.5-32t-128-86.5Q143-253%20111-326.5T79-484q0-146%2093-257.5T409-880q-18%2099%2011%20193.5T520-521q71%2071%20165.5%20100T879-410q-26%20144-138%20237T483-80Zm0-80q88%200%20163-44t118-121q-86-8-163-43.5T463-465q-61-61-97-138t-43-163q-77%2043-120.5%20118.5T159-484q0%20135%2094.5%20229.5T483-160Zm-20-305Z'/%3e%3c/svg%3e",BO=A=>c.jsx(dO,{...A}),pO="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='currentColor'%3e%3cpath%20d='m354-287%20126-76%20126%2077-33-144%20111-96-146-13-58-136-58%20135-146%2013%20111%2097-33%20143ZM233-120l65-281L80-590l288-25%20112-265%20112%20265%20288%2025-218%20189%2065%20281-247-149-247%20149Zm457-560%2021-89-71-59%2094-8%2036-84%2036%2084%2094%208-71%2059%2021%2089-80-47-80%2047ZM480-481Z'/%3e%3c/svg%3e",CO=A=>c.jsx(pO,{...A}),mO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.79086%2014.2091%208%2012%208V16Z'%20fill='%23394150'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%202C6.47715%202%202%206.47715%202%2012C2%2017.5228%206.47715%2022%2012%2022C17.5228%2022%2022%2017.5228%2022%2012C22%206.47715%2017.5228%202%2012%202ZM12%204V8C9.79086%208%208%209.79086%208%2012C8%2014.2091%209.79086%2016%2012%2016V20C16.4183%2020%2020%2016.4183%2020%2012C20%207.58172%2016.4183%204%2012%204Z'%20fill='%23394150'/%3e%3c/svg%3e",hO=A=>c.jsx(mO,{...A}),QO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%208C9.7909%208%208%209.7909%208%2012C8%2014.2091%209.7909%2016%2012%2016L12%208Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%2022C17.5229%2022%2022%2017.5229%2022%2012C22%206.4772%2017.5228%202%2012%202C6.4772%202%202%206.4772%202%2012C2%2017.5229%206.4772%2022%2012%2022ZM12%2020L12%2016C14.2091%2016%2016%2014.2091%2016%2012C16%209.7909%2014.2091%208%2012%208L12%204C7.5817%204%204%207.5817%204%2012C4%2016.4183%207.5817%2020%2012%2020Z'%20fill='white'/%3e%3c/svg%3e",EO=A=>c.jsx(QO,{...A}),IO="data:image/svg+xml,%3csvg%20width='37'%20height='36'%20viewBox='0%200%2037%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6797%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7308%2017.141%2033.6056%2018.2168%2033.6056C19.2925%2033.6056%2020.1674%2032.7308%2020.1674%2031.655V31.1673C20.1674%2030.8978%2019.9493%2030.6797%2019.6797%2030.6797Z'%20fill='%23868491'/%3e%3cpath%20d='M18.2163%2030.6797H16.7538C16.4842%2030.6797%2016.2661%2030.8978%2016.2661%2031.1673V31.655C16.2661%2032.7307%2017.1407%2033.6053%2018.2163%2033.6056V30.6797Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M25.8957%205.43603C23.6164%203.29393%2020.631%202.22101%2017.4998%202.41742C11.7935%202.7725%207.18363%207.53242%207.00551%2013.2541C6.87409%2017.4935%209.10093%2021.3967%2012.8174%2023.4411C13.7413%2023.9497%2014.3152%2024.9265%2014.3152%2025.9908V29.704C14.3152%2030.7798%2015.19%2031.6547%2016.2658%2031.6547H20.1671C21.2429%2031.6547%2022.1177%2030.7798%2022.1177%2029.704V25.9908C22.1177%2024.9274%2022.6959%2023.9483%2023.6274%2023.4349C27.2082%2021.4595%2029.4326%2017.6954%2029.4326%2013.6112C29.4326%2010.5281%2028.1435%207.54833%2025.8957%205.43603Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.2172%2022.9604C23.3799%2022.9604%2027.5651%2018.7752%2027.5651%2013.6125C27.5651%208.44982%2023.3799%204.26465%2018.2172%204.26465C13.0546%204.26465%208.86938%208.44982%208.86938%2013.6125C8.86938%2018.7752%2013.0546%2022.9604%2018.2172%2022.9604Z'%20fill='%23FFE980'/%3e%3cpath%20d='M19.922%2016.5376C19.2738%2016.5376%2018.9424%2016.1594%2018.701%2015.8837C18.4881%2015.6408%2018.4033%2015.5622%2018.2133%2015.5622C18.0242%2015.5622%2017.94%2015.6408%2017.728%2015.8832C17.5004%2016.1437%2017.156%2016.5376%2016.5079%2016.5376C15.8602%2016.5376%2015.5159%2016.1437%2015.2883%2015.8832C15.0763%2015.6408%2014.9921%2015.5622%2014.803%2015.5622C14.5334%2015.5622%2014.3153%2015.3441%2014.3153%2015.0746C14.3153%2014.805%2014.5334%2014.5869%2014.803%2014.5869C15.4506%2014.5869%2015.7949%2014.9808%2016.0226%2015.2412C16.2346%2015.4837%2016.3188%2015.5622%2016.5079%2015.5622C16.697%2015.5622%2016.7817%2015.4837%2016.9937%2015.2412C17.2213%2014.9808%2017.5656%2014.5869%2018.2133%2014.5869C18.8615%2014.5869%2019.1929%2014.965%2019.4343%2015.2408C19.6472%2015.4837%2019.732%2015.5622%2019.922%2015.5622C20.1115%2015.5622%2020.1963%2015.4837%2020.4092%2015.2412C20.6373%2014.9808%2020.9816%2014.5869%2021.6302%2014.5869C21.8998%2014.5869%2022.1179%2014.805%2022.1179%2015.0746C22.1179%2015.3441%2021.8998%2015.5622%2021.6302%2015.5622C21.4402%2015.5622%2021.3554%2015.6408%2021.1425%2015.8837C20.9144%2016.1442%2020.5702%2016.5376%2019.922%2016.5376Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M16.7533%2025.8024C16.529%2025.8024%2016.3271%2025.6466%2016.277%2025.4185L13.8387%2014.2023C13.7815%2013.939%2013.9488%2013.6794%2014.2116%2013.6218C14.4764%2013.5637%2014.7345%2013.7319%2014.7921%2013.9947L17.2304%2025.2109C17.2876%2025.4742%2017.1204%2025.7338%2016.8575%2025.7914C16.8224%2025.7991%2016.7875%2025.8024%2016.7533%2025.8024Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M19.6802%2025.8022C19.6458%2025.8022%2019.6111%2025.7989%2019.5759%2025.7913C19.313%2025.7337%2019.1458%2025.4741%2019.203%2025.2108L21.6413%2013.9946C21.6989%2013.7317%2021.9561%2013.564%2022.2218%2013.6217C22.4847%2013.6793%2022.6518%2013.9389%2022.5947%2014.2022L20.1564%2025.4184C20.1064%2025.6466%2019.9045%2025.8022%2019.6802%2025.8022Z'%20fill='%23FFF7CE'/%3e%3cpath%20d='M14.2314%2025.3164C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H20.1671C21.2429%2031.656%2022.1178%2030.7811%2022.1178%2029.7053V25.9922C22.1178%2025.7612%2022.1499%2025.5355%2022.2021%2025.3164H14.2314Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M18.2162%2025.3164H14.2314C14.2833%2025.5354%2014.3152%2025.761%2014.3152%2025.9922V29.7053C14.3152%2030.7811%2015.1901%2031.656%2016.2658%2031.656H18.2162V25.3164Z'%20fill='%23B4B6BC'/%3e%3cpath%20d='M22.1175%2026.7773H18.2162V27.7527H22.1175V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M22.1177%2028.7285H18.2164V29.7038H22.1177V28.7285Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2026.7773H14.3149V27.7527H18.2162V26.7773Z'%20fill='%239A9A9A'/%3e%3cpath%20d='M18.2162%2028.7285H14.3149V29.7038H18.2162V28.7285Z'%20fill='%239A9A9A'/%3e%3c/svg%3e",wO=A=>c.jsx(IO,{...A}),fO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.8283%206C16.5981%204.66667%2018.5226%204.66667%2019.2924%206L31.8498%2027.75C32.6196%2029.0833%2031.6573%2030.75%2030.1177%2030.75H5.00298C3.46338%2030.75%202.50113%2029.0833%203.27093%2027.75L15.8283%206Z'%20fill='url(%23paint0_linear_11265_27105)'/%3e%3cpath%20d='M15.8278%206C16.5976%204.66667%2018.5229%204.66667%2019.2927%206L31.8493%2027.75C32.595%2029.0416%2031.7158%2030.646%2030.2605%2030.7451L30.1179%2030.75V29.75C30.8875%2029.7498%2031.3687%2028.9166%2030.9841%2028.25L18.4265%206.5C18.0657%205.87505%2017.1975%205.83607%2016.7731%206.38281L16.694%206.5L4.13643%2028.25C3.75177%2028.9166%204.23306%2029.7498%205.00264%2029.75V30.75L4.86006%2030.7451C3.4517%2030.6492%202.5826%2029.1436%203.20381%2027.876L3.2712%2027.75L15.8278%206ZM30.1179%2029.75V30.75H5.00264V29.75H30.1179Z'%20fill='%23FFD93C'/%3e%3cpath%20d='M18.9476%2012.0938L18.7226%2022.572H16.5272L16.309%2012.0938H18.9476ZM17.6249%2027.0938C17.2112%2027.0938%2016.8567%2026.9392%2016.5612%2026.63C16.2703%2026.3208%2016.1249%2025.944%2016.1249%2025.4995C16.1249%2025.0648%2016.2703%2024.6928%2016.5612%2024.3836C16.8567%2024.0744%2017.2112%2023.9198%2017.6249%2023.9198C18.0294%2023.9198%2018.3794%2024.0744%2018.6749%2024.3836C18.9749%2024.6928%2019.1249%2025.0648%2019.1249%2025.4995C19.1249%2025.7942%2019.0544%2026.0623%2018.9135%2026.3039C18.7772%2026.5454%2018.5953%2026.7387%2018.3681%2026.8836C18.1453%2027.0237%2017.8976%2027.0938%2017.6249%2027.0938Z'%20fill='black'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11265_27105'%20x1='17.5604'%20y1='3'%20x2='17.5604'%20y2='40'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFE980'/%3e%3cstop%20offset='0.932692'%20stop-color='%23FFD93C'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",bO=A=>c.jsx(fO,{...A}),DO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%206C11.3831%206%206%2011.3832%206%2018C6%2024.6168%2011.3831%2030%2018%2030C24.6169%2030%2030%2024.6168%2030%2018C30%2011.3832%2024.6169%206%2018%206ZM18%208.32256C20.2505%208.32256%2022.324%209.09473%2023.9696%2010.3881L10.3881%2023.9696C9.09478%2022.324%208.32256%2020.2505%208.32256%2018C8.32256%2012.6639%2012.6639%208.32256%2018%208.32256ZM18%2027.6774C15.7495%2027.6774%2013.676%2026.9053%2012.0304%2025.6119L25.6119%2012.0304C26.9053%2013.676%2027.6774%2015.7495%2027.6774%2018C27.6774%2023.3361%2023.3361%2027.6774%2018%2027.6774Z'%20fill='url(%23paint0_linear_11264_27095)'/%3e%3cpath%20d='M29.9167%2018C29.9167%2011.4292%2024.5709%206.08333%2018%206.08333C11.4291%206.08333%206.08333%2011.4292%206.08333%2018C6.08333%2024.5708%2011.4291%2029.9167%2018%2029.9167C24.5709%2029.9167%2029.9167%2024.5708%2029.9167%2018ZM26.527%2018C26.527%2016.4591%2026.1141%2015.0148%2025.3961%2013.7661L13.7661%2025.3961C15.0148%2026.1141%2016.4591%2026.527%2018%2026.527V27.6104L17.5832%2027.6008C15.5096%2027.5119%2013.6043%2026.763%2012.0723%2025.559L25.559%2012.0723C26.8433%2013.7064%2027.6104%2015.7652%2027.6104%2018L27.5977%2018.4941C27.3396%2023.5644%2023.1334%2027.6104%2018%2027.6104V26.527C22.7007%2026.527%2026.527%2022.7007%2026.527%2018ZM18.4168%208.39917C20.4904%208.4881%2022.3957%209.23699%2023.9277%2010.441L10.441%2023.9277C9.23704%2022.3957%208.4881%2020.4904%208.39917%2018.4168L8.38965%2018C8.38965%2012.7009%2012.7009%208.38965%2018%208.38965L18.4168%208.39917ZM9.47298%2018C9.47298%2019.5404%209.88531%2020.9844%2010.6029%2022.2328L22.2328%2010.6029C20.9844%209.8853%2019.5404%209.47298%2018%209.47298C13.2993%209.47298%209.47298%2013.2993%209.47298%2018ZM31%2018C31%2025.1691%2025.1692%2031%2018%2031C10.8308%2031%205%2025.1691%205%2018C5%2010.8309%2010.8308%205%2018%205C25.1692%205%2031%2010.8309%2031%2018Z'%20fill='url(%23paint1_linear_11264_27095)'/%3e%3cpath%20d='M31%2018C31%2010.9428%2025.35%205.18214%2018.335%205.00391L18%205C10.8308%205%205%2010.8309%205%2018L5.00391%2018.335C5.17931%2025.2386%2010.7613%2030.8207%2017.665%2030.9961L18%2031C25.0573%2031%2030.8179%2025.3499%2030.9961%2018.335L31%2018ZM29.6162%2018C29.6162%2011.5949%2024.4052%206.38379%2018%206.38379C11.5948%206.38379%206.38379%2011.5949%206.38379%2018C6.38379%2024.4051%2011.5948%2029.6162%2018%2029.6162V29.917L17.6934%2029.9131C11.3655%2029.7525%206.24754%2024.6344%206.08691%2018.3066L6.08301%2018C6.08301%2011.4292%2011.4291%206.08301%2018%206.08301L18.3066%206.08691C24.7364%206.25013%2029.917%2011.5317%2029.917%2018L29.9131%2018.3066C29.7499%2024.7363%2024.4684%2029.917%2018%2029.917V29.6162C24.4052%2029.6162%2029.6162%2024.4051%2029.6162%2018ZM25.7949%2011.8867C27.1191%2013.5716%2027.9102%2015.6954%2027.9102%2018V18.0078L27.8975%2018.502V18.5098C27.6311%2023.7386%2023.2939%2027.9102%2018%2027.9102H17.9932L17.5762%2027.9004H17.5703C15.4317%2027.8087%2013.4663%2027.0363%2011.8867%2025.7949L11.6211%2025.5859L25.5859%2011.6211L25.7949%2011.8867ZM12.0723%2025.5586C13.6042%2026.7626%2015.5095%2027.5116%2017.583%2027.6006L18%2027.6104C22.9728%2027.6104%2027.0751%2023.8136%2027.5615%2018.9668L27.5977%2018.4941L27.6104%2018C27.6104%2015.7652%2026.8429%2013.7063%2025.5586%2012.0723L12.0723%2025.5586ZM26.2266%2018C26.2266%2016.6539%2025.8993%2015.3851%2025.3232%2014.2627L14.2627%2025.3232C15.3851%2025.8993%2016.6539%2026.2266%2018%2026.2266C22.5351%2026.2266%2026.2266%2022.5351%2026.2266%2018ZM18.0068%208.08984L18.4238%208.09961H18.4297L18.8281%208.125C20.8122%208.28992%2022.6323%209.04117%2024.1133%2010.2051L24.3789%2010.4141L10.4141%2024.3789L10.2051%2024.1133C8.96372%2022.5337%208.19133%2020.5683%208.09961%2018.4297V18.4238L8.08984%2018.0068V18L8.10254%2017.4912C8.36824%2012.262%2012.7059%208.08984%2018%208.08984H18.0068ZM18%208.38965C12.7009%208.38965%208.38965%2012.7009%208.38965%2018L8.39941%2018.417C8.48838%2020.4905%209.23748%2022.3958%2010.4414%2023.9277L23.9277%2010.4414C22.3958%209.23743%2020.4905%208.48838%2018.417%208.39941L18%208.38965ZM18.2881%209.47754C19.7202%209.52552%2021.0622%209.93004%2022.2324%2010.6025L10.6025%2022.2324C9.93005%2021.0622%209.52552%2019.7202%209.47754%2018.2881L9.47266%2018C9.47266%2013.2993%2013.2993%209.47266%2018%209.47266L18.2881%209.47754ZM9.77344%2018C9.77344%2019.3452%2010.0995%2020.6135%2010.6748%2021.7354L21.7354%2010.6748C20.6135%2010.0995%2019.3452%209.77344%2018%209.77344C13.4649%209.77344%209.77344%2013.4649%209.77344%2018ZM26.5156%2018.4385C26.2865%2022.9364%2022.5537%2026.5273%2018%2026.5273C16.4593%2026.5273%2015.0152%2026.1143%2013.7666%2025.3965L25.3965%2013.7666C26.1143%2015.0152%2026.5273%2016.4593%2026.5273%2018L26.5156%2018.4385ZM31.2998%2018C31.2998%2025.3348%2025.3349%2031.2998%2018%2031.2998C10.6651%2031.2998%204.7002%2025.3348%204.7002%2018C4.7002%2010.6652%2010.6651%204.7002%2018%204.7002C25.3349%204.7002%2031.2998%2010.6652%2031.2998%2018Z'%20fill='url(%23paint2_linear_11264_27095)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11264_27095'%20x1='18'%20y1='6'%20x2='18'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ED5A3B'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EC5A3A'/%3e%3cstop%20offset='1'%20stop-color='%23AF3117'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_11264_27095'%20x1='18'%20y1='5'%20x2='18'%20y2='31'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EB5A39'/%3e%3cstop%20offset='1'%20stop-color='%23B03117'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",vO=A=>c.jsx(DO,{...A}),yO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%205.15039H28C28.4694%205.15039%2028.8496%205.53056%2028.8496%206V26.6445C28.8496%2026.8769%2028.755%2027.0994%2028.5869%2027.2598L24.0205%2031.6152C23.8625%2031.766%2023.652%2031.8496%2023.4336%2031.8496H7C6.53056%2031.8496%206.15039%2031.4694%206.15039%2031V6C6.15039%205.53056%206.53056%205.15039%207%205.15039Z'%20fill='%23FEFEFE'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M26.0982%2012.5596H8.58191V13.083H26.0982V12.5596Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2015.3857H8.58191V15.9092H26.0982V15.3857Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2018.2109H8.58191V18.7344H26.0982V18.2109Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2021.0039H8.58191V21.5273H26.0982V21.0039Z'%20fill='%23666666'/%3e%3cpath%20d='M26.0982%2023.8291H8.58191V24.3525H26.0982V23.8291Z'%20fill='%23666666'/%3e%3cpath%20d='M16.8516%2027.0947H8.58191V27.6181H16.8516V27.0947Z'%20fill='%23666666'/%3e%3cpath%20d='M23.9056%2032.3591L29%2027.2646H23.9056V32.3591Z'%20fill='%23F4F2F2'/%3e%3cpath%20d='M21%209H14V10H21V9Z'%20fill='%23535353'/%3e%3cpath%20d='M23.9339%2014.783L22.4576%2013.9355L21.6053%2015.4034L23.0816%2016.2508L23.9339%2014.783Z'%20fill='%23E0E1E2'/%3e%3cpath%20d='M25.6385%2011.8475L24.8948%2011.4206C24.7937%2011.3625%2024.6837%2011.3307%2024.5715%2011.3222C24.5154%2011.318%2024.4589%2011.3196%2024.4026%2011.3276C24.1208%2011.3654%2023.8457%2011.5452%2023.6789%2011.8325L22.4576%2013.9357L23.9339%2014.7831L25.6385%2011.8475Z'%20fill='%23E85738'/%3e%3cpath%20d='M24.9268%2017.3103L23.0815%2016.251L18.1808%2024.6911L20.0261%2025.7504L24.9268%2017.3103Z'%20fill='%23F2C91D'/%3e%3cpath%20d='M25.7791%2015.8425L23.9338%2014.7832L23.0815%2016.251L24.9268%2017.3104L25.7791%2015.8425Z'%20fill='%23C4C4C4'/%3e%3cpath%20d='M25.7791%2015.8427L27.0003%2013.7395C27.1671%2013.4522%2027.1541%2013.107%2026.9975%2012.8174C26.9664%2012.7598%2026.9289%2012.7036%2026.8866%2012.6514C26.8012%2012.5465%2026.6944%2012.4539%2026.568%2012.3813L25.6384%2011.8477L23.9338%2014.7833L25.7791%2015.8427Z'%20fill='%23B13218'/%3e%3cpath%20d='M20.0261%2025.7505L16.7046%2023.8438L16.6607%2027.7328L20.0261%2025.7505Z'%20fill='%23FDEDD9'/%3e%3cpath%20d='M17.8536%2026.95L16.7465%2026.3145L16.6608%2027.7331L17.8536%2026.95Z'%20fill='%234C4C4C'/%3e%3cpath%20d='M23.0816%2016.2508L21.6053%2015.4033L16.7046%2023.8434L18.1808%2024.6909L23.0816%2016.2508Z'%20fill='%23FFD93C'/%3e%3c/svg%3e",xO=A=>c.jsx(yO,{...A}),kO="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.29297%205.15039H30.6719C31.2902%205.15044%2031.7575%205.5568%2031.8389%206.09961L31.8496%206.20215V24.1748C31.8496%2024.7617%2031.3364%2025.2273%2030.707%2025.2275H14.5459L14.5068%2025.2539L6.49219%2030.7158V25.2275H5.29297C4.63423%2025.2273%204.15039%2024.7343%204.15039%2024.1748V6.20215C4.15058%205.61545%204.66376%205.15058%205.29297%205.15039Z'%20fill='url(%23paint0_linear_11266_27250)'%20stroke='%23666666'%20stroke-width='0.3'/%3e%3cpath%20d='M25.6739%2012.3672H11V12.8057H25.6739V12.3672Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2014.7344H11V15.1729H25.6739V14.7344Z'%20fill='%23666666'/%3e%3cpath%20d='M25.6739%2017.0742H11V17.5127H25.6739V17.0742Z'%20fill='%23666666'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11266_27250'%20x1='16.7273'%20y1='21.25'%20x2='12.1155'%20y2='30.9251'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FEFEFE'/%3e%3cstop%20offset='1'%20stop-color='%23E0E0E0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",SO=A=>c.jsx(kO,{...A});function HO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"19",y1:"6",x2:"19",y2:"10"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function MO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"1.5",y1:"5.5",x2:"14.5",y2:"5.5"}),c.jsx("line",{x1:"1.5",y1:"9.5",x2:"14.5",y2:"9.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}function TO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"19",y1:"6.5",x2:"19",y2:"9.5"}),c.jsx("line",{x1:"17.5",y1:"8",x2:"20.5",y2:"8"})]})}function LO(A){return c.jsxs("svg",{viewBox:"0 0 24 16",stroke:"currentColor",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",width:"24",height:"16",...A,children:[c.jsx("rect",{x:"1.5",y:"1.5",width:"13",height:"11",rx:"1"}),c.jsx("line",{x1:"5.5",y1:"3.5",x2:"5.5",y2:"11.5"}),c.jsx("line",{x1:"9",y1:"3.5",x2:"9",y2:"11.5"}),c.jsx("line",{x1:"17",y1:"8",x2:"21",y2:"8"})]})}const $c=new Map;function aA(A,e){typeof A=="object"?A.forEach(t=>{$c.set(t,{renderer:e})}):$c.set(A.toLowerCase(),{renderer:e})}aA("assign",A=>c.jsx(xQ,{...A})),aA("arrowup",A=>c.jsx(ZP,{...A})),aA("arrowleft",A=>c.jsx(VP,{...A})),aA("arrowright",A=>c.jsx(XP,{...A})),aA("pause",A=>c.jsx(t3,{...A})),aA("play",A=>c.jsx(o3,{...A})),aA("date",A=>c.jsx(K3,{...A})),aA("hamburger",A=>c.jsx(MH,{...A})),aA("send",A=>c.jsx(NH,{...A})),aA("users",A=>c.jsx(vM,{...A})),aA("refresh",A=>c.jsx(QM,{...A})),aA("chevrondown",A=>c.jsx(nM,{...A})),aA("chevronup",A=>c.jsx(aM,{...A})),aA("chevronright",A=>c.jsx(eG,{...A})),aA("chevronleft",A=>c.jsx(AG,{...A})),aA("dotmenu",A=>c.jsx(pG,{...A})),aA("dotmenuhorizontal",A=>c.jsx(BG,{...A})),aA("noresult",A=>c.jsx(IM,{...A})),aA("crm",A=>c.jsx(jb,{...A})),aA("chat",A=>c.jsx(jb,{...A})),aA("pencil",A=>c.jsx(m3,{...A})),aA("cube",A=>c.jsx(u3,{...A})),aA("apps",A=>c.jsx(vQ,{...A})),aA("permissions",A=>c.jsx(pM,{...A})),aA("close",A=>c.jsx(yM,{...A})),aA("star",A=>c.jsx(wM,{...A})),aA("help",A=>c.jsx(dM,{...A})),aA("compactlist",A=>c.jsx(aG,{...A})),aA("copy",A=>c.jsx(iG,{...A})),aA("move",A=>c.jsx(lM,{...A})),aA("rename",A=>c.jsx(b3,{...A})),aA("hyperlink",A=>c.jsx(xG,{...A})),aA("globe",A=>c.jsx(vG,{...A})),aA("link",A=>c.jsx(MG,{...A})),aA("looseList",A=>c.jsx(LG,{...A})),aA("options",A=>c.jsx(NG,{...A})),aA("search",A=>c.jsx(YG,{...A})),aA("filter",A=>c.jsx(fG,{...A})),aA("trash",A=>c.jsx(WG,{...A})),aA("pen",A=>c.jsx(GG,{...A})),aA("email",A=>c.jsx(CG,{...A})),aA("phone",A=>c.jsx(OG,{...A})),aA("home",A=>c.jsx(yG,{...A})),aA("user",A=>c.jsx(ZG,{...A})),aA("exit",A=>c.jsx(T3,{...A})),aA("adduser",A=>c.jsx(DM,{...A})),aA("userminus",A=>c.jsx(bM,{...A})),aA("plus",A=>c.jsx(KG,{...A})),aA("inspect",A=>c.jsx(uO,{...A})),aA("plus-circle",A=>c.jsx(TH,{...A})),aA("filledplus",A=>c.jsx(IG,{...A})),aA("darktolight",A=>c.jsx(EO,{...A})),aA("lighttodark",A=>c.jsx(hO,{...A})),aA("checkmark",A=>c.jsx(Z3,{...A})),aA("valid",A=>c.jsx(oM,{...A})),aA("info",A=>c.jsx(tM,{...A})),aA("error",A=>c.jsx(Th,{...A})),aA("warning",A=>c.jsx(Mh,{...A})),aA("board",A=>c.jsx(q3,{...A})),aA("list",A=>c.jsx(TG,{...A})),aA("folder",A=>c.jsx(DG,{...A})),aA("folder-outline",A=>c.jsx(gM,{...A})),aA("emptyfolder",A=>c.jsx(hG,{...A})),aA("pdf",A=>c.jsx(PG,{...A})),aA("txt",A=>c.jsx(JG,{...A})),aA("doc",A=>c.jsx(Wb,{...A})),aA("docx",A=>c.jsx(Wb,{...A})),aA("doc-outline",A=>c.jsx(uG,{...A})),aA("conf",A=>c.jsx(s3,{...A})),aA("code",A=>c.jsx(oG,{...A})),aA("codesandbox",A=>c.jsx(nG,{...A})),aA("box",A=>c.jsx(X3,{...A})),aA(["xls","xlsx"],A=>c.jsx(eO,{...A})),aA(["jpg","jpeg","png","webp","svg","gif","tif","ppt","pptx"],A=>c.jsx(SG,{...A})),aA("unknownfile",A=>c.jsx(qG,{...A})),aA("photo",A=>c.jsx(UG,{...A})),aA("previous",A=>c.jsx(g3,{...A})),aA("next",A=>c.jsx(c3,{...A})),aA("like",A=>c.jsx(HH,{...A})),aA("reply",A=>c.jsx(r3,{...A})),aA("attach",A=>c.jsx(W3,{...A})),aA("attach2",A=>c.jsx(x3,{...A})),aA("emoji",A=>c.jsx(l3,{...A})),aA("message",A=>c.jsx(v3,{...A})),aA("upload",A=>c.jsx(fM,{...A})),aA("split-vertical",A=>c.jsx(M3,{...A})),aA("split-horizontal",A=>c.jsx(H3,{...A})),aA("swap",A=>c.jsx(h3,{...A})),aA("download",A=>c.jsx(cM,{...A})),aA("note",A=>c.jsx(y3,{...A})),aA("binding",A=>c.jsx(z3,{...A})),aA("database",A=>c.jsx(cG,{...A})),aA("unlink",A=>c.jsx(XG,{...A})),aA("api",A=>c.jsx(j3,{...A})),aA("expression",A=>c.jsx(EG,{...A})),aA("chat",A=>c.jsx(A3,{...A})),aA("hash",A=>c.jsx(e3,{...A})),aA("drive",A=>c.jsx(uM,{...A})),aA("lock",A=>c.jsx(CM,{...A})),aA("start",A=>c.jsx(k3,{...A})),aA("stop",A=>c.jsx(S3,{...A})),aA("restart",A=>c.jsx(P3,{...A})),aA("duplicate",A=>c.jsx(O3,{...A})),aA("connect",A=>c.jsx(L3,{...A})),aA("cog",A=>c.jsx(G3,{...A})),aA("sun",A=>c.jsx(N3,{...A})),aA("moon",A=>c.jsx(BO,{...A})),aA("stars",A=>c.jsx(CO,{...A})),aA("share",A=>c.jsx(_G,{...A})),aA("new-window",A=>c.jsx(_b,{...A})),aA("paint",A=>c.jsx(F3,{...A})),aA("palette",A=>c.jsx(D3,{...A})),aA("trending-up",A=>c.jsx(oO,{...A})),aA("trending-down",A=>c.jsx(nO,{...A})),aA("trending-level",A=>c.jsx(cO,{...A})),aA("sortasc",A=>c.jsx(aO,{...A})),aA("sortdesc",A=>c.jsx(iO,{...A})),aA("nosort",A=>c.jsx(sO,{...A})),aA("admonition_info",A=>c.jsx(wO,{...A})),aA("admonition_warning",A=>c.jsx(bO,{...A})),aA("admonition_danger",A=>c.jsx(vO,{...A})),aA("admonition_note",A=>c.jsx(xO,{...A})),aA("admonition_tip",A=>c.jsx(SO,{...A})),aA("arrowdown",A=>c.jsx(qP,{...A})),aA("square",A=>c.jsx(i3,{...A})),aA("squarehalf",A=>c.jsx(a3,{...A})),aA("squarefill",A=>c.jsx(n3,{...A})),aA("table-insert-row",A=>c.jsx(HO,{...A})),aA("table-delete-row",A=>c.jsx(MO,{...A})),aA("table-insert-column",A=>c.jsx(TO,{...A})),aA("table-delete-column",A=>c.jsx(LO,{...A})),aA("eye",A=>c.jsx(C3,{...A})),aA("eye-off",A=>c.jsx(p3,{...A}));function NO({children:A}){const e=d.useCallback(()=>Array.from($c.keys()),[]),t=d.useCallback(l=>$c.get(l),[]),[o,r]=d.useState({}),n=d.useRef({}),a=d.useRef(null),i=d.useCallback(async l=>{if(n.current[l])return;const u=await(await fetch(l)).text(),g=document.createElement("div");g.style.display="none",g.innerHTML=u;const p={};for(let m=0;m<g.children[0].attributes.length;m++){const h=g.children[0].attributes[m];h.nodeName!=="class"&&(p[h.nodeName]=h.nodeValue)}Object.keys(p).forEach(m=>{g.children[0].removeAttribute(m)});const B=document.createElementNS("http://www.w3.org/2000/svg","symbol");B.innerHTML=g.children[0].innerHTML,B.id=l,B.setAttributeNS(null,"viewBox",p.viewBox),n.current[l]||(a.current.appendChild(B),n.current[l]=!0);const C={name:l,attributes:p};r(m=>({...m,[l]:C}))},[]),s=d.useMemo(()=>({getRegisteredIconNames:e,lookupIconRenderer:t,ensureCustomSvgIcon:i,customSvgs:o}),[o,i,e,t]);return c.jsxs(vp.Provider,{value:s,children:[A,c.jsx("svg",{style:{display:"none"},ref:a})]})}const FO="0.9.84",$b={capitalize:wA.capitalize,pluralize:Rx,defaultTo:wA.defaultTo,toHashObject:Ux,findByField:Kx,distinct:Yx};function PO(A){return(A?new Date(A):new Date).toJSON()}function Jb(A){return new Date(A).toLocaleDateString()}function GO(A){return new Date(A).toLocaleString()}function OO(A){return new Date(A).toLocaleTimeString()}function RO(A){return se.format(new Date(A),"H:m")}function UO(A){return new Date(A).toLocaleDateString([],{month:"numeric",day:"2-digit"})}function zb(A){return A?new Date(A):new Date}function KO(A,e,t){return A?Hx(A,e,t):"-"}function YO(A){return A?se.isToday(new Date(A))?new Date(A).toLocaleTimeString():se.isThisWeek(new Date(A))?`${se.formatRelative(new Date(A),new Date)}`:new Date(A).toLocaleString():"-"}function jO(A){return A?se.isToday(new Date(A))?"Today":se.isYesterday(new Date(A))?"Yesterday":new Date(A).toLocaleDateString():"-"}function _O(A){return se.isToday(new Date(A))}function WO(A){return se.isYesterday(new Date(A))}function $O(A){return se.isTomorrow(new Date(A))}function JO(A,e=!1){const t=new Date,o=new Date(A),r=t.getTime()-o.getTime();if(r<0)return Jb(A);const n=Math.floor(r/1e3),a=Math.floor(n/60),i=Math.floor(a/60),s=Math.floor(i/24),l=Math.floor(s/7),u=Math.floor(s/30),g=Math.floor(s/365),p={second:{singular:e?"s":"second",plural:e?"s":"seconds"},minute:{singular:e?"min":"minute",plural:e?"min":"minutes"},hour:{singular:e?"hr":"hour",plural:e?"hrs":"hours"},day:{singular:e?"d":"day",plural:e?"d":"days"},week:{singular:e?"wk":"week",plural:e?"wks":"weeks"},month:{singular:e?"mo":"month",plural:e?"mos":"months"},year:{singular:e?"y":"year",plural:e?"yrs":"years"}};if(n<10)return"now";if(n<60){const C=n===1?p.second.singular:p.second.plural;return`${n} ${C} ago`}if(a<60){const C=a===1?p.minute.singular:p.minute.plural;return`${a} ${C} ago`}if(se.isToday(o)){const C=i===1?p.hour.singular:p.hour.plural;return`${i} ${C} ago`}if(se.isYesterday(o))return"yesterday";if(s<7){const C=s===1?p.day.singular:p.day.plural;return`${s} ${C} ago`}if(l<4){const C=l===1?p.week.singular:p.week.plural;return`${l} ${C} ago`}if(u<12){const C=u===1?p.month.singular:p.month.plural;return`${u} ${C} ago`}const B=g===1?p.year.singular:p.year.plural;return`${g} ${B} ago`}const qb={isoDateString:PO,formatDate:Jb,formatDateTime:GO,formatTime:OO,formatTimeWithoutSeconds:RO,formatDateWithoutYear:UO,getDate:zb,getDateUntilNow:KO,smartFormatDateTime:YO,smartFormatDate:jO,isToday:_O,isYesterday:WO,isTomorrow:$O,differenceInMinutes:se.differenceInMinutes,isSameDay:se.isSameDay,isThisYear:se.isThisYear,formatHumanElapsedTime:JO};function zO(A,e){if(A.length===0)return 0;const o=Vb(A)/A.length;return e?Number(o.toFixed(e)):o}function Vb(A){return A.reduce((e,t)=>e+t,0)}const qO={avg:zO,sum:Vb};var $e=(A=>(A.LOADER_LOADED="ContainerActionKind:LOADER_LOADED",A.LOADER_IN_PROGRESS_CHANGED="ContainerActionKind:LOADER_IN_PROGRESS_CHANGED",A.LOADER_IS_REFETCHING_CHANGED="ContainerActionKind:LOADER_IS_REFETCHING_CHANGED",A.LOADER_ERROR="ContainerActionKind:LOADER_ERROR",A.EVENT_HANDLER_STARTED="ContainerActionKind:EVENT_HANDLER_STARTED",A.EVENT_HANDLER_COMPLETED="ContainerActionKind:EVENT_HANDLER_COMPLETED",A.EVENT_HANDLER_ERROR="ContainerActionKind:EVENT_HANDLER_ERROR",A.COMPONENT_STATE_CHANGED="ContainerActionKind:COMPONENT_STATE_CHANGED",A.STATE_PART_CHANGED="ContainerActionKind:STATE_PART_CHANGED",A))($e||{});function VO(A={}){const e=Object.keys(A);function t(r,n=new Set){if(!e.includes(r))return[r];n.add(r);const a=[];return A[r].forEach(i=>{n.has(i)||(n.add(i),a.push(...t(i,n)))}),a}const o={};return e.forEach(r=>{o[r]=[...new Set(t(r))]}),o}const XO=100;function ZO(A){const e=A.collectStateTransitions;let t,o;return he((r,n)=>{const{uid:a}=n.payload;if(a===void 0&&n.type!==$e.STATE_PART_CHANGED)return console.error("uid not provided for control component",{state:r,action:n}),r;if(e)try{t=wA.cloneDeep(r[a])}catch(s){console.error("Error while cloning previous value",s)}switch(n.type){case $e.LOADER_IN_PROGRESS_CHANGED:{r[a]={...r[a],inProgress:n.payload.inProgress},i(r[a]);break}case $e.LOADER_IS_REFETCHING_CHANGED:{r[a]={...r[a],isRefetching:n.payload.isRefetching},i(r[a]);break}case $e.LOADER_LOADED:{const{data:s,pageInfo:l}=n.payload;r[a]={value:s,byId:Array.isArray(s)?wA.keyBy(s,u=>u.$id):void 0,inProgress:!1,loaded:s!==void 0,pageInfo:l},i(r[a]);break}case $e.LOADER_ERROR:{const{error:s}=n.payload;r[a]={...r[a],error:s,inProgress:!1,loaded:!0},i(r[a]);break}case $e.EVENT_HANDLER_STARTED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!0},i(r[a]);break}case $e.EVENT_HANDLER_COMPLETED:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case $e.EVENT_HANDLER_ERROR:{const{eventName:s}=n.payload,l=`${s}InProgress`;r[a]={...r[a],[l]:!1},i(r[a]);break}case $e.COMPONENT_STATE_CHANGED:{const{state:s}=n.payload;r[a]={...r[a],...s},i(r[a]);break}case $e.STATE_PART_CHANGED:{const{path:s,value:l,target:u,actionType:g,localVars:p}=n.payload;if(g==="unset")wA.unset(r,s);else{let B=p;wA.setWith(r,s,l,(C,m,h)=>{if(B=B==null?void 0:B[m],C===void 0&&B===void 0&&wA.isPlainObject(u))return Object(C)}),i(r)}break}default:throw new Error}if(e){const s={action:n.type,uid:a,prevState:t,nextState:o};A.stateTransitions&&(A.stateTransitions.length>=XO&&A.stateTransitions.shift(),A.stateTransitions.push(s))}function i(s){if(e)try{o=wA.cloneDeep(s)}catch(l){console.error("Error while cloning next value",l)}}})}function Xb(A,e,t=[]){const o=n=>t.concat(n).join("."),r=new WeakMap;return new Proxy(A,{get:function(n,a,i){const s=Reflect.get(n,a,i);return s&&!s._ARROW_EXPR_&&!Object.isFrozen(s)&&typeof s=="object"&&["Array","Object"].includes(s.constructor.name)?(r.has(s)||r.set(s,Xb(s,e,t.concat(a))),r.get(s)):s},set:function(n,a,i,s){return e({action:"set",path:o(a),pathArray:t.concat(a),target:n,newValue:i,previousValue:Reflect.get(n,a,s)}),Reflect.set(n,a,i,s)},deleteProperty:function(n,a){return e({action:"unset",path:o(a),pathArray:t.concat(a),target:n}),Reflect.deleteProperty(n,a)}})}function A5(A,e,t){const o=qr.get(A);return o?(e.unshift(t),o):A}const qr=new Map;qr.set(Array.prototype.filter,t5),qr.set(Array.prototype.forEach,o5),qr.set(Array.prototype.map,r5),qr.set(Array.prototype.every,n5),qr.set(Array.prototype.findIndex,i5),qr.set(Array.prototype.find,a5),qr.set(Array.prototype.flatMap,s5),qr.set(Array.prototype.some,e5);async function e5(A,e){const t=await Promise.all(A.map(e));return A.some((o,r)=>t[r])}async function t5(A,e){const t=await Promise.all(A.map(e));return A.filter((o,r)=>t[r])}async function o5(A,e){for(let t=0;t<A.length;t++)await e(A[t],t,A)}async function r5(A,e){const t=[];for(let o=0;o<A.length;o++)t.push(await e(A[o],o,A));return t}async function n5(A,e){const t=await Promise.all(A.map(e));return t.every((o,r)=>t[r])}async function a5(A,e){const t=await Promise.all(A.map(e));return A.find((o,r)=>t[r])}async function i5(A,e){const t=await Promise.all(A.map(e));return A.findIndex((o,r)=>t[r])}async function s5(A,e){const t=await Promise.all(A.map(e));return A.flatMap((o,r)=>t[r])}async function eo(A,e,t){const o=[];return os(e),t??(t=e.mainThread),await _d(o,A,e,t??e.mainThread)}async function l5(A,e,t,...o){if(A.type!==De)throw new Error("executeArrowExpression expects an 'ArrowExpression' object.");return await(await Jc(_d,A))(A.args,e,t??e.mainThread,...o)}async function _d(A,e,t,o){t.options||(t.options={defaultToOptionalMemberAccess:!0});const r=_d;try{switch(e.type){case Ku:return I5(r,A,e,t,o);case Me:return Km(A,e,o);case KA:return Ym(A,e,t,o);case Vo:return await c5(r,A,e,t,o);case gn:return await g5(r,A,e,t,o);case hr:return await u5(r,A,e,t,o);case Qr:return await d5(r,A,e,t,o);case Er:return await B5(r,A,e,t,o);case Vl:return await p5(r,A,e,t,o);case Bt:return await C5(r,A,e,t,o);case Xl:return await m5(r,A,e,t,o);case un:return await h5(r,A,e,t,o);case Ya:case Zl:return await Q5(r,A,e,t,o);case As:return await E5(r,A,e,t,o);case De:return zm(A,e,o);case pt:throw new Error("Cannot use spread expression (...) with the current intermediate value.");default:throw new Error(`Unknown expression tree node: ${e.type}`)}}catch(n){throw n}}async function c5(A,e,t,o,r){return await A(e,t.obj,o,r),await Gt(t.obj,r),tc(e,t,o,r)}async function g5(A,e,t,o,r){return await A(e,t.obj,o,r),await Gt(t.obj,r),await A(e,t.member,o,r),e.pop(),await Gt(t.member,r),jm(e,t,o,r)}async function u5(A,e,t,o,r){if(!t.exprs||t.exprs.length===0)throw new Error("Missing expression sequence");const n=t.exprs.map(async i=>{const s=await A(e,i,o,r);return we(i,{value:s},r),e.pop(),s}),a=n[n.length-1];return e.push(a),a}async function d5(A,e,t,o,r){const n=[];for(const a of t.items)if(a.type===pt){const i=await A(e,a.expr,o,r);if(e.pop(),!Array.isArray(i))throw new Error("Spread operator within an array literal expects an array operand.");n.push(...i)}else n.push(await A(e,a,o,r)),e.pop(),e.push(n);return we(t,{value:n},r),e.push(n),n}async function B5(A,e,t,o,r){const n={};for(const a of t.props){if(!Array.isArray(a)){const s=await A(e,a.expr,o,r);if(e.pop(),Array.isArray(s))for(let l=0;l<s.length;l++)n[l]=s[l];else if(typeof s=="object")for(const[l,u]of Object.entries(s))n[l]=u;continue}let i;switch(a[0].type){case Me:i=a[0].value;break;case KA:i=a[0].name;break;default:i=await A(e,a[0],o,r),e.pop();break}n[i]=await A(e,a[1],o,r),e.pop()}return we(t,{value:n},r),e.push(n),n}async function p5(A,e,t,o,r){return await A(e,t.expr,o,r),e.pop(),await Gt(t.expr,r),_m(t,e,o,r)}async function C5(A,e,t,o,r){await A(e,t.left,o,r),e.pop();const n=await Gt(t.left,r);return t.op==="&&"&&!n?(we(t,{value:n},r),n):t.op==="||"&&n?(we(t,{value:n},r),n):(await A(e,t.right,o,r),e.pop(),await Gt(t.right,r),Wm(t,e,o,r))}async function m5(A,e,t,o,r){await A(e,t.cond,o,r),e.pop();const n=await Gt(t.cond,r),a=await A(e,n?t.thenE:t.elseE,o,r);return we(t,{value:a},r),a}async function h5(A,e,t,o,r){const n=t.leftValue,a=pn(n,o,r),i=a&&a.type!=="block";i&&o.onWillUpdate&&o.onWillUpdate(a,a.name,"assignment"),await A(e,n,o,r),e.pop(),await Gt(n,r),await A(e,t.expr,o,r),e.pop(),await Gt(t.expr,r);const s=$m(e,t,o,r);return i&&o.onDidUpdate&&o.onDidUpdate(a,a.name,"assignment"),s}async function Q5(A,e,t,o,r){const n=pn(t.expr,o,r),a=n&&n.type!=="block";a&&o.onWillUpdate&&o.onWillUpdate(n,n.name,"pre-post"),await A(e,t.expr,o,r),e.pop(),await Gt(t.expr,r);const i=Jm(e,t,o,r);return a&&o.onDidUpdate&&o.onDidUpdate(n,n.name,"pre-post"),i}async function E5(A,e,t,o,r){var C,m;let n,a=null;if(t.obj.type===Vo){const h=await A(e,t.obj.obj,o,r);await Gt(t.obj.obj,r),n=tc(e,t.obj,o,r),t.obj.obj.type===KA&&(h!=null&&h._SUPPORT_IMPLICIT_CONTEXT)&&(a=h)}else await A(e,t.obj,o,r),n=await Gt(t.obj,r);e.pop();const i=[];if(n!=null&&n._ARROW_EXPR_)i.push(n.args,o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0}))),n=await Jc(A,n);else if(t.obj.type===De)i.push(t.obj.args.map(h=>h.name),o,r,...t.arguments.map(h=>({...h,_EXPRESSION_:!0})));else{for(let h=0;h<t.arguments.length;h++){const E=t.arguments[h];if(E.type===pt){await A([],E.expr,o,r);const Q=await Gt(E.expr,r);if(!Array.isArray(Q))throw new Error("Spread operator within a function invocation expects an array operand.");i.push(...Q)}else if(E.type===De){const Q=await Jc(A,E),I=async(...w)=>Q(E.args,o,r,...w);i.push(I)}else{await A([],E,o,r);const Q=await Gt(E,r);if(Q!=null&&Q._ARROW_EXPR_){const I=await Jc(A,Q),w=(...b)=>I(Q.args,o,r,...b);i.push(w)}else i.push(Q)}}if(a)if(o.implicitContextGetter){const h=o.implicitContextGetter(a);i.unshift(h)}else throw new Error("Cannot use implicitContextGetter, it is undefined")}const s=rh(n);if(s.banned)throw new Error(`Function ${((C=s.func)==null?void 0:C.name)??"unknown"} is not allowed to call. ${(s==null?void 0:s.help)??""}`);const l=e.length>0?e.pop():o.localContext;n=A5(n,i,l);const u=pn(t.obj,o,r),g=u&&u.type!=="block";g&&o.onWillUpdate&&o.onWillUpdate(u,u.name,"function-call");const p=(m=o.options)!=null&&m.defaultToOptionalMemberAccess?n==null?void 0:n.call(l,...i):n.call(l,...i);let B=await Zb(p);return g&&o.onDidUpdate&&o.onDidUpdate(u,u.name,"function-call"),we(t,{value:B},r),e.push(B),B}async function Jc(A,e){return async(...t)=>{const o=t[1],r=t[2],n={parent:r,childThreads:[],blocks:[{vars:{}}],loops:[],breakLabelValue:-1,closures:e.closureContext};if(r.childThreads.push(n),e.name){const p={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(p),p.vars[e.name]=e,p.constVars=new Set([e.name])}const a={vars:{}};n.blocks??(n.blocks=[]),n.blocks.push(a);const i=t[0];let s=!1;for(let p=0;p<i.length;p++){const B=i[p];let C;switch(B.type){case KA:{C={type:yo,id:B.name};break}case ja:{C={type:yo,id:B.id,aDestr:B.aDestr,oDestr:B.oDestr};break}case pt:{s=!0,C={type:yo,id:B.expr.name};break}default:throw new Error("Unexpected arrow argument specification")}if(C)if(s){const m=t.slice(p+3);let h=[];for(const E of m)E!=null&&E._EXPRESSION_?h.push(await A([],E,o,r)):h.push(E);await zc(a,o,r,[C],!1,!0,h)}else{let m=t[p+3];m!=null&&m._EXPRESSION_&&(m=await A([],m,o,r)),await zc(a,o,r,[C],!1,!0,m)}}let l,u;switch(e.statement.type){case zo:u=[];break;case qo:u=[{type:Aa,expr:e.statement.expr}];break;case Jo:u=e.statement.stmts;break;default:throw new Error(`Arrow expression with a body of '${e.statement.type}' is not supported yet.`)}await Wd(u,o,n),l=n.returnValue;const g=r.childThreads.indexOf(n);if(g<0)throw new Error("Cannot find thread to remove.");return r.childThreads.splice(g,1),n.blocks.pop(),l}}async function Zb(A){const e=new Map;return t(A);async function t(o){if(o==null)return o;const r=e.get(o);if(r)return r;if(Um(o)){const n=await o;return e.set(o,n),t(n)}if(e.set(o,o),Array.isArray(o)){for(let n=0;n<o.length;n++){const a=await t(o[n]);o[n]!==a&&o.splice(n,1,a)}return o}if(wA.isPlainObject(o)){for(const n of Object.keys(o)){let a=await t(o[n]);o[n]!==a&&(o[n]=a)}return o}return o}}async function I5(A,e,t,o,r){const n=new Array(t.segments.length);for(let a=0;a<t.segments.length;++a){await A(e,t.segments[a],o,r),e.pop();const i=await Gt(t.segments[a],r);n[a]=i}return Vm(n)}async function Gt(A,e){const t=Xo(A,e),o=await Zb(t==null?void 0:t.value);return we(A,{...t,value:o},e),o}async function Wd(A,e,t){var a,i,s;t||(t=os(e)),nc(t,A);const o=new Xm;o.push(Ce(Ur(A)));const r={processedStatements:0,maxQueueLength:o.length,unshiftedItems:0,clearToLabels:0,maxBlocks:0,maxLoops:0};let n=new Date().getTime();for(;o.length>0&&!((a=e.cancellationToken)!=null&&a.cancelled);){if(e.timeout&&new Date().getTime()-n>e.timeout)throw new Error("Script execution timeout");const l=o.dequeue();t.breakLabelValue=o.length>0?o.peek().label:-1;let u;try{await((i=e==null?void 0:e.onStatementStarted)==null?void 0:i.call(e,e,l.statement)),u=await w5(l.statement,(l==null?void 0:l.execInfo)??{},e,t)}catch(g){if(t.tryBlocks&&t.tryBlocks.length>0){const p=t.tryBlocks[t.tryBlocks.length-1];p.errorToThrow=g,p.errorSource=p.processingPhase,p.processingPhase="error",u={clearToLabel:p.tryLabel}}else g instanceof lr?$a(g):$a(new Yi(g),g)}u&&(u.toUnshift&&(o.unshift(u.toUnshift),r.unshiftedItems+=u.toUnshift.length),u.clearToLabel!==void 0&&(o.clearToLabel(u.clearToLabel),r.clearToLabels++)),await((s=e==null?void 0:e.onStatementCompleted)==null?void 0:s.call(e,e,l.statement)),o.length>r.maxQueueLength&&(r.maxQueueLength=o.length),t.blocks&&t.blocks.length>r.maxBlocks&&(r.maxBlocks=t.blocks.length),t.loops&&t.loops.length>r.maxLoops&&(r.maxLoops=t.loops.length),r.processedStatements++}return r}async function w5(A,e,t,o){let r=[],n;switch(A.type){case Ka:break;case Yl:if(o!==t.mainThread)throw new Error("'var' declarations are not allowed within functions");break;case zo:break;case Jo:if(A.stmts.length===0)break;o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),nc(o,A.stmts),r=Ce([...Ur(A.stmts),ts()]);break;case qo:const a=await eo(A.expr,t,o);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=a);break;case Xt:const i=await l5(A.expr,t,o,...t.eventArgs??[]);o.blocks&&o.blocks.length!==0&&(o.blocks[o.blocks.length-1].returnValue=i);break;case Ul:{const l=at(o);if(!l)throw new Error("Missing block scope");await zc(l,t,o,A.decls);break}case Kl:{const l=at(o);if(!l)throw new Error("Missing block scope");await zc(l,t,o,A.decls,!0);break}case jl:!!await eo(A.cond,t,o)?r=oc(A.thenB):A.elseB&&(r=oc(A.elseB));break;case Aa:{if(at(o)===void 0)throw new Error("Return requires a block scope");if(o.returnValue=A.expr?await eo(A.expr,t,o):void 0,(o.tryBlocks??[]).length>0){const u=o.tryBlocks[0];u.exitType="return",u.processingPhase!=="postFinally"&&o.blocks.pop(),n=Cn(o).tryLabel}else n=-1;break}case _l:{let l=e.guard?Ze(o):xo(o);!!await eo(A.cond,t,o)?r=Wa(l,A,o.breakLabelValue):_e(o);break}case Wl:{if(!e.guard){r=Wa(xo(o),A,o.breakLabelValue);break}!!await eo(A.cond,t,o)?r=Wa(Ze(o),A,o.breakLabelValue):_e(o);break}case Uu:{if(!o.loops||o.loops.length===0)throw new Error("Missing loop scope");let l;for(;o.loops.length>0&&(l=Ze(o),!!l.isSwitch);)o.loops.pop();if(!l)throw new Error("Missing loop scope");if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let g=l.tryBlockDepth;g<o.tryBlocks.length;g++)o.tryBlocks[l.tryBlockDepth].exitType="continue";n=Cn(o).tryLabel}else n=l.continueLabel,_e(o,!1);break}case Ru:{const l=Ze(o);if(l===void 0)throw new Error("Missing loop scope");if(l.isSwitch){n=l.breakLabel;break}if(l.tryBlockDepth>=0&&l.tryBlockDepth<(o.tryBlocks??[]).length){for(let g=l.tryBlockDepth;g<o.tryBlocks.length;g++)o.tryBlocks[l.tryBlockDepth].exitType="break";n=Cn(o).tryLabel}else n=l.breakLabel,_e(o);break}case $l:if(e.guard)if(!A.cond||await eo(A.cond,t,o)){const l=Ze(o);if(A.upd){const u={statement:{type:qo,nodeId:Bn(),expr:A.upd}};r=Ce([{statement:A.body},u,{statement:A,execInfo:e}])}else r=Ce([{statement:A.body},{statement:A,execInfo:e}]);l.breakLabel=o.breakLabelValue??-1,l.continueLabel=r[1].label}else _e(o);else{xo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}});const l=Kr(A);A.init?r=Ce([{statement:A.init},l]):r=Ce([l])}break;case cn:if(e.guard){if(e.keyIndex===void 0||e.keys===void 0)throw new Error("Keys information expected in for..in loop");if(e.keyIndex<e.keys.length){const l=e.keys[e.keyIndex++];switch(A.varB){case"none":{const g={type:un,leftValue:{type:KA,name:A.id.name},op:"=",expr:{type:Me,value:l}};await eo(g,t,o);break}case"const":case"let":{const g=at(o);if(!g)throw new Error("Missing block scope");g.vars[A.id.name]=l,A.varB==="const"&&(g.constVars??(g.constVars=new Set),g.constVars.add(A.id.name))}break}const u=Ze(o);r=Ce([{statement:A.body},{statement:A,execInfo:e}]),u.breakLabel=o.breakLabelValue??-1,u.continueLabel=r[1].label}else _e(o)}else{const l=await eo(A.expr,t,o);if(l==null)break;xo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=Ce([{statement:A,execInfo:{guard:!0,keys:Object.keys(l),keyIndex:0}}])}break;case ea:if(e.guard){if(e.iterator===void 0)throw new Error("Iterator expected in for..of loop");const l=e.iterator.next();if(l.done){_e(o);break}const u=l.value;switch(A.varB){case"none":{const p={type:un,leftValue:{type:KA,name:A.id.name},op:"=",expr:{type:Me,value:u}};await eo(p,t,o);break}case"const":case"let":{const p=at(o);if(!p)throw new Error("Missing block scope");p.vars[A.id.name]=u,A.varB==="const"&&(p.constVars??(p.constVars=new Set),p.constVars.add(A.id.name))}break}const g=Ze(o);r=Ce([{statement:A.body},{statement:A,execInfo:e}]),g.breakLabel=o.breakLabelValue??-1,g.continueLabel=r[1].label}else{const l=await eo(A.expr,t,o);if(l==null||typeof l[Symbol.iterator]!="function")throw new Error("Object in for..of is not iterable");xo(o,1),o.blocks??(o.blocks=[]),o.blocks.push({vars:{}}),r=Ce([{statement:A,execInfo:{guard:!0,iterator:l[Symbol.iterator]()}}])}break;case Jl:throw new lr(await eo(A.expr,t,o));case zl:{if(!e.guard){r=eh(o,Ah(o,A));break}const l=Cn(o);switch(l.processingPhase){case"error":switch(l.errorSource){case"try":if(o.blocks.pop(),A.catchB){if(l.statement.catchV){const g=at(o);g.vars[l.statement.catchV.name]=l.errorToThrow instanceof lr?l.errorToThrow.errorObject:l.errorToThrow}delete l.errorToThrow,l.processingPhase="catch",r=th(o,l)}else l.statement.finallyB&&(l.processingPhase="finally",r=mn(o,l));break;case"catch":o.blocks.pop(),l.processingPhase="finally",r=mn(o,l);break;case"finally":o.blocks.pop(),l.processingPhase="postFinally",r=rc(l);break}break;case"try":l.processingPhase="finally",A.finallyB&&(r=mn(o,l));break;case"catch":l.processingPhase="finally",A.finallyB&&(r=mn(o,l));break;case"finally":l.processingPhase="postFinally",r=rc(l);break;case"postFinally":const u=o.tryBlocks.pop();switch(u.exitType){case"break":{const g=Ze(o);if(g===void 0)throw new Error("Missing loop scope");_e(o),n=g.breakLabel;break}case"continue":{const g=Ze(o);if(g===void 0)throw new Error("Missing loop scope");n=g.continueLabel,_e(o,!1);break}case"return":n=-1;break}if(u.errorToThrow)throw u.errorToThrow;break}break}case ql:{if(e.guard)_e(o);else{let l=xo(o);l.isSwitch=!0,o.blocks.push({vars:{}});const u=await eo(A.expr,t,o);let g=-1;for(let B=0;B<A.cases.length;B++){const C=A.cases[B];if(C.caseE===void 0){g=B;break}if(await eo(C.caseE,t,o)===u){g=B;break}}const p=[];if(g>=0)for(let B=g;B<A.cases.length;B++)p.push(...A.cases[B].stmts);r=Ce([...Ur(p),Kr(A)]),l.breakLabel=r[r.length-1].label}break}}return e.removeBlockScope&&o.blocks&&o.blocks.length>0&&o.blocks.pop(),{toUnshift:r,clearToLabel:n}}async function zc(A,e,t,o,r=!1,n=!1,a=void 0){for(let g=0;g<o.length;g++){let p;const B=o[g];n?p=a:B.expr&&(p=await eo(B.expr,e,t)),i(A,B,p,r)}function i(g,p,B,C){if(p.id)s(g,p.id,B,C);else if(p.aDestr)l(g,p.aDestr,B,C);else if(p.oDestr)u(g,p.oDestr,B,C);else throw new Error("Unknown declaration specifier")}function s(g,p,B,C){if(g.vars[p])throw new Error(`Variable ${p} is already declared in the current scope.`);g.vars[p]=B,C&&(g.constVars??(g.constVars=new Set),g.constVars.add(p))}function l(g,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],E=B==null?void 0:B[m];h.id?s(g,h.id,E,C):h.aDestr?l(g,h.aDestr,E,C):h.oDestr&&u(g,h.oDestr,E,C)}}function u(g,p,B,C){for(let m=0;m<p.length;m++){const h=p[m],E=B==null?void 0:B[h.id];h.aDestr?l(g,h.aDestr,E,C):h.oDestr?u(g,h.oDestr,E,C):s(g,h.alias??h.id,E,C)}}}function AD(A){const e=new _a(A);let t=null;try{t=e.parseStatements()}catch(o){if(e.errors.length>0){const r=e.errors[0];$a(new Ki(`${r.code}(${r.line}, ${r.column}): ${e.errors[0].text}`,A,r.position))}else throw o}if(!e.isEof){const o=e.getTail();$a(new Ki("Invalid tail found",A,A.length-o.length+1))}return t}function $d(A,e){const t=(A==null?void 0:A.length)??0;if(t===0)return[{type:Xt,expr:{type:De,args:[],statement:{type:zo}}}];if(t===1){const n=A[0];if(n.type===qo){if(e){if(n.expr.type===KA)return[r(n.expr)];if(o(n.expr))return[r(n.expr)]}return n.expr.type===De?[{type:Xt,expr:n.expr}]:[{type:Xt,expr:{type:De,args:[],statement:A[0]}}]}if(n.type===Aa)return[{type:Xt,expr:{type:De,args:[],statement:{type:Jo,stmts:[n]}}}];if(n.type===Jo)return n.stmts[0].type===qo&&n.stmts[0].expr.type===De?[{type:Xt,expr:n.stmts[0].expr}]:[{type:Xt,expr:{type:De,args:[],statement:A[0]}}]}if(t>1)return[{type:Xt,expr:{type:De,args:[],statement:{type:Jo,stmts:A}}}];return A;function o(n){return(n.type===Vo||n.type===gn&&n.member.type===Me)&&(o(n.obj)||n.obj.type===KA)}function r(n){const a=e.eventArgs?e.eventArgs.map((s,l)=>({type:KA,name:`__arg@@#__${l}__`})):[];e.eventArgs&&e.eventArgs.forEach((s,l)=>{e.localContext[`__arg@@#__${l}__`]=s});const i={type:De,args:a,statement:{type:qo,expr:{type:As,obj:n,arguments:[...a]}}};return{type:Xt,expr:i}}}async function f5(A,e,t){const o=$d(AD(A));return await Wd(o,e,t)}function b5({node:A,state:e,dispatch:t,lookupAction:o,lookupSyncCallback:r,registerComponentApi:n,onUnmount:a,appContext:i,memoedVarsRef:s}){const l=Ta(),u=d.useMemo(()=>Symbol(A.uid),[A.uid]);d.useEffect(()=>()=>{a(u)},[a,u]);const g=d.useCallback(b=>{n(u,b)},[n,u]),p=d.useCallback((b,v)=>o(b,u,v),[o,u]),B=ll(e),C=d.useMemo(()=>sh(e,i,B,s),[i,s,B,e]),m=d.useCallback(b=>{if(b)return r(C(b),u)},[r,u,C]),h=d.useCallback(b=>{t(D5(u,b))},[t,u]),E=d.useCallback(b=>{t(v5(u,b))},[t,u]),Q=d.useCallback((b,v)=>{t(y5(u,b,v))},[t,u]),I=d.useCallback(b=>{t(x5(u,b))},[t,u]),w=l.lookupLoaderRenderer(A.type);return w?w({loader:A,state:e,dispatch:t,loaderInProgressChanged:h,loaderIsRefetchingChanged:E,loaderLoaded:Q,loaderError:I,extractValue:C,registerComponentApi:g,lookupAction:p,lookupSyncCallback:m}):(console.error(`Loader ${A.type} is not available. Did you forget to register it in the loaderRegistry?`),null)}function D5(A,e){return{type:$e.LOADER_IN_PROGRESS_CHANGED,payload:{uid:A,inProgress:e}}}function v5(A,e){return{type:$e.LOADER_IS_REFETCHING_CHANGED,payload:{uid:A,isRefetching:e}}}function y5(A,e,t){return{type:$e.LOADER_LOADED,payload:{uid:A,data:e,pageInfo:t}}}function x5(A,e){return{type:$e.LOADER_ERROR,payload:{uid:A,error:e}}}const k5=d.memo(d.forwardRef(function({node:e,componentState:t,dispatch:o,parentDispatch:r,resolvedKey:n,version:a,setVersion:i,statePartChanged:s,registerComponentApi:l,parentRegisterComponentApi:u,layoutContextRef:g,parentRenderContext:p,memoedVarsRef:B,isImplicit:C,uidInfoRef:m,children:h},E){var X;const{apiBoundContainer:Q}=e,I=C?r:o,w=C?u:l,b=je(),{getThemeVar:v}=ne(),x=Ke.useNavigate(),T=Ke.useLocation(),H=d.useRef({}),P=d.useRef(t);P.current=t;const f=d.useRef({}),[y,L]=d.useTransition(),F=d.useRef(!0),S=d.useRef(new Map);be(()=>{for(const M of S.current.values())M()},[a]),d.useEffect(()=>{F.current=!0;const M=S.current;return()=>{F.current=!1;for(const G of M.values())G()}},[]);const{apiInstance:J}=ps(),R=OA(async(M,G,K,...V)=>{var rA,bA,DA;const nA=()=>G.description!==void 0&&(K==null?void 0:K.eventName)!==void 0;let sA=[];const EA=()=>{sA.length=0;const LA=wA.cloneDeep({...P.current,...(K==null?void 0:K.context)||{}});return LA.$this=P.current[G],Xb(LA,ZA=>{var SA;const TA=(SA=ZA.pathArray)==null?void 0:SA[0];if(TA!=null&&TA.startsWith("$"))throw new Error("Cannot update a read-only variable");sA.push(ZA)})},IA={...b,getThemeVar:v},iA={appContext:IA,eventArgs:V,localContext:EA(),implicitContextGetter:()=>({uid:G,state:P.current,getCurrentState:()=>P.current,dispatch:I,appContext:IA,apiInstance:J,navigate:x,location:T,lookupAction:(LA,ZA,TA={})=>z(LA,ZA,{...TA,ephemeral:!0})}),options:{defaultToOptionalMemberAccess:typeof((rA=b.appGlobals)==null?void 0:rA.defaultToOptionalMemberAccess)=="boolean"?b.appGlobals.defaultToOptionalMemberAccess:!0}};try{let LA;if(typeof M=="string")f.current[M]||(f.current[M]=$d(AD(M),iA)),LA=f.current[M];else if(eD(M)){const TA=M.parseId.toString();f.current[TA]||(f.current[TA]=$d(M.statements,iA)),LA=f.current[TA]}else LA=[{type:Xt,expr:M}];if(!(LA!=null&&LA.length))return;nA()&&I({type:$e.EVENT_HANDLER_STARTED,payload:{uid:G.description,eventName:K.eventName}});let ZA=0;if(iA.onStatementCompleted=async TA=>{if(sA.length){ZA=0,sA.forEach(ze=>{s(ze.pathArray,wA.cloneDeep(ze.newValue),ze.target,ze.action)});let SA=null;const xe=new Promise(ze=>{SA=()=>{ze(null)}}),Ie=Gi();S.current.set(Ie,SA),L(()=>{i(ze=>ze+1)}),F.current?await xe:await va(0),S.current.delete(Ie),sA=[]}else ZA++,ZA>100&&(ZA=0,await va(0));TA.localContext=EA()},await Wd(LA,iA),nA()&&I({type:$e.EVENT_HANDLER_COMPLETED,payload:{uid:G.description,eventName:K.eventName}}),(DA=(bA=iA.mainThread)==null?void 0:bA.blocks)!=null&&DA.length)return iA.mainThread.blocks[iA.mainThread.blocks.length-1].returnValue}catch(LA){throw(K==null?void 0:K.signError)!==!1&&b.signError(LA),nA()&&I({type:$e.EVENT_HANDLER_ERROR,payload:{uid:G.description,eventName:K.eventName,error:LA}}),LA}}),U=d.useCallback((M,...G)=>{var V,nA;const K={localContext:wA.cloneDeep(P.current),appContext:b,eventArgs:G};try{if(_u([{type:Xt,expr:M}],K),(nA=(V=K.mainThread)==null?void 0:V.blocks)!=null&&nA.length)return K.mainThread.blocks[K.mainThread.blocks.length-1].returnValue}catch(sA){throw console.error(sA),sA}},[b]),j=OA((M,G,K)=>{var sA;if(Array.isArray(M))throw new Error("Multiple event handlers are not supported");let V,nA;if(typeof M=="string")V=`${K==null?void 0:K.eventName};${M}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else if(eD(M))V=`${K==null?void 0:K.eventName};${M.parseId}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else if(H5(M))V=`${K==null?void 0:K.eventName};${M.statement.nodeId}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else if(M.type)V=`${K==null?void 0:K.eventName};${JSON.stringify(M)}`,nA=(...EA)=>R(M,G,K,...wA.cloneDeep(EA));else throw new Error("Invalid event handler");return K!=null&&K.ephemeral||K!=null&&K.context?nA:((sA=H.current[G])!=null&&sA[V]||(H.current[G]=H.current[G]||{},H.current[G][V]=nA),H.current[G][V])}),_=d.useCallback((M,G)=>{var V;const K=`sync-callback-${M.nodeId}`;return(V=H.current[G])!=null&&V[K]||(H.current[G]=H.current[G]||{},H.current[G][K]=Mi(nA=>(...sA)=>U(nA,...sA))),H.current[G][K](M)},[U]),Z=d.useCallback((M,G)=>{if(M){if(typeof M=="function")return M;if(M){if(typeof M=="function")return M;if(!M._ARROW_EXPR_)throw new Error("Only arrow expression allowed in sync callback");return _(M,G)}}},[_]),z=d.useCallback((M,G,K)=>{let V=M;if(!M&&G.description&&(K!=null&&K.eventName)){const nA=`${G.description}_on${Oi(K==null?void 0:K.eventName)}`;t[nA]&&t[nA]._ARROW_EXPR_&&(V=t[nA])}if(V)return typeof V=="function"?V:j(V,G,K)},[t,j]),O=d.useRef(!1);d.useEffect(()=>{if(!e.api||!e.containerUid||O.current)return;O.current=!0;const M={},G=Symbol("$self");Object.entries(e.api).forEach(([K,V])=>{M[K]=z(V,G)}),C||w(G,M),u(e.containerUid,M)},[z,e.api,e.containerUid,e.uid,C,u,w]);const Y=OA(M=>{delete H.current[M]}),q=d.useCallback((M,G,K,V,nA)=>{if(typeof M=="string")throw Error("should be resolved for now");const sA=wA.isArray(M)?M:[M];if(!sA||!sA.length)return null;const EA=sA.length>1,IA=sA.map((iA,rA)=>{if(!iA)return;const bA=sD({node:iA,state:t,dispatch:I,appContext:b,lookupAction:z,lookupSyncCallback:Z,registerComponentApi:w,renderChild:q,statePartChanged:s,layoutContext:G,parentRenderContext:K,memoedVarsRef:B,cleanup:Y,uidInfoRef:V});if(bA===void 0)return;let DA=bA;const LA=`${rA}_${iA.uid}`;return EA&&(d.isValidElement(bA)?DA=d.cloneElement(bA,{key:LA}):DA=c.jsx(d.Fragment,{children:bA},LA)),DA});return IA.length===1?nA&&IA[0]&&d.isValidElement(IA[0])?d.cloneElement(IA[0],{ref:Et(nA,IA[0].ref)}):IA[0]:IA},[t,I,b,z,Z,w,s,B,Y]);(X=e.props)!=null&&X.debug&&console.log(`Container: ${n}`,{componentState:t,node:e});const eA={},AA=d.useRef({}),uA=e.uses===void 0?m:AA,gA=q(e.children,g==null?void 0:g.current,p,uA,E),cA=S5({uidInfo:eA,uidInfoRef:uA,loaders:e.loaders,componentState:t,memoedVarsRef:B,dispatch:Q?o:I,registerComponentApi:Q?l:w,appContext:b,lookupAction:z,lookupSyncCallback:Z,cleanup:Y}),BA=c.jsxs(c.Fragment,{children:[cA,h&&d.isValidElement(gA)?d.cloneElement(gA,null,h):gA]});return c.jsx(d.Fragment,{children:BA},e.uid?`${n}>${FA(t,e.uid,b,!0)}`:void 0)}));function S5({uidInfo:A,uidInfoRef:e,loaders:t=Ae,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,cleanup:l,memoedVarsRef:u}){return t.map(p=>{if(p!=null&&p.uid){if(A[p.uid])throw new Error(`Another ${A[p.uid]} definition in this container already uses the uid '${p.uid}'`);A[p.uid]="loader",e.current[p.uid]={type:"loader",value:"loaderValue",uid:p.uid}}const B=g({loader:p,componentState:o,dispatch:r,appContext:n,registerComponentApi:a,lookupAction:i,lookupSyncCallback:s,memoedVarsRef:u,cleanup:l});if(B!==void 0)return c.jsx(d.Fragment,{children:B},p.uid)});function g({loader:p,componentState:B,dispatch:C,appContext:m,registerComponentApi:h,lookupAction:E,lookupSyncCallback:Q,cleanup:I,memoedVarsRef:w}){return!p||!$u(p.when,B,m)?null:c.jsx(b5,{onUnmount:I,node:p,state:B,dispatch:C,registerComponentApi:h,lookupAction:E,lookupSyncCallback:Q,memoedVarsRef:w,appContext:m})}}function eD(A){return A.__PARSED===!0}function H5(A){return A.type===De}const M5=d.memo(d.forwardRef(function({node:e,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,isImplicit:u,children:g,...p},B){const[C,m]=d.useState(0),h=T5(),E=d.useRef(new Map),Q=Ve(d.useMemo(()=>L5(o,e.uses),[e.uses,o])),I=Ub(),w=ZO(I),[b,v]=d.useReducer(w,jA),[x,T]=d.useState(jA),H=Ve(d.useMemo(()=>{const O={...b};for(const Y of Object.getOwnPropertySymbols(b)){const q=b[Y];Y.description&&(O[Y.description]=q)}if(Reflect.ownKeys(x).length===0)return O;for(const Y of Object.getOwnPropertySymbols(x)){const q=x[Y];if(Y.description){const eA=Y.description;O[eA]={...O[eA]||{},...q}}O[Y]={...O[Y],...q}}return O},[b,x])),P=tD(Q,H,e.contextVars),f=e.scriptCollected;if(f!=null&&f.moduleErrors&&!wA.isEmpty(f.moduleErrors))throw new qc(f.moduleErrors);if(e.scriptError&&!wA.isEmpty(e.scriptError))throw new qc(e.scriptError);const y=ll(b),L=Ve({...f==null?void 0:f.functions,...e.functions,...f==null?void 0:f.vars,...e.vars}),F=d.useMemo(()=>{const O={};return Object.entries(L).forEach(([Y,q])=>{Vc(q)&&q.tree.type===De&&(O[Y]=ac(q.tree,y))}),VO(O)},[y,L]),S=oD(L,F,P,d.useRef(new Map)),J=Ve({...S,...P}),R=oD(L,F,J,E),U=N5(R,H),j=tD(Q,e.contextVars,U,h),_=d.useCallback((O,Y)=>{T(he(q=>{q[O]||(q[O]={}),Object.entries(Y).forEach(([eA,AA])=>{q[O][eA]!==AA&&(q[O][eA]=AA)})}))},[]),Z=d.useRef(H),z=d.useCallback((O,Y,q,eA)=>{const AA=O[0];AA in Z.current||AA in R?v({type:$e.STATE_PART_CHANGED,payload:{path:O,value:Y,target:q,actionType:eA,localVars:R}}):(!e.uses||e.uses.includes(AA))&&r(O,Y,q,eA)},[R,e.uses,r]);return c.jsx($i,{node:e,location:"container",children:c.jsx(k5,{resolvedKey:t,node:e,componentState:j,dispatch:v,parentDispatch:a,setVersion:m,version:C,statePartChanged:z,registerComponentApi:_,parentRegisterComponentApi:n,layoutContextRef:s,parentRenderContext:i,memoedVarsRef:E,isImplicit:u,ref:B,uidInfoRef:l,...p,children:g})})})),T5=()=>{const[A]=Ke.useSearchParams(),e=Ke.useParams(),t=Ke.useLocation(),o=hC(),r=d.useMemo(()=>{var a;return((a=o==null?void 0:o.linkMap)==null?void 0:a.get(t.pathname))||jA},[o==null?void 0:o.linkMap,t.pathname]),n=d.useMemo(()=>{const a={};for(const[i,s]of Array.from(A.entries()))a[i]=s;return a},[A]);return d.useMemo(()=>({$pathname:t.pathname,$routeParams:e,$queryParams:n,$linkInfo:r}),[r,t.pathname,n,e])};function L5(A,e){return e?e.length===0?jA:wA.pick(A,e):A}function tD(...A){const e=d.useMemo(()=>{let t={};return A.forEach((o=jA)=>{o!==jA&&(t={...t,...o})}),t},[A]);return Ve(e)}function N5(A,e){const t=d.useMemo(()=>{const o={...A};return Reflect.ownKeys(e).forEach(r=>{const n=e[r];o[r]===void 0?o[r]=n:wA.isPlainObject(o[r])&&wA.isPlainObject(n)||Array.isArray(o[r])&&Array.isArray(n)?o[r]=wA.merge(wA.cloneDeep(o[r]),n):o[r]=n}),o},[A,e]);return Ve(t)}function oD(A=jA,e=jA,t,o){const r=je(),n=ll(t),a=d.useMemo(()=>{const i={};return Object.entries(A).forEach(([s,l])=>{if(s==="$props")i[s]=l;else if(!Vc(l)&&typeof l!="string")i[s]=l;else{o.current.has(l)||o.current.set(l,{getDependencies:Mi((C,m)=>{if(Vc(C))return ac(C.tree,m);const h=Yu(C);let E=new Set;return h.forEach(Q=>{Q.type==="expression"&&(E=new Set([...E,...ac(Q.value,m)]))}),Array.from(E)}),obtainValue:Mi((C,m,h,E,Q,I)=>{try{return Vc(C)?Ct(C.tree,{localContext:m,appContext:h,options:{defaultToOptionalMemberAccess:!0}}):FA(m,C,h,E)}catch(w){throw console.log(m),new F5(C,w)}},([C,m,h,E,Q,I],[w,b,v,x,T,H])=>Ri(Q,T)&&Ri(I,H))});const u={...i,...t};let g=[];e[s]?g=e[s]:(o.current.get(l).getDependencies(l,n).forEach(C=>{e[C]?g.push(...e[C]):g.push(C)}),g=[...new Set(g)]);const p=il(u,g),B=il(r,g);i[s]=o.current.get(l).obtainValue(l,u,r,!0,p,B)}}),i},[r,t,e,o,n,A]);return Ve(a)}class qc extends Error{constructor(e){const o=(e.Main||[]).map(r=>{let n=`${r.code} : ${r.text}`;const a=[];return r.line!==void 0&&a.push(`line:${r.line}`),r.column!==void 0&&a.push(`column:${r.column}`),a.length&&(n=`${n} (${a.join(", ")})`),n});super(o.join(`
|
|
246
246
|
`)),Object.setPrototypeOf(this,qc.prototype)}}class F5 extends Error{constructor(e,t){super(`Error on var: ${e} - ${(t==null?void 0:t.message)||"unknown"}`)}}function Vc(A){return A&&typeof A=="object"&&A[hc]}function P5(A){return A.type==="Container"?!0:!!(A.loaders||A.vars||A.uses||A.contextVars||A.functions||A.scriptCollected)}const G5=d.memo(d.forwardRef(function({node:e,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,children:u,...g},p){const B=d.useMemo(()=>O5(e),[e]);return c.jsx($i,{node:e,location:"container",children:c.jsx(M5,{node:B,resolvedKey:t,parentState:o,parentStatePartChanged:r,parentRegisterComponentApi:n,parentDispatch:a,parentRenderContext:i,layoutContextRef:s,uidInfoRef:l,isImplicit:e.type!=="Container"&&B.uses===void 0,ref:p,...g,children:u})})})),O5=A=>{var t,o;if(A.type==="Container")return A;const e={...A,props:{...A.props}};return delete e.loaders,delete e.vars,delete e.functions,delete e.script,delete e.scriptCollected,delete e.scriptError,delete e.uses,(t=e.props)==null||delete t.uses,delete e.api,delete e.contextVars,{type:"Container",uid:A.uid,when:A.when,loaders:A.loaders,vars:A.vars,functions:A.functions,scriptCollected:A.scriptCollected,scriptError:A.scriptError,uses:A.uses,api:A.api,containerUid:A==null?void 0:A.containerUid,apiBoundContainer:A==null?void 0:A.apiBoundContainer,contextVars:A.contextVars,props:{debug:(o=A.props)==null?void 0:o.debug},children:[e]}},rD={position:"absolute",width:0,display:"none"},R5=d.forwardRef((A,e)=>{const t=d.useRef(null),o=d.useRef(null),{onTargetMounted:r}=A,n=d.useRef(null),a=d.useRef(null),[i,s]=d.useState(!1),l=d.useCallback(C=>{a.current=C,C!==null&&(r==null||r()),s(!0)},[r]),[u,g]=d.useState(0),p=Ve(A.attr),B=!A.allowOnlyRefdChild&&!i;return d.useLayoutEffect(()=>{let C;i?C=a.current:B&&(n.current?C=n.current:(C=(t.current.nextElementSibling===o.current?null:t.current.nextElementSibling)||null,n.current=C,g(m=>m++))),C&&Object.entries(p).forEach(([m,h])=>{h!==void 0?C.setAttribute(m,h):C.removeAttribute(m)})},[B,p,i]),c.jsxs(c.Fragment,{children:[!n.current&&B&&c.jsx("span",{style:rD,ref:t}),d.cloneElement(A.children,{ref:e?Et(l,e):l}),!n.current&&B&&c.jsx("span",{style:rD,ref:o})]})});let U5=0;function K5(A){const e={__PARSED:!0,parseId:++U5,segments:[]};if(A==null)return e;let t=0,o="",r="";for(let n=0;n<A.length;n++){const a=A[n];switch(t){case 0:a==="\\"?(t=1,r="\\"):a==="{"?(o!==""&&e.segments.push({literal:o}),o="",t=2):o+=a;break;case 1:if(a==="\\"){r+=a;break}a==="{"?o+=r.substring(1)+a:o+=r+a,t=0;break;case 2:const i=A.substring(n),s=new _a(A.substring(n));let l=null;try{l=s.parseExpr()}catch(g){throw new Error(`Cannot parse expression: '${i}': ${g}`)}const u=s.getTail();if(!u||u.trim().length<1||u.trim()[0]!=="}")throw new Error(`Unclosed expression: '${A}'
|
|
247
247
|
'${i}'`);e.segments.push({expr:l}),n=A.length-u.length,o="",t=0;break}}switch(t){case 0:o!==""&&e.segments.push({literal:o});break;case 1:e.segments.push({literal:o+r});break;case 2:e.segments.push({literal:o+"{"});break}return e}function Y5({uid:A,node:e,apiBoundProps:t,apiBoundEvents:o,renderChild:r,layoutContextRef:n,parentRendererContext:a}){const i=d.useMemo(()=>{function l(h){return`${e.uid}_data_${h}`}const u=[...e.loaders||[]],g={...e.events||{}},p={...e.props||{}},B={...e.vars||{}},C={...e.api||{}};o.forEach(h=>{const{type:E}=e.events[h];switch(E){case"FileUpload":{const Q=e.events[h],{invalidates:I,asForm:w,formParams:b,queryParams:v,rawBody:x,body:T,url:H,headers:P,method:f,file:y}=Q.props,{success:L,error:F}=Q.events||{};g[h]=`(eventArgs) => {
|
|
248
248
|
return Actions.upload({
|
|
@@ -297,7 +297,7 @@ It supports both side-by-side and stacked layouts.`,props:{markdown:{description
|
|
|
297
297
|
getOptimisticValue: ${JSON.stringify(F)},
|
|
298
298
|
invalidates: ${f===void 0?void 0:JSON.stringify(f)},
|
|
299
299
|
when: ${I===void 0?void 0:JSON.stringify(I)} }, { resolveBindingExpressions: true });
|
|
300
|
-
}`;break}default:throw new Error("Unknown event handler component type: ",E)}}),t.forEach(h=>{var x,T,H;const E=((x=e.props[h])==null?void 0:x.type)==="DataSourceRef",Q=e.props[h].uid||l(h),I=e.props[h].props||e.props[h],w={};Object.entries(e.events||{}).forEach(([P,f])=>{if(P.startsWith(h)){const y=P.substring(h.length),L=y.charAt(0).toLowerCase()+y.slice(1);w[L]=f}}),h==="data"&&(p.__DATA_RESOLVED=!0),E||(u.push({type:"DataLoader",uid:Q,props:I,events:w}),C[`fetch_${h}`]=`() => { ${Q}.refetch(); }`,C[`update_${h}`]=`(updaterFn) => { ${Q}.update(updaterFn); }`,C[`addItem_${h}`]=`(element, index) => { ${Q}.addItem(element, index); }`,C[`getItems_${h}`]=`() => { return ${Q}.getItems(); }`,C[`deleteItem_${h}`]=`(element) => { ${Q}.deleteItem(element); }`,h==="data"&&(p._data_url=I.url));let b=null;const{segments:v}=K5((T=I.url)==null?void 0:T.trim());(v==null?void 0:v.length)===1&&(v[0].literal?b=`"${v[0].literal}"`:v[0].expr&&(b=(H=I.url)==null?void 0:H.trim().substring(1,I.url.length-1))),b===null?p[h]=`{ ${Q}.value }`:p[h]=`{ ${Q}.value || ( appGlobals.prefetchedContent[${b}] || appGlobals.prefetchedContent['/' + ${b}] ) }`,p.loading=`{ ${Q}.inProgress === undefined ? true : ${Q}.inProgress}`,p.pageInfo=`{${Q}.pageInfo}`,g.requestFetchPrevPage=`${Q}.fetchPrevPage()`,g.requestFetchNextPage=`${Q}.fetchNextPage()`,g.requestRefetch=`()=> ${Q}.refetch();`});const m={...e,containerUid:A,apiBoundContainer:!0,props:p,events:g};return u.length&&(m.loaders=u),Object.keys(B).length&&(m.vars=B),Object.keys(C).length&&(m.api=C),m},[o,t,e,A]),s=r(i,n==null?void 0:n.current,a);return d.isValidElement(s)?s:c.jsx(c.Fragment,{children:s})}const j5=["horizontalAlignment","verticalAlignment","orientation","width","minWidth","maxWidth","height","minHeight","maxHeight","gap","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderStyle","borderWidth","borderHorizontal","borderVertical","borderRadius","radiusTopLeft","radiusTopRight","radiusBottomLeft","radiusBottomRight","padding","paddingHorizontal","paddingVertical","paddingTop","paddingRight","paddingBottom","paddingLeft","backgroundColor","background","boxShadow","direction","overflowX","overflowY","zIndex","color","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","wrapContent","canShrink","margin","marginHorizontal","marginVertical","marginTop","marginRight","marginBottom","marginLeft","userSelect","letterSpacing","textTransform","lineHeight","opacity","cursor","textWrap","textAlign","textAlignLast","top","right","bottom","left","zoom","whiteSpace","textDecoration","textDecorationLine","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","outline","outlineWidth","outlineColor","outlineStyle","outlineOffset","fontVariant","lineBreak","textIndent","textShadow","wordBreak","wordSpacing","wordWrap","writingMode","transition"];function _5(A,e){const t=a("click",A,e),o=a("mouseLeave",A,e),r=a("mouseEnter",A,e),n=a("doubleClick",A,e);if(e)return jA;return{onClick:t,onMouseLeave:o,onMouseEnter:r,onDoubleClick:n};function a(i,s,l){const u=l?void 0:s(i),g=d.useCallback(p=>{u&&(p==null||p.stopPropagation(),u(p))},[u]);return u?g:void 0}}const nD={errorOverlay:"_errorOverlay_1fts7_13",title:"_title_1fts7_20"};function W5({message:A}){return c.jsx("div",{className:nD.errorOverlay,children:c.jsxs("span",{className:nD.title,children:["Unknown component: ",A]})})}const Xc={errorOverlay:"_errorOverlay_dnota_13",title:"_title_dnota_22",errorItems:"_errorItems_dnota_31",errorItem:"_errorItem_dnota_31"};function aD({errors:A=Ae,node:e,children:t}){return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Xc.errorOverlay,children:[c.jsx("div",{className:Xc.title,children:c.jsxs("span",{children:[c.jsx("b",{children:e.type})," component problems:"]})}),c.jsx("ul",{className:Xc.errorItems,children:A.map((o,r)=>c.jsx("li",{className:Xc.errorItem,children:o},r))})]}),t]})}const $5=d.forwardRef(function({node:e,state:t,appContext:o,dispatch:r,lookupAction:n,lookupSyncCallback:a,renderChild:i,registerComponentApi:s,layoutContextRef:l,parentRenderContext:u,memoedVarsRef:g,onUnmount:p,uidInfoRef:B,children:C,...m},h){var q;const E=d.useMemo(()=>({...e,props:e.props||jA,events:e.events||jA}),[e]),Q=d.useMemo(()=>Symbol(E.uid),[E.uid]);d.useEffect(()=>()=>{p(Q)},[p,Q]);const I=d.useCallback(eA=>{s(Q,eA)},[s,Q]),w=d.useCallback(eA=>{r({type:$e.COMPONENT_STATE_CHANGED,payload:{uid:Q,state:eA}})},[r,Q]),b=ll(t),v=d.useMemo(()=>sh(t,o,b,g),[o,g,b,t]),x=d.useCallback(eA=>a(v(eA),Q),[a,Q,v]),T=d.useCallback((eA,AA)=>n(eA,Q,AA),[n,Q]),H=d.useCallback((eA,AA,uA)=>i(eA,AA,uA||u,B),[i,u,B]),P=d.useMemo(()=>iD(E.props,"DataSource","DataSourceRef"),[E.props]),f=d.useMemo(()=>iD(E.events,"APICall","FileDownload","FileUpload"),[E.events]),y=P.length>0||f.length>0,L=Ta(),{renderer:F,descriptor:S,isCompoundComponent:J}=L.lookupComponentRenderer(E.type)||{},R=d.useCallback((eA,AA)=>{var gA;const uA=((gA=E.events)==null?void 0:gA[eA])||(AA==null?void 0:AA.defaultHandler);return n(uA,Q,{eventName:eA,...AA})},[n,E.events,Q]),U=_5(R,(S==null?void 0:S.nonVisual)||y),{getResourceUrl:j}=ne(),_=d.useCallback(eA=>{const AA=v(eA);return j(AA)},[j,v]),{cssProps:Z}=d.useMemo(()=>{const eA={};return j5.forEach(AA=>{E.props&&AA in E.props&&(eA[AA]=v(E.props[AA],!0))}),Jp(eA,{...l==null?void 0:l.current,mediaSize:o.mediaSize})},[o.mediaSize,l,E.props,v]),z=Ve(Z);let O=null,Y=null;try{const eA={node:E,state:t[Q]||jA,updateState:w,appContext:o,extractValue:v,lookupEventHandler:R,lookupAction:T,lookupSyncCallback:x,extractResourceUrl:_,renderChild:H,registerComponentApi:I,layoutCss:z,layoutContext:l==null?void 0:l.current,uid:Q};if(E.type==="Slot")O=J5(eA,u);else{if(!F)return console.error(`Component '${E.type}' is not available. Did you forget to register it?`),c.jsx(W5,{message:`${E.type}`});O=F(eA)}const{inspectId:AA,refreshInspection:uA}=eP(E,Q);if((o!=null&&o.decorateComponentsWithTestId&&(E.uid!==void 0||E.testId!==void 0)||AA!==void 0)&&(S==null?void 0:S.nonVisual)!==!0&&(S==null?void 0:S.opaque)!==!0){const gA=E.testId||E.uid,cA=FA(t,gA,o,!0);O=c.jsx(R5,{attr:{"data-testid":cA,"data-inspectId":AA},allowOnlyRefdChild:J||E.type==="ModalDialog",onTargetMounted:E.type==="ModalDialog"?uA:void 0,ref:h,children:d.cloneElement(O,{...Bu({...O.props,...U},m)})})}if(y)return c.jsx(Y5,{uid:Q,renderChild:H,node:E,apiBoundEvents:f,apiBoundProps:P,layoutContextRef:l,parentRendererContext:u},E.uid);(q=l.current)!=null&&q.wrapChild&&(O=l.current.wrapChild(eA,O,S))}catch(eA){Y=(eA==null?void 0:eA.message)||"Internal error",console.error(eA)}if(Y)return c.jsx(aD,{errors:[Y],node:E,children:O});if((h||!wA.isEmpty(U))&&O&&d.isValidElement(O)){const eA=C?Array.isArray(C)?C:[C]:[];return d.cloneElement(O,{ref:O.type===d.Fragment?void 0:h?Et(h,O.ref):O.ref,...Bu({...O.props,...O.type!==d.Fragment?U:{}},m)},...eA)}return d.isValidElement(O)&&C?d.cloneElement(O,null,C):O});function J5({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutContext:r},n){const a=e.asOptionalString(A.props.name);if(a&&!a.endsWith("Template"))return c.jsx(aD,{node:A,errors:[`Slot name '${a}' is not valid. A named slot should use a name ending with 'Template'.`]});let i=null;if(wA.isEmpty(A.props)||(i={},Object.keys(A.props).forEach(s=>{if(s!=="name"){let l=e(A.props[s],!0);l!=null&&l._ARROW_EXPR_&&(l=o(l)),i[s]=l}})),n){if(a===void 0)return i?c.jsx(Dl,{node:n.children,renderChild:n.renderChild,slotProps:i,layoutContext:r}):n.renderChild(n.children,r);if(n.props[a])return c.jsx(Dl,{node:n.props[a],renderChild:n.renderChild,slotProps:i,layoutContext:r})}if(A.children&&A.children.length>0)return c.jsx(Dl,{node:A.children,renderChild:t,slotProps:i??jA,layoutContext:r})}function iD(A,...e){const t=[];if(!A)return t;const o=Object.entries(A);for(let r=0;r<o.length;r++){const[n,a]=o[r];wA.isPlainObject(a)&&e.includes(a.type)&&t.push(n)}return t}const z5=d.memo(d.forwardRef(function({node:e,resolvedKey:t,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,statePartChanged:u,layoutContext:g,parentRenderContext:p,memoedVarsRef:B,cleanup:C,uidInfoRef:m,children:h,...E},Q){var H;const I=Ta(),{descriptor:w}=I.lookupComponentRenderer(e.type)||{},b=d.useRef(g),v=d.useMemo(()=>{let P=e;return P=q5(P,w==null?void 0:w.childrenAsTemplate),P=V5(P),P=X5(P,m),P=AR(P),P},[w==null?void 0:w.childrenAsTemplate,e,m]),x=d.useMemo(()=>{var f;return typeof FA(o,(f=v.props)==null?void 0:f.data,n,!0)=="string"},[n,(H=v.props)==null?void 0:H.data,o]),T=d.useMemo(()=>Z5(v,x,m),[v,x,m]);return P5(T)?c.jsx(G5,{resolvedKey:t,node:T,parentState:o,parentDispatch:r,layoutContextRef:b,parentRenderContext:p,parentStatePartChanged:u,parentRegisterComponentApi:s,uidInfoRef:m,ref:Q,...E,children:h}):c.jsx($5,{onUnmount:C,memoedVarsRef:B,node:T,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,parentRenderContext:p,layoutContextRef:b,ref:Q,uidInfoRef:m,...E,children:h})}));function q5(A,e){if(!e||!A.children||A.children.length===0)return A;if(A.props[e])throw Error("'"+e+"' is already used as a property.");return{...A,props:{...A.props,[e]:A.children},children:Ae}}function V5(A){var r;let e=!1,t=A.loaders,o;return(r=A.children)==null||r.forEach(n=>{(n==null?void 0:n.type)==="DataSource"?(e=!0,t||(t=[]),t.push({uid:n.uid,type:"DataLoader",props:n.props,events:n.events,when:n.when})):(o||(o=[]),o.push(n))}),e?{...A,children:o,loaders:t}:A}function X5(A,e){if(!A.props)return A;let t={...A},o=!1;return Object.entries(A.props).forEach(([r,n])=>{let a;try{a=FA(e.current,n)}catch{}(a==null?void 0:a.type)==="loader"&&(o=!0,t={...t,props:{...t.props,[r]:{type:"DataSourceRef",uid:a.uid}}})}),o?t:A}function Z5(A,e,t){var o;return!((o=A.props)!=null&&o.__DATA_RESOLVED)&&A.props&&"data"in A.props&&e?FA(t.current,A.props.data)==="loaderValue"?A:{...A,props:{...A.props,data:{type:"DataSource",props:{url:A.props.data}}}}:A}function AR(A){return A.props&&"raw_data"in A.props?{...A,props:{...A.props,__DATA_RESOLVED:!0,data:A.props.raw_data}}:A}function sD({node:A,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,statePartChanged:s,layoutContext:l,parentRenderContext:u,memoedVarsRef:g,cleanup:p,uidInfoRef:B}){var h,E,Q;if(!$u(A.when,e,o))return null;const C=(h=A.props)==null?void 0:h.value;if(A.type==="TextNodeCData")return C??"";if(A.type==="TextNode"){const I=FA(e,C,o,!0);return typeof I=="boolean"?I.toString():I}if(A.type==="Slot"){let I;const w=(E=A.props)==null?void 0:E.name;if(w){if(!w.endsWith("Template"))throw new Error(`Slot name '${w}' is not valid. A named slot should use a name ending with 'Template'.`);I=(Q=u==null?void 0:u.props)==null?void 0:Q[w]}else I=u==null?void 0:u.children;if(I||(I=A.children),I){const b=Array.isArray(I)?I:[I];if(b.length===1&&u&&(b[0].type==="TextNodeCData"||b[0].type==="TextNode"))return u.renderChild(b)}}const m=FA(e,A.uid,o,!0);return c.jsx(z5,{resolvedKey:m,node:A,cleanup:p,statePartChanged:s,memoedVarsRef:g,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,layoutContext:l,parentRenderContext:u,uidInfoRef:B},m)}function Is(A){return getComputedStyle(A||document.body)}function eR({rootContainer:A,routerBaseName:e,globalProps:t,standalone:o,trackContainerHeight:r,decorateComponentsWithTestId:n,debugEnabled:a,children:i,onInit:s}){const[l,u]=d.useState(null),g=Ub(),p=Ta(),B=Ke.useNavigate(),{confirm:C}=JP(),{activeThemeId:m,activeThemeTone:h,setActiveThemeId:E,setActiveThemeTone:Q,availableThemeIds:I,root:w,toggleThemeTone:b}=Ui();Jx(JA=>{JA.code==="KeyT"&&JA.altKey&&JA.ctrlKey&&JA.shiftKey&&E(I[(I.indexOf(m)+1)%I.length]),JA.code==="KeyO"&&JA.altKey&&JA.ctrlKey&&JA.shiftKey&&Q(hl[(hl.indexOf(h)+1)%hl.length]),JA.code==="KeyS"&&JA.altKey&&JA.ctrlKey&&JA.shiftKey&&g.setDisplayStateView(!g.displayStateView)});const[v,x]=d.useState("0"),[T,H]=d.useState("0"),[P,f]=d.useState("0"),[y,L]=d.useState("0"),[F,S]=d.useState("0"),[J,R]=d.useState("0"),[U,j]=d.useState("0"),[_,Z]=d.useState("0"),[z,O]=d.useState("0"),[Y,q]=d.useState("0"),eA=JA=>{const kA=JA.match(/^(\d+)px$/);return kA?`${parseInt(kA[1])-.02}px`:"0"},AA=d.useRef();be(()=>(r&&w&&w!==document.body&&(AA!=null&&AA.current&&AA.current.unobserve(w),r==="auto"?w.style.setProperty("--containerHeight","auto"):AA.current=new ResizeObserver(JA=>{w.style.setProperty("--containerHeight",JA[0].contentRect.height+"px")}),AA.current&&AA.current.observe(w)),()=>{AA!=null&&AA.current&&AA.current.unobserve(w)}),[w,AA,r]),be(()=>{const JA=Is(w).getPropertyValue(ba("maxWidth-phone"));x(JA),H(eA(JA));const kA=Is(w).getPropertyValue(ba("maxWidth-landscape-phone"));f(kA),L(eA(kA));const YA=Is(w).getPropertyValue(ba("maxWidth-tablet"));S(YA),R(eA(YA));const GA=Is(w).getPropertyValue(ba("maxWidth-desktop"));j(GA),Z(eA(GA));const WA=Is(w).getPropertyValue(ba("maxWidth-large-desktop"));O(WA),q(eA(WA))},[m,w]);const uA=ya(`(max-width: ${T})`),gA=ya(`(min-width: ${v}) and (max-width: ${y})`),cA=ya(`(min-width: ${P}) and (max-width: ${J})`),BA=ya(`(min-width: ${F}) and (max-width: ${_})`),X=ya(`(min-width: ${U}) and (max-width: ${Y})`);let M,G;const K=ya(`(min-width: ${z})`);K?(M="xxl",G=5):X?(M="xl",G=4):BA?(M="lg",G=3):cA?(M="md",G=2):gA?(M="sm",G=1):uA&&(M="xs",G=0);const V=Wx(),nA=$x(),sA=ps(),EA=Ke.useLocation(),IA=d.useRef(""),[iA,rA]=d.useState(0);d.useEffect(()=>{s==null||s()},[s]),d.useEffect(()=>{var kA;let JA="";if(EA.hash&&(JA=EA.hash.slice(1)),IA.current!==JA&&(IA.current=JA,!((kA=EA.state)!=null&&kA.preventHashScroll))){const YA=w==null?void 0:w.getRootNode(),GA="instant";requestAnimationFrame(()=>{var WA;if(YA)if(YA instanceof ShadowRoot){const oo=YA.getElementById(IA.current);if(!oo)return;oR(oo,GA)}else(WA=document.getElementById(IA.current))==null||WA.scrollIntoView({behavior:GA,block:"start"})})}},[EA,iA,w]);const bA=d.useCallback(()=>{IA.current="",rA(JA=>JA+1)},[]),DA=d.useMemo(()=>{const JA={_SUPPORT_IMPLICIT_CONTEXT:!0};for(const[kA,YA]of p.actionFunctions)JA[kA]=YA;return JA},[p.actionFunctions]),LA=d.useMemo(()=>({isInIFrame:V}),[V]),ZA=d.useMemo(()=>({isWindowFocused:nA}),[nA]),TA=d.useMemo(()=>({phone:uA,landscapePhone:gA,tablet:cA,desktop:BA,largeDesktop:X,xlDesktop:K,smallScreen:uA||gA||cA,largeScreen:!(uA||gA||cA),size:M,sizeIndex:G}),[uA,gA,cA,BA,X,K,M,G]),SA=d.useMemo(()=>t?{...t}:jA,[t]),xe=d.useMemo(()=>({version:FO,Actions:DA,appGlobals:SA,debugEnabled:a,decorateComponentsWithTestId:n,environment:ZA,mediaSize:TA,queryClient:gD,standalone:o,appIsInShadowDom:(w==null?void 0:w.getRootNode())instanceof ShadowRoot,...qb,...qO,formatFileSizeInBytes:Gx,getFileExtension:Ox,navigate:B,routerBaseName:e,confirm:C,signError:tR,toast:ke,activeThemeId:m,activeThemeTone:h,availableThemeIds:I,setTheme:E,setThemeTone:Q,toggleThemeTone:b,loggedInUser:l,setLoggedInUser:u,delay:va,embed:LA,apiInterceptorContext:sA,getPropertyByPath:wA.get,...$b,forceRefreshAnchorScroll:bA}),[DA,SA,a,n,ZA,TA,o,B,e,C,m,h,I,E,Q,b,l,LA,sA,bA,w]),[Ie,ze]=d.useState(jA),Lr=d.useCallback((JA,kA)=>{ze(YA=>({...YA,[JA]:kA}))},[]),Rt=d.useCallback((JA,kA)=>{ze(YA=>({...YA,[JA]:{...YA[JA]||{},...kA}}))},[]),yi=d.useMemo(()=>({registerAppState:Lr,appState:Ie,update:Rt}),[Ie,Lr,Rt]),Tg=d.useRef(new Map),xi=sD({node:A,state:jA,dispatch:yA,appContext:void 0,lookupAction:yA,lookupSyncCallback:yA,registerComponentApi:yA,renderChild:yA,statePartChanged:yA,cleanup:yA,memoedVarsRef:Tg});return c.jsx(dC.Provider,{value:xe,children:c.jsx(DC.Provider,{value:yi,children:i&&d.isValidElement(xi)?d.cloneElement(xi,null,i):xi})})}function tR(A){ke.error(typeof A=="string"?A:A.message||"Something went wrong")}function oR(A,e){o(A).reverse().forEach(r=>{const n=A.getBoundingClientRect(),a=r.getBoundingClientRect();if(n.top<a.top||n.bottom>a.bottom){const i=n.top-a.top+r.scrollTop;r.scrollTo({top:i,behavior:e})}});function o(r){const n=[];let a=r;for(;a;){let i=a.parentElement;if(!i&&a.getRootNode||!i)break;const s=getComputedStyle(i);/(auto|scroll|overlay)/.test(s.overflow+s.overflowY+s.overflowX)&&n.push(i),a=i}return n}}const lD=d.createContext(void 0),rR=({children:A})=>{const[e,t]=d.useState([]),o=d.useCallback(r=>{const n={timestamp:new Date,args:r};t(a=>[...a,n])},[]);return c.jsx(lD.Provider,{value:{logs:e,addLog:o},children:A})},nR=()=>{const A=d.useContext(lD);if(!A)throw new Error("useLogger must be used within LoggerProvider");return A};var aR={};class ui{constructor(){this.isDev=!!aR.VITE_DEV_MODE}static getInstance(){return ui.instance||(ui.instance=new ui),ui.instance}registerCallback(e){this.isDev&&(this.callback=e)}log(e){this.isDev&&(console.log("[xmlui.log]",...e),this.callback&&this.callback(e))}warn(e){this.isDev&&(console.warn("[xmlui.warn]",...e),this.callback&&this.callback(e))}info(e){this.isDev&&(console.info("[xmlui.info]",...e),this.callback&&this.callback(e))}error(e){this.isDev&&(console.error("[xmlui.error]",...e),this.callback&&this.callback(e))}trace(e){this.isDev&&(console.trace("[xmlui.trace]",...e),this.callback&&this.callback(e))}}const iR=ui.getInstance(),sR=()=>{const{addLog:A}=nR();return d.useEffect(()=>{iR.registerCallback(A)},[A]),null},Zc={overlay:"_overlay_1b3my_13",overlayBg:"_overlayBg_1b3my_24",contentWrapper:"_contentWrapper_1b3my_30",content:"_content_1b3my_30"};var Jd={};function lR({interceptor:A,children:e,parentInterceptorContext:t=null,waitForApiInterceptor:o=!1}){const r=t!==null,[n,a]=d.useState(!A),[i,s]=d.useState(!1),[l,u]=d.useState(null),[g,p]=d.useState(null),B=(A==null?void 0:A.useWorker)??!0;let C=t==null?void 0:t.forceInitialize,m=t==null?void 0:t.interceptorWorker;d.useEffect(()=>{B||A&&(async()=>{const{initMock:I}=await Promise.resolve().then(()=>xB),w=await I(A);p(w),a(!0)})()},[A,B]),d.useEffect(()=>{if(B)if(r){if(!A)return;m?(async()=>{const[{createApiInterceptorWorker:I},{initMock:w}]=await Promise.all([Promise.resolve().then(()=>xy),Promise.resolve().then(()=>xB)]),b=await w(A);await I(b,m),setTimeout(()=>{a(!0)},0)})():C==null||C()}else if(A||i){let I;return(async()=>{if(Jd.VITE_MOCK_ENABLED){const[{createApiInterceptorWorker:w},{initMock:b}]=await Promise.all([B?Promise.resolve().then(()=>xy):Promise.resolve({createApiInterceptorWorker:()=>null}),Promise.resolve().then(()=>xB)]);if(A||i){const v=await b(A||{});I=await w(v);const x=Ep(Jd.VITE_MOCK_WORKER_LOCATION||"mockServiceWorker.js");await I.start({onUnhandledRequest:"bypass",quiet:!0,serviceWorker:{url:x}}),u(I)}}a(!0)})(),()=>{m||I==null||I.stop(),a(!1)}}else a(!0)},[B,i,r,A,C,m]);const h=d.useCallback(I=>A!==void 0&&!!Jd.VITE_MOCK_ENABLED,[A]),E=d.useCallback(()=>{s(!0)},[]),Q=d.useMemo(()=>({interceptorWorker:l,apiInstance:g,initialized:n,forceInitialize:E,isMocked:h}),[l,g,n,E,h]);return c.jsx(ME.Provider,{value:Q,children:o&&!n?null:e})}const cR=zs.motion.create(Oe.Content),gR={visible:{opacity:1},hidden:{opacity:0}},uR={initial:A=>({opacity:0,scale:.2,x:A.x-window.innerWidth/2,y:A.y-window.innerHeight/2}),animate:{opacity:1,scale:1,x:0,y:0},exit:{opacity:0,scale:.2,transition:{duration:.2}}};function dR(A){if(!A)return;const e=A.trim();return e.endsWith("ms")?parseFloat(e)/1e3:(e.endsWith("s"),parseFloat(e))}const cD=d.forwardRef(({children:A,style:e,isOpen:t,setIsOpen:o,clickPosition:r},n)=>{const{root:a,getThemeVar:i}=ne(),s=d.useRef(null),l=n?Et(n,s):s,[u,g]=d.useState(!0);if(d.useEffect(()=>{var B;t&&((B=s.current)==null||B.focus())},[t]),d.useEffect(()=>{if(t){const B=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout(B)}else document.body.style.pointerEvents="auto"},[t]),!a)return null;const p=()=>{o(!1)};return c.jsx(Oe.Root,{defaultOpen:!1,open:t,onOpenChange:g,children:c.jsx(Oe.Portal,{container:a,children:c.jsx(zs.AnimatePresence,{onExitComplete:p,children:u&&c.jsxs(Oe.Overlay,{className:Zc.overlay,forceMount:!0,children:[c.jsx(zs.motion.div,{className:Zc.overlayBg,variants:gR,initial:"hidden",animate:"visible",exit:"hidden",transition:{duration:.2,ease:[.16,1,.3,1]}},"overlay"),c.jsx(cR,{forceMount:!0,onPointerDownOutside:B=>{B.target instanceof Element&&B.target.closest("._debug-inspect-button")!==null&&B.preventDefault()},children:c.jsx(zs.motion.div,{ref:l,className:lA(Zc.content,Zc.contentWrapper),variants:uR,custom:{x:r.x,y:r.y},initial:"initial",animate:"animate",exit:"exit",transition:{duration:dR(i("duration-startAnimation-ModalDialog"))||.8,ease:[.16,1,.3,1]},style:{...e,gap:void 0},children:A})})]})})})})});cD.displayName="InspectorDialog";const BR={TooltipContent:"_TooltipContent_rqalv_13"},zd=({trigger:A,label:e})=>c.jsx(Fi.Provider,{children:c.jsxs(Fi.Root,{children:[c.jsx(Fi.Trigger,{asChild:!0,children:A}),c.jsx(Fi.Portal,{children:c.jsx(Fi.Content,{side:"bottom",align:"start",className:BR.TooltipContent,children:e})})]})});var pR={};const CR=()=>{const{mockApi:A,setIsOpen:e,isOpen:t,inspectedNode:o,clickPosition:r,projectCompilation:n,sources:a}=ZF(),{appGlobals:i}=je(),s=d.useMemo(()=>n?n.components.map(u=>u.markupSource):[],[n]),l=d.useMemo(()=>{var Q;const u=(Q=o==null?void 0:o.debug)==null?void 0:Q.source;if(!u||!a)return"";const{start:g,end:p,fileId:B}=u,C=a[B].slice(g,p);let m=!0;const h=[];let E;return C.split(`
|
|
300
|
+
}`;break}default:throw new Error("Unknown event handler component type: ",E)}}),t.forEach(h=>{var x,T,H;const E=((x=e.props[h])==null?void 0:x.type)==="DataSourceRef",Q=e.props[h].uid||l(h),I=e.props[h].props||e.props[h],w={};Object.entries(e.events||{}).forEach(([P,f])=>{if(P.startsWith(h)){const y=P.substring(h.length),L=y.charAt(0).toLowerCase()+y.slice(1);w[L]=f}}),h==="data"&&(p.__DATA_RESOLVED=!0),E||(u.push({type:"DataLoader",uid:Q,props:I,events:w}),C[`fetch_${h}`]=`() => { ${Q}.refetch(); }`,C[`update_${h}`]=`(updaterFn) => { ${Q}.update(updaterFn); }`,C[`addItem_${h}`]=`(element, index) => { ${Q}.addItem(element, index); }`,C[`getItems_${h}`]=`() => { return ${Q}.getItems(); }`,C[`deleteItem_${h}`]=`(element) => { ${Q}.deleteItem(element); }`,h==="data"&&(p._data_url=I.url));let b=null;const{segments:v}=K5((T=I.url)==null?void 0:T.trim());(v==null?void 0:v.length)===1&&(v[0].literal?b=`"${v[0].literal}"`:v[0].expr&&(b=(H=I.url)==null?void 0:H.trim().substring(1,I.url.length-1))),b===null?p[h]=`{ ${Q}.value }`:p[h]=`{ ${Q}.value || ( appGlobals.prefetchedContent[${b}] || appGlobals.prefetchedContent['/' + ${b}] ) }`,p.loading=`{ ${Q}.inProgress === undefined ? true : ${Q}.inProgress}`,p.pageInfo=`{${Q}.pageInfo}`,g.requestFetchPrevPage=`${Q}.fetchPrevPage()`,g.requestFetchNextPage=`${Q}.fetchNextPage()`,g.requestRefetch=`()=> ${Q}.refetch();`});const m={...e,containerUid:A,apiBoundContainer:!0,props:p,events:g};return u.length&&(m.loaders=u),Object.keys(B).length&&(m.vars=B),Object.keys(C).length&&(m.api=C),m},[o,t,e,A]),s=r(i,n==null?void 0:n.current,a);return d.isValidElement(s)?s:c.jsx(c.Fragment,{children:s})}const j5=["horizontalAlignment","verticalAlignment","orientation","width","minWidth","maxWidth","height","minHeight","maxHeight","gap","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderStyle","borderWidth","borderHorizontal","borderVertical","borderRadius","radiusTopLeft","radiusTopRight","radiusBottomLeft","radiusBottomRight","padding","paddingHorizontal","paddingVertical","paddingTop","paddingRight","paddingBottom","paddingLeft","backgroundColor","background","boxShadow","direction","overflowX","overflowY","zIndex","color","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","wrapContent","canShrink","margin","marginHorizontal","marginVertical","marginTop","marginRight","marginBottom","marginLeft","userSelect","letterSpacing","textTransform","lineHeight","opacity","cursor","textWrap","textAlign","textAlignLast","top","right","bottom","left","zoom","whiteSpace","textDecoration","textDecorationLine","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","outline","outlineWidth","outlineColor","outlineStyle","outlineOffset","fontVariant","lineBreak","textIndent","textShadow","wordBreak","wordSpacing","wordWrap","writingMode","transition"];function _5(A,e){const t=a("click",A,e),o=a("mouseLeave",A,e),r=a("mouseEnter",A,e),n=a("doubleClick",A,e);if(e)return jA;return{onClick:t,onMouseLeave:o,onMouseEnter:r,onDoubleClick:n};function a(i,s,l){const u=l?void 0:s(i),g=d.useCallback(p=>{u&&(p==null||p.stopPropagation(),u(p))},[u]);return u?g:void 0}}const nD={errorOverlay:"_errorOverlay_1fts7_13",title:"_title_1fts7_20"};function W5({message:A}){return c.jsx("div",{className:nD.errorOverlay,children:c.jsxs("span",{className:nD.title,children:["Unknown component: ",A]})})}const Xc={errorOverlay:"_errorOverlay_dnota_13",title:"_title_dnota_22",errorItems:"_errorItems_dnota_31",errorItem:"_errorItem_dnota_31"};function aD({errors:A=Ae,node:e,children:t}){return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Xc.errorOverlay,children:[c.jsx("div",{className:Xc.title,children:c.jsxs("span",{children:[c.jsx("b",{children:e.type})," component problems:"]})}),c.jsx("ul",{className:Xc.errorItems,children:A.map((o,r)=>c.jsx("li",{className:Xc.errorItem,children:o},r))})]}),t]})}const $5=d.forwardRef(function({node:e,state:t,appContext:o,dispatch:r,lookupAction:n,lookupSyncCallback:a,renderChild:i,registerComponentApi:s,layoutContextRef:l,parentRenderContext:u,memoedVarsRef:g,onUnmount:p,uidInfoRef:B,children:C,...m},h){var q;const E=d.useMemo(()=>({...e,props:e.props||jA,events:e.events||jA}),[e]),Q=d.useMemo(()=>Symbol(E.uid),[E.uid]);d.useEffect(()=>()=>{p(Q)},[p,Q]);const I=d.useCallback(eA=>{s(Q,eA)},[s,Q]),w=d.useCallback(eA=>{r({type:$e.COMPONENT_STATE_CHANGED,payload:{uid:Q,state:eA}})},[r,Q]),b=ll(t),v=d.useMemo(()=>sh(t,o,b,g),[o,g,b,t]),x=d.useCallback(eA=>a(v(eA),Q),[a,Q,v]),T=d.useCallback((eA,AA)=>n(eA,Q,AA),[n,Q]),H=d.useCallback((eA,AA,uA)=>i(eA,AA,uA||u,B),[i,u,B]),P=d.useMemo(()=>iD(E.props,"DataSource","DataSourceRef"),[E.props]),f=d.useMemo(()=>iD(E.events,"APICall","FileDownload","FileUpload"),[E.events]),y=P.length>0||f.length>0,L=Ta(),{renderer:F,descriptor:S,isCompoundComponent:J}=L.lookupComponentRenderer(E.type)||{},R=d.useCallback((eA,AA)=>{var gA;const uA=((gA=E.events)==null?void 0:gA[eA])||(AA==null?void 0:AA.defaultHandler);return n(uA,Q,{eventName:eA,...AA})},[n,E.events,Q]),U=_5(R,(S==null?void 0:S.nonVisual)||y),{getResourceUrl:j}=ne(),_=d.useCallback(eA=>{const AA=v(eA);return j(AA)},[j,v]),{cssProps:Z}=d.useMemo(()=>{const eA={};return j5.forEach(AA=>{E.props&&AA in E.props&&(eA[AA]=v(E.props[AA],!0))}),Jp(eA,{...l==null?void 0:l.current,mediaSize:o.mediaSize})},[o.mediaSize,l,E.props,v]),z=Ve(Z);let O=null,Y=null;try{const eA={node:E,state:t[Q]||jA,updateState:w,appContext:o,extractValue:v,lookupEventHandler:R,lookupAction:T,lookupSyncCallback:x,extractResourceUrl:_,renderChild:H,registerComponentApi:I,layoutCss:z,layoutContext:l==null?void 0:l.current,uid:Q};if(E.type==="Slot")O=J5(eA,u);else{if(!F)return console.error(`Component '${E.type}' is not available. Did you forget to register it?`),c.jsx(W5,{message:`${E.type}`});O=F(eA)}const{inspectId:AA,refreshInspection:uA}=eP(E,Q);if((o!=null&&o.decorateComponentsWithTestId&&(E.uid!==void 0||E.testId!==void 0)||AA!==void 0)&&(S==null?void 0:S.nonVisual)!==!0&&(S==null?void 0:S.opaque)!==!0){const gA=E.testId||E.uid,cA=FA(t,gA,o,!0);O=c.jsx(R5,{attr:{"data-testid":cA,"data-inspectId":AA},allowOnlyRefdChild:J||E.type==="ModalDialog",onTargetMounted:E.type==="ModalDialog"?uA:void 0,ref:h,children:d.cloneElement(O,{...Bu({...O.props,...U},m)})})}if(y)return c.jsx(Y5,{uid:Q,renderChild:H,node:E,apiBoundEvents:f,apiBoundProps:P,layoutContextRef:l,parentRendererContext:u},E.uid);(q=l.current)!=null&&q.wrapChild&&(O=l.current.wrapChild(eA,O,S))}catch(eA){Y=(eA==null?void 0:eA.message)||"Internal error",console.error(eA)}if(Y)return c.jsx(aD,{errors:[Y],node:E,children:O});if((h||!wA.isEmpty(U))&&O&&d.isValidElement(O)){const eA=C?Array.isArray(C)?C:[C]:[];return d.cloneElement(O,{ref:O.type===d.Fragment?void 0:h?Et(h,O.ref):O.ref,...Bu({...O.props,...O.type!==d.Fragment?U:{}},m)},...eA)}return d.isValidElement(O)&&C?d.cloneElement(O,null,C):O});function J5({node:A,extractValue:e,renderChild:t,lookupAction:o,layoutContext:r},n){const a=e.asOptionalString(A.props.name);if(a&&!a.endsWith("Template"))return c.jsx(aD,{node:A,errors:[`Slot name '${a}' is not valid. A named slot should use a name ending with 'Template'.`]});let i=null;if(wA.isEmpty(A.props)||(i={},Object.keys(A.props).forEach(s=>{if(s!=="name"){let l=e(A.props[s],!0);l!=null&&l._ARROW_EXPR_&&(l=o(l)),i[s]=l}})),n){if(a===void 0)return i?c.jsx(Dl,{node:n.children,renderChild:n.renderChild,slotProps:i,layoutContext:r}):n.renderChild(n.children,r);if(n.props[a])return c.jsx(Dl,{node:n.props[a],renderChild:n.renderChild,slotProps:i,layoutContext:r})}if(A.children&&A.children.length>0)return c.jsx(Dl,{node:A.children,renderChild:t,slotProps:i??jA,layoutContext:r})}function iD(A,...e){const t=[];if(!A)return t;const o=Object.entries(A);for(let r=0;r<o.length;r++){const[n,a]=o[r];wA.isPlainObject(a)&&e.includes(a.type)&&t.push(n)}return t}const z5=d.memo(d.forwardRef(function({node:e,resolvedKey:t,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,statePartChanged:u,layoutContext:g,parentRenderContext:p,memoedVarsRef:B,cleanup:C,uidInfoRef:m,children:h,...E},Q){var H;const I=Ta(),{descriptor:w}=I.lookupComponentRenderer(e.type)||{},b=d.useRef(g),v=d.useMemo(()=>{let P=e;return P=q5(P,w==null?void 0:w.childrenAsTemplate),P=V5(P),P=X5(P,m),P=AR(P),P},[w==null?void 0:w.childrenAsTemplate,e,m]),x=d.useMemo(()=>{var f;return typeof FA(o,(f=v.props)==null?void 0:f.data,n,!0)=="string"},[n,(H=v.props)==null?void 0:H.data,o]),T=d.useMemo(()=>Z5(v,x,m),[v,x,m]);return P5(T)?c.jsx(G5,{resolvedKey:t,node:T,parentState:o,parentDispatch:r,layoutContextRef:b,parentRenderContext:p,parentStatePartChanged:u,parentRegisterComponentApi:s,uidInfoRef:m,ref:Q,...E,children:h}):c.jsx($5,{onUnmount:C,memoedVarsRef:B,node:T,state:o,dispatch:r,appContext:n,lookupAction:a,lookupSyncCallback:i,registerComponentApi:s,renderChild:l,parentRenderContext:p,layoutContextRef:b,ref:Q,uidInfoRef:m,...E,children:h})}));function q5(A,e){if(!e||!A.children||A.children.length===0)return A;if(A.props[e])throw Error("'"+e+"' is already used as a property.");return{...A,props:{...A.props,[e]:A.children},children:Ae}}function V5(A){var r;let e=!1,t=A.loaders,o;return(r=A.children)==null||r.forEach(n=>{(n==null?void 0:n.type)==="DataSource"?(e=!0,t||(t=[]),t.push({uid:n.uid,type:"DataLoader",props:n.props,events:n.events,when:n.when})):(o||(o=[]),o.push(n))}),e?{...A,children:o,loaders:t}:A}function X5(A,e){if(!A.props)return A;let t={...A},o=!1;return Object.entries(A.props).forEach(([r,n])=>{let a;try{a=FA(e.current,n)}catch{}(a==null?void 0:a.type)==="loader"&&(o=!0,t={...t,props:{...t.props,[r]:{type:"DataSourceRef",uid:a.uid}}})}),o?t:A}function Z5(A,e,t){var o;return!((o=A.props)!=null&&o.__DATA_RESOLVED)&&A.props&&"data"in A.props&&e?FA(t.current,A.props.data)==="loaderValue"?A:{...A,props:{...A.props,data:{type:"DataSource",props:{url:A.props.data}}}}:A}function AR(A){return A.props&&"raw_data"in A.props?{...A,props:{...A.props,__DATA_RESOLVED:!0,data:A.props.raw_data}}:A}function sD({node:A,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,statePartChanged:s,layoutContext:l,parentRenderContext:u,memoedVarsRef:g,cleanup:p,uidInfoRef:B}){var h,E,Q;if(!$u(A.when,e,o))return null;const C=(h=A.props)==null?void 0:h.value;if(A.type==="TextNodeCData")return C??"";if(A.type==="TextNode"){const I=FA(e,C,o,!0);return typeof I=="boolean"?I.toString():I}if(A.type==="Slot"){let I;const w=(E=A.props)==null?void 0:E.name;if(w){if(!w.endsWith("Template"))throw new Error(`Slot name '${w}' is not valid. A named slot should use a name ending with 'Template'.`);I=(Q=u==null?void 0:u.props)==null?void 0:Q[w]}else I=u==null?void 0:u.children;if(I||(I=A.children),I){const b=Array.isArray(I)?I:[I];if(b.length===1&&u&&(b[0].type==="TextNodeCData"||b[0].type==="TextNode"))return u.renderChild(b)}}const m=FA(e,A.uid,o,!0);return c.jsx(z5,{resolvedKey:m,node:A,cleanup:p,statePartChanged:s,memoedVarsRef:g,state:e,dispatch:t,appContext:o,lookupAction:r,lookupSyncCallback:n,registerComponentApi:a,renderChild:i,layoutContext:l,parentRenderContext:u,uidInfoRef:B},m)}function Is(A){return getComputedStyle(A||document.body)}function eR({rootContainer:A,routerBaseName:e,globalProps:t,standalone:o,trackContainerHeight:r,decorateComponentsWithTestId:n,debugEnabled:a,children:i,onInit:s}){const[l,u]=d.useState(null),g=Ub(),p=Ta(),B=Ke.useNavigate(),{confirm:C}=JP(),{activeThemeId:m,activeThemeTone:h,setActiveThemeId:E,setActiveThemeTone:Q,availableThemeIds:I,root:w,toggleThemeTone:b}=Ui();Jx(JA=>{JA.code==="KeyT"&&JA.altKey&&JA.ctrlKey&&JA.shiftKey&&E(I[(I.indexOf(m)+1)%I.length]),JA.code==="KeyO"&&JA.altKey&&JA.ctrlKey&&JA.shiftKey&&Q(hl[(hl.indexOf(h)+1)%hl.length]),JA.code==="KeyS"&&JA.altKey&&JA.ctrlKey&&JA.shiftKey&&g.setDisplayStateView(!g.displayStateView)});const[v,x]=d.useState("0"),[T,H]=d.useState("0"),[P,f]=d.useState("0"),[y,L]=d.useState("0"),[F,S]=d.useState("0"),[J,R]=d.useState("0"),[U,j]=d.useState("0"),[_,Z]=d.useState("0"),[z,O]=d.useState("0"),[Y,q]=d.useState("0"),eA=JA=>{const kA=JA.match(/^(\d+)px$/);return kA?`${parseInt(kA[1])-.02}px`:"0"},AA=d.useRef();be(()=>(r&&w&&w!==document.body&&(AA!=null&&AA.current&&AA.current.unobserve(w),r==="auto"?w.style.setProperty("--containerHeight","auto"):AA.current=new ResizeObserver(JA=>{w.style.setProperty("--containerHeight",JA[0].contentRect.height+"px")}),AA.current&&AA.current.observe(w)),()=>{AA!=null&&AA.current&&AA.current.unobserve(w)}),[w,AA,r]),be(()=>{const JA=Is(w).getPropertyValue(ba("maxWidth-phone"));x(JA),H(eA(JA));const kA=Is(w).getPropertyValue(ba("maxWidth-landscape-phone"));f(kA),L(eA(kA));const YA=Is(w).getPropertyValue(ba("maxWidth-tablet"));S(YA),R(eA(YA));const GA=Is(w).getPropertyValue(ba("maxWidth-desktop"));j(GA),Z(eA(GA));const WA=Is(w).getPropertyValue(ba("maxWidth-large-desktop"));O(WA),q(eA(WA))},[m,w]);const uA=ya(`(max-width: ${T})`),gA=ya(`(min-width: ${v}) and (max-width: ${y})`),cA=ya(`(min-width: ${P}) and (max-width: ${J})`),BA=ya(`(min-width: ${F}) and (max-width: ${_})`),X=ya(`(min-width: ${U}) and (max-width: ${Y})`);let M,G;const K=ya(`(min-width: ${z})`);K?(M="xxl",G=5):X?(M="xl",G=4):BA?(M="lg",G=3):cA?(M="md",G=2):gA?(M="sm",G=1):uA&&(M="xs",G=0);const V=Wx(),nA=$x(),sA=ps(),EA=Ke.useLocation(),IA=d.useRef(""),[iA,rA]=d.useState(0);d.useEffect(()=>{s==null||s()},[s]),d.useEffect(()=>{var kA;let JA="";if(EA.hash&&(JA=EA.hash.slice(1)),IA.current!==JA&&(IA.current=JA,!((kA=EA.state)!=null&&kA.preventHashScroll))){const YA=w==null?void 0:w.getRootNode(),GA="instant";requestAnimationFrame(()=>{var WA;if(YA)if(typeof ShadowRoot<"u"&&YA instanceof ShadowRoot){const oo=YA.getElementById(IA.current);if(!oo)return;oR(oo,GA)}else(WA=document.getElementById(IA.current))==null||WA.scrollIntoView({behavior:GA,block:"start"})})}},[EA,iA,w]);const bA=d.useCallback(()=>{IA.current="",rA(JA=>JA+1)},[]),DA=d.useMemo(()=>{const JA={_SUPPORT_IMPLICIT_CONTEXT:!0};for(const[kA,YA]of p.actionFunctions)JA[kA]=YA;return JA},[p.actionFunctions]),LA=d.useMemo(()=>({isInIFrame:V}),[V]),ZA=d.useMemo(()=>({isWindowFocused:nA}),[nA]),TA=d.useMemo(()=>({phone:uA,landscapePhone:gA,tablet:cA,desktop:BA,largeDesktop:X,xlDesktop:K,smallScreen:uA||gA||cA,largeScreen:!(uA||gA||cA),size:M,sizeIndex:G}),[uA,gA,cA,BA,X,K,M,G]),SA=d.useMemo(()=>t?{...t}:jA,[t]),xe=d.useMemo(()=>({version:FO,Actions:DA,appGlobals:SA,debugEnabled:a,decorateComponentsWithTestId:n,environment:ZA,mediaSize:TA,queryClient:gD,standalone:o,appIsInShadowDom:typeof ShadowRoot<"u"&&(w==null?void 0:w.getRootNode())instanceof ShadowRoot,...qb,...qO,formatFileSizeInBytes:Gx,getFileExtension:Ox,navigate:B,routerBaseName:e,confirm:C,signError:tR,toast:ke,activeThemeId:m,activeThemeTone:h,availableThemeIds:I,setTheme:E,setThemeTone:Q,toggleThemeTone:b,loggedInUser:l,setLoggedInUser:u,delay:va,embed:LA,apiInterceptorContext:sA,getPropertyByPath:wA.get,...$b,forceRefreshAnchorScroll:bA}),[DA,SA,a,n,ZA,TA,o,B,e,C,m,h,I,E,Q,b,l,LA,sA,bA,w]),[Ie,ze]=d.useState(jA),Lr=d.useCallback((JA,kA)=>{ze(YA=>({...YA,[JA]:kA}))},[]),Rt=d.useCallback((JA,kA)=>{ze(YA=>({...YA,[JA]:{...YA[JA]||{},...kA}}))},[]),yi=d.useMemo(()=>({registerAppState:Lr,appState:Ie,update:Rt}),[Ie,Lr,Rt]),Tg=d.useRef(new Map),xi=sD({node:A,state:jA,dispatch:yA,appContext:void 0,lookupAction:yA,lookupSyncCallback:yA,registerComponentApi:yA,renderChild:yA,statePartChanged:yA,cleanup:yA,memoedVarsRef:Tg});return c.jsx(dC.Provider,{value:xe,children:c.jsx(DC.Provider,{value:yi,children:i&&d.isValidElement(xi)?d.cloneElement(xi,null,i):xi})})}function tR(A){ke.error(typeof A=="string"?A:A.message||"Something went wrong")}function oR(A,e){o(A).reverse().forEach(r=>{const n=A.getBoundingClientRect(),a=r.getBoundingClientRect();if(n.top<a.top||n.bottom>a.bottom){const i=n.top-a.top+r.scrollTop;r.scrollTo({top:i,behavior:e})}});function o(r){const n=[];let a=r;for(;a;){let i=a.parentElement;if(!i&&a.getRootNode||!i)break;const s=getComputedStyle(i);/(auto|scroll|overlay)/.test(s.overflow+s.overflowY+s.overflowX)&&n.push(i),a=i}return n}}const lD=d.createContext(void 0),rR=({children:A})=>{const[e,t]=d.useState([]),o=d.useCallback(r=>{const n={timestamp:new Date,args:r};t(a=>[...a,n])},[]);return c.jsx(lD.Provider,{value:{logs:e,addLog:o},children:A})},nR=()=>{const A=d.useContext(lD);if(!A)throw new Error("useLogger must be used within LoggerProvider");return A};var aR={};class ui{constructor(){this.isDev=!!aR.VITE_DEV_MODE}static getInstance(){return ui.instance||(ui.instance=new ui),ui.instance}registerCallback(e){this.isDev&&(this.callback=e)}log(e){this.isDev&&(console.log("[xmlui.log]",...e),this.callback&&this.callback(e))}warn(e){this.isDev&&(console.warn("[xmlui.warn]",...e),this.callback&&this.callback(e))}info(e){this.isDev&&(console.info("[xmlui.info]",...e),this.callback&&this.callback(e))}error(e){this.isDev&&(console.error("[xmlui.error]",...e),this.callback&&this.callback(e))}trace(e){this.isDev&&(console.trace("[xmlui.trace]",...e),this.callback&&this.callback(e))}}const iR=ui.getInstance(),sR=()=>{const{addLog:A}=nR();return d.useEffect(()=>{iR.registerCallback(A)},[A]),null},Zc={overlay:"_overlay_1b3my_13",overlayBg:"_overlayBg_1b3my_24",contentWrapper:"_contentWrapper_1b3my_30",content:"_content_1b3my_30"};var Jd={};function lR({interceptor:A,children:e,parentInterceptorContext:t=null,waitForApiInterceptor:o=!1}){const r=t!==null,[n,a]=d.useState(!A),[i,s]=d.useState(!1),[l,u]=d.useState(null),[g,p]=d.useState(null),B=(A==null?void 0:A.useWorker)??!0;let C=t==null?void 0:t.forceInitialize,m=t==null?void 0:t.interceptorWorker;d.useEffect(()=>{B||A&&(async()=>{const{initMock:I}=await Promise.resolve().then(()=>xB),w=await I(A);p(w),a(!0)})()},[A,B]),d.useEffect(()=>{if(B)if(r){if(!A)return;m?(async()=>{const[{createApiInterceptorWorker:I},{initMock:w}]=await Promise.all([Promise.resolve().then(()=>xy),Promise.resolve().then(()=>xB)]),b=await w(A);await I(b,m),setTimeout(()=>{a(!0)},0)})():C==null||C()}else if(A||i){let I;return(async()=>{if(Jd.VITE_MOCK_ENABLED){const[{createApiInterceptorWorker:w},{initMock:b}]=await Promise.all([B?Promise.resolve().then(()=>xy):Promise.resolve({createApiInterceptorWorker:()=>null}),Promise.resolve().then(()=>xB)]);if(A||i){const v=await b(A||{});I=await w(v);const x=Ep(Jd.VITE_MOCK_WORKER_LOCATION||"mockServiceWorker.js");await I.start({onUnhandledRequest:"bypass",quiet:!0,serviceWorker:{url:x}}),u(I)}}a(!0)})(),()=>{m||I==null||I.stop(),a(!1)}}else a(!0)},[B,i,r,A,C,m]);const h=d.useCallback(I=>A!==void 0&&!!Jd.VITE_MOCK_ENABLED,[A]),E=d.useCallback(()=>{s(!0)},[]),Q=d.useMemo(()=>({interceptorWorker:l,apiInstance:g,initialized:n,forceInitialize:E,isMocked:h}),[l,g,n,E,h]);return c.jsx(ME.Provider,{value:Q,children:o&&!n?null:e})}const cR=zs.motion.create(Oe.Content),gR={visible:{opacity:1},hidden:{opacity:0}},uR={initial:A=>({opacity:0,scale:.2,x:A.x-window.innerWidth/2,y:A.y-window.innerHeight/2}),animate:{opacity:1,scale:1,x:0,y:0},exit:{opacity:0,scale:.2,transition:{duration:.2}}};function dR(A){if(!A)return;const e=A.trim();return e.endsWith("ms")?parseFloat(e)/1e3:(e.endsWith("s"),parseFloat(e))}const cD=d.forwardRef(({children:A,style:e,isOpen:t,setIsOpen:o,clickPosition:r},n)=>{const{root:a,getThemeVar:i}=ne(),s=d.useRef(null),l=n?Et(n,s):s,[u,g]=d.useState(!0);if(d.useEffect(()=>{var B;t&&((B=s.current)==null||B.focus())},[t]),d.useEffect(()=>{if(t){const B=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout(B)}else document.body.style.pointerEvents="auto"},[t]),!a)return null;const p=()=>{o(!1)};return c.jsx(Oe.Root,{defaultOpen:!1,open:t,onOpenChange:g,children:c.jsx(Oe.Portal,{container:a,children:c.jsx(zs.AnimatePresence,{onExitComplete:p,children:u&&c.jsxs(Oe.Overlay,{className:Zc.overlay,forceMount:!0,children:[c.jsx(zs.motion.div,{className:Zc.overlayBg,variants:gR,initial:"hidden",animate:"visible",exit:"hidden",transition:{duration:.2,ease:[.16,1,.3,1]}},"overlay"),c.jsx(cR,{forceMount:!0,onPointerDownOutside:B=>{B.target instanceof Element&&B.target.closest("._debug-inspect-button")!==null&&B.preventDefault()},children:c.jsx(zs.motion.div,{ref:l,className:lA(Zc.content,Zc.contentWrapper),variants:uR,custom:{x:r.x,y:r.y},initial:"initial",animate:"animate",exit:"exit",transition:{duration:dR(i("duration-startAnimation-ModalDialog"))||.8,ease:[.16,1,.3,1]},style:{...e,gap:void 0},children:A})})]})})})})});cD.displayName="InspectorDialog";const BR={TooltipContent:"_TooltipContent_rqalv_13"},zd=({trigger:A,label:e})=>c.jsx(Fi.Provider,{children:c.jsxs(Fi.Root,{children:[c.jsx(Fi.Trigger,{asChild:!0,children:A}),c.jsx(Fi.Portal,{children:c.jsx(Fi.Content,{side:"bottom",align:"start",className:BR.TooltipContent,children:e})})]})});var pR={};const CR=()=>{const{mockApi:A,setIsOpen:e,isOpen:t,inspectedNode:o,clickPosition:r,projectCompilation:n,sources:a}=ZF(),{appGlobals:i}=je(),s=d.useMemo(()=>n?n.components.map(u=>u.markupSource):[],[n]),l=d.useMemo(()=>{var Q;const u=(Q=o==null?void 0:o.debug)==null?void 0:Q.source;if(!u||!a)return"";const{start:g,end:p,fileId:B}=u,C=a[B].slice(g,p);let m=!0;const h=[];let E;return C.split(`
|
|
301
301
|
`).forEach(I=>{if(!(I.trim()===""&&m)){m=!1,h.push(I);const w=I.search(/\S|$/);I.trim()!==""&&(E===void 0||w<E)&&(E=w)}}),h.map(I=>I.slice(E).replace(/inspect="true"/g,"")).join(`
|
|
302
302
|
`)},[o,a]);return pR.VITE_USER_COMPONENTS_Inspect!=="false"&&t&&o!==null?c.jsx(cD,{isOpen:t,setIsOpen:e,clickPosition:r,children:c.jsx(Vd,{height:"500px",allowPlaygroundPopup:!0,initiallyShowCode:(i==null?void 0:i.initiallyShowCode)??!0,splitView:!0,controlsWidth:"120px",closeButton:c.jsx(zd,{trigger:c.jsx("button",{className:de.headerButton,onClick:()=>{e(!1)},children:c.jsx(SH,{})}),label:"Close"}),markdown:`\`\`\`xmlui
|
|
303
303
|
${l}
|