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T,IACAe,EAAWhB,EAAQmB,EAAanB,GAASsB,GACrCC,IACFD,EAASR,EAAUQ,EAAQE,EAAwDP,IAGrF,IADA,IAAIP,EAASW,EAAMX,OACZA,KACLK,EAAUO,EAAQD,EAAMX,IAE1B,OAAOY,CACT,IAEAxB,EAAOC,QAAUqB,C","sources":["webpack://app/./node_modules/@lacedltd/laced-components/dist/_externals/.pnpm/@radix-ui_react-dialog@1.1.1_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-dialog/dist/index.js","webpack://app/./node_modules/@lacedltd/laced-components/dist/_externals/.pnpm/@radix-ui_react-label@2.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-label/dist/index.js","webpack://app/./node_modules/@lacedltd/laced-components/dist/_externals/.pnpm/@radix-ui_react-switch@1.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-switch/dist/index.js","webpack://app/./node_modules/@lacedltd/laced-components/dist/src/components/atoms/Switch/Switch.styles.js","webpack://app/./node_modules/@lacedltd/laced-components/dist/src/components/atoms/Switch/Switch.js","webpack://app/./node_modules/@lacedltd/laced-components/dist/src/components/molecules/Dialog/Dialog.styles.js","webpack://app/./node_modules/lodash/_baseUnset.js","webpack://app/./node_modules/lodash/_customOmitClone.js","webpack://app/./node_modules/lodash/_flatRest.js","webpack://app/./node_modules/lodash/_parent.js","webpack://app/./node_modules/lodash/flatten.js","webpack://app/./node_modules/lodash/last.js","webpack://app/./node_modules/lodash/omit.js"],"sourcesContent":["import * as React from 'react';\nimport { composeEventHandlers } from '../../../../../@radix-ui_primitive@1.1.0/node_modules/@radix-ui/primitive/dist/index.js';\nimport { useComposedRefs } from '../../../../../@radix-ui_react-compose-refs@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js';\nimport { createContextScope, createContext as createContext2 } from '../../../../../@radix-ui_react-context@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js';\nimport { useId } from '../../../../../@radix-ui_react-id@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js';\nimport { useControllableState } from '../../../../../@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js';\nimport { DismissableLayer } from '../../../../../@radix-ui_react-dismissable-layer@1.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-dismissable-layer/dist/index.js';\nimport { FocusScope } from '../../../../../@radix-ui_react-focus-scope@1.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-focus-scope/dist/index.js';\nimport { Portal as Portal$1 } from '../../../../../@radix-ui_react-portal@1.1.1_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-portal/dist/index.js';\nimport { Presence } from '../../../../../@radix-ui_react-presence@1.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-presence/dist/index.js';\nimport { Primitive } from '../../../../../@radix-ui_react-primitive@2.0.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-primitive/dist/index.js';\nimport { useFocusGuards } from '../../../../../@radix-ui_react-focus-guards@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js';\nimport ReactRemoveScroll from '../../../../../react-remove-scroll@2.5.7_@types_react@18.3.5_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js';\nimport { hideOthers } from '../../../../../aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js';\nimport { Slot } from '../../../../../@radix-ui_react-slot@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js';\nimport { jsx, jsxs, Fragment } from 'react/jsx-runtime';\n\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$1, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext2(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\n\nexport { Close, Content, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Overlay, Portal, Root, Title, Trigger, WarningProvider, createDialogScope };\n//# sourceMappingURL=index.js.map\n","import * as React from 'react';\nimport { Primitive } from '../../../../../@radix-ui_react-primitive@2.0.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-primitive/dist/index.js';\nimport { jsx } from 'react/jsx-runtime';\n\nvar NAME = \"Label\";\nvar Label = React.forwardRef((props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.label,\n {\n ...props,\n ref: forwardedRef,\n onMouseDown: (event) => {\n const target = event.target;\n if (target.closest(\"button, input, select, textarea\")) return;\n props.onMouseDown?.(event);\n if (!event.defaultPrevented && event.detail > 1) event.preventDefault();\n }\n }\n );\n});\nLabel.displayName = NAME;\n\nexport { Label };\n//# sourceMappingURL=index.js.map\n","import * as React from 'react';\nimport { composeEventHandlers } from '../../../../../@radix-ui_primitive@1.1.0/node_modules/@radix-ui/primitive/dist/index.js';\nimport { useComposedRefs } from '../../../../../@radix-ui_react-compose-refs@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js';\nimport { createContextScope } from '../../../../../@radix-ui_react-context@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js';\nimport { useControllableState } from '../../../../../@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js';\nimport { usePrevious } from '../../../../../@radix-ui_react-use-previous@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js';\nimport { useSize } from '../../../../../@radix-ui_react-use-size@1.1.0_@types_react@18.3.5_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js';\nimport { Primitive } from '../../../../../@radix-ui_react-primitive@2.0.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-primitive/dist/index.js';\nimport { jsxs, jsx } from 'react/jsx-runtime';\n\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? Boolean(button.closest(\"form\")) : true;\n const [checked = false, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked,\n onChange: onCheckedChange\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n BubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BubbleInput = (props) => {\n const { control, checked, bubbles = true, ...inputProps } = props;\n const ref = React.useRef(null);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.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\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...inputProps,\n tabIndex: -1,\n ref,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n};\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\n\nexport { Root, Switch, SwitchThumb, Thumb, createSwitchScope };\n//# sourceMappingURL=index.js.map\n","import { __assign } from '../../../../_externals/.pnpm/tslib@2.7.0/node_modules/tslib/tslib.es6.js';\nimport '@emotion/react';\nimport styled from '@emotion/styled';\nimport tokens from '@lacedltd/design-tokens';\nimport { Label } from '../../../../_externals/.pnpm/@radix-ui_react-label@2.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-label/dist/index.js';\nimport { Root, Thumb } from '../../../../_externals/.pnpm/@radix-ui_react-switch@1.1.0_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-switch/dist/index.js';\nimport TypographyStyles from '../Typography/TypographyStyles.js';\n\nvar SwitchContainer = styled.div({\r\n height: \"48px\",\r\n position: \"relative\",\r\n display: \"flex\",\r\n justifyContent: \"flex-start\",\r\n alignItems: \"center\",\r\n});\r\nvar SwitchLabel = styled(Label)(function (_a) {\r\n var type = _a.type;\r\n return (__assign(__assign(__assign(__assign({}, (type === \"body\" && TypographyStyles.body)), (type === \"footnote\" && TypographyStyles.footnote)), (type === \"caption\" && TypographyStyles.caption)), { fontFamily: tokens.fontFamilies.primary, margin: \"0 \".concat(tokens.spacing[3], \" 0 0\") }));\r\n});\r\nvar SwitchRail = styled(Root, {\r\n shouldForwardProp: function (prop) { return ![\"darkMode\", \"variant\"].includes(prop); },\r\n})(function (_a) {\r\n var variant = _a.variant, darkMode = _a.darkMode;\r\n var railStyleMap = {\r\n default: {\r\n backgroundColor: darkMode\r\n ? tokens.color.airJordan[500]\r\n : tokens.color.airJordan[300],\r\n },\r\n active: {\r\n backgroundColor: darkMode\r\n ? tokens.color.airForce[900]\r\n : tokens.color.airForce[100],\r\n },\r\n error: {\r\n backgroundColor: darkMode\r\n ? tokens.color.airPresto[900]\r\n : tokens.color.airPresto[100],\r\n },\r\n };\r\n return __assign({ height: \"12px\", width: \"48px\", borderRadius: \"1000px\", transition: \"background-color 0.3s ease\", padding: 0, position: \"relative\", cursor: \"pointer\", \"&[data-disabled]\": {\r\n backgroundColor: darkMode\r\n ? tokens.color.airJordan[700]\r\n : tokens.color.airJordan[200],\r\n } }, railStyleMap[variant]);\r\n});\r\nvar SwitchDot = styled(Thumb, {\r\n shouldForwardProp: function (prop) { return ![\"darkMode\", \"variant\"].includes(prop); },\r\n})(function (_a) {\r\n var variant = _a.variant, darkMode = _a.darkMode;\r\n var dotStyleMap = {\r\n default: {\r\n backgroundColor: darkMode\r\n ? tokens.color.airJordan[50]\r\n : tokens.color.airJordan[500],\r\n },\r\n active: {\r\n backgroundColor: darkMode\r\n ? tokens.color.airForce[300]\r\n : tokens.color.airForce.p,\r\n },\r\n error: {\r\n backgroundColor: darkMode\r\n ? tokens.color.airPresto[400]\r\n : tokens.color.airPresto.p,\r\n },\r\n };\r\n return __assign(__assign({ display: \"block\", position: \"absolute\", top: \"-50%\", height: \"24px\", width: \"24px\", backgroundColor: tokens.color.airJordan[500], transition: \"background-color 0.3s ease, transform 0.3s ease\", borderRadius: \"50%\", cursor: \"pointer\" }, dotStyleMap[variant]), { '&[data-state=\"checked\"]': { transform: \"translateX(24px)\" }, \"&[data-disabled]\": {\r\n backgroundColor: darkMode\r\n ? tokens.color.airJordan[500]\r\n : tokens.color.airJordan[300],\r\n } });\r\n});\n\nexport { SwitchContainer, SwitchDot, SwitchLabel, SwitchRail };\n//# sourceMappingURL=Switch.styles.js.map\n","import * as React from 'react';\nimport { SwitchContainer, SwitchLabel, SwitchRail, SwitchDot } from './Switch.styles.js';\n\nvar Switch = function (_a) {\r\n var _b = _a.darkMode, darkMode = _b === void 0 ? false : _b, _c = _a.variant, variant = _c === void 0 ? \"default\" : _c, _d = _a.checked, checked = _d === void 0 ? false : _d, _e = _a.labelText, labelText = _e === void 0 ? \"\" : _e, _f = _a.labelType, labelType = _f === void 0 ? \"caption\" : _f, _g = _a.disabled, disabled = _g === void 0 ? false : _g, onCheckedChange = _a.onCheckedChange;\r\n var switchId = React.useId();\r\n return (React.createElement(SwitchContainer, { \"data-testid\": \"switch container\" },\r\n labelText ? (React.createElement(SwitchLabel, { role: \"tooltip\", type: labelType, htmlFor: switchId }, labelText)) : null,\r\n React.createElement(SwitchRail, { darkMode: darkMode, variant: variant, disabled: disabled, checked: checked, onCheckedChange: onCheckedChange, id: switchId, \"aria-label\": labelText || \"switch\" },\r\n React.createElement(SwitchDot, { darkMode: darkMode, variant: variant }))));\r\n};\n\nexport { Switch as default };\n//# sourceMappingURL=Switch.js.map\n","import { __assign } from '../../../../_externals/.pnpm/tslib@2.7.0/node_modules/tslib/tslib.es6.js';\nimport { keyframes, css } from '@emotion/react';\nimport styled from '@emotion/styled';\nimport { Close, Overlay, Content } from '../../../../_externals/.pnpm/@radix-ui_react-dialog@1.1.1_@types_react@18.3.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-dialog/dist/index.js';\nimport tokens from '@lacedltd/design-tokens';\nimport { mediaQuery } from '../../../helpers/media.js';\nimport '../../../helpers/animation.js';\nimport { generateBorder } from '../../../helpers/tokens.js';\n\nvar overlayShow = keyframes({\r\n \"0%\": { opacity: 0 },\r\n \"100%\": { opacity: 1 },\r\n});\r\nvar contentShow = keyframes({\r\n \"0%\": { opacity: 0, transform: \"translateY(-10px)\" },\r\n \"100%\": { opacity: 1, transform: \"translateY(0)\" },\r\n});\r\nvar drawerShow = keyframes({\r\n \"0%\": { transform: \"translateY(100%)\" },\r\n \"100%\": { transform: \"translateY(0)\" },\r\n});\r\nvar getAlignmentStyles = function (align) {\r\n switch (align) {\r\n case \"top\":\r\n return \"flex-start;\";\r\n case \"bottom\":\r\n return \"flex-end;\";\r\n case \"center\":\r\n default:\r\n return \"center;\";\r\n }\r\n};\r\nvar baseOverlayStyle = css({\r\n backgroundColor: \"rgba(0, 0, 0, 0.5)\",\r\n position: \"fixed\",\r\n inset: 0,\r\n animation: \"\".concat(overlayShow, \" 250ms forwards\"),\r\n zIndex: tokens.zIndex.modalBackdrop,\r\n});\r\nvar DialogClose = styled(Close)(function (_a) {\r\n var _b = _a.fullscreen, fullscreen = _b === void 0 ? false : _b;\r\n return (__assign(__assign({ all: \"unset\", position: \"absolute\", cursor: \"pointer\", top: tokens.spacing[4], right: tokens.spacing[4], width: tokens.spacing[6], height: tokens.spacing[6], display: \"inline-flex\", justifyContent: \"center\", alignItems: \"center\", borderRadius: \"100%\", transition: \"0.2s all\" }, (fullscreen && {\r\n width: tokens.spacing[7],\r\n height: tokens.spacing[7],\r\n top: tokens.spacing[7],\r\n right: tokens.spacing[7],\r\n svg: { width: tokens.spacing[6], height: tokens.spacing[6] },\r\n })), { \"&:focus-visible\": {\r\n outline: generateBorder(\"s\", \"solid\", \"airJordan.300\"),\r\n }, \"&:hover\": {\r\n background: tokens.color.airJordan[100],\r\n } }));\r\n});\r\nvar DialogOverlay = styled(Overlay)(baseOverlayStyle);\r\nvar DialogAlignment = styled.div(function (_a) {\r\n var _b;\r\n var _c = _a.align, align = _c === void 0 ? \"center\" : _c, _d = _a.justify, justify = _d === void 0 ? \"center\" : _d, _e = _a.drawer, drawer = _e === void 0 ? false : _e;\r\n return (_b = {\r\n position: \"fixed\",\r\n inset: 0,\r\n display: \"flex\",\r\n alignItems: getAlignmentStyles(align),\r\n justifyContent: justify,\r\n zIndex: tokens.zIndex.modal\r\n },\r\n _b[mediaQuery.m.max] = {\r\n alignItems: drawer ? \"flex-end\" : getAlignmentStyles(align),\r\n },\r\n _b);\r\n});\r\nvar DialogContent = styled(Content, {\r\n shouldForwardProp: function (prop) {\r\n return ![\"scrollContainer\", \"drawer\"].includes(prop);\r\n },\r\n})(function (_a) {\r\n var _b;\r\n var _c = _a.width, width = _c === void 0 ? \"auto\" : _c, _d = _a.scrollContainer, scrollContainer = _d === void 0 ? false : _d, _e = _a.drawer, drawer = _e === void 0 ? false : _e, _f = _a.fullscreen, fullscreen = _f === void 0 ? false : _f;\r\n return (__assign(__assign({ position: \"absolute\", maxHeight: \"100vh\", animation: \"\".concat(contentShow, \" 250ms forwards\"), background: tokens.color.yeezy[0], padding: tokens.spacing[7], margin: tokens.spacing[8], opacity: 0, width: \"\".concat(width, \"px\"), overflow: \"\".concat(scrollContainer ? \"auto\" : \"visible\") }, (fullscreen && {\r\n width: \"100%\",\r\n height: \"100%\",\r\n })), (_b = {}, _b[mediaQuery.m.max] = {\r\n animation: \"\".concat(drawer ? drawerShow : contentShow, \" 250ms forwards\"),\r\n borderRadius: \"\".concat(drawer ? tokens.spacing[3] : 0, \" \").concat(drawer ? tokens.spacing[3] : 0, \" 0 0\"),\r\n width: \"100%\",\r\n opacity: 1,\r\n margin: 0,\r\n }, _b)));\r\n});\n\nexport { DialogAlignment, DialogClose, DialogContent, DialogOverlay, baseOverlayStyle };\n//# sourceMappingURL=Dialog.styles.js.map\n","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n","var isPlainObject = require('./isPlainObject');\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var arrayMap = require('./_arrayMap'),\n baseClone = require('./_baseClone'),\n baseUnset = require('./_baseUnset'),\n castPath = require('./_castPath'),\n copyObject = require('./_copyObject'),\n customOmitClone = require('./_customOmitClone'),\n flatRest = require('./_flatRest'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\nvar omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n});\n\nmodule.exports = omit;\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","open","openProp","defaultOpen","onOpenChange","modal","triggerRef","contentRef","setOpen","prop","defaultProp","onChange","jsx","scope","contentId","titleId","descriptionId","onOpenToggle","prevOpen","displayName","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","button","type","getState","ref","onClick","PORTAL_NAME","PortalProvider","usePortalContext","forceMount","DialogPortal","container","map","child","present","asChild","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","as","allowPinchZoom","shards","div","style","pointerEvents","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","current","DialogContentImpl","trapFocus","disableOutsidePointerEvents","onCloseAutoFocus","event","preventDefault","focus","onPointerDownOutside","originalEvent","detail","ctrlLeftClick","ctrlKey","onFocusOutside","hasInteractedOutsideRef","hasPointerDownOutsideRef","defaultPrevented","onInteractOutside","target","targetIsTrigger","contains","onOpenAutoFocus","jsxs","Fragment","loop","trapped","onMountAutoFocus","onUnmountAutoFocus","role","id","onDismiss","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","h2","DESCRIPTION_NAME","DialogDescription","descriptionProps","p","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","contentName","titleName","docsSlug","titleWarningContext","MESSAGE","document","getElementById","console","error","describedById","getAttribute","warn","Root","Trigger","Portal","Overlay","Content","Title","Description","Close","Label","label","onMouseDown","closest","SWITCH_NAME","createSwitchContext","createSwitchScope","SwitchProvider","useSwitchContext","Switch","__scopeSwitch","name","checked","checkedProp","defaultChecked","required","disabled","value","onCheckedChange","switchProps","setButton","node","hasConsumerStoppedPropagationRef","isFormControl","Boolean","setChecked","prevChecked","isPropagationStopped","stopPropagation","BubbleInput","control","bubbles","transform","THUMB_NAME","SwitchThumb","thumbProps","span","inputProps","controlSize","input","inputProto","window","HTMLInputElement","prototype","Object","getOwnPropertyDescriptor","set","Event","call","dispatchEvent","tabIndex","position","opacity","margin","Thumb","SwitchContainer","height","display","justifyContent","alignItems","SwitchLabel","_a","TypographyStyles","body","footnote","caption","fontFamily","primary","concat","SwitchRail","shouldForwardProp","includes","variant","darkMode","railStyleMap","default","backgroundColor","airJordan","active","airForce","airPresto","width","borderRadius","transition","padding","cursor","SwitchDot","dotStyleMap","top","_b","_c","_d","_e","labelText","_f","labelType","_g","switchId","htmlFor","overlayShow","contentShow","drawerShow","getAlignmentStyles","align","baseOverlayStyle","inset","animation","zIndex","modalBackdrop","fullscreen","all","right","svg","outline","background","DialogAlignment","justify","drawer","m","max","scrollContainer","maxHeight","yeezy","overflow","castPath","last","parent","toKey","module","exports","object","path","isPlainObject","undefined","flatten","overRest","setToString","func","baseGet","baseSlice","length","baseFlatten","array","arrayMap","baseClone","baseUnset","copyObject","customOmitClone","flatRest","getAllKeysIn","omit","paths","result","isDeep","CLONE_DEEP_FLAG"],"sourceRoot":""}