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O,EAAMZ,MAASK,IACtDjB,MAAM,6BACNE,KAAK,OACLD,QAAQ,aAERoB,EAAAA,cAAA,QACEnB,KAAK,eACL9N,EAAE,oHAEA,C","sources":["webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-watch.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/utils/document-ready.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/internal/stack-context.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/use-sync-external-store-shim/useSyncExternalStoreShimClient.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/use-sync-external-store-shim/index.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/use-sync-external-store-shim/useSyncExternalStoreShimServer.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/utils/platform.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/utils/store.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-store.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-inert.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/components/dialog/dialog.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/components/portal/portal.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-event-listener.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-on-unmount.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-owner.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-root-containers.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/hooks/use-tab-direction.js","webpack://v-cbee/./node_modules/@headlessui/react/dist/internal/portal-force-root.js","webpack://v-cbee/./node_modules/@heroicons/react/solid/esm/XIcon.js","webpack://v-cbee/./src/components/Atoms/Button.js","webpack://v-cbee/./src/components/Atoms/Spinner.js"],"sourcesContent":["import { useEffect as s, useRef as f } from \"react\";\nimport { useEvent as i } from './use-event.js';\nfunction m(u, t) {\n let e = f([]),\n r = i(u);\n s(() => {\n let o = [...e.current];\n for (let [n, a] of t.entries()) if (e.current[n] !== a) {\n let l = r(t, o);\n return e.current = t, l;\n }\n }, [r, ...t]);\n}\nexport { m as useWatch };","import E, { useRef as L } from \"react\";\nimport { forwardRefWithAs as U, render as N } from '../../utils/render.js';\nimport { useServerHandoffComplete as I } from '../../hooks/use-server-handoff-complete.js';\nimport { useSyncRefs as x } from '../../hooks/use-sync-refs.js';\nimport { Features as R, Hidden as g } from '../../internal/hidden.js';\nimport { focusElement as f, focusIn as M, Focus as p, FocusResult as w } from '../../utils/focus-management.js';\nimport { match as k } from '../../utils/match.js';\nimport { useEvent as A } from '../../hooks/use-event.js';\nimport { useTabDirection as G, Direction as H } from '../../hooks/use-tab-direction.js';\nimport { useIsMounted as C } from '../../hooks/use-is-mounted.js';\nimport { useOwnerDocument as K } from '../../hooks/use-owner.js';\nimport { useEventListener as W } from '../../hooks/use-event-listener.js';\nimport { microTask as O } from '../../utils/micro-task.js';\nimport { useWatch as F } from '../../hooks/use-watch.js';\nimport { useDisposables as V } from '../../hooks/use-disposables.js';\nimport { onDocumentReady as q } from '../../utils/document-ready.js';\nimport { useOnUnmount as D } from '../../hooks/use-on-unmount.js';\nfunction P(t) {\n if (!t) return new Set();\n if (typeof t == \"function\") return new Set(t());\n let r = new Set();\n for (let e of t.current) e.current instanceof HTMLElement && r.add(e.current);\n return r;\n}\nlet J = \"div\";\nvar h = (n => (n[n.None = 1] = \"None\", n[n.InitialFocus = 2] = \"InitialFocus\", n[n.TabLock = 4] = \"TabLock\", n[n.FocusLock = 8] = \"FocusLock\", n[n.RestoreFocus = 16] = \"RestoreFocus\", n[n.All = 30] = \"All\", n))(h || {});\nfunction X(t, r) {\n let e = L(null),\n o = x(e, r),\n {\n initialFocus: u,\n containers: i,\n features: n = 30,\n ...l\n } = t;\n I() || (n = 1);\n let m = K(e);\n Y({\n ownerDocument: m\n }, Boolean(n & 16));\n let c = Z({\n ownerDocument: m,\n container: e,\n initialFocus: u\n }, Boolean(n & 2));\n $({\n ownerDocument: m,\n container: e,\n containers: i,\n previousActiveElement: c\n }, Boolean(n & 8));\n let v = G(),\n y = A(s => {\n let T = e.current;\n if (!T) return;\n (B => B())(() => {\n k(v.current, {\n [H.Forwards]: () => {\n M(T, p.First, {\n skipElements: [s.relatedTarget]\n });\n },\n [H.Backwards]: () => {\n M(T, p.Last, {\n skipElements: [s.relatedTarget]\n });\n }\n });\n });\n }),\n _ = V(),\n b = L(!1),\n j = {\n ref: o,\n onKeyDown(s) {\n s.key == \"Tab\" && (b.current = !0, _.requestAnimationFrame(() => {\n b.current = !1;\n }));\n },\n onBlur(s) {\n let T = P(i);\n e.current instanceof HTMLElement && T.add(e.current);\n let d = s.relatedTarget;\n d instanceof HTMLElement && d.dataset.headlessuiFocusGuard !== \"true\" && (S(T, d) || (b.current ? M(e.current, k(v.current, {\n [H.Forwards]: () => p.Next,\n [H.Backwards]: () => p.Previous\n }) | p.WrapAround, {\n relativeTo: s.target\n }) : s.target instanceof HTMLElement && f(s.target)));\n }\n };\n return E.createElement(E.Fragment, null, Boolean(n & 4) && E.createElement(g, {\n as: \"button\",\n type: \"button\",\n \"data-headlessui-focus-guard\": !0,\n onFocus: y,\n features: R.Focusable\n }), N({\n ourProps: j,\n theirProps: l,\n defaultTag: J,\n name: \"FocusTrap\"\n }), Boolean(n & 4) && E.createElement(g, {\n as: \"button\",\n type: \"button\",\n \"data-headlessui-focus-guard\": !0,\n onFocus: y,\n features: R.Focusable\n }));\n}\nlet z = U(X),\n ge = Object.assign(z, {\n features: h\n }),\n a = [];\nq(() => {\n function t(r) {\n r.target instanceof HTMLElement && r.target !== document.body && a[0] !== r.target && (a.unshift(r.target), a = a.filter(e => e != null && e.isConnected), a.splice(10));\n }\n window.addEventListener(\"click\", t, {\n capture: !0\n }), window.addEventListener(\"mousedown\", t, {\n capture: !0\n }), window.addEventListener(\"focus\", t, {\n capture: !0\n }), document.body.addEventListener(\"click\", t, {\n capture: !0\n }), document.body.addEventListener(\"mousedown\", t, {\n capture: !0\n }), document.body.addEventListener(\"focus\", t, {\n capture: !0\n });\n});\nfunction Q() {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;\n let r = L(a.slice());\n return F((_ref, _ref2) => {\n let [e] = _ref;\n let [o] = _ref2;\n o === !0 && e === !1 && O(() => {\n r.current.splice(0);\n }), o === !1 && e === !0 && (r.current = a.slice());\n }, [t, a, r]), A(() => {\n var e;\n return (e = r.current.find(o => o != null && o.isConnected)) != null ? e : null;\n });\n}\nfunction Y(_ref3, r) {\n let {\n ownerDocument: t\n } = _ref3;\n let e = Q(r);\n F(() => {\n r || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && f(e());\n }, [r]), D(() => {\n r && f(e());\n });\n}\nfunction Z(_ref4, o) {\n let {\n ownerDocument: t,\n container: r,\n initialFocus: e\n } = _ref4;\n let u = L(null),\n i = C();\n return F(() => {\n if (!o) return;\n let n = r.current;\n n && O(() => {\n if (!i.current) return;\n let l = t == null ? void 0 : t.activeElement;\n if (e != null && e.current) {\n if ((e == null ? void 0 : e.current) === l) {\n u.current = l;\n return;\n }\n } else if (n.contains(l)) {\n u.current = l;\n return;\n }\n e != null && e.current ? f(e.current) : M(n, p.First) === w.Error && console.warn(\"There are no focusable elements inside the \"), u.current = t == null ? void 0 : t.activeElement;\n });\n }, [o]), u;\n}\nfunction $(_ref5, u) {\n let {\n ownerDocument: t,\n container: r,\n containers: e,\n previousActiveElement: o\n } = _ref5;\n let i = C();\n W(t == null ? void 0 : t.defaultView, \"focus\", n => {\n if (!u || !i.current) return;\n let l = P(e);\n r.current instanceof HTMLElement && l.add(r.current);\n let m = o.current;\n if (!m) return;\n let c = n.target;\n c && c instanceof HTMLElement ? S(l, c) ? (o.current = c, f(c)) : (n.preventDefault(), n.stopPropagation(), f(m)) : f(o.current);\n }, !0);\n}\nfunction S(t, r) {\n for (let e of t) if (e.contains(r)) return !0;\n return !1;\n}\nexport { ge as FocusTrap };","function t(n) {\n function e() {\n document.readyState !== \"loading\" && (n(), document.removeEventListener(\"DOMContentLoaded\", e));\n }\n typeof window != \"undefined\" && typeof document != \"undefined\" && (document.addEventListener(\"DOMContentLoaded\", e), e());\n}\nexport { t as onDocumentReady };","import d, { createContext as c, useContext as m } from \"react\";\nimport { useIsoMorphicEffect as f } from '../hooks/use-iso-morphic-effect.js';\nimport { useEvent as p } from '../hooks/use-event.js';\nlet a = c(() => {});\na.displayName = \"StackContext\";\nvar s = (e => (e[e.Add = 0] = \"Add\", e[e.Remove = 1] = \"Remove\", e))(s || {});\nfunction x() {\n return m(a);\n}\nfunction M(_ref) {\n let {\n children: i,\n onUpdate: r,\n type: e,\n element: n,\n enabled: u\n } = _ref;\n let l = x(),\n o = p(function () {\n r == null || r(...arguments), l(...arguments);\n });\n return f(() => {\n let t = u === void 0 || u === !0;\n return t && o(0, e, n), () => {\n t && o(1, e, n);\n };\n }, [o, e, n, u]), d.createElement(a.Provider, {\n value: o\n }, i);\n}\nexport { s as StackMessage, M as StackProvider, x as useStackContext };","import * as l from \"react\";\nfunction i(e, t) {\n return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;\n}\nconst d = typeof Object.is == \"function\" ? Object.is : i,\n {\n useState: u,\n useEffect: h,\n useLayoutEffect: f,\n useDebugValue: p\n } = l;\nlet S = !1,\n _ = !1;\nfunction y(e, t, c) {\n const a = t(),\n [{\n inst: n\n }, o] = u({\n inst: {\n value: a,\n getSnapshot: t\n }\n });\n return f(() => {\n n.value = a, n.getSnapshot = t, r(n) && o({\n inst: n\n });\n }, [e, a, t]), h(() => (r(n) && o({\n inst: n\n }), e(() => {\n r(n) && o({\n inst: n\n });\n })), [e]), p(a), a;\n}\nfunction r(e) {\n const t = e.getSnapshot,\n c = e.value;\n try {\n const a = t();\n return !d(c, a);\n } catch {\n return !0;\n }\n}\nexport { y as useSyncExternalStore };","import * as e from \"react\";\nimport { useSyncExternalStore as t } from './useSyncExternalStoreShimClient.js';\nimport { useSyncExternalStore as o } from './useSyncExternalStoreShimServer.js';\nconst r = typeof window != \"undefined\" && typeof window.document != \"undefined\" && typeof window.document.createElement != \"undefined\",\n s = !r,\n c = s ? o : t,\n a = \"useSyncExternalStore\" in e ? (n => n.useSyncExternalStore)(e) : c;\nexport { a as useSyncExternalStore };","function t(r, e, n) {\n return e();\n}\nexport { t as useSyncExternalStore };","function c() {\n let o;\n return {\n before(_ref) {\n let {\n doc: e\n } = _ref;\n var l;\n let n = e.documentElement;\n o = ((l = e.defaultView) != null ? l : window).innerWidth - n.clientWidth;\n },\n after(_ref2) {\n let {\n doc: e,\n d: n\n } = _ref2;\n let t = e.documentElement,\n l = t.clientWidth - t.offsetWidth,\n r = o - l;\n n.style(t, \"paddingRight\", `${r}px`);\n }\n };\n}\nexport { c as adjustScrollbarPadding };","function t() {\n return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;\n}\nfunction i() {\n return /Android/gi.test(window.navigator.userAgent);\n}\nfunction n() {\n return t() || i();\n}\nexport { i as isAndroid, t as isIOS, n as isMobile };","import { disposables as m } from '../../utils/disposables.js';\nimport { isIOS as f } from '../../utils/platform.js';\nfunction T() {\n if (!f()) return {};\n let l;\n return {\n before() {\n l = window.pageYOffset;\n },\n after(_ref) {\n let {\n doc: o,\n d: t,\n meta: s\n } = _ref;\n function i(n) {\n return s.containers.flatMap(e => e()).some(e => e.contains(n));\n }\n t.microTask(() => {\n if (window.getComputedStyle(o.documentElement).scrollBehavior !== \"auto\") {\n let e = m();\n e.style(o.documentElement, \"scroll-behavior\", \"auto\"), t.add(() => t.microTask(() => e.dispose()));\n }\n t.style(o.body, \"marginTop\", `-${l}px`), window.scrollTo(0, 0);\n let n = null;\n t.addEventListener(o, \"click\", e => {\n if (e.target instanceof HTMLElement) try {\n let r = e.target.closest(\"a\");\n if (!r) return;\n let {\n hash: c\n } = new URL(r.href),\n a = o.querySelector(c);\n a && !i(a) && (n = a);\n } catch {}\n }, !0), t.addEventListener(o, \"touchmove\", e => {\n e.target instanceof HTMLElement && !i(e.target) && e.preventDefault();\n }, {\n passive: !1\n }), t.add(() => {\n window.scrollTo(0, window.pageYOffset + l), n && n.isConnected && (n.scrollIntoView({\n block: \"nearest\"\n }), n = null);\n });\n });\n }\n };\n}\nexport { T as handleIOSLocking };","import { disposables as s } from '../../utils/disposables.js';\nimport { createStore as i } from '../../utils/store.js';\nimport { adjustScrollbarPadding as l } from './adjust-scrollbar-padding.js';\nimport { handleIOSLocking as d } from './handle-ios-locking.js';\nimport { preventScroll as p } from './prevent-scroll.js';\nfunction m(e) {\n let n = {};\n for (let t of e) Object.assign(n, t(n));\n return n;\n}\nlet a = i(() => new Map(), {\n PUSH(e, n) {\n var o;\n let t = (o = this.get(e)) != null ? o : {\n doc: e,\n count: 0,\n d: s(),\n meta: new Set()\n };\n return t.count++, t.meta.add(n), this.set(e, t), this;\n },\n POP(e, n) {\n let t = this.get(e);\n return t && (t.count--, t.meta.delete(n)), this;\n },\n SCROLL_PREVENT(_ref) {\n let {\n doc: e,\n d: n,\n meta: t\n } = _ref;\n let o = {\n doc: e,\n d: n,\n meta: m(t)\n },\n c = [d(), l(), p()];\n c.forEach(_ref2 => {\n let {\n before: r\n } = _ref2;\n return r == null ? void 0 : r(o);\n }), c.forEach(_ref3 => {\n let {\n after: r\n } = _ref3;\n return r == null ? void 0 : r(o);\n });\n },\n SCROLL_ALLOW(_ref4) {\n let {\n d: e\n } = _ref4;\n e.dispose();\n },\n TEARDOWN(_ref5) {\n let {\n doc: e\n } = _ref5;\n this.delete(e);\n }\n});\na.subscribe(() => {\n let e = a.getSnapshot(),\n n = new Map();\n for (let [t] of e) n.set(t, t.documentElement.style.overflow);\n for (let t of e.values()) {\n let o = n.get(t.doc) === \"hidden\",\n c = t.count !== 0;\n (c && !o || !c && o) && a.dispatch(t.count > 0 ? \"SCROLL_PREVENT\" : \"SCROLL_ALLOW\", t), t.count === 0 && a.dispatch(\"TEARDOWN\", t);\n }\n});\nexport { a as overflows };","function a(o, r) {\n let t = o(),\n n = new Set();\n return {\n getSnapshot() {\n return t;\n },\n subscribe(e) {\n return n.add(e), () => n.delete(e);\n },\n dispatch(e) {\n for (var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n s[_key - 1] = arguments[_key];\n }\n let i = r[e].call(t, ...s);\n i && (t = i, n.forEach(c => c()));\n }\n };\n}\nexport { a as createStore };","function l() {\n return {\n before(_ref) {\n let {\n doc: e,\n d: o\n } = _ref;\n o.style(e.documentElement, \"overflow\", \"hidden\");\n }\n };\n}\nexport { l as preventScroll };","import { useIsoMorphicEffect as u } from '../use-iso-morphic-effect.js';\nimport { useStore as s } from '../../hooks/use-store.js';\nimport { overflows as t } from './overflow-store.js';\nfunction p(e, r, n) {\n let f = s(t),\n o = e ? f.get(e) : void 0,\n i = o ? o.count > 0 : !1;\n return u(() => {\n if (!(!e || !r)) return t.dispatch(\"PUSH\", e, n), () => t.dispatch(\"POP\", e, n);\n }, [r, e]), i;\n}\nexport { p as useDocumentOverflowLockedEffect };","import { useSyncExternalStore as r } from '../use-sync-external-store-shim/index.js';\nfunction S(t) {\n return r(t.subscribe, t.getSnapshot, t.getSnapshot);\n}\nexport { S as useStore };","import { useIsoMorphicEffect as s } from './use-iso-morphic-effect.js';\nlet u = new Map(),\n t = new Map();\nfunction h(r) {\n let l = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;\n s(() => {\n var o;\n if (!l) return;\n let e = typeof r == \"function\" ? r() : r.current;\n if (!e) return;\n function a() {\n var d;\n if (!e) return;\n let i = (d = t.get(e)) != null ? d : 1;\n if (i === 1 ? t.delete(e) : t.set(e, i - 1), i !== 1) return;\n let n = u.get(e);\n n && (n[\"aria-hidden\"] === null ? e.removeAttribute(\"aria-hidden\") : e.setAttribute(\"aria-hidden\", n[\"aria-hidden\"]), e.inert = n.inert, u.delete(e));\n }\n let f = (o = t.get(e)) != null ? o : 0;\n return t.set(e, f + 1), f !== 0 || (u.set(e, {\n \"aria-hidden\": e.getAttribute(\"aria-hidden\"),\n inert: e.inert\n }), e.setAttribute(\"aria-hidden\", \"true\"), e.inert = !0), a;\n }, [r, l]);\n}\nexport { h as useInert };","import u, { createContext as ce, createRef as De, useCallback as j, useContext as K, useEffect as w, useMemo as y, useReducer as me, useRef as Pe, useState as ye } from \"react\";\nimport { match as B } from '../../utils/match.js';\nimport { forwardRefWithAs as E, render as A, Features as V } from '../../utils/render.js';\nimport { useSyncRefs as R } from '../../hooks/use-sync-refs.js';\nimport { Keys as Ee } from '../keyboard.js';\nimport { isDisabledReactIssue7711 as Ae } from '../../utils/bugs.js';\nimport { useId as C } from '../../hooks/use-id.js';\nimport { FocusTrap as v } from '../../components/focus-trap/focus-trap.js';\nimport { Portal as H, useNestedPortals as Re } from '../../components/portal/portal.js';\nimport { ForcePortalRoot as G } from '../../internal/portal-force-root.js';\nimport { Description as Ce, useDescriptions as ve } from '../description/description.js';\nimport { useOpenClosed as Oe, State as _ } from '../../internal/open-closed.js';\nimport { useServerHandoffComplete as be } from '../../hooks/use-server-handoff-complete.js';\nimport { StackProvider as he, StackMessage as q } from '../../internal/stack-context.js';\nimport { useOutsideClick as Se } from '../../hooks/use-outside-click.js';\nimport { useOwnerDocument as Le } from '../../hooks/use-owner.js';\nimport { useEventListener as Fe } from '../../hooks/use-event-listener.js';\nimport { useEvent as O } from '../../hooks/use-event.js';\nimport { useDocumentOverflowLockedEffect as ke } from '../../hooks/document-overflow/use-document-overflow.js';\nimport { useInert as z } from '../../hooks/use-inert.js';\nimport { useRootContainers as xe } from '../../hooks/use-root-containers.js';\nvar _e = (o => (o[o.Open = 0] = \"Open\", o[o.Closed = 1] = \"Closed\", o))(_e || {}),\n Ie = (e => (e[e.SetTitleId = 0] = \"SetTitleId\", e))(Ie || {});\nlet Me = {\n [0](t, e) {\n return t.titleId === e.id ? t : {\n ...t,\n titleId: e.id\n };\n }\n },\n I = ce(null);\nI.displayName = \"DialogContext\";\nfunction b(t) {\n let e = K(I);\n if (e === null) {\n let o = new Error(`<${t} /> is missing a parent component.`);\n throw Error.captureStackTrace && Error.captureStackTrace(o, b), o;\n }\n return e;\n}\nfunction we(t, e) {\n let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : () => [document.body];\n ke(t, e, i => {\n var n;\n return {\n containers: [...((n = i.containers) != null ? n : []), o]\n };\n });\n}\nfunction Be(t, e) {\n return B(e.type, Me, t, e);\n}\nlet He = \"div\",\n Ge = V.RenderStrategy | V.Static;\nfunction Ne(t, e) {\n var X;\n let o = C(),\n {\n id: i = `headlessui-dialog-${o}`,\n open: n,\n onClose: l,\n initialFocus: s,\n __demoMode: g = !1,\n ...T\n } = t,\n [m, h] = ye(0),\n a = Oe();\n n === void 0 && a !== null && (n = (a & _.Open) === _.Open);\n let D = Pe(null),\n Q = R(D, e),\n f = Le(D),\n N = t.hasOwnProperty(\"open\") || a !== null,\n U = t.hasOwnProperty(\"onClose\");\n if (!N && !U) throw new Error(\"You have to provide an `open` and an `onClose` prop to the `Dialog` component.\");\n if (!N) throw new Error(\"You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.\");\n if (!U) throw new Error(\"You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.\");\n if (typeof n != \"boolean\") throw new Error(`You provided an \\`open\\` prop to the \\`Dialog\\`, but the value is not a boolean. Received: ${n}`);\n if (typeof l != \"function\") throw new Error(`You provided an \\`onClose\\` prop to the \\`Dialog\\`, but the value is not a function. Received: ${l}`);\n let p = n ? 0 : 1,\n [S, Z] = me(Be, {\n titleId: null,\n descriptionId: null,\n panelRef: De()\n }),\n P = O(() => l(!1)),\n W = O(r => Z({\n type: 0,\n id: r\n })),\n L = be() ? g ? !1 : p === 0 : !1,\n F = m > 1,\n Y = K(I) !== null,\n [ee, te] = Re(),\n {\n resolveContainers: M,\n mainTreeNodeRef: k,\n MainTreeNode: oe\n } = xe({\n portals: ee,\n defaultContainers: [(X = S.panelRef.current) != null ? X : D.current]\n }),\n re = F ? \"parent\" : \"leaf\",\n $ = a !== null ? (a & _.Closing) === _.Closing : !1,\n ne = (() => Y || $ ? !1 : L)(),\n le = j(() => {\n var r, c;\n return (c = Array.from((r = f == null ? void 0 : f.querySelectorAll(\"body > *\")) != null ? r : []).find(d => d.id === \"headlessui-portal-root\" ? !1 : d.contains(k.current) && d instanceof HTMLElement)) != null ? c : null;\n }, [k]);\n z(le, ne);\n let ae = (() => F ? !0 : L)(),\n ie = j(() => {\n var r, c;\n return (c = Array.from((r = f == null ? void 0 : f.querySelectorAll(\"[data-headlessui-portal]\")) != null ? r : []).find(d => d.contains(k.current) && d instanceof HTMLElement)) != null ? c : null;\n }, [k]);\n z(ie, ae);\n let se = (() => !(!L || F))();\n Se(M, P, se);\n let pe = (() => !(F || p !== 0))();\n Fe(f == null ? void 0 : f.defaultView, \"keydown\", r => {\n pe && (r.defaultPrevented || r.key === Ee.Escape && (r.preventDefault(), r.stopPropagation(), P()));\n });\n let de = (() => !($ || p !== 0 || Y))();\n we(f, de, M), w(() => {\n if (p !== 0 || !D.current) return;\n let r = new ResizeObserver(c => {\n for (let d of c) {\n let x = d.target.getBoundingClientRect();\n x.x === 0 && x.y === 0 && x.width === 0 && x.height === 0 && P();\n }\n });\n return r.observe(D.current), () => r.disconnect();\n }, [p, D, P]);\n let [ue, fe] = ve(),\n ge = y(() => [{\n dialogState: p,\n close: P,\n setTitleId: W\n }, S], [p, S, P, W]),\n J = y(() => ({\n open: p === 0\n }), [p]),\n Te = {\n ref: Q,\n id: i,\n role: \"dialog\",\n \"aria-modal\": p === 0 ? !0 : void 0,\n \"aria-labelledby\": S.titleId,\n \"aria-describedby\": ue\n };\n return u.createElement(he, {\n type: \"Dialog\",\n enabled: p === 0,\n element: D,\n onUpdate: O((r, c) => {\n c === \"Dialog\" && B(r, {\n [q.Add]: () => h(d => d + 1),\n [q.Remove]: () => h(d => d - 1)\n });\n })\n }, u.createElement(G, {\n force: !0\n }, u.createElement(H, null, u.createElement(I.Provider, {\n value: ge\n }, u.createElement(H.Group, {\n target: D\n }, u.createElement(G, {\n force: !1\n }, u.createElement(fe, {\n slot: J,\n name: \"Dialog.Description\"\n }, u.createElement(v, {\n initialFocus: s,\n containers: M,\n features: L ? B(re, {\n parent: v.features.RestoreFocus,\n leaf: v.features.All & ~v.features.FocusLock\n }) : v.features.None\n }, u.createElement(te, null, A({\n ourProps: Te,\n theirProps: T,\n slot: J,\n defaultTag: He,\n features: Ge,\n visible: p === 0,\n name: \"Dialog\"\n }))))))))), u.createElement(oe, null));\n}\nlet Ue = \"div\";\nfunction We(t, e) {\n let o = C(),\n {\n id: i = `headlessui-dialog-overlay-${o}`,\n ...n\n } = t,\n [{\n dialogState: l,\n close: s\n }] = b(\"Dialog.Overlay\"),\n g = R(e),\n T = O(a => {\n if (a.target === a.currentTarget) {\n if (Ae(a.currentTarget)) return a.preventDefault();\n a.preventDefault(), a.stopPropagation(), s();\n }\n }),\n m = y(() => ({\n open: l === 0\n }), [l]);\n return A({\n ourProps: {\n ref: g,\n id: i,\n \"aria-hidden\": !0,\n onClick: T\n },\n theirProps: n,\n slot: m,\n defaultTag: Ue,\n name: \"Dialog.Overlay\"\n });\n}\nlet Ye = \"div\";\nfunction $e(t, e) {\n let o = C(),\n {\n id: i = `headlessui-dialog-backdrop-${o}`,\n ...n\n } = t,\n [{\n dialogState: l\n }, s] = b(\"Dialog.Backdrop\"),\n g = R(e);\n w(() => {\n if (s.panelRef.current === null) throw new Error(\"A component is being used, but a component is missing.\");\n }, [s.panelRef]);\n let T = y(() => ({\n open: l === 0\n }), [l]);\n return u.createElement(G, {\n force: !0\n }, u.createElement(H, null, A({\n ourProps: {\n ref: g,\n id: i,\n \"aria-hidden\": !0\n },\n theirProps: n,\n slot: T,\n defaultTag: Ye,\n name: \"Dialog.Backdrop\"\n })));\n}\nlet Je = \"div\";\nfunction Xe(t, e) {\n let o = C(),\n {\n id: i = `headlessui-dialog-panel-${o}`,\n ...n\n } = t,\n [{\n dialogState: l\n }, s] = b(\"Dialog.Panel\"),\n g = R(e, s.panelRef),\n T = y(() => ({\n open: l === 0\n }), [l]),\n m = O(a => {\n a.stopPropagation();\n });\n return A({\n ourProps: {\n ref: g,\n id: i,\n onClick: m\n },\n theirProps: n,\n slot: T,\n defaultTag: Je,\n name: \"Dialog.Panel\"\n });\n}\nlet je = \"h2\";\nfunction Ke(t, e) {\n let o = C(),\n {\n id: i = `headlessui-dialog-title-${o}`,\n ...n\n } = t,\n [{\n dialogState: l,\n setTitleId: s\n }] = b(\"Dialog.Title\"),\n g = R(e);\n w(() => (s(i), () => s(null)), [i, s]);\n let T = y(() => ({\n open: l === 0\n }), [l]);\n return A({\n ourProps: {\n ref: g,\n id: i\n },\n theirProps: n,\n slot: T,\n defaultTag: je,\n name: \"Dialog.Title\"\n });\n}\nlet Ve = E(Ne),\n qe = E($e),\n ze = E(Xe),\n Qe = E(We),\n Ze = E(Ke),\n _t = Object.assign(Ve, {\n Backdrop: qe,\n Panel: ze,\n Overlay: Qe,\n Title: Ze,\n Description: Ce\n });\nexport { _t as Dialog };","import T, { Fragment as P, createContext as m, useContext as s, useEffect as d, useRef as g, useState as R, useMemo as E } from \"react\";\nimport { createPortal as H } from \"react-dom\";\nimport { forwardRefWithAs as c, render as y } from '../../utils/render.js';\nimport { useIsoMorphicEffect as x } from '../../hooks/use-iso-morphic-effect.js';\nimport { usePortalRoot as b } from '../../internal/portal-force-root.js';\nimport { useServerHandoffComplete as h } from '../../hooks/use-server-handoff-complete.js';\nimport { optionalRef as O, useSyncRefs as L } from '../../hooks/use-sync-refs.js';\nimport { useOnUnmount as _ } from '../../hooks/use-on-unmount.js';\nimport { useOwnerDocument as A } from '../../hooks/use-owner.js';\nimport { env as G } from '../../utils/env.js';\nimport { useEvent as M } from '../../hooks/use-event.js';\nfunction F(p) {\n let l = b(),\n n = s(v),\n e = A(p),\n [a, o] = R(() => {\n if (!l && n !== null || G.isServer) return null;\n let t = e == null ? void 0 : e.getElementById(\"headlessui-portal-root\");\n if (t) return t;\n if (e === null) return null;\n let r = e.createElement(\"div\");\n return r.setAttribute(\"id\", \"headlessui-portal-root\"), e.body.appendChild(r);\n });\n return d(() => {\n a !== null && (e != null && e.body.contains(a) || e == null || e.body.appendChild(a));\n }, [a, e]), d(() => {\n l || n !== null && o(n.current);\n }, [n, o, l]), a;\n}\nlet U = P;\nfunction N(p, l) {\n let n = p,\n e = g(null),\n a = L(O(u => {\n e.current = u;\n }), l),\n o = A(e),\n t = F(e),\n [r] = R(() => {\n var u;\n return G.isServer ? null : (u = o == null ? void 0 : o.createElement(\"div\")) != null ? u : null;\n }),\n i = s(f),\n C = h();\n return x(() => {\n !t || !r || t.contains(r) || (r.setAttribute(\"data-headlessui-portal\", \"\"), t.appendChild(r));\n }, [t, r]), x(() => {\n if (r && i) return i.register(r);\n }, [i, r]), _(() => {\n var u;\n !t || !r || (r instanceof Node && t.contains(r) && t.removeChild(r), t.childNodes.length <= 0 && ((u = t.parentElement) == null || u.removeChild(t)));\n }), C ? !t || !r ? null : H(y({\n ourProps: {\n ref: a\n },\n theirProps: n,\n defaultTag: U,\n name: \"Portal\"\n }), r) : null;\n}\nlet S = P,\n v = m(null);\nfunction j(p, l) {\n let {\n target: n,\n ...e\n } = p,\n o = {\n ref: L(l)\n };\n return T.createElement(v.Provider, {\n value: n\n }, y({\n ourProps: o,\n theirProps: e,\n defaultTag: S,\n name: \"Popover.Group\"\n }));\n}\nlet f = m(null);\nfunction ae() {\n let p = s(f),\n l = g([]),\n n = M(o => (l.current.push(o), p && p.register(o), () => e(o))),\n e = M(o => {\n let t = l.current.indexOf(o);\n t !== -1 && l.current.splice(t, 1), p && p.unregister(o);\n }),\n a = E(() => ({\n register: n,\n unregister: e,\n portals: l\n }), [n, e, l]);\n return [l, E(() => function (_ref) {\n let {\n children: t\n } = _ref;\n return T.createElement(f.Provider, {\n value: a\n }, t);\n }, [a])];\n}\nlet D = c(N),\n I = c(j),\n pe = Object.assign(D, {\n Group: I\n });\nexport { pe as Portal, ae as useNestedPortals };","import { useEffect as d } from \"react\";\nimport { useLatestValue as s } from './use-latest-value.js';\nfunction E(n, e, a, t) {\n let i = s(a);\n d(() => {\n n = n != null ? n : window;\n function r(o) {\n i.current(o);\n }\n return n.addEventListener(e, r, t), () => n.removeEventListener(e, r, t);\n }, [n, e, t]);\n}\nexport { E as useEventListener };","import { useRef as u, useEffect as n } from \"react\";\nimport { microTask as o } from '../utils/micro-task.js';\nimport { useEvent as f } from './use-event.js';\nfunction c(t) {\n let r = f(t),\n e = u(!1);\n n(() => (e.current = !1, () => {\n e.current = !0, o(() => {\n e.current && r();\n });\n }), [r]);\n}\nexport { c as useOnUnmount };","import { useMemo as t } from \"react\";\nimport { getOwnerDocument as o } from '../utils/owner.js';\nfunction n() {\n for (var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++) {\n e[_key] = arguments[_key];\n }\n return t(() => o(...e), [...e]);\n}\nexport { n as useOwnerDocument };","import s, { useRef as a, useMemo as m } from \"react\";\nimport { Hidden as M, Features as d } from '../internal/hidden.js';\nimport { useEvent as H } from './use-event.js';\nimport { useOwnerDocument as E } from './use-owner.js';\nfunction j() {\n let {\n defaultContainers: t = [],\n portals: r,\n mainTreeNodeRef: u\n } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var c;\n let o = a((c = u == null ? void 0 : u.current) != null ? c : null),\n l = E(o),\n f = H(() => {\n var i;\n let n = [];\n for (let e of t) e !== null && (e instanceof HTMLElement ? n.push(e) : \"current\" in e && e.current instanceof HTMLElement && n.push(e.current));\n if (r != null && r.current) for (let e of r.current) n.push(e);\n for (let e of (i = l == null ? void 0 : l.querySelectorAll(\"html > *, body > *\")) != null ? i : []) e !== document.body && e !== document.head && e instanceof HTMLElement && e.id !== \"headlessui-portal-root\" && (e.contains(o.current) || n.some(T => e.contains(T)) || n.push(e));\n return n;\n });\n return {\n resolveContainers: f,\n contains: H(n => f().some(i => i.contains(n))),\n mainTreeNodeRef: o,\n MainTreeNode: m(() => function () {\n return u != null ? null : s.createElement(M, {\n features: d.Hidden,\n ref: o\n });\n }, [o, u])\n };\n}\nfunction y() {\n let t = a(null);\n return {\n mainTreeNodeRef: t,\n MainTreeNode: m(() => function () {\n return s.createElement(M, {\n features: d.Hidden,\n ref: t\n });\n }, [t])\n };\n}\nexport { y as useMainTreeNode, j as useRootContainers };","import { useRef as t } from \"react\";\nimport { useWindowEvent as a } from './use-window-event.js';\nvar s = (r => (r[r.Forwards = 0] = \"Forwards\", r[r.Backwards = 1] = \"Backwards\", r))(s || {});\nfunction n() {\n let e = t(0);\n return a(\"keydown\", o => {\n o.key === \"Tab\" && (e.current = o.shiftKey ? 1 : 0);\n }, !0), e;\n}\nexport { s as Direction, n as useTabDirection };","import t, { createContext as r, useContext as c } from \"react\";\nlet e = r(!1);\nfunction l() {\n return c(e);\n}\nfunction P(o) {\n return t.createElement(e.Provider, {\n value: o.force\n }, o.children);\n}\nexport { P as ForcePortalRoot, l as usePortalRoot };","import * as React from \"react\";\nfunction XIcon(props, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 20 20\",\n fill: \"currentColor\",\n \"aria-hidden\": \"true\",\n ref: svgRef\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\n clipRule: \"evenodd\"\n }));\n}\nconst ForwardRef = React.forwardRef(XIcon);\nexport default ForwardRef;","import React from \"react\";\nimport { Spinner } from \"./Spinner\";\nimport { Link } from \"gatsby\";\n \n const sizeClassnames = {\n big: \"py-3 px-5 text-sm rounded-lg font-semibold text-sm md:text-base\",\n small: \"px-4 py-2 rounded-lg font-semibold text-sm\", \n };\n \n const colorClassnames = {\n primary:\n \"text-white border-2 border-brand-500 bg-brand-500 hover:bg-brand-600 disabled:text-brand-600 disabled:bg-brand-600 focus:ring-4 focus:ring-brand-500 focus:ring-offset-2\",\n secondary:\n \"bg-white border-2 border-inset border-brand-500 font-medium text-brand-600 hover:bg-gray-50 focus:ring-offset-2 focus:border-black disabled:text-brand-300 focus:ring-4 focus:ring-brand-500\",\n red:\n \"text-white border-2 border-red-500 bg-red-500 hover:bg-red-600 disabled:text-red-600 disabled:bg-red-600 focus:ring-4 focus:ring-brand-500 focus:ring-offset-2\",\n };\n \n \n const Button = ({\n children,\n size = \"big\",\n color = \"primary\",\n disabled,\n loading,\n icon,\n className = \"\",\n transition = true, \n href,\n to,\n accessibilitytext,\n ...props\n }) => { \n \n if(href) {\n return (\n {icon ? {icon} : null}\n {children}\n {accessibilitytext?{accessibilitytext}:null}\n \n )\n }\n else if(to){\n \n return ( \n {icon ? {icon} : null}\n {children}\n {accessibilitytext?{accessibilitytext}:null}\n \n )\n \n }\n\n return (\n \n \n \n )};\n\n export default Button","\nimport React from \"react\";\n\n// I'm not doing string interpolation so tailwind can purge the css\nconst sizes = {\n \"2\": \"h-2 w-2\",\n \"4\": \"h-4 w-4\",\n \"6\": \"h-6 w-6\",\n};\n\nexport const Spinner = ({\n size = \"4\",\n className\n}) => {\n return (\n \n );\n};"],"names":["m","u","t","e","r","o","current","n","a","entries","l","P","Set","HTMLElement","add","h","None","InitialFocus","TabLock","FocusLock","RestoreFocus","All","z","initialFocus","containers","i","features","Y","ownerDocument","Boolean","c","Z","container","_ref5","previousActiveElement","defaultView","target","S","preventDefault","stopPropagation","$","v","y","s","T","Forwards","First","skipElements","relatedTarget","Backwards","Last","_","b","j","ref","onKeyDown","key","requestAnimationFrame","onBlur","d","dataset","headlessuiFocusGuard","Next","Previous","WrapAround","relativeTo","as","type","onFocus","Focusable","ourProps","theirProps","defaultTag","name","Object","assign","_ref3","arguments","length","undefined","slice","_ref","_ref2","splice","find","isConnected","Q","activeElement","body","_ref4","contains","Error","console","warn","document","readyState","removeEventListener","window","addEventListener","unshift","filter","capture","displayName","Add","Remove","children","onUpdate","element","enabled","Provider","value","is","useState","useEffect","useLayoutEffect","f","useDebugValue","p","getSnapshot","createElement","inst","before","doc","documentElement","innerWidth","clientWidth","after","offsetWidth","style","test","navigator","platform","maxTouchPoints","pageYOffset","meta","flatMap","some","microTask","getComputedStyle","scrollBehavior","dispose","scrollTo","closest","hash","URL","href","querySelector","passive","scrollIntoView","block","subscribe","delete","dispatch","_len","Array","_key","call","forEach","Map","PUSH","this","get","count","set","POP","SCROLL_PREVENT","SCROLL_ALLOW","TEARDOWN","overflow","values","getAttribute","inert","setAttribute","removeAttribute","_e","Open","Closed","Ie","SetTitleId","Me","titleId","id","I","captureStackTrace","Be","Ge","RenderStrategy","Static","Ve","X","open","onClose","__demoMode","g","D","N","hasOwnProperty","U","descriptionId","panelRef","W","L","F","ee","te","resolveContainers","M","mainTreeNodeRef","k","MainTreeNode","oe","portals","defaultContainers","re","Closing","ne","le","from","querySelectorAll","ae","ie","se","pe","defaultPrevented","Escape","we","ResizeObserver","x","getBoundingClientRect","width","height","observe","disconnect","ue","fe","ge","dialogState","close","setTitleId","J","Te","role","force","Group","slot","parent","leaf","visible","qe","ze","onClick","Qe","currentTarget","Ze","_t","Backdrop","Panel","Overlay","Title","Description","push","register","indexOf","unregister","isServer","getElementById","appendChild","C","Node","removeChild","childNodes","parentElement","E","head","Hidden","shiftKey","ForwardRef","props","svgRef","xmlns","viewBox","fill","fillRule","clipRule","sizeClassnames","big","small","colorClassnames","primary","secondary","red","size","color","disabled","loading","icon","className","transition","to","accessibilitytext","React","Link","Spinner","sizes"],"sourceRoot":""}