{"version":3,"file":"web/static/app/toasts.js","sources":["webpack://website/webpack/runtime/create_fake_namespace_object","webpack://website/webpack/runtime/on_chunk_loaded","webpack://website/webpack/runtime/jsonp_chunk_loading","webpack://website/./node_modules/scheduler/cjs/scheduler.production.min.js","webpack://website/./node_modules/scheduler/index.js","webpack://website/./node_modules/tailwindcss/lib/public/create-plugin.js","webpack://website/./node_modules/tailwindcss/lib/util/createPlugin.js","webpack://website/./node_modules/tailwindcss/lib/util/flattenColorPalette.js","webpack://website/./node_modules/tailwindcss/plugin.js","webpack://website/./frontend/utils/dom.ts","webpack://website/./node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs","webpack://website/./node_modules/@radix-ui/primitive/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-compose-refs/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-compose-refs/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-collection/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-context/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-compose-refs/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-compose-refs/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-portal/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-presence/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-slot/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-use-effect-event/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-compose-refs/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-visually-hidden/dist/index.mjs","webpack://website/./node_modules/@radix-ui/react-toast/dist/index.mjs","webpack://website/./node_modules/clsx/dist/clsx.mjs","webpack://website/./node_modules/class-variance-authority/dist/index.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs","webpack://website/./node_modules/lucide-react/dist/esm/context.mjs","webpack://website/./node_modules/lucide-react/dist/esm/Icon.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs","webpack://website/./node_modules/lucide-react/dist/esm/createLucideIcon.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs","webpack://website/./node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs","webpack://website/./node_modules/lucide-react/dist/esm/icons/x.mjs","webpack://website/./node_modules/lucide-react/dist/esm/icons/circle-check.mjs","webpack://website/./node_modules/tailwind-merge/dist/bundle-mjs.mjs","webpack://website/./node_modules/tailwindcss-motion/dist/index.js","webpack://website/./tailwind.config.ts","webpack://website/./frontend/utils/tailwind.ts","webpack://website/./frontend/primitives/toast/Toast.tsx","webpack://website/./frontend/primitives/toast/use-toast.ts","webpack://website/./frontend/primitives/toast/Toaster.tsx","webpack://website/./frontend/apps/toasts/Toasts.tsx","webpack://website/webpack/runtime/define_property_getters","webpack://website/webpack/runtime/has_own_property","webpack://website/webpack/runtime/make_namespace_object"],"sourcesContent":["var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n  __webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => { def[key] = () => (value[key]) });\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif (chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor (var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--)\n\t\t\tdeferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif (\n\t\t\t\t(priority & (1 === 0) || notFulfilled >= priority) &&\n\t\t\t\tObject.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))\n\t\t\t) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif (priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif (fulfilled) {\n\t\t\tdeferred.splice(i--, 1);\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};\n","\n      // object to store loaded and loading chunks\n      // undefined = chunk not loaded, null = chunk preloaded/prefetched\n      // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\n      var jsonpInstalledChunks = {4980: 0,};\n      __webpack_require__.O.j = (chunkId) => (jsonpInstalledChunks[chunkId] === 0);\n// install a JSONP callback for chunk loading\nvar __rspack_jsonp = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif (chunkIds.some((id) => (jsonpInstalledChunks[id] !== 0))) {\n\t\tfor (moduleId in moreModules) {\n\t\t\tif (__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif (runtime) var result = runtime(__webpack_require__);\n\t}\n\tif (parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor (; i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif (\n\t\t\t__webpack_require__.o(jsonpInstalledChunks, chunkId) &&\n\t\t\tjsonpInstalledChunks[chunkId]\n\t\t) {\n\t\t\tjsonpInstalledChunks[chunkId][0]();\n\t\t}\n\t\tjsonpInstalledChunks[chunkId] = 0;\n\t}\n\t\n\treturn __webpack_require__.O(result);\n\t\n};\n\nvar jsonpChunkLoadingGlobal = globalThis[\"rspackChunkwebsite\"] ||= [];\njsonpChunkLoadingGlobal.forEach(__rspack_jsonp.bind(null, 0));\njsonpChunkLoadingGlobal.push = __rspack_jsonp.bind(null, jsonpChunkLoadingGlobal.push.bind(jsonpChunkLoadingGlobal));\n","/**\n * @license React\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Q<P?!1:!0}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=!0;try{b=O(!0,a)}finally{b?S():(N=!1,O=null)}}else N=!1}var S;if(\"function\"===typeof F)S=function(){F(R)};else if(\"undefined\"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null)}}else S=function(){D(R,0)};function I(a){O=a;N||(N=!0,S())}function K(a,b){L=D(function(){a(exports.unstable_now())},b)}\nexports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){A||z||(A=!0,I(J))};\nexports.unstable_forceFrameRate=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):P=0<a?Math.floor(1E3/a):5};exports.unstable_getCurrentPriorityLevel=function(){return y};exports.unstable_getFirstCallbackNode=function(){return h(r)};exports.unstable_next=function(a){switch(y){case 1:case 2:case 3:var b=3;break;default:b=y}var c=y;y=b;try{return a()}finally{y=c}};exports.unstable_pauseExecution=function(){};\nexports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=y;y=a;try{return b()}finally{y=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();\"object\"===typeof c&&null!==c?(c=c.delay,c=\"number\"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:u++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n  module.exports = require('./cjs/scheduler.development.js');\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"default\", {\n    enumerable: true,\n    get: function() {\n        return _default;\n    }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n    return obj && obj.__esModule ? obj : {\n        default: obj\n    };\n}\nconst _default = _createPlugin.default;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"default\", {\n    enumerable: true,\n    get: function() {\n        return _default;\n    }\n});\nfunction createPlugin(plugin, config) {\n    return {\n        handler: plugin,\n        config\n    };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n    const optionsFunction = function(options) {\n        return {\n            __options: options,\n            handler: pluginFunction(options),\n            config: configFunction(options)\n        };\n    };\n    optionsFunction.__isOptionsFunction = true;\n    // Expose plugin dependencies so that `object-hash` returns a different\n    // value if anything here changes, to ensure a rebuild is triggered.\n    optionsFunction.__pluginFunction = pluginFunction;\n    optionsFunction.__configFunction = configFunction;\n    return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"default\", {\n    enumerable: true,\n    get: function() {\n        return _default;\n    }\n});\nconst flattenColorPalette = (colors)=>Object.assign({}, ...Object.entries(colors !== null && colors !== void 0 ? colors : {}).flatMap(([color, values])=>typeof values == \"object\" ? Object.entries(flattenColorPalette(values)).map(([number, hex])=>({\n                [color + (number === \"DEFAULT\" ? \"\" : `-${number}`)]: hex\n            })) : [\n            {\n                [`${color}`]: values\n            }\n        ]));\nconst _default = flattenColorPalette;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n","export function waitForElementWithId<T extends HTMLElement = HTMLElement>(\n  selector: string,\n): Promise<T> {\n  return new Promise<T>((resolve) => {\n    if (document.getElementById(selector)) {\n      resolve(document.getElementById(selector) as T);\n    }\n\n    const observer = new MutationObserver(() => {\n      if (document.getElementById(selector)) {\n        resolve(document.getElementById(selector) as T);\n        observer.disconnect();\n      }\n    });\n\n    observer.observe(document.body, {\n      childList: true,\n      subtree: true,\n    });\n  });\n}\n\nexport class DomEventEmitter {\n  private observer?: MutationObserver;\n  private listeners: Record<string, Array<(el: HTMLElement) => unknown>> = {};\n  private isListening = false;\n\n  public on(id: string, listener: (el: HTMLElement) => unknown) {\n    if (!this.listeners[id]) {\n      this.listeners[id] = [];\n    }\n\n    this.listeners[id].push(listener);\n  }\n\n  private stop() {\n    this.observer?.disconnect();\n    this.isListening = false;\n  }\n\n  private emit(id: string, el: HTMLElement) {\n    if (!this.isListening) {\n      return;\n    }\n\n    if (this.listeners[id]) {\n      this.listeners[id].forEach((listener) => listener(el));\n    }\n\n    // in future, we could have different strategy to not stop at the first emit\n    this.stop();\n  }\n\n  public listen() {\n    this.isListening = true;\n    for (const id in this.listeners) {\n      const el = document.getElementById(id);\n      if (el) {\n        this.emit(id, el);\n      }\n    }\n\n    this.observer = new MutationObserver(() => {\n      for (const id in this.listeners) {\n        const el = document.getElementById(id);\n        if (el) {\n          this.emit(id, el);\n        }\n      }\n    });\n\n    this.observer.observe(document.body, {\n      childList: true,\n      subtree: true,\n    });\n  }\n}\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n  layers: /* @__PURE__ */ new Set(),\n  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n  branches: /* @__PURE__ */ new Set(),\n  // Outside elements that belong to a layer's own dismiss affordance (eg, a\n  // dialog overlay). Pressing them should dismiss the layer regardless of\n  // whether or not they stop propagation.\n  //\n  // See https://github.com/radix-ui/primitives/issues/3346\n  dismissableSurfaces: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = /* @__PURE__ */ React.forwardRef(\n  // blank line to reduce diff noise\n  /* @__PURE__ */ __name(function DismissableLayer2(props, forwardedRef) {\n    const {\n      disableOutsidePointerEvents = false,\n      deferPointerDownOutside = false,\n      onEscapeKeyDown,\n      onPointerDownOutside,\n      onFocusOutside,\n      onInteractOutside,\n      onDismiss,\n      ...layerProps\n    } = props;\n    const context = React.useContext(DismissableLayerContext);\n    const [node, setNode] = React.useState(null);\n    const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n    const [, force] = React.useState({});\n    const composedRefs = useComposedRefs(forwardedRef, setNode);\n    const layers = Array.from(context.layers);\n    const [highestLayerWithOutsidePointerEventsDisabled] = [\n      ...context.layersWithOutsidePointerEventsDisabled\n    ].slice(-1);\n    const highestLayerWithOutsidePointerEventsDisabledIndex = highestLayerWithOutsidePointerEventsDisabled ? layers.indexOf(highestLayerWithOutsidePointerEventsDisabled) : -1;\n    const index = node ? layers.indexOf(node) : -1;\n    const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n    const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n    const isDeferredPointerDownOutsideRef = React.useRef(false);\n    const pointerDownOutside = usePointerDownOutside(\n      (event) => {\n        onPointerDownOutside?.(event);\n        onInteractOutside?.(event);\n        if (!event.defaultPrevented) onDismiss?.();\n      },\n      {\n        ownerDocument,\n        deferPointerDownOutside,\n        isDeferredPointerDownOutsideRef,\n        dismissableSurfaces: context.dismissableSurfaces,\n        shouldHandlePointerDownOutside: React.useCallback(\n          (target) => {\n            if (!(target instanceof Node)) {\n              return false;\n            }\n            const isPointerDownOnBranch = [...context.branches].some(\n              (branch) => branch.contains(target)\n            );\n            return isPointerEventsEnabled && !isPointerDownOnBranch;\n          },\n          [context.branches, isPointerEventsEnabled]\n        )\n      }\n    );\n    const focusOutside = useFocusOutside((event) => {\n      if (deferPointerDownOutside && isDeferredPointerDownOutsideRef.current) {\n        return;\n      }\n      const target = event.target;\n      const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n      if (isFocusInBranch) return;\n      onFocusOutside?.(event);\n      onInteractOutside?.(event);\n      if (!event.defaultPrevented) onDismiss?.();\n    }, ownerDocument);\n    const isHighestLayer = node ? index === layers.length - 1 : false;\n    const handleKeyDown = useCallbackRef((event) => {\n      if (event.key !== \"Escape\") {\n        return;\n      }\n      onEscapeKeyDown?.(event);\n      if (!event.defaultPrevented && onDismiss) {\n        event.preventDefault();\n        onDismiss();\n      }\n    });\n    React.useEffect(() => {\n      if (!isHighestLayer) {\n        return;\n      }\n      ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n      return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n    }, [ownerDocument, isHighestLayer, handleKeyDown]);\n    React.useEffect(() => {\n      if (!node) return;\n      if (disableOutsidePointerEvents) {\n        if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n          originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n          ownerDocument.body.style.pointerEvents = \"none\";\n        }\n        context.layersWithOutsidePointerEventsDisabled.add(node);\n      }\n      context.layers.add(node);\n      dispatchUpdate();\n      return () => {\n        if (disableOutsidePointerEvents) {\n          context.layersWithOutsidePointerEventsDisabled.delete(node);\n          if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n            ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n          }\n        }\n      };\n    }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n    React.useEffect(() => {\n      return () => {\n        if (!node) return;\n        context.layers.delete(node);\n        context.layersWithOutsidePointerEventsDisabled.delete(node);\n        dispatchUpdate();\n      };\n    }, [node, context]);\n    React.useEffect(() => {\n      const handleUpdate = /* @__PURE__ */ __name(() => force({}), \"handleUpdate\");\n      document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n      return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n    }, []);\n    return /* @__PURE__ */ jsx(\n      Primitive.div,\n      {\n        ...layerProps,\n        ref: composedRefs,\n        style: {\n          pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n          ...props.style\n        },\n        onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n        onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n        onPointerDownCapture: composeEventHandlers(\n          props.onPointerDownCapture,\n          pointerDownOutside.onPointerDownCapture\n        )\n      }\n    );\n  }, \"DismissableLayer\")\n);\nvar DismissableLayerBranch = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name(function DismissableLayerBranch2(props, forwardedRef) {\n  const context = React.useContext(DismissableLayerContext);\n  const ref = React.useRef(null);\n  const composedRefs = useComposedRefs(forwardedRef, ref);\n  React.useEffect(() => {\n    const node = ref.current;\n    if (node) {\n      context.branches.add(node);\n      return () => {\n        context.branches.delete(node);\n      };\n    }\n  }, [context.branches]);\n  return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n}, \"DismissableLayerBranch\"));\nfunction useDismissableLayerSurface() {\n  const context = React.useContext(DismissableLayerContext);\n  const [node, setNode] = React.useState(null);\n  React.useEffect(() => {\n    if (!node) {\n      return;\n    }\n    context.dismissableSurfaces.add(node);\n    return () => {\n      context.dismissableSurfaces.delete(node);\n    };\n  }, [node, context.dismissableSurfaces]);\n  return setNode;\n}\n__name(useDismissableLayerSurface, \"useDismissableLayerSurface\");\nvar IS_TRUE = /* @__PURE__ */ __name(() => true, \"IS_TRUE\");\nfunction usePointerDownOutside(onPointerDownOutside, args) {\n  const {\n    ownerDocument = globalThis?.document,\n    deferPointerDownOutside = false,\n    isDeferredPointerDownOutsideRef,\n    dismissableSurfaces,\n    shouldHandlePointerDownOutside = IS_TRUE\n  } = args;\n  const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n  const isPointerInsideReactTreeRef = React.useRef(false);\n  const isPointerDownOutsideRef = React.useRef(false);\n  const interceptedOutsideInteractionEventsRef = React.useRef(/* @__PURE__ */ new Map());\n  const handleClickRef = React.useRef(() => {\n  });\n  React.useEffect(() => {\n    function resetOutsideInteraction() {\n      isPointerDownOutsideRef.current = false;\n      isDeferredPointerDownOutsideRef.current = false;\n      interceptedOutsideInteractionEventsRef.current.clear();\n    }\n    __name(resetOutsideInteraction, \"resetOutsideInteraction\");\n    function isOutsideInteractionIntercepted() {\n      return Array.from(interceptedOutsideInteractionEventsRef.current.values()).some(Boolean);\n    }\n    __name(isOutsideInteractionIntercepted, \"isOutsideInteractionIntercepted\");\n    function handleInteractionCapture(event) {\n      if (!isPointerDownOutsideRef.current) {\n        return;\n      }\n      const target = event.target;\n      const isDismissableSurface = target instanceof Node && [...dismissableSurfaces].some((surface) => surface.contains(target));\n      if (!isDismissableSurface) {\n        interceptedOutsideInteractionEventsRef.current.set(event.type, true);\n      }\n      if (event.type === \"click\") {\n        window.setTimeout(() => {\n          if (isPointerDownOutsideRef.current) {\n            handleClickRef.current();\n          }\n        }, 0);\n      }\n    }\n    __name(handleInteractionCapture, \"handleInteractionCapture\");\n    function handleInteractionBubble(event) {\n      if (isPointerDownOutsideRef.current) {\n        interceptedOutsideInteractionEventsRef.current.set(event.type, false);\n      }\n    }\n    __name(handleInteractionBubble, \"handleInteractionBubble\");\n    const handlePointerDown = /* @__PURE__ */ __name((event) => {\n      if (event.target && !isPointerInsideReactTreeRef.current) {\n        let handleAndDispatchPointerDownOutsideEvent2 = function() {\n          ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n          const wasOutsideInteractionIntercepted = isOutsideInteractionIntercepted();\n          resetOutsideInteraction();\n          if (!wasOutsideInteractionIntercepted) {\n            handleAndDispatchCustomEvent(\n              POINTER_DOWN_OUTSIDE,\n              handlePointerDownOutside,\n              eventDetail,\n              { discrete: true }\n            );\n          }\n        };\n        var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n        __name(handleAndDispatchPointerDownOutsideEvent2, \"handleAndDispatchPointerDownOutsideEvent\");\n        if (!shouldHandlePointerDownOutside(event.target)) {\n          ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n          resetOutsideInteraction();\n          isPointerInsideReactTreeRef.current = false;\n          return;\n        }\n        const eventDetail = { originalEvent: event };\n        isPointerDownOutsideRef.current = true;\n        isDeferredPointerDownOutsideRef.current = deferPointerDownOutside && event.button === 0;\n        interceptedOutsideInteractionEventsRef.current.clear();\n        if (!deferPointerDownOutside || event.button !== 0) {\n          handleAndDispatchPointerDownOutsideEvent2();\n        } else {\n          ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n          handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n          ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n        }\n      } else {\n        ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n        resetOutsideInteraction();\n      }\n      isPointerInsideReactTreeRef.current = false;\n    }, \"handlePointerDown\");\n    const outsideInteractionEvents = [\n      \"pointerup\",\n      \"mousedown\",\n      \"mouseup\",\n      \"touchstart\",\n      \"touchend\",\n      \"click\"\n    ];\n    for (const eventName of outsideInteractionEvents) {\n      ownerDocument.addEventListener(eventName, handleInteractionCapture, true);\n      ownerDocument.addEventListener(eventName, handleInteractionBubble);\n    }\n    const timerId = window.setTimeout(() => {\n      ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n    }, 0);\n    return () => {\n      window.clearTimeout(timerId);\n      ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n      ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n      for (const eventName of outsideInteractionEvents) {\n        ownerDocument.removeEventListener(eventName, handleInteractionCapture, true);\n        ownerDocument.removeEventListener(eventName, handleInteractionBubble);\n      }\n    };\n  }, [\n    ownerDocument,\n    handlePointerDownOutside,\n    deferPointerDownOutside,\n    isDeferredPointerDownOutsideRef,\n    dismissableSurfaces,\n    shouldHandlePointerDownOutside\n  ]);\n  return {\n    // ensures we check React component tree (not just DOM tree)\n    onPointerDownCapture: /* @__PURE__ */ __name(() => isPointerInsideReactTreeRef.current = true, \"onPointerDownCapture\")\n  };\n}\n__name(usePointerDownOutside, \"usePointerDownOutside\");\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n  const handleFocusOutside = useCallbackRef(onFocusOutside);\n  const isFocusInsideReactTreeRef = React.useRef(false);\n  React.useEffect(() => {\n    const handleFocus = /* @__PURE__ */ __name((event) => {\n      if (event.target && !isFocusInsideReactTreeRef.current) {\n        const eventDetail = { originalEvent: event };\n        handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n          discrete: false\n        });\n      }\n    }, \"handleFocus\");\n    ownerDocument.addEventListener(\"focusin\", handleFocus);\n    return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n  }, [ownerDocument, handleFocusOutside]);\n  return {\n    onFocusCapture: /* @__PURE__ */ __name(() => isFocusInsideReactTreeRef.current = true, \"onFocusCapture\"),\n    onBlurCapture: /* @__PURE__ */ __name(() => isFocusInsideReactTreeRef.current = false, \"onBlurCapture\")\n  };\n}\n__name(useFocusOutside, \"useFocusOutside\");\nfunction dispatchUpdate() {\n  const event = new CustomEvent(CONTEXT_UPDATE);\n  document.dispatchEvent(event);\n}\n__name(dispatchUpdate, \"dispatchUpdate\");\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n  const target = detail.originalEvent.target;\n  const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n  if (handler) target.addEventListener(name, handler, { once: true });\n  if (discrete) {\n    dispatchDiscreteCustomEvent(target, event);\n  } else {\n    target.dispatchEvent(event);\n  }\n}\n__name(handleAndDispatchCustomEvent, \"handleAndDispatchCustomEvent\");\nexport {\n  DismissableLayerBranch as Branch,\n  DismissableLayer,\n  DismissableLayerBranch,\n  DismissableLayer as Root,\n  useDismissableLayerSurface\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n  return /* @__PURE__ */ __name(function handleEvent(event) {\n    originalEventHandler?.(event);\n    if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {\n      return ourEventHandler?.(event);\n    }\n  }, \"handleEvent\");\n}\n__name(composeEventHandlers, \"composeEventHandlers\");\nfunction getOwnerWindow(element) {\n  if (!canUseDOM) {\n    throw new Error(\"Cannot access window outside of the DOM\");\n  }\n  return element?.ownerDocument?.defaultView ?? window;\n}\n__name(getOwnerWindow, \"getOwnerWindow\");\nfunction getOwnerDocument(element) {\n  if (!canUseDOM) {\n    throw new Error(\"Cannot access document outside of the DOM\");\n  }\n  return element?.ownerDocument ?? document;\n}\n__name(getOwnerDocument, \"getOwnerDocument\");\nfunction getActiveElement(node, activeDescendant = false) {\n  const { activeElement } = getOwnerDocument(node);\n  if (!activeElement?.nodeName) {\n    return null;\n  }\n  if (isFrame(activeElement) && activeElement.contentDocument) {\n    return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n  }\n  if (activeDescendant) {\n    const id = activeElement.getAttribute(\"aria-activedescendant\");\n    if (id) {\n      const element = getOwnerDocument(activeElement).getElementById(id);\n      if (element) {\n        return element;\n      }\n    }\n  }\n  return activeElement;\n}\n__name(getActiveElement, \"getActiveElement\");\nfunction isFrame(element) {\n  return element.tagName === \"IFRAME\";\n}\n__name(isFrame, \"isFrame\");\nexport {\n  canUseDOM,\n  composeEventHandlers,\n  getActiveElement,\n  getOwnerDocument,\n  getOwnerWindow,\n  isFrame\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n  if (typeof ref === \"function\") {\n    return ref(value);\n  } else if (ref !== null && ref !== void 0) {\n    ref.current = value;\n  }\n}\n__name(setRef, \"setRef\");\nfunction composeRefs(...refs) {\n  return (node) => {\n    let hasCleanup = false;\n    const cleanups = refs.map((ref) => {\n      const cleanup = setRef(ref, node);\n      if (!hasCleanup && typeof cleanup == \"function\") {\n        hasCleanup = true;\n      }\n      return cleanup;\n    });\n    if (hasCleanup) {\n      return () => {\n        for (let i = 0; i < cleanups.length; i++) {\n          const cleanup = cleanups[i];\n          if (typeof cleanup == \"function\") {\n            cleanup();\n          } else {\n            setRef(refs[i], null);\n          }\n        }\n      };\n    }\n  };\n}\n__name(composeRefs, \"composeRefs\");\nfunction useComposedRefs(...refs) {\n  return React.useCallback(composeRefs(...refs), refs);\n}\n__name(useComposedRefs, \"useComposedRefs\");\nexport {\n  composeRefs,\n  useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createContext2(rootComponentName, defaultContext) {\n  const Context = React.createContext(defaultContext);\n  Context.displayName = rootComponentName + \"Context\";\n  const Provider = /* @__PURE__ */ __name((props) => {\n    const { children, ...context } = props;\n    const value = React.useMemo(() => context, Object.values(context));\n    return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n  }, \"Provider\");\n  Provider.displayName = rootComponentName + \"Provider\";\n  function useContext2(consumerName, options = {}) {\n    const { optional = false } = options;\n    const context = React.useContext(Context);\n    if (context) return context;\n    if (defaultContext !== void 0) return defaultContext;\n    if (optional) return void 0;\n    throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n  }\n  __name(useContext2, \"useContext\");\n  return [Provider, useContext2];\n}\n__name(createContext2, \"createContext\");\n// @__NO_SIDE_EFFECTS__\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n  let defaultContexts = [];\n  function createContext3(rootComponentName, defaultContext) {\n    const BaseContext = React.createContext(defaultContext);\n    BaseContext.displayName = rootComponentName + \"Context\";\n    const index = defaultContexts.length;\n    defaultContexts = [...defaultContexts, defaultContext];\n    const Provider = /* @__PURE__ */ __name((props) => {\n      const { scope, children, ...context } = props;\n      const Context = scope?.[scopeName]?.[index] || BaseContext;\n      const value = React.useMemo(() => context, Object.values(context));\n      return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n    }, \"Provider\");\n    Provider.displayName = rootComponentName + \"Provider\";\n    function useContext2(consumerName, scope, options = {}) {\n      const { optional = false } = options;\n      const Context = scope?.[scopeName]?.[index] || BaseContext;\n      const context = React.useContext(Context);\n      if (context) return context;\n      if (defaultContext !== void 0) return defaultContext;\n      if (optional) return void 0;\n      throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n    }\n    __name(useContext2, \"useContext\");\n    return [Provider, useContext2];\n  }\n  __name(createContext3, \"createContext\");\n  const createScope = /* @__PURE__ */ __name(() => {\n    const scopeContexts = defaultContexts.map((defaultContext) => {\n      return React.createContext(defaultContext);\n    });\n    return /* @__PURE__ */ __name(function useScope(scope) {\n      const contexts = scope?.[scopeName] || scopeContexts;\n      return React.useMemo(\n        () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n        [scope, contexts]\n      );\n    }, \"useScope\");\n  }, \"createScope\");\n  createScope.scopeName = scopeName;\n  return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\n__name(createContextScope, \"createContextScope\");\nfunction composeContextScopes(...scopes) {\n  const baseScope = scopes[0];\n  if (scopes.length === 1) return baseScope;\n  const createScope = /* @__PURE__ */ __name(() => {\n    const scopeHooks = scopes.map((createScope2) => ({\n      useScope: createScope2(),\n      scopeName: createScope2.scopeName\n    }));\n    return /* @__PURE__ */ __name(function useComposedScopes(overrideScopes) {\n      const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n        const scopeProps = useScope(overrideScopes);\n        const currentScope = scopeProps[`__scope${scopeName}`];\n        return { ...nextScopes2, ...currentScope };\n      }, {});\n      return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n    }, \"useComposedScopes\");\n  }, \"createScope\");\n  createScope.scopeName = baseScope.scopeName;\n  return createScope;\n}\n__name(composeContextScopes, \"composeContextScopes\");\nexport {\n  createContext2 as createContext,\n  createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n  if (typeof ref === \"function\") {\n    return ref(value);\n  } else if (ref !== null && ref !== void 0) {\n    ref.current = value;\n  }\n}\n__name(setRef, \"setRef\");\nfunction composeRefs(...refs) {\n  return (node) => {\n    let hasCleanup = false;\n    const cleanups = refs.map((ref) => {\n      const cleanup = setRef(ref, node);\n      if (!hasCleanup && typeof cleanup == \"function\") {\n        hasCleanup = true;\n      }\n      return cleanup;\n    });\n    if (hasCleanup) {\n      return () => {\n        for (let i = 0; i < cleanups.length; i++) {\n          const cleanup = cleanups[i];\n          if (typeof cleanup == \"function\") {\n            cleanup();\n          } else {\n            setRef(refs[i], null);\n          }\n        }\n      };\n    }\n  };\n}\n__name(composeRefs, \"composeRefs\");\nfunction useComposedRefs(...refs) {\n  return React.useCallback(composeRefs(...refs), refs);\n}\n__name(useComposedRefs, \"useComposedRefs\");\nexport {\n  composeRefs,\n  useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n  const Slot2 = React.forwardRef((props, forwardedRef) => {\n    let { children, ...slotProps } = props;\n    let slottableElement = null;\n    let hasSlottable = false;\n    const newChildren = [];\n    children = useUnwrappedLazy(children);\n    React.Children.forEach(children, (maybeSlottable) => {\n      if (isSlottable(maybeSlottable)) {\n        hasSlottable = true;\n        const slottable = maybeSlottable;\n        let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n        while (isLazyComponent(child) && typeof use === \"function\") {\n          child = use(child._payload);\n        }\n        slottableElement = getSlottableElementFromSlottable(slottable, child);\n        newChildren.push(slottableElement?.props?.children);\n      } else {\n        newChildren.push(maybeSlottable);\n      }\n    });\n    if (slottableElement) {\n      slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n    } else if (\n      // A `Slottable` was found but it didn't resolve to a single element (e.g.\n      // it wrapped multiple elements, text, or a render-prop `child` that\n      // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n      // itself as the slot target — throw a descriptive error below instead.\n      !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n    ) {\n      slottableElement = children;\n    }\n    const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n    const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n    if (!slottableElement) {\n      if (children || children === 0) {\n        throw new Error(\n          hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n        );\n      }\n      return children;\n    }\n    const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n    if (slottableElement.type !== React.Fragment) {\n      mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n    }\n    return React.cloneElement(slottableElement, mergedProps);\n  });\n  Slot2.displayName = `${ownerName}.Slot`;\n  return Slot2;\n}\n__name(createSlot, \"createSlot\");\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n  const Slottable2 = /* @__PURE__ */ __name((props) => \"child\" in props ? props.children(props.child) : props.children, \"Slottable\");\n  Slottable2.displayName = `${ownerName}.Slottable`;\n  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n  return Slottable2;\n}\n__name(createSlottable, \"createSlottable\");\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = /* @__PURE__ */ __name((slottable, child) => {\n  if (\"child\" in slottable.props) {\n    if (!React.isValidElement(child)) return null;\n    return React.cloneElement(child, void 0, slottable.props.children(child.props.children));\n  }\n  return React.isValidElement(child) ? child : null;\n}, \"getSlottableElementFromSlottable\");\nfunction mergeProps(slotProps, childProps) {\n  const overrideProps = { ...childProps };\n  for (const propName in childProps) {\n    const slotPropValue = slotProps[propName];\n    const childPropValue = childProps[propName];\n    const isHandler = /^on[A-Z]/.test(propName);\n    if (isHandler) {\n      if (slotPropValue && childPropValue) {\n        overrideProps[propName] = (...args) => {\n          const result = childPropValue(...args);\n          slotPropValue(...args);\n          return result;\n        };\n      } else if (slotPropValue) {\n        overrideProps[propName] = slotPropValue;\n      }\n    } else if (propName === \"style\") {\n      overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n    } else if (propName === \"className\") {\n      overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n    } else if (propName === \"aria-describedby\") {\n      overrideProps[propName] = concatAriaDescribedby(childPropValue, slotPropValue);\n    }\n  }\n  return { ...slotProps, ...overrideProps };\n}\n__name(mergeProps, \"mergeProps\");\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n  let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.ref;\n  }\n  getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n  mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.props.ref;\n  }\n  return element.props.ref || element.ref;\n}\n__name(getElementRef, \"getElementRef\");\nfunction isSlottable(child) {\n  return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\n__name(isSlottable, \"isSlottable\");\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n  return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\n__name(isLazyComponent, \"isLazyComponent\");\nfunction isPromiseLike(value) {\n  return typeof value === \"object\" && value !== null && \"then\" in value;\n}\n__name(isPromiseLike, \"isPromiseLike\");\nfunction useUnwrappedLazy(value) {\n  let unwrapped = value;\n  while (isLazyComponent(unwrapped) && typeof use === \"function\") {\n    unwrapped = use(unwrapped._payload);\n  }\n  return unwrapped;\n}\n__name(useUnwrappedLazy, \"useUnwrappedLazy\");\nfunction concatAriaDescribedby(...values) {\n  const ids = /* @__PURE__ */ new Set();\n  for (const value of values) {\n    if (typeof value !== \"string\") continue;\n    for (const id of String(value).trim().split(/\\s+/)) {\n      if (id) ids.add(id);\n    }\n  }\n  return ids.size > 0 ? Array.from(ids).join(\" \") : void 0;\n}\n__name(concatAriaDescribedby, \"concatAriaDescribedby\");\nvar createSlotError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n}, \"createSlotError\");\nvar createSlottableError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n}, \"createSlottableError\");\nvar use = React[\" use \".trim().toString()];\nexport {\n  Slot as Root,\n  Slot,\n  Slottable,\n  createSlot,\n  createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","// src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n  useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/collection-legacy.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createCollection(name) {\n  const PROVIDER_NAME = name + \"CollectionProvider\";\n  const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n  const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n    PROVIDER_NAME,\n    { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n  );\n  const CollectionProvider = /* @__PURE__ */ __name((props) => {\n    const { scope, children } = props;\n    const ref = React.useRef(null);\n    const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n    return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n  }, \"CollectionProvider\");\n  CollectionProvider.displayName = PROVIDER_NAME;\n  const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n  const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n  const CollectionSlot = React.forwardRef(\n    (props, forwardedRef) => {\n      const { scope, children } = props;\n      const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n      const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n      return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n    }\n  );\n  CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n  const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n  const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n  const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n  const CollectionItemSlot = React.forwardRef(\n    (props, forwardedRef) => {\n      const { scope, children, ...itemData } = props;\n      const ref = React.useRef(null);\n      const composedRefs = useComposedRefs(forwardedRef, ref);\n      const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n      React.useEffect(() => {\n        context.itemMap.set(ref, { ref, ...itemData });\n        return () => void context.itemMap.delete(ref);\n      });\n      return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n    }\n  );\n  CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n  function useCollection(scope) {\n    const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n    const getItems = React.useCallback(() => {\n      const collectionNode = context.collectionRef.current;\n      if (!collectionNode) return [];\n      const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n      const items = Array.from(context.itemMap.values());\n      const orderedItems = items.sort(\n        (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n      );\n      return orderedItems;\n    }, [context.collectionRef, context.itemMap]);\n    return getItems;\n  }\n  __name(useCollection, \"useCollection\");\n  return [\n    { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n    useCollection,\n    createCollectionScope\n  ];\n}\n__name(createCollection, \"createCollection\");\n\n// src/collection.tsx\nimport * as React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n  static {\n    __name(this, \"OrderedDict\");\n  }\n  #keys;\n  constructor(entries) {\n    super(entries);\n    this.#keys = [...super.keys()];\n    __instanciated.set(this, true);\n  }\n  set(key, value) {\n    if (__instanciated.get(this) && !this.has(key)) {\n      this.#keys.push(key);\n    }\n    super.set(key, value);\n    return this;\n  }\n  /**\n   * Sets a key-value pair so that it ends up at the given index.\n   * - Existing keys are moved\n   * - Negative indices count from the end of the resulting dictionary, so\n   *   inserting at -1 makes the item the last one, -2 the second to last, etc.\n   * - Out-of-range indices are clamped\n   */\n  insert(index, key, value) {\n    const has = this.has(key);\n    const finalSize = has ? this.size : this.size + 1;\n    const relativeIndex = toSafeInteger(index);\n    const targetIndex = relativeIndex >= 0 ? Math.min(relativeIndex, finalSize - 1) : Math.max(finalSize + relativeIndex, 0);\n    if (has ? this.#keys.indexOf(key) === targetIndex : targetIndex === this.size) {\n      this.set(key, value);\n      return this;\n    }\n    const keys = this.#keys.filter((existingKey) => existingKey !== key);\n    keys.splice(targetIndex, 0, key);\n    const entries = keys.map((entryKey) => [\n      entryKey,\n      entryKey === key ? value : this.get(entryKey)\n    ]);\n    this.clear();\n    for (const [entryKey, entryValue] of entries) {\n      this.set(entryKey, entryValue);\n    }\n    return this;\n  }\n  with(index, key, value) {\n    const copy = new _OrderedDict(this);\n    copy.insert(index, key, value);\n    return copy;\n  }\n  before(key) {\n    const index = this.#keys.indexOf(key) - 1;\n    if (index < 0) {\n      return void 0;\n    }\n    return this.entryAt(index);\n  }\n  /**\n   * Sets a new key-value pair at the position before the given key.\n   */\n  setBefore(key, newKey, value) {\n    const index = this.#keys.indexOf(key);\n    if (index === -1) {\n      return this;\n    }\n    const currentIndex = this.#keys.indexOf(newKey);\n    const targetIndex = currentIndex !== -1 && currentIndex < index ? index - 1 : index;\n    return this.insert(targetIndex, newKey, value);\n  }\n  after(key) {\n    let index = this.#keys.indexOf(key);\n    index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n    if (index === -1) {\n      return void 0;\n    }\n    return this.entryAt(index);\n  }\n  /**\n   * Sets a new key-value pair at the position after the given key.\n   */\n  setAfter(key, newKey, value) {\n    const index = this.#keys.indexOf(key);\n    if (index === -1) {\n      return this;\n    }\n    const currentIndex = this.#keys.indexOf(newKey);\n    const targetIndex = currentIndex !== -1 && currentIndex <= index ? index : index + 1;\n    return this.insert(targetIndex, newKey, value);\n  }\n  first() {\n    return this.entryAt(0);\n  }\n  last() {\n    return this.entryAt(-1);\n  }\n  clear() {\n    this.#keys = [];\n    return super.clear();\n  }\n  delete(key) {\n    const deleted = super.delete(key);\n    if (deleted) {\n      this.#keys.splice(this.#keys.indexOf(key), 1);\n    }\n    return deleted;\n  }\n  deleteAt(index) {\n    const key = this.keyAt(index);\n    if (key !== void 0) {\n      return this.delete(key);\n    }\n    return false;\n  }\n  at(index) {\n    const key = at(this.#keys, index);\n    if (key !== void 0) {\n      return this.get(key);\n    }\n  }\n  entryAt(index) {\n    const key = at(this.#keys, index);\n    if (key !== void 0) {\n      return [key, this.get(key)];\n    }\n  }\n  indexOf(key) {\n    return this.#keys.indexOf(key);\n  }\n  keyAt(index) {\n    return at(this.#keys, index);\n  }\n  from(key, offset) {\n    const index = this.indexOf(key);\n    if (index === -1) {\n      return void 0;\n    }\n    let dest = index + offset;\n    if (dest < 0) dest = 0;\n    if (dest >= this.size) dest = this.size - 1;\n    return this.at(dest);\n  }\n  keyFrom(key, offset) {\n    const index = this.indexOf(key);\n    if (index === -1) {\n      return void 0;\n    }\n    let dest = index + offset;\n    if (dest < 0) dest = 0;\n    if (dest >= this.size) dest = this.size - 1;\n    return this.keyAt(dest);\n  }\n  find(predicate, thisArg) {\n    let index = 0;\n    for (const entry of this) {\n      if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n        return entry;\n      }\n      index++;\n    }\n    return void 0;\n  }\n  findIndex(predicate, thisArg) {\n    let index = 0;\n    for (const entry of this) {\n      if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n        return index;\n      }\n      index++;\n    }\n    return -1;\n  }\n  filter(predicate, thisArg) {\n    const entries = [];\n    let index = 0;\n    for (const entry of this) {\n      if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n        entries.push(entry);\n      }\n      index++;\n    }\n    return new _OrderedDict(entries);\n  }\n  map(callbackfn, thisArg) {\n    const entries = [];\n    let index = 0;\n    for (const entry of this) {\n      entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n      index++;\n    }\n    return new _OrderedDict(entries);\n  }\n  reduce(...args) {\n    const [callbackfn, initialValue] = args;\n    const hasInitialValue = args.length > 1;\n    if (!hasInitialValue && this.size === 0) {\n      throw new TypeError(\"Reduce of empty OrderedDict with no initial value\");\n    }\n    let index = 0;\n    let accumulator = initialValue;\n    for (const entry of this) {\n      if (index === 0 && !hasInitialValue) {\n        accumulator = entry;\n      } else {\n        accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n      }\n      index++;\n    }\n    return accumulator;\n  }\n  reduceRight(...args) {\n    const [callbackfn, initialValue] = args;\n    const hasInitialValue = args.length > 1;\n    if (!hasInitialValue && this.size === 0) {\n      throw new TypeError(\"Reduce of empty OrderedDict with no initial value\");\n    }\n    let accumulator = initialValue;\n    for (let index = this.size - 1; index >= 0; index--) {\n      const entry = this.entryAt(index);\n      if (index === this.size - 1 && !hasInitialValue) {\n        accumulator = entry;\n      } else {\n        accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n      }\n    }\n    return accumulator;\n  }\n  /**\n   * Sorts the dictionary in place. This method mutates the dictionary and\n   * returns a reference to the same object\n   *\n   * @param compareFn Function used to determine the order of the elements. It\n   * is expected to return a negative value if the first argument is less than\n   * the second argument, zero if they're equal, and a positive value otherwise.\n   */\n  sort(compareFn) {\n    if (typeof compareFn !== \"function\") {\n      throw new TypeError(`OrderedDict.sort requires a compare function`);\n    }\n    const entries = [...this.entries()].sort(compareFn);\n    this.clear();\n    for (const [key, value] of entries) {\n      this.set(key, value);\n    }\n    return this;\n  }\n  /**\n   * Returns a copy of the dictionary with its elements sorted.\n   *\n   * @param compareFn Function used to determine the order of the elements. It\n   * is expected to return a negative value if the first argument is less than\n   * the second argument, zero if they're equal, and a positive value otherwise.\n   */\n  toSorted(compareFn) {\n    if (typeof compareFn !== \"function\") {\n      throw new TypeError(`OrderedDict.toSorted requires a compare function`);\n    }\n    const entries = [...this.entries()].sort(compareFn);\n    return new _OrderedDict(entries);\n  }\n  toReversed() {\n    const reversed = new _OrderedDict();\n    for (let index = this.size - 1; index >= 0; index--) {\n      const key = this.keyAt(index);\n      const element = this.get(key);\n      reversed.set(key, element);\n    }\n    return reversed;\n  }\n  toSpliced(...args) {\n    const entries = [...this.entries()];\n    entries.splice(...args);\n    return new _OrderedDict(entries);\n  }\n  slice(start, end) {\n    const result = new _OrderedDict();\n    for (const key of this.#keys.slice(start, end)) {\n      result.set(key, this.get(key));\n    }\n    return result;\n  }\n  every(predicate, thisArg) {\n    let index = 0;\n    for (const entry of this) {\n      if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n        return false;\n      }\n      index++;\n    }\n    return true;\n  }\n  some(predicate, thisArg) {\n    let index = 0;\n    for (const entry of this) {\n      if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n        return true;\n      }\n      index++;\n    }\n    return false;\n  }\n};\nfunction at(array, index) {\n  if (\"at\" in Array.prototype) {\n    return Array.prototype.at.call(array, index);\n  }\n  const actualIndex = toSafeIndex(array, index);\n  return actualIndex === -1 ? void 0 : array[actualIndex];\n}\n__name(at, \"at\");\nfunction toSafeIndex(array, index) {\n  const length = array.length;\n  const relativeIndex = toSafeInteger(index);\n  const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n  return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\n__name(toSafeIndex, \"toSafeIndex\");\nfunction toSafeInteger(number) {\n  return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n__name(toSafeInteger, \"toSafeInteger\");\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createCollection2(name) {\n  const PROVIDER_NAME = name + \"CollectionProvider\";\n  const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n  const [CollectionStableContextProvider, useStableCollectionContext] = createCollectionContext(PROVIDER_NAME);\n  CollectionStableContextProvider.displayName = name + \"CollectionStableContextProvider\";\n  const [CollectionStatefulContextProvider, useStatefulCollectionContext] = createCollectionContext(PROVIDER_NAME);\n  CollectionStatefulContextProvider.displayName = name + \"CollectionStatefulContextProvider\";\n  const CollectionProvider = /* @__PURE__ */ __name(({ state, ...props }) => {\n    return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n  }, \"CollectionProvider\");\n  CollectionProvider.displayName = PROVIDER_NAME;\n  const CollectionInit = /* @__PURE__ */ __name((props) => {\n    const state = useInitCollection();\n    return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n  }, \"CollectionInit\");\n  CollectionInit.displayName = name + \"CollectionInit\";\n  const CollectionProviderImpl = /* @__PURE__ */ __name((props) => {\n    const { scope, children, state } = props;\n    const ref = React2.useRef(null);\n    const [collectionElement, setCollectionElement] = React2.useState(\n      null\n    );\n    const composeRefs = useComposedRefs2(ref, setCollectionElement);\n    const [collection, setCollection] = state;\n    const registryRef = React2.useRef(\n      new OrderedDict()\n    );\n    const getCollection = React2.useCallback(() => {\n      const registry = registryRef.current;\n      if (!isInDocumentOrder(registry)) {\n        registry.sort(sortByDocumentPosition);\n      }\n      return registry;\n    }, []);\n    React2.useEffect(() => {\n      if (!collectionElement) {\n        return;\n      }\n      const observer = getChildListObserver(() => {\n        setCollection((map) => {\n          const sorted = map.toSorted(sortByDocumentPosition);\n          const orderChanged = sorted.some(([key], index) => map.keyAt(index) !== key);\n          return orderChanged ? sorted : map;\n        });\n      });\n      observer.observe(collectionElement, {\n        childList: true,\n        subtree: true\n      });\n      return () => {\n        observer.disconnect();\n      };\n    }, [collectionElement, setCollection]);\n    return /* @__PURE__ */ jsx2(\n      CollectionStableContextProvider,\n      {\n        scope,\n        collectionElementRef: composeRefs,\n        collectionElementRefObject: ref,\n        getCollection,\n        setCollection,\n        registryRef,\n        children: /* @__PURE__ */ jsx2(\n          CollectionStatefulContextProvider,\n          {\n            scope,\n            collectionElement,\n            collection,\n            children\n          }\n        )\n      }\n    );\n  }, \"CollectionProviderImpl\");\n  CollectionProviderImpl.displayName = name + \"CollectionProviderImpl\";\n  const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n  const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n  const CollectionSlot = React2.forwardRef(\n    (props, forwardedRef) => {\n      const { scope, children } = props;\n      const context = useStableCollectionContext(COLLECTION_SLOT_NAME, scope);\n      const composedRefs = useComposedRefs2(forwardedRef, context.collectionElementRef);\n      return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n    }\n  );\n  CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n  const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n  const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n  const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n  const CollectionItemSlot = React2.forwardRef(\n    (props, forwardedRef) => {\n      const { scope, children, ...itemData } = props;\n      const ref = React2.useRef(null);\n      const context = useStableCollectionContext(ITEM_SLOT_NAME, scope);\n      const { setCollection, registryRef } = context;\n      const itemDataRef = React2.useRef(itemData);\n      if (!shallowEqual(itemDataRef.current, itemData)) {\n        itemDataRef.current = itemData;\n      }\n      const memoizedItemData = itemDataRef.current;\n      const registerElement = React2.useCallback(\n        (node) => {\n          const registry = registryRef.current;\n          if (node) {\n            registry.set(node, {\n              ...itemDataRef.current,\n              element: node\n            });\n          } else if (ref.current) {\n            registry.delete(ref.current);\n          }\n        },\n        [registryRef]\n      );\n      const composedRefs = useComposedRefs2(forwardedRef, registerElement, ref);\n      useLayoutEffect(() => {\n        const node = ref.current;\n        const registry = registryRef.current;\n        if (node && registry.has(node)) {\n          registry.set(node, { ...memoizedItemData, element: node });\n        }\n      }, [memoizedItemData, registryRef]);\n      const registeredRef = React2.useRef(null);\n      React2.useEffect(() => {\n        const element = ref.current;\n        const registered = registeredRef.current;\n        if ((registered?.element ?? null) === element && (!element || registered?.itemData === memoizedItemData)) {\n          return;\n        }\n        registeredRef.current = element ? { element, itemData: memoizedItemData } : null;\n        setCollection((map) => {\n          const next = new OrderedDict(map);\n          if (registered && registered.element !== element) {\n            next.delete(registered.element);\n          }\n          if (element) {\n            next.set(element, { ...memoizedItemData, element });\n          }\n          return next.sort(sortByDocumentPosition);\n        });\n      });\n      React2.useEffect(() => {\n        return () => {\n          const registered = registeredRef.current;\n          registeredRef.current = null;\n          if (!registered) {\n            return;\n          }\n          setCollection((map) => {\n            if (!map.has(registered.element)) {\n              return map;\n            }\n            const next = new OrderedDict(map);\n            next.delete(registered.element);\n            return next;\n          });\n        };\n      }, [setCollection]);\n      return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n    }\n  );\n  CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n  function useInitCollection() {\n    return React2.useState(new OrderedDict());\n  }\n  __name(useInitCollection, \"useInitCollection\");\n  function useCollection(scope) {\n    const { collection } = useStatefulCollectionContext(name + \"CollectionConsumer\", scope);\n    return collection;\n  }\n  __name(useCollection, \"useCollection\");\n  function useGetCollection(scope) {\n    const { getCollection } = useStableCollectionContext(name + \"CollectionConsumer\", scope);\n    return getCollection;\n  }\n  __name(useGetCollection, \"useGetCollection\");\n  const functions = {\n    createCollectionScope,\n    useCollection,\n    useGetCollection,\n    useInitCollection\n  };\n  return [\n    { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n    functions\n  ];\n}\n__name(createCollection2, \"createCollection\");\nfunction shallowEqual(a, b) {\n  if (a === b) return true;\n  if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n  if (a == null || b == null) return false;\n  const keysA = Object.keys(a);\n  const keysB = Object.keys(b);\n  if (keysA.length !== keysB.length) return false;\n  for (const key of keysA) {\n    if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n    if (a[key] !== b[key]) return false;\n  }\n  return true;\n}\n__name(shallowEqual, \"shallowEqual\");\nfunction isElementPreceding(a, b) {\n  return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\n__name(isElementPreceding, \"isElementPreceding\");\nfunction isInDocumentOrder(dict) {\n  let previous;\n  for (const element of dict.keys()) {\n    if (previous) {\n      const position = previous.compareDocumentPosition(element);\n      if (!(position & Node.DOCUMENT_POSITION_DISCONNECTED) && position & Node.DOCUMENT_POSITION_PRECEDING) {\n        return false;\n      }\n    }\n    previous = element;\n  }\n  return true;\n}\n__name(isInDocumentOrder, \"isInDocumentOrder\");\nfunction sortByDocumentPosition(a, b) {\n  return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\n__name(sortByDocumentPosition, \"sortByDocumentPosition\");\nfunction getChildListObserver(callback) {\n  const observer = new MutationObserver((mutationsList) => {\n    for (const mutation of mutationsList) {\n      if (mutation.type === \"childList\") {\n        callback();\n        return;\n      }\n    }\n  });\n  return observer;\n}\n__name(getChildListObserver, \"getChildListObserver\");\nexport {\n  createCollection,\n  createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createContext2(rootComponentName, defaultContext) {\n  const Context = React.createContext(defaultContext);\n  Context.displayName = rootComponentName + \"Context\";\n  const Provider = /* @__PURE__ */ __name((props) => {\n    const { children, ...context } = props;\n    const value = React.useMemo(() => context, Object.values(context));\n    return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n  }, \"Provider\");\n  Provider.displayName = rootComponentName + \"Provider\";\n  function useContext2(consumerName, options = {}) {\n    const { optional = false } = options;\n    const context = React.useContext(Context);\n    if (context) return context;\n    if (defaultContext !== void 0) return defaultContext;\n    if (optional) return void 0;\n    throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n  }\n  __name(useContext2, \"useContext\");\n  return [Provider, useContext2];\n}\n__name(createContext2, \"createContext\");\n// @__NO_SIDE_EFFECTS__\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n  let defaultContexts = [];\n  function createContext3(rootComponentName, defaultContext) {\n    const BaseContext = React.createContext(defaultContext);\n    BaseContext.displayName = rootComponentName + \"Context\";\n    const index = defaultContexts.length;\n    defaultContexts = [...defaultContexts, defaultContext];\n    const Provider = /* @__PURE__ */ __name((props) => {\n      const { scope, children, ...context } = props;\n      const Context = scope?.[scopeName]?.[index] || BaseContext;\n      const value = React.useMemo(() => context, Object.values(context));\n      return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n    }, \"Provider\");\n    Provider.displayName = rootComponentName + \"Provider\";\n    function useContext2(consumerName, scope, options = {}) {\n      const { optional = false } = options;\n      const Context = scope?.[scopeName]?.[index] || BaseContext;\n      const context = React.useContext(Context);\n      if (context) return context;\n      if (defaultContext !== void 0) return defaultContext;\n      if (optional) return void 0;\n      throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n    }\n    __name(useContext2, \"useContext\");\n    return [Provider, useContext2];\n  }\n  __name(createContext3, \"createContext\");\n  const createScope = /* @__PURE__ */ __name(() => {\n    const scopeContexts = defaultContexts.map((defaultContext) => {\n      return React.createContext(defaultContext);\n    });\n    return /* @__PURE__ */ __name(function useScope(scope) {\n      const contexts = scope?.[scopeName] || scopeContexts;\n      return React.useMemo(\n        () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n        [scope, contexts]\n      );\n    }, \"useScope\");\n  }, \"createScope\");\n  createScope.scopeName = scopeName;\n  return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\n__name(createContextScope, \"createContextScope\");\nfunction composeContextScopes(...scopes) {\n  const baseScope = scopes[0];\n  if (scopes.length === 1) return baseScope;\n  const createScope = /* @__PURE__ */ __name(() => {\n    const scopeHooks = scopes.map((createScope2) => ({\n      useScope: createScope2(),\n      scopeName: createScope2.scopeName\n    }));\n    return /* @__PURE__ */ __name(function useComposedScopes(overrideScopes) {\n      const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n        const scopeProps = useScope(overrideScopes);\n        const currentScope = scopeProps[`__scope${scopeName}`];\n        return { ...nextScopes2, ...currentScope };\n      }, {});\n      return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n    }, \"useComposedScopes\");\n  }, \"createScope\");\n  createScope.scopeName = baseScope.scopeName;\n  return createScope;\n}\n__name(composeContextScopes, \"composeContextScopes\");\nexport {\n  createContext2 as createContext,\n  createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n  if (typeof ref === \"function\") {\n    return ref(value);\n  } else if (ref !== null && ref !== void 0) {\n    ref.current = value;\n  }\n}\n__name(setRef, \"setRef\");\nfunction composeRefs(...refs) {\n  return (node) => {\n    let hasCleanup = false;\n    const cleanups = refs.map((ref) => {\n      const cleanup = setRef(ref, node);\n      if (!hasCleanup && typeof cleanup == \"function\") {\n        hasCleanup = true;\n      }\n      return cleanup;\n    });\n    if (hasCleanup) {\n      return () => {\n        for (let i = 0; i < cleanups.length; i++) {\n          const cleanup = cleanups[i];\n          if (typeof cleanup == \"function\") {\n            cleanup();\n          } else {\n            setRef(refs[i], null);\n          }\n        }\n      };\n    }\n  };\n}\n__name(composeRefs, \"composeRefs\");\nfunction useComposedRefs(...refs) {\n  return React.useCallback(composeRefs(...refs), refs);\n}\n__name(useComposedRefs, \"useComposedRefs\");\nexport {\n  composeRefs,\n  useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n  const Slot2 = React.forwardRef((props, forwardedRef) => {\n    let { children, ...slotProps } = props;\n    let slottableElement = null;\n    let hasSlottable = false;\n    const newChildren = [];\n    children = useUnwrappedLazy(children);\n    React.Children.forEach(children, (maybeSlottable) => {\n      if (isSlottable(maybeSlottable)) {\n        hasSlottable = true;\n        const slottable = maybeSlottable;\n        let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n        while (isLazyComponent(child) && typeof use === \"function\") {\n          child = use(child._payload);\n        }\n        slottableElement = getSlottableElementFromSlottable(slottable, child);\n        newChildren.push(slottableElement?.props?.children);\n      } else {\n        newChildren.push(maybeSlottable);\n      }\n    });\n    if (slottableElement) {\n      slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n    } else if (\n      // A `Slottable` was found but it didn't resolve to a single element (e.g.\n      // it wrapped multiple elements, text, or a render-prop `child` that\n      // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n      // itself as the slot target — throw a descriptive error below instead.\n      !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n    ) {\n      slottableElement = children;\n    }\n    const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n    const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n    if (!slottableElement) {\n      if (children || children === 0) {\n        throw new Error(\n          hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n        );\n      }\n      return children;\n    }\n    const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n    if (slottableElement.type !== React.Fragment) {\n      mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n    }\n    return React.cloneElement(slottableElement, mergedProps);\n  });\n  Slot2.displayName = `${ownerName}.Slot`;\n  return Slot2;\n}\n__name(createSlot, \"createSlot\");\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n  const Slottable2 = /* @__PURE__ */ __name((props) => \"child\" in props ? props.children(props.child) : props.children, \"Slottable\");\n  Slottable2.displayName = `${ownerName}.Slottable`;\n  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n  return Slottable2;\n}\n__name(createSlottable, \"createSlottable\");\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = /* @__PURE__ */ __name((slottable, child) => {\n  if (\"child\" in slottable.props) {\n    if (!React.isValidElement(child)) return null;\n    return React.cloneElement(child, void 0, slottable.props.children(child.props.children));\n  }\n  return React.isValidElement(child) ? child : null;\n}, \"getSlottableElementFromSlottable\");\nfunction mergeProps(slotProps, childProps) {\n  const overrideProps = { ...childProps };\n  for (const propName in childProps) {\n    const slotPropValue = slotProps[propName];\n    const childPropValue = childProps[propName];\n    const isHandler = /^on[A-Z]/.test(propName);\n    if (isHandler) {\n      if (slotPropValue && childPropValue) {\n        overrideProps[propName] = (...args) => {\n          const result = childPropValue(...args);\n          slotPropValue(...args);\n          return result;\n        };\n      } else if (slotPropValue) {\n        overrideProps[propName] = slotPropValue;\n      }\n    } else if (propName === \"style\") {\n      overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n    } else if (propName === \"className\") {\n      overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n    } else if (propName === \"aria-describedby\") {\n      overrideProps[propName] = concatAriaDescribedby(childPropValue, slotPropValue);\n    }\n  }\n  return { ...slotProps, ...overrideProps };\n}\n__name(mergeProps, \"mergeProps\");\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n  let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.ref;\n  }\n  getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n  mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.props.ref;\n  }\n  return element.props.ref || element.ref;\n}\n__name(getElementRef, \"getElementRef\");\nfunction isSlottable(child) {\n  return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\n__name(isSlottable, \"isSlottable\");\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n  return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\n__name(isLazyComponent, \"isLazyComponent\");\nfunction isPromiseLike(value) {\n  return typeof value === \"object\" && value !== null && \"then\" in value;\n}\n__name(isPromiseLike, \"isPromiseLike\");\nfunction useUnwrappedLazy(value) {\n  let unwrapped = value;\n  while (isLazyComponent(unwrapped) && typeof use === \"function\") {\n    unwrapped = use(unwrapped._payload);\n  }\n  return unwrapped;\n}\n__name(useUnwrappedLazy, \"useUnwrappedLazy\");\nfunction concatAriaDescribedby(...values) {\n  const ids = /* @__PURE__ */ new Set();\n  for (const value of values) {\n    if (typeof value !== \"string\") continue;\n    for (const id of String(value).trim().split(/\\s+/)) {\n      if (id) ids.add(id);\n    }\n  }\n  return ids.size > 0 ? Array.from(ids).join(\" \") : void 0;\n}\n__name(concatAriaDescribedby, \"concatAriaDescribedby\");\nvar createSlotError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n}, \"createSlotError\");\nvar createSlottableError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n}, \"createSlottableError\");\nvar use = React[\" use \".trim().toString()];\nexport {\n  Slot as Root,\n  Slot,\n  Slottable,\n  createSlot,\n  createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n  \"a\",\n  \"button\",\n  \"div\",\n  \"form\",\n  \"h2\",\n  \"h3\",\n  \"img\",\n  \"input\",\n  \"label\",\n  \"li\",\n  \"nav\",\n  \"ol\",\n  \"p\",\n  \"select\",\n  \"span\",\n  \"svg\",\n  \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n  const Slot = createSlot(`Primitive.${node}`);\n  const Node = React.forwardRef((props, forwardedRef) => {\n    const { asChild, ...primitiveProps } = props;\n    const Comp = asChild ? Slot : node;\n    if (typeof window !== \"undefined\") {\n      window[Symbol.for(\"radix-ui\")] = true;\n    }\n    return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n  });\n  Node.displayName = `Primitive.${node}`;\n  return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n  if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\n__name(dispatchDiscreteCustomEvent, \"dispatchDiscreteCustomEvent\");\nexport {\n  Primitive,\n  Primitive as Root,\n  dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/use-callback-ref.tsx\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport * as React from \"react\";\nvar useReactInsertionEffect = React[\" useInsertionEffect \".trim().toString()];\nfunction useCallbackRef(callback) {\n  const callbackRef = React.useRef(callback);\n  if (typeof useReactInsertionEffect === \"function\") {\n    useReactInsertionEffect(() => {\n      callbackRef.current = callback;\n    });\n  } else {\n    useLayoutEffect(() => {\n      callbackRef.current = callback;\n    });\n  }\n  return React.useMemo(() => ((...args) => callbackRef.current?.(...args)), []);\n}\n__name(useCallbackRef, \"useCallbackRef\");\nexport {\n  useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n  if (typeof ref === \"function\") {\n    return ref(value);\n  } else if (ref !== null && ref !== void 0) {\n    ref.current = value;\n  }\n}\n__name(setRef, \"setRef\");\nfunction composeRefs(...refs) {\n  return (node) => {\n    let hasCleanup = false;\n    const cleanups = refs.map((ref) => {\n      const cleanup = setRef(ref, node);\n      if (!hasCleanup && typeof cleanup == \"function\") {\n        hasCleanup = true;\n      }\n      return cleanup;\n    });\n    if (hasCleanup) {\n      return () => {\n        for (let i = 0; i < cleanups.length; i++) {\n          const cleanup = cleanups[i];\n          if (typeof cleanup == \"function\") {\n            cleanup();\n          } else {\n            setRef(refs[i], null);\n          }\n        }\n      };\n    }\n  };\n}\n__name(composeRefs, \"composeRefs\");\nfunction useComposedRefs(...refs) {\n  return React.useCallback(composeRefs(...refs), refs);\n}\n__name(useComposedRefs, \"useComposedRefs\");\nexport {\n  composeRefs,\n  useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n  const Slot2 = React.forwardRef((props, forwardedRef) => {\n    let { children, ...slotProps } = props;\n    let slottableElement = null;\n    let hasSlottable = false;\n    const newChildren = [];\n    children = useUnwrappedLazy(children);\n    React.Children.forEach(children, (maybeSlottable) => {\n      if (isSlottable(maybeSlottable)) {\n        hasSlottable = true;\n        const slottable = maybeSlottable;\n        let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n        while (isLazyComponent(child) && typeof use === \"function\") {\n          child = use(child._payload);\n        }\n        slottableElement = getSlottableElementFromSlottable(slottable, child);\n        newChildren.push(slottableElement?.props?.children);\n      } else {\n        newChildren.push(maybeSlottable);\n      }\n    });\n    if (slottableElement) {\n      slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n    } else if (\n      // A `Slottable` was found but it didn't resolve to a single element (e.g.\n      // it wrapped multiple elements, text, or a render-prop `child` that\n      // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n      // itself as the slot target — throw a descriptive error below instead.\n      !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n    ) {\n      slottableElement = children;\n    }\n    const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n    const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n    if (!slottableElement) {\n      if (children || children === 0) {\n        throw new Error(\n          hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n        );\n      }\n      return children;\n    }\n    const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n    if (slottableElement.type !== React.Fragment) {\n      mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n    }\n    return React.cloneElement(slottableElement, mergedProps);\n  });\n  Slot2.displayName = `${ownerName}.Slot`;\n  return Slot2;\n}\n__name(createSlot, \"createSlot\");\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n  const Slottable2 = /* @__PURE__ */ __name((props) => \"child\" in props ? props.children(props.child) : props.children, \"Slottable\");\n  Slottable2.displayName = `${ownerName}.Slottable`;\n  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n  return Slottable2;\n}\n__name(createSlottable, \"createSlottable\");\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = /* @__PURE__ */ __name((slottable, child) => {\n  if (\"child\" in slottable.props) {\n    if (!React.isValidElement(child)) return null;\n    return React.cloneElement(child, void 0, slottable.props.children(child.props.children));\n  }\n  return React.isValidElement(child) ? child : null;\n}, \"getSlottableElementFromSlottable\");\nfunction mergeProps(slotProps, childProps) {\n  const overrideProps = { ...childProps };\n  for (const propName in childProps) {\n    const slotPropValue = slotProps[propName];\n    const childPropValue = childProps[propName];\n    const isHandler = /^on[A-Z]/.test(propName);\n    if (isHandler) {\n      if (slotPropValue && childPropValue) {\n        overrideProps[propName] = (...args) => {\n          const result = childPropValue(...args);\n          slotPropValue(...args);\n          return result;\n        };\n      } else if (slotPropValue) {\n        overrideProps[propName] = slotPropValue;\n      }\n    } else if (propName === \"style\") {\n      overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n    } else if (propName === \"className\") {\n      overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n    } else if (propName === \"aria-describedby\") {\n      overrideProps[propName] = concatAriaDescribedby(childPropValue, slotPropValue);\n    }\n  }\n  return { ...slotProps, ...overrideProps };\n}\n__name(mergeProps, \"mergeProps\");\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n  let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.ref;\n  }\n  getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n  mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.props.ref;\n  }\n  return element.props.ref || element.ref;\n}\n__name(getElementRef, \"getElementRef\");\nfunction isSlottable(child) {\n  return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\n__name(isSlottable, \"isSlottable\");\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n  return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\n__name(isLazyComponent, \"isLazyComponent\");\nfunction isPromiseLike(value) {\n  return typeof value === \"object\" && value !== null && \"then\" in value;\n}\n__name(isPromiseLike, \"isPromiseLike\");\nfunction useUnwrappedLazy(value) {\n  let unwrapped = value;\n  while (isLazyComponent(unwrapped) && typeof use === \"function\") {\n    unwrapped = use(unwrapped._payload);\n  }\n  return unwrapped;\n}\n__name(useUnwrappedLazy, \"useUnwrappedLazy\");\nfunction concatAriaDescribedby(...values) {\n  const ids = /* @__PURE__ */ new Set();\n  for (const value of values) {\n    if (typeof value !== \"string\") continue;\n    for (const id of String(value).trim().split(/\\s+/)) {\n      if (id) ids.add(id);\n    }\n  }\n  return ids.size > 0 ? Array.from(ids).join(\" \") : void 0;\n}\n__name(concatAriaDescribedby, \"concatAriaDescribedby\");\nvar createSlotError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n}, \"createSlotError\");\nvar createSlottableError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n}, \"createSlottableError\");\nvar use = React[\" use \".trim().toString()];\nexport {\n  Slot as Root,\n  Slot,\n  Slottable,\n  createSlot,\n  createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n  \"a\",\n  \"button\",\n  \"div\",\n  \"form\",\n  \"h2\",\n  \"h3\",\n  \"img\",\n  \"input\",\n  \"label\",\n  \"li\",\n  \"nav\",\n  \"ol\",\n  \"p\",\n  \"select\",\n  \"span\",\n  \"svg\",\n  \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n  const Slot = createSlot(`Primitive.${node}`);\n  const Node = React.forwardRef((props, forwardedRef) => {\n    const { asChild, ...primitiveProps } = props;\n    const Comp = asChild ? Slot : node;\n    if (typeof window !== \"undefined\") {\n      window[Symbol.for(\"radix-ui\")] = true;\n    }\n    return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n  });\n  Node.displayName = `Primitive.${node}`;\n  return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n  if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\n__name(dispatchDiscreteCustomEvent, \"dispatchDiscreteCustomEvent\");\nexport {\n  Primitive,\n  Primitive as Root,\n  dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/portal.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar Portal = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function Portal2(props, forwardedRef) {\n    const { container: containerProp, ...portalProps } = props;\n    const [mounted, setMounted] = React.useState(false);\n    useLayoutEffect(() => setMounted(true), []);\n    const container = containerProp || mounted && globalThis?.document?.body;\n    return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n  }, \"Portal\")\n);\nexport {\n  Portal,\n  Portal as Root\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n  return React.useReducer((state, event) => {\n    const nextState = machine[state][event];\n    return nextState ?? state;\n  }, initialState);\n}\n__name(useStateMachine, \"useStateMachine\");\n\n// src/presence.tsx\nvar Presence = /* @__PURE__ */ __name((props) => {\n  const { present, children } = props;\n  const presence = usePresence(present);\n  const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n  const ref = useStableComposedRefs(presence.ref, getElementRef(child));\n  const forceMount = typeof children === \"function\";\n  return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n}, \"Presence\");\nfunction usePresence(present) {\n  const [node, setNode] = React2.useState();\n  const stylesRef = React2.useRef(null);\n  const prevPresentRef = React2.useRef(present);\n  const prevAnimationNameRef = React2.useRef(\"none\");\n  const mountAnimationNameRef = React2.useRef(void 0);\n  const initialState = present ? \"mounted\" : \"unmounted\";\n  const [state, send] = useStateMachine(initialState, {\n    mounted: {\n      UNMOUNT: \"unmounted\",\n      ANIMATION_OUT: \"unmountSuspended\"\n    },\n    unmountSuspended: {\n      MOUNT: \"mounted\",\n      ANIMATION_END: \"unmounted\"\n    },\n    unmounted: {\n      MOUNT: \"mounted\"\n    }\n  });\n  React2.useEffect(() => {\n    if (state === \"mounted\") {\n      prevAnimationNameRef.current = mountAnimationNameRef.current ?? getAnimationName(stylesRef.current);\n      mountAnimationNameRef.current = void 0;\n    } else {\n      prevAnimationNameRef.current = \"none\";\n    }\n  }, [state]);\n  useLayoutEffect(() => {\n    const styles = stylesRef.current;\n    const wasPresent = prevPresentRef.current;\n    const hasPresentChanged = wasPresent !== present;\n    if (hasPresentChanged) {\n      const prevAnimationName = prevAnimationNameRef.current;\n      const currentAnimationName = getAnimationName(styles);\n      if (present) {\n        mountAnimationNameRef.current = currentAnimationName;\n        send(\"MOUNT\");\n      } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n        send(\"UNMOUNT\");\n      } else {\n        const isAnimating = prevAnimationName !== currentAnimationName;\n        if (wasPresent && isAnimating) {\n          send(\"ANIMATION_OUT\");\n        } else {\n          send(\"UNMOUNT\");\n        }\n      }\n      prevPresentRef.current = present;\n    }\n  }, [present, send]);\n  useLayoutEffect(() => {\n    if (node) {\n      let timeoutId;\n      const ownerWindow = node.ownerDocument.defaultView ?? window;\n      const handleAnimationEnd = /* @__PURE__ */ __name((event) => {\n        const currentAnimationName = getAnimationName(stylesRef.current);\n        const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n        if (event.target === node && isCurrentAnimation) {\n          send(\"ANIMATION_END\");\n          if (!prevPresentRef.current) {\n            const currentFillMode = node.style.animationFillMode;\n            node.style.animationFillMode = \"forwards\";\n            timeoutId = ownerWindow.setTimeout(() => {\n              if (node.style.animationFillMode === \"forwards\") {\n                node.style.animationFillMode = currentFillMode;\n              }\n            });\n          }\n        }\n      }, \"handleAnimationEnd\");\n      const handleAnimationStart = /* @__PURE__ */ __name((event) => {\n        if (event.target === node) {\n          prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n        }\n      }, \"handleAnimationStart\");\n      node.addEventListener(\"animationstart\", handleAnimationStart);\n      node.addEventListener(\"animationcancel\", handleAnimationEnd);\n      node.addEventListener(\"animationend\", handleAnimationEnd);\n      return () => {\n        ownerWindow.clearTimeout(timeoutId);\n        node.removeEventListener(\"animationstart\", handleAnimationStart);\n        node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n        node.removeEventListener(\"animationend\", handleAnimationEnd);\n      };\n    } else {\n      send(\"ANIMATION_END\");\n    }\n  }, [node, send]);\n  return {\n    isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n    ref: React2.useCallback((node2) => {\n      if (node2) {\n        const styles = getComputedStyle(node2);\n        stylesRef.current = styles;\n        mountAnimationNameRef.current = getAnimationName(styles);\n      } else {\n        stylesRef.current = null;\n      }\n      setNode(node2);\n    }, [])\n  };\n}\n__name(usePresence, \"usePresence\");\nfunction setRef(ref, value) {\n  if (typeof ref === \"function\") {\n    return ref(value);\n  } else if (ref !== null && ref !== void 0) {\n    ref.current = value;\n  }\n}\n__name(setRef, \"setRef\");\nfunction useStableComposedRefs(...refs) {\n  const refsRef = React2.useRef(refs);\n  refsRef.current = refs;\n  return React2.useCallback((node) => {\n    const currentRefs = refsRef.current;\n    let hasCleanup = false;\n    const cleanups = currentRefs.map((ref) => {\n      const cleanup = setRef(ref, node);\n      if (!hasCleanup && typeof cleanup === \"function\") {\n        hasCleanup = true;\n      }\n      return cleanup;\n    });\n    if (hasCleanup) {\n      return () => {\n        for (let i = 0; i < cleanups.length; i++) {\n          const cleanup = cleanups[i];\n          if (typeof cleanup === \"function\") {\n            cleanup();\n          } else {\n            setRef(currentRefs[i], null);\n          }\n        }\n      };\n    }\n  }, []);\n}\n__name(useStableComposedRefs, \"useStableComposedRefs\");\nfunction getAnimationName(styles) {\n  return styles?.animationName || \"none\";\n}\n__name(getAnimationName, \"getAnimationName\");\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n  let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.ref;\n  }\n  getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n  mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.props.ref;\n  }\n  return element.props.ref || element.ref;\n}\n__name(getElementRef, \"getElementRef\");\nexport {\n  Presence,\n  Presence as Root\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n  const Slot2 = React.forwardRef((props, forwardedRef) => {\n    let { children, ...slotProps } = props;\n    let slottableElement = null;\n    let hasSlottable = false;\n    const newChildren = [];\n    children = useUnwrappedLazy(children);\n    React.Children.forEach(children, (maybeSlottable) => {\n      if (isSlottable(maybeSlottable)) {\n        hasSlottable = true;\n        const slottable = maybeSlottable;\n        let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n        while (isLazyComponent(child) && typeof use === \"function\") {\n          child = use(child._payload);\n        }\n        slottableElement = getSlottableElementFromSlottable(slottable, child);\n        newChildren.push(slottableElement?.props?.children);\n      } else {\n        newChildren.push(maybeSlottable);\n      }\n    });\n    if (slottableElement) {\n      slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n    } else if (\n      // A `Slottable` was found but it didn't resolve to a single element (e.g.\n      // it wrapped multiple elements, text, or a render-prop `child` that\n      // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n      // itself as the slot target — throw a descriptive error below instead.\n      !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n    ) {\n      slottableElement = children;\n    }\n    const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n    const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n    if (!slottableElement) {\n      if (children || children === 0) {\n        throw new Error(\n          hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n        );\n      }\n      return children;\n    }\n    const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n    if (slottableElement.type !== React.Fragment) {\n      mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n    }\n    return React.cloneElement(slottableElement, mergedProps);\n  });\n  Slot2.displayName = `${ownerName}.Slot`;\n  return Slot2;\n}\n__name(createSlot, \"createSlot\");\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n  const Slottable2 = /* @__PURE__ */ __name((props) => \"child\" in props ? props.children(props.child) : props.children, \"Slottable\");\n  Slottable2.displayName = `${ownerName}.Slottable`;\n  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n  return Slottable2;\n}\n__name(createSlottable, \"createSlottable\");\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = /* @__PURE__ */ __name((slottable, child) => {\n  if (\"child\" in slottable.props) {\n    if (!React.isValidElement(child)) return null;\n    return React.cloneElement(child, void 0, slottable.props.children(child.props.children));\n  }\n  return React.isValidElement(child) ? child : null;\n}, \"getSlottableElementFromSlottable\");\nfunction mergeProps(slotProps, childProps) {\n  const overrideProps = { ...childProps };\n  for (const propName in childProps) {\n    const slotPropValue = slotProps[propName];\n    const childPropValue = childProps[propName];\n    const isHandler = /^on[A-Z]/.test(propName);\n    if (isHandler) {\n      if (slotPropValue && childPropValue) {\n        overrideProps[propName] = (...args) => {\n          const result = childPropValue(...args);\n          slotPropValue(...args);\n          return result;\n        };\n      } else if (slotPropValue) {\n        overrideProps[propName] = slotPropValue;\n      }\n    } else if (propName === \"style\") {\n      overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n    } else if (propName === \"className\") {\n      overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n    } else if (propName === \"aria-describedby\") {\n      overrideProps[propName] = concatAriaDescribedby(childPropValue, slotPropValue);\n    }\n  }\n  return { ...slotProps, ...overrideProps };\n}\n__name(mergeProps, \"mergeProps\");\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n  let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.ref;\n  }\n  getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n  mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.props.ref;\n  }\n  return element.props.ref || element.ref;\n}\n__name(getElementRef, \"getElementRef\");\nfunction isSlottable(child) {\n  return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\n__name(isSlottable, \"isSlottable\");\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n  return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\n__name(isLazyComponent, \"isLazyComponent\");\nfunction isPromiseLike(value) {\n  return typeof value === \"object\" && value !== null && \"then\" in value;\n}\n__name(isPromiseLike, \"isPromiseLike\");\nfunction useUnwrappedLazy(value) {\n  let unwrapped = value;\n  while (isLazyComponent(unwrapped) && typeof use === \"function\") {\n    unwrapped = use(unwrapped._payload);\n  }\n  return unwrapped;\n}\n__name(useUnwrappedLazy, \"useUnwrappedLazy\");\nfunction concatAriaDescribedby(...values) {\n  const ids = /* @__PURE__ */ new Set();\n  for (const value of values) {\n    if (typeof value !== \"string\") continue;\n    for (const id of String(value).trim().split(/\\s+/)) {\n      if (id) ids.add(id);\n    }\n  }\n  return ids.size > 0 ? Array.from(ids).join(\" \") : void 0;\n}\n__name(concatAriaDescribedby, \"concatAriaDescribedby\");\nvar createSlotError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n}, \"createSlotError\");\nvar createSlottableError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n}, \"createSlottableError\");\nvar use = React[\" use \".trim().toString()];\nexport {\n  Slot as Root,\n  Slot,\n  Slottable,\n  createSlot,\n  createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n  \"a\",\n  \"button\",\n  \"div\",\n  \"form\",\n  \"h2\",\n  \"h3\",\n  \"img\",\n  \"input\",\n  \"label\",\n  \"li\",\n  \"nav\",\n  \"ol\",\n  \"p\",\n  \"select\",\n  \"span\",\n  \"svg\",\n  \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n  const Slot = createSlot(`Primitive.${node}`);\n  const Node = React.forwardRef((props, forwardedRef) => {\n    const { asChild, ...primitiveProps } = props;\n    const Comp = asChild ? Slot : node;\n    if (typeof window !== \"undefined\") {\n      window[Symbol.for(\"radix-ui\")] = true;\n    }\n    return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n  });\n  Node.displayName = `Primitive.${node}`;\n  return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n  if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\n__name(dispatchDiscreteCustomEvent, \"dispatchDiscreteCustomEvent\");\nexport {\n  Primitive,\n  Primitive as Root,\n  dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/use-effect-event.tsx\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport * as React from \"react\";\nvar useReactEffectEvent = React[\" useEffectEvent \".trim().toString()];\nvar useReactInsertionEffect = React[\" useInsertionEffect \".trim().toString()];\nfunction useEffectEvent(callback) {\n  if (typeof useReactEffectEvent === \"function\") {\n    return useReactEffectEvent(callback);\n  }\n  const ref = React.useRef(() => {\n    throw new Error(\"Cannot call an event handler while rendering.\");\n  });\n  if (typeof useReactInsertionEffect === \"function\") {\n    useReactInsertionEffect(() => {\n      ref.current = callback;\n    });\n  } else {\n    useLayoutEffect(() => {\n      ref.current = callback;\n    });\n  }\n  return React.useMemo(() => ((...args) => ref.current?.(...args)), []);\n}\n__name(useEffectEvent, \"useEffectEvent\");\nexport {\n  useEffectEvent\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { IS_DEVELOPMENT } from \"@radix-ui/primitive/is-development\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n  prop,\n  defaultProp,\n  onChange = /* @__PURE__ */ __name(() => {\n  }, \"onChange\"),\n  caller\n}) {\n  const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n    defaultProp,\n    onChange\n  });\n  const isControlled = prop !== void 0;\n  const value = isControlled ? prop : uncontrolledProp;\n  if (IS_DEVELOPMENT) {\n    const isControlledRef = React.useRef(prop !== void 0);\n    React.useEffect(() => {\n      const wasControlled = isControlledRef.current;\n      if (wasControlled !== isControlled) {\n        const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n        const to = isControlled ? \"controlled\" : \"uncontrolled\";\n        console.warn(\n          `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n        );\n      }\n      isControlledRef.current = isControlled;\n    }, [isControlled, caller]);\n  }\n  const setValue = React.useCallback(\n    (nextValue) => {\n      if (isControlled) {\n        const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n        if (value2 !== prop) {\n          onChangeRef.current?.(value2);\n        }\n      } else {\n        setUncontrolledProp(nextValue);\n      }\n    },\n    [isControlled, prop, setUncontrolledProp, onChangeRef]\n  );\n  return [value, setValue];\n}\n__name(useControllableState, \"useControllableState\");\nfunction useUncontrolledState({\n  defaultProp,\n  onChange\n}) {\n  const [value, setValue] = React.useState(defaultProp);\n  const prevValueRef = React.useRef(value);\n  const onChangeRef = React.useRef(onChange);\n  useInsertionEffect(() => {\n    onChangeRef.current = onChange;\n  }, [onChange]);\n  React.useEffect(() => {\n    if (prevValueRef.current !== value) {\n      onChangeRef.current?.(value);\n      prevValueRef.current = value;\n    }\n  }, [value, prevValueRef]);\n  return [value, setValue, onChangeRef];\n}\n__name(useUncontrolledState, \"useUncontrolledState\");\nfunction isFunction(value) {\n  return typeof value === \"function\";\n}\n__name(isFunction, \"isFunction\");\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { IS_DEVELOPMENT as IS_DEVELOPMENT2 } from \"@radix-ui/primitive/is-development\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n  const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n  const isControlled = controlledState !== void 0;\n  const onChange = useEffectEvent(onChangeProp);\n  if (IS_DEVELOPMENT2) {\n    const isControlledRef = React2.useRef(controlledState !== void 0);\n    React2.useEffect(() => {\n      const wasControlled = isControlledRef.current;\n      if (wasControlled !== isControlled) {\n        const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n        const to = isControlled ? \"controlled\" : \"uncontrolled\";\n        console.warn(\n          `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n        );\n      }\n      isControlledRef.current = isControlled;\n    }, [isControlled, caller]);\n  }\n  const args = [{ ...initialArg, state: defaultProp }];\n  if (init) {\n    args.push(init);\n  }\n  const [internalState, dispatch] = React2.useReducer(\n    (state2, action) => {\n      if (action.type === SYNC_STATE) {\n        return { ...state2, state: action.state };\n      }\n      const next = reducer(state2, action);\n      if (isControlled && !Object.is(next.state, state2.state)) {\n        onChange(next.state);\n      }\n      return next;\n    },\n    ...args\n  );\n  const uncontrolledState = internalState.state;\n  const prevValueRef = React2.useRef(uncontrolledState);\n  React2.useEffect(() => {\n    if (prevValueRef.current !== uncontrolledState) {\n      prevValueRef.current = uncontrolledState;\n      if (!isControlled) {\n        onChange(uncontrolledState);\n      }\n    }\n  }, [uncontrolledState, prevValueRef, isControlled]);\n  const state = React2.useMemo(() => {\n    const isControlled2 = controlledState !== void 0;\n    if (isControlled2) {\n      return { ...internalState, state: controlledState };\n    }\n    return internalState;\n  }, [internalState, controlledState]);\n  React2.useEffect(() => {\n    if (isControlled && !Object.is(controlledState, internalState.state)) {\n      dispatch({ type: SYNC_STATE, state: controlledState });\n    }\n  }, [controlledState, internalState.state, isControlled]);\n  return [state, dispatch];\n}\n__name(useControllableStateReducer, \"useControllableStateReducer\");\nexport {\n  useControllableState,\n  useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n  if (typeof ref === \"function\") {\n    return ref(value);\n  } else if (ref !== null && ref !== void 0) {\n    ref.current = value;\n  }\n}\n__name(setRef, \"setRef\");\nfunction composeRefs(...refs) {\n  return (node) => {\n    let hasCleanup = false;\n    const cleanups = refs.map((ref) => {\n      const cleanup = setRef(ref, node);\n      if (!hasCleanup && typeof cleanup == \"function\") {\n        hasCleanup = true;\n      }\n      return cleanup;\n    });\n    if (hasCleanup) {\n      return () => {\n        for (let i = 0; i < cleanups.length; i++) {\n          const cleanup = cleanups[i];\n          if (typeof cleanup == \"function\") {\n            cleanup();\n          } else {\n            setRef(refs[i], null);\n          }\n        }\n      };\n    }\n  };\n}\n__name(composeRefs, \"composeRefs\");\nfunction useComposedRefs(...refs) {\n  return React.useCallback(composeRefs(...refs), refs);\n}\n__name(useComposedRefs, \"useComposedRefs\");\nexport {\n  composeRefs,\n  useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n  const Slot2 = React.forwardRef((props, forwardedRef) => {\n    let { children, ...slotProps } = props;\n    let slottableElement = null;\n    let hasSlottable = false;\n    const newChildren = [];\n    children = useUnwrappedLazy(children);\n    React.Children.forEach(children, (maybeSlottable) => {\n      if (isSlottable(maybeSlottable)) {\n        hasSlottable = true;\n        const slottable = maybeSlottable;\n        let child = \"child\" in slottable.props ? slottable.props.child : slottable.props.children;\n        while (isLazyComponent(child) && typeof use === \"function\") {\n          child = use(child._payload);\n        }\n        slottableElement = getSlottableElementFromSlottable(slottable, child);\n        newChildren.push(slottableElement?.props?.children);\n      } else {\n        newChildren.push(maybeSlottable);\n      }\n    });\n    if (slottableElement) {\n      slottableElement = React.cloneElement(slottableElement, void 0, newChildren);\n    } else if (\n      // A `Slottable` was found but it didn't resolve to a single element (e.g.\n      // it wrapped multiple elements, text, or a render-prop `child` that\n      // wasn't an element). Don't fall back to treating the `Slottable` wrapper\n      // itself as the slot target — throw a descriptive error below instead.\n      !hasSlottable && React.Children.count(children) === 1 && React.isValidElement(children)\n    ) {\n      slottableElement = children;\n    }\n    const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;\n    const composedRef = useComposedRefs(forwardedRef, slottableElementRef);\n    if (!slottableElement) {\n      if (children || children === 0) {\n        throw new Error(\n          hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName)\n        );\n      }\n      return children;\n    }\n    const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});\n    if (slottableElement.type !== React.Fragment) {\n      mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;\n    }\n    return React.cloneElement(slottableElement, mergedProps);\n  });\n  Slot2.displayName = `${ownerName}.Slot`;\n  return Slot2;\n}\n__name(createSlot, \"createSlot\");\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\nvar SLOTTABLE_IDENTIFIER = Symbol.for(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n  const Slottable2 = /* @__PURE__ */ __name((props) => \"child\" in props ? props.children(props.child) : props.children, \"Slottable\");\n  Slottable2.displayName = `${ownerName}.Slottable`;\n  Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n  return Slottable2;\n}\n__name(createSlottable, \"createSlottable\");\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nvar getSlottableElementFromSlottable = /* @__PURE__ */ __name((slottable, child) => {\n  if (\"child\" in slottable.props) {\n    if (!React.isValidElement(child)) return null;\n    return React.cloneElement(child, void 0, slottable.props.children(child.props.children));\n  }\n  return React.isValidElement(child) ? child : null;\n}, \"getSlottableElementFromSlottable\");\nfunction mergeProps(slotProps, childProps) {\n  const overrideProps = { ...childProps };\n  for (const propName in childProps) {\n    const slotPropValue = slotProps[propName];\n    const childPropValue = childProps[propName];\n    const isHandler = /^on[A-Z]/.test(propName);\n    if (isHandler) {\n      if (slotPropValue && childPropValue) {\n        overrideProps[propName] = (...args) => {\n          const result = childPropValue(...args);\n          slotPropValue(...args);\n          return result;\n        };\n      } else if (slotPropValue) {\n        overrideProps[propName] = slotPropValue;\n      }\n    } else if (propName === \"style\") {\n      overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n    } else if (propName === \"className\") {\n      overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n    } else if (propName === \"aria-describedby\") {\n      overrideProps[propName] = concatAriaDescribedby(childPropValue, slotPropValue);\n    }\n  }\n  return { ...slotProps, ...overrideProps };\n}\n__name(mergeProps, \"mergeProps\");\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n  let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.ref;\n  }\n  getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n  mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  if (mayWarn) {\n    return element.props.ref;\n  }\n  return element.props.ref || element.ref;\n}\n__name(getElementRef, \"getElementRef\");\nfunction isSlottable(child) {\n  return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\n__name(isSlottable, \"isSlottable\");\nvar REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nfunction isLazyComponent(element) {\n  return element != null && typeof element === \"object\" && \"$$typeof\" in element && element.$$typeof === REACT_LAZY_TYPE && \"_payload\" in element && isPromiseLike(element._payload);\n}\n__name(isLazyComponent, \"isLazyComponent\");\nfunction isPromiseLike(value) {\n  return typeof value === \"object\" && value !== null && \"then\" in value;\n}\n__name(isPromiseLike, \"isPromiseLike\");\nfunction useUnwrappedLazy(value) {\n  let unwrapped = value;\n  while (isLazyComponent(unwrapped) && typeof use === \"function\") {\n    unwrapped = use(unwrapped._payload);\n  }\n  return unwrapped;\n}\n__name(useUnwrappedLazy, \"useUnwrappedLazy\");\nfunction concatAriaDescribedby(...values) {\n  const ids = /* @__PURE__ */ new Set();\n  for (const value of values) {\n    if (typeof value !== \"string\") continue;\n    for (const id of String(value).trim().split(/\\s+/)) {\n      if (id) ids.add(id);\n    }\n  }\n  return ids.size > 0 ? Array.from(ids).join(\" \") : void 0;\n}\n__name(concatAriaDescribedby, \"concatAriaDescribedby\");\nvar createSlotError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its children. Expected a single React element child or \\`Slottable\\`.`;\n}, \"createSlotError\");\nvar createSlottableError = /* @__PURE__ */ __name((ownerName) => {\n  return `${ownerName} failed to slot onto its \\`Slottable\\`. Expected \\`Slottable\\` to receive a single React element child.`;\n}, \"createSlottableError\");\nvar use = React[\" use \".trim().toString()];\nexport {\n  Slot as Root,\n  Slot,\n  Slottable,\n  createSlot,\n  createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n  \"a\",\n  \"button\",\n  \"div\",\n  \"form\",\n  \"h2\",\n  \"h3\",\n  \"img\",\n  \"input\",\n  \"label\",\n  \"li\",\n  \"nav\",\n  \"ol\",\n  \"p\",\n  \"select\",\n  \"span\",\n  \"svg\",\n  \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n  const Slot = createSlot(`Primitive.${node}`);\n  const Node = React.forwardRef((props, forwardedRef) => {\n    const { asChild, ...primitiveProps } = props;\n    const Comp = asChild ? Slot : node;\n    if (typeof window !== \"undefined\") {\n      window[Symbol.for(\"radix-ui\")] = true;\n    }\n    return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n  });\n  Node.displayName = `Primitive.${node}`;\n  return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n  if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\n__name(dispatchDiscreteCustomEvent, \"dispatchDiscreteCustomEvent\");\nexport {\n  Primitive,\n  Primitive as Root,\n  dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar VISUALLY_HIDDEN_STYLES = Object.freeze({\n  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n  position: \"absolute\",\n  border: 0,\n  width: 1,\n  height: 1,\n  padding: 0,\n  margin: -1,\n  overflow: \"hidden\",\n  clip: \"rect(0, 0, 0, 0)\",\n  whiteSpace: \"nowrap\",\n  wordWrap: \"normal\"\n});\nvar VisuallyHidden = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function VisuallyHidden2(props, forwardedRef) {\n    return /* @__PURE__ */ jsx(\n      Primitive.span,\n      {\n        ...props,\n        ref: forwardedRef,\n        style: { ...VISUALLY_HIDDEN_STYLES, ...props.style }\n      }\n    );\n  }, \"VisuallyHidden\")\n);\nexport {\n  VisuallyHidden as Root,\n  VISUALLY_HIDDEN_STYLES,\n  VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/toast.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport * as DismissableLayer from \"@radix-ui/react-dismissable-layer\";\nimport { Portal } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { VisuallyHidden } from \"@radix-ui/react-visually-hidden\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar startTransition = React[\" startTransition \".trim().toString()] || (() => void 0);\nvar PROVIDER_NAME = \"ToastProvider\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(\"Toast\");\nvar SwipeDirection = {\n  Up: \"up\",\n  Down: \"down\",\n  Left: \"left\",\n  Right: \"right\"\n};\nvar ToastType = {\n  Foreground: \"foreground\",\n  Background: \"background\"\n};\nvar [createToastContext, createToastScope] = createContextScope(\"Toast\", [createCollectionScope]);\nvar [ToastProviderProvider, useToastProviderContext] = createToastContext(PROVIDER_NAME);\nfunction scheduleUpdate(update) {\n  if (typeof startTransition === \"function\") {\n    startTransition(update);\n  } else {\n    update();\n  }\n}\n__name(scheduleUpdate, \"scheduleUpdate\");\nvar ToastProvider = /* @__PURE__ */ __name((props) => {\n  const {\n    __scopeToast,\n    label = \"Notification\",\n    duration = 5e3,\n    swipeDirection = SwipeDirection.Right,\n    swipeThreshold = 50,\n    announcerContainer,\n    children\n  } = props;\n  const [viewport, setViewport] = React.useState(null);\n  const [toastCount, setToastCount] = React.useState(0);\n  const isClosePausedRef = React.useRef(false);\n  const onViewportChange = React.useCallback((node) => {\n    scheduleUpdate(() => setViewport(node));\n  }, []);\n  const onToastAdd = React.useCallback(() => {\n    scheduleUpdate(() => setToastCount((prevCount) => prevCount + 1));\n  }, []);\n  const onToastRemove = React.useCallback(() => {\n    scheduleUpdate(() => setToastCount((prevCount) => prevCount - 1));\n  }, []);\n  if (!label.trim()) {\n    console.error(\n      `Invalid prop \\`label\\` supplied to \\`${PROVIDER_NAME}\\`. Expected non-empty \\`string\\`.`\n    );\n  }\n  return /* @__PURE__ */ jsx(Collection.Provider, { scope: __scopeToast, children: /* @__PURE__ */ jsx(\n    ToastProviderProvider,\n    {\n      scope: __scopeToast,\n      label,\n      duration,\n      swipeDirection,\n      swipeThreshold,\n      toastCount,\n      viewport,\n      onViewportChange,\n      onToastAdd,\n      onToastRemove,\n      isClosePausedRef,\n      announcerContainer,\n      children\n    }\n  ) });\n}, \"ToastProvider\");\nvar VIEWPORT_NAME = \"ToastViewport\";\nvar VIEWPORT_DEFAULT_HOTKEY = [\"F8\"];\nvar VIEWPORT_PAUSE = \"toast.viewportPause\";\nvar VIEWPORT_RESUME = \"toast.viewportResume\";\nvar ToastViewport = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function ToastViewport2(props, forwardedRef) {\n    const {\n      __scopeToast,\n      hotkey = VIEWPORT_DEFAULT_HOTKEY,\n      label = \"Notifications ({hotkey})\",\n      ...viewportProps\n    } = props;\n    const context = useToastProviderContext(VIEWPORT_NAME, __scopeToast);\n    const getItems = useCollection(__scopeToast);\n    const wrapperRef = React.useRef(null);\n    const headFocusProxyRef = React.useRef(null);\n    const tailFocusProxyRef = React.useRef(null);\n    const ref = React.useRef(null);\n    const composedRefs = useComposedRefs(forwardedRef, ref, context.onViewportChange);\n    const hotkeyLabel = hotkey.join(\"+\").replace(/Key/g, \"\").replace(/Digit/g, \"\");\n    const hasToasts = context.toastCount > 0;\n    React.useEffect(() => {\n      const handleKeyDown = /* @__PURE__ */ __name((event) => {\n        const isHotkeyPressed = hotkey.length !== 0 && hotkey.every((key) => event[key] || event.code === key);\n        if (isHotkeyPressed) ref.current?.focus();\n      }, \"handleKeyDown\");\n      document.addEventListener(\"keydown\", handleKeyDown);\n      return () => document.removeEventListener(\"keydown\", handleKeyDown);\n    }, [hotkey]);\n    React.useEffect(() => {\n      const wrapper = wrapperRef.current;\n      const viewport = ref.current;\n      if (hasToasts && wrapper && viewport) {\n        const handlePause = /* @__PURE__ */ __name(() => {\n          if (!context.isClosePausedRef.current) {\n            const pauseEvent = new CustomEvent(VIEWPORT_PAUSE);\n            viewport.dispatchEvent(pauseEvent);\n            context.isClosePausedRef.current = true;\n          }\n        }, \"handlePause\");\n        const handleResume = /* @__PURE__ */ __name(() => {\n          if (context.isClosePausedRef.current) {\n            const resumeEvent = new CustomEvent(VIEWPORT_RESUME);\n            viewport.dispatchEvent(resumeEvent);\n            context.isClosePausedRef.current = false;\n          }\n        }, \"handleResume\");\n        const handleFocusOutResume = /* @__PURE__ */ __name((event) => {\n          const isFocusMovingOutside = !wrapper.contains(event.relatedTarget);\n          if (isFocusMovingOutside) handleResume();\n        }, \"handleFocusOutResume\");\n        const handlePointerLeaveResume = /* @__PURE__ */ __name(() => {\n          const isFocusInside = wrapper.contains(document.activeElement);\n          if (!isFocusInside) handleResume();\n        }, \"handlePointerLeaveResume\");\n        wrapper.addEventListener(\"focusin\", handlePause);\n        wrapper.addEventListener(\"focusout\", handleFocusOutResume);\n        wrapper.addEventListener(\"pointermove\", handlePause);\n        wrapper.addEventListener(\"pointerleave\", handlePointerLeaveResume);\n        window.addEventListener(\"blur\", handlePause);\n        window.addEventListener(\"focus\", handleResume);\n        return () => {\n          wrapper.removeEventListener(\"focusin\", handlePause);\n          wrapper.removeEventListener(\"focusout\", handleFocusOutResume);\n          wrapper.removeEventListener(\"pointermove\", handlePause);\n          wrapper.removeEventListener(\"pointerleave\", handlePointerLeaveResume);\n          window.removeEventListener(\"blur\", handlePause);\n          window.removeEventListener(\"focus\", handleResume);\n        };\n      }\n    }, [hasToasts, context.isClosePausedRef]);\n    const getSortedTabbableCandidates = React.useCallback(\n      ({ tabbingDirection }) => {\n        const toastItems = getItems();\n        const tabbableCandidates = toastItems.map((toastItem) => {\n          const toastNode = toastItem.ref.current;\n          const toastTabbableCandidates = [toastNode, ...getTabbableCandidates(toastNode)];\n          return tabbingDirection === \"forwards\" ? toastTabbableCandidates : toastTabbableCandidates.reverse();\n        });\n        return (tabbingDirection === \"forwards\" ? tabbableCandidates.reverse() : tabbableCandidates).flat();\n      },\n      [getItems]\n    );\n    React.useEffect(() => {\n      const viewport = ref.current;\n      if (viewport) {\n        const handleKeyDown = /* @__PURE__ */ __name((event) => {\n          const isMetaKey = event.altKey || event.ctrlKey || event.metaKey;\n          const isTabKey = event.key === \"Tab\" && !isMetaKey;\n          if (isTabKey) {\n            const focusedElement = document.activeElement;\n            const isTabbingBackwards = event.shiftKey;\n            const targetIsViewport = event.target === viewport;\n            if (targetIsViewport && isTabbingBackwards) {\n              headFocusProxyRef.current?.focus();\n              return;\n            }\n            const tabbingDirection = isTabbingBackwards ? \"backwards\" : \"forwards\";\n            const sortedCandidates = getSortedTabbableCandidates({ tabbingDirection });\n            const index = sortedCandidates.findIndex((candidate) => candidate === focusedElement);\n            if (focusFirst(sortedCandidates.slice(index + 1))) {\n              event.preventDefault();\n            } else {\n              isTabbingBackwards ? headFocusProxyRef.current?.focus() : tailFocusProxyRef.current?.focus();\n            }\n          }\n        }, \"handleKeyDown\");\n        viewport.addEventListener(\"keydown\", handleKeyDown);\n        return () => viewport.removeEventListener(\"keydown\", handleKeyDown);\n      }\n    }, [getItems, getSortedTabbableCandidates]);\n    return /* @__PURE__ */ jsxs(\n      DismissableLayer.Branch,\n      {\n        ref: wrapperRef,\n        role: \"region\",\n        \"aria-label\": label.replace(\"{hotkey}\", hotkeyLabel),\n        tabIndex: -1,\n        style: { pointerEvents: hasToasts ? void 0 : \"none\" },\n        children: [\n          hasToasts && /* @__PURE__ */ jsx(\n            FocusProxy,\n            {\n              ref: headFocusProxyRef,\n              onFocusFromOutsideViewport: () => {\n                const tabbableCandidates = getSortedTabbableCandidates({\n                  tabbingDirection: \"forwards\"\n                });\n                focusFirst(tabbableCandidates);\n              }\n            }\n          ),\n          /* @__PURE__ */ jsx(Collection.Slot, { scope: __scopeToast, children: /* @__PURE__ */ jsx(Primitive.ol, { tabIndex: -1, ...viewportProps, ref: composedRefs }) }),\n          hasToasts && /* @__PURE__ */ jsx(\n            FocusProxy,\n            {\n              ref: tailFocusProxyRef,\n              onFocusFromOutsideViewport: () => {\n                const tabbableCandidates = getSortedTabbableCandidates({\n                  tabbingDirection: \"backwards\"\n                });\n                focusFirst(tabbableCandidates);\n              }\n            }\n          )\n        ]\n      }\n    );\n  }, \"ToastViewport\")\n);\nvar FOCUS_PROXY_NAME = \"ToastFocusProxy\";\nvar FocusProxy = /* @__PURE__ */ React.forwardRef(\n  // blank line to reduce diff noise\n  /* @__PURE__ */ __name(function ToastFocusProxy(props, forwardedRef) {\n    const { __scopeToast, onFocusFromOutsideViewport, ...proxyProps } = props;\n    const context = useToastProviderContext(FOCUS_PROXY_NAME, __scopeToast);\n    return /* @__PURE__ */ jsx(\n      VisuallyHidden,\n      {\n        tabIndex: 0,\n        ...proxyProps,\n        ref: forwardedRef,\n        style: { position: \"fixed\" },\n        onFocus: (event) => {\n          const prevFocusedElement = event.relatedTarget;\n          const isFocusFromOutsideViewport = !context.viewport?.contains(prevFocusedElement);\n          if (isFocusFromOutsideViewport) onFocusFromOutsideViewport();\n        }\n      }\n    );\n  }, \"ToastFocusProxy\")\n);\nvar TOAST_NAME = \"Toast\";\nvar TOAST_SWIPE_START = \"toast.swipeStart\";\nvar TOAST_SWIPE_MOVE = \"toast.swipeMove\";\nvar TOAST_SWIPE_CANCEL = \"toast.swipeCancel\";\nvar TOAST_SWIPE_END = \"toast.swipeEnd\";\nvar Toast = /* @__PURE__ */ React.forwardRef(\n  // blank line to reduce diff noise\n  /* @__PURE__ */ __name(function Toast2(props, forwardedRef) {\n    const { forceMount, open: openProp, defaultOpen, onOpenChange, ...toastProps } = props;\n    const [open, setOpen] = useControllableState({\n      prop: openProp,\n      defaultProp: defaultOpen ?? true,\n      onChange: onOpenChange,\n      caller: TOAST_NAME\n    });\n    return /* @__PURE__ */ jsx(Presence, { present: forceMount || open, children: /* @__PURE__ */ jsx(\n      ToastImpl,\n      {\n        open,\n        ...toastProps,\n        ref: forwardedRef,\n        onClose: () => setOpen(false),\n        onPause: useCallbackRef(props.onPause),\n        onResume: useCallbackRef(props.onResume),\n        onSwipeStart: composeEventHandlers(props.onSwipeStart, (event) => {\n          event.currentTarget.setAttribute(\"data-swipe\", \"start\");\n        }),\n        onSwipeMove: composeEventHandlers(props.onSwipeMove, (event) => {\n          const { x, y } = event.detail.delta;\n          event.currentTarget.setAttribute(\"data-swipe\", \"move\");\n          event.currentTarget.style.setProperty(\"--radix-toast-swipe-move-x\", `${x}px`);\n          event.currentTarget.style.setProperty(\"--radix-toast-swipe-move-y\", `${y}px`);\n        }),\n        onSwipeCancel: composeEventHandlers(props.onSwipeCancel, (event) => {\n          event.currentTarget.setAttribute(\"data-swipe\", \"cancel\");\n          event.currentTarget.style.removeProperty(\"--radix-toast-swipe-move-x\");\n          event.currentTarget.style.removeProperty(\"--radix-toast-swipe-move-y\");\n          event.currentTarget.style.removeProperty(\"--radix-toast-swipe-end-x\");\n          event.currentTarget.style.removeProperty(\"--radix-toast-swipe-end-y\");\n        }),\n        onSwipeEnd: composeEventHandlers(props.onSwipeEnd, (event) => {\n          const { x, y } = event.detail.delta;\n          event.currentTarget.setAttribute(\"data-swipe\", \"end\");\n          event.currentTarget.style.removeProperty(\"--radix-toast-swipe-move-x\");\n          event.currentTarget.style.removeProperty(\"--radix-toast-swipe-move-y\");\n          event.currentTarget.style.setProperty(\"--radix-toast-swipe-end-x\", `${x}px`);\n          event.currentTarget.style.setProperty(\"--radix-toast-swipe-end-y\", `${y}px`);\n          setOpen(false);\n        })\n      }\n    ) });\n  }, \"Toast\")\n);\nvar [ToastInteractiveProvider, useToastInteractiveContext] = createToastContext(TOAST_NAME, {\n  onClose() {\n  }\n});\nvar ToastImpl = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function ToastImpl2(props, forwardedRef) {\n    const {\n      __scopeToast,\n      type = ToastType.Foreground,\n      duration: durationProp,\n      open,\n      onClose,\n      onEscapeKeyDown,\n      onPause,\n      onResume,\n      onSwipeStart,\n      onSwipeMove,\n      onSwipeCancel,\n      onSwipeEnd,\n      ...toastProps\n    } = props;\n    const context = useToastProviderContext(TOAST_NAME, __scopeToast);\n    const getItems = useCollection(__scopeToast);\n    const [node, setNode] = React.useState(null);\n    const composedRefs = useComposedRefs(forwardedRef, setNode);\n    const pointerStartRef = React.useRef(null);\n    const swipeDeltaRef = React.useRef(null);\n    const duration = durationProp || context.duration;\n    const closeTimerStartTimeRef = React.useRef(0);\n    const closeTimerRemainingTimeRef = React.useRef(duration);\n    const closeTimerRef = React.useRef(0);\n    const { onToastAdd, onToastRemove } = context;\n    const handleClose = useCallbackRef(() => {\n      const isFocusInToast = node?.contains(document.activeElement);\n      if (isFocusInToast) context.viewport?.focus();\n      onClose();\n    });\n    const startTimer = React.useCallback(\n      (duration2) => {\n        if (!duration2 || duration2 === Infinity) return;\n        window.clearTimeout(closeTimerRef.current);\n        closeTimerStartTimeRef.current = (/* @__PURE__ */ new Date()).getTime();\n        closeTimerRef.current = window.setTimeout(handleClose, duration2);\n      },\n      [handleClose]\n    );\n    React.useEffect(() => {\n      const viewport = context.viewport;\n      if (viewport) {\n        const handleResume = /* @__PURE__ */ __name(() => {\n          startTimer(closeTimerRemainingTimeRef.current);\n          onResume?.();\n        }, \"handleResume\");\n        const handlePause = /* @__PURE__ */ __name(() => {\n          const elapsedTime = (/* @__PURE__ */ new Date()).getTime() - closeTimerStartTimeRef.current;\n          closeTimerRemainingTimeRef.current = closeTimerRemainingTimeRef.current - elapsedTime;\n          window.clearTimeout(closeTimerRef.current);\n          onPause?.();\n        }, \"handlePause\");\n        viewport.addEventListener(VIEWPORT_PAUSE, handlePause);\n        viewport.addEventListener(VIEWPORT_RESUME, handleResume);\n        return () => {\n          viewport.removeEventListener(VIEWPORT_PAUSE, handlePause);\n          viewport.removeEventListener(VIEWPORT_RESUME, handleResume);\n        };\n      }\n    }, [context.viewport, duration, onPause, onResume, startTimer]);\n    React.useEffect(() => {\n      closeTimerRemainingTimeRef.current = duration;\n      if (open && !context.isClosePausedRef.current) {\n        startTimer(duration);\n      }\n    }, [open, duration, context.isClosePausedRef, startTimer]);\n    React.useEffect(() => {\n      return () => {\n        window.clearTimeout(closeTimerRef.current);\n      };\n    }, []);\n    React.useEffect(() => {\n      onToastAdd();\n      return () => onToastRemove();\n    }, [onToastAdd, onToastRemove]);\n    const announceTextContent = React.useMemo(() => {\n      return node ? getAnnounceTextContent(node) : null;\n    }, [node]);\n    if (!context.viewport) return null;\n    return /* @__PURE__ */ jsxs(Fragment, { children: [\n      announceTextContent && /* @__PURE__ */ jsx(\n        ToastAnnounce,\n        {\n          __scopeToast,\n          role: \"status\",\n          \"aria-live\": type === ToastType.Foreground ? \"assertive\" : \"polite\",\n          children: announceTextContent\n        }\n      ),\n      /* @__PURE__ */ jsx(ToastInteractiveProvider, { scope: __scopeToast, onClose: handleClose, children: ReactDOM.createPortal(\n        /* @__PURE__ */ jsx(Collection.ItemSlot, { scope: __scopeToast, children: /* @__PURE__ */ jsx(\n          DismissableLayer.Root,\n          {\n            asChild: true,\n            onEscapeKeyDown: composeEventHandlers(onEscapeKeyDown, (event) => {\n              const isFocusInToast = getItems().some(\n                (item) => item.ref.current?.contains(event.target)\n              );\n              if (!isFocusInToast) {\n                handleClose();\n              }\n            }),\n            children: /* @__PURE__ */ jsx(\n              Primitive.li,\n              {\n                tabIndex: 0,\n                \"data-state\": open ? \"open\" : \"closed\",\n                \"data-swipe-direction\": context.swipeDirection,\n                ...toastProps,\n                ref: composedRefs,\n                style: { userSelect: \"none\", touchAction: \"none\", ...props.style },\n                onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n                  if (event.key !== \"Escape\") return;\n                  onEscapeKeyDown?.(event.nativeEvent);\n                  if (!event.nativeEvent.defaultPrevented) {\n                    handleClose();\n                  }\n                }),\n                onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n                  if (event.button !== 0) return;\n                  pointerStartRef.current = { x: event.clientX, y: event.clientY };\n                }),\n                onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {\n                  if (!pointerStartRef.current) return;\n                  const x = event.clientX - pointerStartRef.current.x;\n                  const y = event.clientY - pointerStartRef.current.y;\n                  const hasSwipeMoveStarted = Boolean(swipeDeltaRef.current);\n                  const isHorizontalSwipe = [\"left\", \"right\"].includes(context.swipeDirection);\n                  const clamp = [\"left\", \"up\"].includes(context.swipeDirection) ? Math.min : Math.max;\n                  const clampedX = isHorizontalSwipe ? clamp(0, x) : 0;\n                  const clampedY = !isHorizontalSwipe ? clamp(0, y) : 0;\n                  const moveStartBuffer = event.pointerType === \"touch\" ? 10 : 2;\n                  const delta = { x: clampedX, y: clampedY };\n                  const eventDetail = { originalEvent: event, delta };\n                  if (hasSwipeMoveStarted) {\n                    swipeDeltaRef.current = delta;\n                    handleAndDispatchCustomEvent(TOAST_SWIPE_MOVE, onSwipeMove, eventDetail, {\n                      discrete: false\n                    });\n                  } else if (isDeltaInDirection(delta, context.swipeDirection, moveStartBuffer)) {\n                    swipeDeltaRef.current = delta;\n                    handleAndDispatchCustomEvent(TOAST_SWIPE_START, onSwipeStart, eventDetail, {\n                      discrete: false\n                    });\n                    event.target.setPointerCapture(event.pointerId);\n                  } else if (Math.abs(x) > moveStartBuffer || Math.abs(y) > moveStartBuffer) {\n                    pointerStartRef.current = null;\n                  }\n                }),\n                onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {\n                  const delta = swipeDeltaRef.current;\n                  const target = event.target;\n                  if (target.hasPointerCapture(event.pointerId)) {\n                    target.releasePointerCapture(event.pointerId);\n                  }\n                  swipeDeltaRef.current = null;\n                  pointerStartRef.current = null;\n                  if (delta) {\n                    const toast = event.currentTarget;\n                    const eventDetail = { originalEvent: event, delta };\n                    if (isDeltaInDirection(delta, context.swipeDirection, context.swipeThreshold)) {\n                      handleAndDispatchCustomEvent(TOAST_SWIPE_END, onSwipeEnd, eventDetail, {\n                        discrete: true\n                      });\n                    } else {\n                      handleAndDispatchCustomEvent(\n                        TOAST_SWIPE_CANCEL,\n                        onSwipeCancel,\n                        eventDetail,\n                        {\n                          discrete: true\n                        }\n                      );\n                    }\n                    toast.addEventListener(\"click\", (event2) => event2.preventDefault(), {\n                      once: true\n                    });\n                  }\n                })\n              }\n            )\n          }\n        ) }),\n        context.viewport\n      ) })\n    ] });\n  }, \"ToastImpl\")\n);\nvar ToastAnnounce = /* @__PURE__ */ __name((props) => {\n  const { __scopeToast, children, ...announceProps } = props;\n  const context = useToastProviderContext(TOAST_NAME, __scopeToast);\n  const [renderAnnounceText, setRenderAnnounceText] = React.useState(false);\n  const [isAnnounced, setIsAnnounced] = React.useState(false);\n  useNextFrame(() => setRenderAnnounceText(true));\n  React.useEffect(() => {\n    const timer = window.setTimeout(() => setIsAnnounced(true), 1e3);\n    return () => window.clearTimeout(timer);\n  }, []);\n  return isAnnounced ? null : /* @__PURE__ */ jsx(Portal, { asChild: true, container: context.announcerContainer || void 0, children: /* @__PURE__ */ jsx(VisuallyHidden, { ...announceProps, children: renderAnnounceText && /* @__PURE__ */ jsxs(Fragment, { children: [\n    context.label,\n    \" \",\n    children\n  ] }) }) });\n}, \"ToastAnnounce\");\nvar ToastTitle = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function ToastTitle2(props, forwardedRef) {\n    const { __scopeToast, ...titleProps } = props;\n    return /* @__PURE__ */ jsx(Primitive.div, { ...titleProps, ref: forwardedRef });\n  }, \"ToastTitle\")\n);\nvar ToastDescription = /* @__PURE__ */ React.forwardRef(\n  // blank line to reduce diff noise\n  /* @__PURE__ */ __name(function ToastDescription2(props, forwardedRef) {\n    const { __scopeToast, ...descriptionProps } = props;\n    return /* @__PURE__ */ jsx(Primitive.div, { ...descriptionProps, ref: forwardedRef });\n  }, \"ToastDescription\")\n);\nvar ACTION_NAME = \"ToastAction\";\nvar ToastAction = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function ToastAction2(props, forwardedRef) {\n    const { altText, ...actionProps } = props;\n    if (!altText.trim()) {\n      console.error(\n        `Invalid prop \\`altText\\` supplied to \\`${ACTION_NAME}\\`. Expected non-empty \\`string\\`.`\n      );\n      return null;\n    }\n    return /* @__PURE__ */ jsx(ToastAnnounceExclude, { altText, asChild: true, children: /* @__PURE__ */ jsx(ToastClose, { ...actionProps, ref: forwardedRef }) });\n  }, \"ToastAction\")\n);\nvar CLOSE_NAME = \"ToastClose\";\nvar ToastClose = /* @__PURE__ */ React.forwardRef(\n  /* @__PURE__ */ __name(function ToastClose2(props, forwardedRef) {\n    const { __scopeToast, ...closeProps } = props;\n    const interactiveContext = useToastInteractiveContext(CLOSE_NAME, __scopeToast);\n    return /* @__PURE__ */ jsx(ToastAnnounceExclude, { asChild: true, children: /* @__PURE__ */ jsx(\n      Primitive.button,\n      {\n        type: \"button\",\n        ...closeProps,\n        ref: forwardedRef,\n        onClick: composeEventHandlers(props.onClick, interactiveContext.onClose)\n      }\n    ) });\n  }, \"ToastClose\")\n);\nvar ToastAnnounceExclude = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name(function ToastAnnounceExclude2(props, forwardedRef) {\n  const { __scopeToast, altText, ...announceExcludeProps } = props;\n  return /* @__PURE__ */ jsx(\n    Primitive.div,\n    {\n      \"data-radix-toast-announce-exclude\": \"\",\n      \"data-radix-toast-announce-alt\": altText || void 0,\n      ...announceExcludeProps,\n      ref: forwardedRef\n    }\n  );\n}, \"ToastAnnounceExclude\"));\nfunction getAnnounceTextContent(container) {\n  const textContent = [];\n  const childNodes = Array.from(container.childNodes);\n  childNodes.forEach((node) => {\n    if (node.nodeType === node.TEXT_NODE && node.textContent) textContent.push(node.textContent);\n    if (isHTMLElement(node)) {\n      const isHidden = node.ariaHidden || node.hidden || node.style.display === \"none\";\n      const isExcluded = node.dataset.radixToastAnnounceExclude === \"\";\n      if (!isHidden) {\n        if (isExcluded) {\n          const altText = node.dataset.radixToastAnnounceAlt;\n          if (altText) textContent.push(altText);\n        } else {\n          textContent.push(...getAnnounceTextContent(node));\n        }\n      }\n    }\n  });\n  return textContent;\n}\n__name(getAnnounceTextContent, \"getAnnounceTextContent\");\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n  const currentTarget = detail.originalEvent.currentTarget;\n  const event = new CustomEvent(name, { bubbles: true, cancelable: true, detail });\n  if (handler) currentTarget.addEventListener(name, handler, { once: true });\n  if (discrete) {\n    dispatchDiscreteCustomEvent(currentTarget, event);\n  } else {\n    currentTarget.dispatchEvent(event);\n  }\n}\n__name(handleAndDispatchCustomEvent, \"handleAndDispatchCustomEvent\");\nvar isDeltaInDirection = /* @__PURE__ */ __name((delta, direction, threshold = 0) => {\n  const deltaX = Math.abs(delta.x);\n  const deltaY = Math.abs(delta.y);\n  const isDeltaX = deltaX > deltaY;\n  if (direction === SwipeDirection.Left || direction === SwipeDirection.Right) {\n    return isDeltaX && deltaX > threshold;\n  } else {\n    return !isDeltaX && deltaY > threshold;\n  }\n}, \"isDeltaInDirection\");\nfunction useNextFrame(callback = () => {\n}) {\n  const fn = useCallbackRef(callback);\n  useLayoutEffect(() => {\n    let raf1 = 0;\n    let raf2 = 0;\n    raf1 = window.requestAnimationFrame(() => raf2 = window.requestAnimationFrame(fn));\n    return () => {\n      window.cancelAnimationFrame(raf1);\n      window.cancelAnimationFrame(raf2);\n    };\n  }, [fn]);\n}\n__name(useNextFrame, \"useNextFrame\");\nfunction isHTMLElement(node) {\n  return node.nodeType === node.ELEMENT_NODE;\n}\n__name(isHTMLElement, \"isHTMLElement\");\nfunction getTabbableCandidates(container) {\n  const nodes = [];\n  const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n    acceptNode: /* @__PURE__ */ __name((node) => {\n      const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n      if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n      return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n    }, \"acceptNode\")\n  });\n  while (walker.nextNode()) nodes.push(walker.currentNode);\n  return nodes;\n}\n__name(getTabbableCandidates, \"getTabbableCandidates\");\nfunction focusFirst(candidates) {\n  const previouslyFocusedElement = document.activeElement;\n  return candidates.some((candidate) => {\n    if (candidate === previouslyFocusedElement) return true;\n    candidate.focus();\n    return document.activeElement !== previouslyFocusedElement;\n  });\n}\n__name(focusFirst, \"focusFirst\");\nexport {\n  ToastAction as Action,\n  ToastClose as Close,\n  ToastDescription as Description,\n  ToastProvider as Provider,\n  Toast as Root,\n  ToastTitle as Title,\n  Toast,\n  ToastAction,\n  ToastClose,\n  ToastDescription,\n  ToastProvider,\n  ToastTitle,\n  ToastViewport,\n  ToastViewport as Viewport,\n  createToastScope\n};\n//# sourceMappingURL=index.mjs.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n        var _config_compoundVariants;\n        if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n        const { variants, defaultVariants } = config;\n        const getVariantClassNames = Object.keys(variants).map((variant)=>{\n            const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n            const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n            if (variantProp === null) return null;\n            const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n            return variants[variant][variantKey];\n        });\n        const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n            let [key, value] = param;\n            if (value === undefined) {\n                return acc;\n            }\n            acc[key] = value;\n            return acc;\n        }, {});\n        const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n            let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n            return Object.entries(compoundVariantOptions).every((param)=>{\n                let [key, value] = param;\n                return Array.isArray(value) ? value.includes({\n                    ...defaultVariants,\n                    ...propsWithoutUndefined\n                }[key]) : ({\n                    ...defaultVariants,\n                    ...propsWithoutUndefined\n                })[key] === value;\n            }) ? [\n                ...acc,\n                cvClass,\n                cvClassName\n            ] : acc;\n        }, []);\n        return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n    };\n\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n  return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses };\n//# sourceMappingURL=mergeClasses.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst defaultAttributes = {\n  xmlns: \"http://www.w3.org/2000/svg\",\n  width: 24,\n  height: 24,\n  viewBox: \"0 0 24 24\",\n  fill: \"none\",\n  stroke: \"currentColor\",\n  \"stroke-width\": 2,\n  \"stroke-linecap\": \"round\",\n  \"stroke-linejoin\": \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { createContext, useContext, useMemo, createElement } from 'react';\n\nconst LucideContext = createContext({});\nfunction LucideProvider({\n  children,\n  size,\n  color,\n  strokeWidth,\n  absoluteStrokeWidth,\n  nonScalingStroke,\n  className\n}) {\n  const value = useMemo(\n    () => ({\n      size,\n      color,\n      strokeWidth,\n      absoluteStrokeWidth,\n      nonScalingStroke,\n      className\n    }),\n    [size, color, strokeWidth, absoluteStrokeWidth, nonScalingStroke, className]\n  );\n  return createElement(LucideContext.Provider, { value }, children);\n}\nconst useLucideContext = () => useContext(LucideContext);\n\nexport { LucideProvider, useLucideContext };\n//# sourceMappingURL=context.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.mjs';\nimport buildLucideIconForReact from './shared/src/build/buildLucideIconForReact.mjs';\nimport { hasA11yProp } from './shared/src/utils/hasA11yProp.mjs';\nimport { useLucideContext } from './context.mjs';\n\nconst Icon = forwardRef(\n  ({\n    color,\n    size,\n    width,\n    height,\n    strokeWidth,\n    absoluteStrokeWidth,\n    nonScalingStroke,\n    className = \"\",\n    children,\n    iconNode = [],\n    icon = {\n      node: iconNode,\n      aliases: [],\n      size: 24\n    },\n    ...rest\n  }, ref) => {\n    const {\n      size: contextSize = 24,\n      strokeWidth: contextStrokeWidth = 2,\n      absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,\n      nonScalingStroke: contextNonScalingStroke = false,\n      color: contextColor = \"currentColor\",\n      className: contextClass = \"\"\n    } = useLucideContext() ?? {};\n    const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);\n    const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {\n      color: color ?? contextColor,\n      width: width ?? size ?? contextSize,\n      height: height ?? size ?? contextSize,\n      strokeWidth: strokeWidth ?? contextStrokeWidth,\n      absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,\n      nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,\n      className: mergeClasses(contextClass, className),\n      hasA11yProp: hasAccessibleProp,\n      attributes: rest\n    });\n    return createElement(\n      name,\n      {\n        ref,\n        ...svgAttributes\n      },\n      [\n        ...builtIconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n        ...Array.isArray(children) ? children : [children]\n      ]\n    );\n  }\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst hasA11yProp = (props) => {\n  for (const prop in props) {\n    if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n      return true;\n    }\n  }\n  return false;\n};\n\nexport { hasA11yProp };\n//# sourceMappingURL=hasA11yProp.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport buildLucideIconNode from './buildLucideIconNode.mjs';\n\nfunction buildLucideIconForReact(icon, params = {}) {\n  return buildLucideIconNode(icon, {\n    ...params,\n    attributeNames: {\n      ...params.attributeNames,\n      class: \"className\",\n      \"stroke-width\": \"strokeWidth\",\n      \"stroke-linecap\": \"strokeLinecap\",\n      \"stroke-linejoin\": \"strokeLinejoin\",\n      \"vector-effect\": \"vectorEffect\"\n    }\n  });\n}\n\nexport { buildLucideIconForReact as default };\n//# sourceMappingURL=buildLucideIconForReact.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport defaultAttributes from './defaultAttributes.mjs';\nimport { mergeClasses } from '../utils/mergeClasses.mjs';\n\nfunction isDefined(value) {\n  return value !== null && value !== void 0;\n}\nfunction buildLucideIconNode(icon, params = {}) {\n  const attributeNames = params.attributeNames ?? {};\n  const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;\n  const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes[\"width\"];\n  const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes[\"height\"];\n  const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === \"string\" && alias.trim() !== \"\").map((alias) => `lucide-${alias}`) ?? [];\n  const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];\n  const classNamesFromClassName = params.className?.split(\" \").filter(Boolean) ?? [];\n  const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses(\"lucide\", ...iconClassNames, ...classNamesFromClassName);\n  const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes[\"stroke-width\"]) * Number(icon.size ?? icon.width ?? defaultAttributes[\"width\"]) / Number(params.size ?? params.width ?? defaultAttributes[\"width\"]) : params.strokeWidth ?? defaultAttributes[\"stroke-width\"];\n  const attributes = {\n    ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {\n      attrs[getAttributeName(attrName)] = value;\n      return attrs;\n    }, {}),\n    ...\"color\" in params && params.color && {\n      [getAttributeName(\"stroke\")]: params.color\n    },\n    ...\"size\" in params && isDefined(params.size) && {\n      [getAttributeName(\"width\")]: params.size,\n      [getAttributeName(\"height\")]: params.size\n    },\n    ...\"width\" in params && isDefined(params.width) && {\n      [getAttributeName(\"width\")]: params.width\n    },\n    ...\"height\" in params && isDefined(params.height) && {\n      [getAttributeName(\"height\")]: params.height\n    },\n    [getAttributeName(\"stroke-width\")]: calculatedStrokeWidth,\n    ...className && {\n      [getAttributeName(\"class\")]: className\n    },\n    [getAttributeName(\"viewBox\")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,\n    ...params.hasA11yProp === false ? {\n      [getAttributeName(\"aria-hidden\")]: \"true\"\n    } : {},\n    ...\"attributes\" in params && params.attributes\n  };\n  return [\n    \"svg\",\n    attributes,\n    icon.node.map((child) => {\n      const [name, attrs, children] = child;\n      const nextAttrs = params.nonScalingStroke ? { [getAttributeName(\"vector-effect\")]: \"non-scaling-stroke\", ...attrs } : attrs;\n      return children ? [name, nextAttrs, children] : [name, nextAttrs];\n    })\n  ];\n}\n\nexport { buildLucideIconNode as default };\n//# sourceMappingURL=buildLucideIconNode.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { toLucideIconData } from './shared/src/utils/toLucideIconData.mjs';\nimport { toPascalCase } from './shared/src/utils/toPascalCase.mjs';\nimport Icon from './Icon.mjs';\n\nfunction createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {\n  const iconData = typeof iconDataOrName === \"string\" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;\n  const Component = forwardRef(\n    ({ className, ...props }, ref) => createElement(Icon, {\n      ref,\n      icon: iconData,\n      className,\n      ...props\n    })\n  );\n  if (iconData.name) {\n    Component.displayName = toPascalCase(iconData.name);\n  }\n  return Component;\n}\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toCamelCase } from './toCamelCase.mjs';\n\nconst toPascalCase = (string) => {\n  const camelCase = toCamelCase(string);\n  return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\n\nexport { toPascalCase };\n//# sourceMappingURL=toPascalCase.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toKebabCase } from './toKebabCase.mjs';\n\nfunction toLucideIconData(iconName, iconNode, aliases = []) {\n  if (iconNode == null) {\n    throw new Error(\"[lucide]: iconNode is required when icon name is used\");\n  }\n  return {\n    name: toKebabCase(iconName),\n    size: 24,\n    node: iconNode,\n    ...aliases.length > 0 ? { aliases } : {}\n  };\n}\n\nexport { toLucideIconData };\n//# sourceMappingURL=toLucideIconData.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\nexport { toKebabCase };\n//# sourceMappingURL=toKebabCase.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toCamelCase = (string) => {\n  let out = \"\";\n  let upperNext = false;\n  for (const ch of string) {\n    if (ch === \"-\" || ch === \"_\" || ch <= \" \") {\n      upperNext = out.length > 0;\n      continue;\n    }\n    if (out.length === 0) {\n      out += ch.toLowerCase();\n    } else {\n      out += upperNext ? ch.toUpperCase() : ch;\n    }\n    upperNext = false;\n  }\n  return out;\n};\n\nexport { toCamelCase };\n//# sourceMappingURL=toCamelCase.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n  name: \"x\",\n  size: 24,\n  node: [\n    [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n    [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n  ]\n};\n__iconData.node;\nconst X = createLucideIcon(__iconData);\n\nexport { __iconData, X as default };\n//# sourceMappingURL=x.mjs.map\n","/**\n * @license lucide-react v1.62.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconData = {\n  name: \"circle-check\",\n  size: 24,\n  node: [\n    [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n    [\"path\", { d: \"m16 9-5.5 5.5L8 12\", key: \"xofnsj\" }]\n  ],\n  aliases: [\"check-circle-2\"]\n};\n__iconData.node;\nconst CircleCheck = createLucideIcon(__iconData);\n\nexport { __iconData, CircleCheck as default };\n//# sourceMappingURL=circle-check.mjs.map\n","const CLASS_PART_SEPARATOR = '-';\nconst createClassGroupUtils = config => {\n  const classMap = createClassMap(config);\n  const {\n    conflictingClassGroups,\n    conflictingClassGroupModifiers\n  } = config;\n  const getClassGroupId = className => {\n    const classParts = className.split(CLASS_PART_SEPARATOR);\n    // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and remove it from classParts.\n    if (classParts[0] === '' && classParts.length !== 1) {\n      classParts.shift();\n    }\n    return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);\n  };\n  const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n    const conflicts = conflictingClassGroups[classGroupId] || [];\n    if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {\n      return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];\n    }\n    return conflicts;\n  };\n  return {\n    getClassGroupId,\n    getConflictingClassGroupIds\n  };\n};\nconst getGroupRecursive = (classParts, classPartObject) => {\n  if (classParts.length === 0) {\n    return classPartObject.classGroupId;\n  }\n  const currentClassPart = classParts[0];\n  const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n  const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : undefined;\n  if (classGroupFromNextClassPart) {\n    return classGroupFromNextClassPart;\n  }\n  if (classPartObject.validators.length === 0) {\n    return undefined;\n  }\n  const classRest = classParts.join(CLASS_PART_SEPARATOR);\n  return classPartObject.validators.find(({\n    validator\n  }) => validator(classRest))?.classGroupId;\n};\nconst arbitraryPropertyRegex = /^\\[(.+)\\]$/;\nconst getGroupIdForArbitraryProperty = className => {\n  if (arbitraryPropertyRegex.test(className)) {\n    const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];\n    const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(':'));\n    if (property) {\n      // I use two dots here because one dot is used as prefix for class groups in plugins\n      return 'arbitrary..' + property;\n    }\n  }\n};\n/**\n * Exported for testing only\n */\nconst createClassMap = config => {\n  const {\n    theme,\n    prefix\n  } = config;\n  const classMap = {\n    nextPart: new Map(),\n    validators: []\n  };\n  const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);\n  prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {\n    processClassesRecursively(classGroup, classMap, classGroupId, theme);\n  });\n  return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n  classGroup.forEach(classDefinition => {\n    if (typeof classDefinition === 'string') {\n      const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);\n      classPartObjectToEdit.classGroupId = classGroupId;\n      return;\n    }\n    if (typeof classDefinition === 'function') {\n      if (isThemeGetter(classDefinition)) {\n        processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n        return;\n      }\n      classPartObject.validators.push({\n        validator: classDefinition,\n        classGroupId\n      });\n      return;\n    }\n    Object.entries(classDefinition).forEach(([key, classGroup]) => {\n      processClassesRecursively(classGroup, getPart(classPartObject, key), classGroupId, theme);\n    });\n  });\n};\nconst getPart = (classPartObject, path) => {\n  let currentClassPartObject = classPartObject;\n  path.split(CLASS_PART_SEPARATOR).forEach(pathPart => {\n    if (!currentClassPartObject.nextPart.has(pathPart)) {\n      currentClassPartObject.nextPart.set(pathPart, {\n        nextPart: new Map(),\n        validators: []\n      });\n    }\n    currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);\n  });\n  return currentClassPartObject;\n};\nconst isThemeGetter = func => func.isThemeGetter;\nconst getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {\n  if (!prefix) {\n    return classGroupEntries;\n  }\n  return classGroupEntries.map(([classGroupId, classGroup]) => {\n    const prefixedClassGroup = classGroup.map(classDefinition => {\n      if (typeof classDefinition === 'string') {\n        return prefix + classDefinition;\n      }\n      if (typeof classDefinition === 'object') {\n        return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));\n      }\n      return classDefinition;\n    });\n    return [classGroupId, prefixedClassGroup];\n  });\n};\n\n// LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance\nconst createLruCache = maxCacheSize => {\n  if (maxCacheSize < 1) {\n    return {\n      get: () => undefined,\n      set: () => {}\n    };\n  }\n  let cacheSize = 0;\n  let cache = new Map();\n  let previousCache = new Map();\n  const update = (key, value) => {\n    cache.set(key, value);\n    cacheSize++;\n    if (cacheSize > maxCacheSize) {\n      cacheSize = 0;\n      previousCache = cache;\n      cache = new Map();\n    }\n  };\n  return {\n    get(key) {\n      let value = cache.get(key);\n      if (value !== undefined) {\n        return value;\n      }\n      if ((value = previousCache.get(key)) !== undefined) {\n        update(key, value);\n        return value;\n      }\n    },\n    set(key, value) {\n      if (cache.has(key)) {\n        cache.set(key, value);\n      } else {\n        update(key, value);\n      }\n    }\n  };\n};\nconst IMPORTANT_MODIFIER = '!';\nconst createParseClassName = config => {\n  const {\n    separator,\n    experimentalParseClassName\n  } = config;\n  const isSeparatorSingleCharacter = separator.length === 1;\n  const firstSeparatorCharacter = separator[0];\n  const separatorLength = separator.length;\n  // parseClassName inspired by https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n  const parseClassName = className => {\n    const modifiers = [];\n    let bracketDepth = 0;\n    let modifierStart = 0;\n    let postfixModifierPosition;\n    for (let index = 0; index < className.length; index++) {\n      let currentCharacter = className[index];\n      if (bracketDepth === 0) {\n        if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {\n          modifiers.push(className.slice(modifierStart, index));\n          modifierStart = index + separatorLength;\n          continue;\n        }\n        if (currentCharacter === '/') {\n          postfixModifierPosition = index;\n          continue;\n        }\n      }\n      if (currentCharacter === '[') {\n        bracketDepth++;\n      } else if (currentCharacter === ']') {\n        bracketDepth--;\n      }\n    }\n    const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);\n    const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);\n    const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;\n    const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;\n    return {\n      modifiers,\n      hasImportantModifier,\n      baseClassName,\n      maybePostfixModifierPosition\n    };\n  };\n  if (experimentalParseClassName) {\n    return className => experimentalParseClassName({\n      className,\n      parseClassName\n    });\n  }\n  return parseClassName;\n};\n/**\n * Sorts modifiers according to following schema:\n * - Predefined modifiers are sorted alphabetically\n * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it\n */\nconst sortModifiers = modifiers => {\n  if (modifiers.length <= 1) {\n    return modifiers;\n  }\n  const sortedModifiers = [];\n  let unsortedModifiers = [];\n  modifiers.forEach(modifier => {\n    const isArbitraryVariant = modifier[0] === '[';\n    if (isArbitraryVariant) {\n      sortedModifiers.push(...unsortedModifiers.sort(), modifier);\n      unsortedModifiers = [];\n    } else {\n      unsortedModifiers.push(modifier);\n    }\n  });\n  sortedModifiers.push(...unsortedModifiers.sort());\n  return sortedModifiers;\n};\nconst createConfigUtils = config => ({\n  cache: createLruCache(config.cacheSize),\n  parseClassName: createParseClassName(config),\n  ...createClassGroupUtils(config)\n});\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n  const {\n    parseClassName,\n    getClassGroupId,\n    getConflictingClassGroupIds\n  } = configUtils;\n  /**\n   * Set of classGroupIds in following format:\n   * `{importantModifier}{variantModifiers}{classGroupId}`\n   * @example 'float'\n   * @example 'hover:focus:bg-color'\n   * @example 'md:!pr'\n   */\n  const classGroupsInConflict = [];\n  const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n  let result = '';\n  for (let index = classNames.length - 1; index >= 0; index -= 1) {\n    const originalClassName = classNames[index];\n    const {\n      modifiers,\n      hasImportantModifier,\n      baseClassName,\n      maybePostfixModifierPosition\n    } = parseClassName(originalClassName);\n    let hasPostfixModifier = Boolean(maybePostfixModifierPosition);\n    let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);\n    if (!classGroupId) {\n      if (!hasPostfixModifier) {\n        // Not a Tailwind class\n        result = originalClassName + (result.length > 0 ? ' ' + result : result);\n        continue;\n      }\n      classGroupId = getClassGroupId(baseClassName);\n      if (!classGroupId) {\n        // Not a Tailwind class\n        result = originalClassName + (result.length > 0 ? ' ' + result : result);\n        continue;\n      }\n      hasPostfixModifier = false;\n    }\n    const variantModifier = sortModifiers(modifiers).join(':');\n    const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n    const classId = modifierId + classGroupId;\n    if (classGroupsInConflict.includes(classId)) {\n      // Tailwind class omitted due to conflict\n      continue;\n    }\n    classGroupsInConflict.push(classId);\n    const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n    for (let i = 0; i < conflictGroups.length; ++i) {\n      const group = conflictGroups[i];\n      classGroupsInConflict.push(modifierId + group);\n    }\n    // Tailwind class not in conflict\n    result = originalClassName + (result.length > 0 ? ' ' + result : result);\n  }\n  return result;\n};\n\n/**\n * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.\n *\n * Specifically:\n * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js\n * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts\n *\n * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)\n */\nfunction twJoin() {\n  let index = 0;\n  let argument;\n  let resolvedValue;\n  let string = '';\n  while (index < arguments.length) {\n    if (argument = arguments[index++]) {\n      if (resolvedValue = toValue(argument)) {\n        string && (string += ' ');\n        string += resolvedValue;\n      }\n    }\n  }\n  return string;\n}\nconst toValue = mix => {\n  if (typeof mix === 'string') {\n    return mix;\n  }\n  let resolvedValue;\n  let string = '';\n  for (let k = 0; k < mix.length; k++) {\n    if (mix[k]) {\n      if (resolvedValue = toValue(mix[k])) {\n        string && (string += ' ');\n        string += resolvedValue;\n      }\n    }\n  }\n  return string;\n};\nfunction createTailwindMerge(createConfigFirst, ...createConfigRest) {\n  let configUtils;\n  let cacheGet;\n  let cacheSet;\n  let functionToCall = initTailwindMerge;\n  function initTailwindMerge(classList) {\n    const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n    configUtils = createConfigUtils(config);\n    cacheGet = configUtils.cache.get;\n    cacheSet = configUtils.cache.set;\n    functionToCall = tailwindMerge;\n    return tailwindMerge(classList);\n  }\n  function tailwindMerge(classList) {\n    const cachedResult = cacheGet(classList);\n    if (cachedResult) {\n      return cachedResult;\n    }\n    const result = mergeClassList(classList, configUtils);\n    cacheSet(classList, result);\n    return result;\n  }\n  return function callTailwindMerge() {\n    return functionToCall(twJoin.apply(null, arguments));\n  };\n}\nconst fromTheme = key => {\n  const themeGetter = theme => theme[key] || [];\n  themeGetter.isThemeGetter = true;\n  return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:([a-z-]+):)?(.+)\\]$/i;\nconst fractionRegex = /^\\d+\\/\\d+$/;\nconst stringLengths = /*#__PURE__*/new Set(['px', 'full', 'screen']);\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/;\n// Shadow always begins with x and y offset separated by underscore optionally prepended by inset\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isLength = value => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);\nconst isArbitraryLength = value => getIsArbitraryValue(value, 'length', isLengthOnly);\nconst isNumber = value => Boolean(value) && !Number.isNaN(Number(value));\nconst isArbitraryNumber = value => getIsArbitraryValue(value, 'number', isNumber);\nconst isInteger = value => Boolean(value) && Number.isInteger(Number(value));\nconst isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));\nconst isArbitraryValue = value => arbitraryValueRegex.test(value);\nconst isTshirtSize = value => tshirtUnitRegex.test(value);\nconst sizeLabels = /*#__PURE__*/new Set(['length', 'size', 'percentage']);\nconst isArbitrarySize = value => getIsArbitraryValue(value, sizeLabels, isNever);\nconst isArbitraryPosition = value => getIsArbitraryValue(value, 'position', isNever);\nconst imageLabels = /*#__PURE__*/new Set(['image', 'url']);\nconst isArbitraryImage = value => getIsArbitraryValue(value, imageLabels, isImage);\nconst isArbitraryShadow = value => getIsArbitraryValue(value, '', isShadow);\nconst isAny = () => true;\nconst getIsArbitraryValue = (value, label, testValue) => {\n  const result = arbitraryValueRegex.exec(value);\n  if (result) {\n    if (result[1]) {\n      return typeof label === 'string' ? result[1] === label : label.has(result[1]);\n    }\n    return testValue(result[2]);\n  }\n  return false;\n};\nconst isLengthOnly = value =>\n// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n// For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\nlengthUnitRegex.test(value) && !colorFunctionRegex.test(value);\nconst isNever = () => false;\nconst isShadow = value => shadowRegex.test(value);\nconst isImage = value => imageRegex.test(value);\nconst validators = /*#__PURE__*/Object.defineProperty({\n  __proto__: null,\n  isAny,\n  isArbitraryImage,\n  isArbitraryLength,\n  isArbitraryNumber,\n  isArbitraryPosition,\n  isArbitraryShadow,\n  isArbitrarySize,\n  isArbitraryValue,\n  isInteger,\n  isLength,\n  isNumber,\n  isPercent,\n  isTshirtSize\n}, Symbol.toStringTag, {\n  value: 'Module'\n});\nconst getDefaultConfig = () => {\n  const colors = fromTheme('colors');\n  const spacing = fromTheme('spacing');\n  const blur = fromTheme('blur');\n  const brightness = fromTheme('brightness');\n  const borderColor = fromTheme('borderColor');\n  const borderRadius = fromTheme('borderRadius');\n  const borderSpacing = fromTheme('borderSpacing');\n  const borderWidth = fromTheme('borderWidth');\n  const contrast = fromTheme('contrast');\n  const grayscale = fromTheme('grayscale');\n  const hueRotate = fromTheme('hueRotate');\n  const invert = fromTheme('invert');\n  const gap = fromTheme('gap');\n  const gradientColorStops = fromTheme('gradientColorStops');\n  const gradientColorStopPositions = fromTheme('gradientColorStopPositions');\n  const inset = fromTheme('inset');\n  const margin = fromTheme('margin');\n  const opacity = fromTheme('opacity');\n  const padding = fromTheme('padding');\n  const saturate = fromTheme('saturate');\n  const scale = fromTheme('scale');\n  const sepia = fromTheme('sepia');\n  const skew = fromTheme('skew');\n  const space = fromTheme('space');\n  const translate = fromTheme('translate');\n  const getOverscroll = () => ['auto', 'contain', 'none'];\n  const getOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];\n  const getSpacingWithAutoAndArbitrary = () => ['auto', isArbitraryValue, spacing];\n  const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];\n  const getLengthWithEmptyAndArbitrary = () => ['', isLength, isArbitraryLength];\n  const getNumberWithAutoAndArbitrary = () => ['auto', isNumber, isArbitraryValue];\n  const getPositions = () => ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];\n  const getLineStyles = () => ['solid', 'dashed', 'dotted', 'double', 'none'];\n  const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];\n  const getAlign = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch'];\n  const getZeroAndEmpty = () => ['', '0', isArbitraryValue];\n  const getBreaks = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];\n  const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];\n  return {\n    cacheSize: 500,\n    separator: ':',\n    theme: {\n      colors: [isAny],\n      spacing: [isLength, isArbitraryLength],\n      blur: ['none', '', isTshirtSize, isArbitraryValue],\n      brightness: getNumberAndArbitrary(),\n      borderColor: [colors],\n      borderRadius: ['none', '', 'full', isTshirtSize, isArbitraryValue],\n      borderSpacing: getSpacingWithArbitrary(),\n      borderWidth: getLengthWithEmptyAndArbitrary(),\n      contrast: getNumberAndArbitrary(),\n      grayscale: getZeroAndEmpty(),\n      hueRotate: getNumberAndArbitrary(),\n      invert: getZeroAndEmpty(),\n      gap: getSpacingWithArbitrary(),\n      gradientColorStops: [colors],\n      gradientColorStopPositions: [isPercent, isArbitraryLength],\n      inset: getSpacingWithAutoAndArbitrary(),\n      margin: getSpacingWithAutoAndArbitrary(),\n      opacity: getNumberAndArbitrary(),\n      padding: getSpacingWithArbitrary(),\n      saturate: getNumberAndArbitrary(),\n      scale: getNumberAndArbitrary(),\n      sepia: getZeroAndEmpty(),\n      skew: getNumberAndArbitrary(),\n      space: getSpacingWithArbitrary(),\n      translate: getSpacingWithArbitrary()\n    },\n    classGroups: {\n      // Layout\n      /**\n       * Aspect Ratio\n       * @see https://tailwindcss.com/docs/aspect-ratio\n       */\n      aspect: [{\n        aspect: ['auto', 'square', 'video', isArbitraryValue]\n      }],\n      /**\n       * Container\n       * @see https://tailwindcss.com/docs/container\n       */\n      container: ['container'],\n      /**\n       * Columns\n       * @see https://tailwindcss.com/docs/columns\n       */\n      columns: [{\n        columns: [isTshirtSize]\n      }],\n      /**\n       * Break After\n       * @see https://tailwindcss.com/docs/break-after\n       */\n      'break-after': [{\n        'break-after': getBreaks()\n      }],\n      /**\n       * Break Before\n       * @see https://tailwindcss.com/docs/break-before\n       */\n      'break-before': [{\n        'break-before': getBreaks()\n      }],\n      /**\n       * Break Inside\n       * @see https://tailwindcss.com/docs/break-inside\n       */\n      'break-inside': [{\n        'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']\n      }],\n      /**\n       * Box Decoration Break\n       * @see https://tailwindcss.com/docs/box-decoration-break\n       */\n      'box-decoration': [{\n        'box-decoration': ['slice', 'clone']\n      }],\n      /**\n       * Box Sizing\n       * @see https://tailwindcss.com/docs/box-sizing\n       */\n      box: [{\n        box: ['border', 'content']\n      }],\n      /**\n       * Display\n       * @see https://tailwindcss.com/docs/display\n       */\n      display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],\n      /**\n       * Floats\n       * @see https://tailwindcss.com/docs/float\n       */\n      float: [{\n        float: ['right', 'left', 'none', 'start', 'end']\n      }],\n      /**\n       * Clear\n       * @see https://tailwindcss.com/docs/clear\n       */\n      clear: [{\n        clear: ['left', 'right', 'both', 'none', 'start', 'end']\n      }],\n      /**\n       * Isolation\n       * @see https://tailwindcss.com/docs/isolation\n       */\n      isolation: ['isolate', 'isolation-auto'],\n      /**\n       * Object Fit\n       * @see https://tailwindcss.com/docs/object-fit\n       */\n      'object-fit': [{\n        object: ['contain', 'cover', 'fill', 'none', 'scale-down']\n      }],\n      /**\n       * Object Position\n       * @see https://tailwindcss.com/docs/object-position\n       */\n      'object-position': [{\n        object: [...getPositions(), isArbitraryValue]\n      }],\n      /**\n       * Overflow\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      overflow: [{\n        overflow: getOverflow()\n      }],\n      /**\n       * Overflow X\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      'overflow-x': [{\n        'overflow-x': getOverflow()\n      }],\n      /**\n       * Overflow Y\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      'overflow-y': [{\n        'overflow-y': getOverflow()\n      }],\n      /**\n       * Overscroll Behavior\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      overscroll: [{\n        overscroll: getOverscroll()\n      }],\n      /**\n       * Overscroll Behavior X\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      'overscroll-x': [{\n        'overscroll-x': getOverscroll()\n      }],\n      /**\n       * Overscroll Behavior Y\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      'overscroll-y': [{\n        'overscroll-y': getOverscroll()\n      }],\n      /**\n       * Position\n       * @see https://tailwindcss.com/docs/position\n       */\n      position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],\n      /**\n       * Top / Right / Bottom / Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      inset: [{\n        inset: [inset]\n      }],\n      /**\n       * Right / Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      'inset-x': [{\n        'inset-x': [inset]\n      }],\n      /**\n       * Top / Bottom\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      'inset-y': [{\n        'inset-y': [inset]\n      }],\n      /**\n       * Start\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      start: [{\n        start: [inset]\n      }],\n      /**\n       * End\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      end: [{\n        end: [inset]\n      }],\n      /**\n       * Top\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      top: [{\n        top: [inset]\n      }],\n      /**\n       * Right\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      right: [{\n        right: [inset]\n      }],\n      /**\n       * Bottom\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      bottom: [{\n        bottom: [inset]\n      }],\n      /**\n       * Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      left: [{\n        left: [inset]\n      }],\n      /**\n       * Visibility\n       * @see https://tailwindcss.com/docs/visibility\n       */\n      visibility: ['visible', 'invisible', 'collapse'],\n      /**\n       * Z-Index\n       * @see https://tailwindcss.com/docs/z-index\n       */\n      z: [{\n        z: ['auto', isInteger, isArbitraryValue]\n      }],\n      // Flexbox and Grid\n      /**\n       * Flex Basis\n       * @see https://tailwindcss.com/docs/flex-basis\n       */\n      basis: [{\n        basis: getSpacingWithAutoAndArbitrary()\n      }],\n      /**\n       * Flex Direction\n       * @see https://tailwindcss.com/docs/flex-direction\n       */\n      'flex-direction': [{\n        flex: ['row', 'row-reverse', 'col', 'col-reverse']\n      }],\n      /**\n       * Flex Wrap\n       * @see https://tailwindcss.com/docs/flex-wrap\n       */\n      'flex-wrap': [{\n        flex: ['wrap', 'wrap-reverse', 'nowrap']\n      }],\n      /**\n       * Flex\n       * @see https://tailwindcss.com/docs/flex\n       */\n      flex: [{\n        flex: ['1', 'auto', 'initial', 'none', isArbitraryValue]\n      }],\n      /**\n       * Flex Grow\n       * @see https://tailwindcss.com/docs/flex-grow\n       */\n      grow: [{\n        grow: getZeroAndEmpty()\n      }],\n      /**\n       * Flex Shrink\n       * @see https://tailwindcss.com/docs/flex-shrink\n       */\n      shrink: [{\n        shrink: getZeroAndEmpty()\n      }],\n      /**\n       * Order\n       * @see https://tailwindcss.com/docs/order\n       */\n      order: [{\n        order: ['first', 'last', 'none', isInteger, isArbitraryValue]\n      }],\n      /**\n       * Grid Template Columns\n       * @see https://tailwindcss.com/docs/grid-template-columns\n       */\n      'grid-cols': [{\n        'grid-cols': [isAny]\n      }],\n      /**\n       * Grid Column Start / End\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      'col-start-end': [{\n        col: ['auto', {\n          span: ['full', isInteger, isArbitraryValue]\n        }, isArbitraryValue]\n      }],\n      /**\n       * Grid Column Start\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      'col-start': [{\n        'col-start': getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Column End\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      'col-end': [{\n        'col-end': getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Template Rows\n       * @see https://tailwindcss.com/docs/grid-template-rows\n       */\n      'grid-rows': [{\n        'grid-rows': [isAny]\n      }],\n      /**\n       * Grid Row Start / End\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      'row-start-end': [{\n        row: ['auto', {\n          span: [isInteger, isArbitraryValue]\n        }, isArbitraryValue]\n      }],\n      /**\n       * Grid Row Start\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      'row-start': [{\n        'row-start': getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Row End\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      'row-end': [{\n        'row-end': getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Auto Flow\n       * @see https://tailwindcss.com/docs/grid-auto-flow\n       */\n      'grid-flow': [{\n        'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']\n      }],\n      /**\n       * Grid Auto Columns\n       * @see https://tailwindcss.com/docs/grid-auto-columns\n       */\n      'auto-cols': [{\n        'auto-cols': ['auto', 'min', 'max', 'fr', isArbitraryValue]\n      }],\n      /**\n       * Grid Auto Rows\n       * @see https://tailwindcss.com/docs/grid-auto-rows\n       */\n      'auto-rows': [{\n        'auto-rows': ['auto', 'min', 'max', 'fr', isArbitraryValue]\n      }],\n      /**\n       * Gap\n       * @see https://tailwindcss.com/docs/gap\n       */\n      gap: [{\n        gap: [gap]\n      }],\n      /**\n       * Gap X\n       * @see https://tailwindcss.com/docs/gap\n       */\n      'gap-x': [{\n        'gap-x': [gap]\n      }],\n      /**\n       * Gap Y\n       * @see https://tailwindcss.com/docs/gap\n       */\n      'gap-y': [{\n        'gap-y': [gap]\n      }],\n      /**\n       * Justify Content\n       * @see https://tailwindcss.com/docs/justify-content\n       */\n      'justify-content': [{\n        justify: ['normal', ...getAlign()]\n      }],\n      /**\n       * Justify Items\n       * @see https://tailwindcss.com/docs/justify-items\n       */\n      'justify-items': [{\n        'justify-items': ['start', 'end', 'center', 'stretch']\n      }],\n      /**\n       * Justify Self\n       * @see https://tailwindcss.com/docs/justify-self\n       */\n      'justify-self': [{\n        'justify-self': ['auto', 'start', 'end', 'center', 'stretch']\n      }],\n      /**\n       * Align Content\n       * @see https://tailwindcss.com/docs/align-content\n       */\n      'align-content': [{\n        content: ['normal', ...getAlign(), 'baseline']\n      }],\n      /**\n       * Align Items\n       * @see https://tailwindcss.com/docs/align-items\n       */\n      'align-items': [{\n        items: ['start', 'end', 'center', 'baseline', 'stretch']\n      }],\n      /**\n       * Align Self\n       * @see https://tailwindcss.com/docs/align-self\n       */\n      'align-self': [{\n        self: ['auto', 'start', 'end', 'center', 'stretch', 'baseline']\n      }],\n      /**\n       * Place Content\n       * @see https://tailwindcss.com/docs/place-content\n       */\n      'place-content': [{\n        'place-content': [...getAlign(), 'baseline']\n      }],\n      /**\n       * Place Items\n       * @see https://tailwindcss.com/docs/place-items\n       */\n      'place-items': [{\n        'place-items': ['start', 'end', 'center', 'baseline', 'stretch']\n      }],\n      /**\n       * Place Self\n       * @see https://tailwindcss.com/docs/place-self\n       */\n      'place-self': [{\n        'place-self': ['auto', 'start', 'end', 'center', 'stretch']\n      }],\n      // Spacing\n      /**\n       * Padding\n       * @see https://tailwindcss.com/docs/padding\n       */\n      p: [{\n        p: [padding]\n      }],\n      /**\n       * Padding X\n       * @see https://tailwindcss.com/docs/padding\n       */\n      px: [{\n        px: [padding]\n      }],\n      /**\n       * Padding Y\n       * @see https://tailwindcss.com/docs/padding\n       */\n      py: [{\n        py: [padding]\n      }],\n      /**\n       * Padding Start\n       * @see https://tailwindcss.com/docs/padding\n       */\n      ps: [{\n        ps: [padding]\n      }],\n      /**\n       * Padding End\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pe: [{\n        pe: [padding]\n      }],\n      /**\n       * Padding Top\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pt: [{\n        pt: [padding]\n      }],\n      /**\n       * Padding Right\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pr: [{\n        pr: [padding]\n      }],\n      /**\n       * Padding Bottom\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pb: [{\n        pb: [padding]\n      }],\n      /**\n       * Padding Left\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pl: [{\n        pl: [padding]\n      }],\n      /**\n       * Margin\n       * @see https://tailwindcss.com/docs/margin\n       */\n      m: [{\n        m: [margin]\n      }],\n      /**\n       * Margin X\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mx: [{\n        mx: [margin]\n      }],\n      /**\n       * Margin Y\n       * @see https://tailwindcss.com/docs/margin\n       */\n      my: [{\n        my: [margin]\n      }],\n      /**\n       * Margin Start\n       * @see https://tailwindcss.com/docs/margin\n       */\n      ms: [{\n        ms: [margin]\n      }],\n      /**\n       * Margin End\n       * @see https://tailwindcss.com/docs/margin\n       */\n      me: [{\n        me: [margin]\n      }],\n      /**\n       * Margin Top\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mt: [{\n        mt: [margin]\n      }],\n      /**\n       * Margin Right\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mr: [{\n        mr: [margin]\n      }],\n      /**\n       * Margin Bottom\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mb: [{\n        mb: [margin]\n      }],\n      /**\n       * Margin Left\n       * @see https://tailwindcss.com/docs/margin\n       */\n      ml: [{\n        ml: [margin]\n      }],\n      /**\n       * Space Between X\n       * @see https://tailwindcss.com/docs/space\n       */\n      'space-x': [{\n        'space-x': [space]\n      }],\n      /**\n       * Space Between X Reverse\n       * @see https://tailwindcss.com/docs/space\n       */\n      'space-x-reverse': ['space-x-reverse'],\n      /**\n       * Space Between Y\n       * @see https://tailwindcss.com/docs/space\n       */\n      'space-y': [{\n        'space-y': [space]\n      }],\n      /**\n       * Space Between Y Reverse\n       * @see https://tailwindcss.com/docs/space\n       */\n      'space-y-reverse': ['space-y-reverse'],\n      // Sizing\n      /**\n       * Width\n       * @see https://tailwindcss.com/docs/width\n       */\n      w: [{\n        w: ['auto', 'min', 'max', 'fit', 'svw', 'lvw', 'dvw', isArbitraryValue, spacing]\n      }],\n      /**\n       * Min-Width\n       * @see https://tailwindcss.com/docs/min-width\n       */\n      'min-w': [{\n        'min-w': [isArbitraryValue, spacing, 'min', 'max', 'fit']\n      }],\n      /**\n       * Max-Width\n       * @see https://tailwindcss.com/docs/max-width\n       */\n      'max-w': [{\n        'max-w': [isArbitraryValue, spacing, 'none', 'full', 'min', 'max', 'fit', 'prose', {\n          screen: [isTshirtSize]\n        }, isTshirtSize]\n      }],\n      /**\n       * Height\n       * @see https://tailwindcss.com/docs/height\n       */\n      h: [{\n        h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']\n      }],\n      /**\n       * Min-Height\n       * @see https://tailwindcss.com/docs/min-height\n       */\n      'min-h': [{\n        'min-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']\n      }],\n      /**\n       * Max-Height\n       * @see https://tailwindcss.com/docs/max-height\n       */\n      'max-h': [{\n        'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']\n      }],\n      /**\n       * Size\n       * @see https://tailwindcss.com/docs/size\n       */\n      size: [{\n        size: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']\n      }],\n      // Typography\n      /**\n       * Font Size\n       * @see https://tailwindcss.com/docs/font-size\n       */\n      'font-size': [{\n        text: ['base', isTshirtSize, isArbitraryLength]\n      }],\n      /**\n       * Font Smoothing\n       * @see https://tailwindcss.com/docs/font-smoothing\n       */\n      'font-smoothing': ['antialiased', 'subpixel-antialiased'],\n      /**\n       * Font Style\n       * @see https://tailwindcss.com/docs/font-style\n       */\n      'font-style': ['italic', 'not-italic'],\n      /**\n       * Font Weight\n       * @see https://tailwindcss.com/docs/font-weight\n       */\n      'font-weight': [{\n        font: ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black', isArbitraryNumber]\n      }],\n      /**\n       * Font Family\n       * @see https://tailwindcss.com/docs/font-family\n       */\n      'font-family': [{\n        font: [isAny]\n      }],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      'fvn-normal': ['normal-nums'],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      'fvn-ordinal': ['ordinal'],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      'fvn-slashed-zero': ['slashed-zero'],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      'fvn-figure': ['lining-nums', 'oldstyle-nums'],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      'fvn-spacing': ['proportional-nums', 'tabular-nums'],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],\n      /**\n       * Letter Spacing\n       * @see https://tailwindcss.com/docs/letter-spacing\n       */\n      tracking: [{\n        tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest', isArbitraryValue]\n      }],\n      /**\n       * Line Clamp\n       * @see https://tailwindcss.com/docs/line-clamp\n       */\n      'line-clamp': [{\n        'line-clamp': ['none', isNumber, isArbitraryNumber]\n      }],\n      /**\n       * Line Height\n       * @see https://tailwindcss.com/docs/line-height\n       */\n      leading: [{\n        leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose', isLength, isArbitraryValue]\n      }],\n      /**\n       * List Style Image\n       * @see https://tailwindcss.com/docs/list-style-image\n       */\n      'list-image': [{\n        'list-image': ['none', isArbitraryValue]\n      }],\n      /**\n       * List Style Type\n       * @see https://tailwindcss.com/docs/list-style-type\n       */\n      'list-style-type': [{\n        list: ['none', 'disc', 'decimal', isArbitraryValue]\n      }],\n      /**\n       * List Style Position\n       * @see https://tailwindcss.com/docs/list-style-position\n       */\n      'list-style-position': [{\n        list: ['inside', 'outside']\n      }],\n      /**\n       * Placeholder Color\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/placeholder-color\n       */\n      'placeholder-color': [{\n        placeholder: [colors]\n      }],\n      /**\n       * Placeholder Opacity\n       * @see https://tailwindcss.com/docs/placeholder-opacity\n       */\n      'placeholder-opacity': [{\n        'placeholder-opacity': [opacity]\n      }],\n      /**\n       * Text Alignment\n       * @see https://tailwindcss.com/docs/text-align\n       */\n      'text-alignment': [{\n        text: ['left', 'center', 'right', 'justify', 'start', 'end']\n      }],\n      /**\n       * Text Color\n       * @see https://tailwindcss.com/docs/text-color\n       */\n      'text-color': [{\n        text: [colors]\n      }],\n      /**\n       * Text Opacity\n       * @see https://tailwindcss.com/docs/text-opacity\n       */\n      'text-opacity': [{\n        'text-opacity': [opacity]\n      }],\n      /**\n       * Text Decoration\n       * @see https://tailwindcss.com/docs/text-decoration\n       */\n      'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],\n      /**\n       * Text Decoration Style\n       * @see https://tailwindcss.com/docs/text-decoration-style\n       */\n      'text-decoration-style': [{\n        decoration: [...getLineStyles(), 'wavy']\n      }],\n      /**\n       * Text Decoration Thickness\n       * @see https://tailwindcss.com/docs/text-decoration-thickness\n       */\n      'text-decoration-thickness': [{\n        decoration: ['auto', 'from-font', isLength, isArbitraryLength]\n      }],\n      /**\n       * Text Underline Offset\n       * @see https://tailwindcss.com/docs/text-underline-offset\n       */\n      'underline-offset': [{\n        'underline-offset': ['auto', isLength, isArbitraryValue]\n      }],\n      /**\n       * Text Decoration Color\n       * @see https://tailwindcss.com/docs/text-decoration-color\n       */\n      'text-decoration-color': [{\n        decoration: [colors]\n      }],\n      /**\n       * Text Transform\n       * @see https://tailwindcss.com/docs/text-transform\n       */\n      'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],\n      /**\n       * Text Overflow\n       * @see https://tailwindcss.com/docs/text-overflow\n       */\n      'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],\n      /**\n       * Text Wrap\n       * @see https://tailwindcss.com/docs/text-wrap\n       */\n      'text-wrap': [{\n        text: ['wrap', 'nowrap', 'balance', 'pretty']\n      }],\n      /**\n       * Text Indent\n       * @see https://tailwindcss.com/docs/text-indent\n       */\n      indent: [{\n        indent: getSpacingWithArbitrary()\n      }],\n      /**\n       * Vertical Alignment\n       * @see https://tailwindcss.com/docs/vertical-align\n       */\n      'vertical-align': [{\n        align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryValue]\n      }],\n      /**\n       * Whitespace\n       * @see https://tailwindcss.com/docs/whitespace\n       */\n      whitespace: [{\n        whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']\n      }],\n      /**\n       * Word Break\n       * @see https://tailwindcss.com/docs/word-break\n       */\n      break: [{\n        break: ['normal', 'words', 'all', 'keep']\n      }],\n      /**\n       * Hyphens\n       * @see https://tailwindcss.com/docs/hyphens\n       */\n      hyphens: [{\n        hyphens: ['none', 'manual', 'auto']\n      }],\n      /**\n       * Content\n       * @see https://tailwindcss.com/docs/content\n       */\n      content: [{\n        content: ['none', isArbitraryValue]\n      }],\n      // Backgrounds\n      /**\n       * Background Attachment\n       * @see https://tailwindcss.com/docs/background-attachment\n       */\n      'bg-attachment': [{\n        bg: ['fixed', 'local', 'scroll']\n      }],\n      /**\n       * Background Clip\n       * @see https://tailwindcss.com/docs/background-clip\n       */\n      'bg-clip': [{\n        'bg-clip': ['border', 'padding', 'content', 'text']\n      }],\n      /**\n       * Background Opacity\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/background-opacity\n       */\n      'bg-opacity': [{\n        'bg-opacity': [opacity]\n      }],\n      /**\n       * Background Origin\n       * @see https://tailwindcss.com/docs/background-origin\n       */\n      'bg-origin': [{\n        'bg-origin': ['border', 'padding', 'content']\n      }],\n      /**\n       * Background Position\n       * @see https://tailwindcss.com/docs/background-position\n       */\n      'bg-position': [{\n        bg: [...getPositions(), isArbitraryPosition]\n      }],\n      /**\n       * Background Repeat\n       * @see https://tailwindcss.com/docs/background-repeat\n       */\n      'bg-repeat': [{\n        bg: ['no-repeat', {\n          repeat: ['', 'x', 'y', 'round', 'space']\n        }]\n      }],\n      /**\n       * Background Size\n       * @see https://tailwindcss.com/docs/background-size\n       */\n      'bg-size': [{\n        bg: ['auto', 'cover', 'contain', isArbitrarySize]\n      }],\n      /**\n       * Background Image\n       * @see https://tailwindcss.com/docs/background-image\n       */\n      'bg-image': [{\n        bg: ['none', {\n          'gradient-to': ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']\n        }, isArbitraryImage]\n      }],\n      /**\n       * Background Color\n       * @see https://tailwindcss.com/docs/background-color\n       */\n      'bg-color': [{\n        bg: [colors]\n      }],\n      /**\n       * Gradient Color Stops From Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      'gradient-from-pos': [{\n        from: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops Via Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      'gradient-via-pos': [{\n        via: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops To Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      'gradient-to-pos': [{\n        to: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops From\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      'gradient-from': [{\n        from: [gradientColorStops]\n      }],\n      /**\n       * Gradient Color Stops Via\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      'gradient-via': [{\n        via: [gradientColorStops]\n      }],\n      /**\n       * Gradient Color Stops To\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      'gradient-to': [{\n        to: [gradientColorStops]\n      }],\n      // Borders\n      /**\n       * Border Radius\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      rounded: [{\n        rounded: [borderRadius]\n      }],\n      /**\n       * Border Radius Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-s': [{\n        'rounded-s': [borderRadius]\n      }],\n      /**\n       * Border Radius End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-e': [{\n        'rounded-e': [borderRadius]\n      }],\n      /**\n       * Border Radius Top\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-t': [{\n        'rounded-t': [borderRadius]\n      }],\n      /**\n       * Border Radius Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-r': [{\n        'rounded-r': [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-b': [{\n        'rounded-b': [borderRadius]\n      }],\n      /**\n       * Border Radius Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-l': [{\n        'rounded-l': [borderRadius]\n      }],\n      /**\n       * Border Radius Start Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-ss': [{\n        'rounded-ss': [borderRadius]\n      }],\n      /**\n       * Border Radius Start End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-se': [{\n        'rounded-se': [borderRadius]\n      }],\n      /**\n       * Border Radius End End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-ee': [{\n        'rounded-ee': [borderRadius]\n      }],\n      /**\n       * Border Radius End Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-es': [{\n        'rounded-es': [borderRadius]\n      }],\n      /**\n       * Border Radius Top Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-tl': [{\n        'rounded-tl': [borderRadius]\n      }],\n      /**\n       * Border Radius Top Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-tr': [{\n        'rounded-tr': [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-br': [{\n        'rounded-br': [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      'rounded-bl': [{\n        'rounded-bl': [borderRadius]\n      }],\n      /**\n       * Border Width\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w': [{\n        border: [borderWidth]\n      }],\n      /**\n       * Border Width X\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-x': [{\n        'border-x': [borderWidth]\n      }],\n      /**\n       * Border Width Y\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-y': [{\n        'border-y': [borderWidth]\n      }],\n      /**\n       * Border Width Start\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-s': [{\n        'border-s': [borderWidth]\n      }],\n      /**\n       * Border Width End\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-e': [{\n        'border-e': [borderWidth]\n      }],\n      /**\n       * Border Width Top\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-t': [{\n        'border-t': [borderWidth]\n      }],\n      /**\n       * Border Width Right\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-r': [{\n        'border-r': [borderWidth]\n      }],\n      /**\n       * Border Width Bottom\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-b': [{\n        'border-b': [borderWidth]\n      }],\n      /**\n       * Border Width Left\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      'border-w-l': [{\n        'border-l': [borderWidth]\n      }],\n      /**\n       * Border Opacity\n       * @see https://tailwindcss.com/docs/border-opacity\n       */\n      'border-opacity': [{\n        'border-opacity': [opacity]\n      }],\n      /**\n       * Border Style\n       * @see https://tailwindcss.com/docs/border-style\n       */\n      'border-style': [{\n        border: [...getLineStyles(), 'hidden']\n      }],\n      /**\n       * Divide Width X\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      'divide-x': [{\n        'divide-x': [borderWidth]\n      }],\n      /**\n       * Divide Width X Reverse\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      'divide-x-reverse': ['divide-x-reverse'],\n      /**\n       * Divide Width Y\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      'divide-y': [{\n        'divide-y': [borderWidth]\n      }],\n      /**\n       * Divide Width Y Reverse\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      'divide-y-reverse': ['divide-y-reverse'],\n      /**\n       * Divide Opacity\n       * @see https://tailwindcss.com/docs/divide-opacity\n       */\n      'divide-opacity': [{\n        'divide-opacity': [opacity]\n      }],\n      /**\n       * Divide Style\n       * @see https://tailwindcss.com/docs/divide-style\n       */\n      'divide-style': [{\n        divide: getLineStyles()\n      }],\n      /**\n       * Border Color\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color': [{\n        border: [borderColor]\n      }],\n      /**\n       * Border Color X\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-x': [{\n        'border-x': [borderColor]\n      }],\n      /**\n       * Border Color Y\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-y': [{\n        'border-y': [borderColor]\n      }],\n      /**\n       * Border Color S\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-s': [{\n        'border-s': [borderColor]\n      }],\n      /**\n       * Border Color E\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-e': [{\n        'border-e': [borderColor]\n      }],\n      /**\n       * Border Color Top\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-t': [{\n        'border-t': [borderColor]\n      }],\n      /**\n       * Border Color Right\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-r': [{\n        'border-r': [borderColor]\n      }],\n      /**\n       * Border Color Bottom\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-b': [{\n        'border-b': [borderColor]\n      }],\n      /**\n       * Border Color Left\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      'border-color-l': [{\n        'border-l': [borderColor]\n      }],\n      /**\n       * Divide Color\n       * @see https://tailwindcss.com/docs/divide-color\n       */\n      'divide-color': [{\n        divide: [borderColor]\n      }],\n      /**\n       * Outline Style\n       * @see https://tailwindcss.com/docs/outline-style\n       */\n      'outline-style': [{\n        outline: ['', ...getLineStyles()]\n      }],\n      /**\n       * Outline Offset\n       * @see https://tailwindcss.com/docs/outline-offset\n       */\n      'outline-offset': [{\n        'outline-offset': [isLength, isArbitraryValue]\n      }],\n      /**\n       * Outline Width\n       * @see https://tailwindcss.com/docs/outline-width\n       */\n      'outline-w': [{\n        outline: [isLength, isArbitraryLength]\n      }],\n      /**\n       * Outline Color\n       * @see https://tailwindcss.com/docs/outline-color\n       */\n      'outline-color': [{\n        outline: [colors]\n      }],\n      /**\n       * Ring Width\n       * @see https://tailwindcss.com/docs/ring-width\n       */\n      'ring-w': [{\n        ring: getLengthWithEmptyAndArbitrary()\n      }],\n      /**\n       * Ring Width Inset\n       * @see https://tailwindcss.com/docs/ring-width\n       */\n      'ring-w-inset': ['ring-inset'],\n      /**\n       * Ring Color\n       * @see https://tailwindcss.com/docs/ring-color\n       */\n      'ring-color': [{\n        ring: [colors]\n      }],\n      /**\n       * Ring Opacity\n       * @see https://tailwindcss.com/docs/ring-opacity\n       */\n      'ring-opacity': [{\n        'ring-opacity': [opacity]\n      }],\n      /**\n       * Ring Offset Width\n       * @see https://tailwindcss.com/docs/ring-offset-width\n       */\n      'ring-offset-w': [{\n        'ring-offset': [isLength, isArbitraryLength]\n      }],\n      /**\n       * Ring Offset Color\n       * @see https://tailwindcss.com/docs/ring-offset-color\n       */\n      'ring-offset-color': [{\n        'ring-offset': [colors]\n      }],\n      // Effects\n      /**\n       * Box Shadow\n       * @see https://tailwindcss.com/docs/box-shadow\n       */\n      shadow: [{\n        shadow: ['', 'inner', 'none', isTshirtSize, isArbitraryShadow]\n      }],\n      /**\n       * Box Shadow Color\n       * @see https://tailwindcss.com/docs/box-shadow-color\n       */\n      'shadow-color': [{\n        shadow: [isAny]\n      }],\n      /**\n       * Opacity\n       * @see https://tailwindcss.com/docs/opacity\n       */\n      opacity: [{\n        opacity: [opacity]\n      }],\n      /**\n       * Mix Blend Mode\n       * @see https://tailwindcss.com/docs/mix-blend-mode\n       */\n      'mix-blend': [{\n        'mix-blend': [...getBlendModes(), 'plus-lighter', 'plus-darker']\n      }],\n      /**\n       * Background Blend Mode\n       * @see https://tailwindcss.com/docs/background-blend-mode\n       */\n      'bg-blend': [{\n        'bg-blend': getBlendModes()\n      }],\n      // Filters\n      /**\n       * Filter\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/filter\n       */\n      filter: [{\n        filter: ['', 'none']\n      }],\n      /**\n       * Blur\n       * @see https://tailwindcss.com/docs/blur\n       */\n      blur: [{\n        blur: [blur]\n      }],\n      /**\n       * Brightness\n       * @see https://tailwindcss.com/docs/brightness\n       */\n      brightness: [{\n        brightness: [brightness]\n      }],\n      /**\n       * Contrast\n       * @see https://tailwindcss.com/docs/contrast\n       */\n      contrast: [{\n        contrast: [contrast]\n      }],\n      /**\n       * Drop Shadow\n       * @see https://tailwindcss.com/docs/drop-shadow\n       */\n      'drop-shadow': [{\n        'drop-shadow': ['', 'none', isTshirtSize, isArbitraryValue]\n      }],\n      /**\n       * Grayscale\n       * @see https://tailwindcss.com/docs/grayscale\n       */\n      grayscale: [{\n        grayscale: [grayscale]\n      }],\n      /**\n       * Hue Rotate\n       * @see https://tailwindcss.com/docs/hue-rotate\n       */\n      'hue-rotate': [{\n        'hue-rotate': [hueRotate]\n      }],\n      /**\n       * Invert\n       * @see https://tailwindcss.com/docs/invert\n       */\n      invert: [{\n        invert: [invert]\n      }],\n      /**\n       * Saturate\n       * @see https://tailwindcss.com/docs/saturate\n       */\n      saturate: [{\n        saturate: [saturate]\n      }],\n      /**\n       * Sepia\n       * @see https://tailwindcss.com/docs/sepia\n       */\n      sepia: [{\n        sepia: [sepia]\n      }],\n      /**\n       * Backdrop Filter\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/backdrop-filter\n       */\n      'backdrop-filter': [{\n        'backdrop-filter': ['', 'none']\n      }],\n      /**\n       * Backdrop Blur\n       * @see https://tailwindcss.com/docs/backdrop-blur\n       */\n      'backdrop-blur': [{\n        'backdrop-blur': [blur]\n      }],\n      /**\n       * Backdrop Brightness\n       * @see https://tailwindcss.com/docs/backdrop-brightness\n       */\n      'backdrop-brightness': [{\n        'backdrop-brightness': [brightness]\n      }],\n      /**\n       * Backdrop Contrast\n       * @see https://tailwindcss.com/docs/backdrop-contrast\n       */\n      'backdrop-contrast': [{\n        'backdrop-contrast': [contrast]\n      }],\n      /**\n       * Backdrop Grayscale\n       * @see https://tailwindcss.com/docs/backdrop-grayscale\n       */\n      'backdrop-grayscale': [{\n        'backdrop-grayscale': [grayscale]\n      }],\n      /**\n       * Backdrop Hue Rotate\n       * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n       */\n      'backdrop-hue-rotate': [{\n        'backdrop-hue-rotate': [hueRotate]\n      }],\n      /**\n       * Backdrop Invert\n       * @see https://tailwindcss.com/docs/backdrop-invert\n       */\n      'backdrop-invert': [{\n        'backdrop-invert': [invert]\n      }],\n      /**\n       * Backdrop Opacity\n       * @see https://tailwindcss.com/docs/backdrop-opacity\n       */\n      'backdrop-opacity': [{\n        'backdrop-opacity': [opacity]\n      }],\n      /**\n       * Backdrop Saturate\n       * @see https://tailwindcss.com/docs/backdrop-saturate\n       */\n      'backdrop-saturate': [{\n        'backdrop-saturate': [saturate]\n      }],\n      /**\n       * Backdrop Sepia\n       * @see https://tailwindcss.com/docs/backdrop-sepia\n       */\n      'backdrop-sepia': [{\n        'backdrop-sepia': [sepia]\n      }],\n      // Tables\n      /**\n       * Border Collapse\n       * @see https://tailwindcss.com/docs/border-collapse\n       */\n      'border-collapse': [{\n        border: ['collapse', 'separate']\n      }],\n      /**\n       * Border Spacing\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      'border-spacing': [{\n        'border-spacing': [borderSpacing]\n      }],\n      /**\n       * Border Spacing X\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      'border-spacing-x': [{\n        'border-spacing-x': [borderSpacing]\n      }],\n      /**\n       * Border Spacing Y\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      'border-spacing-y': [{\n        'border-spacing-y': [borderSpacing]\n      }],\n      /**\n       * Table Layout\n       * @see https://tailwindcss.com/docs/table-layout\n       */\n      'table-layout': [{\n        table: ['auto', 'fixed']\n      }],\n      /**\n       * Caption Side\n       * @see https://tailwindcss.com/docs/caption-side\n       */\n      caption: [{\n        caption: ['top', 'bottom']\n      }],\n      // Transitions and Animation\n      /**\n       * Tranisition Property\n       * @see https://tailwindcss.com/docs/transition-property\n       */\n      transition: [{\n        transition: ['none', 'all', '', 'colors', 'opacity', 'shadow', 'transform', isArbitraryValue]\n      }],\n      /**\n       * Transition Duration\n       * @see https://tailwindcss.com/docs/transition-duration\n       */\n      duration: [{\n        duration: getNumberAndArbitrary()\n      }],\n      /**\n       * Transition Timing Function\n       * @see https://tailwindcss.com/docs/transition-timing-function\n       */\n      ease: [{\n        ease: ['linear', 'in', 'out', 'in-out', isArbitraryValue]\n      }],\n      /**\n       * Transition Delay\n       * @see https://tailwindcss.com/docs/transition-delay\n       */\n      delay: [{\n        delay: getNumberAndArbitrary()\n      }],\n      /**\n       * Animation\n       * @see https://tailwindcss.com/docs/animation\n       */\n      animate: [{\n        animate: ['none', 'spin', 'ping', 'pulse', 'bounce', isArbitraryValue]\n      }],\n      // Transforms\n      /**\n       * Transform\n       * @see https://tailwindcss.com/docs/transform\n       */\n      transform: [{\n        transform: ['', 'gpu', 'none']\n      }],\n      /**\n       * Scale\n       * @see https://tailwindcss.com/docs/scale\n       */\n      scale: [{\n        scale: [scale]\n      }],\n      /**\n       * Scale X\n       * @see https://tailwindcss.com/docs/scale\n       */\n      'scale-x': [{\n        'scale-x': [scale]\n      }],\n      /**\n       * Scale Y\n       * @see https://tailwindcss.com/docs/scale\n       */\n      'scale-y': [{\n        'scale-y': [scale]\n      }],\n      /**\n       * Rotate\n       * @see https://tailwindcss.com/docs/rotate\n       */\n      rotate: [{\n        rotate: [isInteger, isArbitraryValue]\n      }],\n      /**\n       * Translate X\n       * @see https://tailwindcss.com/docs/translate\n       */\n      'translate-x': [{\n        'translate-x': [translate]\n      }],\n      /**\n       * Translate Y\n       * @see https://tailwindcss.com/docs/translate\n       */\n      'translate-y': [{\n        'translate-y': [translate]\n      }],\n      /**\n       * Skew X\n       * @see https://tailwindcss.com/docs/skew\n       */\n      'skew-x': [{\n        'skew-x': [skew]\n      }],\n      /**\n       * Skew Y\n       * @see https://tailwindcss.com/docs/skew\n       */\n      'skew-y': [{\n        'skew-y': [skew]\n      }],\n      /**\n       * Transform Origin\n       * @see https://tailwindcss.com/docs/transform-origin\n       */\n      'transform-origin': [{\n        origin: ['center', 'top', 'top-right', 'right', 'bottom-right', 'bottom', 'bottom-left', 'left', 'top-left', isArbitraryValue]\n      }],\n      // Interactivity\n      /**\n       * Accent Color\n       * @see https://tailwindcss.com/docs/accent-color\n       */\n      accent: [{\n        accent: ['auto', colors]\n      }],\n      /**\n       * Appearance\n       * @see https://tailwindcss.com/docs/appearance\n       */\n      appearance: [{\n        appearance: ['none', 'auto']\n      }],\n      /**\n       * Cursor\n       * @see https://tailwindcss.com/docs/cursor\n       */\n      cursor: [{\n        cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryValue]\n      }],\n      /**\n       * Caret Color\n       * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n       */\n      'caret-color': [{\n        caret: [colors]\n      }],\n      /**\n       * Pointer Events\n       * @see https://tailwindcss.com/docs/pointer-events\n       */\n      'pointer-events': [{\n        'pointer-events': ['none', 'auto']\n      }],\n      /**\n       * Resize\n       * @see https://tailwindcss.com/docs/resize\n       */\n      resize: [{\n        resize: ['none', 'y', 'x', '']\n      }],\n      /**\n       * Scroll Behavior\n       * @see https://tailwindcss.com/docs/scroll-behavior\n       */\n      'scroll-behavior': [{\n        scroll: ['auto', 'smooth']\n      }],\n      /**\n       * Scroll Margin\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-m': [{\n        'scroll-m': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin X\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-mx': [{\n        'scroll-mx': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Y\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-my': [{\n        'scroll-my': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Start\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-ms': [{\n        'scroll-ms': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin End\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-me': [{\n        'scroll-me': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Top\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-mt': [{\n        'scroll-mt': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Right\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-mr': [{\n        'scroll-mr': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Bottom\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-mb': [{\n        'scroll-mb': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Left\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      'scroll-ml': [{\n        'scroll-ml': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-p': [{\n        'scroll-p': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding X\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-px': [{\n        'scroll-px': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Y\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-py': [{\n        'scroll-py': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Start\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-ps': [{\n        'scroll-ps': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding End\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-pe': [{\n        'scroll-pe': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Top\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-pt': [{\n        'scroll-pt': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Right\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-pr': [{\n        'scroll-pr': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Bottom\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-pb': [{\n        'scroll-pb': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Left\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      'scroll-pl': [{\n        'scroll-pl': getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Snap Align\n       * @see https://tailwindcss.com/docs/scroll-snap-align\n       */\n      'snap-align': [{\n        snap: ['start', 'end', 'center', 'align-none']\n      }],\n      /**\n       * Scroll Snap Stop\n       * @see https://tailwindcss.com/docs/scroll-snap-stop\n       */\n      'snap-stop': [{\n        snap: ['normal', 'always']\n      }],\n      /**\n       * Scroll Snap Type\n       * @see https://tailwindcss.com/docs/scroll-snap-type\n       */\n      'snap-type': [{\n        snap: ['none', 'x', 'y', 'both']\n      }],\n      /**\n       * Scroll Snap Type Strictness\n       * @see https://tailwindcss.com/docs/scroll-snap-type\n       */\n      'snap-strictness': [{\n        snap: ['mandatory', 'proximity']\n      }],\n      /**\n       * Touch Action\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      touch: [{\n        touch: ['auto', 'none', 'manipulation']\n      }],\n      /**\n       * Touch Action X\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      'touch-x': [{\n        'touch-pan': ['x', 'left', 'right']\n      }],\n      /**\n       * Touch Action Y\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      'touch-y': [{\n        'touch-pan': ['y', 'up', 'down']\n      }],\n      /**\n       * Touch Action Pinch Zoom\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      'touch-pz': ['touch-pinch-zoom'],\n      /**\n       * User Select\n       * @see https://tailwindcss.com/docs/user-select\n       */\n      select: [{\n        select: ['none', 'text', 'all', 'auto']\n      }],\n      /**\n       * Will Change\n       * @see https://tailwindcss.com/docs/will-change\n       */\n      'will-change': [{\n        'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryValue]\n      }],\n      // SVG\n      /**\n       * Fill\n       * @see https://tailwindcss.com/docs/fill\n       */\n      fill: [{\n        fill: [colors, 'none']\n      }],\n      /**\n       * Stroke Width\n       * @see https://tailwindcss.com/docs/stroke-width\n       */\n      'stroke-w': [{\n        stroke: [isLength, isArbitraryLength, isArbitraryNumber]\n      }],\n      /**\n       * Stroke\n       * @see https://tailwindcss.com/docs/stroke\n       */\n      stroke: [{\n        stroke: [colors, 'none']\n      }],\n      // Accessibility\n      /**\n       * Screen Readers\n       * @see https://tailwindcss.com/docs/screen-readers\n       */\n      sr: ['sr-only', 'not-sr-only'],\n      /**\n       * Forced Color Adjust\n       * @see https://tailwindcss.com/docs/forced-color-adjust\n       */\n      'forced-color-adjust': [{\n        'forced-color-adjust': ['auto', 'none']\n      }]\n    },\n    conflictingClassGroups: {\n      overflow: ['overflow-x', 'overflow-y'],\n      overscroll: ['overscroll-x', 'overscroll-y'],\n      inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],\n      'inset-x': ['right', 'left'],\n      'inset-y': ['top', 'bottom'],\n      flex: ['basis', 'grow', 'shrink'],\n      gap: ['gap-x', 'gap-y'],\n      p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],\n      px: ['pr', 'pl'],\n      py: ['pt', 'pb'],\n      m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],\n      mx: ['mr', 'ml'],\n      my: ['mt', 'mb'],\n      size: ['w', 'h'],\n      'font-size': ['leading'],\n      'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],\n      'fvn-ordinal': ['fvn-normal'],\n      'fvn-slashed-zero': ['fvn-normal'],\n      'fvn-figure': ['fvn-normal'],\n      'fvn-spacing': ['fvn-normal'],\n      'fvn-fraction': ['fvn-normal'],\n      'line-clamp': ['display', 'overflow'],\n      rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],\n      'rounded-s': ['rounded-ss', 'rounded-es'],\n      'rounded-e': ['rounded-se', 'rounded-ee'],\n      'rounded-t': ['rounded-tl', 'rounded-tr'],\n      'rounded-r': ['rounded-tr', 'rounded-br'],\n      'rounded-b': ['rounded-br', 'rounded-bl'],\n      'rounded-l': ['rounded-tl', 'rounded-bl'],\n      'border-spacing': ['border-spacing-x', 'border-spacing-y'],\n      'border-w': ['border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],\n      'border-w-x': ['border-w-r', 'border-w-l'],\n      'border-w-y': ['border-w-t', 'border-w-b'],\n      'border-color': ['border-color-s', 'border-color-e', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],\n      'border-color-x': ['border-color-r', 'border-color-l'],\n      'border-color-y': ['border-color-t', 'border-color-b'],\n      'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],\n      'scroll-mx': ['scroll-mr', 'scroll-ml'],\n      'scroll-my': ['scroll-mt', 'scroll-mb'],\n      'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],\n      'scroll-px': ['scroll-pr', 'scroll-pl'],\n      'scroll-py': ['scroll-pt', 'scroll-pb'],\n      touch: ['touch-x', 'touch-y', 'touch-pz'],\n      'touch-x': ['touch'],\n      'touch-y': ['touch'],\n      'touch-pz': ['touch']\n    },\n    conflictingClassGroupModifiers: {\n      'font-size': ['leading']\n    }\n  };\n};\n\n/**\n * @param baseConfig Config where other config will be merged into. This object will be mutated.\n * @param configExtension Partial config to merge into the `baseConfig`.\n */\nconst mergeConfigs = (baseConfig, {\n  cacheSize,\n  prefix,\n  separator,\n  experimentalParseClassName,\n  extend = {},\n  override = {}\n}) => {\n  overrideProperty(baseConfig, 'cacheSize', cacheSize);\n  overrideProperty(baseConfig, 'prefix', prefix);\n  overrideProperty(baseConfig, 'separator', separator);\n  overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);\n  for (const configKey in override) {\n    overrideConfigProperties(baseConfig[configKey], override[configKey]);\n  }\n  for (const key in extend) {\n    mergeConfigProperties(baseConfig[key], extend[key]);\n  }\n  return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n  if (overrideValue !== undefined) {\n    baseObject[overrideKey] = overrideValue;\n  }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n  if (overrideObject) {\n    for (const key in overrideObject) {\n      overrideProperty(baseObject, key, overrideObject[key]);\n    }\n  }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n  if (mergeObject) {\n    for (const key in mergeObject) {\n      const mergeValue = mergeObject[key];\n      if (mergeValue !== undefined) {\n        baseObject[key] = (baseObject[key] || []).concat(mergeValue);\n      }\n    }\n  }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);\nexport { createTailwindMerge, extendTailwindMerge, fromTheme, getDefaultConfig, mergeConfigs, twJoin, twMerge, validators };\n//# sourceMappingURL=bundle-mjs.mjs.map\n","import createPlugin from 'tailwindcss/plugin.js';\nimport flattenColorPalette from 'tailwindcss/lib/util/flattenColorPalette.js';\n\n// src/index.ts\nvar allEnterAnimations = \"var(--motion-scale-in-animation), var(--motion-translate-in-animation), var(--motion-rotate-in-animation), var(--motion-filter-in-animation), var(--motion-opacity-in-animation), var(--motion-background-color-in-animation), var(--motion-text-color-in-animation)\";\nvar allExitAnimations = \"var(--motion-scale-out-animation), var(--motion-translate-out-animation), var(--motion-rotate-out-animation), var(--motion-filter-out-animation), var(--motion-opacity-out-animation), var(--motion-background-color-out-animation), var(--motion-text-color-out-animation)\";\nvar allLoopAnimations = \"var(--motion-scale-loop-animation), var(--motion-translate-loop-animation), var(--motion-rotate-loop-animation), var(--motion-filter-loop-animation), var(--motion-opacity-loop-animation), var(--motion-background-color-loop-animation), var(--motion-text-color-loop-animation)\";\nvar allLoopAndEnterAnimations = `${allEnterAnimations}, ${allLoopAnimations}`;\nvar scaleInAnimation = \"motion-scale-in calc(var(--motion-scale-duration, var(--motion-duration)) * var(--motion-scale-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-scale-timing, var(--motion-timing)) var(--motion-scale-delay, var(--motion-delay)) both\";\nvar scaleOutAnimation = \"motion-scale-out calc(var(--motion-scale-duration, var(--motion-duration)) * var(--motion-scale-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-scale-timing, var(--motion-timing)) var(--motion-scale-delay, var(--motion-delay)) both\";\nvar scaleLoopAnimation = (type) => `motion-scale-loop-${type} calc(var(--motion-scale-duration, var(--motion-duration)) * var(--motion-scale-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-scale-timing, var(--motion-timing)) var(--motion-scale-delay, var(--motion-delay)) both var(--motion-scale-loop-count, var(--motion-loop-count))`;\nvar translateInAnimation = \"motion-translate-in calc(var(--motion-translate-duration, var(--motion-duration)) * var(--motion-translate-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-translate-timing, var(--motion-timing)) var(--motion-translate-delay, var(--motion-delay)) both\";\nvar translateOutAnimation = \"motion-translate-out calc(var(--motion-translate-duration, var(--motion-duration)) * var(--motion-translate-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-translate-timing, var(--motion-timing)) var(--motion-translate-delay, var(--motion-delay)) both\";\nvar translateLoopAnimation = (type) => `motion-translate-loop-${type} calc(var(--motion-translate-duration, var(--motion-duration)) * var(--motion-translate-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-translate-timing, var(--motion-timing)) var(--motion-translate-delay, var(--motion-delay)) both var(--motion-translate-loop-count, var(--motion-loop-count))`;\nvar rotateInAnimation = \"motion-rotate-in calc(var(--motion-rotate-duration, var(--motion-duration)) * var(--motion-rotate-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-rotate-timing, var(--motion-timing)) var(--motion-rotate-delay, var(--motion-delay)) both\";\nvar rotateOutAnimation = \"motion-rotate-out calc(var(--motion-rotate-duration, var(--motion-duration)) * var(--motion-rotate-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-rotate-timing, var(--motion-timing)) var(--motion-rotate-delay, var(--motion-delay)) both\";\nvar rotateLoopAnimation = (type) => `motion-rotate-loop-${type} calc(var(--motion-rotate-duration, var(--motion-duration)) * var(--motion-rotate-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-rotate-timing, var(--motion-timing)) var(--motion-rotate-delay, var(--motion-delay)) both var(--motion-rotate-loop-count, var(--motion-loop-count))`;\nvar filterInAnimation = \"motion-filter-in calc(var(--motion-filter-duration, var(--motion-duration)) * var(--motion-filter-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-filter-timing, var(--motion-timing)) var(--motion-filter-delay, var(--motion-delay)) both\";\nvar filterOutAnimation = \"motion-filter-out calc(var(--motion-filter-duration, var(--motion-duration)) * var(--motion-filter-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-filter-timing, var(--motion-timing)) var(--motion-filter-delay, var(--motion-delay)) both\";\nvar filterLoopAnimation = (type) => `motion-filter-loop-${type} calc(var(--motion-filter-duration, var(--motion-duration)) * var(--motion-filter-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-filter-timing, var(--motion-timing)) var(--motion-filter-delay, var(--motion-delay)) both var(--motion-filter-loop-count, var(--motion-loop-count))`;\nvar opacityInAnimation = \"motion-opacity-in calc(var(--motion-opacity-duration, var(--motion-duration)) * var(--motion-opacity-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-opacity-timing, var(--motion-timing)) var(--motion-opacity-delay, var(--motion-delay)) both\";\nvar opacityOutAnimation = \"motion-opacity-out calc(var(--motion-opacity-duration, var(--motion-duration)) * var(--motion-opacity-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-opacity-timing, var(--motion-timing)) var(--motion-opacity-delay, var(--motion-delay)) both\";\nvar opacityLoopAnimation = (type) => `motion-opacity-loop-${type} calc(var(--motion-opacity-duration, var(--motion-duration)) * var(--motion-opacity-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-opacity-timing, var(--motion-timing)) var(--motion-opacity-delay, var(--motion-delay)) both var(--motion-opacity-loop-count, var(--motion-loop-count))`;\nvar backgroundColorInAnimation = \"motion-background-color-in calc(var(--motion-background-color-duration, var(--motion-duration)) * var(--motion-background-color-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-background-color-timing, var(--motion-timing)) var(--motion-background-color-delay, var(--motion-delay)) both\";\nvar backgroundColorOutAnimation = \"motion-background-color-out calc(var(--motion-background-color-duration, var(--motion-duration)) * var(--motion-background-color-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-background-color-timing, var(--motion-timing)) var(--motion-background-color-delay, var(--motion-delay)) both\";\nvar backgroundColorLoopAnimation = (type) => `motion-background-color-loop-${type} calc(var(--motion-background-color-duration, var(--motion-duration)) * var(--motion-background-color-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-background-color-timing, var(--motion-timing)) var(--motion-background-color-delay, var(--motion-delay)) both var(--motion-background-color-loop-count, var(--motion-loop-count))`;\nvar textColorInAnimation = \"motion-text-color-in calc(var(--motion-text-color-duration, var(--motion-duration)) * var(--motion-text-color-perceptual-duration-multiplier, var(--motion-perceptual-duration-multiplier))) var(--motion-text-color-timing, var(--motion-timing)) var(--motion-text-color-delay, var(--motion-delay)) both\";\nvar textColorOutAnimation = \"motion-text-color-out calc(var(--motion-text-color-duration, --motion-duration) * var(--motion-text-color-perceptual-duration-multiplier, --motion-perceptual-duration-multiplier)) var(--motion-text-color-timing, --motion-timing) var(--motion-text-color-delay, --motion-delay) both\";\nvar textColorLoopAnimation = (type) => `motion-text-color-loop-${type} calc(var(--motion-text-color-duration, --motion-duration) * var(--motion-text-color-perceptual-duration-multiplier, --motion-perceptual-duration-multiplier)) var(--motion-text-color-timing, --motion-timing) var(--motion-text-color-delay, --motion-delay) both var(--motion-text-color-loop-count, --motion-loop-count)`;\nfunction addBaseAnimations(matchUtilities, theme) {\n  matchUtilities(\n    {\n      \"motion-scale-in\": (value) => ({\n        \"--motion-origin-scale-x\": value,\n        \"--motion-origin-scale-y\": value,\n        \"--motion-scale-in-animation\": scaleInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-scale-x-in\": (value) => ({\n        \"--motion-origin-scale-x\": value,\n        \"--motion-scale-in-animation\": scaleInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-scale-y-in\": (value) => ({\n        \"--motion-origin-scale-y\": value,\n        \"--motion-scale-in-animation\": scaleInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-scale-out\": (value) => ({\n        \"--motion-end-scale-x\": value,\n        \"--motion-end-scale-y\": value,\n        \"--motion-scale-out-animation\": scaleOutAnimation,\n        animation: allExitAnimations\n      }),\n      \"motion-scale-x-out\": (value) => ({\n        \"--motion-end-scale-x\": value,\n        \"--motion-scale-out-animation\": scaleOutAnimation,\n        animation: allExitAnimations\n      }),\n      \"motion-scale-y-out\": (value) => ({\n        \"--motion-end-scale-y\": value,\n        \"--motion-scale-out-animation\": scaleOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionScale\")\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-scale-x-loop\": (value, { modifier }) => ({\n        \"--motion-loop-scale-x\": value,\n        \"--motion-scale-loop-animation\": scaleLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-scale-y-loop\": (value, { modifier }) => ({\n        \"--motion-loop-scale-y\": value,\n        \"--motion-scale-loop-animation\": scaleLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-scale-loop\": (value, { modifier }) => ({\n        \"--motion-loop-scale-x\": value,\n        \"--motion-loop-scale-y\": value,\n        \"--motion-scale-loop-animation\": scaleLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionScale\"),\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-translate-x-in\": (value) => ({\n        \"--motion-origin-translate-x\": value,\n        \"--motion-translate-in-animation\": translateInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-translate-y-in\": (value) => ({\n        \"--motion-origin-translate-y\": value,\n        \"--motion-translate-in-animation\": translateInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-translate-x-out\": (value) => ({\n        \"--motion-end-translate-x\": value,\n        \"--motion-translate-out-animation\": translateOutAnimation,\n        animation: allExitAnimations\n      }),\n      \"motion-translate-y-out\": (value) => ({\n        \"--motion-end-translate-y\": value,\n        \"--motion-translate-out-animation\": translateOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionTranslate\"),\n      supportsNegativeValues: true\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-translate-x-loop\": (value, { modifier }) => {\n        return {\n          \"--motion-loop-translate-x\": value,\n          \"--motion-translate-loop-animation\": translateLoopAnimation(\n            modifier || \"mirror\"\n          ),\n          animationComposition: \"accumulate\",\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-translate-y-loop\": (value, { modifier }) => {\n        return {\n          \"--motion-loop-translate-y\": value,\n          \"--motion-translate-loop-animation\": translateLoopAnimation(\n            modifier || \"mirror\"\n          ),\n          animationComposition: \"accumulate\",\n          animation: allLoopAndEnterAnimations\n        };\n      }\n    },\n    {\n      values: theme(\"motionTranslate\"),\n      supportsNegativeValues: true,\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-rotate-in\": (value) => ({\n        \"--motion-origin-rotate\": value,\n        \"--motion-rotate-in-animation\": rotateInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-rotate-out\": (value) => ({\n        \"--motion-end-rotate\": value,\n        \"--motion-rotate-out-animation\": rotateOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionRotate\"),\n      supportsNegativeValues: true\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-rotate-loop\": (value, { modifier }) => ({\n        \"--motion-loop-rotate\": value,\n        \"--motion-rotate-loop-animation\": rotateLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionRotate\"),\n      supportsNegativeValues: true,\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-blur-in\": (value) => ({\n        \"--motion-origin-blur\": value,\n        \"--motion-filter-in-animation\": filterInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-blur-out\": (value) => ({\n        \"--motion-end-blur\": value,\n        \"--motion-filter-out-animation\": filterOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionBlur\")\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-blur-loop\": (value, { modifier }) => ({\n        \"--motion-loop-blur\": value,\n        \"--motion-filter-loop-animation\": filterLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionBlur\"),\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-grayscale-in\": (value) => ({\n        \"--motion-origin-grayscale\": value,\n        \"--motion-filter-in-animation\": filterInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-grayscale-out\": (value) => ({\n        \"--motion-end-grayscale\": value,\n        \"--motion-filter-out-animation\": filterOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionGrayscale\")\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-grayscale-loop\": (value, { modifier }) => ({\n        \"--motion-loop-grayscale\": value,\n        \"--motion-filter-loop-animation\": filterLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionGrayscale\"),\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-opacity-in\": (value) => ({\n        \"--motion-origin-opacity\": value,\n        \"--motion-opacity-in-animation\": opacityInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-opacity-out\": (value) => ({\n        \"--motion-end-opacity\": value,\n        \"--motion-opacity-out-animation\": opacityOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionOpacity\")\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-opacity-loop\": (value, { modifier }) => ({\n        // we need to subtract 1 because of animation composition\n        \"--motion-loop-opacity\": `calc(${value} - 1)`,\n        \"--motion-opacity-loop-animation\": opacityLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionOpacity\"),\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-bg-in\": (value) => ({\n        \"--motion-origin-background-color\": value,\n        \"--motion-background-color-in-animation\": backgroundColorInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-bg-out\": (value) => ({\n        \"--motion-end-background-color\": value,\n        \"--motion-background-color-out-animation\": backgroundColorOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionBackgroundColor\"),\n      type: \"color\"\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-bg-loop\": (value, { modifier }) => ({\n        \"--motion-loop-background-color\": value,\n        \"--motion-background-color-loop-animation\": backgroundColorLoopAnimation(modifier || \"mirror\"),\n        // no animation composition because it makes colors add\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionBackgroundColor\"),\n      type: \"color\",\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-text-in\": (value) => ({\n        \"--motion-origin-text-color\": value,\n        \"--motion-text-color-in-animation\": textColorInAnimation,\n        animation: allLoopAndEnterAnimations\n      }),\n      \"motion-text-out\": (value) => ({\n        \"--motion-end-text-color\": value,\n        \"--motion-text-color-out-animation\": textColorOutAnimation,\n        animation: allExitAnimations\n      })\n    },\n    {\n      values: theme(\"motionTextColor\"),\n      type: \"color\"\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-text-loop\": (value, { modifier }) => ({\n        \"--motion-loop-text-color\": value,\n        \"--motion-text-color-loop-animation\": textColorLoopAnimation(\n          modifier || \"mirror\"\n        ),\n        animationComposition: \"accumulate\",\n        animation: allLoopAndEnterAnimations\n      })\n    },\n    {\n      values: theme(\"motionTextColor\"),\n      type: \"color\",\n      modifiers: {\n        mirror: \"mirror\",\n        reset: \"reset\"\n      }\n    }\n  );\n}\nvar baseAnimationsTheme = {\n  motionScale: (theme) => ({\n    ...theme(\"scale\"),\n    DEFAULT: \"50%\"\n  }),\n  motionTranslate: {\n    \"0\": \"0%\",\n    \"25\": \"25%\",\n    \"50\": \"50%\",\n    \"75\": \"75%\",\n    \"100\": \"100%\",\n    \"150\": \"150%\",\n    DEFAULT: \"25%\"\n  },\n  motionRotate: (theme) => ({\n    ...theme(\"rotate\"),\n    DEFAULT: \"12deg\"\n  }),\n  motionBlur: (theme) => theme(\"blur\"),\n  motionGrayscale: (theme) => theme(\"grayscale\"),\n  motionOpacity: (theme) => ({\n    ...theme(\"opacity\"),\n    DEFAULT: \"0\",\n    \"0\": \"0.001\"\n  }),\n  motionBackgroundColor: (theme) => flattenColorPalette(theme(\"colors\")),\n  motionTextColor: (theme) => flattenColorPalette(theme(\"colors\"))\n};\n\n// src/defaults.ts\nfunction addDefaults(addBase) {\n  addBase({\n    /**\n     * Easing functions\n     */\n    \"@property --motion-bounce\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"linear(0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141 13.6%, 0.25, 0.391, 0.563, 0.765,1, 0.891 40.9%, 0.848, 0.813, 0.785, 0.766, 0.754, 0.75, 0.754, 0.766, 0.785,0.813, 0.848, 0.891 68.2%, 1 72.7%, 0.973, 0.953, 0.941, 0.938, 0.941, 0.953,0.973, 1, 0.988, 0.984, 0.988, 1)\"\n    },\n    // from https://www.kvin.me/css-springs\n    \"@property --motion-spring-smooth\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"linear(0, 0.001 0.44%, 0.0045 0.94%, 0.0195 2.03%, 0.0446 3.19%, 0.0811 4.5%, 0.1598 6.82%, 0.3685 12.34%, 0.4693 15.17%, 0.5663, 0.6498 21.27%, 0.7215 24.39%, 0.7532 25.98%, 0.7829 27.65%, 0.8105, 0.8349 31.14%, 0.8573 32.95%, 0.8776 34.84%, 0.8964 36.87%, 0.9136 39.05%, 0.929 41.37%, 0.9421 43.77%, 0.9537 46.38%, 0.9636 49.14%, 0.9789 55.31%, 0.9888 62.35%, 0.9949 71.06%, 0.9982 82.52%, 0.9997 99.94%)\"\n    },\n    \"@property --motion-spring-snappy\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"linear(0, 0.0014, 0.0053 1.02%, 0.0126, 0.0227 2.18%, 0.0517 3.41%, 0.094 4.79%, 0.1865 7.26%, 0.4182 12.77%, 0.5246 15.46%, 0.6249, 0.7112, 0.7831 23.95%, 0.8146 25.4%, 0.844, 0.8699 28.45%, 0.8935, 0.9139 31.64%, 0.932, 0.9473, 0.9601 36.65%, 0.9714 38.47%, 0.9808 40.35%, 0.9948 44.49%, 1.0031 49.43%, 1.0057 53.35%, 1.0063 58.14%, 1.0014 80.78%, 1.0001 99.94%)\"\n    },\n    \"@property --motion-spring-bouncy\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"linear(0, 0.0018, 0.0069, 0.0151 1.74%, 0.0277 2.4%, 0.062 3.7%, 0.1115 5.15%, 0.2211 7.77%, 0.4778 13.21%, 0.5912 15.75%, 0.6987 18.44%, 0.7862 20.98%, 0.861 23.59%, 0.8926, 0.9205, 0.945 27.51%, 0.9671 28.89%, 0.9868, 1.003 31.79%, 1.0224 34.11%, 1.0358 36.58%, 1.0436 39.27%, 1.046 42.31%, 1.0446 44.71%, 1.0406 47.47%, 1.0118 61.84%, 1.0027 69.53%, 0.9981 80.49%, 0.9991 99.94%)\"\n    },\n    \"@property --motion-spring-bouncier\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"linear(0, 0.0023, 0.0088, 0.0194 1.59%, 0.035 2.17%, 0.078 3.33%, 0.1415 4.64%, 0.2054 5.75%, 0.2821 6.95%, 0.5912 11.45%, 0.7205 13.43%, 0.8393 15.45%, 0.936 17.39%, 0.9778, 1.015, 1.0477, 1.0759, 1.0998 22.22%, 1.1203, 1.1364, 1.1484 25.26%, 1.1586 26.61%, 1.1629 28.06%, 1.1613 29.56%, 1.1537 31.2%, 1.1434 32.6%, 1.1288 34.19%, 1.0508 41.29%, 1.0174 44.87%, 1.0025 46.89%, 0.9911 48.87%, 0.9826 50.9%, 0.9769 53.03%, 0.9735 56.02%, 0.9748 59.45%, 0.9964 72.64%, 1.0031 79.69%, 1.0042 86.83%, 1.0008 99.97%)\"\n    },\n    \"@property --motion-spring-bounciest\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"linear(0, 0.0032, 0.0131, 0.0294, 0.0524, 0.0824, 0.1192 1.54%, 0.2134 2.11%, 0.3102 2.59%, 0.4297 3.13%, 0.8732 4.95%, 1.0373, 1.1827 6.36%, 1.2972 7.01%, 1.3444, 1.3859, 1.4215, 1.4504, 1.4735, 1.4908, 1.5024, 1.5084 9.5%, 1.5091, 1.5061, 1.4993, 1.4886, 1.4745, 1.4565 11.11%, 1.4082 11.7%, 1.3585 12.2%, 1.295 12.77%, 1.0623 14.64%, 0.9773, 0.9031 16.08%, 0.8449 16.73%, 0.8014, 0.7701 17.95%, 0.7587, 0.7501, 0.7443, 0.7412 19.16%, 0.7421 19.68%, 0.7508 20.21%, 0.7672 20.77%, 0.7917 21.37%, 0.8169 21.87%, 0.8492 22.43%, 0.9681 24.32%, 1.0114, 1.0492 25.75%, 1.0789 26.41%, 1.1008, 1.1167, 1.1271, 1.1317 28.81%, 1.1314, 1.1271 29.87%, 1.1189 30.43%, 1.1063 31.03%, 1.0769 32.11%, 0.9941 34.72%, 0.9748 35.43%, 0.9597 36.09%, 0.9487, 0.9407, 0.9355, 0.933 38.46%, 0.9344 39.38%, 0.9421 40.38%, 0.9566 41.5%, 0.9989 44.12%, 1.0161 45.37%, 1.029 46.75%, 1.0341 48.1%, 1.0335 49.04%, 1.0295 50.05%, 1.0221 51.18%, 0.992 55.02%, 0.9854 56.38%, 0.9827 57.72%, 0.985 59.73%, 1.004 64.67%, 1.0088 67.34%, 1.0076 69.42%, 0.9981 74.28%, 0.9956 76.85%, 0.9961 79.06%, 1.0023 86.46%, 0.999 95.22%, 0.9994 100%)\"\n    },\n    /**\n     * Enter animations origin values\n     */\n    \"@property --motion-origin-scale-x\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-origin-scale-y\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-origin-translate-x\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-origin-translate-y\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-origin-rotate\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0deg\"\n    },\n    \"@property --motion-origin-blur\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0px\"\n    },\n    \"@property --motion-origin-grayscale\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-origin-opacity\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-origin-background-color\": {\n      syntax: '\"*\"',\n      inherits: \"false\"\n    },\n    \"@property --motion-origin-text-color\": {\n      syntax: '\"*\"',\n      inherits: \"false\"\n    },\n    /**\n     * Exit animations end values\n     */\n    \"@property --motion-end-scale-x\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-end-scale-y\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-end-translate-x\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-end-translate-y\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-end-rotate\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0deg\"\n    },\n    \"@property --motion-end-blur\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0px\"\n    },\n    \"@property --motion-end-grayscale\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-end-opacity\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-end-background-color\": {\n      syntax: '\"*\"',\n      inherits: \"false\"\n    },\n    \"@property --motion-end-text-color\": {\n      syntax: '\"*\"',\n      inherits: \"false\"\n    },\n    /**\n     * Loop animations values\n     */\n    \"@property --motion-loop-scale-x\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-loop-scale-y\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-loop-translate-x\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-loop-translate-y\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-loop-rotate\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0deg\"\n    },\n    \"@property --motion-loop-blur\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0px\"\n    },\n    \"@property --motion-loop-grayscale\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0%\"\n    },\n    \"@property --motion-loop-opacity\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"100%\"\n    },\n    \"@property --motion-loop-background-color\": {\n      syntax: '\"*\"',\n      inherits: \"false\"\n    },\n    \"@property --motion-loop-text-color\": {\n      syntax: '\"*\"',\n      inherits: \"false\"\n    },\n    /**\n     * Animation modifiers\n     */\n    \"@property --motion-duration\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"700ms\"\n    },\n    \"@property --motion-timing\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"cubic-bezier(.165, .84, .44, 1)\"\n    },\n    \"@property --motion-perceptual-duration-multiplier\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"1\"\n    },\n    \"@property --motion-delay\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"0ms\"\n    },\n    \"@property --motion-loop-count\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"infinite\"\n    },\n    /**\n     * Default animations to none\n     */\n    \"@property --motion-scale-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-translate-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-rotate-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-filter-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-opacity-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-background-color-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-text-color-in-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-scale-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-translate-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-rotate-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-filter-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-opacity-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-background-color-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-text-color-out-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-scale-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-translate-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-rotate-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-filter-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-opacity-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-background-color-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    },\n    \"@property --motion-text-color-loop-animation\": {\n      syntax: '\"*\"',\n      inherits: \"false\",\n      \"initial-value\": \"none\"\n    }\n  });\n}\n\n// src/keyframes.ts\nfunction addKeyframes(addBase) {\n  addBase({\n    // if the user prefers reduced motion, don't apply the transform animations\n    \"@media screen and (prefers-reduced-motion: no-preference)\": {\n      \"@keyframes motion-scale-in\": {\n        \"0%\": {\n          scale: \"var(--motion-origin-scale-x) var(--motion-origin-scale-y)\"\n        },\n        \"100%\": {\n          scale: \"1 1\"\n        }\n      },\n      \"@keyframes motion-scale-out\": {\n        \"0%\": {\n          scale: \"1 1\"\n        },\n        \"100%\": {\n          scale: \"var(--motion-end-scale-x) var(--motion-end-scale-y)\"\n        }\n      },\n      \"@keyframes motion-scale-loop-mirror\": {\n        \"0%, 100%\": {\n          scale: \"1 1\"\n        },\n        \"50%\": {\n          scale: \"var(--motion-loop-scale-x) var(--motion-loop-scale-y)\"\n        }\n      },\n      \"@keyframes motion-scale-loop-reset\": {\n        \"0%\": {\n          scale: \"1 1\"\n        },\n        \"100%\": {\n          scale: \"var(--motion-loop-scale-x) var(--motion-loop-scale-y)\"\n        }\n      },\n      \"@keyframes motion-translate-in\": {\n        \"0%\": {\n          translate: \"var(--motion-origin-translate-x) var(--motion-origin-translate-y)\"\n        },\n        \"100%\": {\n          translate: \"0 0\"\n        }\n      },\n      \"@keyframes motion-translate-out\": {\n        \"0%\": {\n          translate: \"0 0\"\n        },\n        \"100%\": {\n          translate: \"var(--motion-end-translate-x) var(--motion-end-translate-y)\"\n        }\n      },\n      \"@keyframes motion-translate-loop-mirror\": {\n        \"0%, 100%\": {\n          translate: \"0 0\"\n        },\n        \"50%\": {\n          translate: \"var(--motion-loop-translate-x) var(--motion-loop-translate-y)\"\n        }\n      },\n      \"@keyframes motion-translate-loop-reset\": {\n        \"0%\": {\n          translate: \"0 0\"\n        },\n        \"100%\": {\n          translate: \"var(--motion-loop-translate-x) var(--motion-loop-translate-y)\"\n        }\n      },\n      \"@keyframes motion-rotate-in\": {\n        \"0%\": {\n          rotate: \"var(--motion-origin-rotate)\"\n        },\n        \"100%\": {\n          rotate: \"0\"\n        }\n      },\n      \"@keyframes motion-rotate-out\": {\n        \"0%\": {\n          rotate: \"0\"\n        },\n        \"100%\": {\n          rotate: \"var(--motion-end-rotate)\"\n        }\n      },\n      \"@keyframes motion-rotate-loop-mirror\": {\n        \"0%, 100%\": {\n          rotate: \"0deg\"\n        },\n        \"50%\": {\n          rotate: \"var(--motion-loop-rotate)\"\n        }\n      },\n      \"@keyframes motion-rotate-loop-reset\": {\n        \"0%\": {},\n        \"100%\": {\n          rotate: \"var(--motion-loop-rotate)\"\n        }\n      }\n    },\n    \"@keyframes motion-filter-in\": {\n      \"0%\": {\n        filter: \"blur(var(--motion-origin-blur)) grayscale(var(--motion-origin-grayscale))\"\n      },\n      \"100%\": {\n        filter: \"blur(0) grayscale(0)\"\n      }\n    },\n    \"@keyframes motion-filter-out\": {\n      \"0%\": {\n        filter: \"blur(0) grayscale(0)\"\n      },\n      \"100%\": {\n        filter: \"blur(var(--motion-end-blur)) grayscale(var(--motion-end-grayscale))\"\n      }\n    },\n    \"@keyframes motion-filter-loop-mirror\": {\n      \"0%, 100%\": {\n        filter: \"blur(0) grayscale(0)\"\n      },\n      \"50%\": {\n        filter: \"blur(var(--motion-loop-blur)) grayscale(var(--motion-loop-grayscale))\"\n      }\n    },\n    \"@keyframes motion-filter-loop-reset\": {\n      \"0%\": {\n        filter: \"blur(0) grayscale(0)\"\n      },\n      \"100%\": {\n        filter: \"blur(var(--motion-loop-blur)) grayscale(var(--motion-loop-grayscale))\"\n      }\n    },\n    \"@keyframes motion-opacity-in\": {\n      \"0%\": {\n        opacity: \"var(--motion-origin-opacity)\"\n      }\n    },\n    \"@keyframes motion-opacity-out\": {\n      \"100%\": {\n        opacity: \"var(--motion-end-opacity)\"\n      }\n    },\n    \"@keyframes motion-opacity-loop-mirror\": {\n      \"0%, 100%\": {},\n      \"50%\": {\n        opacity: \"var(--motion-loop-opacity)\"\n      }\n    },\n    \"@keyframes motion-opacity-loop-reset\": {\n      \"0%\": {},\n      \"100%\": {\n        opacity: \"var(--motion-loop-opacity)\"\n      }\n    },\n    \"@keyframes motion-background-color-in\": {\n      \"0%\": {\n        backgroundColor: \"var(--motion-origin-background-color)\"\n      }\n    },\n    \"@keyframes motion-background-color-out\": {\n      \"100%\": {\n        backgroundColor: \"var(--motion-end-background-color)\"\n      }\n    },\n    \"@keyframes motion-background-color-loop-mirror\": {\n      \"0%, 100%\": {},\n      \"50%\": {\n        backgroundColor: \"var(--motion-loop-background-color)\"\n      }\n    },\n    \"@keyframes motion-background-color-loop-reset\": {\n      \"0%\": {},\n      \"100%\": {\n        backgroundColor: \"var(--motion-loop-background-color)\"\n      }\n    },\n    \"@keyframes motion-text-color-in\": {\n      \"0%\": {\n        color: \"var(--motion-origin-text-color)\"\n      }\n    },\n    \"@keyframes motion-text-color-out\": {\n      \"100%\": {\n        color: \"var(--motion-end-text-color)\"\n      }\n    },\n    \"@keyframes motion-text-color-loop-mirror\": {\n      \"0%, 100%\": {},\n      \"50%\": {\n        color: \"var(--motion-loop-text-color)\"\n      }\n    },\n    \"@keyframes motion-text-color-loop-reset\": {\n      \"0%\": {},\n      \"100%\": {\n        color: \"var(--motion-loop-text-color)\"\n      }\n    }\n  });\n}\n\n// src/modifiers.ts\nvar springPerceptualMultipliers = {\n  \"var(--motion-spring-smooth)\": \"1.66\",\n  \"var(--motion-spring-snappy)\": \"1.66\",\n  \"var(--motion-spring-bouncy)\": \"1.66\",\n  \"var(--motion-spring-bouncier)\": \"2.035\",\n  \"var(--motion-spring-bounciest)\": \"5.285\",\n  \"var(--motion-bounce)\": \"2\"\n};\nfunction addModifiers(matchUtilities, addUtilities, theme) {\n  matchUtilities(\n    {\n      \"motion-duration\": (value, { modifier }) => {\n        switch (modifier) {\n          case \"scale\":\n            return { \"--motion-scale-duration\": value };\n          case \"translate\":\n            return { \"--motion-translate-duration\": value };\n          case \"rotate\":\n            return { \"--motion-rotate-duration\": value };\n          case \"blur\":\n          case \"grayscale\":\n            return { \"--motion-filter-duration\": value };\n          case \"opacity\":\n            return { \"--motion-opacity-duration\": value };\n          case \"background\":\n            return { \"--motion-background-color-duration\": value };\n          case \"text\":\n            return { \"--motion-text-color-duration\": value };\n          default:\n            return {\n              \"--motion-duration\": value\n            };\n        }\n      }\n    },\n    {\n      values: theme(\"motionDuration\"),\n      modifiers: {\n        scale: \"scale\",\n        translate: \"translate\",\n        rotate: \"rotate\",\n        blur: \"blur\",\n        grayscale: \"grayscale\",\n        opacity: \"opacity\",\n        background: \"background\",\n        text: \"text\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-delay\": (value, { modifier }) => {\n        switch (modifier) {\n          case \"scale\":\n            return { \"--motion-scale-delay\": value };\n          case \"translate\":\n            return { \"--motion-translate-delay\": value };\n          case \"rotate\":\n            return { \"--motion-rotate-delay\": value };\n          case \"blur\":\n          case \"grayscale\":\n            return { \"--motion-filter-delay\": value };\n          case \"opacity\":\n            return { \"--motion-opacity-delay\": value };\n          case \"background\":\n            return { \"--motion-background-color-delay\": value };\n          case \"text\":\n            return { \"--motion-text-color-delay\": value };\n          default:\n            return {\n              \"--motion-delay\": value\n            };\n        }\n      }\n    },\n    {\n      values: theme(\"motionDelay\"),\n      modifiers: {\n        scale: \"scale\",\n        translate: \"translate\",\n        rotate: \"rotate\",\n        blur: \"blur\",\n        grayscale: \"grayscale\",\n        opacity: \"opacity\",\n        background: \"background\",\n        text: \"text\"\n      }\n    }\n  );\n  matchUtilities(\n    {\n      \"motion-ease\": (value, { modifier }) => {\n        const perceptualDurationMultiplier = springPerceptualMultipliers[value] || 1;\n        const isSpringWithBounce = [\n          \"var(--motion-spring-bouncy)\",\n          \"var(--motion-spring-bouncier)\",\n          \"var(--motion-spring-bounciest)\",\n          \"var(--motion-bounce)\"\n        ].includes(value);\n        switch (modifier) {\n          case \"scale\":\n            return {\n              \"--motion-scale-timing\": value,\n              \"--motion-scale-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          case \"translate\":\n            return {\n              \"--motion-translate-timing\": value,\n              \"--motion-translate-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          case \"rotate\":\n            return {\n              \"--motion-rotate-timing\": value,\n              \"--motion-rotate-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          case \"blur\":\n          case \"grayscale\":\n            return {\n              \"--motion-filter-timing\": value,\n              \"--motion-filter-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          case \"opacity\":\n            return {\n              \"--motion-opacity-timing\": value,\n              \"--motion-opacity-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          case \"background\":\n            return {\n              \"--motion-background-color-timing\": value,\n              \"--motion-background-color-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          case \"text\":\n            return {\n              \"--motion-text-color-timing\": value,\n              \"--motion-text-color-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n            };\n          default:\n            if (isSpringWithBounce) {\n              return {\n                \"--motion-timing\": value,\n                \"--motion-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`,\n                // filter, opacity, and color animations don't look good with bouncy springs\n                // so we use a smooth spring for them\n                \"--motion-filter-timing\": \"var(--motion-spring-smooth)\",\n                \"--motion-opacity-timing\": \"var(--motion-spring-smooth)\",\n                \"--motion-background-color-timing\": \"var(--motion-spring-smooth)\",\n                \"--motion-text-color-timing\": \"var(--motion-spring-smooth)\",\n                \"--motion-filter-perceptual-duration-multiplier\": \"1.66\",\n                \"--motion-opacity-perceptual-duration-multiplier\": \"1.66\",\n                \"--motion-background-color-perceptual-duration-multiplier\": \"1.66\",\n                \"--motion-text-color-perceptual-duration-multiplier\": \"1.66\"\n              };\n            } else {\n              return {\n                \"--motion-timing\": value,\n                \"--motion-perceptual-duration-multiplier\": `${perceptualDurationMultiplier}`\n              };\n            }\n        }\n      }\n    },\n    {\n      values: theme(\"motionTimingFunction\"),\n      modifiers: {\n        scale: \"scale\",\n        translate: \"translate\",\n        rotate: \"rotate\",\n        blur: \"blur\",\n        grayscale: \"grayscale\",\n        opacity: \"opacity\",\n        background: \"background\",\n        text: \"text\"\n      }\n    }\n  );\n  addUtilities({\n    \".motion-paused\": {\n      animationPlayState: \"paused\",\n      \"&::before\": {\n        animationPlayState: \"paused\"\n      },\n      \"&::after\": {\n        animationPlayState: \"paused\"\n      }\n    },\n    \".motion-running\": {\n      animationPlayState: \"running\",\n      \"&::before\": {\n        animationPlayState: \"running\"\n      },\n      \"&::after\": {\n        animationPlayState: \"running\"\n      }\n    }\n  });\n  matchUtilities(\n    {\n      \"motion-loop\": (value, { modifier }) => {\n        switch (modifier) {\n          case \"scale\":\n            return { \"--motion-scale-loop-count\": value };\n          case \"translate\":\n            return { \"--motion-translate-loop-count\": value };\n          case \"rotate\":\n            return { \"--motion-rotate-loop-count\": value };\n          case \"blur\":\n          case \"grayscale\":\n            return { \"--motion-filter-loop-count\": value };\n          case \"opacity\":\n            return { \"--motion-opacity-loop-count\": value };\n          case \"background\":\n            return { \"--motion-background-color-loop-count\": value };\n          case \"text\":\n            return { \"--motion-text-color-loop-count\": value };\n          default:\n            return {\n              \"--motion-loop-count\": value\n            };\n        }\n      }\n    },\n    {\n      values: theme(\"motionLoopCount\"),\n      modifiers: {\n        scale: \"scale\",\n        translate: \"translate\",\n        rotate: \"rotate\",\n        blur: \"blur\",\n        grayscale: \"grayscale\",\n        opacity: \"opacity\",\n        background: \"background\",\n        text: \"text\"\n      }\n    }\n  );\n}\nvar modifiersTheme = {\n  motionTimingFunction: (theme) => ({\n    ...theme(\"transitionTimingFunction\"),\n    \"spring-smooth\": \"var(--motion-spring-smooth)\",\n    \"spring-snappy\": \"var(--motion-spring-snappy)\",\n    \"spring-bouncy\": \"var(--motion-spring-bouncy)\",\n    \"spring-bouncier\": \"var(--motion-spring-bouncier)\",\n    \"spring-bounciest\": \"var(--motion-spring-bounciest)\",\n    bounce: \"var(--motion-bounce)\",\n    \"in-quad\": \"cubic-bezier(.55, .085, .68, .53)\",\n    \"in-cubic\": \"cubic-bezier(.550, .055, .675, .19)\",\n    \"in-quart\": \"cubic-bezier(.895, .03, .685, .22)\",\n    \"in-back\": \"cubic-bezier(0.6,-0.28,0.74,0.05)\",\n    \"out-quad\": \"cubic-bezier(.25, .46, .45, .94)\",\n    \"out-cubic\": \"cubic-bezier(.215, .61, .355, 1)\",\n    \"out-quart\": \"cubic-bezier(.165, .84, .44, 1)\",\n    \"out-back\": \"cubic-bezier(0.18,0.89,0.32,1.27)\",\n    \"in-out-quad\": \"cubic-bezier(.455, .03, .515, .955)\",\n    \"in-out-cubic\": \"cubic-bezier(.645, .045, .355, 1)\",\n    \"in-out-quart\": \"cubic-bezier(.77, 0, .175, 1)\",\n    \"in-out-back\": \"cubic-bezier(0.68,-0.55,0.27,1.55)\"\n  }),\n  motionDuration: (theme) => ({\n    ...theme(\"transitionDuration\"),\n    1500: \"1500ms\",\n    2e3: \"2000ms\",\n    DEFAULT: \"750ms\"\n  }),\n  motionDelay: (theme) => ({\n    ...theme(\"motionDuration\"),\n    DEFAULT: \"0ms\"\n  }),\n  motionLoopCount: {\n    infinite: \"infinite\",\n    once: \"1\",\n    twice: \"2\"\n  }\n};\nfunction addPresets(addComponents, matchComponents) {\n  matchComponents(\n    {\n      \"motion-preset-fade\": (size) => {\n        const durations = {\n          sm: \"300ms\",\n          md: \"500ms\",\n          lg: \"800ms\"\n        };\n        return {\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-duration\": durations[size],\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-right\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-x\": `-${distance[size]}`,\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-left\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-x\": distance[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-up\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-y\": distance[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-down\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-y\": `-${distance[size]}`,\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-up-right\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-x\": `-${distance[size]}`,\n          \"--motion-origin-translate-y\": distance[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-up-left\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-x\": distance[size],\n          \"--motion-origin-translate-y\": distance[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-down-left\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-x\": distance[size],\n          \"--motion-origin-translate-y\": `-${distance[size]}`,\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-slide-down-right\": (size) => {\n        const distance = {\n          sm: \"5%\",\n          md: \"25%\",\n          lg: \"100%\"\n        };\n        return {\n          \"--motion-origin-translate-x\": `-${distance[size]}`,\n          \"--motion-origin-translate-y\": `-${distance[size]}`,\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-focus\": (size) => {\n        const blurSizes = {\n          sm: \"1.25px\",\n          md: \"5px\",\n          lg: \"10px\"\n        };\n        return {\n          \"--motion-origin-blur\": blurSizes[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-filter-in-animation\": filterInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-blur-right\": (size) => {\n        const blurSizes = {\n          sm: \"1.25px\",\n          md: \"5px\",\n          lg: \"10px\"\n        };\n        const distance = {\n          sm: \"1%\",\n          md: \"5%\",\n          lg: \"25%\"\n        };\n        return {\n          \"--motion-origin-blur\": blurSizes[size],\n          \"--motion-origin-translate-x\": `-${distance[size]}`,\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-filter-in-animation\": filterInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-blur-left\": (size) => {\n        const blurSizes = {\n          sm: \"1.25px\",\n          md: \"5px\",\n          lg: \"10px\"\n        };\n        const distance = {\n          sm: \"1%\",\n          md: \"5%\",\n          lg: \"25%\"\n        };\n        return {\n          \"--motion-origin-blur\": blurSizes[size],\n          \"--motion-origin-translate-x\": distance[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-filter-in-animation\": filterInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-blur-up\": (size) => {\n        const blurSizes = {\n          sm: \"1.25px\",\n          md: \"5px\",\n          lg: \"10px\"\n        };\n        const distance = {\n          sm: \"1%\",\n          md: \"5%\",\n          lg: \"25%\"\n        };\n        return {\n          \"--motion-origin-blur\": blurSizes[size],\n          \"--motion-origin-translate-y\": distance[size],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-filter-in-animation\": filterInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-blur-down\": (size) => {\n        const blurSizes = {\n          sm: \"1.25px\",\n          md: \"5px\",\n          lg: \"10px\"\n        };\n        const distance = {\n          sm: \"1%\",\n          md: \"5%\",\n          lg: \"25%\"\n        };\n        return {\n          \"--motion-origin-blur\": blurSizes[size],\n          \"--motion-origin-translate-y\": `-${distance[size]}`,\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-filter-in-animation\": filterInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      }\n    },\n    {\n      values: {\n        sm: \"sm\",\n        md: \"md\",\n        lg: \"lg\",\n        DEFAULT: \"md\"\n      }\n    }\n  );\n  matchComponents(\n    {\n      \"motion-preset-rebound\": (direction) => {\n        const directions = {\n          right: {\n            \"--motion-origin-translate-x\": \"-25%\"\n          },\n          left: {\n            \"--motion-origin-translate-x\": \"25%\"\n          },\n          up: {\n            \"--motion-origin-translate-y\": \"25%\"\n          },\n          down: {\n            \"--motion-origin-translate-y\": \"-25%\"\n          }\n        };\n        return {\n          ...directions[direction],\n          \"--motion-translate-timing\": \"var(--motion-spring-bouncier)\",\n          \"--motion-translate-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n          \"--motion-origin-opacity\": \"0\",\n          \"--motion-opacity-in-animation\": opacityInAnimation,\n          \"--motion-translate-in-animation\": translateInAnimation,\n          animation: allLoopAndEnterAnimations\n        };\n      }\n    },\n    {\n      values: {\n        right: \"right\",\n        left: \"left\",\n        up: \"up\",\n        down: \"down\",\n        DEFAULT: \"left\"\n      }\n    }\n  );\n  addComponents({\n    \".motion-preset-bounce\": {\n      \"--motion-duration\": \"300ms\",\n      \"--motion-translate-timing\": \"var(--motion-bounce)\",\n      \"--motion-translate-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-bounce)\"],\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-origin-translate-y\": \"-25%\",\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-translate-in-animation\": translateInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-expand\": {\n      \"--motion-origin-scale-x\": \"50%\",\n      \"--motion-origin-scale-y\": \"50%\",\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-scale-in-animation\": scaleInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-shrink\": {\n      \"--motion-origin-scale-x\": \"150%\",\n      \"--motion-origin-scale-y\": \"150%\",\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-scale-in-animation\": scaleInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-pop\": {\n      \"--motion-origin-scale-x\": \"50%\",\n      \"--motion-origin-scale-y\": \"50%\",\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-scale-timing\": \"var(--motion-spring-bouncier)\",\n      \"--motion-scale-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-scale-in-animation\": scaleInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-compress\": {\n      \"--motion-origin-scale-x\": \"150%\",\n      \"--motion-origin-scale-y\": \"150%\",\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-scale-timing\": \"var(--motion-spring-bouncier)\",\n      \"--motion-scale-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-scale-in-animation\": scaleInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-shake\": {\n      \"--motion-duration\": \"300ms\",\n      \"--motion-origin-rotate\": \"15deg\",\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-rotate-timing\": \"var(--motion-spring-bounciest)\",\n      \"--motion-rotate-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-rotate-in-animation\": rotateInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-wiggle\": {\n      \"--motion-duration\": \"300ms\",\n      \"--motion-origin-rotate\": \"15deg\",\n      \"--motion-origin-translate-x\": \"-25%\",\n      \"--motion-origin-translate-y\": \"-10%\",\n      \"--motion-origin-opacity\": \"0\",\n      \"--motion-timing\": \"var(--motion-spring-bounciest)\",\n      \"--motion-perceptual-duration-multiplier\": \"5.285\",\n      \"--motion-opacity-timing\": \"var(--motion-spring-smooth)\",\n      \"--motion-opacity-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n      \"--motion-opacity-in-animation\": opacityInAnimation,\n      \"--motion-rotate-in-animation\": rotateInAnimation,\n      \"--motion-translate-in-animation\": translateInAnimation,\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-confetti\": {\n      display: \"block\",\n      \"-webkit-appearance\": \"none\",\n      appearance: \"none\",\n      position: \"relative\",\n      outline: \"0\",\n      zIndex: \"1\",\n      margin: \"0\",\n      animation: \"RomboConfettiPop var(--motion-duration) var(--motion-timing)  both\",\n      \"@keyframes RomboConfettiPop\": {\n        \"0%\": {\n          opacity: \"0\",\n          transform: \"scale(1)\"\n        },\n        \"33%\": {\n          opacity: \"1\",\n          transform: \"scale(1.15)\"\n        },\n        \"50%\": {\n          transform: \"scale(0.975)\"\n        },\n        \"65%\": {\n          transform: \"scale(1.025)\"\n        },\n        \"80%\": {\n          transform: \"scale(0.99)\"\n        },\n        \"87%\": {\n          transform: \"scale(1.01)\"\n        },\n        \"100%\": {\n          opacity: \"1\",\n          transform: \"scale(1)\"\n        }\n      },\n      \"&:after\": {\n        display: \"block\",\n        animationDuration: \"var(--motion-duration)\",\n        animationTimingFunction: \"var(--motion-timing)\",\n        animationIterationCount: \"1\",\n        animationDirection: \"normal\",\n        animationFillMode: \"forwards\",\n        animationName: \"bottomfetti\",\n        position: \"absolute\",\n        content: '\" \"',\n        zIndex: \"-1\",\n        width: \"100%\",\n        height: \"100%\",\n        left: \"-20%\",\n        top: \"100%\",\n        transition: \"all var(--motion-timing) var(--motion-duration)\",\n        backgroundRepeat: \"no-repeat\",\n        backgroundImage: \"radial-gradient(circle, #a2dd60 20%, transparent 20%),radial-gradient(circle, transparent 20%, #ee65a9 20%, transparent 30%),radial-gradient(circle, #6092dd 20%, transparent 20%),radial-gradient(circle, #f3c548 20%, transparent 20%),radial-gradient(circle, transparent 10%, #46ec99 15%, transparent 20%),radial-gradient(circle, #f03e47 20%, transparent 20%),radial-gradient(circle, #7b4df7 20%, transparent 20%),radial-gradient(circle, #3ff1bc 20%, transparent 20%)\",\n        backgroundSize: \"15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%\"\n      },\n      \"&:before\": {\n        display: \"block\",\n        animationDuration: \"var(--motion-duration)\",\n        animationTimingFunction: \"var(--motion-timing)\",\n        animationIterationCount: \"1\",\n        animationDirection: \"normal\",\n        animationFillMode: \"forwards\",\n        animationName: \"topfetti\",\n        position: \"absolute\",\n        content: '\" \"',\n        width: \"100%\",\n        height: \"100%\",\n        left: \"-5%\",\n        backgroundRepeat: \"no-repeat\",\n        transition: \"all var(--motion-timing) var(--motion-duration)\",\n        zIndex: \"-1\",\n        top: \"-90%\",\n        backgroundImage: \"radial-gradient(circle, #a2dd60 30%, transparent 20%),radial-gradient(circle, transparent 20%, #ee65a9 40%, transparent 20%),radial-gradient(circle, #6092dd 30%, transparent 20%),radial-gradient(circle, #f3c548 30%, transparent 20%),radial-gradient(circle, transparent 10%, #46ec99 15%, transparent 20%),radial-gradient(circle, #f03e47 30%, transparent 20%),radial-gradient(circle, #7b4df7 30%, transparent 30%),radial-gradient(circle, #3ff1bc 30%, transparent 20%),radial-gradient(circle, #48f088 30%, transparent 30%)\",\n        backgroundSize: \"10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 25% 25%\"\n      },\n      \"@keyframes topfetti\": {\n        \"0%\": {\n          backgroundPosition: \"5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%\"\n        },\n        \"50%\": {\n          backgroundPosition: \"0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%\"\n        },\n        \"100%\": {\n          backgroundPosition: \"0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%\",\n          backgroundSize: \"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%\"\n        }\n      },\n      \"@keyframes bottomfetti\": {\n        \"0%\": {\n          backgroundPosition: \"10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,70% -10%, 70% 0%\"\n        },\n        \"50%\": {\n          backgroundPosition: \"0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%\"\n        },\n        \"100%\": {\n          backgroundPosition: \"0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%\",\n          backgroundSize: \"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%\"\n        }\n      }\n    }\n  });\n  matchComponents(\n    {\n      \"motion-preset-pulse\": (size) => {\n        const sizes = {\n          sm: \"1.1\",\n          md: \"1.25\",\n          lg: \"1.5\"\n        };\n        return {\n          \"--motion-loop-scale-x\": sizes[size],\n          \"--motion-loop-scale-y\": sizes[size],\n          \"--motion-timing\": \"cubic-bezier(0.4, 0, 0.2, 1)\",\n          \"--motion-scale-loop-animation\": scaleLoopAnimation(\"mirror\"),\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-wobble\": (size) => {\n        const sizes = {\n          sm: \"5%\",\n          md: \"15%\",\n          lg: \"25%\"\n        };\n        return {\n          \"--motion-loop-translate-x\": sizes[size],\n          \"--motion-timing\": \"cubic-bezier(0.4, 0, 0.2, 1)\",\n          \"--motion-translate-loop-animation\": translateLoopAnimation(\"mirror\"),\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-seesaw\": (size) => {\n        const sizes = {\n          sm: \"3deg\",\n          md: \"6deg\",\n          lg: \"12deg\"\n        };\n        return {\n          \"--motion-loop-rotate\": sizes[size],\n          \"--motion-rotate-loop-animation\": rotateLoopAnimation(\"mirror\"),\n          \"--motion-rotate-timing\": \"var(--motion-spring-bounciest)\",\n          \"--motion-rotate-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bounciest)\"],\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-oscillate\": (size) => {\n        const sizes = {\n          sm: \"5%\",\n          md: \"15%\",\n          lg: \"25%\"\n        };\n        return {\n          \"--motion-loop-translate-y\": sizes[size],\n          \"--motion-timing\": \"cubic-bezier(0.4, 0, 0.2, 1)\",\n          \"--motion-translate-loop-animation\": translateLoopAnimation(\"mirror\"),\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-stretch\": (size) => {\n        const xSizes = {\n          sm: \"95%\",\n          md: \"85%\",\n          lg: \"75%\"\n        };\n        const ySizes = {\n          sm: \"105%\",\n          md: \"115%\",\n          lg: \"125%\"\n        };\n        return {\n          \"--motion-loop-scale-x\": xSizes[size],\n          \"--motion-loop-scale-y\": ySizes[size],\n          \"--motion-scale-timing\": \"var(--motion-spring-bouncier)\",\n          \"--motion-scale-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n          \"--motion-scale-loop-animation\": scaleLoopAnimation(\"mirror\"),\n          animation: allLoopAndEnterAnimations\n        };\n      },\n      \"motion-preset-float\": (size) => {\n        const sizes = {\n          sm: \"50%\",\n          md: \"100%\",\n          lg: \"150%\"\n        };\n        return {\n          \"--motion-loop-translate-y\": sizes[size],\n          \"--motion-translate-timing\": \"var(--motion-spring-bouncier)\",\n          \"--motion-translate-perceptual-duration-multiplier\": springPerceptualMultipliers[\"var(--motion-spring-bouncier)\"],\n          \"--motion-duration\": \"2000ms\",\n          \"--motion-translate-loop-animation\": translateLoopAnimation(\"mirror\"),\n          animation: allLoopAndEnterAnimations\n        };\n      }\n    },\n    {\n      values: {\n        sm: \"sm\",\n        md: \"md\",\n        lg: \"lg\",\n        DEFAULT: \"md\"\n      }\n    }\n  );\n  addComponents({\n    \".motion-preset-spin\": {\n      \"--motion-loop-rotate\": \"360deg\",\n      \"--motion-timing\": \"linear\",\n      \"--motion-rotate-loop-animation\": rotateLoopAnimation(\"reset\"),\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  addComponents({\n    \".motion-preset-blink\": {\n      \"--motion-loop-opacity\": \"0\",\n      \"--motion-opacity-loop-animation\": opacityLoopAnimation(\"mirror\"),\n      animation: allLoopAndEnterAnimations\n    }\n  });\n  matchComponents({\n    \"motion-preset-typewriter\": (value) => ({\n      \"--motion-duration\": \"2000ms\",\n      \"--motion-typewriter-value\": `${value}ch`,\n      animation: `typing var(--motion-duration) steps(${value}) var(--motion-loop-count), blink 0.4s step-end infinite alternate`,\n      whiteSpace: \"nowrap\",\n      borderRight: \"2px solid\",\n      fontFamily: \"monospace\",\n      overflow: \"hidden\",\n      \"@media screen and (prefers-reduced-motion: no-preference)\": {\n        \"@keyframes typing\": {\n          \"10%, 90%\": {\n            width: \"0\"\n          },\n          \"40%, 60%\": {\n            width: `calc(var(--motion-typewriter-value) + 1px)`\n          }\n        }\n      },\n      \"@keyframes blink\": {\n        \"50%\": {\n          borderColor: \"transparent\"\n        }\n      }\n    })\n  });\n  matchComponents(\n    {\n      \"motion-preset-flomoji\": (value) => ({\n        position: \"relative\",\n        \"&:before\": {\n          content: `\"${value}\"`,\n          animation: \"emojiAnim 3000ms infinite cubic-bezier(0, 0.2, 0.2, 1) both\",\n          top: \"0px\",\n          left: \"0px\",\n          position: \"absolute\",\n          zIndex: \"1000\",\n          background: \"rgba(255,255,255,0.3)\",\n          width: \"2rem\",\n          height: \"2rem\",\n          display: \"flex\",\n          alignItems: \"center\",\n          justifyContent: \"center\",\n          borderRadius: \"100%\",\n          padding: \"2px\",\n          paddingBottom: \"6px\"\n        },\n        \"@media screen and (prefers-reduced-motion: no-preference)\": {\n          \"@keyframes emojiAnim\": {\n            \"0%\": {\n              transform: \"translateY(-200%) rotate(60deg)\"\n            },\n            \"30%\": {\n              transform: \"rotate(50deg)\"\n            },\n            \"40%\": {\n              transform: \"rotate(55deg)\"\n            },\n            \"50%\": {\n              transform: \"rotate(45deg)\"\n            },\n            \"60%\": {\n              transform: \"rotate(40deg)\"\n            },\n            \"100%\": {\n              transform: \"translateY(-200%) rotate(25deg)\"\n            }\n          }\n        }\n      })\n    },\n    {\n      values: {\n        \"\\u{1F449}\": \"\\u{1F449}\",\n        \"\\u{1F680}\": \"\\u{1F680}\",\n        \"\\u{1F440}\": \"\\u{1F440}\",\n        \"\\u{1F44D}\": \"\\u{1F44D}\"\n      }\n    }\n  );\n}\n\n// src/index.ts\nvar pluginCreator = ({\n  matchUtilities,\n  theme,\n  addBase,\n  addUtilities,\n  addComponents,\n  matchComponents\n}) => {\n  addDefaults(addBase);\n  addKeyframes(addBase);\n  addPresets(addComponents, matchComponents);\n  addBaseAnimations(matchUtilities, theme);\n  addModifiers(matchUtilities, addUtilities, theme);\n};\nvar pluginConfig = {\n  theme: {\n    ...modifiersTheme,\n    ...baseAnimationsTheme\n  }\n};\nvar index_default = createPlugin(pluginCreator, pluginConfig);\n\nexport { index_default as default };\n//# sourceMappingURL=index.js.map\n//# sourceMappingURL=index.js.map","/** @type {import('tailwindcss').Config} */\nimport type { Config } from \"tailwindcss\";\nimport tailwindcssMotion from \"tailwindcss-motion\";\n\nexport default {\n  content: [\n    \"frontend/**/*.(js|jsx|ts|tsx)\",\n    \"*/templates/**/*.html\",\n    \"*/assets/**/*.(js|jsx|ts|tsx|css|html)\",\n    \"*/components/**/*.(js|jsx|ts|tsx|css|html)\",\n    \"*/forms/**/*.py\",\n    \"web/models/banner.py\",\n    \"content/blocks.py\",\n    \"content/utils.py\",\n  ],\n  theme: {\n    extend: {\n      textColor: ({ theme }) => ({\n        primary: theme(\"colors.grey.600\"),\n        muted: theme(\"colors.grey.500\"),\n      }),\n      borderColor: ({ theme }) => ({\n        regular: theme(\"colors.grey.25\"),\n        transparent: \"rgba(0,0,0,0)\",\n      }),\n      screens: {\n        \"3xl\": \"1700px\",\n        \"4xl\": \"2049px\",\n      },\n      borderRadius: {\n        sm: \"0.4rem\",\n        regular: \"0.5625rem\",\n        xl: \"1.1875rem\",\n        full: \"999px\",\n        none: \"0px\",\n      },\n      keyframes: {\n        \"progress-bar\": {\n          from: { transform: \"translateX(-100%)\" },\n          to: { transform: \"translateX(0%)\" },\n        },\n        \"caret-blink\": {\n          \"0%,70%,100%\": { opacity: \"1\" },\n          \"20%,50%\": { opacity: \"0\" },\n        },\n        ripple: {\n          \"0%\": {\n            transform: \"scale(0.4)\",\n            opacity: \"1\",\n          },\n          \"60%\": {\n            transform: \"scale(0.8)\",\n            opacity: \"0.8\",\n          },\n          \"80%\": {\n            transform: \"scale(0.9)\",\n            opacity: \"0.4\",\n          },\n          \"100%\": {\n            transform: \"scale(1)\",\n            opacity: \"0\",\n          },\n        },\n      },\n      animation: {\n        \"progress-bar\": \"progress-bar linear\",\n        \"caret-blink\": \"caret-blink 1.25s ease-out infinite\",\n        ripple: \"ripple 2s linear infinite\",\n      },\n    },\n    container: {\n      padding: \"1rem\",\n      center: true,\n      screens: {\n        sm: \"540px\",\n        md: \"720px\",\n        lg: \"960px\",\n        xl: \"1140px\",\n      },\n    },\n    fontSize: {\n      xxs: [\"0.6875rem\", \"0.8125rem\"],\n      xs: [\"0.75rem\", \"1rem\"],\n      sm: [\"0.875rem\", \"1.0625rem\"],\n      base: [\"1rem\", \"1.5rem\"],\n      xl: [\"1.125rem\", \"1.375rem\"],\n      \"2xl\": [\"1.375rem\", \"1.6875rem\"],\n      \"3xl\": [\"1.75rem\", \"2.125rem\"],\n      \"4xl\": [\"2.25rem\", \"2.5rem\"],\n    },\n    colors: {\n      white: \"#ffffff\",\n      black: \"#000000\",\n      muted: \"#65696C\",\n      grey: {\n        600: \"#242424\",\n        500: \"#65696C\",\n        400: \"#93989B\",\n        300: \"#AAB1B5\",\n        200: \"#C6CDD0\",\n        DEFAULT: \"#DBE2E5\",\n        100: \"#DBE2E5\",\n        75: \"#E0E8EC\",\n        50: \"#EAF0F3\",\n        25: \"#EFF3F5\",\n        15: \"#F5F8FA\",\n      },\n      pistachio: {\n        600: \"#14332C\",\n        500: \"#295A4F\",\n        400: \"#3A7A6C\",\n        300: \"#499987\",\n        200: \"#57B29E\",\n        DEFAULT: \"#65CCB5\",\n        100: \"#65CCB5\",\n        75: \"#8CD9C8\",\n        50: \"#B1E5D9\",\n        25: \"#D8F2EC\",\n        15: \"#E8F7F4\",\n      },\n      blue: {\n        600: \"#0B2040\",\n        500: \"#173460\",\n        400: \"#294B80\",\n        300: \"#426FB2\",\n        200: \"#6393DB\",\n        DEFAULT: \"#76A8F4\",\n        100: \"#76A8F4\",\n        75: \"#98BEF7\",\n        50: \"#BAD3F9\",\n        25: \"#DCE9FC\",\n        15: \"#EBF2FE\",\n      },\n      orange: {\n        600: \"#843200\",\n        500: \"#9B4500\",\n        400: \"#B35907\",\n        300: \"#CC6D21\",\n        200: \"#E58136\",\n        DEFAULT: \"#FF9747\",\n        100: \"#FF9747\",\n        75: \"#F8AC73\",\n        50: \"#FAC7A1\",\n        25: \"#FCE3D0\",\n        15: \"#FEEFE3\",\n      },\n      lime: {\n        600: \"#4E4213\",\n        500: \"#6A5B1E\",\n        400: \"#907E32\",\n        300: \"#C9B45E\",\n        200: \"#E8D279\",\n        DEFAULT: \"#FEE994\",\n        100: \"#FEE994\",\n        75: \"#FEEFAF\",\n        50: \"#FEF3C9\",\n        25: \"#FEF9E4\",\n        15: \"#FFFCEF\",\n      },\n      \"light-purple\": {\n        600: \"#66589C\",\n        500: \"#7B6ABA\",\n        400: \"#8573CA\",\n        300: \"#9381D8\",\n        200: \"#A18DEB\",\n        DEFAULT: \"#B4A0FF\",\n        100: \"#B4A0FF\",\n        75: \"#C7B8FF\",\n        50: \"#D9CFFF\",\n        25: \"#ECE7FF\",\n        15: \"#F4F1FF\",\n      },\n      \"dark-teal\": {\n        600: \"#022123\",\n        500: \"#03292C\",\n        400: \"#053134\",\n        300: \"#053A3E\",\n        200: \"#034549\",\n        DEFAULT: \"#004B50\",\n        100: \"#004B50\",\n        75: \"#40787C\",\n        50: \"#7FA4A7\",\n        25: \"#BFD2D3\",\n        15: \"#D9E4E5\",\n      },\n      mustard: {\n        600: \"#7A6529\",\n        500: \"#977B2B\",\n        400: \"#B5922F\",\n        300: \"#CBA22A\",\n        200: \"#E4B429\",\n        DEFAULT: \"#FFCA30\",\n        100: \"#FFCA30\",\n        75: \"#FFD764\",\n        50: \"#FFE497\",\n        25: \"#FFF1CB\",\n        15: \"#FFF7E0\",\n      },\n      ruby: {\n        600: \"#481828\",\n        500: \"#5C1F33\",\n        400: \"#661B34\",\n        300: \"#7E1C3D\",\n        200: \"#971C45\",\n        DEFAULT: \"#AB194A\",\n        100: \"#AB194A\",\n        75: \"#C05377\",\n        50: \"#D48BA4\",\n        25: \"#EAC5D1\",\n        15: \"#F3DDE4\",\n      },\n      blueberry: {\n        600: \"#14202C\",\n        500: \"#1B2C3C\",\n        400: \"#22374B\",\n        300: \"#294259\",\n        200: \"#264058\",\n        DEFAULT: \"#2C4964\",\n        100: \"#2C4964\",\n        75: \"#61778B\",\n        50: \"#95A3B1\",\n        25: \"#CAD1D8\",\n        15: \"#E0E4E8\",\n      },\n      \"dark-purple\": {\n        600: \"#160420\",\n        500: \"#1E062C\",\n        400: \"#29083C\",\n        300: \"#310947\",\n        200: \"#3F095B\",\n        DEFAULT: \"#460967\",\n        100: \"#460967\",\n        75: \"#74478D\",\n        50: \"#A283B2\",\n        25: \"#D0C1D9\",\n        15: \"#E3DAE8\",\n      },\n      raspberry: {\n        600: \"#5E1D2A\",\n        500: \"#7B2538\",\n        400: \"#8F2C41\",\n        300: \"#A8334C\",\n        200: \"#C03E59\",\n        DEFAULT: \"#D94161\",\n        100: \"#D94161\",\n        75: \"#E37189\",\n        50: \"#EB9FAF\",\n        25: \"#F5CFD7\",\n        15: \"#FAE3E8\",\n      },\n      transparent: \"rgba(0,0,0,0)\",\n    },\n    boxShadow: {\n      light: \"0px 1px 9px 6px rgba(0, 0, 0, 0.01)\",\n      regular: \"0px 1px 9px 6px rgba(0, 0, 0, 0.03)\",\n      strong: \"0px 1px 6px 2px rgba(0, 0, 0, 0.1)\",\n      none: \"0 0 #0000\",\n    },\n    backgroundSize: {\n      auto: \"auto\",\n      cover: \"cover\",\n      contain: \"contain\",\n      100: \"100%\",\n    },\n  },\n  plugins: [tailwindcssMotion],\n  prefix: \"tw-\",\n  corePlugins: {\n    preflight: false,\n  },\n} satisfies Config;\n","import { type ClassValue, clsx } from \"clsx\";\nimport { extendTailwindMerge } from \"tailwind-merge\";\n\nimport tailwindConfig from \"../../tailwind.config\";\n\nexport const twMerge = extendTailwindMerge({\n  prefix: \"tw-\",\n  override: {\n    classGroups: {\n      shadow: Object.keys(tailwindConfig.theme.boxShadow),\n    },\n  },\n});\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n","import * as ToastPrimitives from \"@radix-ui/react-toast\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { CircleCheck, X } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { cn } from \"@utils/tailwind\";\n\nconst ToastProvider = ToastPrimitives.Provider;\n\nconst ToastViewport = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Viewport>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>\n>(({ className, ...props }, ref) => (\n  <ToastPrimitives.Viewport\n    data-toast-viewport=\"\"\n    ref={ref}\n    className={cn(\n      \"tw-fixed tw-top-0 tw-z-[10000] tw-flex tw-max-h-screen tw-w-full tw-flex-col-reverse tw-gap-2 tw-p-4 sm:tw-bottom-auto sm:tw-right-0 sm:tw-top-0 sm:tw-flex-col md:tw-max-w-[440px]\",\n      className,\n    )}\n    {...props}\n  />\n));\nToastViewport.displayName = ToastPrimitives.Viewport.displayName;\n\nconst toastVariants = cva(\n  \"tw-group tw-pointer-events-auto tw-relative tw-flex tw-gap-3 tw-w-full tw-items-center tw-space-x-4 tw-overflow-hidden tw-rounded-regular tw-border-solid tw-border tw-border-grey tw-pt-3 tw-pb-4 tw-px-4 tw-shadow-regular tw-transition-all data-[swipe=cancel]:tw-translate-x-0 data-[swipe=end]:tw-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:tw-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:tw-transition-none data-[state=open]:tw-animate-in data-[state=closed]:tw-animate-out data-[swipe=end]:tw-animate-out data-[state=closed]:tw-fade-out-80 data-[state=closed]:tw-slide-out-to-right-full data-[state=open]:tw-slide-in-from-top-full data-[state=open]:sm:tw-slide-in-from-bottom-full\",\n  {\n    variants: {\n      variant: {\n        default: \"tw-bg-white tw-text-primary\",\n        success: \"tw-bg-white tw-text-primary\",\n        error: \"tw-bg-white tw-text-primary\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n    },\n  },\n);\n\nconst progressVariants = cva(\"\", {\n  variants: {\n    variant: {\n      default: \"tw-bg-blue\",\n      success: \"tw-bg-pistachio\",\n      error: \"tw-bg-raspberry\",\n    },\n  },\n  defaultVariants: {\n    variant: \"default\",\n  },\n});\n\nconst iconVariants = cva(\"tw-w-4 tw-min-w-4 tw-h-4 tw-min-h-4\", {\n  variants: {\n    variant: {\n      default: \"tw-text-blue\",\n      success: \"tw-text-pistachio\",\n      error: \"tw-text-raspberry\",\n    },\n  },\n  defaultVariants: {\n    variant: \"default\",\n  },\n});\n\nconst addSuccessText = window.gettext(\"added to your $$\");\nconst getAddSuccessDescription = (contentType?: string) => {\n  const [part1, part2] = addSuccessText.split(\"$$\");\n  const url =\n    contentType === \"event\"\n      ? \"/deadline-tracker/events/\"\n      : \"/deadline-tracker/jobs/\";\n  return (\n    <>\n      <span className=\"tw-text-muted\">{part1}</span>\n      <a href={url}>{window.gettext(\"Deadline Tracker\")}</a>\n      <span className=\"tw-text-muted\">{part2}</span>\n    </>\n  );\n};\n\nconst removeSuccessText = window.gettext(\"removed from $$\");\nconst getRemoveSuccessDescription = (\n  asPlainText?: boolean,\n  contentType?: string,\n) => {\n  const [part1, part2] = removeSuccessText.split(\"$$\");\n  const url =\n    contentType === \"event\"\n      ? \"/deadline-tracker/events/\"\n      : \"/deadline-tracker/jobs/\";\n  return (\n    <>\n      <span className=\"tw-text-muted\">{part1}</span>\n      {asPlainText ? (\n        <span className=\"tw-text-muted\">\n          {window.gettext(\"Deadline Tracker\")}\n        </span>\n      ) : (\n        <a href={url}>{window.gettext(\"Deadline Tracker\")}</a>\n      )}\n      <span className=\"tw-text-muted\">{part2}</span>\n    </>\n  );\n};\n\nconst getErrorDescription = (statusText: string) => (\n  <>\n    {window.gettext(\"An error occurred while adding to your Deadline Tracker.\")}\n    <br />\n    <strong>Status:</strong> {statusText}\n  </>\n);\n\nconst Toast = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Root>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &\n    VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => {\n  const [paused, setPaused] = React.useState(false);\n\n  const duration = props.duration || 5000;\n\n  return (\n    <ToastPrimitives.Root\n      ref={ref}\n      duration={duration}\n      onPause={() => setPaused(true)}\n      onResume={() => setPaused(false)}\n      className={cn(\n        toastVariants({ variant }),\n        className,\n        \"tw-relative tw-space-x-0 tw-motion-translate-x-in-100 tw-motion-opacity-in-0 tw-motion-duration-[300ms] tw-motion-ease-spring-smooth data-[state=closed]:-tw-motion-translate-y-out-100 data-[state=closed]:tw-motion-opacity-out-0\",\n      )}\n      {...props}\n    >\n      <ToastIcon variant={variant} />\n      {props.children}\n      <div className=\"tw-absolute tw-bottom-0 tw-left-0 tw-right-0 tw-h-1 tw-overflow-hidden\">\n        <div\n          className={cn(\n            \"tw-h-full tw-animate-progress-bar tw-rounded-r-[1px] tw-ease-linear\",\n            progressVariants({ variant }),\n          )}\n          style={{\n            animationDuration: duration - 100 + \"ms\",\n            animationPlayState: paused ? \"paused\" : \"running\",\n            animationDirection: \"reverse\",\n            animationFillMode: \"forwards\",\n          }}\n        />\n      </div>\n    </ToastPrimitives.Root>\n  );\n});\nToast.displayName = ToastPrimitives.Root.displayName;\n\nconst ToastIcon = ({ variant }: VariantProps<typeof iconVariants>) => {\n  if (variant === \"error\") {\n    return <X className={iconVariants({ variant })} />;\n  }\n  if (variant === \"success\") {\n    return <CircleCheck className={iconVariants({ variant })} />;\n  }\n  return <span></span>;\n};\n\nconst ToastClose = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Close>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>\n>(({ className, ...props }, ref) => (\n  <ToastPrimitives.Close\n    ref={ref}\n    className={cn(\n      \"tw-right-2 tw-top-2 tw-self-start tw-rounded-md tw-border-0 tw-bg-transparent tw-p-1 tw-leading-4 tw-text-grey-500 hover:tw-bg-grey-15 hover:tw-text-primary focus:tw-outline-none focus:tw-ring-2 md:tw-self-center\",\n      className,\n    )}\n    toast-close=\"\"\n    {...props}\n  >\n    <X className=\"tw-h-5 tw-w-5\" />\n  </ToastPrimitives.Close>\n));\nToastClose.displayName = ToastPrimitives.Close.displayName;\n\nconst ToastTitle = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Title>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>\n>(({ className, ...props }, ref) => (\n  <ToastPrimitives.Title\n    ref={ref}\n    className={cn(\"tw-truncate tw-text-sm tw-font-semibold\", className)}\n    {...props}\n  />\n));\nToastTitle.displayName = ToastPrimitives.Title.displayName;\n\nconst ToastDescription = React.forwardRef<\n  React.ElementRef<typeof ToastPrimitives.Description>,\n  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>\n>(({ className, ...props }, ref) => (\n  <ToastPrimitives.Description\n    ref={ref}\n    className={cn(\"tw-text-sm tw-font-medium tw-opacity-90\", className)}\n    {...props}\n  />\n));\nToastDescription.displayName = ToastPrimitives.Description.displayName;\n\ntype ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;\n\nexport {\n  getAddSuccessDescription,\n  getErrorDescription,\n  getRemoveSuccessDescription,\n  Toast,\n  ToastClose,\n  ToastDescription,\n  ToastProvider,\n  ToastTitle,\n  ToastViewport,\n  type ToastProps,\n};\n","\"use client\";\n\n// Inspired by react-hot-toast library\nimport * as React from \"react\";\n\nimport type { ToastProps } from \"./Toast\";\n\nconst TOAST_LIMIT = 3;\nconst TOAST_REMOVE_DELAY = 1000000;\n\ntype ToasterToast = ToastProps & {\n  id: string;\n  title?: React.ReactNode;\n  description?: React.ReactNode;\n};\n\ntype ActionType = {\n  ADD_TOAST: \"ADD_TOAST\";\n  UPDATE_TOAST: \"UPDATE_TOAST\";\n  DISMISS_TOAST: \"DISMISS_TOAST\";\n  REMOVE_TOAST: \"REMOVE_TOAST\";\n};\n\nlet count = 0;\n\nfunction genId() {\n  count = (count + 1) % Number.MAX_SAFE_INTEGER;\n  return count.toString();\n}\n\ntype Action =\n  | {\n      type: ActionType[\"ADD_TOAST\"];\n      toast: ToasterToast;\n    }\n  | {\n      type: ActionType[\"UPDATE_TOAST\"];\n      toast: Partial<ToasterToast>;\n    }\n  | {\n      type: ActionType[\"DISMISS_TOAST\"];\n      toastId?: ToasterToast[\"id\"];\n    }\n  | {\n      type: ActionType[\"REMOVE_TOAST\"];\n      toastId?: ToasterToast[\"id\"];\n    };\n\ninterface State {\n  toasts: ToasterToast[];\n}\n\nconst toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>();\n\nconst addToRemoveQueue = (toastId: string) => {\n  if (toastTimeouts.has(toastId)) {\n    return;\n  }\n\n  const timeout = setTimeout(() => {\n    toastTimeouts.delete(toastId);\n    dispatch({\n      type: \"REMOVE_TOAST\",\n      toastId: toastId,\n    });\n  }, TOAST_REMOVE_DELAY);\n\n  toastTimeouts.set(toastId, timeout);\n};\n\nexport const reducer = (state: State, action: Action): State => {\n  switch (action.type) {\n    case \"ADD_TOAST\":\n      return {\n        ...state,\n        toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),\n      };\n\n    case \"UPDATE_TOAST\":\n      return {\n        ...state,\n        toasts: state.toasts.map((t) =>\n          t.id === action.toast.id ? { ...t, ...action.toast } : t,\n        ),\n      };\n\n    case \"DISMISS_TOAST\": {\n      const { toastId } = action;\n\n      // ! Side effects ! - This could be extracted into a dismissToast() action,\n      // but I'll keep it here for simplicity\n      if (toastId) {\n        addToRemoveQueue(toastId);\n      } else {\n        state.toasts.forEach((toast_) => {\n          addToRemoveQueue(toast_.id);\n        });\n      }\n\n      return {\n        ...state,\n        toasts: state.toasts.map((t) =>\n          t.id === toastId || toastId === undefined\n            ? {\n                ...t,\n                open: false,\n              }\n            : t,\n        ),\n      };\n    }\n    case \"REMOVE_TOAST\":\n      if (action.toastId === undefined) {\n        return {\n          ...state,\n          toasts: [],\n        };\n      }\n      return {\n        ...state,\n        toasts: state.toasts.filter((t) => t.id !== action.toastId),\n      };\n  }\n};\n\nconst listeners: Array<(state: State) => void> = [];\n\nlet memoryState: State = { toasts: [] };\n\nfunction dispatch(action: Action) {\n  memoryState = reducer(memoryState, action);\n  listeners.forEach((listener) => {\n    listener(memoryState);\n  });\n}\n\ntype Toast = Omit<ToasterToast, \"id\">;\n\nfunction toast({ ...props }: Toast) {\n  const id = genId();\n\n  const update = (props_: ToasterToast) =>\n    dispatch({\n      type: \"UPDATE_TOAST\",\n      toast: { ...props_, id },\n    });\n  const dismiss = () => {\n    dispatch({ type: \"DISMISS_TOAST\", toastId: id });\n  };\n\n  dispatch({\n    type: \"ADD_TOAST\",\n    toast: {\n      ...props,\n      id,\n      open: true,\n      onOpenChange: (open) => {\n        if (!open) {\n          dismiss();\n        }\n      },\n    },\n  });\n\n  return {\n    id: id,\n    dismiss,\n    update,\n  };\n}\n\nfunction useToast() {\n  const [state, setState] = React.useState<State>(memoryState);\n\n  React.useEffect(() => {\n    listeners.push(setState);\n    return () => {\n      const index = listeners.indexOf(setState);\n      if (index > -1) {\n        listeners.splice(index, 1);\n      }\n    };\n  }, [state]);\n\n  return {\n    ...state,\n    toast,\n    dismiss: (toastId?: string) => dispatch({ type: \"DISMISS_TOAST\", toastId }),\n  };\n}\n\nexport { toast, useToast };\n","import {\n  Toast,\n  ToastClose,\n  ToastDescription,\n  ToastProvider,\n  ToastTitle,\n  ToastViewport,\n} from \"./Toast\";\nimport { useToast } from \"./use-toast\";\n\nexport function Toaster() {\n  const { toasts } = useToast();\n\n  return (\n    <ToastProvider>\n      {toasts.map(function ({ id, title, description, ...props }) {\n        return (\n          <Toast key={id} {...props}>\n            <div className=\"tw-flex tw-w-full tw-items-center tw-justify-between tw-gap-5\">\n              <div className=\"tw-grid\">\n                {title && <ToastTitle>{title}</ToastTitle>}\n                {!!description && (\n                  <ToastDescription>{description}</ToastDescription>\n                )}\n              </div>\n              <ToastClose />\n            </div>\n          </Toast>\n        );\n      })}\n      <ToastViewport />\n    </ToastProvider>\n  );\n}\n","import { useEffect } from \"react\";\nimport { createRoot } from \"react-dom/client\";\n\nimport { Toaster } from \"@primitives/toast/Toaster\";\nimport { toast } from \"@primitives/toast/use-toast\";\nimport { waitForElementWithId } from \"@utils/dom\";\n\ndeclare global {\n  interface Window {\n    toast?: typeof toast;\n  }\n}\n\ntype ServerToast = {\n  variant: \"success\" | \"error\";\n  title: string;\n  content: string;\n};\n\nconst processServerData = (data: unknown) => {\n  for (const t of data as ServerToast[]) {\n    toast({ variant: t.variant, title: t.title, description: t.content });\n  }\n};\n\n// making the toast function available globally\n// so it can be used in other islands\nwindow.toast = toast;\n\n// listening for any htmx events\ndocument.body.addEventListener(\"bn-toasts\", function (e) {\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  processServerData((e as any).detail.value);\n});\n\nconst App = () => {\n  // processing any toasts included in the initial page load\n  // doing this in an effect ensure that the toast island is ready\n  // to display the toasts\n  useEffect(() => {\n    const dataElement = document.getElementById(\"toast-data\");\n    if (dataElement) {\n      processServerData(JSON.parse(dataElement.textContent || \"{}\"));\n    }\n  }, []);\n\n  return <Toaster />;\n};\n\nwaitForElementWithId(\"toast-root\").then((el) => {\n  const root = createRoot(el);\n  root.render(<App />);\n});\n","__webpack_require__.d = (exports, getters, values) => {\n\tvar define = (defs, kind) => {\n\t\tfor(var key in defs) {\n\t\t\tif(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });\n\t\t\t}\n\t\t}\n\t};\n\tdefine(getters, \"get\");\n\tdefine(values, \"value\");\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["performance","l","e","Date","setTimeout","clearTimeout","setImmediate","navigator","MessageChannel","T","console","Math","arguments","Object","o","selector","t","window","Error","document","n","m","Symbol","Boolean","Set","String","Array","globalThis","Map","c","WeakMap","Reflect","TypeError","Node","MutationObserver","CustomEvent","s","CSS","getComputedStyle","i","NodeFilter","a","Number","twMerge","extendTailwindMerge","cn","_key","inputs","clsx","ToastViewport","React","ref","className","props","ToastPrimitives","toastVariants","cva","progressVariants","iconVariants","Toast","variant","paused","setPaused","duration","ToastIcon","X","CircleCheck","ToastClose","ToastTitle","ToastDescription","count","toastTimeouts","addToRemoveQueue","toastId","timeout","dispatch","listeners","memoryState","action","reducer","state","toast_","undefined","listener","toast","param","id","dismiss","open","update","props_","Toaster","toasts","useToast","setState","index","ToastProvider","title","description","processServerData","data","App","useEffect","dataElement","JSON","waitForElementWithId","Promise","resolve","observer","el","root","createRoot"],"mappings":"UACI,EADA,ECAA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