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AqB27B,EAAAC,CAAW,MAAAvL,GACtD","sources":["webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/accessible-icon.js","webpack://_N_E/./node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/aspect-ratio.js","webpack://_N_E/./node_modules/@radix-ui/react-context-menu/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/context-menu.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/grid.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/grid.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/hover-card.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/popover.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/popover.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/portal.js","webpack://_N_E/./node_modules/@radix-ui/react-select/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/select.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/select.js","webpack://_N_E/./node_modules/@radix-ui/react-slider/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/slider.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/slider.js","webpack://_N_E/./node_modules/@radix-ui/react-switch/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/switch.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/switch.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/tooltip.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/visually-hidden.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/kbd.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/kbd.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/theme-panel.js","webpack://_N_E/./node_modules/@radix-ui/react-accessible-icon/dist/index.mjs","webpack://_N_E/"],"sourcesContent":["'use client';\nexport { AccessibleIcon } from '@radix-ui/react-accessible-icon';\n//# sourceMappingURL=accessible-icon.js.map","import $8D4cD$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $8D4cD$forwardRef, createElement as $8D4cD$createElement} from \"react\";\nimport {Primitive as $8D4cD$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * AspectRatio\n * -----------------------------------------------------------------------------------------------*/ const $c1b5f66aac50e106$var$NAME = 'AspectRatio';\nconst $c1b5f66aac50e106$export$e840e8869344ca38 = /*#__PURE__*/ $8D4cD$forwardRef((props, forwardedRef)=>{\n const { ratio: ratio = 1 , style: style , ...aspectRatioProps } = props;\n return /*#__PURE__*/ $8D4cD$createElement(\"div\", {\n style: {\n // ensures inner element is contained\n position: 'relative',\n // ensures padding bottom trick maths works\n width: '100%',\n paddingBottom: `${100 / ratio}%`\n },\n \"data-radix-aspect-ratio-wrapper\": \"\"\n }, /*#__PURE__*/ $8D4cD$createElement($8D4cD$Primitive.div, $8D4cD$babelruntimehelpersesmextends({}, aspectRatioProps, {\n ref: forwardedRef,\n style: {\n ...style,\n // ensures children expand in ratio\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n }\n })));\n});\n/*#__PURE__*/ Object.assign($c1b5f66aac50e106$export$e840e8869344ca38, {\n displayName: $c1b5f66aac50e106$var$NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $c1b5f66aac50e106$export$be92b6f5f03c0fe9 = $c1b5f66aac50e106$export$e840e8869344ca38;\n\n\n\n\nexport {$c1b5f66aac50e106$export$e840e8869344ca38 as AspectRatio, $c1b5f66aac50e106$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n","'use client';\nexport { AspectRatio } from '@radix-ui/react-aspect-ratio';\n//# sourceMappingURL=aspect-ratio.js.map","import $3TiJz$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {useState as $3TiJz$useState, useCallback as $3TiJz$useCallback, createElement as $3TiJz$createElement, forwardRef as $3TiJz$forwardRef, useRef as $3TiJz$useRef, useEffect as $3TiJz$useEffect, Fragment as $3TiJz$Fragment} from \"react\";\nimport {composeEventHandlers as $3TiJz$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {createContextScope as $3TiJz$createContextScope} from \"@radix-ui/react-context\";\nimport {Primitive as $3TiJz$Primitive} from \"@radix-ui/react-primitive\";\nimport {createMenuScope as $3TiJz$createMenuScope, Root as $3TiJz$Root, Anchor as $3TiJz$Anchor, Portal as $3TiJz$Portal, Content as $3TiJz$Content, Group as $3TiJz$Group, Label as $3TiJz$Label, Item as $3TiJz$Item, CheckboxItem as $3TiJz$CheckboxItem, RadioGroup as $3TiJz$RadioGroup, RadioItem as $3TiJz$RadioItem, ItemIndicator as $3TiJz$ItemIndicator, Separator as $3TiJz$Separator, Arrow as $3TiJz$Arrow, Sub as $3TiJz$Sub, SubTrigger as $3TiJz$SubTrigger, SubContent as $3TiJz$SubContent} from \"@radix-ui/react-menu\";\nimport {useCallbackRef as $3TiJz$useCallbackRef} from \"@radix-ui/react-use-callback-ref\";\nimport {useControllableState as $3TiJz$useControllableState} from \"@radix-ui/react-use-controllable-state\";\n\n\n\n\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenu\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$CONTEXT_MENU_NAME = 'ContextMenu';\nconst [$1b0217ee4a91d156$var$createContextMenuContext, $1b0217ee4a91d156$export$1059331f43ddcc82] = $3TiJz$createContextScope($1b0217ee4a91d156$var$CONTEXT_MENU_NAME, [\n $3TiJz$createMenuScope\n]);\nconst $1b0217ee4a91d156$var$useMenuScope = $3TiJz$createMenuScope();\nconst [$1b0217ee4a91d156$var$ContextMenuProvider, $1b0217ee4a91d156$var$useContextMenuContext] = $1b0217ee4a91d156$var$createContextMenuContext($1b0217ee4a91d156$var$CONTEXT_MENU_NAME);\nconst $1b0217ee4a91d156$export$8dc6765e8be191c7 = (props)=>{\n const { __scopeContextMenu: __scopeContextMenu , children: children , onOpenChange: onOpenChange , dir: dir , modal: modal = true } = props;\n const [open1, setOpen] = $3TiJz$useState(false);\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n const handleOpenChangeProp = $3TiJz$useCallbackRef(onOpenChange);\n const handleOpenChange = $3TiJz$useCallback((open)=>{\n setOpen(open);\n handleOpenChangeProp(open);\n }, [\n handleOpenChangeProp\n ]);\n return /*#__PURE__*/ $3TiJz$createElement($1b0217ee4a91d156$var$ContextMenuProvider, {\n scope: __scopeContextMenu,\n open: open1,\n onOpenChange: handleOpenChange,\n modal: modal\n }, /*#__PURE__*/ $3TiJz$createElement($3TiJz$Root, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n dir: dir,\n open: open1,\n onOpenChange: handleOpenChange,\n modal: modal\n }), children));\n};\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$8dc6765e8be191c7, {\n displayName: $1b0217ee4a91d156$var$CONTEXT_MENU_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuTrigger\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$TRIGGER_NAME = 'ContextMenuTrigger';\nconst $1b0217ee4a91d156$export$be6fc7b1d5b0beb9 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , disabled: disabled = false , ...triggerProps } = props;\n const context = $1b0217ee4a91d156$var$useContextMenuContext($1b0217ee4a91d156$var$TRIGGER_NAME, __scopeContextMenu);\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n const pointRef = $3TiJz$useRef({\n x: 0,\n y: 0\n });\n const virtualRef = $3TiJz$useRef({\n getBoundingClientRect: ()=>DOMRect.fromRect({\n width: 0,\n height: 0,\n ...pointRef.current\n })\n });\n const longPressTimerRef = $3TiJz$useRef(0);\n const clearLongPress = $3TiJz$useCallback(()=>window.clearTimeout(longPressTimerRef.current)\n , []);\n const handleOpen = (event)=>{\n pointRef.current = {\n x: event.clientX,\n y: event.clientY\n };\n context.onOpenChange(true);\n };\n $3TiJz$useEffect(()=>clearLongPress\n , [\n clearLongPress\n ]);\n $3TiJz$useEffect(()=>void (disabled && clearLongPress())\n , [\n disabled,\n clearLongPress\n ]);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Fragment, null, /*#__PURE__*/ $3TiJz$createElement($3TiJz$Anchor, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n virtualRef: virtualRef\n })), /*#__PURE__*/ $3TiJz$createElement($3TiJz$Primitive.span, $3TiJz$babelruntimehelpersesmextends({\n \"data-state\": context.open ? 'open' : 'closed',\n \"data-disabled\": disabled ? '' : undefined\n }, triggerProps, {\n ref: forwardedRef // prevent iOS context menu from appearing\n ,\n style: {\n WebkitTouchCallout: 'none',\n ...props.style\n } // if trigger is disabled, enable the native Context Menu\n ,\n onContextMenu: disabled ? props.onContextMenu : $3TiJz$composeEventHandlers(props.onContextMenu, (event)=>{\n // clearing the long press here because some platforms already support\n // long press to trigger a `contextmenu` event\n clearLongPress();\n handleOpen(event);\n event.preventDefault();\n }),\n onPointerDown: disabled ? props.onPointerDown : $3TiJz$composeEventHandlers(props.onPointerDown, $1b0217ee4a91d156$var$whenTouchOrPen((event)=>{\n // clear the long press here in case there's multiple touch points\n clearLongPress();\n longPressTimerRef.current = window.setTimeout(()=>handleOpen(event)\n , 700);\n })),\n onPointerMove: disabled ? props.onPointerMove : $3TiJz$composeEventHandlers(props.onPointerMove, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress)),\n onPointerCancel: disabled ? props.onPointerCancel : $3TiJz$composeEventHandlers(props.onPointerCancel, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress)),\n onPointerUp: disabled ? props.onPointerUp : $3TiJz$composeEventHandlers(props.onPointerUp, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress))\n })));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$be6fc7b1d5b0beb9, {\n displayName: $1b0217ee4a91d156$var$TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuPortal\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$PORTAL_NAME = 'ContextMenuPortal';\nconst $1b0217ee4a91d156$export$14afd0be83e45060 = (props)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...portalProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Portal, $3TiJz$babelruntimehelpersesmextends({}, menuScope, portalProps));\n};\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$14afd0be83e45060, {\n displayName: $1b0217ee4a91d156$var$PORTAL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuContent\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$CONTENT_NAME = 'ContextMenuContent';\nconst $1b0217ee4a91d156$export$572205900c9369e = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...contentProps } = props;\n const context = $1b0217ee4a91d156$var$useContextMenuContext($1b0217ee4a91d156$var$CONTENT_NAME, __scopeContextMenu);\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n const hasInteractedOutsideRef = $3TiJz$useRef(false);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Content, $3TiJz$babelruntimehelpersesmextends({}, menuScope, contentProps, {\n ref: forwardedRef,\n side: \"right\",\n sideOffset: 2,\n align: \"start\",\n onCloseAutoFocus: (event)=>{\n var _props$onCloseAutoFoc;\n (_props$onCloseAutoFoc = props.onCloseAutoFocus) === null || _props$onCloseAutoFoc === void 0 || _props$onCloseAutoFoc.call(props, event);\n if (!event.defaultPrevented && hasInteractedOutsideRef.current) event.preventDefault();\n hasInteractedOutsideRef.current = false;\n },\n onInteractOutside: (event)=>{\n var _props$onInteractOuts;\n (_props$onInteractOuts = props.onInteractOutside) === null || _props$onInteractOuts === void 0 || _props$onInteractOuts.call(props, event);\n if (!event.defaultPrevented && !context.modal) hasInteractedOutsideRef.current = true;\n },\n style: {\n ...props.style,\n '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)'\n }\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$572205900c9369e, {\n displayName: $1b0217ee4a91d156$var$CONTENT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuGroup\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$GROUP_NAME = 'ContextMenuGroup';\nconst $1b0217ee4a91d156$export$9860523b0fcdd664 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...groupProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Group, $3TiJz$babelruntimehelpersesmextends({}, menuScope, groupProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$9860523b0fcdd664, {\n displayName: $1b0217ee4a91d156$var$GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuLabel\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$LABEL_NAME = 'ContextMenuLabel';\nconst $1b0217ee4a91d156$export$d4b9d3b609a10742 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...labelProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Label, $3TiJz$babelruntimehelpersesmextends({}, menuScope, labelProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$d4b9d3b609a10742, {\n displayName: $1b0217ee4a91d156$var$LABEL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItem\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$ITEM_NAME = 'ContextMenuItem';\nconst $1b0217ee4a91d156$export$16a26dc176a49100 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...itemProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Item, $3TiJz$babelruntimehelpersesmextends({}, menuScope, itemProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$16a26dc176a49100, {\n displayName: $1b0217ee4a91d156$var$ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuCheckboxItem\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME = 'ContextMenuCheckboxItem';\nconst $1b0217ee4a91d156$export$b6adbe51d5d8b7ec = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...checkboxItemProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$CheckboxItem, $3TiJz$babelruntimehelpersesmextends({}, menuScope, checkboxItemProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$b6adbe51d5d8b7ec, {\n displayName: $1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioGroup\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$RADIO_GROUP_NAME = 'ContextMenuRadioGroup';\nconst $1b0217ee4a91d156$export$db5c89af5ed9aa07 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...radioGroupProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$RadioGroup, $3TiJz$babelruntimehelpersesmextends({}, menuScope, radioGroupProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$db5c89af5ed9aa07, {\n displayName: $1b0217ee4a91d156$var$RADIO_GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioItem\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$RADIO_ITEM_NAME = 'ContextMenuRadioItem';\nconst $1b0217ee4a91d156$export$8a727d09a7d9bfc2 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...radioItemProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$RadioItem, $3TiJz$babelruntimehelpersesmextends({}, menuScope, radioItemProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$8a727d09a7d9bfc2, {\n displayName: $1b0217ee4a91d156$var$RADIO_ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItemIndicator\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$INDICATOR_NAME = 'ContextMenuItemIndicator';\nconst $1b0217ee4a91d156$export$9ed8194dee42d94b = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...itemIndicatorProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$ItemIndicator, $3TiJz$babelruntimehelpersesmextends({}, menuScope, itemIndicatorProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$9ed8194dee42d94b, {\n displayName: $1b0217ee4a91d156$var$INDICATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSeparator\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$SEPARATOR_NAME = 'ContextMenuSeparator';\nconst $1b0217ee4a91d156$export$8d6b009fadfe1207 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...separatorProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Separator, $3TiJz$babelruntimehelpersesmextends({}, menuScope, separatorProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$8d6b009fadfe1207, {\n displayName: $1b0217ee4a91d156$var$SEPARATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuArrow\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$ARROW_NAME = 'ContextMenuArrow';\nconst $1b0217ee4a91d156$export$f47d0a58228a61e2 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...arrowProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Arrow, $3TiJz$babelruntimehelpersesmextends({}, menuScope, arrowProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$f47d0a58228a61e2, {\n displayName: $1b0217ee4a91d156$var$ARROW_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSub\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$SUB_NAME = 'ContextMenuSub';\nconst $1b0217ee4a91d156$export$5bc21d1c00c4b201 = (props)=>{\n const { __scopeContextMenu: __scopeContextMenu , children: children , onOpenChange: onOpenChange , open: openProp , defaultOpen: defaultOpen } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n const [open, setOpen] = $3TiJz$useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$Sub, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n open: open,\n onOpenChange: setOpen\n }), children);\n};\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$5bc21d1c00c4b201, {\n displayName: $1b0217ee4a91d156$var$SUB_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubTrigger\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$SUB_TRIGGER_NAME = 'ContextMenuSubTrigger';\nconst $1b0217ee4a91d156$export$30b2b5c64556d316 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...triggerItemProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$SubTrigger, $3TiJz$babelruntimehelpersesmextends({}, menuScope, triggerItemProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$30b2b5c64556d316, {\n displayName: $1b0217ee4a91d156$var$SUB_TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubContent\n * -----------------------------------------------------------------------------------------------*/ const $1b0217ee4a91d156$var$SUB_CONTENT_NAME = 'ContextMenuSubContent';\nconst $1b0217ee4a91d156$export$2c967063bd2dc512 = /*#__PURE__*/ $3TiJz$forwardRef((props, forwardedRef)=>{\n const { __scopeContextMenu: __scopeContextMenu , ...subContentProps } = props;\n const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n return /*#__PURE__*/ $3TiJz$createElement($3TiJz$SubContent, $3TiJz$babelruntimehelpersesmextends({}, menuScope, subContentProps, {\n ref: forwardedRef,\n style: {\n ...props.style,\n '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)'\n }\n }));\n});\n/*#__PURE__*/ Object.assign($1b0217ee4a91d156$export$2c967063bd2dc512, {\n displayName: $1b0217ee4a91d156$var$SUB_CONTENT_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ function $1b0217ee4a91d156$var$whenTouchOrPen(handler) {\n return (event)=>event.pointerType !== 'mouse' ? handler(event) : undefined\n ;\n}\nconst $1b0217ee4a91d156$export$be92b6f5f03c0fe9 = $1b0217ee4a91d156$export$8dc6765e8be191c7;\nconst $1b0217ee4a91d156$export$41fb9f06171c75f4 = $1b0217ee4a91d156$export$be6fc7b1d5b0beb9;\nconst $1b0217ee4a91d156$export$602eac185826482c = $1b0217ee4a91d156$export$14afd0be83e45060;\nconst $1b0217ee4a91d156$export$7c6e2c02157bb7d2 = $1b0217ee4a91d156$export$572205900c9369e;\nconst $1b0217ee4a91d156$export$eb2fcfdbd7ba97d4 = $1b0217ee4a91d156$export$9860523b0fcdd664;\nconst $1b0217ee4a91d156$export$b04be29aa201d4f5 = $1b0217ee4a91d156$export$d4b9d3b609a10742;\nconst $1b0217ee4a91d156$export$6d08773d2e66f8f2 = $1b0217ee4a91d156$export$16a26dc176a49100;\nconst $1b0217ee4a91d156$export$16ce288f89fa631c = $1b0217ee4a91d156$export$b6adbe51d5d8b7ec;\nconst $1b0217ee4a91d156$export$a98f0dcb43a68a25 = $1b0217ee4a91d156$export$db5c89af5ed9aa07;\nconst $1b0217ee4a91d156$export$371ab307eab489c0 = $1b0217ee4a91d156$export$8a727d09a7d9bfc2;\nconst $1b0217ee4a91d156$export$c3468e2714d175fa = $1b0217ee4a91d156$export$9ed8194dee42d94b;\nconst $1b0217ee4a91d156$export$1ff3c3f08ae963c0 = $1b0217ee4a91d156$export$8d6b009fadfe1207;\nconst $1b0217ee4a91d156$export$21b07c8f274aebd5 = $1b0217ee4a91d156$export$f47d0a58228a61e2;\nconst $1b0217ee4a91d156$export$d7a01e11500dfb6f = $1b0217ee4a91d156$export$5bc21d1c00c4b201;\nconst $1b0217ee4a91d156$export$2ea8a7a591ac5eac = $1b0217ee4a91d156$export$30b2b5c64556d316;\nconst $1b0217ee4a91d156$export$6d4de93b380beddf = $1b0217ee4a91d156$export$2c967063bd2dc512;\n\n\n\n\nexport {$1b0217ee4a91d156$export$1059331f43ddcc82 as createContextMenuScope, $1b0217ee4a91d156$export$8dc6765e8be191c7 as ContextMenu, $1b0217ee4a91d156$export$be6fc7b1d5b0beb9 as ContextMenuTrigger, $1b0217ee4a91d156$export$14afd0be83e45060 as ContextMenuPortal, $1b0217ee4a91d156$export$572205900c9369e as ContextMenuContent, $1b0217ee4a91d156$export$9860523b0fcdd664 as ContextMenuGroup, $1b0217ee4a91d156$export$d4b9d3b609a10742 as ContextMenuLabel, $1b0217ee4a91d156$export$16a26dc176a49100 as ContextMenuItem, $1b0217ee4a91d156$export$b6adbe51d5d8b7ec as ContextMenuCheckboxItem, $1b0217ee4a91d156$export$db5c89af5ed9aa07 as ContextMenuRadioGroup, $1b0217ee4a91d156$export$8a727d09a7d9bfc2 as ContextMenuRadioItem, $1b0217ee4a91d156$export$9ed8194dee42d94b as ContextMenuItemIndicator, $1b0217ee4a91d156$export$8d6b009fadfe1207 as ContextMenuSeparator, $1b0217ee4a91d156$export$f47d0a58228a61e2 as ContextMenuArrow, $1b0217ee4a91d156$export$5bc21d1c00c4b201 as ContextMenuSub, $1b0217ee4a91d156$export$30b2b5c64556d316 as ContextMenuSubTrigger, $1b0217ee4a91d156$export$2c967063bd2dc512 as ContextMenuSubContent, $1b0217ee4a91d156$export$be92b6f5f03c0fe9 as Root, $1b0217ee4a91d156$export$41fb9f06171c75f4 as Trigger, $1b0217ee4a91d156$export$602eac185826482c as Portal, $1b0217ee4a91d156$export$7c6e2c02157bb7d2 as Content, $1b0217ee4a91d156$export$eb2fcfdbd7ba97d4 as Group, $1b0217ee4a91d156$export$b04be29aa201d4f5 as Label, $1b0217ee4a91d156$export$6d08773d2e66f8f2 as Item, $1b0217ee4a91d156$export$16ce288f89fa631c as CheckboxItem, $1b0217ee4a91d156$export$a98f0dcb43a68a25 as RadioGroup, $1b0217ee4a91d156$export$371ab307eab489c0 as RadioItem, $1b0217ee4a91d156$export$c3468e2714d175fa as ItemIndicator, $1b0217ee4a91d156$export$1ff3c3f08ae963c0 as Separator, $1b0217ee4a91d156$export$21b07c8f274aebd5 as Arrow, $1b0217ee4a91d156$export$d7a01e11500dfb6f as Sub, $1b0217ee4a91d156$export$2ea8a7a591ac5eac as SubTrigger, $1b0217ee4a91d156$export$6d4de93b380beddf as SubContent};\n//# sourceMappingURL=index.mjs.map\n","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { Slottable } from '@radix-ui/react-slot';\nimport { ScrollArea } from './scroll-area';\nimport { contextMenuContentPropDefs, contextMenuItemPropDefs, } from './context-menu.props';\nimport { withBreakpoints } from '../helpers';\nimport { Theme, useThemeContext } from '../theme';\nimport { ThickCheckIcon, ThickChevronRightIcon } from '../icons';\nconst ContextMenuRoot = (props) => (React.createElement(ContextMenuPrimitive.Root, { ...props }));\nContextMenuRoot.displayName = 'ContextMenuRoot';\nconst ContextMenuTrigger = React.forwardRef((props, forwardedRef) => React.createElement(ContextMenuPrimitive.Trigger, { ...props, ref: forwardedRef, asChild: true }));\nContextMenuTrigger.displayName = 'ContextMenuTrigger';\nconst ContextMenuContentContext = React.createContext({});\nconst ContextMenuContent = React.forwardRef((props, forwardedRef) => {\n const themeContext = useThemeContext();\n const { className, children, size = contextMenuContentPropDefs.size.default, variant = contextMenuContentPropDefs.variant.default, color = contextMenuContentPropDefs.color.default, highContrast = contextMenuContentPropDefs.highContrast.default, container, forceMount, ...contentProps } = props;\n const resolvedColor = color !== null && color !== void 0 ? color : themeContext.accentColor;\n return (React.createElement(ContextMenuPrimitive.Portal, { container: container, forceMount: forceMount },\n React.createElement(Theme, { asChild: true },\n React.createElement(ContextMenuPrimitive.Content, { \"data-accent-color\": resolvedColor, alignOffset: -Number(size) * 4, collisionPadding: 10, ...contentProps, ref: forwardedRef, className: classNames('rt-PopperContent', 'rt-BaseMenuContent', 'rt-ContextMenuContent', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, { 'rt-high-contrast': highContrast }) },\n React.createElement(ScrollArea, { type: \"auto\" },\n React.createElement(\"div\", { className: classNames('rt-BaseMenuViewport', 'rt-ContextMenuViewport') },\n React.createElement(ContextMenuContentContext.Provider, { value: React.useMemo(() => ({ size, variant, color: resolvedColor, highContrast }), [size, variant, resolvedColor, highContrast]) }, children)))))));\n});\nContextMenuContent.displayName = 'ContextMenuContent';\nconst ContextMenuLabel = React.forwardRef((props, forwardedRef) => (React.createElement(ContextMenuPrimitive.Label, { ...props, ref: forwardedRef, className: classNames('rt-BaseMenuLabel', 'rt-ContextMenuLabel', props.className) })));\nContextMenuLabel.displayName = 'ContextMenuLabel';\nconst ContextMenuItem = React.forwardRef((props, forwardedRef) => {\n const { className, children, color = contextMenuItemPropDefs.color.default, shortcut, ...itemProps } = props;\n return (React.createElement(ContextMenuPrimitive.Item, { \"data-accent-color\": color, ...itemProps, ref: forwardedRef, className: classNames('rt-reset', 'rt-BaseMenuItem', 'rt-ContextMenuItem', className) },\n React.createElement(Slottable, null, children),\n shortcut && React.createElement(\"div\", { className: \"rt-BaseMenuShortcut rt-ContextMenuShortcut\" }, shortcut)));\n});\nContextMenuItem.displayName = 'ContextMenuItem';\nconst ContextMenuGroup = React.forwardRef((props, forwardedRef) => (React.createElement(ContextMenuPrimitive.Group, { ...props, ref: forwardedRef, className: classNames('rt-BaseMenuGroup', 'rt-ContextMenuGroup', props.className) })));\nContextMenuGroup.displayName = 'ContextMenuGroup';\nconst ContextMenuRadioGroup = React.forwardRef((props, forwardedRef) => (React.createElement(ContextMenuPrimitive.RadioGroup, { ...props, ref: forwardedRef, className: classNames('rt-BaseMenuRadioGroup', 'rt-ContextMenuRadioGroup', props.className) })));\nContextMenuRadioGroup.displayName = 'ContextMenuRadioGroup';\nconst ContextMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { children, className, ...itemProps } = props;\n return (React.createElement(ContextMenuPrimitive.RadioItem, { ...itemProps, ref: forwardedRef, className: classNames('rt-BaseMenuItem', 'rt-BaseMenuRadioItem', 'rt-ContextMenuItem', 'rt-ContextMenuRadioItem', className) },\n React.createElement(Slottable, null, children),\n React.createElement(ContextMenuPrimitive.ItemIndicator, { className: \"rt-BaseMenuItemIndicator rt-ContextMenuItemIndicator\" },\n React.createElement(ThickCheckIcon, { className: \"rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon\" }))));\n});\nContextMenuRadioItem.displayName = 'ContextMenuRadioItem';\nconst ContextMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { children, className, shortcut, ...itemProps } = props;\n return (React.createElement(ContextMenuPrimitive.CheckboxItem, { ...itemProps, ref: forwardedRef, className: classNames('rt-BaseMenuItem', 'rt-BaseMenuCheckboxItem', 'rt-ContextMenuItem', 'rt-ContextMenuCheckboxItem', className) },\n React.createElement(Slottable, null, children),\n React.createElement(ContextMenuPrimitive.ItemIndicator, { className: \"rt-BaseMenuItemIndicator rt-ContextMenuItemIndicator\" },\n React.createElement(ThickCheckIcon, { className: \"rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon\" })),\n shortcut && React.createElement(\"div\", { className: \"rt-BaseMenuShortcut rt-ContextMenuShortcut\" }, shortcut)));\n});\nContextMenuCheckboxItem.displayName = 'ContextMenuCheckboxItem';\nconst ContextMenuSub = (props) => (React.createElement(ContextMenuPrimitive.Sub, { ...props }));\nContextMenuSub.displayName = 'ContextMenuSub';\nconst ContextMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { className, children, ...subTriggerProps } = props;\n return (React.createElement(ContextMenuPrimitive.SubTrigger, { ...subTriggerProps, ref: forwardedRef, className: classNames('rt-BaseMenuItem', 'rt-BaseMenuSubTrigger', 'rt-ContextMenuItem', 'rt-ContextMenuSubTrigger', className) },\n React.createElement(Slottable, null, children),\n React.createElement(\"div\", { className: \"rt-BaseMenuShortcut rt-ContextMenuShortcut\" },\n React.createElement(ThickChevronRightIcon, { className: \"rt-BaseMenuSubTriggerIcon rt-ContextMenuSubTriggerIcon\" }))));\n});\nContextMenuSubTrigger.displayName = 'ContextMenuSubTrigger';\nconst ContextMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { className, children, container, forceMount, ...subContentProps } = props;\n const { size, variant, color, highContrast } = React.useContext(ContextMenuContentContext);\n return (React.createElement(ContextMenuPrimitive.Portal, { container: container, forceMount: forceMount },\n React.createElement(Theme, { asChild: true },\n React.createElement(ContextMenuPrimitive.SubContent, { \"data-accent-color\": color, alignOffset: -Number(size) * 4, \n // Side offset accounts for the outer solid box-shadow\n sideOffset: 1, collisionPadding: 10, ...subContentProps, ref: forwardedRef, className: classNames('rt-PopperContent', 'rt-BaseMenuContent', 'rt-BaseMenuSubContent', 'rt-ContextMenuContent', 'rt-ContextMenuSubContent', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, { 'rt-high-contrast': highContrast }) },\n React.createElement(ScrollArea, { type: \"auto\" },\n React.createElement(\"div\", { className: classNames('rt-BaseMenuViewport', 'rt-ContextMenuViewport') }, children))))));\n});\nContextMenuSubContent.displayName = 'ContextMenuSubContent';\nconst ContextMenuSeparator = React.forwardRef((props, forwardedRef) => (React.createElement(ContextMenuPrimitive.Separator, { ...props, ref: forwardedRef, className: classNames('rt-BaseMenuSeparator', 'rt-ContextMenuSeparator', props.className) })));\nContextMenuSeparator.displayName = 'ContextMenuSeparator';\nconst ContextMenu = Object.assign({}, {\n Root: ContextMenuRoot,\n Trigger: ContextMenuTrigger,\n Content: ContextMenuContent,\n Label: ContextMenuLabel,\n Item: ContextMenuItem,\n Group: ContextMenuGroup,\n RadioGroup: ContextMenuRadioGroup,\n RadioItem: ContextMenuRadioItem,\n CheckboxItem: ContextMenuCheckboxItem,\n Sub: ContextMenuSub,\n SubTrigger: ContextMenuSubTrigger,\n SubContent: ContextMenuSubContent,\n Separator: ContextMenuSeparator,\n});\nexport { ContextMenu, ContextMenuRoot, ContextMenuTrigger, ContextMenuContent, ContextMenuLabel, ContextMenuItem, ContextMenuGroup, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuCheckboxItem, ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent, ContextMenuSeparator, };\n//# sourceMappingURL=context-menu.js.map","const displayValues = ['none', 'inline-grid', 'grid'];\nconst flowValues = ['row', 'column', 'dense', 'row-dense', 'column-dense'];\nconst alignValues = ['start', 'center', 'end', 'baseline', 'stretch'];\nconst justifyValues = ['start', 'center', 'end', 'between'];\nconst gapValues = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];\nconst gridPropDefs = {\n display: { type: 'enum', values: displayValues, default: undefined, responsive: true },\n columns: { type: 'string', default: undefined, responsive: true },\n rows: { type: 'string', default: undefined, responsive: true },\n flow: { type: 'enum', values: flowValues, default: undefined, responsive: true },\n align: { type: 'enum', values: alignValues, default: undefined, responsive: true },\n justify: { type: 'enum', values: justifyValues, default: undefined, responsive: true },\n gap: { type: 'enum', values: gapValues, default: undefined, responsive: true },\n gapX: { type: 'enum', values: gapValues, default: undefined, responsive: true },\n gapY: { type: 'enum', values: gapValues, default: undefined, responsive: true },\n};\nexport { gridPropDefs };\n//# sourceMappingURL=grid.props.js.map","/** A util to check whether the object has a key, while inferring the correct key type */\nfunction hasOwnProperty(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\nexport { hasOwnProperty };\n//# sourceMappingURL=has-own-property.js.map","import * as React from 'react';\nimport classNames from 'classnames';\nimport { Slot } from './slot';\nimport { gridPropDefs } from './grid.props';\nimport { extractMarginProps, withMarginProps, extractLayoutProps, withLayoutProps, withBreakpoints, isBreakpointsObject, hasOwnProperty, } from '../helpers';\nconst Grid = React.forwardRef((props, forwardedRef) => {\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { rest: layoutRest, ...layoutProps } = extractLayoutProps(marginRest);\n const { className, asChild, display = gridPropDefs.display.default, columns = gridPropDefs.columns.default, rows = gridPropDefs.rows.default, flow = gridPropDefs.flow.default, align = gridPropDefs.align.default, justify = gridPropDefs.justify.default, gap = gridPropDefs.gap.default, gapX = gridPropDefs.gapX.default, gapY = gridPropDefs.gapY.default, style: propStyle, ...gridProps } = layoutRest;\n const Comp = asChild ? Slot : 'div';\n let style = {\n ...propStyle,\n };\n if (typeof columns === 'string') {\n style = {\n '--grid-template-columns-initial': parseGridValue(columns),\n ...style,\n };\n }\n if (typeof rows === 'string') {\n style = {\n '--grid-template-rows-initial': parseGridValue(rows),\n ...style,\n };\n }\n if (isBreakpointsObject(columns)) {\n for (const breakpoint in columns) {\n if (hasOwnProperty(columns, breakpoint)) {\n const customProperty = `--grid-template-columns-${breakpoint}`;\n style = {\n [customProperty]: parseGridValue(columns[breakpoint]),\n ...style,\n };\n }\n }\n }\n if (isBreakpointsObject(rows)) {\n for (const breakpoint in rows) {\n if (hasOwnProperty(rows, breakpoint)) {\n const customProperty = `--grid-template-rows-${breakpoint}`;\n style = {\n [customProperty]: parseGridValue(rows[breakpoint]),\n ...style,\n };\n }\n }\n }\n return (React.createElement(Comp, { ...gridProps, ref: forwardedRef, className: classNames('rt-Grid', className, withBreakpoints(display, 'rt-r-display'), withBreakpoints(flow, 'rt-r-gaf'), withBreakpoints(align, 'rt-r-ai'), withBreakpoints(justify, 'rt-r-jc', { between: 'space-between' }), withBreakpoints(gap, 'rt-r-gap'), withBreakpoints(gapX, 'rt-r-cg'), withBreakpoints(gapY, 'rt-r-rg'), withLayoutProps(layoutProps), withMarginProps(marginProps)), style: Object.keys(style).length ? style : undefined }));\n});\nGrid.displayName = 'Grid';\nfunction parseGridValue(value) {\n return (value === null || value === void 0 ? void 0 : value.match(/^\\d+$/)) ? `repeat(${value}, minmax(0, 1fr))` : value;\n}\nexport { Grid };\n//# sourceMappingURL=grid.js.map","const contentSizes = ['1', '2', '3'];\nconst hoverCardContentPropDefs = {\n size: { type: 'enum', values: contentSizes, default: '2', responsive: true },\n};\nexport { hoverCardContentPropDefs };\n//# sourceMappingURL=hover-card.props.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card';\nimport { hoverCardContentPropDefs } from './hover-card.props';\nimport { withBreakpoints } from '../helpers';\nimport { Theme } from '../theme';\nconst HoverCardRoot = (props) => (React.createElement(HoverCardPrimitive.Root, { closeDelay: 150, openDelay: 200, ...props }));\nHoverCardRoot.displayName = 'HoverCardRoot';\nconst HoverCardTrigger = React.forwardRef((props, forwardedRef) => (React.createElement(HoverCardPrimitive.Trigger, { ref: forwardedRef, className: classNames('rt-HoverCardTrigger', props.className), ...props, asChild: true })));\nHoverCardTrigger.displayName = 'HoverCardTrigger';\nconst HoverCardContent = React.forwardRef((props, forwardedRef) => {\n const { className, forceMount, container, size = hoverCardContentPropDefs.size.default, ...contentProps } = props;\n return (React.createElement(HoverCardPrimitive.Portal, { container: container, forceMount: forceMount },\n React.createElement(Theme, { asChild: true },\n React.createElement(HoverCardPrimitive.Content, { align: \"start\", sideOffset: 8, collisionPadding: 10, ...contentProps, ref: forwardedRef, className: classNames('rt-PopperContent', 'rt-HoverCardContent', className, withBreakpoints(size, 'rt-r-size')) }))));\n});\nHoverCardContent.displayName = 'HoverCardContent';\nconst HoverCard = Object.assign({}, {\n Root: HoverCardRoot,\n Trigger: HoverCardTrigger,\n Content: HoverCardContent,\n});\nexport { HoverCard, HoverCardRoot, HoverCardTrigger, HoverCardContent };\n//# sourceMappingURL=hover-card.js.map","const contentSizes = ['1', '2', '3', '4'];\nconst popoverContentPropDefs = {\n size: { type: 'enum', values: contentSizes, default: '2', responsive: true },\n};\nexport { popoverContentPropDefs };\n//# sourceMappingURL=popover.props.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { popoverContentPropDefs } from './popover.props';\nimport { withBreakpoints } from '../helpers';\nimport { Theme } from '../theme';\nconst PopoverRoot = (props) => (React.createElement(PopoverPrimitive.Root, { ...props }));\nPopoverRoot.displayName = 'PopoverRoot';\nconst PopoverTrigger = React.forwardRef((props, forwardedRef) => React.createElement(PopoverPrimitive.Trigger, { ...props, ref: forwardedRef, asChild: true }));\nPopoverTrigger.displayName = 'PopoverTrigger';\nconst PopoverContent = React.forwardRef((props, forwardedRef) => {\n const { className, forceMount, container, size = popoverContentPropDefs.size.default, ...contentProps } = props;\n return (React.createElement(PopoverPrimitive.Portal, { container: container, forceMount: forceMount },\n React.createElement(Theme, { asChild: true },\n React.createElement(PopoverPrimitive.Content, { align: \"start\", sideOffset: 8, collisionPadding: 10, ...contentProps, ref: forwardedRef, className: classNames('rt-PopperContent', 'rt-PopoverContent', className, withBreakpoints(size, 'rt-r-size')) }))));\n});\nPopoverContent.displayName = 'PopoverContent';\nconst PopoverClose = React.forwardRef((props, forwardedRef) => React.createElement(PopoverPrimitive.Close, { ...props, ref: forwardedRef, asChild: true }));\nPopoverClose.displayName = 'PopoverClose';\nconst Popover = Object.assign({}, {\n Root: PopoverRoot,\n Content: PopoverContent,\n Trigger: PopoverTrigger,\n Close: PopoverClose,\n});\nexport { Popover, PopoverRoot, PopoverContent, PopoverTrigger, PopoverClose };\n//# sourceMappingURL=popover.js.map","'use client';\nexport { Portal } from '@radix-ui/react-portal';\n//# sourceMappingURL=portal.js.map","import $01b9c$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {useState as $01b9c$useState, useRef as $01b9c$useRef, createElement as $01b9c$createElement, useCallback as $01b9c$useCallback, forwardRef as $01b9c$forwardRef, Fragment as $01b9c$Fragment, useEffect as $01b9c$useEffect, useMemo as $01b9c$useMemo} from \"react\";\nimport {createPortal as $01b9c$createPortal} from \"react-dom\";\nimport {clamp as $01b9c$clamp} from \"@radix-ui/number\";\nimport {composeEventHandlers as $01b9c$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {createCollection as $01b9c$createCollection} from \"@radix-ui/react-collection\";\nimport {useComposedRefs as $01b9c$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {createContextScope as $01b9c$createContextScope} from \"@radix-ui/react-context\";\nimport {useDirection as $01b9c$useDirection} from \"@radix-ui/react-direction\";\nimport {DismissableLayer as $01b9c$DismissableLayer} from \"@radix-ui/react-dismissable-layer\";\nimport {useFocusGuards as $01b9c$useFocusGuards} from \"@radix-ui/react-focus-guards\";\nimport {FocusScope as $01b9c$FocusScope} from \"@radix-ui/react-focus-scope\";\nimport {useId as $01b9c$useId} from \"@radix-ui/react-id\";\nimport {createPopperScope as $01b9c$createPopperScope, Root as $01b9c$Root, Anchor as $01b9c$Anchor, Content as $01b9c$Content, Arrow as $01b9c$Arrow} from \"@radix-ui/react-popper\";\nimport {Portal as $01b9c$Portal} from \"@radix-ui/react-portal\";\nimport {Primitive as $01b9c$Primitive} from \"@radix-ui/react-primitive\";\nimport {Slot as $01b9c$Slot} from \"@radix-ui/react-slot\";\nimport {useCallbackRef as $01b9c$useCallbackRef} from \"@radix-ui/react-use-callback-ref\";\nimport {useControllableState as $01b9c$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useLayoutEffect as $01b9c$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\nimport {usePrevious as $01b9c$usePrevious} from \"@radix-ui/react-use-previous\";\nimport {VisuallyHidden as $01b9c$VisuallyHidden} from \"@radix-ui/react-visually-hidden\";\nimport {hideOthers as $01b9c$hideOthers} from \"aria-hidden\";\nimport {RemoveScroll as $01b9c$RemoveScroll} from \"react-remove-scroll\";\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $cc7e05a45900e73f$var$OPEN_KEYS = [\n ' ',\n 'Enter',\n 'ArrowUp',\n 'ArrowDown'\n];\nconst $cc7e05a45900e73f$var$SELECTION_KEYS = [\n ' ',\n 'Enter'\n];\n/* -------------------------------------------------------------------------------------------------\n * Select\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SELECT_NAME = 'Select';\nconst [$cc7e05a45900e73f$var$Collection, $cc7e05a45900e73f$var$useCollection, $cc7e05a45900e73f$var$createCollectionScope] = $01b9c$createCollection($cc7e05a45900e73f$var$SELECT_NAME);\nconst [$cc7e05a45900e73f$var$createSelectContext, $cc7e05a45900e73f$export$286727a75dc039bd] = $01b9c$createContextScope($cc7e05a45900e73f$var$SELECT_NAME, [\n $cc7e05a45900e73f$var$createCollectionScope,\n $01b9c$createPopperScope\n]);\nconst $cc7e05a45900e73f$var$usePopperScope = $01b9c$createPopperScope();\nconst [$cc7e05a45900e73f$var$SelectProvider, $cc7e05a45900e73f$var$useSelectContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$SELECT_NAME);\nconst [$cc7e05a45900e73f$var$SelectNativeOptionsProvider, $cc7e05a45900e73f$var$useSelectNativeOptionsContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$SELECT_NAME);\nconst $cc7e05a45900e73f$export$ef9b1a59e592288f = (props)=>{\n const { __scopeSelect: __scopeSelect , children: children , open: openProp , defaultOpen: defaultOpen , onOpenChange: onOpenChange , value: valueProp , defaultValue: defaultValue , onValueChange: onValueChange , dir: dir , name: name , autoComplete: autoComplete , disabled: disabled , required: required } = props;\n const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);\n const [trigger, setTrigger] = $01b9c$useState(null);\n const [valueNode, setValueNode] = $01b9c$useState(null);\n const [valueNodeHasChildren, setValueNodeHasChildren] = $01b9c$useState(false);\n const direction = $01b9c$useDirection(dir);\n const [open = false, setOpen] = $01b9c$useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n const [value, setValue] = $01b9c$useControllableState({\n prop: valueProp,\n defaultProp: defaultValue,\n onChange: onValueChange\n });\n const triggerPointerDownPosRef = $01b9c$useRef(null); // We set this to true by default so that events bubble to forms without JS (SSR)\n const isFormControl = trigger ? Boolean(trigger.closest('form')) : true;\n const [nativeOptionsSet, setNativeOptionsSet] = $01b9c$useState(new Set()); // The native `select` only associates the correct default value if the corresponding\n // `option` is rendered as a child **at the same time** as itself.\n // Because it might take a few renders for our items to gather the information to build\n // the native `option`(s), we generate a key on the `select` to make sure React re-builds it\n // each time the options change.\n const nativeSelectKey = Array.from(nativeOptionsSet).map((option)=>option.props.value\n ).join(';');\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Root, popperScope, /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectProvider, {\n required: required,\n scope: __scopeSelect,\n trigger: trigger,\n onTriggerChange: setTrigger,\n valueNode: valueNode,\n onValueNodeChange: setValueNode,\n valueNodeHasChildren: valueNodeHasChildren,\n onValueNodeHasChildrenChange: setValueNodeHasChildren,\n contentId: $01b9c$useId(),\n value: value,\n onValueChange: setValue,\n open: open,\n onOpenChange: setOpen,\n dir: direction,\n triggerPointerDownPosRef: triggerPointerDownPosRef,\n disabled: disabled\n }, /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$Collection.Provider, {\n scope: __scopeSelect\n }, /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectNativeOptionsProvider, {\n scope: props.__scopeSelect,\n onNativeOptionAdd: $01b9c$useCallback((option)=>{\n setNativeOptionsSet((prev)=>new Set(prev).add(option)\n );\n }, []),\n onNativeOptionRemove: $01b9c$useCallback((option)=>{\n setNativeOptionsSet((prev)=>{\n const optionsSet = new Set(prev);\n optionsSet.delete(option);\n return optionsSet;\n });\n }, [])\n }, children)), isFormControl ? /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$BubbleSelect, {\n key: nativeSelectKey,\n \"aria-hidden\": true,\n required: required,\n tabIndex: -1,\n name: name,\n autoComplete: autoComplete,\n value: value // enable form autofill\n ,\n onChange: (event)=>setValue(event.target.value)\n ,\n disabled: disabled\n }, value === undefined ? /*#__PURE__*/ $01b9c$createElement(\"option\", {\n value: \"\"\n }) : null, Array.from(nativeOptionsSet)) : null));\n};\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$ef9b1a59e592288f, {\n displayName: $cc7e05a45900e73f$var$SELECT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectTrigger\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$TRIGGER_NAME = 'SelectTrigger';\nconst $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , disabled: disabled = false , ...triggerProps } = props;\n const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$TRIGGER_NAME, __scopeSelect);\n const isDisabled = context.disabled || disabled;\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, context.onTriggerChange);\n const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);\n const [searchRef, handleTypeaheadSearch, resetTypeahead] = $cc7e05a45900e73f$var$useTypeaheadSearch((search)=>{\n const enabledItems = getItems().filter((item)=>!item.disabled\n );\n const currentItem = enabledItems.find((item)=>item.value === context.value\n );\n const nextItem = $cc7e05a45900e73f$var$findNextItem(enabledItems, search, currentItem);\n if (nextItem !== undefined) context.onValueChange(nextItem.value);\n });\n const handleOpen = ()=>{\n if (!isDisabled) {\n context.onOpenChange(true); // reset typeahead when we open\n resetTypeahead();\n }\n };\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Anchor, $01b9c$babelruntimehelpersesmextends({\n asChild: true\n }, popperScope), /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.button, $01b9c$babelruntimehelpersesmextends({\n type: \"button\",\n role: \"combobox\",\n \"aria-controls\": context.contentId,\n \"aria-expanded\": context.open,\n \"aria-required\": context.required,\n \"aria-autocomplete\": \"none\",\n dir: context.dir,\n \"data-state\": context.open ? 'open' : 'closed',\n disabled: isDisabled,\n \"data-disabled\": isDisabled ? '' : undefined,\n \"data-placeholder\": $cc7e05a45900e73f$var$shouldShowPlaceholder(context.value) ? '' : undefined\n }, triggerProps, {\n ref: composedRefs // Enable compatibility with native label or custom `Label` \"click\" for Safari:\n ,\n onClick: $01b9c$composeEventHandlers(triggerProps.onClick, (event)=>{\n // Whilst browsers generally have no issue focusing the trigger when clicking\n // on a label, Safari seems to struggle with the fact that there's no `onClick`.\n // We force `focus` in this case. Note: this doesn't create any other side-effect\n // because we are preventing default in `onPointerDown` so effectively\n // this only runs for a label \"click\"\n event.currentTarget.focus();\n }),\n onPointerDown: $01b9c$composeEventHandlers(triggerProps.onPointerDown, (event)=>{\n // prevent implicit pointer capture\n // https://www.w3.org/TR/pointerevents3/#implicit-pointer-capture\n const target = event.target;\n if (target.hasPointerCapture(event.pointerId)) target.releasePointerCapture(event.pointerId);\n // only call handler if it's the left button (mousedown gets triggered by all mouse buttons)\n // but not when the control key is pressed (avoiding MacOS right click)\n if (event.button === 0 && event.ctrlKey === false) {\n handleOpen();\n context.triggerPointerDownPosRef.current = {\n x: Math.round(event.pageX),\n y: Math.round(event.pageY)\n }; // prevent trigger from stealing focus from the active item after opening.\n event.preventDefault();\n }\n }),\n onKeyDown: $01b9c$composeEventHandlers(triggerProps.onKeyDown, (event)=>{\n const isTypingAhead = searchRef.current !== '';\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;\n if (!isModifierKey && event.key.length === 1) handleTypeaheadSearch(event.key);\n if (isTypingAhead && event.key === ' ') return;\n if ($cc7e05a45900e73f$var$OPEN_KEYS.includes(event.key)) {\n handleOpen();\n event.preventDefault();\n }\n })\n })));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$3ac1e88a1c0b9f1, {\n displayName: $cc7e05a45900e73f$var$TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectValue\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$VALUE_NAME = 'SelectValue';\nconst $cc7e05a45900e73f$export$e288731fd71264f0 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n // We ignore `className` and `style` as this part shouldn't be styled.\n const { __scopeSelect: __scopeSelect , className: className , style: style , children: children , placeholder: placeholder = '' , ...valueProps } = props;\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$VALUE_NAME, __scopeSelect);\n const { onValueNodeHasChildrenChange: onValueNodeHasChildrenChange } = context;\n const hasChildren = children !== undefined;\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, context.onValueNodeChange);\n $01b9c$useLayoutEffect(()=>{\n onValueNodeHasChildrenChange(hasChildren);\n }, [\n onValueNodeHasChildrenChange,\n hasChildren\n ]);\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.span, $01b9c$babelruntimehelpersesmextends({}, valueProps, {\n ref: composedRefs // we don't want events from the portalled `SelectValue` children to bubble\n ,\n style: {\n pointerEvents: 'none'\n }\n }), $cc7e05a45900e73f$var$shouldShowPlaceholder(context.value) ? /*#__PURE__*/ $01b9c$createElement($01b9c$Fragment, null, placeholder) : children);\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$e288731fd71264f0, {\n displayName: $cc7e05a45900e73f$var$VALUE_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectIcon\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ICON_NAME = 'SelectIcon';\nconst $cc7e05a45900e73f$export$99b400cabb58c515 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , children: children , ...iconProps } = props;\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.span, $01b9c$babelruntimehelpersesmextends({\n \"aria-hidden\": true\n }, iconProps, {\n ref: forwardedRef\n }), children || '▼');\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$99b400cabb58c515, {\n displayName: $cc7e05a45900e73f$var$ICON_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectPortal\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$PORTAL_NAME = 'SelectPortal';\nconst $cc7e05a45900e73f$export$b2af6c9944296213 = (props)=>{\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Portal, $01b9c$babelruntimehelpersesmextends({\n asChild: true\n }, props));\n};\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$b2af6c9944296213, {\n displayName: $cc7e05a45900e73f$var$PORTAL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectContent\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$CONTENT_NAME = 'SelectContent';\nconst $cc7e05a45900e73f$export$c973a4b3cb86a03d = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, props.__scopeSelect);\n const [fragment, setFragment] = $01b9c$useState(); // setting the fragment in `useLayoutEffect` as `DocumentFragment` doesn't exist on the server\n $01b9c$useLayoutEffect(()=>{\n setFragment(new DocumentFragment());\n }, []);\n if (!context.open) {\n const frag = fragment;\n return frag ? /*#__PURE__*/ $01b9c$createPortal(/*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectContentProvider, {\n scope: props.__scopeSelect\n }, /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$Collection.Slot, {\n scope: props.__scopeSelect\n }, /*#__PURE__*/ $01b9c$createElement(\"div\", null, props.children))), frag) : null;\n }\n return /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectContentImpl, $01b9c$babelruntimehelpersesmextends({}, props, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$c973a4b3cb86a03d, {\n displayName: $cc7e05a45900e73f$var$CONTENT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectContentImpl\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$CONTENT_MARGIN = 10;\nconst [$cc7e05a45900e73f$var$SelectContentProvider, $cc7e05a45900e73f$var$useSelectContentContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$CONTENT_NAME);\nconst $cc7e05a45900e73f$var$CONTENT_IMPL_NAME = 'SelectContentImpl';\nconst $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , position: position = 'item-aligned' , onCloseAutoFocus: onCloseAutoFocus , onEscapeKeyDown: onEscapeKeyDown , onPointerDownOutside: onPointerDownOutside , side: //\n // PopperContent props\n side , sideOffset: sideOffset , align: align , alignOffset: alignOffset , arrowPadding: arrowPadding , collisionBoundary: collisionBoundary , collisionPadding: collisionPadding , sticky: sticky , hideWhenDetached: hideWhenDetached , avoidCollisions: avoidCollisions , //\n ...contentProps } = props;\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);\n const [content, setContent] = $01b9c$useState(null);\n const [viewport, setViewport] = $01b9c$useState(null);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, (node)=>setContent(node)\n );\n const [selectedItem, setSelectedItem] = $01b9c$useState(null);\n const [selectedItemText, setSelectedItemText] = $01b9c$useState(null);\n const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);\n const [isPositioned, setIsPositioned] = $01b9c$useState(false);\n const firstValidItemFoundRef = $01b9c$useRef(false); // aria-hide everything except the content (better supported equivalent to setting aria-modal)\n $01b9c$useEffect(()=>{\n if (content) return $01b9c$hideOthers(content);\n }, [\n content\n ]); // Make sure the whole tree has focus guards as our `Select` may be\n // the last element in the DOM (because of the `Portal`)\n $01b9c$useFocusGuards();\n const focusFirst = $01b9c$useCallback((candidates)=>{\n const [firstItem, ...restItems] = getItems().map((item)=>item.ref.current\n );\n const [lastItem] = restItems.slice(-1);\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates){\n // if focus is already where we want to go, we don't want to keep going through the candidates\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate === null || candidate === void 0 || candidate.scrollIntoView({\n block: 'nearest'\n }); // viewport might have padding so scroll to its edges when focusing first/last items.\n if (candidate === firstItem && viewport) viewport.scrollTop = 0;\n if (candidate === lastItem && viewport) viewport.scrollTop = viewport.scrollHeight;\n candidate === null || candidate === void 0 || candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n }, [\n getItems,\n viewport\n ]);\n const focusSelectedItem = $01b9c$useCallback(()=>focusFirst([\n selectedItem,\n content\n ])\n , [\n focusFirst,\n selectedItem,\n content\n ]); // Since this is not dependent on layout, we want to ensure this runs at the same time as\n // other effects across components. Hence why we don't call `focusSelectedItem` inside `position`.\n $01b9c$useEffect(()=>{\n if (isPositioned) focusSelectedItem();\n }, [\n isPositioned,\n focusSelectedItem\n ]); // prevent selecting items on `pointerup` in some cases after opening from `pointerdown`\n // and close on `pointerup` outside.\n const { onOpenChange: onOpenChange , triggerPointerDownPosRef: triggerPointerDownPosRef } = context;\n $01b9c$useEffect(()=>{\n if (content) {\n let pointerMoveDelta = {\n x: 0,\n y: 0\n };\n const handlePointerMove = (event)=>{\n var _triggerPointerDownPo, _triggerPointerDownPo2, _triggerPointerDownPo3, _triggerPointerDownPo4;\n pointerMoveDelta = {\n x: Math.abs(Math.round(event.pageX) - ((_triggerPointerDownPo = (_triggerPointerDownPo2 = triggerPointerDownPosRef.current) === null || _triggerPointerDownPo2 === void 0 ? void 0 : _triggerPointerDownPo2.x) !== null && _triggerPointerDownPo !== void 0 ? _triggerPointerDownPo : 0)),\n y: Math.abs(Math.round(event.pageY) - ((_triggerPointerDownPo3 = (_triggerPointerDownPo4 = triggerPointerDownPosRef.current) === null || _triggerPointerDownPo4 === void 0 ? void 0 : _triggerPointerDownPo4.y) !== null && _triggerPointerDownPo3 !== void 0 ? _triggerPointerDownPo3 : 0))\n };\n };\n const handlePointerUp = (event)=>{\n // If the pointer hasn't moved by a certain threshold then we prevent selecting item on `pointerup`.\n if (pointerMoveDelta.x <= 10 && pointerMoveDelta.y <= 10) event.preventDefault();\n else // otherwise, if the event was outside the content, close.\n if (!content.contains(event.target)) onOpenChange(false);\n document.removeEventListener('pointermove', handlePointerMove);\n triggerPointerDownPosRef.current = null;\n };\n if (triggerPointerDownPosRef.current !== null) {\n document.addEventListener('pointermove', handlePointerMove);\n document.addEventListener('pointerup', handlePointerUp, {\n capture: true,\n once: true\n });\n }\n return ()=>{\n document.removeEventListener('pointermove', handlePointerMove);\n document.removeEventListener('pointerup', handlePointerUp, {\n capture: true\n });\n };\n }\n }, [\n content,\n onOpenChange,\n triggerPointerDownPosRef\n ]);\n $01b9c$useEffect(()=>{\n const close = ()=>onOpenChange(false)\n ;\n window.addEventListener('blur', close);\n window.addEventListener('resize', close);\n return ()=>{\n window.removeEventListener('blur', close);\n window.removeEventListener('resize', close);\n };\n }, [\n onOpenChange\n ]);\n const [searchRef, handleTypeaheadSearch] = $cc7e05a45900e73f$var$useTypeaheadSearch((search)=>{\n const enabledItems = getItems().filter((item)=>!item.disabled\n );\n const currentItem = enabledItems.find((item)=>item.ref.current === document.activeElement\n );\n const nextItem = $cc7e05a45900e73f$var$findNextItem(enabledItems, search, currentItem);\n if (nextItem) /**\n * Imperative focus during keydown is risky so we prevent React's batching updates\n * to avoid potential bugs. See: https://github.com/facebook/react/issues/20332\n */ setTimeout(()=>nextItem.ref.current.focus()\n );\n });\n const itemRefCallback = $01b9c$useCallback((node, value, disabled)=>{\n const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;\n const isSelectedItem = context.value !== undefined && context.value === value;\n if (isSelectedItem || isFirstValidItem) {\n setSelectedItem(node);\n if (isFirstValidItem) firstValidItemFoundRef.current = true;\n }\n }, [\n context.value\n ]);\n const handleItemLeave = $01b9c$useCallback(()=>content === null || content === void 0 ? void 0 : content.focus()\n , [\n content\n ]);\n const itemTextRefCallback = $01b9c$useCallback((node, value, disabled)=>{\n const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;\n const isSelectedItem = context.value !== undefined && context.value === value;\n if (isSelectedItem || isFirstValidItem) setSelectedItemText(node);\n }, [\n context.value\n ]);\n const SelectPosition = position === 'popper' ? $cc7e05a45900e73f$var$SelectPopperPosition : $cc7e05a45900e73f$var$SelectItemAlignedPosition; // Silently ignore props that are not supported by `SelectItemAlignedPosition`\n const popperContentProps = SelectPosition === $cc7e05a45900e73f$var$SelectPopperPosition ? {\n side: side,\n sideOffset: sideOffset,\n align: align,\n alignOffset: alignOffset,\n arrowPadding: arrowPadding,\n collisionBoundary: collisionBoundary,\n collisionPadding: collisionPadding,\n sticky: sticky,\n hideWhenDetached: hideWhenDetached,\n avoidCollisions: avoidCollisions\n } : {};\n return /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectContentProvider, {\n scope: __scopeSelect,\n content: content,\n viewport: viewport,\n onViewportChange: setViewport,\n itemRefCallback: itemRefCallback,\n selectedItem: selectedItem,\n onItemLeave: handleItemLeave,\n itemTextRefCallback: itemTextRefCallback,\n focusSelectedItem: focusSelectedItem,\n selectedItemText: selectedItemText,\n position: position,\n isPositioned: isPositioned,\n searchRef: searchRef\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$RemoveScroll, {\n as: $01b9c$Slot,\n allowPinchZoom: true\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$FocusScope, {\n asChild: true // we make sure we're not trapping once it's been closed\n ,\n trapped: context.open,\n onMountAutoFocus: (event)=>{\n // we prevent open autofocus because we manually focus the selected item\n event.preventDefault();\n },\n onUnmountAutoFocus: $01b9c$composeEventHandlers(onCloseAutoFocus, (event)=>{\n var _context$trigger;\n (_context$trigger = context.trigger) === null || _context$trigger === void 0 || _context$trigger.focus({\n preventScroll: true\n });\n event.preventDefault();\n })\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$DismissableLayer, {\n asChild: true,\n disableOutsidePointerEvents: true,\n onEscapeKeyDown: onEscapeKeyDown,\n onPointerDownOutside: onPointerDownOutside // When focus is trapped, a focusout event may still happen.\n ,\n onFocusOutside: (event)=>event.preventDefault()\n ,\n onDismiss: ()=>context.onOpenChange(false)\n }, /*#__PURE__*/ $01b9c$createElement(SelectPosition, $01b9c$babelruntimehelpersesmextends({\n role: \"listbox\",\n id: context.contentId,\n \"data-state\": context.open ? 'open' : 'closed',\n dir: context.dir,\n onContextMenu: (event)=>event.preventDefault()\n }, contentProps, popperContentProps, {\n onPlaced: ()=>setIsPositioned(true)\n ,\n ref: composedRefs,\n style: {\n // flex layout so we can place the scroll buttons properly\n display: 'flex',\n flexDirection: 'column',\n // reset the outline by default as the content MAY get focused\n outline: 'none',\n ...contentProps.style\n },\n onKeyDown: $01b9c$composeEventHandlers(contentProps.onKeyDown, (event)=>{\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey; // select should not be navigated using tab key so we prevent it\n if (event.key === 'Tab') event.preventDefault();\n if (!isModifierKey && event.key.length === 1) handleTypeaheadSearch(event.key);\n if ([\n 'ArrowUp',\n 'ArrowDown',\n 'Home',\n 'End'\n ].includes(event.key)) {\n const items = getItems().filter((item)=>!item.disabled\n );\n let candidateNodes = items.map((item)=>item.ref.current\n );\n if ([\n 'ArrowUp',\n 'End'\n ].includes(event.key)) candidateNodes = candidateNodes.slice().reverse();\n if ([\n 'ArrowUp',\n 'ArrowDown'\n ].includes(event.key)) {\n const currentElement = event.target;\n const currentIndex = candidateNodes.indexOf(currentElement);\n candidateNodes = candidateNodes.slice(currentIndex + 1);\n }\n /**\n * Imperative focus during keydown is risky so we prevent React's batching updates\n * to avoid potential bugs. See: https://github.com/facebook/react/issues/20332\n */ setTimeout(()=>focusFirst(candidateNodes)\n );\n event.preventDefault();\n }\n })\n }))))));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$var$SelectContentImpl, {\n displayName: $cc7e05a45900e73f$var$CONTENT_IMPL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectItemAlignedPosition\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_ALIGNED_POSITION_NAME = 'SelectItemAlignedPosition';\nconst $cc7e05a45900e73f$var$SelectItemAlignedPosition = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , onPlaced: onPlaced , ...popperProps } = props;\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);\n const [contentWrapper, setContentWrapper] = $01b9c$useState(null);\n const [content, setContent] = $01b9c$useState(null);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, (node)=>setContent(node)\n );\n const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);\n const shouldExpandOnScrollRef = $01b9c$useRef(false);\n const shouldRepositionRef = $01b9c$useRef(true);\n const { viewport: viewport , selectedItem: selectedItem , selectedItemText: selectedItemText , focusSelectedItem: focusSelectedItem } = contentContext;\n const position = $01b9c$useCallback(()=>{\n if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {\n const triggerRect = context.trigger.getBoundingClientRect(); // -----------------------------------------------------------------------------------------\n // Horizontal positioning\n // -----------------------------------------------------------------------------------------\n const contentRect = content.getBoundingClientRect();\n const valueNodeRect = context.valueNode.getBoundingClientRect();\n const itemTextRect = selectedItemText.getBoundingClientRect();\n if (context.dir !== 'rtl') {\n const itemTextOffset = itemTextRect.left - contentRect.left;\n const left = valueNodeRect.left - itemTextOffset;\n const leftDelta = triggerRect.left - left;\n const minContentWidth = triggerRect.width + leftDelta;\n const contentWidth = Math.max(minContentWidth, contentRect.width);\n const rightEdge = window.innerWidth - $cc7e05a45900e73f$var$CONTENT_MARGIN;\n const clampedLeft = $01b9c$clamp(left, [\n $cc7e05a45900e73f$var$CONTENT_MARGIN,\n rightEdge - contentWidth\n ]);\n contentWrapper.style.minWidth = minContentWidth + 'px';\n contentWrapper.style.left = clampedLeft + 'px';\n } else {\n const itemTextOffset = contentRect.right - itemTextRect.right;\n const right = window.innerWidth - valueNodeRect.right - itemTextOffset;\n const rightDelta = window.innerWidth - triggerRect.right - right;\n const minContentWidth = triggerRect.width + rightDelta;\n const contentWidth = Math.max(minContentWidth, contentRect.width);\n const leftEdge = window.innerWidth - $cc7e05a45900e73f$var$CONTENT_MARGIN;\n const clampedRight = $01b9c$clamp(right, [\n $cc7e05a45900e73f$var$CONTENT_MARGIN,\n leftEdge - contentWidth\n ]);\n contentWrapper.style.minWidth = minContentWidth + 'px';\n contentWrapper.style.right = clampedRight + 'px';\n } // -----------------------------------------------------------------------------------------\n // Vertical positioning\n // -----------------------------------------------------------------------------------------\n const items = getItems();\n const availableHeight = window.innerHeight - $cc7e05a45900e73f$var$CONTENT_MARGIN * 2;\n const itemsHeight = viewport.scrollHeight;\n const contentStyles = window.getComputedStyle(content);\n const contentBorderTopWidth = parseInt(contentStyles.borderTopWidth, 10);\n const contentPaddingTop = parseInt(contentStyles.paddingTop, 10);\n const contentBorderBottomWidth = parseInt(contentStyles.borderBottomWidth, 10);\n const contentPaddingBottom = parseInt(contentStyles.paddingBottom, 10);\n const fullContentHeight = contentBorderTopWidth + contentPaddingTop + itemsHeight + contentPaddingBottom + contentBorderBottomWidth; // prettier-ignore\n const minContentHeight = Math.min(selectedItem.offsetHeight * 5, fullContentHeight);\n const viewportStyles = window.getComputedStyle(viewport);\n const viewportPaddingTop = parseInt(viewportStyles.paddingTop, 10);\n const viewportPaddingBottom = parseInt(viewportStyles.paddingBottom, 10);\n const topEdgeToTriggerMiddle = triggerRect.top + triggerRect.height / 2 - $cc7e05a45900e73f$var$CONTENT_MARGIN;\n const triggerMiddleToBottomEdge = availableHeight - topEdgeToTriggerMiddle;\n const selectedItemHalfHeight = selectedItem.offsetHeight / 2;\n const itemOffsetMiddle = selectedItem.offsetTop + selectedItemHalfHeight;\n const contentTopToItemMiddle = contentBorderTopWidth + contentPaddingTop + itemOffsetMiddle;\n const itemMiddleToContentBottom = fullContentHeight - contentTopToItemMiddle;\n const willAlignWithoutTopOverflow = contentTopToItemMiddle <= topEdgeToTriggerMiddle;\n if (willAlignWithoutTopOverflow) {\n const isLastItem = selectedItem === items[items.length - 1].ref.current;\n contentWrapper.style.bottom = \"0px\";\n const viewportOffsetBottom = content.clientHeight - viewport.offsetTop - viewport.offsetHeight;\n const clampedTriggerMiddleToBottomEdge = Math.max(triggerMiddleToBottomEdge, selectedItemHalfHeight + (isLastItem ? viewportPaddingBottom : 0) + viewportOffsetBottom + contentBorderBottomWidth);\n const height = contentTopToItemMiddle + clampedTriggerMiddleToBottomEdge;\n contentWrapper.style.height = height + 'px';\n } else {\n const isFirstItem = selectedItem === items[0].ref.current;\n contentWrapper.style.top = \"0px\";\n const clampedTopEdgeToTriggerMiddle = Math.max(topEdgeToTriggerMiddle, contentBorderTopWidth + viewport.offsetTop + (isFirstItem ? viewportPaddingTop : 0) + selectedItemHalfHeight);\n const height = clampedTopEdgeToTriggerMiddle + itemMiddleToContentBottom;\n contentWrapper.style.height = height + 'px';\n viewport.scrollTop = contentTopToItemMiddle - topEdgeToTriggerMiddle + viewport.offsetTop;\n }\n contentWrapper.style.margin = `${$cc7e05a45900e73f$var$CONTENT_MARGIN}px 0`;\n contentWrapper.style.minHeight = minContentHeight + 'px';\n contentWrapper.style.maxHeight = availableHeight + 'px'; // -----------------------------------------------------------------------------------------\n onPlaced === null || onPlaced === void 0 || onPlaced(); // we don't want the initial scroll position adjustment to trigger \"expand on scroll\"\n // so we explicitly turn it on only after they've registered.\n requestAnimationFrame(()=>shouldExpandOnScrollRef.current = true\n );\n }\n }, [\n getItems,\n context.trigger,\n context.valueNode,\n contentWrapper,\n content,\n viewport,\n selectedItem,\n selectedItemText,\n context.dir,\n onPlaced\n ]);\n $01b9c$useLayoutEffect(()=>position()\n , [\n position\n ]); // copy z-index from content to wrapper\n const [contentZIndex, setContentZIndex] = $01b9c$useState();\n $01b9c$useLayoutEffect(()=>{\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [\n content\n ]); // When the viewport becomes scrollable at the top, the scroll up button will mount.\n // Because it is part of the normal flow, it will push down the viewport, thus throwing our\n // trigger => selectedItem alignment off by the amount the viewport was pushed down.\n // We wait for this to happen and then re-run the positining logic one more time to account for it.\n const handleScrollButtonChange = $01b9c$useCallback((node)=>{\n if (node && shouldRepositionRef.current === true) {\n position();\n focusSelectedItem === null || focusSelectedItem === void 0 || focusSelectedItem();\n shouldRepositionRef.current = false;\n }\n }, [\n position,\n focusSelectedItem\n ]);\n return /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectViewportProvider, {\n scope: __scopeSelect,\n contentWrapper: contentWrapper,\n shouldExpandOnScrollRef: shouldExpandOnScrollRef,\n onScrollButtonChange: handleScrollButtonChange\n }, /*#__PURE__*/ $01b9c$createElement(\"div\", {\n ref: setContentWrapper,\n style: {\n display: 'flex',\n flexDirection: 'column',\n position: 'fixed',\n zIndex: contentZIndex\n }\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({}, popperProps, {\n ref: composedRefs,\n style: {\n // When we get the height of the content, it includes borders. If we were to set\n // the height without having `boxSizing: 'border-box'` it would be too big.\n boxSizing: 'border-box',\n // We need to ensure the content doesn't get taller than the wrapper\n maxHeight: '100%',\n ...popperProps.style\n }\n }))));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$var$SelectItemAlignedPosition, {\n displayName: $cc7e05a45900e73f$var$ITEM_ALIGNED_POSITION_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectPopperPosition\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$POPPER_POSITION_NAME = 'SelectPopperPosition';\nconst $cc7e05a45900e73f$var$SelectPopperPosition = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , align: align = 'start' , collisionPadding: collisionPadding = $cc7e05a45900e73f$var$CONTENT_MARGIN , ...popperProps } = props;\n const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Content, $01b9c$babelruntimehelpersesmextends({}, popperScope, popperProps, {\n ref: forwardedRef,\n align: align,\n collisionPadding: collisionPadding,\n style: {\n // Ensure border-box for floating-ui calculations\n boxSizing: 'border-box',\n ...popperProps.style,\n '--radix-select-content-transform-origin': 'var(--radix-popper-transform-origin)',\n '--radix-select-content-available-width': 'var(--radix-popper-available-width)',\n '--radix-select-content-available-height': 'var(--radix-popper-available-height)',\n '--radix-select-trigger-width': 'var(--radix-popper-anchor-width)',\n '--radix-select-trigger-height': 'var(--radix-popper-anchor-height)'\n }\n }));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$var$SelectPopperPosition, {\n displayName: $cc7e05a45900e73f$var$POPPER_POSITION_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectViewport\n * -----------------------------------------------------------------------------------------------*/ const [$cc7e05a45900e73f$var$SelectViewportProvider, $cc7e05a45900e73f$var$useSelectViewportContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, {});\nconst $cc7e05a45900e73f$var$VIEWPORT_NAME = 'SelectViewport';\nconst $cc7e05a45900e73f$export$9ed6e7b40248d36d = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , ...viewportProps } = props;\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$VIEWPORT_NAME, __scopeSelect);\n const viewportContext = $cc7e05a45900e73f$var$useSelectViewportContext($cc7e05a45900e73f$var$VIEWPORT_NAME, __scopeSelect);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, contentContext.onViewportChange);\n const prevScrollTopRef = $01b9c$useRef(0);\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Fragment, null, /*#__PURE__*/ $01b9c$createElement(\"style\", {\n dangerouslySetInnerHTML: {\n __html: `[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`\n }\n }), /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$Collection.Slot, {\n scope: __scopeSelect\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({\n \"data-radix-select-viewport\": \"\",\n role: \"presentation\"\n }, viewportProps, {\n ref: composedRefs,\n style: {\n // we use position: 'relative' here on the `viewport` so that when we call\n // `selectedItem.offsetTop` in calculations, the offset is relative to the viewport\n // (independent of the scrollUpButton).\n position: 'relative',\n flex: 1,\n overflow: 'auto',\n ...viewportProps.style\n },\n onScroll: $01b9c$composeEventHandlers(viewportProps.onScroll, (event)=>{\n const viewport = event.currentTarget;\n const { contentWrapper: contentWrapper , shouldExpandOnScrollRef: shouldExpandOnScrollRef } = viewportContext;\n if (shouldExpandOnScrollRef !== null && shouldExpandOnScrollRef !== void 0 && shouldExpandOnScrollRef.current && contentWrapper) {\n const scrolledBy = Math.abs(prevScrollTopRef.current - viewport.scrollTop);\n if (scrolledBy > 0) {\n const availableHeight = window.innerHeight - $cc7e05a45900e73f$var$CONTENT_MARGIN * 2;\n const cssMinHeight = parseFloat(contentWrapper.style.minHeight);\n const cssHeight = parseFloat(contentWrapper.style.height);\n const prevHeight = Math.max(cssMinHeight, cssHeight);\n if (prevHeight < availableHeight) {\n const nextHeight = prevHeight + scrolledBy;\n const clampedNextHeight = Math.min(availableHeight, nextHeight);\n const heightDiff = nextHeight - clampedNextHeight;\n contentWrapper.style.height = clampedNextHeight + 'px';\n if (contentWrapper.style.bottom === '0px') {\n viewport.scrollTop = heightDiff > 0 ? heightDiff : 0; // ensure the content stays pinned to the bottom\n contentWrapper.style.justifyContent = 'flex-end';\n }\n }\n }\n }\n prevScrollTopRef.current = viewport.scrollTop;\n })\n }))));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$9ed6e7b40248d36d, {\n displayName: $cc7e05a45900e73f$var$VIEWPORT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectGroup\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$GROUP_NAME = 'SelectGroup';\nconst [$cc7e05a45900e73f$var$SelectGroupContextProvider, $cc7e05a45900e73f$var$useSelectGroupContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$GROUP_NAME);\nconst $cc7e05a45900e73f$export$ee25a334c55de1f4 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , ...groupProps } = props;\n const groupId = $01b9c$useId();\n return /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectGroupContextProvider, {\n scope: __scopeSelect,\n id: groupId\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({\n role: \"group\",\n \"aria-labelledby\": groupId\n }, groupProps, {\n ref: forwardedRef\n })));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$ee25a334c55de1f4, {\n displayName: $cc7e05a45900e73f$var$GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectLabel\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$LABEL_NAME = 'SelectLabel';\nconst $cc7e05a45900e73f$export$f67338d29bd972f8 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , ...labelProps } = props;\n const groupContext = $cc7e05a45900e73f$var$useSelectGroupContext($cc7e05a45900e73f$var$LABEL_NAME, __scopeSelect);\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({\n id: groupContext.id\n }, labelProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$f67338d29bd972f8, {\n displayName: $cc7e05a45900e73f$var$LABEL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectItem\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_NAME = 'SelectItem';\nconst [$cc7e05a45900e73f$var$SelectItemContextProvider, $cc7e05a45900e73f$var$useSelectItemContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$ITEM_NAME);\nconst $cc7e05a45900e73f$export$13ef48a934230896 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , value: value , disabled: disabled = false , textValue: textValueProp , ...itemProps } = props;\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ITEM_NAME, __scopeSelect);\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ITEM_NAME, __scopeSelect);\n const isSelected = context.value === value;\n const [textValue, setTextValue] = $01b9c$useState(textValueProp !== null && textValueProp !== void 0 ? textValueProp : '');\n const [isFocused, setIsFocused] = $01b9c$useState(false);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, (node)=>{\n var _contentContext$itemR;\n return (_contentContext$itemR = contentContext.itemRefCallback) === null || _contentContext$itemR === void 0 ? void 0 : _contentContext$itemR.call(contentContext, node, value, disabled);\n });\n const textId = $01b9c$useId();\n const handleSelect = ()=>{\n if (!disabled) {\n context.onValueChange(value);\n context.onOpenChange(false);\n }\n };\n if (value === '') throw new Error('A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.');\n return /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectItemContextProvider, {\n scope: __scopeSelect,\n value: value,\n disabled: disabled,\n textId: textId,\n isSelected: isSelected,\n onItemTextChange: $01b9c$useCallback((node)=>{\n setTextValue((prevTextValue)=>{\n var _node$textContent;\n return prevTextValue || ((_node$textContent = node === null || node === void 0 ? void 0 : node.textContent) !== null && _node$textContent !== void 0 ? _node$textContent : '').trim();\n });\n }, [])\n }, /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$Collection.ItemSlot, {\n scope: __scopeSelect,\n value: value,\n disabled: disabled,\n textValue: textValue\n }, /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({\n role: \"option\",\n \"aria-labelledby\": textId,\n \"data-highlighted\": isFocused ? '' : undefined // `isFocused` caveat fixes stuttering in VoiceOver\n ,\n \"aria-selected\": isSelected && isFocused,\n \"data-state\": isSelected ? 'checked' : 'unchecked',\n \"aria-disabled\": disabled || undefined,\n \"data-disabled\": disabled ? '' : undefined,\n tabIndex: disabled ? undefined : -1\n }, itemProps, {\n ref: composedRefs,\n onFocus: $01b9c$composeEventHandlers(itemProps.onFocus, ()=>setIsFocused(true)\n ),\n onBlur: $01b9c$composeEventHandlers(itemProps.onBlur, ()=>setIsFocused(false)\n ),\n onPointerUp: $01b9c$composeEventHandlers(itemProps.onPointerUp, handleSelect),\n onPointerMove: $01b9c$composeEventHandlers(itemProps.onPointerMove, (event)=>{\n if (disabled) {\n var _contentContext$onIte;\n (_contentContext$onIte = contentContext.onItemLeave) === null || _contentContext$onIte === void 0 || _contentContext$onIte.call(contentContext);\n } else // even though safari doesn't support this option, it's acceptable\n // as it only means it might scroll a few pixels when using the pointer.\n event.currentTarget.focus({\n preventScroll: true\n });\n }),\n onPointerLeave: $01b9c$composeEventHandlers(itemProps.onPointerLeave, (event)=>{\n if (event.currentTarget === document.activeElement) {\n var _contentContext$onIte2;\n (_contentContext$onIte2 = contentContext.onItemLeave) === null || _contentContext$onIte2 === void 0 || _contentContext$onIte2.call(contentContext);\n }\n }),\n onKeyDown: $01b9c$composeEventHandlers(itemProps.onKeyDown, (event)=>{\n var _contentContext$searc;\n const isTypingAhead = ((_contentContext$searc = contentContext.searchRef) === null || _contentContext$searc === void 0 ? void 0 : _contentContext$searc.current) !== '';\n if (isTypingAhead && event.key === ' ') return;\n if ($cc7e05a45900e73f$var$SELECTION_KEYS.includes(event.key)) handleSelect(); // prevent page scroll if using the space key to select an item\n if (event.key === ' ') event.preventDefault();\n })\n }))));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$13ef48a934230896, {\n displayName: $cc7e05a45900e73f$var$ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectItemText\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_TEXT_NAME = 'SelectItemText';\nconst $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n // We ignore `className` and `style` as this part shouldn't be styled.\n const { __scopeSelect: __scopeSelect , className: className , style: style , ...itemTextProps } = props;\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);\n const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);\n const nativeOptionsContext = $cc7e05a45900e73f$var$useSelectNativeOptionsContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);\n const [itemTextNode, setItemTextNode] = $01b9c$useState(null);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, (node)=>setItemTextNode(node)\n , itemContext.onItemTextChange, (node)=>{\n var _contentContext$itemT;\n return (_contentContext$itemT = contentContext.itemTextRefCallback) === null || _contentContext$itemT === void 0 ? void 0 : _contentContext$itemT.call(contentContext, node, itemContext.value, itemContext.disabled);\n });\n const textContent = itemTextNode === null || itemTextNode === void 0 ? void 0 : itemTextNode.textContent;\n const nativeOption = $01b9c$useMemo(()=>/*#__PURE__*/ $01b9c$createElement(\"option\", {\n key: itemContext.value,\n value: itemContext.value,\n disabled: itemContext.disabled\n }, textContent)\n , [\n itemContext.disabled,\n itemContext.value,\n textContent\n ]);\n const { onNativeOptionAdd: onNativeOptionAdd , onNativeOptionRemove: onNativeOptionRemove } = nativeOptionsContext;\n $01b9c$useLayoutEffect(()=>{\n onNativeOptionAdd(nativeOption);\n return ()=>onNativeOptionRemove(nativeOption)\n ;\n }, [\n onNativeOptionAdd,\n onNativeOptionRemove,\n nativeOption\n ]);\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Fragment, null, /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.span, $01b9c$babelruntimehelpersesmextends({\n id: itemContext.textId\n }, itemTextProps, {\n ref: composedRefs\n })), itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? /*#__PURE__*/ $01b9c$createPortal(itemTextProps.children, context.valueNode) : null);\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$3572fb0fb821ff49, {\n displayName: $cc7e05a45900e73f$var$ITEM_TEXT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectItemIndicator\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_INDICATOR_NAME = 'SelectItemIndicator';\nconst $cc7e05a45900e73f$export$6b9198de19accfe6 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , ...itemIndicatorProps } = props;\n const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_INDICATOR_NAME, __scopeSelect);\n return itemContext.isSelected ? /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.span, $01b9c$babelruntimehelpersesmextends({\n \"aria-hidden\": true\n }, itemIndicatorProps, {\n ref: forwardedRef\n })) : null;\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$6b9198de19accfe6, {\n displayName: $cc7e05a45900e73f$var$ITEM_INDICATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectScrollUpButton\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SCROLL_UP_BUTTON_NAME = 'SelectScrollUpButton';\nconst $cc7e05a45900e73f$export$d8117927658af6d7 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$SCROLL_UP_BUTTON_NAME, props.__scopeSelect);\n const viewportContext = $cc7e05a45900e73f$var$useSelectViewportContext($cc7e05a45900e73f$var$SCROLL_UP_BUTTON_NAME, props.__scopeSelect);\n const [canScrollUp1, setCanScrollUp] = $01b9c$useState(false);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, viewportContext.onScrollButtonChange);\n $01b9c$useLayoutEffect(()=>{\n if (contentContext.viewport && contentContext.isPositioned) {\n const viewport = contentContext.viewport;\n function handleScroll() {\n const canScrollUp = viewport.scrollTop > 0;\n setCanScrollUp(canScrollUp);\n }\n handleScroll();\n viewport.addEventListener('scroll', handleScroll);\n return ()=>viewport.removeEventListener('scroll', handleScroll)\n ;\n }\n }, [\n contentContext.viewport,\n contentContext.isPositioned\n ]);\n return canScrollUp1 ? /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectScrollButtonImpl, $01b9c$babelruntimehelpersesmextends({}, props, {\n ref: composedRefs,\n onAutoScroll: ()=>{\n const { viewport: viewport , selectedItem: selectedItem } = contentContext;\n if (viewport && selectedItem) viewport.scrollTop = viewport.scrollTop - selectedItem.offsetHeight;\n }\n })) : null;\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$d8117927658af6d7, {\n displayName: $cc7e05a45900e73f$var$SCROLL_UP_BUTTON_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectScrollDownButton\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME = 'SelectScrollDownButton';\nconst $cc7e05a45900e73f$export$ff951e476c12189 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);\n const viewportContext = $cc7e05a45900e73f$var$useSelectViewportContext($cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);\n const [canScrollDown1, setCanScrollDown] = $01b9c$useState(false);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, viewportContext.onScrollButtonChange);\n $01b9c$useLayoutEffect(()=>{\n if (contentContext.viewport && contentContext.isPositioned) {\n const viewport = contentContext.viewport;\n function handleScroll() {\n const maxScroll = viewport.scrollHeight - viewport.clientHeight; // we use Math.ceil here because if the UI is zoomed-in\n // `scrollTop` is not always reported as an integer\n const canScrollDown = Math.ceil(viewport.scrollTop) < maxScroll;\n setCanScrollDown(canScrollDown);\n }\n handleScroll();\n viewport.addEventListener('scroll', handleScroll);\n return ()=>viewport.removeEventListener('scroll', handleScroll)\n ;\n }\n }, [\n contentContext.viewport,\n contentContext.isPositioned\n ]);\n return canScrollDown1 ? /*#__PURE__*/ $01b9c$createElement($cc7e05a45900e73f$var$SelectScrollButtonImpl, $01b9c$babelruntimehelpersesmextends({}, props, {\n ref: composedRefs,\n onAutoScroll: ()=>{\n const { viewport: viewport , selectedItem: selectedItem } = contentContext;\n if (viewport && selectedItem) viewport.scrollTop = viewport.scrollTop + selectedItem.offsetHeight;\n }\n })) : null;\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$ff951e476c12189, {\n displayName: $cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME\n});\nconst $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , onAutoScroll: onAutoScroll , ...scrollIndicatorProps } = props;\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext('SelectScrollButton', __scopeSelect);\n const autoScrollTimerRef = $01b9c$useRef(null);\n const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);\n const clearAutoScrollTimer = $01b9c$useCallback(()=>{\n if (autoScrollTimerRef.current !== null) {\n window.clearInterval(autoScrollTimerRef.current);\n autoScrollTimerRef.current = null;\n }\n }, []);\n $01b9c$useEffect(()=>{\n return ()=>clearAutoScrollTimer()\n ;\n }, [\n clearAutoScrollTimer\n ]); // When the viewport becomes scrollable on either side, the relevant scroll button will mount.\n // Because it is part of the normal flow, it will push down (top button) or shrink (bottom button)\n // the viewport, potentially causing the active item to now be partially out of view.\n // We re-run the `scrollIntoView` logic to make sure it stays within the viewport.\n $01b9c$useLayoutEffect(()=>{\n var _activeItem$ref$curre;\n const activeItem = getItems().find((item)=>item.ref.current === document.activeElement\n );\n activeItem === null || activeItem === void 0 || (_activeItem$ref$curre = activeItem.ref.current) === null || _activeItem$ref$curre === void 0 || _activeItem$ref$curre.scrollIntoView({\n block: 'nearest'\n });\n }, [\n getItems\n ]);\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({\n \"aria-hidden\": true\n }, scrollIndicatorProps, {\n ref: forwardedRef,\n style: {\n flexShrink: 0,\n ...scrollIndicatorProps.style\n },\n onPointerDown: $01b9c$composeEventHandlers(scrollIndicatorProps.onPointerDown, ()=>{\n if (autoScrollTimerRef.current === null) autoScrollTimerRef.current = window.setInterval(onAutoScroll, 50);\n }),\n onPointerMove: $01b9c$composeEventHandlers(scrollIndicatorProps.onPointerMove, ()=>{\n var _contentContext$onIte3;\n (_contentContext$onIte3 = contentContext.onItemLeave) === null || _contentContext$onIte3 === void 0 || _contentContext$onIte3.call(contentContext);\n if (autoScrollTimerRef.current === null) autoScrollTimerRef.current = window.setInterval(onAutoScroll, 50);\n }),\n onPointerLeave: $01b9c$composeEventHandlers(scrollIndicatorProps.onPointerLeave, ()=>{\n clearAutoScrollTimer();\n })\n }));\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectSeparator\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SEPARATOR_NAME = 'SelectSeparator';\nconst $cc7e05a45900e73f$export$eba4b1df07cb1d3 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , ...separatorProps } = props;\n return /*#__PURE__*/ $01b9c$createElement($01b9c$Primitive.div, $01b9c$babelruntimehelpersesmextends({\n \"aria-hidden\": true\n }, separatorProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$eba4b1df07cb1d3, {\n displayName: $cc7e05a45900e73f$var$SEPARATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SelectArrow\n * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ARROW_NAME = 'SelectArrow';\nconst $cc7e05a45900e73f$export$314f4cb8f8099628 = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { __scopeSelect: __scopeSelect , ...arrowProps } = props;\n const popperScope = $cc7e05a45900e73f$var$usePopperScope(__scopeSelect);\n const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ARROW_NAME, __scopeSelect);\n const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ARROW_NAME, __scopeSelect);\n return context.open && contentContext.position === 'popper' ? /*#__PURE__*/ $01b9c$createElement($01b9c$Arrow, $01b9c$babelruntimehelpersesmextends({}, popperScope, arrowProps, {\n ref: forwardedRef\n })) : null;\n});\n/*#__PURE__*/ Object.assign($cc7e05a45900e73f$export$314f4cb8f8099628, {\n displayName: $cc7e05a45900e73f$var$ARROW_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ function $cc7e05a45900e73f$var$shouldShowPlaceholder(value) {\n return value === '' || value === undefined;\n}\nconst $cc7e05a45900e73f$var$BubbleSelect = /*#__PURE__*/ $01b9c$forwardRef((props, forwardedRef)=>{\n const { value: value , ...selectProps } = props;\n const ref = $01b9c$useRef(null);\n const composedRefs = $01b9c$useComposedRefs(forwardedRef, ref);\n const prevValue = $01b9c$usePrevious(value); // Bubble value change to parents (e.g form change event)\n $01b9c$useEffect(()=>{\n const select = ref.current;\n const selectProto = window.HTMLSelectElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(selectProto, 'value');\n const setValue = descriptor.set;\n if (prevValue !== value && setValue) {\n const event = new Event('change', {\n bubbles: true\n });\n setValue.call(select, value);\n select.dispatchEvent(event);\n }\n }, [\n prevValue,\n value\n ]);\n /**\n * We purposefully use a `select` here to support form autofill as much\n * as possible.\n *\n * We purposefully do not add the `value` attribute here to allow the value\n * to be set programatically and bubble to any parent form `onChange` event.\n * Adding the `value` will cause React to consider the programatic\n * dispatch a duplicate and it will get swallowed.\n *\n * We use `VisuallyHidden` rather than `display: \"none\"` because Safari autofill\n * won't work otherwise.\n */ return /*#__PURE__*/ $01b9c$createElement($01b9c$VisuallyHidden, {\n asChild: true\n }, /*#__PURE__*/ $01b9c$createElement(\"select\", $01b9c$babelruntimehelpersesmextends({}, selectProps, {\n ref: composedRefs,\n defaultValue: value\n })));\n});\n$cc7e05a45900e73f$var$BubbleSelect.displayName = 'BubbleSelect';\nfunction $cc7e05a45900e73f$var$useTypeaheadSearch(onSearchChange) {\n const handleSearchChange = $01b9c$useCallbackRef(onSearchChange);\n const searchRef = $01b9c$useRef('');\n const timerRef = $01b9c$useRef(0);\n const handleTypeaheadSearch = $01b9c$useCallback((key)=>{\n const search = searchRef.current + key;\n handleSearchChange(search);\n (function updateSearch(value) {\n searchRef.current = value;\n window.clearTimeout(timerRef.current); // Reset `searchRef` 1 second after it was last updated\n if (value !== '') timerRef.current = window.setTimeout(()=>updateSearch('')\n , 1000);\n })(search);\n }, [\n handleSearchChange\n ]);\n const resetTypeahead = $01b9c$useCallback(()=>{\n searchRef.current = '';\n window.clearTimeout(timerRef.current);\n }, []);\n $01b9c$useEffect(()=>{\n return ()=>window.clearTimeout(timerRef.current)\n ;\n }, []);\n return [\n searchRef,\n handleTypeaheadSearch,\n resetTypeahead\n ];\n}\n/**\n * This is the \"meat\" of the typeahead matching logic. It takes in a list of items,\n * the search and the current item, and returns the next item (or `undefined`).\n *\n * We normalize the search because if a user has repeatedly pressed a character,\n * we want the exact same behavior as if we only had that one character\n * (ie. cycle through items starting with that character)\n *\n * We also reorder the items by wrapping the array around the current item.\n * This is so we always look forward from the current item, and picking the first\n * item will always be the correct one.\n *\n * Finally, if the normalized search is exactly one character, we exclude the\n * current item from the values because otherwise it would be the first to match always\n * and focus would never move. This is as opposed to the regular case, where we\n * don't want focus to move if the current item still matches.\n */ function $cc7e05a45900e73f$var$findNextItem(items, search, currentItem) {\n const isRepeated = search.length > 1 && Array.from(search).every((char)=>char === search[0]\n );\n const normalizedSearch = isRepeated ? search[0] : search;\n const currentItemIndex = currentItem ? items.indexOf(currentItem) : -1;\n let wrappedItems = $cc7e05a45900e73f$var$wrapArray(items, Math.max(currentItemIndex, 0));\n const excludeCurrentItem = normalizedSearch.length === 1;\n if (excludeCurrentItem) wrappedItems = wrappedItems.filter((v)=>v !== currentItem\n );\n const nextItem = wrappedItems.find((item)=>item.textValue.toLowerCase().startsWith(normalizedSearch.toLowerCase())\n );\n return nextItem !== currentItem ? nextItem : undefined;\n}\n/**\n * Wraps an array around itself at a given start index\n * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n */ function $cc7e05a45900e73f$var$wrapArray(array, startIndex) {\n return array.map((_, index)=>array[(startIndex + index) % array.length]\n );\n}\nconst $cc7e05a45900e73f$export$be92b6f5f03c0fe9 = $cc7e05a45900e73f$export$ef9b1a59e592288f;\nconst $cc7e05a45900e73f$export$41fb9f06171c75f4 = $cc7e05a45900e73f$export$3ac1e88a1c0b9f1;\nconst $cc7e05a45900e73f$export$4c8d1a57a761ef94 = $cc7e05a45900e73f$export$e288731fd71264f0;\nconst $cc7e05a45900e73f$export$f04a61298a47a40f = $cc7e05a45900e73f$export$99b400cabb58c515;\nconst $cc7e05a45900e73f$export$602eac185826482c = $cc7e05a45900e73f$export$b2af6c9944296213;\nconst $cc7e05a45900e73f$export$7c6e2c02157bb7d2 = $cc7e05a45900e73f$export$c973a4b3cb86a03d;\nconst $cc7e05a45900e73f$export$d5c6c08dc2d3ca7 = $cc7e05a45900e73f$export$9ed6e7b40248d36d;\nconst $cc7e05a45900e73f$export$eb2fcfdbd7ba97d4 = $cc7e05a45900e73f$export$ee25a334c55de1f4;\nconst $cc7e05a45900e73f$export$b04be29aa201d4f5 = $cc7e05a45900e73f$export$f67338d29bd972f8;\nconst $cc7e05a45900e73f$export$6d08773d2e66f8f2 = $cc7e05a45900e73f$export$13ef48a934230896;\nconst $cc7e05a45900e73f$export$d6e5bf9c43ea9319 = $cc7e05a45900e73f$export$3572fb0fb821ff49;\nconst $cc7e05a45900e73f$export$c3468e2714d175fa = $cc7e05a45900e73f$export$6b9198de19accfe6;\nconst $cc7e05a45900e73f$export$2f60d3ec9ad468f2 = $cc7e05a45900e73f$export$d8117927658af6d7;\nconst $cc7e05a45900e73f$export$bf1aedc3039c8d63 = $cc7e05a45900e73f$export$ff951e476c12189;\nconst $cc7e05a45900e73f$export$1ff3c3f08ae963c0 = $cc7e05a45900e73f$export$eba4b1df07cb1d3;\nconst $cc7e05a45900e73f$export$21b07c8f274aebd5 = $cc7e05a45900e73f$export$314f4cb8f8099628;\n\n\n\n\nexport {$cc7e05a45900e73f$export$286727a75dc039bd as createSelectScope, $cc7e05a45900e73f$export$ef9b1a59e592288f as Select, $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 as SelectTrigger, $cc7e05a45900e73f$export$e288731fd71264f0 as SelectValue, $cc7e05a45900e73f$export$99b400cabb58c515 as SelectIcon, $cc7e05a45900e73f$export$b2af6c9944296213 as SelectPortal, $cc7e05a45900e73f$export$c973a4b3cb86a03d as SelectContent, $cc7e05a45900e73f$export$9ed6e7b40248d36d as SelectViewport, $cc7e05a45900e73f$export$ee25a334c55de1f4 as SelectGroup, $cc7e05a45900e73f$export$f67338d29bd972f8 as SelectLabel, $cc7e05a45900e73f$export$13ef48a934230896 as SelectItem, $cc7e05a45900e73f$export$3572fb0fb821ff49 as SelectItemText, $cc7e05a45900e73f$export$6b9198de19accfe6 as SelectItemIndicator, $cc7e05a45900e73f$export$d8117927658af6d7 as SelectScrollUpButton, $cc7e05a45900e73f$export$ff951e476c12189 as SelectScrollDownButton, $cc7e05a45900e73f$export$eba4b1df07cb1d3 as SelectSeparator, $cc7e05a45900e73f$export$314f4cb8f8099628 as SelectArrow, $cc7e05a45900e73f$export$be92b6f5f03c0fe9 as Root, $cc7e05a45900e73f$export$41fb9f06171c75f4 as Trigger, $cc7e05a45900e73f$export$4c8d1a57a761ef94 as Value, $cc7e05a45900e73f$export$f04a61298a47a40f as Icon, $cc7e05a45900e73f$export$602eac185826482c as Portal, $cc7e05a45900e73f$export$7c6e2c02157bb7d2 as Content, $cc7e05a45900e73f$export$d5c6c08dc2d3ca7 as Viewport, $cc7e05a45900e73f$export$eb2fcfdbd7ba97d4 as Group, $cc7e05a45900e73f$export$b04be29aa201d4f5 as Label, $cc7e05a45900e73f$export$6d08773d2e66f8f2 as Item, $cc7e05a45900e73f$export$d6e5bf9c43ea9319 as ItemText, $cc7e05a45900e73f$export$c3468e2714d175fa as ItemIndicator, $cc7e05a45900e73f$export$2f60d3ec9ad468f2 as ScrollUpButton, $cc7e05a45900e73f$export$bf1aedc3039c8d63 as ScrollDownButton, $cc7e05a45900e73f$export$1ff3c3f08ae963c0 as Separator, $cc7e05a45900e73f$export$21b07c8f274aebd5 as Arrow};\n//# sourceMappingURL=index.mjs.map\n","import { colorProp, highContrastProp, radiusProp } from '../helpers';\nconst sizes = ['1', '2', '3'];\nconst selectRootPropDefs = {\n size: { type: 'enum', values: sizes, default: '2', responsive: true },\n};\nconst triggerVariants = ['classic', 'surface', 'soft', 'ghost'];\nconst selectTriggerPropDefs = {\n variant: { type: 'enum', values: triggerVariants, default: 'surface' },\n color: colorProp,\n radius: radiusProp,\n};\nconst contentVariants = ['solid', 'soft'];\nconst selectContentPropDefs = {\n variant: { type: 'enum', values: contentVariants, default: 'solid' },\n color: colorProp,\n highContrast: highContrastProp,\n};\nexport { selectRootPropDefs, selectTriggerPropDefs, selectContentPropDefs };\n//# sourceMappingURL=select.props.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\nimport { selectRootPropDefs, selectTriggerPropDefs, selectContentPropDefs } from './select.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nimport { Theme, useThemeContext } from '../theme';\nimport { ThickCheckIcon, ChevronDownIcon } from '../icons';\nconst SelectContext = React.createContext({});\nconst SelectRoot = (props) => {\n const { children, size = selectRootPropDefs.size.default, ...rootProps } = props;\n return (React.createElement(SelectPrimitive.Root, { ...rootProps },\n React.createElement(SelectContext.Provider, { value: React.useMemo(() => ({ size }), [size]) }, children)));\n};\nSelectRoot.displayName = 'SelectRoot';\nconst SelectTrigger = React.forwardRef((props, forwardedRef) => {\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { className, variant = selectTriggerPropDefs.variant.default, color = selectTriggerPropDefs.color.default, radius = selectTriggerPropDefs.radius.default, placeholder, ...triggerProps } = marginRest;\n const { size } = React.useContext(SelectContext);\n return (React.createElement(SelectPrimitive.Trigger, { asChild: true },\n React.createElement(\"button\", { \"data-accent-color\": color, \"data-radius\": radius, ...triggerProps, ref: forwardedRef, className: classNames('rt-reset', 'rt-SelectTrigger', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, withMarginProps(marginProps)) },\n React.createElement(\"span\", { className: \"rt-SelectTriggerInner\" },\n React.createElement(SelectPrimitive.Value, { placeholder: placeholder })),\n React.createElement(SelectPrimitive.Icon, { asChild: true },\n React.createElement(ChevronDownIcon, { className: \"rt-SelectIcon\" })))));\n});\nSelectTrigger.displayName = 'SelectTrigger';\nconst SelectContent = React.forwardRef((props, forwardedRef) => {\n const { className, children, variant = selectContentPropDefs.variant.default, highContrast = selectContentPropDefs.highContrast.default, color = selectContentPropDefs.color.default, container, ...contentProps } = props;\n const { size } = React.useContext(SelectContext);\n const themeContext = useThemeContext();\n const resolvedColor = color !== null && color !== void 0 ? color : themeContext.accentColor;\n return (React.createElement(SelectPrimitive.Portal, { container: container },\n React.createElement(Theme, { asChild: true },\n React.createElement(SelectPrimitive.Content, { \"data-accent-color\": resolvedColor, sideOffset: 4, ...contentProps, ref: forwardedRef, className: classNames({ 'rt-PopperContent': contentProps.position === 'popper' }, 'rt-SelectContent', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, { 'rt-high-contrast': highContrast }) },\n React.createElement(ScrollAreaPrimitive.Root, { type: \"auto\", className: \"rt-ScrollAreaRoot\" },\n React.createElement(SelectPrimitive.Viewport, { asChild: true, className: \"rt-SelectViewport\" },\n React.createElement(ScrollAreaPrimitive.Viewport, { className: \"rt-ScrollAreaViewport\", style: { overflowY: undefined } }, children)),\n React.createElement(ScrollAreaPrimitive.Scrollbar, { className: \"rt-ScrollAreaScrollbar rt-r-size-1\", orientation: \"vertical\" },\n React.createElement(ScrollAreaPrimitive.Thumb, { className: \"rt-ScrollAreaThumb\" })))))));\n});\nSelectContent.displayName = 'SelectContent';\nconst SelectItem = React.forwardRef((props, forwardedRef) => {\n const { className, children, ...itemProps } = props;\n return (React.createElement(SelectPrimitive.Item, { ...itemProps, ref: forwardedRef, className: classNames('rt-SelectItem', className) },\n React.createElement(SelectPrimitive.ItemIndicator, { className: \"rt-SelectItemIndicator\" },\n React.createElement(ThickCheckIcon, { className: \"rt-SelectItemIndicatorIcon\" })),\n React.createElement(SelectPrimitive.ItemText, null, children)));\n});\nSelectItem.displayName = 'SelectItem';\nconst SelectGroup = React.forwardRef((props, forwardedRef) => (React.createElement(SelectPrimitive.Group, { ...props, ref: forwardedRef, className: classNames('rt-SelectGroup', props.className) })));\nSelectGroup.displayName = 'SelectGroup';\nconst SelectLabel = React.forwardRef((props, forwardedRef) => (React.createElement(SelectPrimitive.Label, { ...props, ref: forwardedRef, className: classNames('rt-SelectLabel', props.className) })));\nSelectLabel.displayName = 'SelectLabel';\nconst SelectSeparator = React.forwardRef((props, forwardedRef) => (React.createElement(SelectPrimitive.Separator, { ...props, ref: forwardedRef, className: classNames('rt-SelectSeparator', props.className) })));\nSelectSeparator.displayName = 'SelectSeparator';\nconst Select = Object.assign({}, {\n Root: SelectRoot,\n Trigger: SelectTrigger,\n Content: SelectContent,\n Item: SelectItem,\n Group: SelectGroup,\n Label: SelectLabel,\n Separator: SelectSeparator,\n});\nexport { Select, SelectRoot, SelectTrigger, SelectContent, SelectItem, SelectGroup, SelectLabel, SelectSeparator, };\n//# sourceMappingURL=select.js.map","import $g1Vy2$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $g1Vy2$forwardRef, useState as $g1Vy2$useState, useRef as $g1Vy2$useRef, createElement as $g1Vy2$createElement, useMemo as $g1Vy2$useMemo, useEffect as $g1Vy2$useEffect} from \"react\";\nimport {clamp as $g1Vy2$clamp} from \"@radix-ui/number\";\nimport {composeEventHandlers as $g1Vy2$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {useComposedRefs as $g1Vy2$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {createContextScope as $g1Vy2$createContextScope} from \"@radix-ui/react-context\";\nimport {useControllableState as $g1Vy2$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useDirection as $g1Vy2$useDirection} from \"@radix-ui/react-direction\";\nimport {usePrevious as $g1Vy2$usePrevious} from \"@radix-ui/react-use-previous\";\nimport {useSize as $g1Vy2$useSize} from \"@radix-ui/react-use-size\";\nimport {Primitive as $g1Vy2$Primitive} from \"@radix-ui/react-primitive\";\nimport {createCollection as $g1Vy2$createCollection} from \"@radix-ui/react-collection\";\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $faa2e61a3361514f$var$PAGE_KEYS = [\n 'PageUp',\n 'PageDown'\n];\nconst $faa2e61a3361514f$var$ARROW_KEYS = [\n 'ArrowUp',\n 'ArrowDown',\n 'ArrowLeft',\n 'ArrowRight'\n];\nconst $faa2e61a3361514f$var$BACK_KEYS = {\n 'from-left': [\n 'Home',\n 'PageDown',\n 'ArrowDown',\n 'ArrowLeft'\n ],\n 'from-right': [\n 'Home',\n 'PageDown',\n 'ArrowDown',\n 'ArrowRight'\n ],\n 'from-bottom': [\n 'Home',\n 'PageDown',\n 'ArrowDown',\n 'ArrowLeft'\n ],\n 'from-top': [\n 'Home',\n 'PageDown',\n 'ArrowUp',\n 'ArrowLeft'\n ]\n};\n/* -------------------------------------------------------------------------------------------------\n * Slider\n * -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$SLIDER_NAME = 'Slider';\nconst [$faa2e61a3361514f$var$Collection, $faa2e61a3361514f$var$useCollection, $faa2e61a3361514f$var$createCollectionScope] = $g1Vy2$createCollection($faa2e61a3361514f$var$SLIDER_NAME);\nconst [$faa2e61a3361514f$var$createSliderContext, $faa2e61a3361514f$export$ef72632d7b901f97] = $g1Vy2$createContextScope($faa2e61a3361514f$var$SLIDER_NAME, [\n $faa2e61a3361514f$var$createCollectionScope\n]);\nconst [$faa2e61a3361514f$var$SliderProvider, $faa2e61a3361514f$var$useSliderContext] = $faa2e61a3361514f$var$createSliderContext($faa2e61a3361514f$var$SLIDER_NAME);\nconst $faa2e61a3361514f$export$472062a354075cee = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { name: name , min: min = 0 , max: max = 100 , step: step = 1 , orientation: orientation = 'horizontal' , disabled: disabled = false , minStepsBetweenThumbs: minStepsBetweenThumbs = 0 , defaultValue: defaultValue = [\n min\n ] , value: value1 , onValueChange: onValueChange = ()=>{} , onValueCommit: onValueCommit = ()=>{} , inverted: inverted = false , ...sliderProps } = props;\n const [slider, setSlider] = $g1Vy2$useState(null);\n const composedRefs = $g1Vy2$useComposedRefs(forwardedRef, (node)=>setSlider(node)\n );\n const thumbRefs = $g1Vy2$useRef(new Set());\n const valueIndexToChangeRef = $g1Vy2$useRef(0);\n const isHorizontal = orientation === 'horizontal'; // We set this to true by default so that events bubble to forms without JS (SSR)\n const isFormControl = slider ? Boolean(slider.closest('form')) : true;\n const SliderOrientation = isHorizontal ? $faa2e61a3361514f$var$SliderHorizontal : $faa2e61a3361514f$var$SliderVertical;\n const [values = [], setValues] = $g1Vy2$useControllableState({\n prop: value1,\n defaultProp: defaultValue,\n onChange: (value)=>{\n var _thumbs$valueIndexToC;\n const thumbs = [\n ...thumbRefs.current\n ];\n (_thumbs$valueIndexToC = thumbs[valueIndexToChangeRef.current]) === null || _thumbs$valueIndexToC === void 0 || _thumbs$valueIndexToC.focus();\n onValueChange(value);\n }\n });\n const valuesBeforeSlideStartRef = $g1Vy2$useRef(values);\n function handleSlideStart(value) {\n const closestIndex = $faa2e61a3361514f$var$getClosestValueIndex(values, value);\n updateValues(value, closestIndex);\n }\n function handleSlideMove(value) {\n updateValues(value, valueIndexToChangeRef.current);\n }\n function handleSlideEnd() {\n const prevValue = valuesBeforeSlideStartRef.current[valueIndexToChangeRef.current];\n const nextValue = values[valueIndexToChangeRef.current];\n const hasChanged = nextValue !== prevValue;\n if (hasChanged) onValueCommit(values);\n }\n function updateValues(value, atIndex, { commit: commit } = {\n commit: false\n }) {\n const decimalCount = $faa2e61a3361514f$var$getDecimalCount(step);\n const snapToStep = $faa2e61a3361514f$var$roundValue(Math.round((value - min) / step) * step + min, decimalCount);\n const nextValue = $g1Vy2$clamp(snapToStep, [\n min,\n max\n ]);\n setValues((prevValues = [])=>{\n const nextValues = $faa2e61a3361514f$var$getNextSortedValues(prevValues, nextValue, atIndex);\n if ($faa2e61a3361514f$var$hasMinStepsBetweenValues(nextValues, minStepsBetweenThumbs * step)) {\n valueIndexToChangeRef.current = nextValues.indexOf(nextValue);\n const hasChanged = String(nextValues) !== String(prevValues);\n if (hasChanged && commit) onValueCommit(nextValues);\n return hasChanged ? nextValues : prevValues;\n } else return prevValues;\n });\n }\n return /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$SliderProvider, {\n scope: props.__scopeSlider,\n disabled: disabled,\n min: min,\n max: max,\n valueIndexToChangeRef: valueIndexToChangeRef,\n thumbs: thumbRefs.current,\n values: values,\n orientation: orientation\n }, /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$Collection.Provider, {\n scope: props.__scopeSlider\n }, /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$Collection.Slot, {\n scope: props.__scopeSlider\n }, /*#__PURE__*/ $g1Vy2$createElement(SliderOrientation, $g1Vy2$babelruntimehelpersesmextends({\n \"aria-disabled\": disabled,\n \"data-disabled\": disabled ? '' : undefined\n }, sliderProps, {\n ref: composedRefs,\n onPointerDown: $g1Vy2$composeEventHandlers(sliderProps.onPointerDown, ()=>{\n if (!disabled) valuesBeforeSlideStartRef.current = values;\n }),\n min: min,\n max: max,\n inverted: inverted,\n onSlideStart: disabled ? undefined : handleSlideStart,\n onSlideMove: disabled ? undefined : handleSlideMove,\n onSlideEnd: disabled ? undefined : handleSlideEnd,\n onHomeKeyDown: ()=>!disabled && updateValues(min, 0, {\n commit: true\n })\n ,\n onEndKeyDown: ()=>!disabled && updateValues(max, values.length - 1, {\n commit: true\n })\n ,\n onStepKeyDown: ({ event: event , direction: stepDirection })=>{\n if (!disabled) {\n const isPageKey = $faa2e61a3361514f$var$PAGE_KEYS.includes(event.key);\n const isSkipKey = isPageKey || event.shiftKey && $faa2e61a3361514f$var$ARROW_KEYS.includes(event.key);\n const multiplier = isSkipKey ? 10 : 1;\n const atIndex = valueIndexToChangeRef.current;\n const value = values[atIndex];\n const stepInDirection = step * multiplier * stepDirection;\n updateValues(value + stepInDirection, atIndex, {\n commit: true\n });\n }\n }\n })))), isFormControl && values.map((value, index)=>/*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$BubbleInput, {\n key: index,\n name: name ? name + (values.length > 1 ? '[]' : '') : undefined,\n value: value\n })\n ));\n});\n/*#__PURE__*/ Object.assign($faa2e61a3361514f$export$472062a354075cee, {\n displayName: $faa2e61a3361514f$var$SLIDER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SliderHorizontal\n * -----------------------------------------------------------------------------------------------*/ const [$faa2e61a3361514f$var$SliderOrientationProvider, $faa2e61a3361514f$var$useSliderOrientationContext] = $faa2e61a3361514f$var$createSliderContext($faa2e61a3361514f$var$SLIDER_NAME, {\n startEdge: 'left',\n endEdge: 'right',\n size: 'width',\n direction: 1\n});\nconst $faa2e61a3361514f$var$SliderHorizontal = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { min: min , max: max , dir: dir , inverted: inverted , onSlideStart: onSlideStart , onSlideMove: onSlideMove , onSlideEnd: onSlideEnd , onStepKeyDown: onStepKeyDown , ...sliderProps } = props;\n const [slider, setSlider] = $g1Vy2$useState(null);\n const composedRefs = $g1Vy2$useComposedRefs(forwardedRef, (node)=>setSlider(node)\n );\n const rectRef = $g1Vy2$useRef();\n const direction = $g1Vy2$useDirection(dir);\n const isDirectionLTR = direction === 'ltr';\n const isSlidingFromLeft = isDirectionLTR && !inverted || !isDirectionLTR && inverted;\n function getValueFromPointer(pointerPosition) {\n const rect = rectRef.current || slider.getBoundingClientRect();\n const input = [\n 0,\n rect.width\n ];\n const output = isSlidingFromLeft ? [\n min,\n max\n ] : [\n max,\n min\n ];\n const value = $faa2e61a3361514f$var$linearScale(input, output);\n rectRef.current = rect;\n return value(pointerPosition - rect.left);\n }\n return /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$SliderOrientationProvider, {\n scope: props.__scopeSlider,\n startEdge: isSlidingFromLeft ? 'left' : 'right',\n endEdge: isSlidingFromLeft ? 'right' : 'left',\n direction: isSlidingFromLeft ? 1 : -1,\n size: \"width\"\n }, /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$SliderImpl, $g1Vy2$babelruntimehelpersesmextends({\n dir: direction,\n \"data-orientation\": \"horizontal\"\n }, sliderProps, {\n ref: composedRefs,\n style: {\n ...sliderProps.style,\n ['--radix-slider-thumb-transform']: 'translateX(-50%)'\n },\n onSlideStart: (event)=>{\n const value = getValueFromPointer(event.clientX);\n onSlideStart === null || onSlideStart === void 0 || onSlideStart(value);\n },\n onSlideMove: (event)=>{\n const value = getValueFromPointer(event.clientX);\n onSlideMove === null || onSlideMove === void 0 || onSlideMove(value);\n },\n onSlideEnd: ()=>{\n rectRef.current = undefined;\n onSlideEnd === null || onSlideEnd === void 0 || onSlideEnd();\n },\n onStepKeyDown: (event)=>{\n const slideDirection = isSlidingFromLeft ? 'from-left' : 'from-right';\n const isBackKey = $faa2e61a3361514f$var$BACK_KEYS[slideDirection].includes(event.key);\n onStepKeyDown === null || onStepKeyDown === void 0 || onStepKeyDown({\n event: event,\n direction: isBackKey ? -1 : 1\n });\n }\n })));\n});\n/* -------------------------------------------------------------------------------------------------\n * SliderVertical\n * -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$SliderVertical = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { min: min , max: max , inverted: inverted , onSlideStart: onSlideStart , onSlideMove: onSlideMove , onSlideEnd: onSlideEnd , onStepKeyDown: onStepKeyDown , ...sliderProps } = props;\n const sliderRef = $g1Vy2$useRef(null);\n const ref = $g1Vy2$useComposedRefs(forwardedRef, sliderRef);\n const rectRef = $g1Vy2$useRef();\n const isSlidingFromBottom = !inverted;\n function getValueFromPointer(pointerPosition) {\n const rect = rectRef.current || sliderRef.current.getBoundingClientRect();\n const input = [\n 0,\n rect.height\n ];\n const output = isSlidingFromBottom ? [\n max,\n min\n ] : [\n min,\n max\n ];\n const value = $faa2e61a3361514f$var$linearScale(input, output);\n rectRef.current = rect;\n return value(pointerPosition - rect.top);\n }\n return /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$SliderOrientationProvider, {\n scope: props.__scopeSlider,\n startEdge: isSlidingFromBottom ? 'bottom' : 'top',\n endEdge: isSlidingFromBottom ? 'top' : 'bottom',\n size: \"height\",\n direction: isSlidingFromBottom ? 1 : -1\n }, /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$SliderImpl, $g1Vy2$babelruntimehelpersesmextends({\n \"data-orientation\": \"vertical\"\n }, sliderProps, {\n ref: ref,\n style: {\n ...sliderProps.style,\n ['--radix-slider-thumb-transform']: 'translateY(50%)'\n },\n onSlideStart: (event)=>{\n const value = getValueFromPointer(event.clientY);\n onSlideStart === null || onSlideStart === void 0 || onSlideStart(value);\n },\n onSlideMove: (event)=>{\n const value = getValueFromPointer(event.clientY);\n onSlideMove === null || onSlideMove === void 0 || onSlideMove(value);\n },\n onSlideEnd: ()=>{\n rectRef.current = undefined;\n onSlideEnd === null || onSlideEnd === void 0 || onSlideEnd();\n },\n onStepKeyDown: (event)=>{\n const slideDirection = isSlidingFromBottom ? 'from-bottom' : 'from-top';\n const isBackKey = $faa2e61a3361514f$var$BACK_KEYS[slideDirection].includes(event.key);\n onStepKeyDown === null || onStepKeyDown === void 0 || onStepKeyDown({\n event: event,\n direction: isBackKey ? -1 : 1\n });\n }\n })));\n});\n/* -------------------------------------------------------------------------------------------------\n * SliderImpl\n * -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$SliderImpl = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { __scopeSlider: __scopeSlider , onSlideStart: onSlideStart , onSlideMove: onSlideMove , onSlideEnd: onSlideEnd , onHomeKeyDown: onHomeKeyDown , onEndKeyDown: onEndKeyDown , onStepKeyDown: onStepKeyDown , ...sliderProps } = props;\n const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$SLIDER_NAME, __scopeSlider);\n return /*#__PURE__*/ $g1Vy2$createElement($g1Vy2$Primitive.span, $g1Vy2$babelruntimehelpersesmextends({}, sliderProps, {\n ref: forwardedRef,\n onKeyDown: $g1Vy2$composeEventHandlers(props.onKeyDown, (event)=>{\n if (event.key === 'Home') {\n onHomeKeyDown(event); // Prevent scrolling to page start\n event.preventDefault();\n } else if (event.key === 'End') {\n onEndKeyDown(event); // Prevent scrolling to page end\n event.preventDefault();\n } else if ($faa2e61a3361514f$var$PAGE_KEYS.concat($faa2e61a3361514f$var$ARROW_KEYS).includes(event.key)) {\n onStepKeyDown(event); // Prevent scrolling for directional key presses\n event.preventDefault();\n }\n }),\n onPointerDown: $g1Vy2$composeEventHandlers(props.onPointerDown, (event)=>{\n const target = event.target;\n target.setPointerCapture(event.pointerId); // Prevent browser focus behaviour because we focus a thumb manually when values change.\n event.preventDefault(); // Touch devices have a delay before focusing so won't focus if touch immediately moves\n // away from target (sliding). We want thumb to focus regardless.\n if (context.thumbs.has(target)) target.focus();\n else onSlideStart(event);\n }),\n onPointerMove: $g1Vy2$composeEventHandlers(props.onPointerMove, (event)=>{\n const target = event.target;\n if (target.hasPointerCapture(event.pointerId)) onSlideMove(event);\n }),\n onPointerUp: $g1Vy2$composeEventHandlers(props.onPointerUp, (event)=>{\n const target = event.target;\n if (target.hasPointerCapture(event.pointerId)) {\n target.releasePointerCapture(event.pointerId);\n onSlideEnd(event);\n }\n })\n }));\n});\n/* -------------------------------------------------------------------------------------------------\n * SliderTrack\n * -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$TRACK_NAME = 'SliderTrack';\nconst $faa2e61a3361514f$export$105594979f116971 = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { __scopeSlider: __scopeSlider , ...trackProps } = props;\n const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$TRACK_NAME, __scopeSlider);\n return /*#__PURE__*/ $g1Vy2$createElement($g1Vy2$Primitive.span, $g1Vy2$babelruntimehelpersesmextends({\n \"data-disabled\": context.disabled ? '' : undefined,\n \"data-orientation\": context.orientation\n }, trackProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($faa2e61a3361514f$export$105594979f116971, {\n displayName: $faa2e61a3361514f$var$TRACK_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SliderRange\n * -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$RANGE_NAME = 'SliderRange';\nconst $faa2e61a3361514f$export$a5cf38a7a000fe77 = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { __scopeSlider: __scopeSlider , ...rangeProps } = props;\n const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$RANGE_NAME, __scopeSlider);\n const orientation = $faa2e61a3361514f$var$useSliderOrientationContext($faa2e61a3361514f$var$RANGE_NAME, __scopeSlider);\n const ref = $g1Vy2$useRef(null);\n const composedRefs = $g1Vy2$useComposedRefs(forwardedRef, ref);\n const valuesCount = context.values.length;\n const percentages = context.values.map((value)=>$faa2e61a3361514f$var$convertValueToPercentage(value, context.min, context.max)\n );\n const offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0;\n const offsetEnd = 100 - Math.max(...percentages);\n return /*#__PURE__*/ $g1Vy2$createElement($g1Vy2$Primitive.span, $g1Vy2$babelruntimehelpersesmextends({\n \"data-orientation\": context.orientation,\n \"data-disabled\": context.disabled ? '' : undefined\n }, rangeProps, {\n ref: composedRefs,\n style: {\n ...props.style,\n [orientation.startEdge]: offsetStart + '%',\n [orientation.endEdge]: offsetEnd + '%'\n }\n }));\n});\n/*#__PURE__*/ Object.assign($faa2e61a3361514f$export$a5cf38a7a000fe77, {\n displayName: $faa2e61a3361514f$var$RANGE_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SliderThumb\n * -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$THUMB_NAME = 'SliderThumb';\nconst $faa2e61a3361514f$export$2c1b491743890dec = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const getItems = $faa2e61a3361514f$var$useCollection(props.__scopeSlider);\n const [thumb, setThumb] = $g1Vy2$useState(null);\n const composedRefs = $g1Vy2$useComposedRefs(forwardedRef, (node)=>setThumb(node)\n );\n const index = $g1Vy2$useMemo(()=>thumb ? getItems().findIndex((item)=>item.ref.current === thumb\n ) : -1\n , [\n getItems,\n thumb\n ]);\n return /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$SliderThumbImpl, $g1Vy2$babelruntimehelpersesmextends({}, props, {\n ref: composedRefs,\n index: index\n }));\n});\nconst $faa2e61a3361514f$var$SliderThumbImpl = /*#__PURE__*/ $g1Vy2$forwardRef((props, forwardedRef)=>{\n const { __scopeSlider: __scopeSlider , index: index , ...thumbProps } = props;\n const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$THUMB_NAME, __scopeSlider);\n const orientation = $faa2e61a3361514f$var$useSliderOrientationContext($faa2e61a3361514f$var$THUMB_NAME, __scopeSlider);\n const [thumb, setThumb] = $g1Vy2$useState(null);\n const composedRefs = $g1Vy2$useComposedRefs(forwardedRef, (node)=>setThumb(node)\n );\n const size = $g1Vy2$useSize(thumb); // We cast because index could be `-1` which would return undefined\n const value = context.values[index];\n const percent = value === undefined ? 0 : $faa2e61a3361514f$var$convertValueToPercentage(value, context.min, context.max);\n const label = $faa2e61a3361514f$var$getLabel(index, context.values.length);\n const orientationSize = size === null || size === void 0 ? void 0 : size[orientation.size];\n const thumbInBoundsOffset = orientationSize ? $faa2e61a3361514f$var$getThumbInBoundsOffset(orientationSize, percent, orientation.direction) : 0;\n $g1Vy2$useEffect(()=>{\n if (thumb) {\n context.thumbs.add(thumb);\n return ()=>{\n context.thumbs.delete(thumb);\n };\n }\n }, [\n thumb,\n context.thumbs\n ]);\n return /*#__PURE__*/ $g1Vy2$createElement(\"span\", {\n style: {\n transform: 'var(--radix-slider-thumb-transform)',\n position: 'absolute',\n [orientation.startEdge]: `calc(${percent}% + ${thumbInBoundsOffset}px)`\n }\n }, /*#__PURE__*/ $g1Vy2$createElement($faa2e61a3361514f$var$Collection.ItemSlot, {\n scope: props.__scopeSlider\n }, /*#__PURE__*/ $g1Vy2$createElement($g1Vy2$Primitive.span, $g1Vy2$babelruntimehelpersesmextends({\n role: \"slider\",\n \"aria-label\": props['aria-label'] || label,\n \"aria-valuemin\": context.min,\n \"aria-valuenow\": value,\n \"aria-valuemax\": context.max,\n \"aria-orientation\": context.orientation,\n \"data-orientation\": context.orientation,\n \"data-disabled\": context.disabled ? '' : undefined,\n tabIndex: context.disabled ? undefined : 0\n }, thumbProps, {\n ref: composedRefs,\n style: value === undefined ? {\n display: 'none'\n } : props.style,\n onFocus: $g1Vy2$composeEventHandlers(props.onFocus, ()=>{\n context.valueIndexToChangeRef.current = index;\n })\n }))));\n});\n/*#__PURE__*/ Object.assign($faa2e61a3361514f$export$2c1b491743890dec, {\n displayName: $faa2e61a3361514f$var$THUMB_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $faa2e61a3361514f$var$BubbleInput = (props)=>{\n const { value: value , ...inputProps } = props;\n const ref = $g1Vy2$useRef(null);\n const prevValue = $g1Vy2$usePrevious(value); // Bubble value change to parents (e.g form change event)\n $g1Vy2$useEffect(()=>{\n const input = ref.current;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(inputProto, 'value');\n const setValue = descriptor.set;\n if (prevValue !== value && setValue) {\n const event = new Event('input', {\n bubbles: true\n });\n setValue.call(input, value);\n input.dispatchEvent(event);\n }\n }, [\n prevValue,\n value\n ]);\n /**\n * We purposefully do not use `type=\"hidden\"` here otherwise forms that\n * wrap it will not be able to access its value via the FormData API.\n *\n * We purposefully do not add the `value` attribute here to allow the value\n * to be set programatically and bubble to any parent form `onChange` event.\n * Adding the `value` will cause React to consider the programatic\n * dispatch a duplicate and it will get swallowed.\n */ return /*#__PURE__*/ $g1Vy2$createElement(\"input\", $g1Vy2$babelruntimehelpersesmextends({\n style: {\n display: 'none'\n }\n }, inputProps, {\n ref: ref,\n defaultValue: value\n }));\n};\nfunction $faa2e61a3361514f$var$getNextSortedValues(prevValues = [], nextValue, atIndex) {\n const nextValues = [\n ...prevValues\n ];\n nextValues[atIndex] = nextValue;\n return nextValues.sort((a, b)=>a - b\n );\n}\nfunction $faa2e61a3361514f$var$convertValueToPercentage(value, min, max) {\n const maxSteps = max - min;\n const percentPerStep = 100 / maxSteps;\n const percentage = percentPerStep * (value - min);\n return $g1Vy2$clamp(percentage, [\n 0,\n 100\n ]);\n}\n/**\n * Returns a label for each thumb when there are two or more thumbs\n */ function $faa2e61a3361514f$var$getLabel(index, totalValues) {\n if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;\n else if (totalValues === 2) return [\n 'Minimum',\n 'Maximum'\n ][index];\n else return undefined;\n}\n/**\n * Given a `values` array and a `nextValue`, determine which value in\n * the array is closest to `nextValue` and return its index.\n *\n * @example\n * // returns 1\n * getClosestValueIndex([10, 30], 25);\n */ function $faa2e61a3361514f$var$getClosestValueIndex(values, nextValue) {\n if (values.length === 1) return 0;\n const distances = values.map((value)=>Math.abs(value - nextValue)\n );\n const closestDistance = Math.min(...distances);\n return distances.indexOf(closestDistance);\n}\n/**\n * Offsets the thumb centre point while sliding to ensure it remains\n * within the bounds of the slider when reaching the edges\n */ function $faa2e61a3361514f$var$getThumbInBoundsOffset(width, left, direction) {\n const halfWidth = width / 2;\n const halfPercent = 50;\n const offset = $faa2e61a3361514f$var$linearScale([\n 0,\n halfPercent\n ], [\n 0,\n halfWidth\n ]);\n return (halfWidth - offset(left) * direction) * direction;\n}\n/**\n * Gets an array of steps between each value.\n *\n * @example\n * // returns [1, 9]\n * getStepsBetweenValues([10, 11, 20]);\n */ function $faa2e61a3361514f$var$getStepsBetweenValues(values) {\n return values.slice(0, -1).map((value, index)=>values[index + 1] - value\n );\n}\n/**\n * Verifies the minimum steps between all values is greater than or equal\n * to the expected minimum steps.\n *\n * @example\n * // returns false\n * hasMinStepsBetweenValues([1,2,3], 2);\n *\n * @example\n * // returns true\n * hasMinStepsBetweenValues([1,2,3], 1);\n */ function $faa2e61a3361514f$var$hasMinStepsBetweenValues(values, minStepsBetweenValues) {\n if (minStepsBetweenValues > 0) {\n const stepsBetweenValues = $faa2e61a3361514f$var$getStepsBetweenValues(values);\n const actualMinStepsBetweenValues = Math.min(...stepsBetweenValues);\n return actualMinStepsBetweenValues >= minStepsBetweenValues;\n }\n return true;\n} // https://github.com/tmcw-up-for-adoption/simple-linear-scale/blob/master/index.js\nfunction $faa2e61a3361514f$var$linearScale(input, output) {\n return (value)=>{\n if (input[0] === input[1] || output[0] === output[1]) return output[0];\n const ratio = (output[1] - output[0]) / (input[1] - input[0]);\n return output[0] + ratio * (value - input[0]);\n };\n}\nfunction $faa2e61a3361514f$var$getDecimalCount(value) {\n return (String(value).split('.')[1] || '').length;\n}\nfunction $faa2e61a3361514f$var$roundValue(value, decimalCount) {\n const rounder = Math.pow(10, decimalCount);\n return Math.round(value * rounder) / rounder;\n}\nconst $faa2e61a3361514f$export$be92b6f5f03c0fe9 = $faa2e61a3361514f$export$472062a354075cee;\nconst $faa2e61a3361514f$export$13921ac0cc260818 = $faa2e61a3361514f$export$105594979f116971;\nconst $faa2e61a3361514f$export$9a58ef0d7ad3278c = $faa2e61a3361514f$export$a5cf38a7a000fe77;\nconst $faa2e61a3361514f$export$6521433ed15a34db = $faa2e61a3361514f$export$2c1b491743890dec;\n\n\n\n\nexport {$faa2e61a3361514f$export$ef72632d7b901f97 as createSliderScope, $faa2e61a3361514f$export$472062a354075cee as Slider, $faa2e61a3361514f$export$105594979f116971 as SliderTrack, $faa2e61a3361514f$export$a5cf38a7a000fe77 as SliderRange, $faa2e61a3361514f$export$2c1b491743890dec as SliderThumb, $faa2e61a3361514f$export$be92b6f5f03c0fe9 as Root, $faa2e61a3361514f$export$13921ac0cc260818 as Track, $faa2e61a3361514f$export$9a58ef0d7ad3278c as Range, $faa2e61a3361514f$export$6521433ed15a34db as Thumb};\n//# sourceMappingURL=index.mjs.map\n","import { colorProp, highContrastProp, radiusProp } from '../helpers';\nconst sizes = ['1', '2', '3'];\nconst variants = ['classic', 'surface', 'soft'];\nconst sliderPropDefs = {\n size: { type: 'enum', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', values: variants, default: 'surface' },\n color: colorProp,\n highContrast: highContrastProp,\n radius: radiusProp,\n};\nexport { sliderPropDefs };\n//# sourceMappingURL=slider.props.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as SliderPrimitive from '@radix-ui/react-slider';\nimport { sliderPropDefs } from './slider.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nconst Slider = React.forwardRef((props, forwardedRef) => {\n var _a, _b;\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { className, size = sliderPropDefs.size.default, variant = sliderPropDefs.variant.default, color = sliderPropDefs.color.default, highContrast = sliderPropDefs.highContrast.default, radius = sliderPropDefs.radius.default, tabIndex, ...sliderProps } = marginRest;\n return (React.createElement(SliderPrimitive.Root, { \"data-accent-color\": color, \"data-radius\": radius, ref: forwardedRef, ...sliderProps, className: classNames('rt-SliderRoot', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, { 'rt-high-contrast': highContrast }, withMarginProps(marginProps)) },\n React.createElement(SliderPrimitive.Track, { className: \"rt-SliderTrack\" },\n React.createElement(SliderPrimitive.Range, { className: classNames('rt-SliderRange', { 'rt-high-contrast': highContrast }), \"data-inverted\": sliderProps.inverted ? '' : undefined })),\n ((_b = (_a = sliderProps.value) !== null && _a !== void 0 ? _a : sliderProps.defaultValue) !== null && _b !== void 0 ? _b : []).map((value, index) => (React.createElement(SliderPrimitive.Thumb, { key: index, className: \"rt-SliderThumb\", ...(tabIndex !== undefined ? { tabIndex } : undefined) })))));\n});\nSlider.displayName = 'Slider';\nexport { Slider };\n//# sourceMappingURL=slider.js.map","import $irPIl$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $irPIl$forwardRef, useState as $irPIl$useState, useRef as $irPIl$useRef, createElement as $irPIl$createElement, useEffect as $irPIl$useEffect} from \"react\";\nimport {composeEventHandlers as $irPIl$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {useComposedRefs as $irPIl$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {createContextScope as $irPIl$createContextScope} from \"@radix-ui/react-context\";\nimport {useControllableState as $irPIl$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {usePrevious as $irPIl$usePrevious} from \"@radix-ui/react-use-previous\";\nimport {useSize as $irPIl$useSize} from \"@radix-ui/react-use-size\";\nimport {Primitive as $irPIl$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Switch\n * -----------------------------------------------------------------------------------------------*/ const $6be4966fd9bbc698$var$SWITCH_NAME = 'Switch';\nconst [$6be4966fd9bbc698$var$createSwitchContext, $6be4966fd9bbc698$export$cf7f5f17f69cbd43] = $irPIl$createContextScope($6be4966fd9bbc698$var$SWITCH_NAME);\nconst [$6be4966fd9bbc698$var$SwitchProvider, $6be4966fd9bbc698$var$useSwitchContext] = $6be4966fd9bbc698$var$createSwitchContext($6be4966fd9bbc698$var$SWITCH_NAME);\nconst $6be4966fd9bbc698$export$b5d5cf8927ab7262 = /*#__PURE__*/ $irPIl$forwardRef((props, forwardedRef)=>{\n const { __scopeSwitch: __scopeSwitch , name: name , checked: checkedProp , defaultChecked: defaultChecked , required: required , disabled: disabled , value: value = 'on' , onCheckedChange: onCheckedChange , ...switchProps } = props;\n const [button, setButton] = $irPIl$useState(null);\n const composedRefs = $irPIl$useComposedRefs(forwardedRef, (node)=>setButton(node)\n );\n const hasConsumerStoppedPropagationRef = $irPIl$useRef(false); // We set this to true by default so that events bubble to forms without JS (SSR)\n const isFormControl = button ? Boolean(button.closest('form')) : true;\n const [checked = false, setChecked] = $irPIl$useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked,\n onChange: onCheckedChange\n });\n return /*#__PURE__*/ $irPIl$createElement($6be4966fd9bbc698$var$SwitchProvider, {\n scope: __scopeSwitch,\n checked: checked,\n disabled: disabled\n }, /*#__PURE__*/ $irPIl$createElement($irPIl$Primitive.button, $irPIl$babelruntimehelpersesmextends({\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": $6be4966fd9bbc698$var$getState(checked),\n \"data-disabled\": disabled ? '' : undefined,\n disabled: disabled,\n value: value\n }, switchProps, {\n ref: composedRefs,\n onClick: $irPIl$composeEventHandlers(props.onClick, (event)=>{\n setChecked((prevChecked)=>!prevChecked\n );\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(); // if switch is in a form, stop propagation from the button so that we only propagate\n // one click event (from the input). We propagate changes from an input so that native\n // form validation works and form events reflect switch updates.\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n })), isFormControl && /*#__PURE__*/ $irPIl$createElement($6be4966fd9bbc698$var$BubbleInput, {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name: name,\n value: value,\n checked: checked,\n required: required,\n disabled: disabled // We transform because the input is absolutely positioned but we have\n ,\n style: {\n transform: 'translateX(-100%)'\n }\n }));\n});\n/*#__PURE__*/ Object.assign($6be4966fd9bbc698$export$b5d5cf8927ab7262, {\n displayName: $6be4966fd9bbc698$var$SWITCH_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SwitchThumb\n * -----------------------------------------------------------------------------------------------*/ const $6be4966fd9bbc698$var$THUMB_NAME = 'SwitchThumb';\nconst $6be4966fd9bbc698$export$4d07bf653ea69106 = /*#__PURE__*/ $irPIl$forwardRef((props, forwardedRef)=>{\n const { __scopeSwitch: __scopeSwitch , ...thumbProps } = props;\n const context = $6be4966fd9bbc698$var$useSwitchContext($6be4966fd9bbc698$var$THUMB_NAME, __scopeSwitch);\n return /*#__PURE__*/ $irPIl$createElement($irPIl$Primitive.span, $irPIl$babelruntimehelpersesmextends({\n \"data-state\": $6be4966fd9bbc698$var$getState(context.checked),\n \"data-disabled\": context.disabled ? '' : undefined\n }, thumbProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($6be4966fd9bbc698$export$4d07bf653ea69106, {\n displayName: $6be4966fd9bbc698$var$THUMB_NAME\n});\n/* ---------------------------------------------------------------------------------------------- */ const $6be4966fd9bbc698$var$BubbleInput = (props)=>{\n const { control: control , checked: checked , bubbles: bubbles = true , ...inputProps } = props;\n const ref = $irPIl$useRef(null);\n const prevChecked = $irPIl$usePrevious(checked);\n const controlSize = $irPIl$useSize(control); // Bubble checked change to parents (e.g form change event)\n $irPIl$useEffect(()=>{\n const input = ref.current;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(inputProto, 'checked');\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event('click', {\n bubbles: bubbles\n });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [\n prevChecked,\n checked,\n bubbles\n ]);\n return /*#__PURE__*/ $irPIl$createElement(\"input\", $irPIl$babelruntimehelpersesmextends({\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked\n }, inputProps, {\n tabIndex: -1,\n ref: ref,\n style: {\n ...props.style,\n ...controlSize,\n position: 'absolute',\n pointerEvents: 'none',\n opacity: 0,\n margin: 0\n }\n }));\n};\nfunction $6be4966fd9bbc698$var$getState(checked) {\n return checked ? 'checked' : 'unchecked';\n}\nconst $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5cf8927ab7262;\nconst $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;\n\n\n\n\nexport {$6be4966fd9bbc698$export$cf7f5f17f69cbd43 as createSwitchScope, $6be4966fd9bbc698$export$b5d5cf8927ab7262 as Switch, $6be4966fd9bbc698$export$4d07bf653ea69106 as SwitchThumb, $6be4966fd9bbc698$export$be92b6f5f03c0fe9 as Root, $6be4966fd9bbc698$export$6521433ed15a34db as Thumb};\n//# sourceMappingURL=index.mjs.map\n","import { colorProp, highContrastProp, radiusProp } from '../helpers';\nconst sizes = ['1', '2', '3'];\nconst variants = ['classic', 'surface', 'soft'];\nconst switchPropDefs = {\n size: { type: 'enum', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', values: variants, default: 'surface' },\n color: colorProp,\n highContrast: highContrastProp,\n radius: radiusProp,\n};\nexport { switchPropDefs };\n//# sourceMappingURL=switch.props.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as SwitchPrimitive from '@radix-ui/react-switch';\nimport { switchPropDefs } from './switch.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nconst Switch = React.forwardRef((props, forwardedRef) => {\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { className, style, size = switchPropDefs.size.default, variant = switchPropDefs.variant.default, color = switchPropDefs.color.default, highContrast = switchPropDefs.highContrast.default, radius = switchPropDefs.radius.default, ...switchProps } = marginRest;\n return (React.createElement(\"span\", { \"data-radius\": radius, className: classNames('rt-SwitchRoot', className, withBreakpoints(size, 'rt-r-size'), `rt-variant-${variant}`, { 'rt-high-contrast': highContrast }, withMarginProps(marginProps)), style: style },\n React.createElement(SwitchPrimitive.Root, { \"data-accent-color\": color, ...switchProps, ref: forwardedRef, className: classNames('rt-reset', 'rt-SwitchButton', {\n 'rt-high-contrast': highContrast,\n }) },\n React.createElement(SwitchPrimitive.Thumb, { className: classNames('rt-SwitchThumb', { 'rt-high-contrast': highContrast }) }))));\n});\nSwitch.displayName = 'Switch';\nexport { Switch };\n//# sourceMappingURL=switch.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\nimport { Text } from './text';\nimport { Theme } from '../theme';\nconst Tooltip = React.forwardRef((props, forwardedRef) => {\n const { children, className, open, defaultOpen, onOpenChange, delayDuration, disableHoverableContent, content, container, forceMount, ...tooltipContentProps } = props;\n const rootProps = { open, defaultOpen, onOpenChange, delayDuration, disableHoverableContent };\n return (React.createElement(TooltipPrimitive.Root, { ...rootProps },\n React.createElement(TooltipPrimitive.Trigger, { asChild: true }, children),\n React.createElement(TooltipPrimitive.Portal, { container: container, forceMount: forceMount },\n React.createElement(Theme, { asChild: true },\n React.createElement(TooltipPrimitive.Content, { sideOffset: 4, collisionPadding: 10, ...tooltipContentProps, ref: forwardedRef, className: classNames('rt-TooltipContent', className) },\n React.createElement(Text, { as: \"p\", className: \"rt-TooltipText\", size: \"1\" }, content),\n React.createElement(TooltipPrimitive.Arrow, { className: \"rt-TooltipArrow\" }))))));\n});\nTooltip.displayName = 'Tooltip';\nexport { Tooltip };\n//# sourceMappingURL=tooltip.js.map","'use client';\nexport { VisuallyHidden } from '@radix-ui/react-visually-hidden';\n//# sourceMappingURL=visually-hidden.js.map","const sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];\nconst kbdPropDefs = {\n size: { type: 'enum', values: sizes, default: undefined, responsive: true },\n};\nexport { kbdPropDefs };\n//# sourceMappingURL=kbd.props.js.map","import * as React from 'react';\nimport classNames from 'classnames';\nimport { kbdPropDefs } from './kbd.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nconst Kbd = React.forwardRef((props, forwardedRef) => {\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { className, size = kbdPropDefs.size.default, ...kbdProps } = marginRest;\n return (React.createElement(\"kbd\", { ...kbdProps, ref: forwardedRef, className: classNames('rt-Kbd', className, withBreakpoints(size, 'rt-r-size'), withMarginProps(marginProps)) }));\n});\nKbd.displayName = 'Kbd';\nexport { Kbd };\n//# sourceMappingURL=kbd.js.map","'use client';\nimport * as React from 'react';\nimport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\nimport { Theme, updateThemeAppearanceClass, Box, Button, Flex, Grid, Heading, Kbd, ScrollArea, Text, Tooltip, \n// helpers\nthemePropDefs, themeAccentColorsOrdered, getMatchingGrayColor, useThemeContext, radixGrayScalesDesaturated, IconButton, AccessibleIcon, Popover, } from './index';\nimport { InfoCircledIcon } from './icons';\nconst ThemePanel = React.forwardRef(({ defaultOpen = true, ...props }, forwardedRef) => {\n const [open, setOpen] = React.useState(defaultOpen);\n return React.createElement(ThemePanelImpl, { ...props, ref: forwardedRef, open: open, onOpenChange: setOpen });\n});\nThemePanel.displayName = 'ThemePanel';\nconst ThemePanelImpl = React.forwardRef((props, forwardedRef) => {\n const { open, onOpenChange, onAppearanceChange: onAppearanceChangeProp, ...panelProps } = props;\n const themeContext = useThemeContext();\n const { appearance, onAppearanceChange, accentColor, onAccentColorChange, grayColor, onGrayColorChange, panelBackground, onPanelBackgroundChange, radius, onRadiusChange, scaling, onScalingChange, } = themeContext;\n const hasOnAppearanceChangeProp = onAppearanceChangeProp !== undefined;\n const handleAppearanceChangeProp = useCallbackRef(onAppearanceChangeProp);\n const handleAppearanceChange = React.useCallback((appearance) => {\n onAppearanceChange(appearance);\n const cleanup = disableAnimation();\n if (hasOnAppearanceChangeProp) {\n handleAppearanceChangeProp(appearance);\n }\n else {\n updateThemeAppearanceClass(appearance);\n }\n cleanup();\n }, [onAppearanceChange, hasOnAppearanceChangeProp, handleAppearanceChangeProp]);\n const autoMatchedGray = getMatchingGrayColor(accentColor);\n const resolvedGrayColor = grayColor === 'auto' ? autoMatchedGray : grayColor;\n const [copyState, setCopyState] = React.useState('idle');\n async function handleCopyThemeConfig() {\n const theme = {\n appearance: appearance === themePropDefs.appearance.default ? undefined : appearance,\n accentColor: accentColor === themePropDefs.accentColor.default ? undefined : accentColor,\n grayColor: grayColor === themePropDefs.grayColor.default ? undefined : grayColor,\n panelBackground: panelBackground === themePropDefs.panelBackground.default ? undefined : panelBackground,\n radius: radius === themePropDefs.radius.default ? undefined : radius,\n scaling: scaling === themePropDefs.scaling.default ? undefined : scaling,\n };\n const props = Object.keys(theme)\n .filter((key) => theme[key] !== undefined)\n .map((key) => `${key}=\"${theme[key]}\"`)\n .join(' ');\n const textToCopy = props ? `` : '';\n setCopyState('copying');\n await navigator.clipboard.writeText(textToCopy);\n setCopyState('copied');\n setTimeout(() => setCopyState('idle'), 2000);\n }\n // quickly show/hide using ⌘C\n React.useEffect(() => {\n function handleKeydown(event) {\n var _a;\n const isCmdC = event.metaKey && event.key === 'c' && !event.shiftKey && !event.altKey && !event.ctrlKey;\n if (isCmdC && ((_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.toString()) === '') {\n onOpenChange(!open);\n }\n }\n document.addEventListener('keydown', handleKeydown);\n return () => document.removeEventListener('keydown', handleKeydown);\n }, [onOpenChange, open]);\n // quickly toggle appearance using cmd+d\n React.useEffect(() => {\n function handleKeydown(event) {\n if (event.metaKey && event.key === 'd') {\n event.preventDefault();\n handleAppearanceChange(appearance === 'dark' ? 'light' : 'dark');\n }\n }\n document.addEventListener('keydown', handleKeydown);\n return () => document.removeEventListener('keydown', handleKeydown);\n }, [appearance, handleAppearanceChange]);\n const [resolvedAppearance, setResolvedAppearance] = React.useState(appearance === 'inherit' ? null : appearance);\n React.useEffect(() => {\n const root = document.documentElement;\n const body = document.body;\n function update() {\n const hasDarkClass = root.classList.contains('dark') ||\n root.classList.contains('dark-theme') ||\n body.classList.contains('dark') ||\n body.classList.contains('dark-theme');\n const nextAppearance = hasDarkClass ? 'dark' : 'light';\n if (nextAppearance !== appearance && appearance !== 'inherit') {\n handleAppearanceChange(nextAppearance);\n }\n setResolvedAppearance(hasDarkClass ? 'dark' : 'light');\n }\n update();\n var observer = new MutationObserver(function (mutations) {\n mutations.forEach(function (mutation) {\n if (mutation.attributeName === 'class')\n update();\n });\n });\n observer.observe(root, { attributes: true });\n observer.observe(body, { attributes: true });\n return () => observer.disconnect();\n }, [appearance, handleAppearanceChange]);\n return (React.createElement(Theme, { asChild: true, radius: \"medium\", scaling: \"100%\" },\n React.createElement(Flex, { direction: \"column\", position: \"fixed\", top: \"0\", right: \"0\", mr: \"4\", mt: \"4\", \n // @ts-ignore\n inert: open ? undefined : '', ...panelProps, ref: forwardedRef, style: {\n zIndex: 9999,\n overflow: 'hidden',\n maxHeight: 'calc(100vh - var(--space-4) - var(--space-4))',\n borderRadius: 'var(--radius-4)',\n backgroundColor: 'var(--color-panel-solid)',\n transformOrigin: 'top center',\n transitionProperty: 'transform, box-shadow',\n transitionDuration: '200ms',\n transitionTimingFunction: open ? 'ease-out' : 'ease-in',\n transform: open ? 'none' : 'translateX(105%)',\n boxShadow: open ? 'var(--shadow-5)' : 'var(--shadow-2)',\n ...props.style,\n } },\n React.createElement(ScrollArea, null,\n React.createElement(Box, { grow: \"1\", p: \"5\", position: \"relative\" },\n React.createElement(Box, { position: \"absolute\", top: \"0\", right: \"0\", m: \"2\" },\n React.createElement(Tooltip, { content: \"Press \\u2318\\u2009C to show/hide the Theme Panel\", side: \"bottom\", sideOffset: 6 },\n React.createElement(Kbd, { size: \"3\", tabIndex: 0, className: \"rt-ThemePanelShortcut\" }, \"\\u2318\\u2009C\"))),\n React.createElement(Heading, { size: \"5\", trim: \"both\", as: \"h3\", mb: \"5\" }, \"Theme\"),\n React.createElement(Text, { id: \"accent-color-title\", as: \"p\", size: \"2\", weight: \"medium\", mt: \"5\" }, \"Accent color\"),\n React.createElement(Grid, { columns: \"10\", gap: \"2\", mt: \"3\", role: \"group\", \"aria-labelledby\": \"accent-color-title\" }, themeAccentColorsOrdered.map((color) => (React.createElement(\"label\", { key: color, className: \"rt-ThemePanelSwatch\", style: { backgroundColor: `var(--${color}-9)` } },\n React.createElement(Tooltip, { content: `${upperFirst(color)}${accentColor === 'gray' && resolvedGrayColor !== 'gray'\n ? ` (${upperFirst(resolvedGrayColor)})`\n : ''}` },\n React.createElement(\"input\", { className: \"rt-ThemePanelSwatchInput\", type: \"radio\", name: \"accentColor\", value: color, checked: accentColor === color, onChange: (event) => onAccentColorChange(event.target.value) })))))),\n React.createElement(Flex, { asChild: true, align: \"center\", justify: \"between\" },\n React.createElement(Text, { as: \"p\", id: \"gray-color-title\", size: \"2\", weight: \"medium\", mt: \"5\" }, \"Gray color\")),\n React.createElement(Grid, { columns: \"10\", gap: \"2\", mt: \"3\", role: \"group\", \"aria-labelledby\": \"gray-color-title\" }, ['auto', 'gray', ...radixGrayScalesDesaturated].map((gray) => (React.createElement(Flex, { key: gray, asChild: true, align: \"center\", justify: \"center\" },\n React.createElement(\"label\", { className: \"rt-ThemePanelSwatch\", style: {\n backgroundColor: gray === 'auto'\n ? `var(--${autoMatchedGray}-9)`\n : gray === 'gray'\n ? 'var(--gray-9)'\n : `var(--${gray}-9)`,\n // we override --gray so pure gray doesn't exist anymore\n // recover something as close as possible by desaturating\n filter: gray === 'gray' ? 'saturate(0)' : undefined,\n } },\n React.createElement(Tooltip, { content: `${upperFirst(gray)}${gray === 'auto' ? ` (${upperFirst(autoMatchedGray)})` : ''}` },\n React.createElement(\"input\", { className: \"rt-ThemePanelSwatchInput\", type: \"radio\", name: \"grayColor\", value: gray, checked: grayColor === gray, onChange: (event) => onGrayColorChange(event.target.value) }))))))),\n React.createElement(Text, { id: \"appearance-title\", as: \"p\", size: \"2\", weight: \"medium\", mt: \"5\" }, \"Appearance\"),\n React.createElement(Grid, { columns: \"2\", gap: \"2\", mt: \"3\", role: \"group\", \"aria-labelledby\": \"appearance-title\" }, ['light', 'dark'].map((value) => (React.createElement(\"label\", { key: value, className: \"rt-ThemePanelRadioCard\" },\n React.createElement(\"input\", { className: \"rt-ThemePanelRadioCardInput\", type: \"radio\", name: \"appearance\", value: value, checked: resolvedAppearance === value, \n // TODO: Currently using `onClick` as a stop-gap solution for `onChange` not working after a few changes\n onChange: (event) => {\n // handleAppearanceChange(event.target.value as ThemeOptions['appearance']);\n }, onClick: () => handleAppearanceChange(value) }),\n React.createElement(Flex, { align: \"center\", justify: \"center\", height: \"6\", gap: \"2\" },\n value === 'light' ? (React.createElement(\"svg\", { width: \"15\", height: \"15\", viewBox: \"0 0 15 15\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", style: { margin: '0 -1px' } },\n React.createElement(\"path\", { d: \"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }))) : (React.createElement(\"svg\", { width: \"15\", height: \"15\", viewBox: \"0 0 15 15\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", style: { margin: '0 -1px' } },\n React.createElement(\"path\", { d: \"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }))),\n React.createElement(Text, { size: \"1\", weight: \"medium\" }, upperFirst(value))))))),\n React.createElement(Text, { id: \"radius-title\", as: \"p\", size: \"2\", weight: \"medium\", mt: \"5\" }, \"Radius\"),\n React.createElement(Grid, { columns: \"5\", gap: \"2\", mt: \"3\", role: \"group\", \"aria-labelledby\": \"radius-title\" }, themePropDefs.radius.values.map((value) => (React.createElement(Flex, { key: value, direction: \"column\", align: \"center\" },\n React.createElement(\"label\", { className: \"rt-ThemePanelRadioCard\" },\n React.createElement(\"input\", { className: \"rt-ThemePanelRadioCardInput\", type: \"radio\", name: \"radius\", id: `theme-panel-radius-${value}`, value: value, checked: radius === value, onChange: (event) => onRadiusChange(event.target.value) }),\n React.createElement(Theme, { asChild: true, radius: value },\n React.createElement(Box, { m: \"3\", width: \"6\", height: \"6\", style: {\n borderTopLeftRadius: value === 'full' ? '80%' : 'var(--radius-5)',\n backgroundImage: 'linear-gradient(to bottom right, var(--accent-3), var(--accent-4))',\n borderTop: '2px solid var(--accent-a8)',\n borderLeft: '2px solid var(--accent-a8)',\n } }))),\n React.createElement(Box, { asChild: true, pt: \"2\" },\n React.createElement(Text, { asChild: true, size: \"1\", color: \"gray\" },\n React.createElement(\"label\", { htmlFor: `theme-panel-radius-${value}` }, upperFirst(value)))))))),\n React.createElement(Text, { id: \"scaling-title\", as: \"p\", size: \"2\", weight: \"medium\", mt: \"5\" }, \"Scaling\"),\n React.createElement(Grid, { columns: \"5\", gap: \"2\", mt: \"3\", role: \"group\", \"aria-labelledby\": \"scaling-title\" }, themePropDefs.scaling.values.map((value) => (React.createElement(\"label\", { key: value, className: \"rt-ThemePanelRadioCard\" },\n React.createElement(\"input\", { className: \"rt-ThemePanelRadioCardInput\", type: \"radio\", name: \"scaling\", value: value, checked: scaling === value, onChange: (event) => onScalingChange(event.target.value) }),\n React.createElement(Flex, { align: \"center\", justify: \"center\", height: \"6\" },\n React.createElement(Theme, { asChild: true, scaling: value },\n React.createElement(Flex, { align: \"center\", justify: \"center\" },\n React.createElement(Text, { size: \"1\", weight: \"medium\" }, upperFirst(value))))))))),\n React.createElement(Flex, { mt: \"5\", align: \"center\", gap: \"2\" },\n React.createElement(Text, { id: \"panel-background-title\", as: \"p\", size: \"2\", weight: \"medium\" }, \"Panel background\"),\n React.createElement(Popover.Root, null,\n React.createElement(Popover.Trigger, null,\n React.createElement(IconButton, { size: \"1\", variant: \"ghost\", color: \"gray\" },\n React.createElement(AccessibleIcon, { label: \"Learn more about panel background options\" },\n React.createElement(InfoCircledIcon, null)))),\n React.createElement(Popover.Content, { size: \"1\", style: { maxWidth: 220 }, side: \"top\", align: \"center\" },\n React.createElement(Text, { as: \"p\", size: \"2\" }, \"Whether Card and Table panels are translucent, showing some of\\u00A0the background behind them.\")))),\n React.createElement(Grid, { columns: \"2\", gap: \"2\", mt: \"3\", role: \"group\", \"aria-labelledby\": \"panel-background-title\" }, themePropDefs.panelBackground.values.map((value) => (React.createElement(\"label\", { key: value, className: \"rt-ThemePanelRadioCard\" },\n React.createElement(\"input\", { className: \"rt-ThemePanelRadioCardInput\", type: \"radio\", name: \"panelBackground\", value: value, checked: panelBackground === value, onChange: (event) => onPanelBackgroundChange(event.target.value) }),\n React.createElement(Flex, { align: \"center\", justify: \"center\", height: \"6\", gap: \"2\" },\n value === 'solid' ? (React.createElement(\"svg\", { width: \"15\", height: \"15\", viewBox: \"0 0 15 15\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", style: { margin: '0 -2px' } },\n React.createElement(\"path\", { d: \"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }))) : (React.createElement(\"svg\", { width: \"15\", height: \"15\", viewBox: \"0 0 15 15\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", style: { margin: '0 -2px' } },\n React.createElement(\"path\", { opacity: \".05\", d: \"M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".1\", d: \"M7.28204 13.4775C9.23929 9.99523 9.23929 5.00475 7.28204 1.52248L7.71791 1.2775C9.76067 4.9119 9.76067 10.0881 7.71791 13.7225L7.28204 13.4775Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".15\", d: \"M7.82098 13.5064C9.72502 9.99523 9.72636 5.01411 7.82492 1.50084L8.26465 1.26285C10.2465 4.92466 10.2451 10.085 8.26052 13.7448L7.82098 13.5064Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".2\", d: \"M8.41284 13.429C10.1952 9.92842 10.1957 5.07537 8.41435 1.57402L8.85999 1.34729C10.7139 4.99113 10.7133 10.0128 8.85841 13.6559L8.41284 13.429Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".25\", d: \"M9.02441 13.2956C10.6567 9.8379 10.6586 5.17715 9.03005 1.71656L9.48245 1.50366C11.1745 5.09919 11.1726 9.91629 9.47657 13.5091L9.02441 13.2956Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".3\", d: \"M9.66809 13.0655C11.1097 9.69572 11.1107 5.3121 9.67088 1.94095L10.1307 1.74457C11.6241 5.24121 11.6231 9.76683 10.1278 13.2622L9.66809 13.0655Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".35\", d: \"M10.331 12.7456C11.5551 9.52073 11.5564 5.49103 10.3347 2.26444L10.8024 2.0874C12.0672 5.42815 12.0659 9.58394 10.7985 12.9231L10.331 12.7456Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".4\", d: \"M11.0155 12.2986C11.9938 9.29744 11.9948 5.71296 11.0184 2.71067L11.4939 2.55603C12.503 5.6589 12.502 9.35178 11.4909 12.4535L11.0155 12.2986Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".45\", d: \"M11.7214 11.668C12.4254 9.01303 12.4262 5.99691 11.7237 3.34116L12.2071 3.21329C12.9318 5.95292 12.931 9.05728 12.2047 11.7961L11.7214 11.668Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { opacity: \".5\", d: \"M12.4432 10.752C12.8524 8.63762 12.8523 6.36089 12.4429 4.2466L12.9338 4.15155C13.3553 6.32861 13.3554 8.66985 12.9341 10.847L12.4432 10.752Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }),\n React.createElement(\"path\", { d: \"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z\", fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\" }))),\n React.createElement(Text, { size: \"1\", weight: \"medium\" }, upperFirst(value))))))),\n React.createElement(Button, { mt: \"5\", style: { width: '100%' }, onClick: handleCopyThemeConfig }, copyState === 'copied' ? 'Copied' : 'Copy Theme'))))));\n});\nThemePanelImpl.displayName = 'ThemePanelImpl';\n// https://github.com/pacocoursey/next-themes/blob/main/packages/next-themes/src/index.tsx#L285\nfunction disableAnimation() {\n const css = document.createElement('style');\n css.appendChild(document.createTextNode(`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`));\n document.head.appendChild(css);\n return () => {\n // Force restyle\n (() => window.getComputedStyle(document.body))();\n // Wait for next tick before removing\n setTimeout(() => {\n document.head.removeChild(css);\n }, 1);\n };\n}\nfunction upperFirst(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\nexport { ThemePanel };\n//# sourceMappingURL=theme-panel.js.map","import {Children as $eOI90$Children, createElement as $eOI90$createElement, Fragment as $eOI90$Fragment, cloneElement as $eOI90$cloneElement} from \"react\";\nimport {Root as $eOI90$Root} from \"@radix-ui/react-visually-hidden\";\n\n\n\nconst $08b6689415b2f49a$var$NAME = 'AccessibleIcon';\nconst $08b6689415b2f49a$export$5aec92af04ace2d2 = ({ children: children , label: label })=>{\n const child = $eOI90$Children.only(children);\n return /*#__PURE__*/ $eOI90$createElement($eOI90$Fragment, null, /*#__PURE__*/ $eOI90$cloneElement(child, {\n // accessibility\n 'aria-hidden': 'true',\n focusable: 'false' // See: https://allyjs.io/tutorials/focusing-in-svg.html#making-svg-elements-focusable\n }), /*#__PURE__*/ $eOI90$createElement($eOI90$Root, null, label));\n};\n/*#__PURE__*/ Object.assign($08b6689415b2f49a$export$5aec92af04ace2d2, {\n displayName: $08b6689415b2f49a$var$NAME\n});\nconst $08b6689415b2f49a$export$be92b6f5f03c0fe9 = $08b6689415b2f49a$export$5aec92af04ace2d2;\n\n\n\n\nexport {$08b6689415b2f49a$export$5aec92af04ace2d2 as AccessibleIcon, $08b6689415b2f49a$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$c1b5f66aac50e106$export$e840e8869344ca38","react","forwardRef","props","forwardedRef","ratio","style","aspectRatioProps","createElement","position","width","paddingBottom","dist","WV","div","esm_extends","Z","ref","top","right","bottom","left","$1b0217ee4a91d156$var$CONTEXT_MENU_NAME","$1b0217ee4a91d156$var$createContextMenuContext","$1b0217ee4a91d156$export$1059331f43ddcc82","react_context_dist","b","react_menu_dist","Wf","$1b0217ee4a91d156$var$useMenuScope","$1b0217ee4a91d156$var$ContextMenuProvider","$1b0217ee4a91d156$var$useContextMenuContext","$1b0217ee4a91d156$export$be6fc7b1d5b0beb9","__scopeContextMenu","disabled","triggerProps","context","menuScope","pointRef","useRef","x","y","virtualRef","getBoundingClientRect","DOMRect","fromRect","height","current","longPressTimerRef","clearLongPress","useCallback","window","clearTimeout","handleOpen","event","clientX","clientY","onOpenChange","useEffect","Fragment","ee","react_primitive_dist","span","open","undefined","WebkitTouchCallout","onContextMenu","M","preventDefault","onPointerDown","$1b0217ee4a91d156$var$whenTouchOrPen","setTimeout","onPointerMove","onPointerCancel","onPointerUp","$1b0217ee4a91d156$export$572205900c9369e","contentProps","hasInteractedOutsideRef","VY","side","sideOffset","align","onCloseAutoFocus","_props$onCloseAutoFoc","call","defaultPrevented","onInteractOutside","_props$onInteractOuts","modal","$1b0217ee4a91d156$export$9860523b0fcdd664","groupProps","ZA","$1b0217ee4a91d156$export$d4b9d3b609a10742","labelProps","__","$1b0217ee4a91d156$export$16a26dc176a49100","itemProps","ck","$1b0217ee4a91d156$export$b6adbe51d5d8b7ec","checkboxItemProps","oC","$1b0217ee4a91d156$export$db5c89af5ed9aa07","radioGroupProps","Ee","$1b0217ee4a91d156$export$8a727d09a7d9bfc2","radioItemProps","Rk","$1b0217ee4a91d156$export$9ed8194dee42d94b","itemIndicatorProps","wU","$1b0217ee4a91d156$export$8d6b009fadfe1207","separatorProps","Z0","$1b0217ee4a91d156$export$30b2b5c64556d316","triggerItemProps","fF","$1b0217ee4a91d156$export$2c967063bd2dc512","subContentProps","tu","handler","pointerType","$1b0217ee4a91d156$export$be92b6f5f03c0fe9","children","dir","open1","setOpen","useState","handleOpenChangeProp","react_use_callback_ref_dist","W","handleOpenChange","scope","fC","$1b0217ee4a91d156$export$602eac185826482c","portalProps","h_","$1b0217ee4a91d156$export$d7a01e11500dfb6f","openProp","defaultOpen","react_use_controllable_state_dist","T","prop","defaultProp","onChange","Tr","ContextMenuRoot","displayName","ContextMenuTrigger","asChild","ContextMenuContentContext","createContext","ContextMenuContent","themeContext","theme","useThemeContext","className","size","base_menu_props","JD","default","variant","color","highContrast","container","forceMount","resolvedColor","accentColor","Theme","alignOffset","Number","collisionPadding","classnames_default","breakpoints","g","scroll_area","ScrollArea","type","Provider","value","useMemo","ContextMenuLabel","ContextMenuItem","nj","shortcut","react_slot_dist","A4","ContextMenuGroup","ContextMenuRadioGroup","ContextMenuRadioItem","icons","dc","ContextMenuCheckboxItem","ContextMenuSub","ContextMenuSubTrigger","subTriggerProps","OW","ContextMenuSubContent","useContext","ContextMenuSeparator","ContextMenu","Object","assign","Root","Trigger","Content","Label","Item","Group","RadioGroup","RadioItem","CheckboxItem","Sub","SubTrigger","SubContent","Separator","gapValues","gridPropDefs","display","values","responsive","columns","rows","flow","justify","gap","gapX","gapY","has_own_property_hasOwnProperty","obj","key","prototype","hasOwnProperty","Grid","rest","marginRest","marginProps","margin_props","FY","layoutRest","layoutProps","layout_props","F8","propStyle","gridProps","Comp","g7","parseGridValue","w","breakpoint","customProperty","between","yt","we","keys","length","match","hoverCardContentPropDefs","HoverCardRoot","closeDelay","openDelay","HoverCardTrigger","xz","HoverCardContent","HoverCard","popoverContentPropDefs","PopoverRoot","PopoverTrigger","PopoverContent","PopoverClose","x8","Popover","Close","$cc7e05a45900e73f$var$OPEN_KEYS","$cc7e05a45900e73f$var$SELECTION_KEYS","$cc7e05a45900e73f$var$SELECT_NAME","$cc7e05a45900e73f$var$Collection","$cc7e05a45900e73f$var$useCollection","$cc7e05a45900e73f$var$createCollectionScope","react_collection_dist","B","$cc7e05a45900e73f$var$createSelectContext","$cc7e05a45900e73f$export$286727a75dc039bd","react_popper_dist","D7","$cc7e05a45900e73f$var$usePopperScope","$cc7e05a45900e73f$var$SelectProvider","$cc7e05a45900e73f$var$useSelectContext","$cc7e05a45900e73f$var$SelectNativeOptionsProvider","$cc7e05a45900e73f$var$useSelectNativeOptionsContext","$cc7e05a45900e73f$export$3ac1e88a1c0b9f1","__scopeSelect","popperScope","isDisabled","composedRefs","react_compose_refs_dist","e","onTriggerChange","getItems","searchRef","handleTypeaheadSearch","resetTypeahead","$cc7e05a45900e73f$var$useTypeaheadSearch","enabledItems","filter","item","currentItem","find","nextItem","$cc7e05a45900e73f$var$findNextItem","search","onValueChange","button","role","contentId","required","$cc7e05a45900e73f$var$shouldShowPlaceholder","onClick","primitive_dist","currentTarget","focus","target","hasPointerCapture","pointerId","releasePointerCapture","ctrlKey","triggerPointerDownPosRef","Math","round","pageX","pageY","onKeyDown","isTypingAhead","isModifierKey","altKey","metaKey","includes","$cc7e05a45900e73f$export$e288731fd71264f0","placeholder","valueProps","onValueNodeHasChildrenChange","hasChildren","onValueNodeChange","react_use_layout_effect_dist","pointerEvents","$cc7e05a45900e73f$export$99b400cabb58c515","iconProps","$cc7e05a45900e73f$var$CONTENT_NAME","$cc7e05a45900e73f$export$c973a4b3cb86a03d","fragment","setFragment","DocumentFragment","$cc7e05a45900e73f$var$SelectContentImpl","frag","react_dom","createPortal","$cc7e05a45900e73f$var$SelectContentProvider","Slot","$cc7e05a45900e73f$var$useSelectContentContext","onEscapeKeyDown","onPointerDownOutside","arrowPadding","collisionBoundary","sticky","hideWhenDetached","avoidCollisions","content","setContent","viewport","setViewport","node","selectedItem","setSelectedItem","selectedItemText","setSelectedItemText","isPositioned","setIsPositioned","firstValidItemFoundRef","es2015","Ry","react_focus_guards_dist","EW","focusFirst","firstItem","restItems","map","lastItem","slice","PREVIOUSLY_FOCUSED_ELEMENT","document","activeElement","candidate","candidates","scrollIntoView","block","scrollTop","scrollHeight","focusSelectedItem","pointerMoveDelta","handlePointerMove","_triggerPointerDownPo","_triggerPointerDownPo2","_triggerPointerDownPo3","_triggerPointerDownPo4","abs","handlePointerUp","contains","removeEventListener","addEventListener","capture","once","close","itemRefCallback","isFirstValidItem","isSelectedItem","handleItemLeave","itemTextRefCallback","SelectPosition","$cc7e05a45900e73f$var$SelectPopperPosition","$cc7e05a45900e73f$var$SelectItemAlignedPosition","popperContentProps","onViewportChange","onItemLeave","Combination","as","allowPinchZoom","react_focus_scope_dist","trapped","onMountAutoFocus","onUnmountAutoFocus","_context$trigger","trigger","preventScroll","react_dismissable_layer_dist","XB","disableOutsidePointerEvents","onFocusOutside","onDismiss","id","onPlaced","flexDirection","outline","items","candidateNodes","reverse","currentElement","currentIndex","indexOf","popperProps","contentContext","contentWrapper","setContentWrapper","shouldExpandOnScrollRef","shouldRepositionRef","valueNode","triggerRect","contentRect","valueNodeRect","itemTextRect","itemTextOffset","leftDelta","minContentWidth","contentWidth","max","rightEdge","innerWidth","clampedLeft","u","minWidth","rightDelta","leftEdge","clampedRight","availableHeight","innerHeight","$cc7e05a45900e73f$var$CONTENT_MARGIN","itemsHeight","contentStyles","getComputedStyle","contentBorderTopWidth","parseInt","borderTopWidth","contentPaddingTop","paddingTop","contentBorderBottomWidth","borderBottomWidth","contentPaddingBottom","fullContentHeight","minContentHeight","min","offsetHeight","viewportStyles","viewportPaddingTop","viewportPaddingBottom","topEdgeToTriggerMiddle","selectedItemHalfHeight","itemOffsetMiddle","offsetTop","contentTopToItemMiddle","isLastItem","viewportOffsetBottom","clientHeight","isFirstItem","clampedTopEdgeToTriggerMiddle","margin","minHeight","maxHeight","requestAnimationFrame","contentZIndex","setContentZIndex","zIndex","handleScrollButtonChange","$cc7e05a45900e73f$var$SelectViewportProvider","onScrollButtonChange","boxSizing","$cc7e05a45900e73f$var$useSelectViewportContext","$cc7e05a45900e73f$var$VIEWPORT_NAME","$cc7e05a45900e73f$export$9ed6e7b40248d36d","viewportProps","viewportContext","prevScrollTopRef","dangerouslySetInnerHTML","__html","flex","overflow","onScroll","scrolledBy","cssMinHeight","parseFloat","cssHeight","prevHeight","nextHeight","clampedNextHeight","heightDiff","justifyContent","$cc7e05a45900e73f$var$SelectGroupContextProvider","$cc7e05a45900e73f$var$useSelectGroupContext","$cc7e05a45900e73f$export$ee25a334c55de1f4","groupId","react_id_dist","$cc7e05a45900e73f$export$f67338d29bd972f8","groupContext","$cc7e05a45900e73f$var$ITEM_NAME","$cc7e05a45900e73f$var$SelectItemContextProvider","$cc7e05a45900e73f$var$useSelectItemContext","$cc7e05a45900e73f$export$13ef48a934230896","textValue","textValueProp","isSelected","setTextValue","isFocused","setIsFocused","_contentContext$itemR","textId","handleSelect","onItemTextChange","_node$textContent","prevTextValue","textContent","trim","ItemSlot","tabIndex","onFocus","onBlur","_contentContext$onIte","onPointerLeave","_contentContext$onIte2","_contentContext$searc","$cc7e05a45900e73f$var$ITEM_TEXT_NAME","$cc7e05a45900e73f$export$3572fb0fb821ff49","itemTextProps","itemContext","nativeOptionsContext","itemTextNode","setItemTextNode","_contentContext$itemT","nativeOption","onNativeOptionAdd","onNativeOptionRemove","valueNodeHasChildren","$cc7e05a45900e73f$export$6b9198de19accfe6","$cc7e05a45900e73f$export$eba4b1df07cb1d3","onAutoScroll","scrollIndicatorProps","autoScrollTimerRef","clearAutoScrollTimer","clearInterval","_activeItem$ref$curre","activeItem","flexShrink","setInterval","_contentContext$onIte3","$cc7e05a45900e73f$var$BubbleSelect","selectProps","prevValue","react_use_previous_dist","D","select","selectProto","HTMLSelectElement","descriptor","getOwnPropertyDescriptor","setValue","set","Event","bubbles","dispatchEvent","react_visually_hidden_dist","defaultValue","onSearchChange","handleSearchChange","timerRef","updateSearch","isRepeated","Array","from","every","char","normalizedSearch","currentItemIndex","wrappedItems","$cc7e05a45900e73f$var$wrapArray","excludeCurrentItem","v","toLowerCase","startsWith","array","startIndex","_","index","$cc7e05a45900e73f$export$be92b6f5f03c0fe9","valueProp","name","autoComplete","setTrigger","setValueNode","setValueNodeHasChildren","direction","react_direction_dist","gm","isFormControl","Boolean","closest","nativeOptionsSet","setNativeOptionsSet","Set","nativeSelectKey","option","join","prev","add","optionsSet","delete","$cc7e05a45900e73f$export$602eac185826482c","react_portal_dist","h","selectRootPropDefs","selectTriggerPropDefs","color_prop","m","radius","radius_prop","C","selectContentPropDefs","high_contrast_prop","SelectContext","SelectRoot","rootProps","SelectTrigger","v4","SelectContent","react_scroll_area_dist","l_","overflowY","LW","orientation","bU","SelectItem","SelectGroup","SelectLabel","SelectSeparator","Select","$faa2e61a3361514f$var$PAGE_KEYS","$faa2e61a3361514f$var$ARROW_KEYS","$faa2e61a3361514f$var$BACK_KEYS","$faa2e61a3361514f$var$SLIDER_NAME","$faa2e61a3361514f$var$Collection","$faa2e61a3361514f$var$useCollection","$faa2e61a3361514f$var$createCollectionScope","$faa2e61a3361514f$var$createSliderContext","$faa2e61a3361514f$export$ef72632d7b901f97","$faa2e61a3361514f$var$SliderProvider","$faa2e61a3361514f$var$useSliderContext","$faa2e61a3361514f$export$472062a354075cee","step","minStepsBetweenThumbs","value1","onValueCommit","inverted","sliderProps","slider","setSlider","thumbRefs","valueIndexToChangeRef","SliderOrientation","isHorizontal","$faa2e61a3361514f$var$SliderHorizontal","$faa2e61a3361514f$var$SliderVertical","setValues","_thumbs$valueIndexToC","thumbs","valuesBeforeSlideStartRef","handleSlideStart","closestIndex","$faa2e61a3361514f$var$getClosestValueIndex","updateValues","handleSlideMove","handleSlideEnd","nextValue","atIndex","commit","decimalCount","$faa2e61a3361514f$var$getDecimalCount","snapToStep","$faa2e61a3361514f$var$roundValue","prevValues","nextValues","$faa2e61a3361514f$var$getNextSortedValues","$faa2e61a3361514f$var$hasMinStepsBetweenValues","hasChanged","String","__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown","stepDirection","isPageKey","isSkipKey","shiftKey","stepInDirection","$faa2e61a3361514f$var$BubbleInput","$faa2e61a3361514f$var$SliderOrientationProvider","$faa2e61a3361514f$var$useSliderOrientationContext","startEdge","endEdge","rectRef","isDirectionLTR","isSlidingFromLeft","getValueFromPointer","pointerPosition","rect","input","$faa2e61a3361514f$var$linearScale","$faa2e61a3361514f$var$SliderImpl","isBackKey","sliderRef","isSlidingFromBottom","concat","setPointerCapture","has","$faa2e61a3361514f$export$105594979f116971","trackProps","$faa2e61a3361514f$var$RANGE_NAME","$faa2e61a3361514f$export$a5cf38a7a000fe77","rangeProps","valuesCount","percentages","$faa2e61a3361514f$var$convertValueToPercentage","offsetStart","offsetEnd","$faa2e61a3361514f$var$THUMB_NAME","$faa2e61a3361514f$export$2c1b491743890dec","thumb","setThumb","findIndex","$faa2e61a3361514f$var$SliderThumbImpl","thumbProps","react_use_size_dist","t","percent","label","$faa2e61a3361514f$var$getLabel","orientationSize","thumbInBoundsOffset","$faa2e61a3361514f$var$getThumbInBoundsOffset","transform","inputProps","inputProto","HTMLInputElement","sort","a","percentPerStep","totalValues","distances","closestDistance","halfWidth","offset","$faa2e61a3361514f$var$getStepsBetweenValues","minStepsBetweenValues","stepsBetweenValues","actualMinStepsBetweenValues","output","split","rounder","pow","sliderPropDefs","Slider","_a","_b","$6be4966fd9bbc698$var$SWITCH_NAME","$6be4966fd9bbc698$var$createSwitchContext","$6be4966fd9bbc698$export$cf7f5f17f69cbd43","$6be4966fd9bbc698$var$SwitchProvider","$6be4966fd9bbc698$var$useSwitchContext","$6be4966fd9bbc698$export$b5d5cf8927ab7262","__scopeSwitch","checked","checkedProp","defaultChecked","onCheckedChange","switchProps","setButton","hasConsumerStoppedPropagationRef","setChecked","$6be4966fd9bbc698$var$getState","prevChecked","isPropagationStopped","stopPropagation","$6be4966fd9bbc698$var$BubbleInput","control","$6be4966fd9bbc698$export$4d07bf653ea69106","controlSize","opacity","switchPropDefs","Switch","Tooltip","react__WEBPACK_IMPORTED_MODULE_0__","delayDuration","disableHoverableContent","tooltipContentProps","_radix_ui_react_tooltip__WEBPACK_IMPORTED_MODULE_2__","_theme__WEBPACK_IMPORTED_MODULE_3__","classnames__WEBPACK_IMPORTED_MODULE_1___default","_text__WEBPACK_IMPORTED_MODULE_4__","Eh","kbdPropDefs","Kbd","kbdProps","ThemePanel","ThemePanelImpl","onAppearanceChange","onAppearanceChangeProp","panelProps","appearance","onAccentColorChange","grayColor","onGrayColorChange","panelBackground","onPanelBackgroundChange","onRadiusChange","scaling","onScalingChange","hasOnAppearanceChangeProp","handleAppearanceChangeProp","handleAppearanceChange","cleanup","disableAnimation","updateThemeAppearanceClass","autoMatchedGray","theme_options","Gh","resolvedGrayColor","copyState","setCopyState","handleCopyThemeConfig","yT","textToCopy","navigator","clipboard","writeText","handleKeydown","isCmdC","getSelection","toString","resolvedAppearance","setResolvedAppearance","root","documentElement","body","update","hasDarkClass","classList","nextAppearance","observer","MutationObserver","mutations","forEach","mutation","attributeName","observe","attributes","disconnect","k","mr","mt","inert","borderRadius","backgroundColor","transformOrigin","transitionProperty","transitionDuration","transitionTimingFunction","boxShadow","box","grow","p","tooltip","heading","X","mb","components_text","weight","grid","r","Eu","upperFirst","radix_colors","mO","gray","viewBox","fill","xmlns","d","fillRule","clipRule","borderTopLeftRadius","backgroundImage","borderTop","borderLeft","pt","htmlFor","popover","icon_button","react_accessible_icon_dist","H4","maxWidth","components_button","z","css","appendChild","createTextNode","head","removeChild","string","charAt","toUpperCase","$08b6689415b2f49a$export$5aec92af04ace2d2","child","Children","only","cloneElement","focusable","_radix_ui_react_visually_hidden__WEBPACK_IMPORTED_MODULE_1__","f"],"sourceRoot":""}